﻿

/*#topNav .dropdown-toggle:focus + .dropdown-menu {
    display: block;
}
    #topNav .dropdown-toggle:focus + .dropdown-menu li a {
        color: black;
    }*/

@font-face {
    font-family: 'droid_serifitalic';
    src: url('/assets/fonts/DroidSerif-Italic-webfont.eot');
    src: url('/assets/fonts/DroidSerif-Italic-webfont.eot?#iefix') format('embedded-opentype'), url('/assets/fonts/DroidSerif-Italic-webfont.woff') format('woff'), url('/assets/fonts/DroidSerif-Italic-webfont.ttf') format('truetype'), url('/assets/fonts/DroidSerif-Italic-webfont.svg#droid_serifitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    -webkit-print-color-adjust: exact;
}

.ipsum {
    background: yellow;
}

#skiptocontent a {
    padding: 3px;
    position: absolute;
    top: -40px;
    left: 0px;
    color: white !important;
    background: #BF1722;
    z-index: 100;
    border: solid 2px white;
}

    #skiptocontent a:focus {
        top: 0px;
    }

    

ul.side-nav > li.active > a {
    background-color: rgba(0,0,0,0.70);
}

ul.side-nav > li.active > a {
    background-color: rgba(0,0,0,0.70);
}

.btn-mobile,
#topNav a.logo:focus,
#topNav a.dropdown-toggle:focus {
    outline: 2px solid white !important;
}

.intro_title {
    font-size: 3em;
    margin: 30px 0 -20px 0;
    text-align: center;
    padding: 0 10px;
}


section.page-title h1 {
    font-weight: 300;
    line-height: 1;
    padding: 7px 0 15px 0;
    margin: 0 0 -1px 0;
    border-bottom: rgba(0,0,0,0.07) 1px solid;
    display: inline-block;
    color: #000;
    font-size: 2em;
}

h2 {
    font-size: 2.0em;
    line-height: 42px;
    margin: 0 0 32px 0;
}

h3 {
    font-size: 1.35em;
    margin: 1.75em 0 1em 0;
}

    h3:first-child {
        margin-top: 0px;
    }

.leftcopy h3 {
    margin-bottom: 1.2em;
}

    .leftcopy h3 strong {
        font-weight: 600;
    }


h4 {
    font-size: 1.35em;
    letter-spacing: normal;
    line-height: 27px;
    margin: 28px 0 14px 0;
}

.list-group-item {
    margin-bottom: 1.5rem;
}

/*------------------ LICENSED AGENTS ------------------*/
.licensed-agents-text {
    margin: 0 0 2em;
    display: table;
}

    .licensed-agents-text h3 {
        font-size: 1.75em;
        margin: 0 0 1rem;
        font-weight: 600;
        color: #00558C;
    }

    .licensed-agents-text blockquote p {
        font-size: 14px;
        letter-spacing: 0;
    }

.licensed-agents-sub {
    line-height: 22px;
    margin: 30px 0 0px;
    letter-spacing: normal;
    font-weight: 500;
    color: #00558C;
}

.licensed-intro {
    font-size: 1.25em;
    font-weight: 500;
    color: #00558C;
    margin-top: -30px;
    margin-bottom: 50px;
    font-style: italic;
}

.licensed-hr {
    margin-bottom: 0px;
}


.licensed-start {
    font-size: 2.7em;
    line-height: 44px;
    margin: 0 0 34px 0;
    margin: 0;
    color: #00558c;
    font-family: 'Open Sans';
    font-weight: 600;
    letter-spacing: -1px;
}

.licensed-para {
    margin-top: 20px;
    font-size: 1.5em;
    line-height: 26px;
    font-weight: 800;
}

.licensed-top {
    margin-top: 20px;
}

.licensed-body {
    color: #000;
    font-size: 16px;
}

.yellow-banner {
    width: 100%;
    height: 24px;
    background-color: #ffdc4f;
    background-image: url(/assets/images/bg-footer.jpg);
    background-repeat: no-repeat;
}


.privacy-card{
border: 1px solid #86bee2;
font-size:1.25em;
font-weight:600;
background: #f1f5f9;
}




.fs-title {
    color: #133c70;
}

a:focus, a:hover {
    text-decoration: none;
}

p a:focus, p a:hover {
    text-decoration: underline;
}

.toggle-content p {
    margin: 0.75em 0;
}

.lead {
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 200;
    line-height: 1.2;
    color: #000;
    letter-spacing: -1px;
    margin-bottom: 35px;
}

blockquote {
    border: 0;
    border-left: 5px solid #CCC;
}

    blockquote .small {
        margin-top: 10px;
    }


    blockquote.stats {
        font-size: 30px;
        line-height: 1.2;
    }

        blockquote.stats strong {
            font-size: 60px;
        }

    blockquote.newstats {
        font-size: 26px;
        line-height: 1.45em;
    }


div.slider {
    /* background-color:#171717; */
    position: relative;
    z-index: 1;
    -webkit-box-shadow: 0 4px 0 rgba(0, 0, 0, 0.04);
    -moz-box-shadow: 0 4px 0 rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.04);
}

.flexslider {
    margin: 0;
    background: none !important;
    position: relative;
}

.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: 10px;
    text-align: center;
    z-index: 100;
}


section header h1, section header h2, section header h3 {
    margin-bottom: 10px;
}


.box-content.thumbnail p {
    font-size: 12px;
    line-height: 16px;
    text-align: left;
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: #eee 1px solid;
    padding-bottom: 10px;
    margin-bottom: 6px;
}

.formfield-error {
    border: solid 3px red !important;
}
    .apply form input[type="text"]:focus,
    .apply form input[type="tel"]:focus,
    .apply form input[type="email"]:focus,
    .apply form textarea:focus,
    .apply form select:focus,
    .input-group.date:focus input,
    .input-group.date:focus span {
        border-color: #6fc0f0;
    }

.error-message-label-required, .error-message-label-format, .error-message-label-size {
    display: none;
}

.fontRed,
.error-message-label,
#error-message-recaptcha,
#error-message-ajax,
.error-contact-label,
#error-contact-recaptcha,
#error-contact-ajax,
#error-message-resume,
#error-message-appointment {
    font-size: 9pt;
    color: red;
}


.sourcefootnote {
    font-size: 14px;
}


blockquote.stats span {
    line-height: 1.0;
}

    blockquote.stats span.top {
        font-size: 30px;
        display: block;
    }

    blockquote.stats span.mid {
        font-weight: bold;
        display: block;
    }

    blockquote.stats span.bottom {
        font-size: 30px;
        display: block;
        margin-bottom: 1.5rem;
    }

@media (width < 991px) {
    blockquote.stats span.mid {
        font-size: 4rem;
    }
}
@media (width >= 991px) {
    blockquote.stats span.mid {
        font-size: 64px;
    }
}


@media all and (min-width: 1400px) {
    .container {
        width: 1380px;
    }

    #topNav > .container::before {
        display: none;
    }
}

hr.min-margins {
    margin: 10px 0;
}

.btn.btn-primary, .btn.btn-warning {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

a:hover .btn {
    text-decoration: none;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}




@media screen and (max-width: 991px) {

    div#googleSearch.desktopwidth {
        display: none;
    }

    #barMain {
        width: auto;
    }

    .sidebar {
        margin-top: 40px;
    }

    div#googleSearch.mobilewidth {
        display: block;
        float: none !important;
        height: 50px;
        width: 100%;
    }

    div#googleSearch .gsc-search-box.gsc-search-box-tools {
        padding: 0 5px;
    }

    #topNav ul.nav > li:hover > a:before, #topNav ul.nav > li.active > a:before {
        height: 0px;
    }

    #topNav ul.nav > li.no-collapse > a:after {
        content: none;
    }
}


@media screen and (min-width: 992px) {
    #topNav ul.nav > li, #topNav ul.nav > li > a {
        cursor: default;
    }

        #topNav ul.nav > li.no-collapse, #topNav ul.nav > li.no-collapse > a {
            cursor: pointer;
        }

    .leftcopy {
        padding-right: 40px;
    }
}



