﻿body {
    font-family: 'Roboto Condensed', sans-serif;
}

.bestCompany {
    text-align: right;
}

/*Buttons*/

/*Blue Button*/
.big-callout-button {
    background: rgba(0,108,182,1);
    padding: 12px 30px;
    color: #333333;
    font-style: italic;
    font-weight: 600;
    display: inline-block;
    color: white;
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
    margin-bottom: 15px;
    font-size: 18px !important;
    border: none !important;
}

/*Grey Button*/
.callout-button {
    background: #a3a7a9;
    padding: 12px 30px;
    color: #333333;
    font-style: italic;
    font-weight: 600;
    display: inline-block;
    color: white;
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
    margin-bottom: 15px;
    font-size: 18px !important;
    border: none !important;
}

    .big-callout-button:hover, .callout-button:hover {
        text-decoration: underline;
        color: white !important;
    }

a.big-callout-button:focus {
    color: white !important;
}

/*End Buttons*/
.bestCompany img {
    max-width: 130px; /*145px*/
    padding-top: 18px;
    padding-right: 15px;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    color: #1f1f1f;
    background-color: transparent;
}

p.copyright {
    font-size: 15px;
    font-style: italic;
    opacity: .5;
}

@media (min-width:768px) and (max-width:1920px) {
    ul .nav li:hover > ul.dropdown-menu {
        display: block;
        min-width: 250px
    }
}

/*.form-group {
    clear: both;
}*/

.middleFooter p {
    font-size: 16px;
    line-height: 25px;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    width: 90%; /* ←-- change width here */
}

    .video-container iframe,
    .video-container object,
    .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


label.error {
    color: darkred;
}

label {
    margin-top: 8px;
}

p {
    /*margin: 0 0 10px;
    font-size: 18px;
    font-weight: 300;
    line-height: 29px;*/
}

div#recaptcha-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.mainContent ul li {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 300;
    line-height: 29px;
}

.mainContent {
    margin-bottom: 45px;
}

.bottomFooter {
    text-align: center;
    color: white;
    background: #006cb6;
    padding: 10px;
    font-size: 16px;
}

    .bottomFooter p {
        margin-top: 10px;
    }

.middleFooter {
    padding-top: 35px;
    padding-bottom: 35px;
    font-size: 16px;
}

.social {
    margin-left: 15px;
    margin-top: 7px;
}

.icon-wrapper a {
    color: #333;
}

    .icon-wrapper a:hover {
        text-decoration: none;
    }

.bottomFooter a {
    color: white;
}

.navbar-inverse {
    background-color: #ffffff;
    border-color: #a3a7a9;
    border-radius: 0px;
    border: none;
    border-bottom: 7px solid #a3a7a9;
}

a.navbar-brand {
    float: none !important;
}

.topSocial {
    float: right;
    margin-top: 20px;
}

.navbar-brand > img {
    width: 240px;
    padding: 0px !important;
}

ul.nav.navbar-nav {
    float: right;
    clear: both;
}

ul.nav.navbar-nav {
    float: right;
    clear: both;
    margin-top: -60px;
    margin-bottom: 15px;
}

.navbar-collapse.collapse {
    padding-top: 8px;
}

.navbar-inverse .navbar-nav > li > a {
    color: #1f1f1f;
    font-size: 16px;
}

    .navbar-inverse .navbar-nav > li > a:hover {
        color: #006cb6;
    }

@media(min-width: 767px) and (max-width: 992px) {

    .bestCompany img {
        max-width: 120px; /*190px*/
        padding-top: 3px; /*42px*/
        padding-right: 0px;
    }

    .bestCompany {
        clear: right;
    }

    .col-sm-offset-2 {
        margin-left: 0px;
    }

        .col-sm-offset-2 + .col-sm-8 {
            width: 83.33333333%;
        }

    ul.nav.navbar-nav {
        float: none;
        text-align: center;
        border-top: 1px solid rgba(0,0,0,0.1);
    }

    .navbar-nav > li {
        float: none;
        display: inline-block;
    }
}

