﻿header.site-header {
    border-top: 6px solid #1f80c1;
}

.header-banner-container {
    display: none;
}
/*disable header with image*/
.header_text .text_wrap {
    text-transform: none !important;
    text-transform: 0px 0px 2px;
    font-size: 107%;
    text-shadow: -1px 1px 2px;
}

.social_htext_wrap:before, .social_htext_wrap .header_social_link, .social_htext_wrap .header_text, .site-footer {
    background-color: #005080 !important;
}

footer a, footer a:hover {
    color: rgba(255,255,255,0.7) !important;
}

.site-content, .ak-container-no #primary, .ak-container-right, .ak-container-left {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

@media (min-width: 768px) {
    .ak-container {
        margin-top: -0.1px; /*small problem with edge browser*/
    }

    .main-navigation ul ul a {
        width: 250px !important;
    }

    .social_htext_wrap .header_text:before {
        left: -38.5px !important;
        border-top-color: #005080 !important;
    }

    .header_info_wrap .phone_header, .header_info_wrap .email_header {
        width: 25% !important;
    }

    .header_info_wrap .location_header {
        width: 50% !important;
    }
}

@media (max-width: 767.98px) {
    .social_htext_wrap::after {
        background-color: #005080
    }

    .header_text .text_wrap {
        font-size: calc(96%);
        white-space: nowrap;
    }
}

/*contact form*/
.aced-sticky {
    position: fixed !important;
    top: 0 !important;
    z-index: 9999 !important;
    opacity: 0.85 !important;
}

#aced-contact-form form {
    max-width: 700px;
    padding: 5px;
}

#aced-contact-form .acf-row {
    width: 100%;
    overflow: hidden;
    margin: 5px 0;
    padding: 5px 0;
    border: 0;
}

    #aced-contact-form .acf-row input {
        box-sizing: border-box;
        float: left;
        clear: none;
        width: 75%;
        margin: 0;
    }

    #aced-contact-form .acf-row label {
        box-sizing: border-box;
        float: left;
        clear: both;
        width: 25%;
        margin-top: 5px;
        font-size: 90%;
    }

    #aced-contact-form .acf-row textarea {
        box-sizing: border-box;
        float: left;
        clear: both;
        width: 100%;
        margin-top: 2px;
    }

#acf_success pre {
    white-space: pre-wrap;
}

p.acf_error {
    color: #cc0000;
}

div.acf-submit {
    margin-top: 10px;
}

p.acf_success {
    color: #669966;
}

.acf-confirm-checkbox {
    margin-top: 15px;
}

.acf-website3dhhsy3 {
    display: none;
}