/*###################################
YITH Deals for WooCommerce
####################################*/
html.yith_wcdls_open,
html.yith_wcdls_open body {
    overflow: hidden !important;
}

.yith-wcdls-popup .yith-wcdls-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 10000;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.yith-wcdls-popup .yith-wcdls-wrapper {
    position: fixed;
    width: auto;
    height: auto;
    z-index: 20000;
    visibility: hidden;
}

.yith-wcdls-popup .yith-wcdls-main {
    padding: 25px 0;
    opacity: 0;
    background-color: #fff;
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
    -moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
    transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
    height: 100%;
    box-sizing: border-box;
}

.yith-wcdls-popup.open .yith-wcdls-wrapper {
    visibility: visible;
}
.yith-wcdls-popup.open .yith-wcdls-overlay {
    visibility: visible;
    opacity: 0.5; /*we need this for create overlay*/
}

.yith-wcdls-overlay {
    background-color: #000000;
}

.yith-wcdls-close {
    position: absolute;
    top: -30px;
    right: -5px;
    padding: 5px;
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
}

.yith-wcdls-close {
 color: #ffffff;
}

.yith-wcdls-popup.open .yith-wcdls-main {
    opacity: 1;
}

.yith-wcdls-popup.tred-flip-v .yith-wcdls-wrapper,
.yith-wcdls-popup.tred-flip-h .yith-wcdls-wrapper {
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px;
}

/*############## FADE-IN #############*/

.yith-wcdls-popup.fade-in .yith-wcdls-main {
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
}
.yith-wcdls-popup.fade-in.open .yith-wcdls-main {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

/*############# SLIDE-IN-RIGHT ############# */

.yith-wcdls-popup.slide-in-right .yith-wcdls-main {
    -webkit-transform: translateX(20%);
    -moz-transform: translateX(20%);
    -ms-transform: translateX(20%);
    transform: translateX(20%);
}
.yith-wcdls-popup.slide-in-right.open .yith-wcdls-main {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

/*############# SLIDE-IN-BOTTOM ############# */

.yith-wcdls-popup.slide-in-bottom .yith-wcdls-main {
    -webkit-transform: translateY(20%);
    -moz-transform: translateY(20%);
    -ms-transform: translateY(20%);
    transform: translateY(20%);
}
.yith-wcdls-popup.slide-in-bottom.open .yith-wcdls-main {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

/*############# SLIDE-IN-LEFT ############# */

.yith-wcdls-popup.slide-in-left .yith-wcdls-main {
    -webkit-transform: translateX(-20%);
    -moz-transform: translateX(-20%);
    -ms-transform: translateX(-20%);
    transform: translateX(-20%);
}
.yith-wcdls-popup.slide-in-left.open .yith-wcdls-main {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

/*############# SLIDE-IN-TOP ############# */

.yith-wcdls-popup.slide-in-top .yith-wcdls-main {
    -webkit-transform: translateY(-20%);
    -moz-transform: translateY(-20%);
    -ms-transform: translateY(-20%);
    transform: translateY(-20%);
}
.yith-wcdls-popup.slide-in-top.open .yith-wcdls-main {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

/*############# SCALE-UP ############# */

.yith-wcdls-popup.scale-up .yith-wcdls-main {
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
}
.yith-wcdls-popup.scale-up.open .yith-wcdls-main {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

/*############# 3D-FLIP-VERTICAL ############# */

.yith-wcdls-popup.tred-flip-v .yith-wcdls-main {
    webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateX(-70deg);
    -moz-transform: rotateX(-70deg);
    -ms-transform: rotateX(-70deg);
    transform: rotateX(-70deg);
}
.yith-wcdls-popup.tred-flip-v.open .yith-wcdls-main {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    transform: rotateX(0deg);
}

/*############# 3D-FLIP-VERTICAL ############# */

.yith-wcdls-popup.tred-flip-h .yith-wcdls-main {
    --webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateY(-70deg);
    -moz-transform: rotateY(-70deg);
    -ms-transform: rotateY(-70deg);
    transform: rotateY(-70deg);
}
.yith-wcdls-popup.tred-flip-h.open .yith-wcdls-main {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.yith-wcdls-popup .yith-wcdls-close {
    position: absolute;
    top: -30px;
    right: -5px;
    padding: 5px;
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
}

.yith-wcdls-popup .yith-wcdls-content {
    /*padding: 0 25px;*/
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    height: 100%;
    word-wrap: break-word;
}

.yith-wcdls-content .yith-wcdls-message {
    margin-bottom: 25px;
    font-size: 14px;
    padding: 10px 15px;
}
.yith-wcdls-content .yith-wcdls-message:before {
    content: '';
    display: inline-block;
    min-width: 30px;
    min-height: 30px;
    margin-right: 10px;
    float: left;
}
.yith-wcdls-content .yith-wcdls-message:after {
    display: table;
    content: '';
    clear: both;
}
.yith-wcdls-content .yith-wcdls-message span {
    display: block;
    overflow: hidden;
    line-height: 30px;
}

.yith-wcdls-content > img {
    max-width: 70%;
    max-height: 70%;
}

.yith-wcdls-buttons {
    display: inline;
    margin:10px;
}

.yith-wcdls-accept {
    margin-bottom: 15px;
}

@media only screen and (min-width: 425px) {
    .yith-wcdls-accept {
        margin-left:10px; margin-right: 10px;

    }
    .yith-wcdls-decline {
        margin-left:10px; margin-right: 10px;
    }
}


@media only screen and (max-width: 340px) {
    .yith-wcdls-accept {
        margin-left: -15px;
        margin-bottom: 15px;
    }
    .yith-wcdls-decline {
        margin-left: -15px;
    }
    .yith-wcdls-content  > img {
        display: none;
    }
}

@media only screen and (max-width: 760px) {

    .yith-wcdls-popup .yith-wcdls-content {
        padding: 0 50px;
    }

}

#yith-wcdls-popup .yith-wcdls-content.entry-content { overflow: auto; }