@media(min-width: 20px) and (max-width: 767px) {

    .bestCompany {
        text-align: center;
    }

        .bestCompany img {
            max-width: 175px;
            padding-top: 18px;
            padding-bottom: 18px;
            padding-right: 0px;
        }

    .noMob {
        display: none;
    }

    .middleFooter div[class^="col-sm"] {
        margin-bottom: 25px;
    }

    .middleFooter {
        text-align: center !important;
    }

    ul.dropdown-menu {
        text-align: center;
    }

        ul.dropdown-menu li {
            padding: 6px;
        }

    .navbar-collapse {
        z-index: 50;
    }

    .navbar-brand > img {
        padding-left: 15px;
    }

    button.navbar-toggle {
        background: #006cb6;
        border: #006cb6;
    }

    .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
        background-color: #a3a7a9;
    }

    .topSocial {
        float: none;
        text-align: center;
        margin-bottom: 15px;
    }

    ul.nav.navbar-nav {
        float: none;
        text-align: center;
        margin-top: 0px;
        border-top: 1px solid rgba(0,0,0,0.1);
        padding-top: 15px;
    }

    .middleFooter .col-sm-4 {
        text-align: center !important;
        margin-bottom: 50px;
    }

    .middleFooter .pull-right {
        float: none !important;
        /*text-align: left;*/
        max-width: 199px;
        margin: auto;
    }

    .navbar-collapse {
        position: absolute;
        width: 100%;
        background: #ffffff;
        padding-bottom: 10px;
        border-bottom: 7px solid #a3a7a9 !important;
    }
}


#testimonial4 {
    overflow: hidden;
    min-height: 331px;
    max-height: 400px;
    position: relative;
    background: #015893;
    background: -moz-linear-gradient(top, #015893 0%, #006cb5 100%);
    background: -webkit-linear-gradient(top, #015893 0%,#006cb5 100%);
    background: linear-gradient(to bottom, #015893 0%,#006cb5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#015893', endColorstr='#006cb5',GradientType=0 );
    display: table;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 70px;
    transition: height 0.66s ease-out;
}


.carousel-indicators li, .carousel-indicators .active {
    margin: 1px 8px;
}

#testimonial4 h5 {
    color: white;
    font-style: italic;
    font-size: 15px;
}

#testimonial4 .carousel-inner {
    /*width: 75%;
        margin: auto;*/
    display: table-cell;
    vertical-align: middle;
}

    #testimonial4 .carousel-inner:hover {
        cursor: -moz-grab;
        cursor: -webkit-grab;
    }

    #testimonial4 .carousel-inner:active {
        cursor: -moz-grabbing;
        cursor: -webkit-grabbing;
    }

    #testimonial4 .carousel-inner .item {
        overflow: hidden;
    }

.testimonial4_indicators .carousel-indicators {
    left: 0;
    margin: 0;
    width: 100%;
    font-size: 0;
    height: 20px;
    bottom: 15px;
    padding: 0 5px;
    cursor: e-resize;
    overflow-x: auto;
    overflow-y: hidden;
    position: absolute;
    text-align: center;
    white-space: nowrap;
}

    .testimonial4_indicators .carousel-indicators li {
        padding: 0;
        width: 10px;
        height: 10px;
        border: none;
        text-indent: 0;
        margin: 2px 8px;
        cursor: pointer;
        display: inline-block;
        background: #ffffff;
        -webkit-border-radius: 100%;
        border-radius: 100%;
    }

    .testimonial4_indicators .carousel-indicators .active {
        padding: 0;
        width: 10px;
        height: 10px;
        border: none;
        margin: 2px 8px;
        background-color: #000;
        -webkit-border-radius: 100%;
        border-radius: 100%;
    }

    .testimonial4_indicators .carousel-indicators::-webkit-scrollbar {
        height: 3px;
    }

    .testimonial4_indicators .carousel-indicators::-webkit-scrollbar-thumb {
        background: #eeeeee;
        -webkit-border-radius: 0;
        border-radius: 0;
    }

.testimonial4_control_button .carousel-control {
    top: 116px;
    opacity: 1;
    width: 40px;
    bottom: auto;
    height: 40px;
    font-size: 10px;
    cursor: pointer;
    font-weight: 700;
    overflow: hidden;
    line-height: 38px;
    text-shadow: none;
    text-align: center;
    position: absolute;
    background: transparent;
    border: 2px solid #ffffff;
    text-transform: uppercase;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.6s cubic-bezier(0.3,1,0,1);
    transition: all 0.6s cubic-bezier(0.3,1,0,1);
}

    .testimonial4_control_button .carousel-control.left {
        left: 7%;
        right: auto;
    }

    .testimonial4_control_button .carousel-control.right {
        right: 7%;
        left: auto;
    }

        .testimonial4_control_button .carousel-control.left:hover,
        .testimonial4_control_button .carousel-control.right:hover {
            color: #000;
            background: #fff;
            border: 2px solid #fff;
        }