@media all and (min-width: 1200px) {
    #topNav ul.nav > li a {
        padding: 15px 25px;
    }
}


/*----------------------------------- HEADER -----------------------------------*/

header#topNav {
    background: #005c8e;
    box-shadow: 0 6px 0 rgba(0, 0, 100, .1);
}

#topNav > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

    #topNav > .container::before, #topNav > .container::after {
        display: none;
    }

@media all and (max-width: 991px ) {
    #topNav > .container::after {
        display: block;
    }

    #topNav > .container {
        display: block;
        height: auto;
    }
}


header#topNav a.logo {
    margin: 0;
    min-height: 0;
    float: none;
}

    header#topNav a.logo img {
        width: 360px;
    }

@media all and (max-width: 1140px) {
    header#topNav a.logo.esp-logo img {
        width: 305px;
    }

    #topNav ul.nav > li > a {
        padding: 14px 10px !important;
    }
}

@media all and (max-width: 1050px) {
    header#topNav a.logo img {
        width: 305px;
    }

    header#topNav a.logo.esp-logo img {
        width: 256px;
    }
}

@media all and (max-width: 991px) {
    header#topNav a.logo img,
    header#topNav a.logo.esp-logo img {
        width: 420px;
        margin: 26px 10px 0;
    }
}

@media all and (max-width: 520px) {
    header#topNav a.logo {
        width: 77vw;
        height: 96px;
        position: relative;
    }

        header#topNav a.logo img,
        header#topNav a.logo.esp-logo img {
            width: 100%;
            margin: 0 0 0 8px;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
        }
}



#topNav,
#topNav ul.nav > li:last-child,
#topNav ul.nav > li {
    border: 0px;
}

    #topNav ul.nav > li:hover {
        background: #fff;
    }

        #topNav ul.nav > li:hover > a:before,
        #topNav ul.nav > li.active > a:before {
            height: 0px;
        }




    #topNav ul.dropdown-menu {
        min-width: 240px;
        border: none;
        border-bottom: 4px solid #67c7c5;
    }

@media all and (max-width: 991px) {
    #topNav ul.dropdown-menu {
        border: none;
    }
}

@media all and (min-width: 991px) {
    #topNav ul.nav > li.active > a:after {
        content: ' ';
        background-color: #67c7c5;
        height: 9px;
        transform: skew(19deg);
        width: 100%;
        left: 0;
        bottom: 0;
        position: absolute;
    }

    #topNav ul.nav > li.active:hover > a:after {
        display: none;
    }
}

@media all and (min-width: 991px) {
    #topNav ul.nav > li > .dropdown-menu a {
        color: #555;
    }
}

@media all and (max-width: 991px) {
    #topNav .dropdown-menu > li > a:focus {
        color: #555;
    }
}

#topNav ul.nav > li a {
    color: #fff;
    font-weight: 400;
    font-size: 10pt;
    transition: 0ms;
}

    #topNav ul.nav > li a span {
        color: #0c2d52;
        font-weight: 200;
        font-size: 8pt;
        visibility: hidden;
        transition: 0ms;
    }

#topNav ul.nav > li:hover a span {
    visibility: visible;
}

@media all and (min-width: 991px) {
    #topNav ul.nav > li > a {
        padding: 48px 16px;
    }
}

@media all and (max-width: 1050px) and (min-width: 991px) {
    #topNav ul.nav > li > a {
        padding: 59px 16px;
    }
}



.logo span {
    padding: 1px 0;
    font-family: 'Lato', sans-serif;
    color: rgba(255,255,255,.8);
    display: block;
    font-size: 27.5px;
    padding-left: 10px;
    margin-left: 10px;
    position: relative;
}

    .logo span::before {
        content: '';
        position: absolute;
        border-left: 1px solid rgba(255,255,255,.8);
        width: 100%;
        height: calc(100% + 6px);
        left: 0;
        top: -3px;
    }

@media all and (max-width: 1200px) {
    .logo span {
        display: none;
    }
}



/*------------ TOP SEARCH BOX ------------*/

#topBar {
    min-height: 1px;
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 33%, #d6d6d6 100%);
    background: -webkit-linear-gradient(top, #ffffff 33%,#d6d6d6 100%);
    background: linear-gradient(to bottom, #ffffff 33%,#d6d6d6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d6d6d6',GradientType=0 );
    -webkit-box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.25);
}

#barMain {
    width: 550px;
    height: 31px;
    margin-top: 0px;
    line-height: 16px;
}

    #barMain .nav > li > a {
        line-height: 21px;
        font-size: 8pt;
    }

        #barMain .nav > li > a:hover, #barMain .nav > li > a:focus {
            background-color: rgba(0,0,0,0.08);
        }


div#googleSearch {
    width: 300px;
    margin-top: 1px !important;
}

    div#googleSearch.mobilewidth {
        display: none;
    }

nav.nav-second {
    width: 250px;
    display: inline-block;
}

div#googleSearch form.gsc-search-box table.gsc-search-box,
div#googleSearch form.gsc-search-box {
    margin-bottom: 0;
}

.gsc-control-cse {
    background: none;
}

div.gsc-control-cse.gsc-control-cse-en {
    background: none;
    border: 0px;
}


.gsst_a .gscb_a {
    position: relative;
    top: 5px;
    right: 5px;
}

#topNav ul.nav > li a.gsst_a {
    padding: 0px;
}

.gsc-search-box-tools .gsc-search-box .gsc-input {
    padding-right: 5px !important;
}

.gsc-input-box {
    height: 22px !important;
}

table.gsc-search-box td.gsib_a {
    padding-top: 3px;
}

input.gsc-search-button-v2 {
    padding: 5px 10px !important;
}

input.gsc-search-button {
    border: 0px !important;
    background: #b03e19 !important;
    transition: all 0.2s;
}

    input.gsc-search-button:hover,
    input.gsc-search-button:active {
        background: #a12816 !important;
    }

#topNav ul.nav .dropdown-menu > li:hover > a {
    color: #333 !important;
    background: #e3e3e3 !important;
}

/*------------ RESPONSIVE MENU STUFF ------------*/


@media screen and (max-width: 990px) {

    #barMain {
        width: auto;
    }

    #topNav ul.nav > li:hover,
    #topNav ul.dropdown-menu,
    #topNav nav.nav-main {
        background: none;
    }

        #topNav ul.nav > li:hover a {
            color: #fff;
        }

    #topNav ul.nav > li a:hover,
    #topNav ul.nav > li a:active,
    #topNav ul.nav .dropdown-menu > li:hover > a {
        color: #fff;
        background: #164580;
    }


    #topNav ul.dropdown-menu:after,
    #topNav ul.nav > li:hover > a:after,
    #topNav ul.nav > li.active > a:after {
        height: 0px;
    }

    #topNav ul.nav > li.resp-active > a:after {
        content: "\f106";
    }

    #topNav ul.nav > li.resp-active.no-collapse > a:after {
        content: " ";
    }

    #topNav button.btn-mobile {
        margin: 29px 10px 28px 0px;
        background-color: #00558C;
        border: 3px solid white;
        border-radius: 50%;
        line-height: 1;
        padding: 8px 10px;
        outline: none !important;
    }

        #topNav button.btn-mobile:hover,
        #topNav button.btn-mobile:active {
            background-color: #30827F;
        }


    #topBar .container {
        padding-bottom: 0px;
    }


    .btn-group-vertical > .btn-group:after, .btn-group-vertical > .btn-group:before, .btn-toolbar:after, .btn-toolbar:before, .clearfix:after, .clearfix:before, .container-fluid:after, .container-fluid:before, .container:after, .container:before, .dl-horizontal dd:after, .dl-horizontal dd:before, .form-horizontal .form-group:after, .form-horizontal .form-group:before, .modal-footer:after, .modal-footer:before, .nav:after, .nav:before, .navbar-collapse:after, .navbar-collapse:before, .navbar-header:after, .navbar-header:before, .navbar:after, .navbar:before, .pager:after, .pager:before, .panel-body:after, .panel-body:before, .row:after, .row:before {
        clear: both;
    }
}




