.ac-overlay {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999998 !important;
    opacity: 0;
}

.ac-container .fields {
    color: #444 !important;
    font-size: 16px !important;
    line-height: 1.5em !important;
}

.ac-container .res_con_overlay_btn {
    color: #616161;
    font-size: 14px;
    font-weight: normal1.5em !important;
    border: none1.5em !important;
    
}

.remember_me {
    margin-top: 12px;
}

.ac-container {
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif !important;
    width: 391px;
    position: fixed;
    padding: 20px 36px 20px 36px;
    z-index: 999999 !important;
    opacity: 0;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0px 0px 5px #000;
    font-weight: normal !important;
    background-color: #fff;
}

.ac-container input,
.ac-container select {
    display: inline-block !important;
}

.ac-container h2 {
    box-sizing: border-box;
    margin: 0px 0px 0px 0px;
    padding-bottom: 11px;
}

/*
.animated {
    font-size: 26px;
}*/

.ac-container h3 {
    box-sizing: border-box;
    color: #649D09;
    margin-bottom: 5px;
    margin-top: 15px;
    font-size: 1.3em;
}

.ac-container p {
    box-sizing: border-box;
    border-top: 1px dashed;
    margin: 0 0 20px 0;
    line-height: 30px;
    padding: 14px 0 0;
}

.i_accept_container {
    margin-bottom: 24px;
}

.ac-container .model_content,
.i_accept_container {
    font-size: 16px;
    border-color: #ccc;
    line-height: 24px;
}

.ac-container p strong {
    color: #FF1F1F;
}

.ac-container select,
.ac-container input {
    box-sizing: border-box;
    color: #555;
    padding: 0 10px !important;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    margin-right: 5px;
    border: 1px solid #ccc;
}

.ac-container input.day {
    box-sizing: border-box;
    font-size: 16px;
    height: 40px;
    width: 65px;
}

.ac-container input.year {
    box-sizing: border-box;
    width: 80px;
    font-size: 16px;
    height: 40px;
}

.ac-container select {
    box-sizing: border-box;
    height: 40px;
    font-size: 16px;
    padding-left: 4px;
}

.ac-container button {
    box-sizing: border-box;
    display: inline-block;
    margin-bottom: 0;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    /* padding: 8px 10px;*/
    padding: .375rem .75rem !important;
    font-size: 15px;
    line-height: 1.5;
    width: 100px;
    margin-top: 10px;
    margin-right: 10px;
}

.button_enter {
    color: #444;
}

.ac-container button:hover {
    box-sizing: border-box;
}

.ac-container .agp_errors {
    box-sizing: border-box;
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 18px;
    color: #FF1F1F;
    display: none;
}

.ac-container .agp_errors ul,
.ac-container .agp_errors li {
    box-sizing: border-box;
    padding: 0 0 3px 0;
    margin: 0 0 0 0;
    list-style: none;
}

.ac-container .agp_errors li span {
    box-sizing: border-box;
    font-size: 9px;
    background: #ebebeb;
    border: 1px solid #ccc;
    width: 14px;
    height: 14px;
    border-radius: 7px;
    display: inline-block;
    color: #FF1F1F;
    font-weight: bold;
    text-align: center;
    margin-right: 5px;
    line-height: 13px;
    position: relative;
    top: -2px;
    text-shadow: 1px 1px 0 #fff;
    font-family: arial;
}

.ac-container .fields {
    box-sizing: border-box;
    clear: both;
    margin: 10px 0 10px 0;
}

.ac-overlay {
    background: rgba(0, 0, 0, 0.98) none repeat scroll 0 0;
    bottom: 0;
    box-sizing: border-box;
    height: 100%;
    left: 0;
    opacity: 1;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 99998;
}

.product-preview-inner .ac-overlay {
    left: 325px;
}

.product-preview-inner .ac-container {
    opacity: 1;
    position: relative;
    left: 300px;
    top: 100px;
}

.ac-container .button_close {
    padding: 2px 6px !important;
    width: auto !important;
    position: absolute;
    right: -9px;
    top: -8px;
    z-index: 100;
}

.ac-container .button_enter {
    background: #F1F1F1;
}

#remember_me {
    margin: 0px !important;
}

.ac-container span[data-target='remember_me'] {
    margin-left: 10px !important;
}

@media (max-width: 650px) {
    .ac-container {
        box-sizing: border-box;
        left: 8% !important;
        margin-left: 0px;
        margin-right: 0;
        top: 50% !important;
        transform: translate(-5%, -50%);
        width: 93% !important;
    }
}

@media (max-width: 500px) {

    .ac-container select,
    .ac-container input.day,
    .ac-container input.year {
        box-sizing: border-box;
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
        width: 100%;
    }

    .ac-container button {
        box-sizing: border-box;
        display: block;
        width: 100%;
    }
}

.agp-wrapper {
    position: relative;
}

.overlay_content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #999;
    z-index: 9999;
    color: white;
}

.overlay_content {
    text-align: center;
}

.overlay_content:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}

.txt {
    display: inline-block;
    vertical-align: middle;
    padding: 10px 15px;
    position: relative;
    font-weight: bold;
}

.agp-wrapper {
    width: 100%;
}

.enc_data.hide {
    opacity: 0;
}

.agp_loading {
    background: url(../images/img-loading.gif) no-repeat center #068cd2;
    background-size: 32px 32px;
    width: 100%;
    height: 35px;
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 0px;
}

.fc-scroll-hide {
    overflow: hidden;
}

.fc-loader-btn {
    position: relative;
}

.ac-container .agp_errors {
    color: red !important;
    line-height: 1.5em !important;
}

.ac-container .success_message {
    color: green !important;
    line-height: 1.5em !important;
}

.ac-container .agp_errors ul,
.ac-container .agp_errors li {
    line-height: 1.5em !important;
}

.ac-container .fields select,
.ac-container .fields input {
    background-color: #fff !important;
}
