/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
#zagegate_overlay, #z-subscription-box-overlay {
    position: fixed;
    z-index: 100;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 999999;
    display: none;
}
#zagegate_modal, #z-subscription-box-modal {
    top: 50%;
    left: 50%;
    width: 480px;
    max-width: 90%;
    background: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    display: none;
}
#z-subscription-box-modal {
    width: 100%;
    max-width: 800px;
    padding: 50px;
}

#z-subscription-box-modal .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    border: 1px solid #e3e3e3;
}

#zagegate_modal h2 {
	padding-bottom: 0; 
}
#zagegate_modal p, #z-subscription-box-modal p {
	margin-bottom: 20px; 
}
#zagegate_modal .et_pb_button, #z-subscription-box-modal .et_pb_button {
	width: auto;
    -webkit-clip-path: none;
    clip-path: none;
    margin-right: 0;
    border-radius: inherit!important;
}
#z-subscription-box-modal .modal-wrapper {
    position: relative;
}
#z-subscription-box-modal #close-subscription {
    position: absolute;
    top: -40px;
    right: -40px;
    border: 2px solid #333;
    width: 30px;
    border-radius: 50%;
    z-index: 1000;
    color: #fff;
    background: #333;
    font-weight: 600;
}

#z-subscription-box-modal .gf_simple_horizontal .gform_confirmation_message {
    color: #666 !important;
    font-weight: 600;
}

@media screen and (max-width: 640px) {
    #z-subscription-box-modal {
        height: 100%;
        margin-top: 0 !important;
        border-radius: 0;
    }
}