/*----------------------------------- HOMEPAGE -----------------------------------*/

.find {
    color: black;
    font-size: 24px;
    font-weight: 100;
    display: block;
    margin: 12px 0;
    text-align: center;
}

.homeicons {
    margin: 3.5rem auto;
    display: flex;
}

    .homeicons > div {
        display: flex;
        font-size: 13px;
        text-align: left;
    }

        .homeicons > div:not(:last-of-type) {
            border-right: 1px solid #ddd;
        }

        .homeicons > div:not(:first-of-type) {
            padding-left: 5rem;
        }

        .homeicons > div > a {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: flex-start;
            color: black;
        }

            .homeicons > div > a img {
                transition: all .2s;
                width: auto;
            }

            .homeicons > div > a:hover img {
                transform: scale(1.1)
            }

            .homeicons > div > a h4 {
                margin-bottom: 0;
                font-weight: 700;
            }

            .homeicons > div > a p {
                margin-bottom: 0;
                font-weight: 400;
                line-height: 1.75em;
                max-width: 80%;
            }

            .homeicons > div > a .btn-slant {
                display: inline-block;
                color: white;
                font-size: 17px;
                font-weight: 700;
                padding: 7px 30px 9px;
                margin-top: 2rem;
                /*text-shadow: 0 0 3px #003a5f;*/
                position: relative;
            }

                .homeicons > div > a .btn-slant::before {
                    position: absolute;
                    content: "";
                    background-color: #30827f;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    transform: skew(12deg) scaleX(1);
                    z-index: -1;
                    transition: all 0.2s ease;
                     outline: 1px solid rgba(255, 255, 255, 0.6);
                    outline-offset: -0.35rem;
                }

            .homeicons > div > a:hover .btn-slant::before {
                background-color: #00558C;
                transform: skew(12deg) scale(1.05);
            }

@media all and (max-width: 767px) {
    .homeicons {
        margin: 1rem auto;
        display: block;
    }

        .homeicons > div {
            padding-bottom: 3rem;
            padding-left: 3rem;
            display: block;
            text-align: center;
        }

            .homeicons > div > a {
                display: block;
            }

            .homeicons > div:not(:last-of-type) {
                border-right: none;
                border-bottom: 1px solid #ddd;
                margin-bottom: 4rem;
            }

            .homeicons > div:not(:first-of-type) {
                padding-left: 3rem;
            }

            .homeicons > div > a img {
                height: auto;
                width: auto;
            }

            .homeicons > div > a p {
                max-width: none;
            }
}

.slanted-btn {
    display: inline-block;
    color: white;
    background-color: #30827F;
    font-size: 17px;
    font-weight: 700;
    padding: 7px 14px 9px;
    transform: skew(14deg);
    margin-top: 6px;
    transition: all .2s;
    outline: 1px solid rgba(255, 255, 255, 0.6);
    /*text-shadow: 0 0 3px #003a5f;*/
}

    .slanted-btn:hover {
        background-color: #00558C;
        color: white;
        transform: skew(14deg) perspective(1px) translateZ(0);
        backface-visibility: hidden;
    }

    .slanted-btn > span {
        transform: skew(-14deg);
        display: inline-block;
    }

#msform .action-button,
.btn.btn-primary {
    background-color: #30827F;
    /*text-shadow: 0 0 3px #003a5f;*/
}



div.slider {
    box-shadow: none;
}


.hide-me {
    display: none !important;
}

.show-me {
    display: inline-block !important;
}

.video-slider-box {
    max-width: 600px;
    width: 80%;
    margin: 0 auto;
    padding: 30px 0 0;
}

.video-zindex {
    z-index: 999;
}

@media (max-width: 500px) {
    .video-zindex {
        z-index: 0;
    }
}


/*----------------------------------- HOMEPAGE SLIDER -----------------------------------*/

div.slider.homeslider {
    -webkit-box-shadow: 0 0px 0 rgba(0, 0, 0, 0.0);
    -moz-box-shadow: 0 0px 0 rgba(0, 0, 0, 0.0);
    box-shadow: 0 0px 0 rgba(0, 0, 0, 0.0);
}

.homeslider .flexslider .slides .box {
    display: table;
    max-width: 350px;
    position: absolute;
    background: none;
}

.homeslider .box.fullbox .centerbox {
    display: table-cell;
    vertical-align: bottom;
}


.flexslider .slides .box.right {
    text-align: right;
    float: right;
}

@media all and (max-width: 500px) {

    .flexslider .slides .box.left {
        left: 0px;
        width: 100% !important;
        max-width: initial !important;
    }

    .flexslider .slides .box.right {
        right: 0px;
        max-width: initial !important;
    }

    .homeslider .flexslider .slides .box {
        padding: 40px 20px;
        background: rgba(0,0,0,0.6);
    }

    .flexslider.flexFull .flex-direction-nav a, .flexslider.flexContent .flex-direction-nav a {
        background: rgba(0,0,0,0.5);
    }
}




.homeslider .flexslider .slides .box h3 {
    font-size: 36pt;
    color: #fff;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 10px;
    font-family: 'droid_serifitalic';
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 1.8);
}

@media all and (max-width: 400px) {
    .homeslider .flexslider .slides .box h3 {
        line-height: 1;
    }
}

.homeslider .flexslider .slides .box p {
    font-size: 11pt;
    line-height: 20pt;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

    .homeslider .flexslider .slides .box p a {
        text-shadow: 0px 0px 0px #000;
    }





/*----------------------------------- FIND A LOCAL AGENT LOCATOR MODULE -----------------------------------*/
.search-big.well {
    border-radius: 2rem;
}


section.locator {
    min-height: 400px;
}

.ng-scope .alert.callout.alert-default {
    padding: 10px;
}

.callout.findanagent {
    padding: 0 0 10px 0;
}

.findanagent h3 {
    font-size: 24px;
    text-align: center;
    margin: 11px 0 13px 0;
}

.findanagent .well.well-sm {
    padding: 0px;
    margin: 0;
}

.findanagent .btn {
    margin-bottom: 0;
}

    .findanagent .btn.input-lg {
        height: 46px;
    }

        .findanagent .btn.input-lg.dropdown-toggle {
            border-bottom-left-radius: 2rem;
            border-top-left-radius: 2rem;
        }

        .findanagent .btn.input-lg#btnSearch {
            border-bottom-right-radius: 2rem;
            border-top-right-radius: 2rem;
        }

    .findanagent .btn i.fa {
        padding: 0;
    }

.findanagent b {
    font-weight: 500;
}


.findanagent.callout.dark {
    background: #F0F0F0;
}

    .findanagent.callout.dark h3 {
        background: none;
        color: #000;
        font-size: 1.7em;
    }

/*------ For INTERNAL Find an Agent Module ------*/
@media all and (min-width: 992px) {
    .findanagent.alert.callout .row > .col-md-3 {
        width: 250px;
        padding-left: 0;
    }

    .findanagent.alert.callout .row > .col-md-9 {
        padding: 0;
        width: calc(100% - 250px);
        float: right;
    }
}

/*------ For HOMEPAGE Find an Agent Module ------*/
@media all and (min-width: 768px) {
    .findanagent.callout.dark .row.container > .col-sm-3 {
        width: 250px;
        padding-left: 0;
    }

    .findanagent.callout.dark .row.container > .col-sm-9 {
        padding: 0;
        width: calc(100% - 250px);
        float: right;
    }
}


@media all and (max-width: 767px) {
    .findanagent .agentname .btn.input-lg {
        height: 92px;
    }
}


select.input-lg option:hover {
    background: #A94545 !important;
}

hr.top {
    border: 0;
    margin: 0;
    padding: 0;
    border-top: #bbb 1px solid;
    border-bottom: #f9f9f9 1px solid;
}

