body > #esp-site-wrap {
    position: static;
}

body.modal-open > #esp-site-wrap {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Container that the modal scrolls within */
.modal {
    display: none;
    position: fixed;
    outline: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0 20px;
    z-index: 99999;
    overflow-y: scroll;
    background: rgb(0, 0, 0);
    /* IE9/FF/chrome/safari supported */
    background: rgba(0, 0, 0, 0.6);
    /* IE 8 suppoerted */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000, endColorstr=#88000000)";
    /* Below IE7 supported */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000, endColorstr=#88000000);
}

.modal.fade {
    opacity: 0;
    -webkit-transition: opacity .2s linear;
    -moz-transition: opacity .2s linear;
    -ms-transition: opacity .2s linear;
    -o-transition: opacity .2s linear;
    transition: opacity .2s linear;
}

.modal.fade.in {
    opacity: 1;
    -webkit-overflow-scrolling: touch !important;
}

.modal-dialog {
    position: relative;
    top: -50%;
    width: auto;
    margin: 10px;
    -webkit-transition: top .4s ease-out;
    -moz-transition: top .4s ease-out;
    -ms-transition: top .4s ease-out;
    -o-transition: top .4s ease-out;
    transition: top .4s ease-out;
}

.modal.fade.in .modal-dialog {
    top: 0;
}

/* Actual modal */

.modal-content {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 10px;
    background-clip: padding-box;
    margin: 30px 0;
    min-height: 90px;
    outline: 0;
}

/* Modal header. Top section of the modal w/ title and dismiss */

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #EEEEEE;
}

.modal-header h4 {
    margin: 6px 70px 0 0;
}

/* Modal body. Where all modal content resides (sibling of .modal-header and .modal-footer) */

.modal-body {
    position: relative;
    padding: 20px;
}

/* Footer (for actions) */

.modal-footer {
    padding: 20px;
    text-align: right;
    border-top: 1px solid #EEEEEE;
}

.modal-scrollbar-measure {
    height: 50px;
    overflow: scroll;
    position: absolute;
    top: -9999px;
    width: 50px;
}

.modal-dialog {
    margin: 0 auto;
    width: 600px;
    max-width: 100%;
    z-index: 1040;
}

.modal-sm {
    width: 300px;
}

.modal-lg {
    width: 900px;
}

.modal-footer:before, .modal-footer:after {
    content: " ";
    display: table;
}

.modal-footer:after {
    clear: both;
}

.modal-footer {
    *zoom: 1;
}

body.wait,
.wait input {
    cursor: wait !important;
}

.alert-hide {
    display: none;
}

.modal .close {
    height: 50px;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 50px;
}

.modal-body h4 {
    margin: 6px 70px 15px 0;
}

/* Corner Popup */

.esp-forms-popup {
    background-color: #111111;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    bottom: -5px;
    max-width: 100%;
    overflow: hidden;
    padding: 20px 20px 25px;
    position: fixed;
    left: 0;
    width: 280px;
    display: none;
    z-index: 9999999;
}

.esp-forms-popup h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.esp-forms-popup p {
    font-size: 16px;
    margin-bottom: 20px;
}

.esp-forms-popup #esp-forms-popup-yes {
    float: left;
    margin: 0 20px 0 0;
    padding: 10px 35px;
}

.esp-forms-popup #esp-forms-popup-no {
    color: #F0F0F0;
    float: left;
    margin-top: 17px;
    padding: 0 10px

}

/* Form Styles */

.alert-error .required-marker {
    color: #CC0000;

}
.alert-error .espform-field-label-message{
	float: right;
}

.espform-form-field > *:last-child {
    margin-bottom: 0;
}

.espform-description {
    font-size: 0.9em;
    margin-top: -26px;
}

.espform-form-field {
    padding-bottom: 30px;
}

/* Hide completed fields */

.esp-form-hide-completed.has-errors .espform-form-field, .esp-form-hide-completed .esp-form-remove-has-errors {
    display: none;
}


.no-js .esp-form-hide-completed.has-errors .alert-error, .esp-form-hide-completed.has-errors .alert-error, .esp-form-hide-completed.has-errors .espform-submit, .esp-form-hide-completed.has-errors .espform-recaptcha, .esp-form-hide-completed.has-errors .espform-payment-field {
    display: block;
}

.esp-form-hide-completed.has-errors .esp-form-remove-has-errors {
    display: inline-block !important;
    margin-bottom: 20px;
}

.esp-form-hide-completed.has-errors .esp-form-remove-has-errors.hide-button {
    display: none;
}

/* No-Javascript CSS */

html.no-js #tabs ul, html.no-js #tabs #stripe {
    display: none;
}