/* -------------------
    Contact Page
------------------- */

/*Global Template Styles*/
.page-template-template-contact-page section{
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
}

@media only screen and (max-width: 992px) {
    .page-template-template-contact-page section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.page-template-template-contact-page section:not(:last-of-type):after{
    background-color: #D9D9D9;
    content: '';
    height: 1px;
    position: relative;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: calc( 100% - 30px );
}

.page-template-template-contact-page section:first-of-type {
    padding-top: 70px;
}

.page-template-template-contact-page section:last-of-type {
    padding-bottom: 70px;
}

.page-template-template-contact-page .col-12{
    padding-left: 15px;
    padding-right: 15px;
}

@media only screen and (max-width: 992px) {
    .page-template-template-contact-page .col-6 {
        float: left;
        padding-left: 15px;
        padding-right: 15px;
        width: 50%;
    }
}

.page-template-template-contact-page .contact-us-content-container h2{
    color: #0E2B87;
    font-family: 'latobold', sans-serif;
    margin-bottom: 25px;
    margin-top: 0;
}

.page-template-template-contact-page .contact-small-uppercase{
    font-size: 12px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.page-template-template-contact-page .contact-us-content-container a{
    color: #0E2B87;
}

.page-template-template-contact-page .contact-us-content-container .btn.btn-blue{
    background-color: #1275FD;
    border: 2px solid #1275FD;
    border-radius: 5px;
    color: #fff;
    transition: 0.3s all ease;
}

.page-template-template-contact-page .contact-us-content-container .btn.btn-blue:hover{
    background-color: #fff;
    color: #1275FD;
}

/*Hero*/

.page-template-template-contact-page .hero-image{
    position: relative;
}

.page-template-template-contact-page .hero-image:after{
    background-color: rgba(0,0,0,0.4);
    content: '';
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
}

.page-template-template-contact-page .hero-image h1,
.page-template-template-contact-page .ecowater-breadcrumb a{
    color: #fff;
    position: relative;
    z-index: 2;
}

.page-template-template-contact-page .ecowater-breadcrumb a{
    font-family: 'latolight', sans-serif;
    font-size: 25px;
}

/*Content with Button*/

.page-template-template-contact-page .contact_content-with-button .content-with-button-container{
    position: relative;
}

.page-template-template-contact-page .contact_content-with-button .content-with-button-container:not(:last-of-type){
    margin-bottom: 30px;
}

@media only screen and (min-width: 992px) {
    .page-template-template-contact-page .contact_content-with-button .content-with-button-container{
        margin-bottom: 0 !important;
    }

    .page-template-template-contact-page .contact_content-with-button .content-with-button-container:first-of-type:after {
        background-color: #D9D9D9;
        content: '';
        height: 90%;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
    }

    .page-template-template-contact-page .contact_content-with-button .content-with-button-container:first-of-type {
        padding-right: 40px !important;
    }

    .page-template-template-contact-page .contact_content-with-button .content-with-button-container:last-of-type {
        padding-left: 40px !important;
    }
}

.page-template-template-contact-page .contact_content-with-button .content-with-button-container ul{
    padding-left: 20px;
}

.page-template-template-contact-page .contact_content-with-button .content-with-button-container button{
    display: block;
    /*margin: 0 auto;*/
}

/*Contact Information*/

.page-template-template-contact-page .contact_contact-info .ci_numbers{
    margin-top: 25px;
}

.page-template-template-contact-page .contact_contact-info .contact-info_container:not(:last-of-type){
    margin-bottom: 30px;
}


.page-template-template-contact-page .contact_content-with-button .contact-modal .form-container{
    margin-top: 15px
}

.page-template-template-contact-page .contact_content-with-button .contact-modal .modal-header button{
    color: #0E2B87;
    font-size: 25px;
    opacity: 0.6;
    top: -5px;
    transition: 0.3s all ease;
}


@media only screen and (min-width: 992px) {
    .page-template-template-contact-page .contact_contact-info .contact-info_container:not(:last-of-type){
        margin-bottom: 0;
    }


    .page-template-template-contact-page .contact_contact-info .contact-info_container:first-of-type:after {
        background-color: #D9D9D9;
        content: '';
        height: 90%;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
    }

    .page-template-template-contact-page .contact_contact-info .contact-info_container:first-of-type {
        padding-right: 40px !important;
    }

    .page-template-template-contact-page .contact_contact-info .contact-info_container:last-of-type {
        padding-left: 40px !important;
    }

    .page-template-template-contact-page .contact_content-with-button .contact-modal .modal-header button{
        top: -25px;
    }

    .page-template-template-contact-page .contact_content-with-button .contact-modal .form-container{
        margin-top: 30px
    }

}

.page-template-template-contact-page .contact_contact-info .ci_numbers .ci_numbers-container:not(:last-of-type){
    margin-bottom: 15px;
}

.page-template-template-contact-page .contact_contact-info p:not(.contact-small-uppercase){
    margin-bottom: 5px;
}

.page-template-template-contact-page .contact_content-with-button .contact-modal .modal-header button:hover{
    opacity: 1;
}

/*Global Information*/

.page-template-template-contact-page .contact_global-locations .global_locations-container .individual-locations{
    margin-top: 25px;
}

.page-template-template-contact-page .contact_global-locations .global_locations-container .individual-locations .location-info{
    display: flex;
    align-items: center;
}

.page-template-template-contact-page .contact_global-locations .global_locations-container .individual-locations .location-info img{
    height: auto;
    margin-right: 10px;
    max-width: 25px;
    width: 100%;
}