/* some basic css styles frequently used in many themes*/
/* regular-400, medium-500, semi-bold-600, bold-700*/
body, h1, h2, h3, h4, h5, h6{
    font-family: 'Raleway', "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}
h1 {
    font-size: 41.15px;
    font-weight: 600;
    line-height: 1.2em;
}
.hero h1, .client-links h1, .page-title h1{
    color: #fff;
    text-shadow : 6.4px 6.4px 6.4px rgba(35, 31, 32, 0.75);
}
h2{
    font-size: 31px;
    font-weight: 700;
}
h3{
    font-size: 27px;
    font-weight: 700;
}
.semi-bold{
    font-weight: 600!important;
}
strong, b {
    font-weight: 700;
}
a {
    color: #003A9F;
}
.grey-bg{
    background-color: #EFEFEF;
    border-bottom: 1px solid #AFAFAF;
}
.dk-green-text{
    color: #003F00;
}
.green-text{
    color: #1A682C;
}
.gray-text{
    color:#4C4C4C;
}

header.callout {
    margin: 0 0 1rem 0;
    padding: 1rem;
    border:none;
    border-radius: 0;
    position: relative;
    color: #0a0a0a;
    background-color: #fff;
}
header.callout > .row{
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}
.logo-wrap, .top-links, .top-links ul{
    display: flex;
}
.logo-wrap, .top-links{
    flex-wrap: wrap;
}

.logo-wrap{
    justify-content: center;
    align-items: center;
}
.logo-wrap > a{
    color: #0a0a0a;
}
.logo-wrap > a > * {
    padding: .5rem 1rem;
    margin: 0;
    text-align: center;
}
.logo-wrap > a > img{
    max-height: 250px;
    max-width: 575px;
    width: 100%;
}
.logo-wrap > a > .pie {
    height: 100px;
    width: 100px;
}
.top-links ul{
    justify-content: flex-end;/**/
    align-items:flex-end;
    align-self: flex-end;
    flex: 1;
    margin-top: 1rem;
}

.top-links ul li {
    display: inline-block;
    list-style-type: none;
    padding: .5rem 0 0 2.25rem;
}
.top-links ul li, .top-links ul li a{
    font-size: 14px;
    color:#4C4C4C;
}
.top-links ul li .contact-link{
    color: #1A682C;
    font-weight: bold;
}
@media screen and (min-width: 40em){
    .top-links ul{
        display: flex;
        flex-wrap: wrap;
    }
}
@media screen and (min-width: 64em){
    .logo-wrap{
        justify-content: flex-start;
    }
    .logo-wrap > a > * {
        padding: .5rem 1rem .5rem 0;
        text-align: inherit;
    }
    .top-links ul{
        justify-content: flex-end;
        align-items:flex-end;
        align-self: flex-end;
        flex: 1;
        margin-top: 1rem;
    }
}
/* --------- MAIN NAV --------------*/
.top-bar {
    background-color: #003A9F;
    background-blend-mode: multiply;
    background-image: url("images/nav-hero.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position:bottom center ;
}
@media screen and (min-width: 1295px){
    .top-bar {
        background-size: cover;
    }
}
.top-bar ul {
    background-color: transparent;
    display: block;
    margin: 0 1rem;
}

.top-bar ul ul {
    background-color: #ffffff;
    margin: 0 0 1rem 0;
    padding: 0 1rem;
}
.is-dropdown-submenu {
    background: #fff;
    border: 1px solid #AFAFAF;
    position: relative;
    width: 100%;
}

nav .menu li a:hover{
    opacity: .8;
}
nav .menu > li {
    padding: 0 0;
    display: block;
    width: 100%;
}
nav .menu > li > a {
    font-weight : bold;
    font-size : 17px;
    color : #FFFFFF;
    border-top: 2px solid #fff;
    padding: 1.5rem 1rem;
    text-transform: uppercase;
}
nav .menu > li:last-child a {
    border: none;
}
nav .dropdown.menu > li.is-dropdown-submenu-parent > a {
    padding-right: 2rem;
    position: relative;
}
.dropdown.menu > li.is-dropdown-submenu-parent > a::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border: inset 10px;
    border-top-style: solid;
    border-bottom-width: 0;
    right: 1.85rem;
    margin-top: -5px;
    border-color: #fff transparent transparent;
}

nav .menu > li > ul li{
    border-bottom: 1px solid #AFAFAF;
}
nav .menu > li > ul li:last-child{
    border-bottom: none;
}
nav .menu > li > ul li a{
    border:none ;
    color: #1A682C;
}
@media screen and (min-width: 40em){

    .top-bar ul {
        background-color: transparent;
        display: table;
        margin: 0 auto;
    }

    .top-bar ul ul {
        background-color: #ffffff;
        margin: 0 1.0625rem;
    }
    .is-dropdown-submenu {
        background: #fff;
        border: 1px solid #AFAFAF;
    }

    nav .menu li a:hover{
        opacity: .8;
    }
    nav .menu > li {
        padding: 1rem 0 1rem 1rem;
        display: inline-block;
        width: inherit;
    }
    nav .menu > li > a {
        font-weight : bold;
        font-size : 17px;
        color : #FFFFFF;
        border-top: none;
        border-left: 2px solid #fff;
        padding: 0 1rem;
        text-transform: uppercase;
    }
    nav .menu > li:first-child a {
        border: none;
    }
    /*nav .menu > li:last-child a {*/
        /*border: none;*/
    /*}*/
    .dropdown.menu > li.is-dropdown-submenu-parent > a::after {
        border: inset 5px;
        right: 5px;
        margin-top: -2px;
        border-color: #fff transparent transparent;
    }

    .is-dropdown-submenu {
        position: absolute;
        width: inherit;
    }
}
.phone-link{
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-right: .25rem;
}
/* ---- Mobile Nav ---- */
.title-bar {
    background: #003a9f;
    padding: 1rem 0.5rem
}
.title-bar a{
    color: #fff;
}

/* ----------HERO IMG--------------- */
.page-title, .hero{
    background-image: url("images/hero-green.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    color:#fff;

}
.hero {
    padding: 4rem 1rem 3.125rem;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}
.hero p{
    font-size: 18px;
    font-weight: 600;
}
.hero > .row{
}
.hero a {
    color: #ffcf00;
}
.hero a:hover, .hero a:focus {
   color: #f4971e;
}
.button.hollow.hero-bttn{
    text-transform: uppercase;
    font-weight: 500;
    font-size : 15px;
    color : #FFF6EB;
    color : rgb(255, 246, 235);
    border: 2px solid #FFF6EB;
    background-color: transparent;
    padding: 0.85em 2em;
    text-decoration: none;
    margin: 1rem 0 1rem 0;
}
.button.hollow.hero-bttn:hover{
    color : #FFF;
    border: 2px solid #FFF;
    background-color: rgba(255, 255, 255, 0.10);
}
.page-title{
    padding: 3rem 1rem;
}
.page-title h1{
    margin: 0 .5rem;
}
.menu .active > a {
    background: none;
}

/* --------- Home page content -------*/
.quick-header{
    padding-top: 1.8125rem;
}
.quick-links{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0.1875rem 0 2.1875rem;
    flex-wrap: wrap;
}

.quick-link a{
    min-height: 88px;
    display: flex;
    align-items: center;
    margin: 0.9375rem auto;
}
@media screen and (min-width: 87.5em){
    /*.quick-link{
        width: 33.33333%;
    }*/
}

.quick-link p{
    font-size: 14.9px;
    line-height: 1.26;
    margin: .5rem 0;
    color: #000;
}
.quick-link img{
    margin-right: 1.6rem;
    float: left;
}


.client-links{
    padding: 2.75rem 0 2.5rem;
}
.client-links p{
    font-weight: 600;
    font-size: 18px;
}
.client-links h1{
    text-shadow : 6.4px 6.4px 6.4px rgba(35, 31, 32, 0.75);
    text-transform: uppercase;
}

.client-link{
    text-align: center;
    padding: 1rem 1.25rem 0;
}
.client-link #calendar, .client-link #client-area{
    padding: 2.5rem 0;
}
.client-link h1 a {
    color: #fff;
    margin: 1rem;
}
@media screen and (min-width: 64em){
    .client-link{

    }
    .client-link #calendar, .client-link #client-area{
        padding: 4.5rem 0;
        min-height: 248px;
    }
    .client-link h1 a {
        width: 218px;
        text-align: center;
        display: block;
        margin: 0 auto;
    }
    /* one .client-link item */
    .link-wrap .client-link:first-child:nth-last-of-type(1) {
        float: none;
        margin: 0 auto;
    }
}

