/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   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;
}

/*
 * 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
   ========================================================================== */
body {
}
.content{
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}
section{
    padding-top: 60px;
    padding-bottom: 60px;
}
    section p,
    section li{
        font-size: 18px;
        font-family: 'Roboto', sans-serif;
        font-weight: 300;
    }
        section p strong{
            font-weight: 400;
            color: #34488e;
        }
    section h2{
        font-size: 35px;
        font-weight: 700;
        text-transform: uppercase;
    }
    section h3{
        font-size: 26px;
        font-weight: 700;
        text-transform: uppercase;
    }
    section ul,
    section li{
        padding-left: 0;
        list-style: none;
    }
    section i.fa{
        font-size: 36px;
    }
.navbar,
.navbar .container{
    height: 65px;
    border: none;
}
.navbar{
    background: rgba(255,255,255,0.9);
}
.navbar .container{
    background-color: transparent;
}
    .navbar .container .logo{
        height: 40px;
    }
    .navbar-default .navbar-nav>li>a{
        font-family: 'Roboto', sans-serif;
    }
    .navbar-default .navbar-nav>li>a.go-quote,
    .navbar-default .navbar-nav>li>a.login{
        background-color: #5bb6a5;
        color: #fff;
        border-radius: 5px;
        border: none;
        outline: 0;
        padding: 6px 10px;
        margin-top: 18px;
        border: 1px solid #5bb6a5;
    }
    .navbar-default .navbar-nav>li>a.login{
        background-color: #34488e;
        border: 1px solid #34488e;
        margin-right: 15px;
    }
        .navbar-default .navbar-nav>li>a.go-quote:hover,
        .navbar-default .navbar-nav>li>a.login:hover{
            color: #000;
            background-color: #fff;
            -webkit-transition: all 500ms ease-out;
            -moz-transition: all 500ms ease-out;
            -o-transition: all 500ms ease-out;
            transition: all 500ms ease-out;
        }
    .navbar .dropdown #dLabel{
        background: transparent;
        border: none;
        margin-top: 18px;
        margin-left: 25px;
        outline: 0;
    }
        .navbar .dropdown #dLabel span{
            background: transparent;
            border: 3px solid #5bb6a5;
            width: 17px;
            height: 10px;
            margin-top: 0;
            margin-bottom: 0;
            display: block;
            border-radius: 15px;
        }
@media (max-width: 468px) {
    .navbar-header{
        height: 65px;
        background: #fff;
    }
    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form{
        background-color: #fff;
    }
    .navbar-default .navbar-toggle{
        margin-top: 16px;
    }
}

/**/
/**/
/*.navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }*/
/**/
/**/

#home{
    background-image: url('../img/header.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 140px;
}
    #home:after{
        content: '';
        position: absolute;
        left: 50%;
        margin-left: -50px;
        bottom: 0;
        width: 0;
        height: 0;
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        border-bottom: 50px solid #fff;
        clear: both;
    }
    #home h1{
        margin-top: 200px;
        margin-top: 50px;
        text-transform: uppercase;
        font-size: 65px;
        font-family: 'Roboto', sans-serif;
        color: #34488e;
        text-align: center;
        font-weight: 300;
    }
        #home h1 span{
            font-weight: 400;
        }
    #home p{
        font-size: 30px;
        font-weight: 400;
        text-align: center;
        color: #fff;
    }
    #home .carousel .item{
        min-height: 130px;
    }
    #home .carousel .carousel-indicators li{
        background: transparent;
        border-color: #fff;
    }
    #home .carousel .carousel-indicators .active{
        border-color: #5bb6a5;
    }
@media (max-width: 768px) {
    #home{
        padding-bottom: 100px;
    }
        #home p{
            font-size: 25px;
        }
}
@media (max-width: 468px) {
    #home h1{
        margin-top: 200px;
        margin-top: 50px;
        font-size: 35px;
    }
}
.financial{
    padding-top: 100px;
    padding-bottom: 100px;
}
@media (max-width: 468px) {
    .financial img{
        margin-bottom: 60px;
    }
}

