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

#ouibounce-modal .underlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 99999;
    left: 0;
    background-color: rgba(0, 0, 0, .85);
    cursor: pointer;
    -webkit-animation: fadein .5s;
    animation: fadein .5s
}

#ouibounce-modal .modal {
    overflow: hidden;
    width: 50%;
    height: 500px;
    background-color: #ce000c;
    z-index: 999999;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 4px;
    -webkit-animation: popin .3s;
    animation: popin .3s;
}

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

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

#ouibounce-modal .modal-body {
    padding: 20px 35px;
    font-size: .85em;
    color: #fff !important;
}

#ouibounce-modal button {
    padding: 8px 15px;
    color: #ffffff;
    text-transform: uppercase;
    background-color: #314199;
    border: 1px solid #314199;
    border-radius: 5px;
    display: block;
    text-align: center;
    margin-left: 27%;
    width: 280px;
    font-weight: bold;
}

#ouibounce-modal button:hover {
    background: #fff;
    color: #314199;
    border: 1px solid #fff;
}

#ouibounce-modal p {
    color: #ffffff;
    text-align: center;
}

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

#ouibounce-modal form input {
    padding: 8px 15px;
    margin-bottom: 5px;
    font-size: 1.1em;
    width: 250px;
    border-radius: 5px;
    border: 1px solid #ccc;
    -webkit-font-smoothing: antialiased;
}

#ouibounce-modal form input::placeholder {
    color: #000;
}

#ouibounce-modal form select {
    padding: 8px 10px;
    margin-bottom: 5px;
    font-size: 1.1em;
    width: 280px;
    border-radius: 5px;
    border: 1px solid #ccc;
    -webkit-font-smoothing: antialiased
}

#ouibounce-modal form input[type=submit] {
    text-transform: uppercase;
    font-weight: 700;
    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-top: 0px;
    padding-top: 0px;
    font-size: 1.125em;
    text-align: center;
    color: #fff !important;
}

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

#ouibounce-modal .modal-footer p {
    text-transform: capitalize;
    cursor: pointer;
    display: inline;
    border-bottom: 1px solid #fff;
    font-weight: bold;
    font-size: 1.125em;
}

@-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
    }
}


/* 
#ouibounce-modal .modal .ima-heading {
    font-size: 5em;
    font-weight: bold;
}

#ouibounce-modal .modal .ima-subheading {
    font-size: 2.475em;
    font-weight: bold;
}

#ouibounce-modal .modal .ima-para {
    font-size: 1.575em;
} */

#ouibounce-modal .modal .ima-heading {
    font-size: 4em;
    font-weight: bold;
}

#ouibounce-modal .modal .ima-subheading {
    font-size: 1.875em;
    font-weight: bold;
}

#ouibounce-modal .modal .ima-para {
    font-size: 1.2em;
}

@media only screen and (max-width: 600px) {
    #ouibounce-modal .modal {
        width: 90%;
        height: 520px;
    }
    #ouibounce-modal .modal-body {
        padding: 20px 20px;
    }
    #ouibounce-modal .modal .ima-heading {
        font-size: 4.25em;
    }
    #ouibounce-modal .modal .ima-subheading {
        font-size: 2em;
    }
    #ouibounce-modal .modal .ima-para {
        font-size: 1.225em;
    }
    #ouibounce-modal button {
        margin-left: 3%;
    }
}