.client-link #calendar{
    background:
            url("images/calendar-img.png"),
            url("images/client-gradient.png");
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: cover;
}
.client-link #client-area{
    background:
            url("images/client-area-img.png"),
            url("images/client-gradient.png");
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: cover;
}
.client-link h1{

}

/*--------- other pages--------------*/

.link-container {
    margin-bottom: 20px;
}

.afsbpage-service-list-item a {
    font-size: 1.6em;
}
.pg-content{
    padding: 1.875rem 0.9375rem;
    font-size: 15px;
}
.pg-content p{
    font-size: 18px;
}

.icon-column{
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
    min-width: 80px;
    text-align: center;
}
.pg-content i {
    color: #f4971e;
    display: inline-block;

    font-size: 5rem;
}
.googleMap {
    width: 100%;
    height: 250px;
}
.googleMapLink{
    margin-top: .5rem;
    margin-bottom: 1rem;
    width: 100%;
}
label {
    font-size: 15px;
}
.g-recaptcha{
    margin:1rem 0;
}
.button{
    background-color: rgba(244, 151, 30, 1);
    text-transform: uppercase;
    font-weight: 600;
    font-size : 15px;
    color : #FFF6EB;
    padding: 0.85em 2em;
}
.button:hover, .button:focus {
    background-color: #f6b053;
    color: #fff;
}
.drop-icon {
    color: #f6b053;
    float: left;
    font-size: 75px;
    line-height: 60px;
    padding-top: 4px;
    padding-right: 15px;
    padding-left: 0;
}