.since{
    background-image: url('../img/mision.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
    background-size: cover;
}
    .since img{
        margin-bottom: 25px;
    }
@media (max-width: 468px) {
    .since img{
        width: 100%;
    }
}

#mision{

}
    #mision p{
        margin-top: 15px;
        margin-bottom: 20px;
        font-size: 20px;
        font-style: inherit;
    }
    #mision .carousel{
        margin-top: 0;
    }
        #mision .carousel .item{
            min-height: 225px;
        }
    #mision .carousel .carousel-indicators li{
        background: transparent;
        border-color: #afd5f1;
    }
    #mision .carousel .carousel-indicators .active{
        border-color: #5bb6a5;
    }
    #mision .carousel .carousel-indicators-top .active{
        font-weight: 700;
    }
.faq{
    background-color: #3a999f;
    color: #fff;
}
    .faq .panel-group{
        border: 1px solid #fff;
        margin-top: 20px;
    }
    .faq .panel-group .panel{
        background-color: transparent;
        border-radius: 0;
        text-align: center;
        margin-top: 0;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .faq .panel-default>.panel-heading{
        background-color: transparent;
        background-image: none;
    }
        .faq .panel-default>.panel-heading h4{
            text-align: center;
            color: #fff;
            font-size: 20px;
            font-weight: 400;
        }
    .faq .panel-body h4{
        font-weight: 400;
    }
    .faq .panel-default strong{
        font-weight: 700;
        color: #fff;
    }
    .faq .panel-default>.panel-heading+.panel-collapse>.panel-body{
        border: 0;
        font-size: 17px;
        padding-top: 5px;
        font-family: 'Roboto', sans-serif;
        font-weight: 300;
        padding-left: 45px;
        padding-right: 45px;
    }
.infrastructure{

}
    .infrastructure .carousel{
        padding-left: 0;
        padding-right: 0;
    }
    .infrastructure .item blockquote img{
        width: 100%;
        height: auto;
    }
    .infrastructure h2,
    .infrastructure h3,
    .infrastructure p,
    .infrastructure li,
    .infrastructure strong{
        color: #34488e;
    }
    .infrastructure .item{
        min-height: 740px;
    }
    .infrastructure .item h4{
        margin: 0 0 20px;
    }
    .infrastructure .top p{
        margin-bottom: 45px;
    }
    .infrastructure ul{
        margin-bottom: 25px;
    }
    .infrastructure .special strong{
        font-weight: 700;
    }
    .infrastructure .item blockquote p{
        font-size: 18px;
        margin-top: 5px;
        color: #34488e;
    }
    .infrastructure .swipe a{
        color: #34488e;
        font-size: 18px;
        font-family: 'Roboto', sans-serif;
        font-weight: 400;
        outline: 0;
    }
        .infrastructure .swipe a:hover{
            font-weight: 700;
        }
@media (max-width: 768px) {
    .infrastructure img{
        margin: auto;
        display: block;
    }
    .infrastructure h3{
        text-align: center;
        margin: 15px 0 25px;
    }
}

.quote{
    background-color: #e9f2f1;
    color: #fff;
}
    .quote h2,
    .quote p{
        color: #5bb6a5;
    }
    .quote form{
        margin-top: 20px;
    }
    .quote input[type=text],
    .quote select,
    .quote textarea,
    .quote input[type=submit]{
        border-radius: 5px;
        color: #5bb6a5;
        text-align: center;
        border: none;
        outline: 0;
        background-color: #fff;
        width: 100%;
        padding: 14px;
        margin-bottom: 20px;
    }
    .quote select{
        height: 43px;
    }
    .quote input[type=submit]{
        color: #fff;
        background-color: #5bb6a5;
        padding: 14px;
    }
    .quote #response.error{
        color: red;
    }
    ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: #5bb6a5;
        opacity: 1; /* Firefox */
    }

    :-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: #5bb6a5;
    }

    ::-ms-input-placeholder { /* Microsoft Edge */
        color: #5bb6a5;
    }
