/*
Theme Name: weareoverwatch_divi_practice_child
Author: 
Description: Your description goes here
Version: 1.0
Template: Divi

This is the child theme for Divi theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/


/*************** COMMON STYLE START ***************/
h1,
h2,
h3,
h4,
h5,
h6 {
    padding-bottom: 0;
}

.common-details>*:last-child,
.common-details>p:last-child,
.common-details>p:last-child>strong {
    margin-bottom: 0 !important;
}

.common-details p>strong,
.common-details p>b {
    color: #000 !important;
}

.show-overlay {
    display: block !important;
}

/*************** COMMON STYLE END ***************/

/*************** HEADER STYLE START ***************/
.h-logo img {
    object-fit: contain !important;
    object-position: center !important;
}

/*************** HEADER STYLE END ***************/

/*************** HOME PAGE STYLE START ***************/
.btn-red-gradient-border {
    position: relative;
}

.btn-red-gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg,
            #c63a3a 0%,
            #aa2727 55%,
            #8d1f1f 100%);

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

.achievement-grid-item:not(:last-child)::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    right: -45px;
    top: 0;
    background: #e0e0e0;
}

.location-grid-item .location-item-img img {
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.location-grid-item .location-item-img,
.location-grid-item .location-item-img>* {
    width: 100% !important;
    height: 100% !important;
}

.location-grid-item:hover .location-item-img img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.news-letter-form form {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.news-letter-form form .forminator-row {
    margin-bottom: 0 !important;
}

.news-letter-form form:has(.forminator-has_error) {
    margin-bottom: 40px !important;
}

.news-letter-form form:has(.forminator-loading.forminator-show),
.news-letter-form form:has(.forminator-response-message.forminator-success) {
    margin-bottom: 65px !important;
}

.news-letter-form form .forminator-row:not(.news-letter-form form .forminator-row.forminator-row-last) {
    width: 100%;
}

.news-letter-form form .forminator-row input {
    font-size: 14px !important;
    line-height: 1.42em !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    border: 1px solid #fff3;
    background: #ffffff0d;
    color: #fff;
}

.news-letter-form form button {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.42em !important;
    color: #fff;
    background-color: #877551;
    border-radius: 6px !important;
    border: 1px solid #A62425 !important;
    padding: 8px 16px !important;
    margin: 0 !important;
}

.news-letter-form form button:hover {
    background-color: #6b5b3d !important;
}

.news-letter-form form .forminator-error-message {
    position: absolute;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding: 8px 10px !important;
}

.news-letter-form form .forminator-response-message.forminator-success,
.news-letter-form form .forminator-response-message.forminator-loading.forminator-show {
    position: absolute !important;
    bottom: -70px !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    box-shadow: unset !important;
}

.news-letter-form form .forminator-response-message.forminator-loading.forminator-show {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px 30px !important;
    width: 100% !important;
    min-height: 65px !important;
}

/*************** HOME PAGE STYLE END ***************/

/*************** ABOUT PAGE STYLE START ***************/

.team-member-profile-image span,
.team-member-profile-image img {
    width: 100% !important;
}

.team-member-profile-image img {
    object-fit: cover;
    object-position: top center;
}


.team-member-item-cta-btn {
    opacity: 0 !important;
}

.team-member-grid-item:hover .team-member-item-cta-btn {
    opacity: 1 !important;
}

.team-member-grid-item:hover .team-member-name .et_pb_text_inner p {
    color: #877551;
}

.journey-item-right-details {
    position: relative !important;
}

.journey-item:not(:last-child) .journey-item-right-details::before {
    content: '' !important;
    width: 1px;
    height: 100%;
    background: #e0e0e0;
    position: absolute;
    left: -30px;
    z-index: -1;
    top: 5px;
}

/*************** ABOUT PAGE STYLE END ***************/

/*************** LIFE & CULTURE PAGE STYLE START ***************/
.live-in-field-image-gallery img {
    object-fit: cover !important;
    object-position: center !important;
}

.how-it-works-item {
    position: relative !important;
}

.how-it-works-item:not(:last-child)::after {
    content: '' !important;
    position: absolute;
    width: 16px;
    height: 16px;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237070704d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") no-repeat center;
    background-position: center;
    background-size: 100%;
}

/*************** LIFE & CULTURE PAGE STYLE END ***************/

/*************** HOLDINGS PAGE STYLE START ***************/
.build-to-cover-grid-item-image>*,
.build-to-cover-grid-item-image>* img {
    width: 100% !important;
}

.build-to-cover-grid-item-image img {
    object-fit: contain !important;
    object-position: center !important;
}

.build-to-cover-grid-item:hover .built-to-cover-cta-btn-icon .et-pb-icon {
    color: #fff9;
}

/*************** HOLDINGS PAGE STYLE END ***************/

/*************** TALENT NETWORK PAGE STYLE START ***************/

.sign-up-form form{
    display: flex !important;
    flex-direction: column !important;
}

.sign-up-form form .forminator-response-message{
    order: 1 !important
}

.sign-up-form form .forminator-row:not(.forminator-row.forminator-row-last){
    margin-bottom: 16px !important;
}
.sign-up-form form .forminator-row.forminator-row-last{
    margin-bottom: 0 !important;
}
.sign-up-form form .common-form-field-left {
    padding-right: 7.5px !important;
}

.sign-up-form form .common-form-field-right {
    padding-left: 7.5px !important;
}

.sign-up-form form .common-form-field label {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1em !important;
    margin-bottom: 12px !important;
}

.sign-up-form form .common-form-field input,
.sign-up-form form .common-form-field.common-form-select span.select2-selection__rendered {
    padding: 8px 12px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.42em !important;
}

.forminator-select-dropdown-container--open .forminator-custom-form-547.forminator-dropdown--default .select2-results #select2-forminator-form-547__field--select-1_6a6895058151f-results .select2-results__option{
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.42em !important;
}

.sign-up-form form .common-form-field input,
.sign-up-form form .common-form-field.common-form-select .select2 .select2-selection,
.sign-up-form form .common-form-submit-btn{
    border-radius: 6px !important;
    -webkit-border-radius: 6px !important;
    -moz-border-radius: 6px !important;
    -ms-border-radius: 6px !important;
    -o-border-radius: 6px !important;
}

.sign-up-form form .common-form-submit-btn{
    width: 100% !important;
    margin-bottom: 0 !important;
}

.sign-up-form form .common-form-submit-btn:hover{
    box-shadow: unset !important;
}

/*************** TALENT NETWORK PAGE STYLE END ***************/

/*************** JOBS PAGE STYLE START ***************/
.light-brown-title span{
    color: #877551 !important;
}
.relocation-covered-description p span{
    font-family: 'Anton' !important;
    color: #ab2526 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.35px !important;
}
.strong-white p strong,
.strong-white p b{
    color: #FFFFFF !important;
    font-weight: 600 !important;
}
.ctm-job-loop-item-cta-btn-wrapper::after{
    content: '' !important;
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    background-color: #877551;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
.ctm-job-loop-item-cta-btn-wrapper:hover::after{
    width: calc(100% - 5px);
}
/*************** JOBS PAGE STYLE END ***************/

/*************** FOOTER STYLE START ***************/
.footer-menu ul {
    flex-direction: column !important;
    margin: 0 !important;
}

.footer-menu ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-menu ul li:not(:last-child) {
    margin-bottom: 14px !important;
}

.footer-menu ul li a {
    padding-bottom: 0 !important;
}

/*************** FOOTER STYLE END ***************/


/*************** MEDIA QUERIES START ***************/
@media(min-width: 980px) and (max-width: 1024px) {
    .h-logo {
        width: 200px !important;
    }
}

@media(max-width: 980px) {

    .how-it-works-item:not(:last-child)::after {
        display: none;
    }

    .achievement-grid-item:not(:last-child)::after {
        right: -25px;
    }

    .sign-up-form form .forminator-row{
        flex-direction: column !important;
        gap: 16px !important;
    }

    .sign-up-form form .common-form-field-left,
    .sign-up-form form .common-form-field-right{
        padding: 0 !important;
    }

    .footer-menu .et_pb_menu__menu,
    .privacy-menu .et_pb_menu__menu {
        display: block !important;
    }

    .footer-menu .et_mobile_nav_menu,
    .privacy-menu .et_mobile_nav_menu {
        display: none !important;
    }

}

@media(min-width: 768px) and (max-width: 980px) {
    .achievement-grid-item:not(:last-child)::after {
        right: -25px;
    }
}

@media(max-width: 767px) {
    .team-member-profile-image img {
        height: clamp(8.125rem, 4.0087rem + 20.5817vw, 13.875rem) !important;
    }
}

@media(min-width: 576px) and (max-width: 767px) {
    .achievement-grid-item:nth-child(odd)::after {
        content: '';
        position: absolute;
        width: 1px;
        height: 100%;
        right: 0;
        top: 0;
        background: #e0e0e0;
    }
}

@media(max-width: 575px) {

    .news-letter-form form {
        flex-direction: column !important;
    }

    .news-letter-form form:has(.forminator-has_error) .forminator-row {
        margin-bottom: 0px !important;
    }

    .news-letter-form form:has(.forminator-loading.forminator-show),
    .news-letter-form form:has(.forminator-response-message.forminator-success),
    .news-letter-form form:has(.forminator-has_error) {
        margin-bottom: 75px !important;

    }

    .news-letter-form form .forminator-response-message.forminator-success,
    .news-letter-form form .forminator-response-message.forminator-loading.forminator-show {
        font-size: 14px !important;
        line-height: 1.3em !important;
        bottom: -75px !important;
    }

    .news-letter-form form .forminator-error-message {
        line-height: 1.5em !important;
        bottom: -60px !important;
    }

    .common-width-100 {
        width: 100% !important;
    }

    .achievement-grid-item:not(:last-child)::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 1px;
        right: 0;
        left: 0;
        top: unset;
        bottom: -10px;
        background: #e0e0e0;
    }

    .common-grid,
    .live-in-field-image-gallery .et_pb_gallery_items {
        --column-count: 1 !important;
    }
}