@keyframes shake {
    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }
    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

a.btn_promo_popup {
   background-color: #7E6B56;
    color:#fff;
    display: inline-block;
    padding: 5px 10px;
    text-align: center;

    text-decoration: none;
    font-size: 17px;
    font-weight:  normal;


    animation: shake 1.82s cubic-bezier(.36, .07, .19, .97) both infinite;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;


}

a.btn_promo_popup:hover {
    background-color: #FFBB00;
    color:#fff;

}


.custom_promo_container {
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items:  stretch;
    margin-top:0px;
height: 100%;
}

.custom_promo_container .custom_promo_image {
 flex: 1;
 max-width: 300px;
}

.custom_promo_container .custom_promo_image img {
 width: 100%;
/*height: 100%;*/

}

.custom_promo_container .custom_promo_main {
 flex: 1;
 background-color: #fff;
 box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
 padding-top: 0px;
}


.custom_promo {
 background-color: #fff;
 padding:0px 25px;
/* max-width: 350px;   */
  position: relative;
}

.custom_promo h3 {
 text-align: center;
 font-size: 18px;
 padding-bottom: 4px;
 margin-bottom: 5px;
 margin-right: 30px;
 margin-top: 8px;
}

.custom_promo .p1 {
 display: block;
 font-size: 15px;
 text-align: center;
}

.custom_promo .p_only {
 display: block;
 font-size: 15px;
 text-align: center;
 color: #000;
 text-decoration: underline;
}
.custom_promo .pdesc {
 display: block;
 font-size: 15px;
 text-align: left;
 color: #000;
}

.custom_promo_not {
 display: block;
 font-size: 15px;
 color: #A9A9A9;
 text-align: center;
 margin-top: 20px;
}


.custom_promo input#promo_email {
 border: 2px solid #696969;
 border-radius: 2px;
 color: #000;
 line-height:55px;
 height:55px;
 text-indent: 10px;
 display: block;
 width: 100%;
}

.custom_promo label {
 display: block;
 margin: 5px 0px;
}

.custom_promo label input{
 appearance: checkbox;
height: 15px;
width: 15px;
}

.custom_promo a.custom_code_send {
 background-color: #FFBB00;
 color: #fff;
 display: block;
 padding: 6px 10px;
 font-size: 17px;
 text-align: center;
 margin-top: 10px;
 padding-left: 10px;
 padding-right: 10px;
 font-weight: bold;

}

.custom_promo a.custom_code_send:hover {
 background-color: #000;
 color: #fff;
}

.custom_promo a.custom_code_send_delivery {
 background-color: #FFBB00;
 color: #fff;
 display: block;
 padding: 6px 10px;
 font-size: 17px;
 text-align: center;
 margin-top: 10px;
 padding-left: 10px;
 padding-right: 10px;
 font-weight: bold;

}

.custom_promo a.custom_code_send_delivery:hover {
 background-color: #000;
 color: #fff;
}


.promo_counter {
    text-align: center;
    color:#FF0000;
    font-size: 22px;
    font-weight: bold;
    display: block;
    margin: 10px 10px;
}

.custom_promo_response {
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 2px 2px;
    font-size:12px;
}

.custom_promo_response strong, .custom_promo_response b {
   font-weight: 700;
}

.custom_promo_loader {
    background: url('/assets/images/myloader.gif') center no-repeat;
    text-align: center;
    clear: both;
    height: 25px;
    display: none;
}


.custom_promo .alert-success {
    background-color: #D1E7DD;
    color: #78A28E;
    border:1px solid  #78A28E;
}

.promo_code_border {
    border: 4px dashed #696969;
    width: 150px;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

a.view_products {
    padding: 10px 20px;
    font-weight: bold;
    display: inline-block;
    background-color: #FFBB00;
    color:#fff;
    font-size: 19px;
    margin-top: 25px;
}

.promo_counter .countdown span.item-hh {
    display: none;
}
.promo_counter .countdown span.item-hh + span.separator {
    display: none;
}

.btn_modal_close {
    position: absolute;
    top: 0;
    right: 0;
/*
    width: 35px;
    height: 35px;
    line-height: 35px;
    */
    background: #000;
    color: #fff;
    cursor: pointer;
    border: 0;

padding: 10px;
z-index: 999999;


}


.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 73, 94, 0.8);
    z-index: 100000;
    visibility: hidden;
    opacity: 0;
    transition: 0.7s;
}
.modalPromo {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 700px;
    height: 410px;
    margin-left: -350px;
    margin-top: -200px;
    background: #fff;
        padding: 10px;
    z-index: 1000009;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s ease-out;
    transform: translateY(45px);

    padding: 0px;
}
.active {
    visibility: visible;
    opacity: 1;
}
.active + .modalPromo {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.modal_popup_mobile_image {
    display: none;
}

.modal_popup_mobile_image img {
   width: 100%;
}


@media (max-width: 900px) {

    .modal_popup_mobile_image {
    display: block;
}

.modalPromo {
    position: fixed;
    top: 140px;
    left: 0%;
    width:  100%;
    height: 100%  ;
    margin-left: 0px;
    margin-top: 0px;
    background: #fff;
        padding: 10px;
    z-index: 100000000000;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s ease-out;
    transform: translateY(45px);

    padding: 0px;
}

.custom_promo h3 {
 text-align: center;
 font-size: 18px;
 padding-bottom: 4px;
 margin-bottom: 5px;
 margin-right: 0px;
}

    .custom_promo_container {
        max-width: none;
        margin: auto;
        display: flex;
        flex-direction:  column;
        justify-content: center;
        align-items:  stretch;
        margin-top:0px;
    }

    .custom_promo_container .custom_promo_image {
       display: none;
    }

.custom_promo_container .custom_promo_image img {
    width:  auto;
    height: 100px;
}

.custom_promo a.custom_code_send {

 padding: 5px 10px;
 font-size: 17px;


}









}