.clients{

}
    /**/
    /**/
    /**/
    .carousel-indicators-top {
        position: absolute;
        top: 10px;
        left: 50%;
        z-index: 15;
        width: 60%;
        padding-left: 0;
        margin-left: -30%;
        text-align: center;
        list-style: none;
    }
    .carousel-indicators-top li {
        display: inline-block;
        width: 10px;
        height: 10px;
        margin: 1px;
        text-indent: -999px;
        cursor: pointer;
        background-color: #000\9;
        background-color: rgba(0, 0, 0, 0);
        border: 1px solid #fff;
        border-radius: 10px;
    }
    .carousel-indicators-top .active {
        width: 12px;
        height: 12px;
        margin: 0;
        background-color: #fff;
    }
    /**/
    /**/
    /**/
    .carousel {
        padding: 0 10px 30px 10px;
        margin-top: 30px;
    }
    .carousel .carousel-control{
        background: none;
        color: #222;
        font-size: 2.3em;
        text-shadow: none;
        margin-top: 30px;
    }
    .carousel .carousel-control.left {
        left: -12px;
    }
    .carousel .carousel-control.right {
        right: -12px !important;
    }
    .carousel .carousel-indicators,
    .carousel .carousel-indicators-top {
        right: 50%;
        top: auto;
        bottom: 0px;
        margin-right: -19px;
    }
    .carousel .carousel-indicators li{
    /*.carousel .carousel-indicators-top li{*/
        background: #fff;
        border: 5px solid #34488e;
        width: 20px;
        height: 14px;
        margin-top: 0;
        margin-bottom: 0;
    }
    .carousel .carousel-indicators .active,
    .carousel .carousel-indicators-top .active {
        border-color: #f6cda5;
    }
    .carousel .carousel-indicators-top {
        top: 0px;
        bottom: auto;
        left: inherit;
        margin: auto;
        right: inherit;
        position: relative;
    }
        .carousel .carousel-indicators-top li{
            width: auto;
            height: auto;
            display: inline;
            font-size: 20px;
            color: #afd5f1;
            font-weight: 400;
            margin: 0 15px;
            border: none;
            -webkit-transition: color 500ms ease-out;
            -moz-transition: color 500ms ease-out;
            -o-transition: color 500ms ease-out;
            transition: color 500ms ease-out;
        }
        .carousel .carousel-indicators-top .active{
            color: #3a999f;
            border: none;
        }
    .item blockquote {
        border-left: none;
        margin: 0;
    }
    .item blockquote img {
        /*margin-bottom: 10px;
        width: 70% !important;
        height: auto !important;*/
        width: auto;
        height: 160px;
        margin: 0 auto 10px;
    }
    .item blockquote p{
        font-size: 20px;
        color: #848484;
        font-style: italic;
    }
    .item blockquote h4{
        font-size: 25px;
        color: #34488e;
        margin-top: 35px;
        margin-bottom: 0;
    }
        .item blockquote h4 span{
            margin-left: 20px;
            font-style: italic;
            font-weight: 300;
        }
    @media (min-width: 768px) {
        .carousel {
            margin-bottom: 0;
            padding: 0 40px 30px 40px;
        }
    }
    @media (max-width: 768px) {
        .carousel .carousel-indicators,
        .carousel .carousel-indicators-top {
            bottom: -20px !important;
        }
        .carousel .carousel-indicators li,
        .carousel .carousel-indicators-top li {
            /*display: inline-block;
            margin: 0px 5px;
            width: 15px;
            height: 15px;*/
        }
        .carousel .carousel-indicators li.active,
        .carousel .carousel-indicators-top li.active {
            /*margin: 0px 5px;
            width: 20px;
            height: 20px;*/
        }
        .carousel-indicators-top {
            width: 100%;
        }
            .carousel .carousel-indicators-top li{
                font-size: 16px;
            }
        .clients .item blockquote img {
            width: 100%;
            height: auto;
        }
    }
.contact{
    background-color: #3a999f;
    color: #fff;
}
    .contact p,
    .contact a{
        font-size: 23px;
        text-decoration: none;
        color: #fff;
        font-weight: 400;
    }
        .contact p:last-child{
            margin-bottom: 0;
        }
        .contact .mobile i{
            font-size: 40px;
        }
@media (max-width: 768px) {
    .contact p:last-child{
        margin-bottom: 40px;
    }
}

.footer{
    background-color: #5bb6a5;
    color: #fff;
}
    .footer a{
        font-size: 17px;
        color: #fff;
    }
    .footer .bottom{
        padding-top: 40px;
    }
    .footer .bottom .social li{
        float: left;
    }
        .footer .bottom .social li i{
            font-size: 36px;
            margin-right: 15px;
        }
@media (max-width: 768px) {
    .footer img{
        margin: 0 auto 60px;
        display: block;
    }
}

/* Responsive letters */
@media (max-width: 468px) {
    section p,
    section li{
        font-size: 18px;
    }
    section h2{
        font-size: 25px;
    }
    section h3{
        font-size: 20px;
    }
}


/* ==========================================================================
   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:
   http://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;
    }
}