hr.bottom {
    border: 0;
    margin: 0;
    padding: 0;
    border-bottom: #bbb 1px solid;
}




.findanagent.alert.callout {
    padding: 10px;
}

    .findanagent.alert.callout .btn {
        margin-top: 0;
    }

.findanagent form.input-group-btn {
    padding: 0;
}

.searchbutton {
    height: calc(100% + 2px);
    padding: 0 12px;
}

.dropdown-toggle {
    height: calc(100% + 14px);
    padding: 12px 32px;
}

@media (max-width: 767px) {

    .findanagent {
    }
}



.findanagent.callout.dark.interior {
    background: #A94545;
}

.findanagent.interior {
    padding: 0;
}

    .findanagent.interior > .container.padding-top10 {
        padding-bottom: 10px;
    }

    .findanagent.interior .well {
        margin-bottom: 0;
    }

    .findanagent.interior h3 {
        line-height: 65px;
        margin: 0 0 1px 0;
    }

.searchagents_interior {
    padding: 0;
}






/*----------------------------------- SOCIAL MEDIA CAMPAIGNS -----------------------------------*/


.ailsm-body strong {
    color: #333;
}

/*--------- AILFB ---------*/

.ailsm-hero {
    background: url('/assets/images/ailsm1.jpg') no-repeat;
    background-size: cover;
    background-position: 50% 15%;
    height: 500px;
}


@media all and (max-width: 1280px) {
    .ailsm-hero {
        height: 400px;
    }
}


@media all and (max-width: 900px) {
    .ailsm-hero {
        height: 300px;
    }
}

@media all and (max-width: 500px) {
    .ailsm-hero {
        height: 200px;
    }
}








/*--------- AILFB2 ---------*/

.ailsm-hero2 {
    background: url('/assets/images/ailsm2.jpg') no-repeat;
    background-size: cover;
    background-position: 50% 15%;
    height: 500px;
}


@media all and (max-width: 1280px) {
    .ailsm-hero2 {
        height: 400px;
    }
}


@media all and (max-width: 900px) {
    .ailsm-hero2 {
        height: 300px;
    }
}

@media all and (max-width: 500px) {
    .ailsm-hero2 {
        height: 200px;
    }
}



/*--------- AILFB3 ---------*/

.ailsm-hero3 {
    background: url('/assets/images/ailsm3.jpg') no-repeat;
    background-size: cover;
    background-position: 50% 15%;
    height: 500px;
}


@media all and (max-width: 1280px) {
    .ailsm-hero3 {
        height: 400px;
    }
}


@media all and (max-width: 900px) {
    .ailsm-hero3 {
        height: 300px;
    }
}

@media all and (max-width: 500px) {
    .ailsm-hero3 {
        height: 200px;
    }
}





/*--------- AILFB4 ---------*/

.ailfb-hero4 {
    padding: 0;
}



/*@media all and (max-width: 767px) {
    header#topNav.social a.logo {
        margin: 5px 0 4px 10px;
        min-height: 0px;
    }

        header#topNav.social a.logo img {
            width: 160px;
        }
}*/

























/*----------------------------------- COMMUNITY -----------------------------------*/

.communityitem h3 {
    font-size: 1.8em;
    margin-bottom: 2px;
}


.communityitem h4 {
    font-size: 1.1em;
    margin-top: 0;
}













/*----------------------------------- APPLY NOW -----------------------------------*/

.apply #msform .row {
    text-align: left;
}

.apply select:focus {
    border-color: #e0e0e0;
}

.apply .input-group-btn {
    vertical-align: top;
}

    .apply .input-group-btn .btn {
        font-size: 13px;
        height: 38px;
        font-weight: 600;
        -webkit-border-top-left-radius: 3px;
        -webkit-border-bottom-left-radius: 3px;
        -moz-border-radius-topleft: 3px;
        -moz-border-radius-bottomleft: 3px;
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
    }

        .apply .input-group-btn .btn.btn-primary {
            padding-top: 9px;
            margin-right: 1px;
        }

        .apply .input-group-btn .btn:hover {
            border-color: #a12816;
        }

        .apply .input-group-btn .btn:active {
            border-color: #133c70;
        }


        .apply .input-group-btn .btn.btn-white {
            border: 3px solid #e0e0e0;
            border-left: 3px;
            font-weight: 400;
            -webkit-border-top-right-radius: 3px;
            -webkit-border-bottom-right-radius: 3px;
            -moz-border-radius-topright: 3px;
            -moz-border-radius-bottomright: 3px;
            border-top-right-radius: 3px;
            border-bottom-right-radius: 3px;
        }

.apply form {
    padding: 0;
}

.apply h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.apply .form-group {
    margin-bottom: 0px;
}

.apply form .control-label {
    font-weight: 700;
    display: block;
}

.apply form .form-control {
    margin-bottom: 10px;
}

.apply form input[type="text"],
.apply form input[type="tel"],
.apply form input[type="email"],
.apply form textarea,
.apply form select,
.apply input {
    /*border: 3px solid #e0e0e0;*/
}

.apply .resume .btn {
    box-shadow: none;
}

.apply .step2 .resume,
.apply .step2 .radio {
    margin-bottom: 20px;
}


.has-error .form-control {
    border-color: #a94442 !important;
}

/*-- DATE PICKER WIDGET --*/

.date {
    margin-bottom: 20px;
}

.datepicker.dropdown-menu {
    font-family: 'Open Sans', sans-serif;
}

.appointment form .date .form-control {
    margin-bottom: 0px;
}

.date .input-group-addon {
    border: 3px solid #e0e0e0;
    background-color: #e0e0e0;
}

    .date .input-group-addon:hover {
        cursor: pointer;
    }

/*.datepicker {font-family: 'Open Sans', sans-serif; margin-bottom: 30px;}
    .datepicker-inline {width: 100%;}
    
    .datepicker table tr td.today {border: 0;}
    .datepicker table tr td.day:hover, .datepicker table tr td.day.focused {background: #efefef;}
    .datepicker th.datepicker-switch, .datepicker th.prev, .datepicker th.next  {font-weight: 400;}
    .datepicker table thead > tr:first-child {border-bottom: 1px solid #ccc;}
    .datepicker table thead > tr:first-child th {padding: 0 0 15px 0;}

    .datepicker table tr td, 
    .datepicker table tr th {
        width: 400px; 
        font-weight: 700; 
        color: #666;
    }

    .datepicker table tr th.dow {text-transform: uppercase;}*/




.apply .form-control {
    height: 38px;
}

.apply textarea.form-control {
    height: 100px;
}


.apply .radio {
    margin: 5px 0 0 0;
}

    .apply .radio label {
        font-weight: 700;
        font-size: 24px;
        padding: 0;
        cursor: pointer;
        text-align: center;
        width: 100%;
    }

        .apply .radio label span {
            padding: 10px 10px;
            width: 100%;
            display: inline-block;
            -webkit-border-radius: 3px;
            -moz-border-radius: 3px;
            border-radius: 3px;
        }

    .apply .radio input[type=radio] {
        position: fixed;
        opacity: 0;
        pointer-events: none;
    }

.apply .appointment input.btn {
    padding: 20px 40px;
    margin: 60px auto 0 auto;
    display: block;
    max-width: 100%;
}



.step4 > h3 {
    margin: 20px 0 40px 0;
    line-height: 1.2;
    font-size: 40px;
    font-weight: 900;
}

.step4 > p {
    font-size: 22px;
    line-height: 1.2;
}

.step4 .row {
    margin-top: 30px;
}

    .step4 .row div {
        text-align: center;
        margin-top: 30px;
    }

        .step4 .row div a {
            display: table;
        }

            .step4 .row div a:hover img {
                top: -1px;
                position: relative;
                -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
                -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
                box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
                -webkit-border-radius: 101px;
                -moz-border-radius: 101px;
                border-radius: 101px;
            }


        .step4 .row div h3 {
            font-size: 24px;
            margin: 0 0 5px 0;
            line-height: 1.5;
            font-weight: 200;
        }

        .step4 .row div a img {
            width: 100px;
            margin: 10px 0;
        }

        .step4 .row div a p {
            font-size: 9pt;
            line-height: 1.3;
            color: #666;
            margin-bottom: 0;
        }










