/* INITIAL STYLES */
body {
    color: #ffffff;
    background-color: #545861;
    font-size: 18px;
    line-height: 29px;
    font-family: 'Myriad Pro', Arial, sans-serif;
    font-style: normal;
}

.container-fluid {
    padding-left: 2em;
    padding-right: 2em;
    max-width: 1280px;
}


.hero1 {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5em 2em;
    background-image: url("../imgs/hero-image-1.jpg");
}

.hero2 {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5em 2em;
    background-image: url("../imgs/hero-image-2.jpg");
}

.hero3 {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5em 2em;
    background-image: url("../imgs/hero-image-3.jpg");
}

.hero-new {
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    padding: 5em 2em;
    border-top: 10px solid #F5B636;
    xbackground-image: url("../imgs/hero-image-new.jpg");
}

.hero-white {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5em 2em;
    background-color: #fff;
}


/* FONT STYLES */
h1 {
    font-size: 46px;
    line-height: 56px;
    color: #ffffff;
    font-weight: 500;
    font-family: 'Myriad Pro', Arial, sans-serif;
    font-style: normal;
    text-transform: uppercase;
}

h2 {
    font-size: 2em;
    line-height: 1.25em;
    padding-bottom: .5em;
    color: #ffffff;
    font-weight: 300;
    font-family: 'Myriad Pro', Arial, sans-serif;
    font-style: normal;
    text-transform: uppercase;
}

h3 {
    font-size: 32px;
    color: #fff;
    font-weight: 300;
    font-family: 'Myriad Pro', Arial, sans-serif;
    font-style: normal;
    text-transform: uppercase;

}

h4 {
    font-size: 1.2em;
    color: #0E1529;
    font-weight: 400;
}

.hero1 h3 {
    color: #fff;
}

.hero2 h3 {
    color: #fff;
}

.hero3 h3 {
    color: #fff;
}

.hero-new h3 {
    color: #fff;
}

.hero-new a:hover,
.hero-new a:focus {
    color: #F5B636;
}

.hero-white h1, h3 {
    color: #263B7E;
}

.hero-white a {
    color: #00847F;
}

p {
    font-size: 18px;
    line-height: 30px;
    color: #ffffff;
    margin: 1em 0;
}

.hero-white p {
    color: #0E1529;
}

a {
    color: #fff;
}

a:hover,
a:focus {
    color: #263B7E;
    text-decoration: none;
}

.lead {
    font-size: 24px;
    line-height: 36px;
}

.hero-white .lead {
    color: #0E1529;
}

.small {
    font-size: 16px;
    line-height: 28px;
}

.disclaimer {
    font-size: 12px;
    line-height: 24px;
    color: #fff;
}

ul {
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
    color: #ffffff;
}

.hero-white ul {
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
    color: #0E1529;
}

ul.list li:first-child {
    padding-top: 14px;
}

.list li {
    padding-bottom: 14px;
}


sup {
    line-height: 0;
}


/* NAVIGATION STYLES */
.navbar .navbar-nav {
    display: inline-block;
    float: none;
    vertical-align: top;
}

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 0px;
    border: none;
}

.navbar .navbar-collapse {
    text-align: center;
}

.navbar-collapse {
    padding-right: 0px;
    padding-left: 0px;
    border: none !important;
}

.nav li {
    background: #263B7E;
    xborder-top: 3px solid #F5B636;
    border-bottom: 10px solid #F5B636;
    xborder-left: 1px solid #F5B636;
    xborder-right: 1px solid #F5B636;
    font-size: 20px;
    font-weight: 700;
}

.nav li:first-child {
    margin-left: 0px;
}

.nav li a {
    color: #fff;
    padding: 15px 0px;
}

.nav-tabs.nav-justified {
    font-size: 24px;
}

.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    background: #fff;
    color: #F5B636;
}

.nav li.apply {
    background: #263B7E;
}

.nav li.apply a {
    color: #ffffff;
}

.nav li.apply a:hover,
.nav li.apply a:focus {
    background: #5682C2 !important;
    color: #EFF6FA;
}

.logo {
    margin: 1em auto;
    padding: 1px;
    width: auto;
    height: 85px;
    background: #263B7E;
}

