/*
Theme Name: RABB-IT Theme
Theme URI: <THEME_URI>
Description: A Theme for WordPress with Bootstrap for styling.
Author: Michał Medyński
Author URI: <AUTHOR_URI>
Version: 1.0
*/

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

#custom-nav {
    z-index:999;
    background-color: #3499DB;
    box-shadow: 0 0 10px 2px;
}
.post_title p {
    font-family: 'Bree Serif', serif;
    padding: 40px 0px;
}

@media (max-width: 767.98px) {
    .navbar-nav {
        text-align: center !important;
    }
    .navbar {
        background-color: #3499DB !important;
        box-shadow: 0 0 10px 2px;
    }
    .dropdown-menu {
        text-align: center !important;
        margin-top:0px !important;
        border: none !important;
    }
    .dropdown-item {
        text-align: center;
    }
}
.dropdown-menu {
    background-color: #3499DB !important;
    text-align: center !important;
    margin-top:0px !important;
    border: none !important;
}
.dropdown-item {
    font-size: 1.2rem; !important
    margin-left: 0px !important;
    text-align: left;
    color: #ffffff !important;
    background-color: #3499DB !important;
}

.navbar-brand {
    padding: 0px;
}
.navbar-brand>img {
    height: 70px;
    padding: 5px;
    width: auto;
}
/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}


/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}


/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/* portfolio color palette (Belize Hole)*/

.color-primary-0 {
    color: #3499DB
}


/* Main Primary color */

.rgba-primary-0 {
    color: rgba( 52, 153, 219, 1)
}


/* Main Primary color */


/* General setup and overrides */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html,
body {
    font-family: 'Lato', sans-serif !important;
}

.glyphicon,
.fa {
    color: #3499DB;
}


/* Landing page */

header {
    background-image: linear-gradient(rgba( 52, 153, 219, 0.6), rgba( 52, 153, 219, 0.6)), url('img/mini_digitization-5140088_1920.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    min-height: 500px;
}

.navbar,
.navbar-default {
    background-color: transparent;
    border: none !important;
    padding: 1rem 1rem !important;
}

.navbar-nav > li > a:link,
.navbar-nav > li > a:visited {
    color: white !important;
    text-transform: uppercase !important;
    font-size: 1.2rem;
    border-bottom: 1px solid transparent !important;
    padding: 0;
    margin: 15px;
}

.navbar-brand {
    color: white !important;
    font-size: 1.2rem;
}

.navbar-brand .glyphicon {
    color: white !important;
    margin-left: 1rem;
    font-size: 2rem;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:active {
    color: white !important;
    text-transform: uppercase !important;
    transition: border-bottom 1s;
    padding: 0;
    margin: 15px;
}

.navbar-scrolled {
    background-color: #3499DB !important;
    transition: background-color 0.4s;
    box-shadow: 0 0 10px 2px;
}

#main-heading {
    font-size: 8rem;
    font-weight: 300;
    text-transform: uppercase;
    width: 80vw;
    font-family: 'Russo One', sans-serif;
}

#main-subheading {
    font-size: 6rem;
    font-weight: 300;
}

@media (max-width:1024px) {
    #main-heading {
        font-size: 5rem;
    }
    #main-subheading {
        font-size: 4rem;
    }
}

@media (max-width:768px) {
    #main-subheading {
        font-size: 3rem;
    }
}

.navbar-default .navbar-toggle:hover {
    background-color: #3499DB !important;
    transition: all 0.4s;
}

.navbar-default .navbar-toggle:focus {
    background-color: #3499DB !important;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: white !important;
}

.hero-text-box {
    position: absolute;
    text-align: center;
    color: #FFF;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-text-box a {
    position: relative;
    top: 100px;
}

.hero-text-box .btn,
.hero-text-box .btn-default,
.hero-text-box .btn-default:visited,
.hero-text-box .btn-default:active:hover,
.hero-text-box .btn-default:active:focus {
    color: white;
    background: none;
    border: 1px solid;
    transition: all 0.4s;
}

