/* global styles */
h1, h2, h3, h4, h5, h6, p, span, div, li, a, ul, ol, input, select, option{
    font-family: "Albert Sans", serif !important;
}

body{
    margin-bottom :0px !important; 
}
/* Header styles */
.ire-branding{
    width: 100%; 
    background-color: #05205E;
    padding: 10px 0; 
}
.ire-branding .ire-branding-img-contianer{
    display: flex;
    width: 100%; 
    max-width: 1100px;
    justify-content: end;
    align-items: center;
    margin: 0 auto;
}
.ire-branding .ire-branding-img-contianer img{
    height: 35px;
}
#masthead{
    display: flex;
    width: 80%; 
    margin: 0 auto;
    max-width: 1100px;
    background-color: #ffffff;
    padding: 20px 0;
    justify-content: space-between;
    align-items: center;
}
.entry-content{
    margin-top: 0px !important;
}

.site-branding{
    width: 65%;
    display: flex;
    align-items: center;
}
.site-branding img{
    max-width: 180px;
}
#site-navigation{
    width: auto;
}
.contact-container .phone:hover{
    text-decoration: underline;
}
.contact-container .demo-request{
    padding: 3px 10px; 
    border: 2px solid #4372b8;
    border-radius: 15px;
    background-color: #4372b8;
    color: white;
    font-weight: 600;
    text-decoration: none;
}
.contact-container .demo-request:hover{
    background-color: #ffffff;
    color: #4372b8;
}
.mobile-menu-link{
    display:none;
}
#login li{
    padding: 5px 15px;
    border-radius: 25px;
    border: 2px solid #05205E; 
    background-color: #05205E;
}
#login li a{
    font-weight: 600;
    color: #ffffff;
}
#login li:first-child{
    background-color: #ffffff;
    margin-right: 15px;
}
#login li:first-child a{
    color: #05205E;
}
.sub-menu{
    flex-wrap: wrap;
    padding: 5px;
    background-color: #ffffff;
}
.sub-menu li{
    margin-bottom: 5px;
    padding:5px;
    border-radius: 0px;
}
.sub-menu li:hover{
    background-color: rgba(0,0,0,0.1);
}
.sub-menu li a{
    font-weight: 500;
}

/* Footer styles */
.site-footer{
    width: 100%; 
    background-color: #05205E; 
    padding: 50px 0;
}
.ire-footer-logo{
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}
.ire-footer-logo a{
    max-width: 250px;
    color: #ffffff;
    font-size: 24px; 
    line-height: 1; 
    font-weight: 700; 
    margin: 0 auto; 
    text-decoration: none;
}
.ire-footer-logo a:visited{
    color: #ffffff;
}
.ire-footer-logo a:hover{
    opacity: .8;
}


.footer-nav .menu-footer-container #footer{
    list-style: none;
    display:flex;
    width: 100%; 
    max-width: 1100px; 
    margin: 20px auto 0; 
    justify-content: center;
    padding-left: 0px; 
}

.footer-nav .menu-footer-container #footer li{
    padding-right: 5px; 
    margin-right: 5px; 
    border-right: 2px solid #ffffff;
}
.footer-nav .menu-footer-container #footer li:last-child{
    border: 0px;
}
.footer-nav .menu-footer-container #footer li a{
    color: #ffffff;
    font-size: 18px; 
    font-weight: 600; 
    line-height: 1; 
    text-decoration: none;
}
.footer-nav .menu-footer-container #footer li a:visited{
    color: #ffffff;
}
.footer-nav .menu-footer-container #footer li a:hover{
    opacity: .8;
}
article{
    margin-bottom: 0px !important;
}




/* Mobile Styles */
@media screen and (max-width: 768px){
    .contact-container{
        display:none;
    }
    #masthead{
        justify-content: space-between;
    }
    .site-branding{
        width: 60%;
    }
    .site-branding img{
        width: 150px;
    }
    #site-navigation{
        width: auto;
    }
    .menu-toggle{
        padding: 10px 15px 8px;
        background-color: transparent;
        border: 0px solid #4372b8;
    }
    .bar{
        width: 25px;
        height: 3px;
        background-color: #05205E;
        margin-bottom: 5px;
    }
    .mobile-menu-link{
        display:block;
    }
    .menu-login-container{
        position: absolute;
        left:0;
        background-color: #ffffff;
        width: 100%;
        box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
        z-index: 100;
    }
    #login li:hover{
        background-color: transparent;
    }
    .main-navigation.toggled ul{
        position: relative;
        left:0;
        top:0;
        float: none;
        box-shadow: none;
    }
    .main-navigation.toggled .menu-login-container{
        padding: 50px;
    }

    .main-navigation.toggled .menu-login-container .agent-login{
        margin-right: 0px !important;
        margin-bottom: 25px;
    }
    #login li a {
        padding: 10px 5px;
    }

    .footer-nav .menu-footer-container #footer{
        display: block;
        padding: 0px; 
    }
    .footer-nav .menu-footer-container #footer li{
        text-align: center;
        border: 0px;
        margin: 0px 0px 10px;
        padding: 0px; 
    }
}

/* Form Styles */
.nf-field-element input{
    padding: 10px 15px !important; 
    color: #05205E !important;
    background-color: #F3F5F7 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    border: 0px solid white !important;
}
#primary .nf-form-content .nf-field-container #nf-field-80-wrap .nf-field-element .ninja-forms-field{
    padding: 10px 15px !important; 
    color: #05205E !important;
    background-color: #F3F5F7 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}
#primary .nf-form-content .nf-field-container #nf-field-81-wrap .nf-field-element .ninja-forms-field{
    padding: 10px 15px !important; 
    color: #05205E !important;
    background-color: #F3F5F7 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

#primary .nf-form-content .nf-field-container #nf-field-21-wrap .nf-field-element .ninja-forms-field{
    background-color: #05205E !important;
    color: #ffffff !important;
    padding: 10px 25px !important;
    border: 2px solid #05205E !important;
}

#primary .nf-form-content .nf-field-container #nf-field-21-wrap .nf-field-element .ninja-forms-field:hover{
    background-color: #ffffff !important;
    color: #05205E !important;
    cursor: pointer; 
}