/*----------------------------------- SIDEBAR -----------------------------------*/

.sidebar h4 {
    line-height: 1.2;
}

.sidebar_apply {
    text-align: center;
    padding: 30px;
    border-bottom: 2px solid #b8b8b8;
    margin-bottom: 35px;
    -webkit-box-shadow: 0.7px 0.2px 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0.7px 0.2px 1px 1px rgba(0,0,0,0.1);
    box-shadow: 0.7px 0.2px 1px 1px rgba(0,0,0,0.1);
    background: #F0F0F0;
     background: -moz-linear-gradient(top, #fff 0%, #f0f0f0 100%);
    background: -webkit-linear-gradient(top, #fff 0%,#f0f0f0 100%);
    background: linear-gradient(to bottom, #fff 0%,#f0f0f0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#f0f0f0',GradientType=0 );
    -webkit-border-top-left-radius: 15px;
    -webkit-border-top-right-radius: 15px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

    .sidebar_apply h3 {
        font-size: 20pt;
        letter-spacing: -1px;
        font-weight: 900;
        color: #00558C;
        text-align: center;
        text-transform: uppercase;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    }

    .sidebar_apply p {
        font-size: 10pt;
        line-height: 1.5;
        text-align: left;
    }

    .sidebar_apply .btn.btn-primary {
        display: inline-block;
        font-weight: 700;
    }

.sidelinks {
    font-size: 10pt;
}

    .sidelinks p {
        margin-bottom: 5px;
        line-height: 1.5;
    }

    .sidelinks a {
        font-weight: 600;
        padding-left: 10px;
        background: url('/assets/images/carat_red.gif') left center no-repeat;
    }

        .sidelinks a:hover,
        .sidelinks a:focus {
            text-decoration: underline;
        }

        .sidelinks a:focus {
            background-image: url('/assets/images/carat_blue.gif');
        }


@media all and (max-width: 991px) {

    .sidebar {
        background: #f9f9f9;
        padding-bottom: 30px;
        margin-bottom: -30px;
    }

    .sidebar_apply {
        margin: 0 -15px 35px -15px;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
    }

    .row.sidelinks > div:first-child {
        padding-right: 0;
    }

    .container > .navbar-collapse {
        margin-left: 0px;
        margin-right: 0px;
    }

    #topNav ul.nav > li.apply {
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
    }
}


@media all and (max-width: 991px) and (min-width: 650px) {
    .sidebar {
        display: table;
    }

        .sidebar hr {
            display: none;
        }

    .row.sidelinks {
        width: 33.3333333%;
        float: left;
        margin: 0;
    }

        .row.sidelinks > div:first-child {
            padding-left: 0;
        }
}












/*----------------------------------- Income & Renewals -----------------------------------*/

.alert.callout.alert-default {
    padding: 20px;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

    .alert.callout.alert-default h4 {
        /*text-transform: capitalize;*/
        margin-bottom: 10px;
        color: #333;
    }

    .alert.callout.alert-default p {
        font-size: 1.5rem;
        line-height: 1.5;
    }


/*----------------------------------- CAREER NIGHT -----------------------------------*/
.padding-50 {
    padding-top: 50px;
    padding-bottom: 50px;
    min-height: calc(100vh - 148px);
    display: flex;
    align-items: center;
}

.tp-caption a {
    color: white;
}

.flexslider .slides.height-500,
.flexslider .slides.height-500 li > div,
.flexslider .slides.height-500 .fullbox {
    height: 500px;
}

.text-muted {
    margin-bottom: 0;
}

.col-left {
    padding-right: 80px;
}

.col-right {
    padding-left: 80px;
    background-image: url(/assets/images/col-shadow-right.png);
    background-repeat: no-repeat;
    min-height: 802px;
}

.col-left, .col-right {
    flex: 0 1 auto;
}

.details {
    padding: 1rem;
    background-color: #eee;
    margin-bottom: 1.5rem;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f6f6f6+0,eeeeee+100 */
    background: #f6f6f6; /* Old browsers */
    background: -moz-linear-gradient(left, #f6f6f6 0%, #eeeeee 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #f6f6f6 0%,#eeeeee 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #f6f6f6 0%,#eeeeee 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#eeeeee',GradientType=1 ); /* IE6-9 */
}

    .details .row {
        padding-bottom: 15px;
    }

    .details p {
        margin-bottom: 10px;
    }

        .details p span {
            font-weight: 600;
            color: blue;
            display: inline-block;
            min-width: 80px;
            background-color: #143760;
            color: white;
            padding: 0 6px;
            text-align: center;
            margin-right: 5px;
            font-size: 12px;
        }


    .details .row div:first-child {
        text-align: center;
        background-color: #777;
        color: white;
        font-weight: 700;
        text-transform: uppercase;
        box-shadow: 2px 2px 0px rgba(0,0,0,0.12);
    }




.main h4 {
    font-size: 3rem;
    font-weight: 200;
    background-color: #143760;
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 4rem;
    color: white;
}

    .main h4 > span {
        color: #ffc200;
        text-transform: uppercase;
        font-family: 'Arial Narrow', Arial, Helvetica, sans-serif;
        font-weight: 600;
        letter-spacing: .5px;
    }

.main h1 {
    font-size: 4rem;
    color: #143760;
    margin-bottom: 2rem;
}

    .main h1 span {
        display: block;
        font-size: 2.25rem;
        color: #777;
        letter-spacing: 0;
    }

.main h2 {
    font-size: 4rem;
    color: #143760;
}

.main p {
    line-height: 2;
}

.col-right h2 {
    margin-bottom: 5px;
}

.col-right h3 {
    margin: 0 0 3rem 0;
    color: #777;
    font-weight: 300;
    font-size: 14pt;
    display: block;
    letter-spacing: 0;
    font-size: 2.25rem;
}

.apply form textarea,
.apply form input[type="text"],
.apply form input[type="email"],
.apply form select,
.apply input {
    border: 1px solid #d3d3d3;
}

.apply form .control-label {
    /*font-weight: 400;*/
    margin-bottom: 2px;
}

.apply form input[type="submit"] {
    border: none;
    border-radius: 0;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    background-color: #30827F;
    font-size: 17px;
    font-weight: 700;
    padding: 7px 14px 9px;
    transition: all .2s;
    text-shadow: 0 0 3px #003a5f;
}

    .apply form input[type="submit"]:hover {
        background-color: #00558C;
        border: none;
    }

.below {
    display: none;
}

.offer {
    list-style: none;
    padding-left: 1rem;
}

    .offer > li {
        font-size: 1.75rem;
        font-weight: 600;
        color: #143760;
        border-bottom: 1px solid #eee;
        padding: 1rem 0;
    }

        .offer > li:last-child {
            border-bottom: none;
        }

        .offer > li > i {
            color: #ffc200;
            margin-right: 1rem;
            font-size: 1.5rem;
        }


/* COLORS --------------------
    #ffc200 // Yellow 
    #143760 // Blue 
*/


@media all and (max-width: 1199px) {
    .on-right {
        display: none;
    }

    .below {
        display: inline;
    }

    .main h1 > span {
        display: block;
    }

    .col-left, .col-right {
        padding-left: 0;
        padding-right: 0;
        margin-top: 3rem;
        background-image: none;
    }
}

@media all and (max-width: 575px) {
    .main h2 {
        font-size: 3rem;
    }

    .offer > li {
        font-size: 1.5rem;
    }
}



/*----------------------------- Share Icons ------------------------------------*/
.resp-sharing-button__link,
.resp-sharing-button__icon {
    display: inline-block;
}

.resp-sharing-button__link {
    text-decoration: none;
    color: #fff;
    margin: 0.25em;
}

.resp-sharing-button {
    border-radius: 5px;
    transition: 25ms ease-out;
    padding: 0.5em 0.75em;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.resp-sharing-button__icon svg {
    width: 1em;
    height: 1em;
    margin-right: 0.4em;
    vertical-align: top;
}

.resp-sharing-button--small svg {
    margin: 0;
    vertical-align: middle;
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
    stroke: #fff;
    fill: none;
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
    fill: #fff;
    stroke: none;
}

.resp-sharing-button--twitter {
    background-color: #55acee;
}

    .resp-sharing-button--twitter:hover {
        background-color: #2795e9;
    }

.resp-sharing-button--pinterest {
    background-color: #bd081c;
}

    .resp-sharing-button--pinterest:hover {
        background-color: #8c0615;
    }

.resp-sharing-button--facebook {
    background-color: #3b5998;
}

    .resp-sharing-button--facebook:hover {
        background-color: #2d4373;
    }

.resp-sharing-button--tumblr {
    background-color: #35465C;
}

    .resp-sharing-button--tumblr:hover {
        background-color: #222d3c;
    }

.resp-sharing-button--reddit {
    background-color: #5f99cf;
}

    .resp-sharing-button--reddit:hover {
        background-color: #3a80c1;
    }

.resp-sharing-button--google {
    background-color: #dd4b39;
}

    .resp-sharing-button--google:hover {
        background-color: #c23321;
    }

.resp-sharing-button--linkedin {
    background-color: #0077b5;
}

    .resp-sharing-button--linkedin:hover {
        background-color: #046293;
    }

.resp-sharing-button--email {
    background-color: #777;
}

    .resp-sharing-button--email:hover {
        background-color: #5e5e5e;
    }

.resp-sharing-button--xing {
    background-color: #1a7576;
}

    .resp-sharing-button--xing:hover {
        background-color: #114c4c;
    }

.resp-sharing-button--whatsapp {
    background-color: #25D366;
}

    .resp-sharing-button--whatsapp:hover {
        background-color: #1da851;
    }

.resp-sharing-button--hackernews {
    background-color: #FF6600;
}

    .resp-sharing-button--hackernews:hover,
    .resp-sharing-button--hackernews:focus {
        background-color: #FB6200;
    }

.resp-sharing-button--vk {
    background-color: #507299;
}

    .resp-sharing-button--vk:hover {
        background-color: #43648c;
    }

.resp-sharing-button--facebook {
    background-color: #3b5998;
    border-color: #3b5998;
}

    .resp-sharing-button--facebook:hover,
    .resp-sharing-button--facebook:active {
        background-color: #2d4373;
        border-color: #2d4373;
    }

.resp-sharing-button--twitter {
    background-color: #55acee;
    border-color: #55acee;
}

    .resp-sharing-button--twitter:hover,
    .resp-sharing-button--twitter:active {
        background-color: #2795e9;
        border-color: #2795e9;
    }

.resp-sharing-button--email {
    background-color: #777777;
    border-color: #777777;
}

    .resp-sharing-button--email:hover,
    .resp-sharing-button--email:active {
        background-color: #5e5e5e;
        border-color: #5e5e5e;
    }

.resp-sharing-button--linkedin {
    background-color: #0077b5;
    border-color: #0077b5;
}

    .resp-sharing-button--linkedin:hover,
    .resp-sharing-button--linkedin:active {
        background-color: #046293;
        border-color: #046293;
    }

.share {
    padding: 2rem;
    background-color: #eee;
    display: inline-block;
    margin-top: 4rem;
    width: 100%;
    border-radius: 5px;
    text-align: center;
}

    .share h3 {
        margin-bottom: .75rem;
    }


@media (max-width: 767px) {
    .details .row div:nth-child(2) {
        margin: 10px 0;
    }
}







/*----------------------------------- MAPS SECTION -----------------------------------
    MOVED THIS SECTION TO Search.css
    Agent Search styles
*/


/*----------------------------------- FOOTER -----------------------------------*/

#footer {
    border-top: 0;
    background-image: url('/assets/images/bg-footer.jpg');
    background-repeat: no-repeat;
}

    #footer .about p {
        font-size: 1.35rem;
        line-height: 1.5;
    }

        #footer .about p a {
            color: black;
            font-weight: bold;
        }

            #footer .about p a:hover {
                color: #00558C;
            }

a.social:hover {
    text-decoration: none;
}

@media all and (max-width: 991px) {
    #footer .connect {
        text-align: center;
    }
}



.copyright a:hover {
    text-decoration: underline;
}





/*----------------------------------- RESPONSIVE -----------------------------------*/

@media all and (max-width: 1199px) {
    .padding-50 {
        padding-top: 0 !important;
    }

    .container.padding-50 > div > div:first-child {
        padding: 0;
    }
}

@media all and (max-width: 1024px) {

    div.tp-caption {
        font-size: 14pt !important;
    }
}

@media all and (max-width: 768px) {

    div.tp-caption {
        font-size: 14pt !important;
    }
}

.agent-loading {
    padding-left: 10px;
    font-size: 11px;
}




/*jslider*/
.jslider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    color: white;
    background: radial-gradient(circle at 60% 80%, rgba(0,43,76,.8), rgba(0,43,76,0) 70%), radial-gradient(circle at 6% 75%, rgba(0,85,140,.2), rgba(0,85,140,0) 70%), radial-gradient(circle at 93% 75%, rgba(0,101,154,.5), rgba(0,101,154,0) 70%) #00558C;
}

    .jslider > .slides {
        position: relative;
        margin: 0;
        padding: 0;
        list-style: none;
        width: 12000px;
    }

    .jslider .slide {
        position: relative;
        float: left;
        height: 40vw;
        background-size: cover;
        background-position: center center;
    }