.download {
    max-width: 400px;
}

.nav-tabs {
    margin-bottom: -1px;
    padding: 0px;
    border: none !important;
    overflow: hidden;
}

.nav-tabs ul {
    border: none !important;
}

.nav-tabs.nav-justified > li > a {
    background: #263B7E;
    border: 0px solid #0E1529;
    border-radius: 0px 0px 0 0;
    margin-bottom: 0px;
}

.nav-tabs.nav-justified > li > a:hover {
    border: 0px solid #ddd;
    border-radius: 0px 0px 0 0;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    text-decoration: none;
    background-color: #eee;
    color: #263B7E;
    border: none !important;
}


/* SECTION STYLES */
header {
    background: #263B7E;
    min-height: 50px;
    padding: 1em auto;
}

#disclaimers {
    padding-top: 2em;
    padding-right: calc(2em + 15px);
    padding-bottom: 2em;
    padding-left: calc(2em + 15px);
    color: #0E1529;
    background-color: #fff;
}

#testimonials {
    padding-top: 30px;
    padding-bottom: 75px;
}

footer {
    padding: 30px 0px;
    font-weight: 400;
    color: #0E1529;
    background: #263B7E;
    height: auto;
    border-top: 10px solid #F5B636;
}

footer a:hover,
footer a:focus {
    color: #F5B636;
}

.well {
    background-color: #fff;
    border: 3px solid #00847F;
    border-radius: 0px;
    margin-top: 0;
    padding: 20px;
}

.well-header h3 {
    background: #00847F;
    padding: 15px 15px 10px;
    margin-bottom: 0;
    color: #fff;
    font-size: 26px;
}

.well a {
    color: #2E93B9;
    text-decoration: none !important;
}

.well a:hover,
.well a:focus {
    color: #5682C2;
}

.well p {
    color: #0E1529;
}

.callout {
    background-color: transparent;
    padding-right: 35px;
    padding-left: 35px;
    border-color: #ffffff;
    border-radius: 8px;
    margin-top: 2em;
    min-height: 20px;
    margin-bottom: 20px;
    border: 1px solid #e3e3e3;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-sizing: border-box;
}

.bg-blue {
    background-color: rgba(47, 147, 186, .2);
    border-color: #263B7E;
}


.in {
    background-color: rgba(255, 255, 255, 0.75);
}


.form-horizontal .control-label {
    color: #263B7E !important;
    font-family: 'Myriad Pro', Arial, sans-serif;
    font-weight: 100;
    font-size: 26px;
}


/* BUTTON STYLES */
.btn-primary {
    border-radius: 0;
    background: #00847F;
    color: #fff !important;
    padding: 10px 15px;
    font-size: 1em;
    border: 1px solid #00847F;
    text-decoration: none !important;
    white-space: normal;
    border-radius: 25px;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #00847F !important;
    background: #fff;
    border: 1px solid #00847F;
}

.btn-primary:active {
    background: #000000 !important;
}

.modal-header {
    background: #0E1529;
    padding: .5em 1em;
    margin-bottom: 0;
    color: #fff;
}

.modal-title {
    color: #fff !important;
    text-transform: uppercase;
    font-size: 26px;
}

.modal-body h3 {
    color: #263B7E;
    font-size: 26px;
    line-height: 36px;
    margin-bottom: 20px;
    margin-top: 0px;
}

.modal-body h4 {
    color: #0E1529;
    line-height: 1.5em;
}

.modal-header .close {
    margin-top: 10px;
}

.close {
    color: #fff !important;
    opacity: .75;
}

.close:hover {
    opacity: 1;
}

/* MOBILE STYLES */
@media (max-width: 1080px) {
    .nav li {
        font-size: 20px;
    }
}

