/* Exit popup CSS */

.exit-popup-container {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 1);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1024;
    transition: .5s;
}

.exit-popup-container.show {
    display: flex;
}

.exit-popup .close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}

.exit-popup {
    display: flex;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.maingrid.thankyou {
    -ms-grid-rows: 296px;
    grid-template-rows: 296px;
    width: 100%;
}

.imagewrapper.thankyou {
    background-image: url("https://uploads-ssl.webflow.com/61110e948743c02c27610523/611371ddeca7c937a082a23a_CGI01%20-%20THE%20ESSENCE%20-%20POOL%20-%20200521.jpg");
}

#w-node-a70f4e06-362e-f5e5-8500-1314b1acc20c-27610524 {
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    -ms-grid-column-align: center;
    justify-self: center;
}

.textwrapper.thankyou {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}

.heading.thankyou {
    margin-bottom: 15px;
    padding-left: 0px;
}

.p.thankyou {
    padding-right: 0px;
    padding-left: 0px;
}

.paragaraphwrapper .p,
.textwrapper.thankyou .p.thankyou {
    color: #8C8C8C !important;
    font-weight: 400 !important;
}

.phone-container {
    display: flex;
    min-height: 36px;
    margin-top: 12px;
}

#phone-code,
#phone-number {
    box-sizing: border-box;
    border: solid 1px #cccccc;
    border-radius: 2px;
    letter-spacing: 1px;
    padding-left: 10px;
    background-color: #ffffff;
    color: #333333;
}

.phone-container #phone-code {
    width: 30%;
}

.phone-container #phone-number {
    width: calc(70% - 12px);
    margin-left: 12px;
}

.exit-popup-classes .crm_engagebay_form {
    box-shadow: none;
    margin-top: 0px;
    padding-top: 0px;
    padding-left: 8px;
}

.exit-popup-classes .crm_engagebay_form .form_group {
    margin-bottom: 5px;
    padding-top: 0px;
    padding-bottom: 0px;
}

#maingrid {
    display: flex;
    width: 100%;
}

#imagewrapper,
#textwrapper {
    width: 50%;
}

#imagewrapper {
    /* background-image: url(https://sunsetcove.mu/wp-content/uploads/sites/17/2022/08/2Futures-CGIS-SiteA.jpg); */
    background-size: cover;
    /* background-position: center; */
}

#textwrapper {
    padding-left: 10px;
    position: relative;
}

#textwrapper .headingwrapper,
#textwrapper .paragaraphwrapper,
#textwrapper .form-block.w-form,
#textwrapper #thankyou {
    transition: .8s;
}

#textwrapper.display-thankyou .headingwrapper,
#textwrapper.display-thankyou .paragaraphwrapper,
#textwrapper.display-thankyou .form-block.w-form {
    opacity: 0;
}

#textwrapper #thankyou {
    opacity: 0;
    display: none;
    transition: 2s;
}

#textwrapper.display-thankyou #thankyou {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 1;
}

.exit-popup .heading {
    font-size: 1.5em;
    line-height: 110%;
    margin-bottom: 6px;
    margin-top: 6px;
}

.exit-popup .p {
    font-size: 16px;
    line-height: 130%;
    margin-top: 6px;
}

.exit-popup .input-container button.form-input {
    padding: 16px 0px;
    cursor: pointer;
    font-size: 14px;
}

.engagebay-forms form {
    z-index: 1 !important;
}

.crm-form .crm_engagebay_form {
    padding: 16px !important;
}