.hero-text-box .btn:hover,
.hero-text-box .btn-default:hover,
.hero-text-box .btn-default:focus{
    color: white;
    border-color: white;
    background-color: #3499DB;
    transition: all 0.4s;
}


/* Intro section */

#intro .glyphicon {
    font-size: 50px;
    margin: 2rem;
}

#intro h3 {
    margin: 2rem;
}

#intro p {
    padding: 1rem 2rem;
    font-size: 1.0rem;
    text-align: center;
}

@media (max-width: 1024px) {
    #intro p {
        font-size: 1.0rem;
    }
    #intro h3 {
        padding: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    #intro p {
        font-size: 1.0rem;
        padding: 10px;
    }
}

@media (max-width: 425px) {
    #intro .glyphicon {
        margin: 0;
    }
}

#intro {
    padding-top: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e7e7e7;
}


/* Latest projects */

#projects {
    background-color: #f8f8f8;
    padding: 3rem 0;
    border-bottom: 1px solid #e7e7e7;
}

h3 {
    padding-bottom: 2rem;
}

#projects img {
    object-fit: cover;
    object-position: top;
}


/* Skills */

#partners {
    padding: 3rem 0;
}
/* Contact */

#contact {
    color: white;
    background-color: #3499DB;
    padding-top: 3rem;
}

#contact i,
#contact .glyphicon,
#contact img {
    padding: 5px 5px;
    font-size: 20px;
    margin-bottom: 5px;
}

#contact p {
    text-align: left;
    font-size: 16px;
    margin-bottom: 5px;
}

@media (max-width: 1024px) {
    #contact p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    #contact p {
        font-size: 0.8rem;
    }
}

#contact .glyphicon,
#contact .fa {
    color: white;
}

#contact .glyphicon:hover,
#contact .fa:hover {
    color: #C9C9C9;
    transition: all 0.4s;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}


/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}


/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}


/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}


/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster:
                                       http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    /*
       * Don't show links that are fragment identifiers,
       * or use the `javascript:` pseudo protocol
       */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    /*
       * Printing Tables:
       * http://css-discuss.incutio.com/wiki/Printing_Tables
       */
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
/* Logo Slider */
#clients {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#clients .clients-wrap {
    display: block;
    width: 95%;
    margin: 0 auto;
    overflow: hidden;
}

#clients .clients-wrap ul {
    display: block;
    list-style: none;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

#clients .clients-wrap ul li a {
    display: block;
    float: left;
    padding: 0 20px;
    position: relative;
    width: 220px;
    height: 100px;
    line-height: 100px;
    text-align: center;
}
#clients .clients-wrap ul li a img {
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
    -webkit-transition: 0 linear left;
    -moz-transition: 0 linear left;
    transition: 0 linear left;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
    filter: alpha(opacity=65);
    opacity: 0.65;
}
#clients .clients-wrap ul li a img:hover {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1.0;
}
/*.logo-slider{
    padding: 10px;
}
.logo-slider .logo{
    height: 40px;
    width: 100%;
    text-align: center;
}
.logo a img{
    height: 100%;
}*/

/*------------------------------------*/

/*.logo-slider {
    background: white;
    -webkit-box-shadow: 0 0px 0px 0px rgba(0, 0, 0, 0.125);
    box-shadow: 0 0px 0px 0px rgba(0, 0, 0, 0.125);
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-slider::before, .logo-slider::after {
    background: -webkit-gradient(linear, left top, right top, from(white), to(rgba(255, 255, 255, 0)));
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 175px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.logo-slider::after {
    right: 0;
    top: 0;
    -webkit-transform: rotateZ(180deg);
    transform: rotateZ(180deg);
}

.logo-slider::before {
    left: 0;
    top: 0;
}

.logo-slider .logo-slide-track {
    -webkit-animation: logo-scroll 40s linear infinite;
    animation: logo-scroll 40s linear infinite;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 250px;
    width: calc(250px * 3);
    animation-duration: 20s;
    animation-iteration-count: infinite;
}

.logo-slider .slide {
    height: 150px;
    width: 250px;
    padding: 20px;
}

@-webkit-keyframes logo-scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-250px * 3));
        transform: translateX(calc(-250px * 3));
    }
}

@keyframes logo-scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-250px * 3));
        transform: translateX(calc(-250px * 3));
    }
}*/

