/**
 * The style of the newsletter popup
 *
 * @author Your Inspiration Themes
 * @package YITH Newsletter Popup
 * @version 1.0.0
 */

.group:after {
    content:".";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
    overflow: hidden;
}

.yith-opened {
    overflow: hidden;
}

/* overlay */
.yithpopup_overlay {
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjciLz4KICAgIDxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjMDcwNzA3IiBzdG9wLW9wYWNpdHk9IjAuNyIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMGUwZTBlIiBzdG9wLW9wYWNpdHk9IjAuNyIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(0,0,0,0.7) 0%, rgba(7,7,7,0.7) 50%, rgba(14,14,14,0.7) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.7)), color-stop(50%,rgba(7,7,7,0.7)), color-stop(100%,rgba(14,14,14,0.7))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.7) 0%,rgba(7,7,7,0.7) 50%,rgba(14,14,14,0.7) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0.7) 0%,rgba(7,7,7,0.7) 50%,rgba(14,14,14,0.7) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0.7) 0%,rgba(7,7,7,0.7) 50%,rgba(14,14,14,0.7) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0.7) 0%,rgba(7,7,7,0.7) 50%,rgba(14,14,14,0.7) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3000000', endColorstr='#b30e0e0e',GradientType=0 ); /* IE6-8 */
    display: none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    z-index:998;
}

/* popup general */
.yithpopup_wrapper {
    background-color: white;
    padding: 6px;
    z-index:999;
    min-height: 330px;
    width: 670px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

#yith-popup-border{
    margin: 20px;
    min-height: 290px;
}

.yithpopup_wrapper a.close {
    width: 30px;
    height: 30px;
    background: transparent url('../close-popup.html') top left no-repeat;
    position: absolute;
    top: -10px;
    right: -16px;
    opacity: 1;
    cursor: pointer;
}


#yith-popup-right,#yith-popup-left{
    float: left;
    width: 310px;
    min-height: 272px;
    top: 10px;
    position: relative;
}

/* If not image */
div#yith-popup-right.yith-popup-full{
    width: 630px;
    top: 20px;
    right: 0;
}

div#yith-popup-right.yith-popup-full input.name-field.text-field,div#yith-popup-right.yith-popup-full input.email-field.text-field{
    width: 626px;
    left: -6px;
    position: relative;
}

div#yith-popup-right.yith-popup-full input.submit-field.newslettersubmit{
    left: -5px;
}

#yith-popup-left {
    left: -6px;
}

#yith-popup-right {
    right: -15px;
}
/* Top - Title */

h2#yith-popup-title{
    text-align: center;
    position: relative;
    top: -10px;
}

/* Left side - Image and checkbox */

figure#yith-popup-image{
    height: 240px;
}

figure#yith-popup-image img{
    max-width: 100%;
    max-height: 250px ;
}

.no-view.yith-popup-checkbox {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    float: left;
    border: none 0;
    background-color: transparent;
    margin: 0px 6px 0 0;
}

.yith-popup-checkzone {
    position: absolute;
    left: 20px;
    bottom: 0;
    padding-bottom: 20px;
}
/* Right side - description, newsletter and submit */
#yith-popup-right .price {
    position: relative;
    top: 6px;
}
#yith-popup-message{
    min-height: 146px;
    line-height: 20px;
}

.yith-popup-newsletter-form {
    height: 100px;
}

input.name-field.text-field,input.email-field.text-field {
    width: 296px;
}

.newslettertop, .newsletterbottom, .newslettersubmit {
    margin: 2px 0 0 0;
}

.newslettersubmit{
    float: right;
    position: relative;
    right: 20px;
    top: 2px;
}

.newsletterfields li {
    list-style: none;
}

.submit-field.newslettersubmit {
    position: relative;
    right: 0;
    line-height: 1.428571429;
    padding: 6px 10px;
    padding: 0.428571429rem 0.714285714rem;
    border-radius: 3px;
    box-shadow: none;
    border: none;
}

.submit-field.newslettersubmit:active{
    box-shadow: none;
}

#yithhider_yith-popup {
    line-height: 1.428571429;
    -webkit-appearance: none;
}

/* Media Queries */
@media (min-width: 768px) and (max-width: 979px) {

    .yithpopup_wrapper {
        height: 410px;
    }
}

@media(max-width: 767px) {

    .yith-popup-container{
        display: none;
    }

}
.yith-popup-container{
    display: none;
}