body {
    position: relative;
}

.exitIntent {
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    background: #C4C4C4;
    background: linear-gradient(rgba(0, 0, 0, 0.5) 100%);

.exitIntent-dialogueBox {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 900px;
    min-height: 50px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    background: #ffffff;
    font-size: 16px;
}
@media (max-width: 680px){
    .exitIntent-dialogueBox {
        grid-template-columns: 1fr;
    }
}

 .exitIntent-dialogueBox #close-popup {
     position: absolute;
     display: flex;
     justify-content: center;
     align-items: center;
     top: 0;
     right: 0;
     width: 34px;
     height: 35px;
     padding-right: 1px;
     border-top-right-radius: 50%;
     border-bottom-left-radius: 15%;
     font-size: 20px;
     line-height: 41px;
     cursor: pointer;
     background-color: rgba(230, 50, 50, 1);
     color: #ffffff;
 }
.exitIntent-dialogueBox #close-popup:hover {
    background-color: rgba(230, 50, 50, 0.8);
}

.exitIntent-dialogueBox .exitIntent-header {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 0;
}
@media (max-width: 680px){
    .exitIntent-dialogueBox .exitIntent-header {
        grid-template-columns: 1fr;
    }
}

.exitIntent-dialogueBox .exitIntent-header h1 {
    grid-column: 1;
    margin-top: 8px;
    font-size: 34px;
    color: #005f96;
    font-weight: 600;
    line-height: 30px;
}
@media (max-width: 680px){
    .exitIntent-dialogueBox .exitIntent-header h1 {
        order: 1;
    }
}
            }

.exitIntent-dialogueBox .exitIntent-header p {
    grid-column: 1;
    margin: 0;
    display: inline-flex;
    width: 100%;
    align-self: flex-end;
    line-height: 20px;
}
@media (max-width: 680px){
    .exitIntent-dialogueBox .exitIntent-header p {
        order: 3;
    }
}


.exitIntent-dialogueBox .exitIntent-header img {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 200px;
    margin-left: 20px;
}
@media (max-width: 680px){
    .exitIntent-dialogueBox .exitIntent-header img {
        order: 2;
        grid-column: 1;
        grid-row: auto;
        justify-self: flex-start;
        width: 300px;
        margin: 20px 0 20px 0;
    }
}

.exitIntent-dialogueBox .exitIntent-form,
.exitIntent-dialogueBox .exitIntent-result{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
@media (max-width: 680px){
    .exitIntent-dialogueBox .exitIntent-form {
        grid-column: 1;
    }
}

.exitIntent-dialogueBox .exitIntent-form #exitIntent-textarea {
    display: block;
    width: 100%;
    padding: 10px;
    overflow: hidden;
    resize: both;
    min-height: 80px;
    line-height: 20px;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    transition: border 200ms ease-out, box-shadow 200ms ease-out;
    resize: vertical;
    outline: none;
}

.exitIntent-dialogueBox .exitIntent-form #exitIntent-textarea[contenteditable]:empty::before {
    color: #a3a3a3;
    transition: color 200ms ease-out;
}

.exitIntent-dialogueBox .exitIntent-form #exitIntent-textarea[contenteditable]:focus {
    border: 2px solid #005f96;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.exitIntent-dialogueBox .exitIntent-form #exitIntent-textarea[contenteditable]:empty::before {
    color: #777777;
}


.exitIntent-dialogueBox .exitIntent-form #exitIntent-email {
    width: 100%;
    height: 50px;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
    transition: border 200ms ease-out, box-shadow 200ms ease-out;
}
.exitIntent-dialogueBox .exitIntent-form #exitIntent-email::placeholder{
    color: #a3a3a3;
    transition: color 200ms ease-out;
}

.exitIntent-dialogueBox .exitIntent-form #exitIntent-email:focus {
    border: 2px solid #005f96;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.exitIntent-dialogueBox .exitIntent-form #exitIntent-email:focus::placeholder {
    color: #777777;
}

.exitIntent-dialogueBox .exitIntent-form .exitIntent-information {
    margin: 0;
    line-height: 20px;
}

.exitIntent-dialogueBox .exitIntent-form .form-group {
    display: block;
}
.exitIntent-dialogueBox .exitIntent-form .form-group  input[type=checkbox] {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

.exitIntent-dialogueBox .exitIntent-form .form-group  input[type=checkbox]:checked + label:after {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 6px;
    width: 6px;
    height: 9px;
    border: solid #0079bf;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.exitIntent-dialogueBox .exitIntent-form label {
    position: relative;
    cursor: pointer;
}
.exitIntent-dialogueBox .exitIntent-form label:before {
    content:'';
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #0079bf;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 7px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 5px;
}

.exitIntent-dialogueBox .exitIntent-form button {
    border-radius: 5px;
    padding: 7.5px 15px;
    text-align: center;
    font-size: 18px;
    background-color: #005f96;
    color: #ffffff;
    transition: all 250ms ease-out;
    border: none;
}
.exitIntent-dialogueBox .exitIntent-form button:hover {
    background-image: linear-gradient(rgba(255, 255, 255, 0.2) 0 0);
    color: #ffffff;
}

.exitIntent-dialogueBox .exitIntent-result {
    display: none;
    flex-direction: column;
}