/*****  Legacy Adjustments (hacks)  *****/
.page-template-template-gabi-search #header-outer {background-image: linear-gradient(to right, rgb(0, 31, 82), rgb(0, 69, 126)) !important;}
body.page-template-template-gabi-search  #header-outer .icon-salient-search:before, body.material #header-outer .icon-salient-search:before {
    color: #fff !important;}
.page-template-template-gabi-search header#top {background-color: transparent!important;}
.page-template-template-gabi-search #header-space {background-color: #003469 !important;display:block;}

@media only screen and (max-width: 782px){
    #top {
        background-color: #003469!important;
        padding: 10px 0;
        transform: translateY(0) !important;
    }
}
#footer-outer .wpb_row.padding-l {
    left: 25% !important;
    width: unset !important;
}
#footer-outer html body .vc_row-fluid > .span_12, .full-page-inner > .span_12, .full-page-inner > .container > .span_12 {
    justify-content: center;
} 

/*****  GaBi Header  *****/
#gabi-background {
    position: relative;
}

#gabi-background::before {
    background-image: url(/wp-content/themes/salient-child/img/gabi-hero.jpg);
    background-size: cover;
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    filter: brightness(70%);
    -webkit-filter: brightness(70%);
    -moz-filter: brightness(70%);
}

#gabi-hero {
    position: relative;
    width: 100%;
    padding: 5% 0;
}

#gabi-hero h1,
#gabi-hero h2,
#gabi-hero label,
#gabi-hero p {
    text-align: center;
    color: #fff;
}

#gabi-hero h1 {
    font-size: 40px !important;
    text-shadow: 0px 0px 14px rgb(2 7 74 / 36%);
    line-height: 53px !important;
    width: 100%;
}

#gabi-hero p.search-subheading {
    font-size: 20px !important;
    line-height: 26px !important;
    font-weight: bold !important;
    width: 75%;
    max-width: 695px;
    padding-bottom: 2.25em !important;
    margin: auto;
}


/*****  Input Form  *****/

#gabi-inputs {
    background-color: #0074a6;
    padding: 60px 10%;
    border-radius: 10px;
}

#gabi-inputs h2 {
    width: 100%;
    font-size: 20px !important;
}

#gabi-inputs .gabi-quick-search {
    padding-bottom: 50px;
    position: relative;
}

#gabi-inputs .gabi-select-boxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#gabi-inputs input {
    padding: 10px;
    width: 100%;
    border: none;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #555;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.16);
    border-radius: 0;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.16);
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
}

#gabi-inputs input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    height: 36px;
    color: #fff;
    background: rgb(57, 181, 74) !important;
    border-radius: 50px !important;
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 2px !important;
    margin: 20px auto 0;
    -webkit-transition: color 0.1s ease;
    transition: color 0.1s linear;
}

#gabi-inputs input[type="submit"]:hover {
    background: rgb(69, 216, 97) !important;
    transform: none;
    -webkit-transform: none;
    opacity: 1;
    cursor: pointer;
}

#gabi-inputs .form-group {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#gabi-inputs label {
    min-width: 200px;
    font-family: 'Roboto', sans-serif !important;
    text-align: left;
    font-size: 20px !important;
    line-height: 26px !important;
    font-weight: bold !important;
}

@media screen and (max-width: 700px) {
    #gabi-hero {
        padding: 5% 0;
    }
    #gabi-hero .container {
        width: 100% !important;
        max-width: 100% !important;
    }
    #gabi-inputs {
        width: 100%;
        padding: 13% 5%;
        border-radius: 0;
    }
}

/*To remove button from IE11*/
select::-ms-expand {
    display: none;
}

.form-group {
    position: relative; 
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    font-family: Roboto, sans-serif;
}
.form-group select option {
    font-family: Roboto, sans-serif;
}

.form-group::after {
    content: '';
    background-image: url(/wp-content/themes/salient-child/img/icons/down-arrow-blue.svg);
    background-repeat: no-repeat;
    top: 15px;
    right: 16px;
    padding: 0 0 2px;
    width: 20px;
    height: 13px;
    position: absolute;
    pointer-events: none;
}

@media screen and (max-width: 1023px) {
    #gabi-inputs .form-group {
        flex-direction: column;
    }
    #gabi-inputs label {
        width: 100%;
    }
    .form-group::after {
        top: 42px;
    }
    .clear-filter {
        top: 32px !important;
    }
}

.clear-filter {
    border: none;
    background-color: transparent;
    font-size: 20px;
    color: #fff;
    float: right;
    font-family: sans-serif;
    font-weight: 300;
    position: absolute;
    top: 7px;
    right: -25px;
    cursor: pointer;
    display: none;
}

