#ouibounce-modal {
    font-family: 'Open Sans', sans-serif;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    height: 100%;
}

#ouibounce-modal .underlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    background-color: rgba(0,0,0,0.5);
    cursor: pointer;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
    display: flex;
}

.keep-watching p {
    padding-bottom: 0 !important;
    margin-bottom: 0;
    font-size: 1.4rem !important;
}

#ouibounce-modal .modal {
    width: 600px;
    height: 430px;
    background-color: #ffffff;
    z-index: 9;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    display: block;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    -webkit-animation: popin 0.3s;
    animation: popin 0.3s;
}

#ouibounce-modal .modal-title {
    font-size: 18px;
    background-color: #252525;
    color: #fff;
    padding: 10px;
    margin: 0;
    border-radius: 4px 4px 0 0;
    text-align: center;
}

#ouibounce-modal h3 {
    /* color: #fff; */
    /* font-size: 1em; */
    /* margin: 0.2em; */
    /* text-transform: uppercase; */
    /* font-weight: 500; */
}

#ouibounce-modal .modal-body {
    padding: 20px 35px;
    font-size: 0.9em;
}

#ouibounce-modal p {
    color: #344a5f;
    line-height: 1.3em;
    font-size: 1.2rem;
    padding-bottom: 10px;
}

#ouibounce-modal form {
    text-align: center;
    margin-top: 35px;
}

#ouibounce-modal form input[type=text] {
    padding: 12px;
    font-size: 1.2em;
    width: 300px;
    border-radius: 4px;
    border: 1px solid #ccc;
    -webkit-font-smoothing: antialiased;
}

#ouibounce-modal form input[type=submit] {
    text-transform: uppercase;
    font-weight: bold;
    padding: 12px;
    font-size: 1.1em;
    border-radius: 4px;
    color: #fff;
    background-color: #4ab471;
    border: none;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
}

#ouibounce-modal form p {
    text-align: left;
    margin-left: 35px;
    opacity: 0.8;
    margin-top: 1px;
    padding-top: 1px;
    font-size: 0.9em;
}

#ouibounce-modal .modal-footer {
    position: absolute;
    bottom: 20px;
    text-align: center;
    width: 100%;
}

#ouibounce-modal .modal-footer p {
    text-transform: capitalize;
    cursor: pointer;
    display: inline;
    border-bottom: 1px solid #344a5f;
}

@-webkit-keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes popin {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }

    85% {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@-ms-keyframes popin {
    0% {
        -ms-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }

    85% {
        -ms-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes popin {
    0% {
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }

    85% {
        -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

/* Custom */
.modal {
    border: 4px solid #eb3e32;
    padding: 1rem 2rem 1rem 2rem;
}

.modal-text {
    text-align: center;
    font-family: 'Roboto Condensed' !important;
}

.modal-text h1 {
    font-weight: 900;
    color: #eb3e32;
    padding-bottom: 0 !important;
    margin-bottom: 0px !important;
}

.modal-text h4 {
    color: #2c5b68;
    font-weight: 800;
    font-size: 1.6rem;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 15px;
    margin-bottom: 0;
}

.modal-text h3 {
    font-family: 'Roboto Condensed' !important;
    color: #2c5b68;
    font-weight: 800;
    font-size: 2.5rem;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.modal img {
    border-radius: 0px;
}

.lower-exit-text p {
    font-size: 18px;
    padding-bottom: 0;
    font-weight: 500;
    margin-bottom: 0 !important;
    font-family: 'Roboto Condensed';
    color: #3a3a3a !important;
    line-height: 23px !important;
    letter-spacing: normal;
}

.lower-exit-text {
    justify-content: center;
    align-items: center;
    align-content: center;
    margin-bottom: 1rem;
}

.button-area {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.keep-watching {
    padding: 1rem;
    cursor: pointer;
    border-radius: 10px;
    font-weight: 800;
    font-family: 'Roboto Condensed';
    border: 3px solid #2840a6;
    background-color: #ffff4c;
    color: #0831db;
    font-size: 1.3rem;
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.col-md-12.prefer-read-text {
    text-align: center;
    font-family: 'Roboto Condensed';
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    padding-top: 15px;
}

.prefer-read-text a {
    text-decoration: underline;
    color: #0831db;
}

span.timerTextAlt {
    text-decoration: underline;
}

.keep-watching {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgb(40 64 166);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
}

.keep-watching:hover {
    scale: 1.01;
    background-color: #ffff60;
}

.hide-x {
    position: absolute;
    right: 0;
    top: 0;
    padding-right: 1rem;
    padding-top: 0.5rem;
    font-weight: 800;
    cursor: pointer;
}

.hide-x:hover {
    scale: 1.1;
}