@media (max-width: 902px) {
    .nav li {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .hero-white, .hero-new {
        padding: 30px;
    }

    .logo {
        margin: 0px;
        height: 60px;
    }

    .nav li {
        border-bottom: 10px solid #fff;
    }

    .container-fluid {
        padding-left: 1em;
        padding-right: 1em;
        max-width: 1280px;
    }

    .hero1 {
        padding: 2em;
    }

    .hero2 {
        padding: 2em;
    }

    .hero3 {
        padding: 2em;
    }

    footer p {
        text-align: center !important;
    }

    .download {
        max-width: 400px;
    }

    /* MOBILE NAV STUFF */

    .icon-bar {
        background-color: #263B7E;
    }

    .navbar-collapse {
        background-color: #fff;
        margin: 0px !important;
        padding: 0px !important;
    }

    .collapse {
        background-color: #fff;
    }

    .navbar-brand {
        height: 100%;
        padding: 1em 2.5em;
    }

    .navbar-toggle {
        background-color: #fff;
        margin: 2em 2.5em 1em;
    }

    .hero1 h1 {
        color: #ffffff;
        font-size: 40px;
    }

    .hero2 h1 {
        color: #ffffff;
        font-size: 40px;
    }

    .hero3 h1 {
        color: #ffffff;
        font-size: 40px;
    }

    .hero1 h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .hero2 h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .hero3 h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .hero1 h3 {
        font-size: 36px;
    }

    .hero2 h3 {
        font-size: 36px;
    }

    .hero3 h3 {
        font-size: 36px;
    }

    /* OTHER styles */
    #products {
        padding-left: 0;
        padding-right: 0;
    }

    #disability {
        height: 300px;
        width: 100%;
        background: url("/Portals/avmalife.org/Images/192048_nysscpa_life_lp-image.jpg") no-repeat center center;
    }

    #disability h3 {
        position: absolute;
        bottom: 0;
        -webkit-transition: height .3s, -webkit-transform .3s;
        /* Safari */
        -ms-transition: height .3s, -webkit-transform .3s;
        /* IE */
        transition: height .3s, transform .3s;
    }

    #disability:hover h3 {
        position: absolute;
        -webkit-transform: translate(0, -230px);
        /* Safari */
        -ms-transform: translate(0, -230px);
        /* IE */
        transform: translate(0, -230px);
    }

    #disability.hvr-sweep-to-top:before {
        background: #ffcb05;
        opacity: .85;
    }


    .hvr-sweep-to-top {
        -webkit-transform: perspective(1px) translateZ(0);
        transform: perspective(1px) translateZ(0);
        box-shadow: 0 0 1px transparent;
        position: relative;
        -webkit-transition-property: color;
        transition-property: color;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
    }

    .hvr-sweep-to-top:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fc6b00;
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-transition-property: transform;
        transition-property: transform;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
    }

    .hvr-sweep-to-top:hover,
    .hvr-sweep-to-top:focus,
    .hvr-sweep-to-top:active {
        color: white;
    }

    .hvr-sweep-to-top:hover:before,
    .hvr-sweep-to-top:focus:before,
    .hvr-sweep-to-top:active:before {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    #disability.hvr-sweep-to-top:before {
        background: #ffcb05;
        opacity: .85;
    }

    #life.hvr-sweep-to-top:before {
        background: #7accc8;
        opacity: .85;
    }

    #packages.hvr-sweep-to-top:before {
        background: #a3c13c;
        opacity: .85;
    }

    #health.hvr-sweep-to-top:before {
        background: #fc6b00;
        opacity: .85;
    }

    .white {
        color: #fff;
    }

    .hover-content {
        margin-top: 50px;
        display: hidden;
        opacity: 0;
        transition: visibility 0s linear .5s, opacity .5s linear;
    }

    .well:hover .hover-content {
        visibility: visible;
        opacity: 1;
    }

    ul.hover-content li {
        padding-bottom: 4px;
    }
}

@media (max-width: 600px) {
    .navbar-brand {
        padding: 15px;
    }

    .navbar-toggle {
        margin: 30px 15px 0px 0px;
    }

    .hero-white, .hero-new {
        padding: 30px 15px;
    }

    h1 {
        font-size: 32px;
        line-height: 42px;
    }

    h3 {
        font-size: 28px;
        line-height: 38px;
    }  

    ul {
        padding-left: 20px;
    }

    .well {
        padding: 20px 10px;
    }

    .btn-primary {
        padding: 10px;
    }  

    footer p {
        font-size: 16px;
    }
}