@media all and (max-width: 700px) {
    .jslider .slide {
        height: 60vw;
    }
}

.box1, .box2, .box2-2,
.box3, .box4, .box5,
.box6 {
    position: absolute;
    bottom: 0;
    top: 0;
}

/* left blue block */
.first > .box1 {
    left: 0;
    width: 25vw;
    bottom: -10vw;
    top: -10vw;
    background-color: rgba(0,85,140,1);
    background-image: url(/assets/images/jslider/text-yellow.png);
    background-size: 130% auto;
    transform: translate(40vw, 0) rotate(-16deg);
    transition: all 1.2s ease .3s;
    z-index: 6;
}

.first.active > .box1 {
    transform: translate(-9vw, 0) rotate(-16deg);
}

/* yellow block 1 */
.first > .box2, .first > .box2-2 {
    width: 8vw;
    opacity: 0;
    background-color: rgba(255,208,23,.5);
    transform: translate(85vw, 0) skew(16deg);
    transition: all 2.4s ease .6s;
    z-index: 5;
}
/* yellow block 2 */
.first > .box2-2 {
    background-color: rgba(255,208,23,1);
    z-index: 3;
}

.first.active > .box2, .first.active > .box2-2 {
    transform: translate(21vw, 0) skew(16deg);
    opacity: 1;
}

/* aqua block */
.first > .box3 {
    width: 25vw;
    background: linear-gradient(#368a86, #67c7c5);
    transform: translate(8vw, 0) skew(16deg);
    transition: all 2.2s ease .7s;
    z-index: 2;
}

.first.active > .box3 {
    transform: translate(16vw, 0) skew(16deg)
}

/* girl */
.first > .box4 {
    display: block;
    transform: translate(49vw, 0);
    height: 100%;
    transition: all 3.2s ease;
    z-index: 4;
}

.first.active > .box4 {
    transform: translate(14vw, 0);
}

@media all and (max-width: 700px) {
    .first > .box4 {
        transform: translate(30vw, 0);
    }

    .first.active > .box4 {
        transform: translate(6vw, 0);
    }
}
/* right pattern */
.first > .box5 {
    width: 14vw;
    bottom: -10vw;
    top: -10vw;
    background-image: url(/assets/images/jslider/text-trans-lblue.png);
    background-size: 100% auto;
    transform: translate(25vw, 0) rotate(-16deg);
    opacity: 0;
    transition: all 3s ease;
    z-index: 1;
}

.first.active > .box5 {
    opacity: 1;
    transform: translate(41.3vw, 0) rotate(-16deg);
}

/* content */
.first > .box6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translate(0, -50%);
    left: 60vw;
    width: 24vw;
    opacity: 0;
    transition: all 2s ease 1s;
    z-index: 1;
}

