/*
 * This file belongs to the YIT Framework.
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-3.0.txt
 */

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

.yit-opened {
    overflow: hidden;
}

/* overlay */
.yitpopup_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 */
.yitpopup_wrapper {
    background-color: white;
    padding: 6px;
    z-index:999;
    min-height: 330px;
    width: 680px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

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

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


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

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

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

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

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

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

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

/* Left side - Image and checkbox */

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

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

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

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

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

input.name-field.text-field,input.email-field.text-field {
    width: 100%;
}

.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;
}

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

.newsletter-section.newsletter-shortcode ul {
    list-style: none;
}

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

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

    .yitpopup_wrapper {
        height: 410px;
    }
}

@media(max-width: 767px) {

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

}