.testimonial4_header {
    top: 0;
    left: 0;
    bottom: 0;
    width: 550px;
    display: block;
    margin: 30px auto;
    text-align: center;
    position: relative;
}

    .testimonial4_header h4 {
        color: #ffffff;
        font-size: 30px;
        font-weight: 600;
        position: relative;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

.testimonial4_slide {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    margin: auto;
    padding: 20px;
    position: relative;
    text-align: center;
    height: 240px;
}

    .testimonial4_slide img {
        top: 0;
        left: 0;
        right: 0;
        width: 125px;
        /*height: 33px;*/
        margin: auto;
        display: block;
        color: #f2f2f2;
        font-size: 18px;
        line-height: 46px;
        text-align: center;
        position: relative;
    }

    .testimonial4_slide p {
        color: #ffffff;
        font-size: 16px;
        margin: 15px 0 20px 0;
    }

    .testimonial4_slide h3 {
        color: white;
    }

    .testimonial4_slide h4 {
        color: #ffffff;
        font-size: 24px;
        font-weight: bold;
    }


@media only screen and (max-width: 480px) {
    .testimonial4_control_button .carousel-control {
        display: none;
    }

    .testimonial4_header {
        width: 95%;
    }

        .testimonial4_header h4 {
            font-size: 20px;
        }

    .testimonial4_slide {
        width: 98%;
        padding: 5px;
    }

    .testimonial4_slide {
        height: 355px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .testimonial4_control_button .carousel-control.left {
        left: 2%;
    }

    .testimonial4_control_button .carousel-control.right {
        right: 2%;
    }

    .testimonial4_header {
        width: 95%;
    }

    .testimonial4_slide {
        width: 98%;
        padding: 5px;
        height: 340px;
    }
}
.carousel-caption.carousel-caption-home {
    height: 100%;
    top: 0px !important;
    display: flex;
    align-items: center;
    right: 15%;
}

@media (min-width: 1200px) and (max-width: 1630px) {
    .carousel-caption.carousel-caption-home h2 {
        font-size: 32px;
    }
}


    @media (min-width: 992px) and (max-width: 1199px) {
        .carousel-caption h2 {
            font-size: 29px !important;
        }

        .carousel-caption.carousel-caption-home {
            right: 12% !important;
            width: 31%;
        }

        .carouselContainer .item img {
            width: 100%;
            /*height: 305px;*/
        }

        .testimonial4_slide {
            height: 250px;
        }
    }

    @media (min-width: 768px) and (max-width: 991px) {
        .testimonial4_control_button .carousel-control.left {
            left: 5%;
        }

        .testimonial4_control_button .carousel-control.right {
            right: 5%;
        }

        .testimonial4_slide {
            height: 250px;
        }
    }

    @-webkit-keyframes psBoxShadowEffect_2 {
        0% {
            opacity: 0.3;
        }

        40% {
            opacity: 0.5;
            -webkit-box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #ffffff, 0 0 0 10px rgba(255,255,255,0.5);
        }

        100% {
            -webkit-box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 5px 5px #ffffff, 0 0 0 5px rgba(255,255,255,0.5);
            -webkit-transform: scale(1.5);
            opacity: 0;
        }
    }

    @keyframes psBoxShadowEffect_2 {
        0% {
            opacity: 0.3;
        }

        40% {
            opacity: 0.5;
            box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #ffffff, 0 0 0 10px rgba(255,255,255,0.5);
        }

        100% {
            box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 5px 5px #ffffff, 0 0 0 5px rgba(255,255,255,0.5);
            transform: scale(1.5);
            opacity: 0;
        }
    }



    ul.dropdown-menu {
        z-index: 70000 !important;
    }


    form span.glyphicon.glyphicon-search {
        color: #006cb6;
    }

    form.navbar-form.navbar-right {
        padding-top: 18px;
        border: none;
    }

    ul.nav.navbar-nav > li:last-child a {
        padding-right: 0px;
    }


    /**/

    .carouselContainer .item img {
        width: 100%;
    }

    /*.carouselContainer .item {
    max-height: 550px;
}*/

    .fancybox-slide div img {
        max-height: 750px;
    }

    .grid {
        position: relative;
        padding: 0px;
        max-width: 100%;
        list-style: none;
        text-align: center;
        margin: 0px -15px;
    }

    figure.effect-sarah {
        margin: 10px 1% !important;
    }

    .blueGradBG a:last-child {
        font-style: italic;
        font-weight: bold;
        background: white;
        padding: 10px 15px;
        margin-top: 15px;
        display: inline-block;
    }

        .blueGradBG a:last-child:hover {
            text-decoration: none;
        }

    img.videoImg {
        border: 10px solid white;
    }

    .grid .hovereffect {
        margin-bottom: 30px;
    }

    .carousel-control.right {
        z-index: 45;
    }

    .blueBG {
        position: absolute;
        height: 100%;
        width: 62%;
        top: 0;
        right: 0;
    }

    .carousel-caption {
        right: 313px;
        /* border: 2px solid red; */
        width: 26%;
        left: auto;
        text-align: left;
        top: 162px;
        bottom: auto;
        z-index: 9999;
        position: absolute;
    }

        .carousel-caption a.callout-button {
            color: white;
            background-color: #ff6700;
            border-color: #ff6700;
            -webkit-transition: all 0.35s;
            -moz-transition: all 0.35s;
            transition: all 0.35s;
            padding: 10px 30px;
            font-weight: 700;
            font-size: 17px !important;
            text-transform: uppercase;
            border: none;
            margin-top: 10px;
            border-radius: 300px;
            font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0);
            text-decoration: none !important;
        }

            .carousel-caption a.callout-button:hover {
                color: white;
                background-color: #e65d00;
                border-color: #db5900;
            }


        .carousel-caption h2 {
            font-size: 40px;
        }

    .blueBG img {
        right: 0px;
        position: absolute;
        z-index: 5;
        min-height: 100%;
        width: auto;
    }

    .carouselContainer {
        overflow: hidden;
    }

    .grid .hovereffect {
        overflow: hidden;
        background: 0px;
        height: 135px;
    }

    .mobile {
        display: none !important;
    }

    .carousel-caption-home {
        text-align: right !important;
        text-transform: uppercase;
    }

    .carousel-caption.carousel-caption-home h2 {
        text-transform: uppercase;
        font-weight: 800;
    }

    .navbar-inverse .navbar-nav > li > a {
        padding: 5px 15px;
    }

    @media (min-width: 767px) and (max-width: 992px) {

        .grid .hovereffect .overlay {
            padding: 1.5em !important;
        }

        .overlay h2, .overlay .h2 {
            font-size: 19px !important;
        }

        .carouselContainer {
            height: 450px !important;
        }

            .carouselContainer .item {
                height: 450px;
            }
    }

    @media (min-width: 20px) and (max-width: 767px) {

        a.navbar-brand img {
            margin-left: 20px !important;
            width: 175px;
        }

        .btn {
            white-space: normal !important;
        }

        ul.nav.navbar-nav > li:last-child a {
            padding-right: 15px;
        }

        button.navbar-toggle {
            margin-top: 40px;
        }

        .navbar-collapse.collapse {
            padding-top: 0px;
        }

        .grid .hovereffect {
            height: 69px;
        }

            .grid .hovereffect .overlay {
                padding: 1em !important;
            }

        .hovereffect.col-sm-3.effect-steve {
            padding: 0px !important;
        }

        .grid {
            position: relative;
            margin: 0 auto !important;
        }

        .carouselContainer {
            height: 350px;
        }

            .carouselContainer .item {
                height: 350px;
            }
    }

    @media (min-width: 20px) and (max-width: 992px) {

        .carousel-caption.carousel-caption-home {
            height: 100%;
            top: 0px !important;
            display: flex;
            align-items: center;
        }

        .carousel-control {
            display: none;
        }

        .blueBG {
            width: 100%;
        }

        .carousel-caption.carousel-caption-home {
            width: 100%;
            right: auto;
            left: auto;
            top: 0;
            text-align: center !important;
            padding: 0px 15px;
        }

        .carousel-caption h2 {
            font-size: 30px;
        }

        .mobile {
            display: block !important;
        }

        .browser {
            display: none !important;
        }

        .blueBG img {
            display: none;
        }

        .blueOpacity {
            display: block !important;
            background: rgba(0,108,182,0.6);
            height: 450px;
            width: 100%;
            position: absolute;
            z-index: 6;
        }

        .carousel-control {
            z-index: 7;
        }
    }