/* ----------- Footer ----------*/
footer{
    padding: 1rem;
    background-color: #003A9F;
    color:#fff;
    font-size: 14px;
    font-weight: 500;
}
footer a{
    color: #fff;
}
footer a i.fa-svg:before {
    background-color: #fff;
    height: 21px;
}
footer a:hover, footer a:focus {
    color: #48b65e;
}
footer a:hover  i.fa-svg:before, footer a:focus i.fa-svg:before {
    background-color: #48b65e;
}
footer .lead{
    text-transform: uppercase;
    font-size: 14px;

}
footer .top-row{
    float: none;
    margin: 0 auto;
}
footer .top-row p{
    padding: 0.9375rem;
    margin: 0;
    display: inline-block;
}
footer .menu > li {
    display: inline-block;
}
.menu > li > a img, .menu > li > a i, .menu > li > a svg {
    margin-right: 0.25rem;
    margin-bottom: 0.3rem;
    display: inline-block;
    font-size: 1.5em;
}

/* Newsletter archives */

#nl-archive-container ol, #nl-archive-container ul {
    list-style-type: none;
    margin: 0 auto;
    max-width: 50rem;
}

.nl-archive-itemdate {
    margin-top: -1.5rem;
}

#nl-archive-container {
    padding: 1rem 0 1rem 0;
    border-top: 1px solid #fff;
    margin: 0 0 1rem 0;
}

#nl-archive-container ul {
    margin: 0.5rem 0 0.5rem 0;
}

#nl-archive-container li {
    border-bottom: 1px dotted #fff;
}

#nl-archive-hd {
    text-align: center;
    font-size: 31px;
}

#nl-archive-subhd {
    font-size: 1rem;
    color: #003A9F;
    font-style: italic;
    text-align: center;
    margin: 0 0 1rem 0;
}

#nl-archive-itemcontainer {
    margin: 0.5rem;
    width: 100%;
}

#nl-archive-itemcontainer a:link {
    text-decoration: none;
}

#nl-archive-itemcontainer a:hover {
    text-decoration: underline;
}

.nl-archive-itemdate {
    font-size: 80%;
    float: right;
    margin: -1.5rem 0 0 0;
    color: #fff;
}

.nl-archive-itemtitle {
    font-size: 1.2rem;
    font-weight: bold;

}

/* Flash Warnings and Messages */

#flash_err-container {
    color: #fff;
    font-weight: bold;
    margin-top: 15px;
    background-color: #e34d4d;
    padding: 5px;

    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
    border: solid 2px #e31515;
}

#flash_err-container img {
    margin-top: -15px;
    margin-left: -30px;
}

#flash_ok {

    color: #fff;
    font-weight: bold;

}

#flash_ok-container {
    color: #fff;
    font-weight: bold;
    margin-top: 15px;
    background-color: #48b65e;
    padding: 5px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
    border: solid 2px #288f3d;
}

#flash_ok-container img {
    margin-top: -15px;
    margin-left: -30px;
}

#flash_warn {

    background: transparent url('../docs/common_templates/common_images/flashhd_error.png') no-repeat
}

/* Financial Calculators */
ul.tools-list li {
    display: block;
    width: 100%;
    padding: 0.2rem;
}

ul.tools-list li:before {
    font-family: FontAwesome;
    content: "\f1ec";
    margin-right: 0.3rem;
}

ul.tools-list li > a:hover {
    border-bottom: 1px dotted #555555;
}

ul.tools-list li > a:hover:after {
    font-family: FontAwesome;
    content: "\f08e";
    margin-left: 0.3rem;
}

/* Page Components */
.skelly-component .component-img-wrap {
    border-color: #288f3d;
}

/* EOF */