.first.active > .box6 {
    opacity: 1;
    transform: translate(0, 0);
}

@media all and (max-width: 700px) {
    .first > .box6 {
        background-color: rgba(0,0,0,.6);
        left: 52vw;
        width: 36vw;
        z-index: 6;
        padding: 0 .5rem;
    }
}

.box6 > div:nth-of-type(1) {
    margin-bottom: 3vw;
}

    .box6 > div:nth-of-type(1) > img {
        width: 100%;
        height: auto;
    }

.box6 > div:nth-of-type(2) {
    font-size: 3vw;
    font-weight: 700;
    letter-spacing: -.1vw;
    line-height: 1;
}

@media all and (max-width: 700px) {
    .box6 > div:nth-of-type(2) {
        font-size: 4.5vw;
    }
}

.box6 > div:nth-of-type(3) {
    margin-top: 3vw;
}

a.slant-btn {
    display: inline-block;
    color: white;
    font-size: 1.9vw;
    padding: .5vw 2vw .7vw;
    border: 2px solid #71d5cf;
    transform: skew(14deg);
    transition: all 1s;
}

.lang-es a.slant-btn {
    font-size: 1.7vw;
}

a.slant-btn:hover {
    text-decoration: none;
    background-color: #71d5cf;
    text-shadow: 0 0 .25rem black;
}

a.slant-btn > span {
    display: inline-block;
    transform: skew(-14deg);
}

@media all and (max-width: 700px) {
    a.slant-btn {
        font-size: 3.5vw;
    }

    .lang-es a.slant-btn {
        font-size: 2.7vw;
    }
}

/* zooming out bg */
.vid-slide > .box1 {
    left: 0;
    width: 50vw;
    opacity: 0;
    background-image: url(/assets/images/jslider/bg-fade1.png);
    background-size: cover;
    transform: scale(1.4) translate(0, 0);
    transition: all 5s ease;
    z-index: 1;
}

.vid-slide.active > .box1 {
    opacity: 1;
    transform: scale(1) translate(0, 0)
}

/* video */
.vid-slide > .box2,
.vid-slide > .box3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vid-slide > .box2 {
    left: 13vw;
    width: 52vw;
}

.vid-slide > .box2 {
    transform: translate(0, 40vw);
    transition: all 2s ease .2s;
    z-index: 2;
}

.vid-slide.active > .box2 {
    transform: translate(0, 0);
}

.vid-slide > .box2 img {
    width: 100%;
    height: auto;
}

/* right col */
.vid-slide > .box3 {
    display: flex;
    left: 69vw;
    width: 18vw;
    flex-direction: column;
    opacity: 0;
    transform: translate(0, 30vw);
    transition: all 3s ease .75s;
    z-index: 3;
}

.vid-slide.active > .box3 {
    opacity: 1;
    transform: translate(0, 0);
}

.box3 > img {
    max-width: 100%;
}

.vid-text {
    border-top: 2px solid rgba(255,255,255,.2);
    margin-top: 2.1vw;
    padding-top: 1.3vw;
    font-size: 3.0vw;
    line-height: 1.05;
    align-self: stretch;
}

    .vid-text span {
        display: block;
        font-weight: 700;
        color: #71d5cf;
    }

@media all and (max-width: 700px) {
    .vid-slide > .box2 {
        left: 9vw;
    }

    .vid-slide > .box3 {
        left: 64vw;
        width: 27vw;
    }

    .vid-text {
        border-top: 2px solid rgba(255,255,255,.2);
        margin-top: 1vw;
        padding-top: .3vw;
        font-size: 4.0vw;
        line-height: 1.05;
        align-self: stretch;
    }

        .vid-text span {
            display: inline;
        }
}
/* yellow */
.fourth > .box1 {
    left: 0;
    top: -5vw;
    bottom: -5vw;
    width: 8vw;
    background-color: #ffdc4f;
    background-image: url(/assets/images/jslider/text-white-lg.png);
    background-position: -1.2vw top;
    transform: translate(45vw, 0) rotate(-19deg);
    z-index: 2;
    transition: all 2.2s ease .4s;
}

.fourth.active > .box1 {
    transform: translate(85vw, 0) rotate(-19deg);
}

@media all and (max-width: 700px) {
    .fourth.active > .box1 {
        background-size: contain;
    }
}
/* people pic  */
.fourth > .box2 {
    transform: translate(14vw, 0);
    z-index: 1;
    transition: all 1s ease .2s;
    height: 100%;
}

.fourth.active > .box2 {
    transform: translate(29vw, 0);
}

@media all and (max-width: 700px) {
    .fourth > .box2 {
        transform: translate(0vw, 0);
    }

    .fourth.active > .box2 {
        transform: translate(20vw, 0);
    }
}
/* left blue  */
.fourth > .box3 {
    left: 0;
    top: -10vw;
    bottom: -10vw;
    width: 43vw;
    background-color: #00558c;
    background-image: url(/assets/images/jslider/text-light-fade.png), radial-gradient(#00558c, #003a61);
    background-size: auto;
    background-repeat: repeat-y;
    background-position: right top;
    transform: translate(10vw, 0) rotate(-19deg);
    z-index: 2;
    transition: all 4.1s ease;
}

.fourth.active > .box3 {
    transform: translate(-7.5vw, 0) rotate(-19deg);
}

/* right blue */
.fourth > .box4 {
    left: 0;
    top: -10vw;
    bottom: -10vw;
    width: 30vw;
    background-color: #00558c;
    transform: translate(53vw, 0) rotate(-19deg);
    z-index: 2;
    transition: all 2.2s ease
}

.fourth.active > .box4 {
    transform: translate(93vw, 0) rotate(-19deg);
}

/* content  */
.fourth > .box5 {
    left: 10vw;
    width: 20vw;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translate(-10vw, -30vw);
    transition: all 3s ease;
}

.fourth.active > .box5 {
    transform: translate(0, 0);
}

.fourth > .box5 img {
    max-width: 100%;
    margin-bottom: 3vw;
}

@media all and (max-width: 700px) {
    .fourth > .box5 {
        width: 30vw;
        transform: translate(0, -30vw);
    }

        .fourth > .box5 img {
            background-color: rgba(0,0,0,.8);
            padding: 5px;
            border-radius: 10px;
        }
}

.jslider a.control_prev, .jslider a.control_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: block;
    padding: 1rem 1rem;
    color: #fff;
    text-decoration: none;
    font-size: 3rem;
    opacity: 0.2;
    transition: all .3s ease;
    z-index: 10
}

    .jslider a.control_prev:hover, .jslider a.control_next:hover {
        opacity: 1;
    }

.jslider a.control_next {
    right: 0;
}