/*CONTACT FORM */

.feedback-input {
    opacity:0.9;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-weight:400;
    font-size: 14px;
    border-radius: 0;
    line-height: 22px;
    background-color: #fbfbfb;
    border: 3px solid #fbfbfb;
    padding: 13px 13px 13px 54px;
    margin-bottom: 10px;
    width:100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.feedback-input:focus{
    background: #fff;
    box-shadow: 0;
    border: 3px solid #3498db;
    color: #3498db;
    outline: none;
    padding: 13px 13px 13px 54px;
}

.focused{
    color:#30aed6;
    border:#30aed6 solid 3px;
}

/* Icons ---------------------------------- */
#name{
    background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
    background-size: 30px 30px;
    background-position: 11px 8px;
    background-repeat: no-repeat;
}

#name:focus{
    background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
    background-size: 30px 30px;
    background-position: 8px 5px;
    background-position: 11px 8px;
    background-repeat: no-repeat;
}

#email{
    background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
    background-size: 30px 30px;
    background-position: 11px 8px;
    background-repeat: no-repeat;
}

#email:focus{
    background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
    background-size: 30px 30px;
    background-position: 11px 8px;
    background-repeat: no-repeat;
}

#comment{
    background-image: url(http://rexkirby.com/kirbyandson/images/comment.svg);
    background-size: 30px 30px;
    background-position: 11px 8px;
    background-repeat: no-repeat;
}

textarea {
    width: 100%;
    height: 150px;
    line-height: 150%;
}

input:hover, textarea:hover,
input:focus, textarea:focus {
    background-color:white;
}

#button-blue{
    font-family: 'Montserrat', Helvetica, Arial,  sans-serif;
    float:left;
    width: 100%;
    border: #fbfbfb solid 1px;
    cursor:pointer;
    background-color: #3498db;
    color:white;
    font-size:14px;
    padding-top:8px;
    padding-bottom:8px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

#button-blue:hover{
    background-color: rgba(0,0,0,0);
    color: #0493bd;
}

.submit:hover {
    color: #3498db;
}

.ease {
    border-top:1px #3c3c3c solid;
    width: 0px;
    height: 40px;
    background-color: #fbfbfb;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -o-transition: .3s ease;
    -ms-transition: .3s ease;
    transition: .3s ease;
}

.submit:hover .ease{
    width:100%;
    background-color:white;
}

@media only screen and (max-width: 580px) {
    #form-div{
        left: 3%;
        margin-right: 3%;
        width: 88%;
        margin-left: 0;
        padding-left: 3%;
        padding-right: 3%;
    }
}

/*BOTTOM MENU*/
.list-group-item {
    background-color: transparent !important;
    border: none !important;
    color: #FFF !important;
}
.list-group-item > a {
    color: #FFF !important;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
}
.nav-link {
    padding: 0.2rem !important;
}
/*
PARTNERS*/
.clients {
    max-width: 400px;
    margin: 0 auto;
}
.clients-hd {
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #5491c2;
    text-align: center;
    margin: 0;
    padding-bottom: 1rem;
}
.clients-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 150px;
}
.clients-logos {
    position: relative;
    width: 100%;
}
.clients-logos img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    max-width: 200px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.5s linear, opacity 0.5s linear;
}
img.clients-hide {
    visibility: visible;
    opacity: 1;
    transition: visibility 0.5s linear 0.6s, opacity 0.5s linear 0.6s;
}
.clients-left,
.clients-right {
    font-size: 5rem;
    color: #d9d9d9;
    cursor: pointer;
}