#clear-text {
    top: 40px;
}

.clear-filter#clear-all {
    position: relative;
    top: 7px !important;
}

.clear-filter p {
    font-size: 15px;
    padding-right: 26px;
}




/*****  Three Panel Section *****/

.three-panel h2 {
    color: #225A8B;
    text-align: center;
    margin: auto;
    padding: 50px 0 20px;
}

.three-panel .flex-row {
    margin-top: 10px;
}

.three-panel .panel {
    height: 440px;
    width: 440px;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.three-panel .flex-col {
    align-items: center;
    justify-content: center;
}

.three-panel .panel .panel-copy {
    width: 75%;
    height: 280px;
}

.three-panel .panel .panel-copy img {
    padding-left: 10px;
    vertical-align: middle;
}

.three-panel .panel h3,
.three-panel .panel p,
.three-panel .panel a {
    color: #fff;
    font-weight: bold;
    text-align: left;
}

.three-panel .panel h3 {
    font-size: 35px;
    line-height: 46px;
}

.three-panel .panel p {
    padding-bottom: 10px;
}

#learn-more-panels .panel-one {
    background-image: url(/wp-content/themes/salient-child/img/Image-1.png);
}

#learn-more-panels .panel-two {
    background-image: url(/wp-content/themes/salient-child/img/Image-2.png);
}

#learn-more-panels .panel-three {
    background-image: url(/wp-content/themes/salient-child/img/Image-3.png);
}

@media screen and (max-width: 1240px) {
    .three-panel .panel .panel-copy {
        width: 81%;
        height: 280px;
    }
}

@media screen and (max-width: 1100px) {
    .three-panel h2 {
        max-width: 655px;
    }
    .tailwind.page-template-template-gabi-search .three-panel .flex-row  {
        flex-direction: column;
    }
    .three-panel .panel {
        height: 500px;
        width: 465px;
    }
    .three-panel .panel .panel-copy {
        width: 66%;
    }
}



/*****  Wide Panel Section  *****/
#contact-us-cta {
    background-image: url(/wp-content/themes/salient-child/img/Contact-Us-Banner.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#contact-us-cta.banner {
    align-items: center;
    display: flex;
    justify-content: right;
    height: 600px;
    margin-bottom: 125px !important;
    max-width: 90% !important;
    width: 90%;
}

#contact-us-cta.banner .centering-div {
    margin-top: 8%;
    width: 45%;
}

#contact-us-cta.banner .banner-copy h2,
#contact-us-cta.banner .banner-copy p {
    color: #fff;
    padding-bottom: 0;
    width: 430px;
}

#contact-us-cta.banner .banner-copy h2 span {
    color: orange;
}



#contact-us-cta.banner .banner-copy a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    height: 36px;
    color: #fff;
    background: rgb(57, 181, 74) !important;
    border-radius: 50px !important;
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 2px !important;
    margin: 15px 0;
    -webkit-transition: color 0.1s ease;
    transition: color 0.1s linear;
}

#contact-us-cta.banner .banner-copy a:hover {
    background: rgb(69, 216, 97) !important;
    opacity: 1;
}

@media screen and (max-width: 1100px) {

    #contact-us-cta.banner {
        height: 440px;
    }

    #contact-us-cta.banner .centering-div {
        width: 48%;
        margin-top: 11%;
    }
    #contact-us-cta.banner .banner-copy h2,
    #contact-us-cta.banner .banner-copy p {
        width: 338px;
    }
}

@media screen and (max-width: 830px) {
    #contact-us-cta {
        background-image: url(/wp-content/themes/salient-child/img/Contact-Us-Banner-m.png);
    }
    #contact-us-cta.banner {
        height: 400px;
    }
    #contact-us-cta.banner .centering-div {
        width: 60%;
        margin-top: 11%;
    }
    #contact-us-cta.banner .banner-copy h2,
    #contact-us-cta.banner .banner-copy p {
        width: 320px;
    }
}

@media screen and (max-width: 600px) {
    #contact-us-cta {
        background-image: url(/wp-content/themes/salient-child/img/Contact-Us-Banner-m.jpg);
        background-size: cover;
    }
    #contact-us-cta.banner {
        justify-content: center;
        width: 100vw;
        max-width: 100% !important;
    }
    #contact-us-cta.banner .centering-div {
        width: unset;
        align-self: center;
        padding: 0;
    }
    #contact-us-cta.banner .banner-copy h2,
    #contact-us-cta.banner .banner-copy p {
        width: 300px;
    }
}