@media all and (max-width: 700px) {
    .jslider a.control_prev, .jslider a.control_next {
        padding: .5rem .5rem;
        font-size: 1.75rem;
        opacity: 0.7;
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .first.active > .box1,
    .first.active > .box2,
    .first.active > .box2-2,
    .first.active > .box3,
    .first.active > .box4,
    .first.active > .box5,
    .first.active > .box6 {
        transition: all 0 linear 0 !important;
    }

    .box3 > img {
        display: none;
    }

    .fourth > .box5 img {
        max-width: none !important;
    }
}


.vid {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transform: scale(1);
    transition: all .2s
}

    .vid:hover {
        transform: scale(1.03);
    }

    .vid::before {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5rem;
        height: 5rem;
        background-color: #71d5cf;
        border-radius: 50%;
        opacity: .7;
        transform: translate(-50%, -50%) scale(1);
        transition: all .2s;
        content: '';
    }

    .vid:hover::before {
        opacity: .3;
        transform: translate(-50%, -50%) scale(25);
    }

    .vid::after {
        position: absolute;
        content: "\f144";
        font-family: FontAwesome;
        font-size: 4rem;
        color: white;
        text-shadow: 0 0 .5rem rgba(0,0,0,.3);
        display: block;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        transition: all .2s;
    }

    .vid:hover::after {
        transform: translate(-50%, -50%) scale(1.3);
    }

@media all and (max-width: 700px) {
    .vid::before {
        width: 3rem;
        height: 3rem;
    }

    .vid::after {
        font-size: 2rem;
    }
}


.videoscreen {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,.8);
    z-index: 9999;
    opacity: 0;
    transition: all 1s ease;
}

    .videoscreen.vid-open {
        display: flex;
        opacity: 1;
    }

.videoscreen-container {
    position: relative;
    width: 60%;
    box-shadow: 0 0 1rem rgba(0,0,0,.8);
}

.iframe-box {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 10px;
    height: 0;
    overflow: hidden;
}

    .iframe-box iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.videoscreen-close {
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    font-size: 1.5rem;
    transform: translate(100%, -100%);
    color: white;
}

@media all and (max-width: 575px) {
    .videoscreen-container {
        width: 95%;
    }

    .videoscreen-close {
        right: 2rem;
    }
}



/*inner page header :::: /Careers/Income*/
.head-content {
    background-color: gray;
    display: flex;
    align-items: center;
    justify-content: stretch;
    line-height: 1.2;
    background: radial-gradient(circle at 60% 80%, rgba(0,43,76,.8), rgba(0,43,76,0) 70%), radial-gradient(circle at 6% 75%, rgba(0,85,140,.2), rgba(0,85,140,0) 70%), radial-gradient(circle at 93% 75%, rgba(0,101,154,.5), rgba(0,101,154,0) 70%) #00558C;
    color: white;
}

.head-content-img {
    width: 62%;
    position: relative;
}

    .head-content-img h1 {
        position: absolute;
        display: inline-block;
        bottom: 0;
        left: 5vw;
        color: rgba(255, 204, 0, .85);
        font-weight: 700;
        font-size: 8vw;
        letter-spacing: -.25rem;
        line-height: .9;
        width: 500px;
        text-shadow: 0 0 2rem rgba(0,0,0,.2)
    }

    .head-content-img img {
        clip-path: polygon(0% 0%, 84% 0%, 100% 100%, 0% 100%);
        max-width: 100%;
    }

.head-content-text {
    padding: 1rem 0 1rem 3rem;
    width: 24%;
}

    .head-content-text h2 {
        color: #FFDC4F;
        font-weight: 700;
    }

    .head-content-text .linkblock {
        display: flex;
        align-items: center;
        border-top: 1px solid rgba(255,255,255,.4);
        padding: 1.75rem 0;
    }

        .head-content-text .linkblock img {
            margin-right: 2rem;
        }

        .head-content-text .linkblock p {
            margin-bottom: 1rem;
        }

        .head-content-text .linkblock a {
            color: #FFDC4F;
            font-weight: 700;
        }

@media all and (max-width: 1605px) {
    .head-content-text {
        padding-left: 2rem;
        width: 35%;
    }
}

@media all and (max-width: 1020px) {
    .head-content {
        flex-direction: column;
    }

    .head-content-img {
        width: 100%;
    }

        .head-content-img h1 {
            position: absolute;
            line-height: .9;
            width: auto;
            top: 58%;
            bottom: 0;
            left: 2rem;
            font-size: 4rem;
        }

        .head-content-img img {
            clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 0% 70%);
            max-width: 100%;
        }

    .head-content-text {
        margin-top: -12vw;
        margin-bottom: 1.25rem;
        padding: 0 2rem;
        width: auto;
    }
}

@media all and (max-width: 560px) {
    .head-content-img h1 {
        color: #FFDC4F;
        position: relative;
        font-size: 4rem;
        margin-top: 2rem;
    }

    .head-content-img img {
        clip-path: none;
        max-width: 100%;
    }

    .head-content-text {
        margin-top: 0;
        margin-bottom: 1.25rem;
        padding: 0 2rem;
        width: auto;
    }
}

a.btn-skew {
    margin: .75rem .75rem 2rem;
    display: inline-block;
    color: rgb(0255,255,255);
    background-image: linear-gradient(#44aba8, #64ccc9);
    font-size: 16px;
    font-weight: 700;
    padding: 6px 16px;
    box-shadow: 0 0 0 1px #71d5cf, 0 0 0 5px #44aba8;
    text-shadow: 0 0 5px #143760;
    transform: skew(14deg);
    transition: all .2s;
}

    a.btn-skew:hover {
        text-decoration: none;
        color: rgb(0, 64, 107);
        transform: skew(14deg) scale(1.02);
        text-shadow: none;
    }

    a.btn-skew > span {
        display: inline-block;
        transform: skew(-14deg);
    }

.redesign2020 h2 {
    font-weight: 700;
    color: #00558C;
    font-size: 4.5rem;
}

.redesign2020 .page-icon {
    width: 110px;
}

.redesign2020 .alert.alert-default {
    border-left-color: #64ccc9;
}


/* ------------------- Thank You Page ------------------------------------------------------------------------------------- */

.video-section {
    /*border-bottom: 15px solid #fed141;*/
}

.copy-wrapper-top {
    margin: 3rem 0 2rem 0;
}

.paragraph-title {
    color: #FED141;
    font-weight: 900;
    font-size: 6rem;
}

.video-component {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.video-title {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #FED141;
    position: relative;
    top: 0px;
}

.main-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 0;
}

.thank-you {
    padding: 10rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-text {
    color: #00558c;
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
}

.thank-you p,
.page-paragraph {
    font-size: 2rem;
    line-height: 1.5;
}

.page-paragraph {
    color: white;
    max-width: 800px;
    margin-bottom: 4rem;
}


.video-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #00558c;
    padding-top: 7rem;
    padding-bottom: 7rem;
    /*clip-path: polygon(50% 9%, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 0);*/
}

.video-element {
    /* We can add a box-shadow to the video elements here */
}


@media screen and (max-width: 1400px) {
    .video-component {
    }

    .video-title {
        
    }
}

@media screen and (max-width: 1200px) {

    .video-component {
        height: 400px;
        margin-bottom: 2rem;
    }

    .video-title {
        top: 9px;
    }
}

@media screen and (max-width: 985px) {

    .thank-you-text {
        font-size: 7rem;
    }

    .video-section {
        /*clip-path: polygon(50% 2%, 100% 0, 100% 100%, 100% 100%, 0 100%, 0 0);*/
    }

    .video-container {
        flex-wrap: wrap;
    }

    .sub-message {
        padding: 0 2rem;
    }

    .video-component {
        padding: 0;
        height: 350px;
        margin-bottom: 1.5rem;
    }

    .video-title {
        top: 8px;
    }

    .paragraph-title {
        line-height: 1.2;
    }
}

@media screen and (max-width: 500px) {

    .video-component {
        height: 280px;
        margin-bottom: 1.5rem;
    }

    .video-title {
        top: 10px;
    }

    .paragraph-title {
        font-size: 4rem;
    }
}


@media screen and (max-width: 375px) {

    .thank-you-text {
        font-size: 5.5rem;
    }



    .video-component {
        margin-bottom: 0;
    }

    .video-title {
        
    }
}

#msform .action-button,
.apply form input[type="radio"] + span,
.apply form input[type="submit"] {
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
}

    .apply form input[type="radio"]:focus + span,
    #msform .action-button:focus,
    .apply form input[type="submit"]:focus {
        border-color: #6fc0f0;
    }

.toggle:focus > label {
    text-decoration: underline;
}