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

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

.ouibounce-modal .modal {
    width: 600px;
    height: 460px;
    background-color: #F0F1F2;
    z-index: 1;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 4px;
    -webkit-animation: popin 0.3s;
    animation: popin 0.3s;
}

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

}

.ouibounce-modal .close {
    color: #FFFFFF;
    font-size: 30px;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -16px;
    text-decoration: none;
}

.ouibounce-modal .modal.result {
    height: 100px;
}

.ouibounce-modal .image_wrap {
    text-align: center;
    margin-bottom: 5px;
}

.ouibounce-modal h3 {
    color: #FFFFFF;
    font-size: 1em;
    margin: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 25px;

}

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

.ouibounce-modal p {
    color: #344A5F;
}

.ouibounce-modal .field {
    display: block;
    margin: 10px 0;
}

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

.ouibounce-modal form input[type=text] {
    padding: 12px;
    font-size: 1.2em;
    width: 300px;
    border-radius: 4px;
    border: 1px solid #CCCCCC;
    -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: #FFFFFF;
    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;
    }
}

.ouibounce-modal .footer-form-field {
    width: 100%;
}

.ouibounce-modal .modal {
    border-radius: 5px !important;
}

.ouibounce-modal .modal-title {
    padding: 15px !important;
}

.errArea {
    border: 1px solid #FF0000 !important;
    background-color: rgb(255, 238, 238) !important;
}

.ouibounce-modal {
    z-index: 9999;
}

.ouibounce-modal .image_wrap img {
    width: 100%;
}

.ouibounce-modal .modal {
    height: 680px;
    width: 750px;
}

.image_wrap {
    font-size: 30px;
    margin-bottom: 15px !important;
}

.image_wrap img {
    margin-bottom: 10px;
}

.msg-success {
    text-align: center;
    color: green;
    font-size: 22px;
    padding: 30px;
    width: 350px;
    font-family: Arial;
}

.popup-policy {
    font-size: 12px;
    text-align: center;
    padding: 10px 0px 20px 0px;
    color: #999999;
}

.popup-policy a {
    color: #227BB0;
}

@media screen and (max-width: 640px) {
    .ouibounce-modal .modal {
        width: 300px;
        height: 450px;
    }

    .ouibounce-modal .modal-body {
        padding: 20px 10px;
    }
}

.fancybox-skin {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.footer-form-btn {
    -webkit-appearance: none;
}
