/* PopUps */
.overlay-dark {
	background: rgba(0,0,0,.4);
	position: fixed;
	top:0;
	left:0;
	overflow: hidden;
	z-index: 500;
	display: none;
	width: 100%;
	height: 100%;
}
.overlay-dark.active {
	display: block;
}
body.fixed {
}
.popup-wrapper {
	background-color: #fff;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	display: none;
	font-size: 16px;
	left: 30%;
	opacity: 0;
	padding: 35px;
	position: absolute;
	top: 30%;
	-webkit-transition: opacity 0.3s ease 0s;
	-moz-transition: opacity 0.3s ease 0s;
	transition: opacity 0.3s ease 0s;
	z-index: 1500;
}
.popup-wrapper::after {
	display: table;
	content: "";
	clear: both;
}
.popup-wrapper.active {
	display: block;
}
.popup-wrapper.simple.visible, .popup-wrapper.extended.visible, .popup-wrapper.email.visible, .popup-wrapper.register.visible, .popup-wrapper.matresses.visible {
	opacity: 1;
	-webkit-transition: opacity 0.3s ease 0s;
	-moz-transition: opacity 0.3s ease 0s;
	transition: opacity 0.3s ease 0s;
}
.popup-wrapper .content-wrap {
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	width: 100%;
}
.popup-wrapper .content-wrap.with-image {
    float: left;
    min-height: 1px;
    padding: 0 15px;
    width: 66.66666667%;
}
.popup-wrapper .top-line img {
	max-width: 50%;
}
.popup-wrapper .img-wrap {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    float: left;
    padding: 0 15px;
    width: 33.33333333%;
}
.popup-wrapper .img-wrap img {
	max-width: 100%;
}
.popup-wrapper .h3 {
    font-size: 24px;
    font-weight: 600;
    color: #444;
    margin-bottom: 15px;
}
.popup-wrapper .description {
	color: #8c8c8c;
	margin-bottom: 10px;
}
.popup-wrapper .btn-link {
	background: #09f;
	display: inline-block;
	color: #fff;
	font-style: normal;
	padding: 10px 15px;
	text-decoration: none;
}
.popup-wrapper .close-popup {
	cursor: pointer;
    position: absolute;
    top: 0;
    font-style: normal;
    right: 0;
    color: #a0a0a0;
    display: inline-block;
    padding: 5px;
    text-decoration: none;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}
.popup-wrapper .close-popup:hover, .popup-wrapper .close-popup:focus, .popup-wrapper .close-popup:active {
	color: #151515;
}

.popup-wrapper.simple {
	background: rgba(0,0,0,0) url("/popup/misc/popup-bg.jpg") no-repeat scroll 0 0;
}
.popup-wrapper.simple .h3, .popup-wrapper.simple .description {
	color: #fff;
}

.popup-wrapper.extended, .popup-wrapper.email {
    border-radius: 4px;
    box-shadow: 0 0 15px 0 rgba(0,0,0,.4);
}
.popup-wrapper.extended .btn-link {
	background: #09f;
	border-radius: 4px;
}

/* PopUp email / login */
.popup-wrapper.email, .popup-wrapper.register {
	padding: 0;
	text-align: center;
}
.popup-wrapper.email .top-line, .popup-wrapper.register .top-line {
	margin-bottom: 0;
}
.popup-wrapper.email .content-wrap, .popup-wrapper.register .content-wrap {
	background: #b20032 url("/popup/misc/popup-bg.jpg") no-repeat scroll 0 0;
	padding: 15px;
	position: relative;
}
.popup-wrapper.email .h3, .popup-wrapper.register .h3 {
	color: #fff;
	text-shadow: 0 2px 0 rgba(0,0,0,.4);
}
.popup-wrapper.email .description, .popup-wrapper.register .description {
	color: #fff;
	font-weight: 600;
	text-shadow: 0 2px 0 rgba(0,0,0,.4);
}
.popup-wrapper .user-email {
	margin: 15px 0;
}
.popup-wrapper.email .user-email.incorrect input {
    border: 2px solid #f30;
    box-shadow: 0 0 12px 2px #f30;
}
.popup-wrapper.email .user-email input {
    border-radius: 4px;
    border: 2px solid #4b97e3;
    display: block;
    margin: 0 auto 15px;
    outline: none;
    box-shadow: none;
    padding: 15px 5px;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    width: 50%;
}
.popup-wrapper.email .user-email button {
    background: #8eb810;
    border-radius: 4px;
    box-shadow: 0 0 2px 1px rgba(0,0,0,.2);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    padding: 15px 35px;
    text-transform: uppercase;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}
.popup-wrapper.email .user-email button:hover, .popup-wrapper.email .user-email button:focus, .popup-wrapper.email .user-email button:active {
	background: #10b854;
}
.popup-wrapper.email .hint {
    background: #fff;
    top: -30px;
    left: 0;
    opacity: 0;
    padding: 5px;
    position: absolute;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    color: #f30;
    font-weight: 600;
    width: 100%;
    pointer-events: none;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}
.popup-wrapper.email .hint.active {
	opacity: 1;
}

.popup-wrapper.register .btn-login {
	display: inline-block;
	padding: 15px 25px;
}

.popup-wrapper .top-line {
	font-size: 18px;
	margin-bottom: 15px;
	text-align: center;
	text-transform: uppercase;
}
.popup-wrapper.email .top-line, .popup-wrapper.register .top-line {
	padding: 35px 5px;
}
.popup-wrapper.email .bottom-line, .popup-wrapper.register .bottom-line {
	font-size: .75em;
	padding: 35px 5px;
}
.popup-wrapper .refuse {
	cursor: pointer;
}
.popup-wrapper.register .h4, .popup-wrapper.register h4 {
	color: #000;
}
.popup-wrapper.register .btn-login, .popup-wrapper.register .btn-register {
    background: #fff;
    border: 3px solid #fff;
    border-radius: 4px;
    color: #730487;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    margin: 10px;
    padding: 15px 25px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.popup-wrapper.register .btn-login:hover, .popup-wrapper.register .btn-register:hover,
.popup-wrapper.register .btn-login:focus, .popup-wrapper.register .btn-register:focus,
.popup-wrapper.register .btn-login:active, .popup-wrapper.register .btn-register:active {
    background: transparent;
	color: #fff;
}
.popup-wrapper.register .refuse {
	color: #730487;
}
/* Popup matresses */
.popup-wrapper.matresses {
	padding: 0;
	text-align: center;
}
.popup-wrapper.matresses .top-line {
	padding: 15px;
}
.popup-wrapper.matresses .top-line img {
	display: inline-block;
	max-width: 150px;
}
.popup-wrapper.matresses .description {
	color: #000;
	font-size: 18px;
	margin-bottom: 10px;
	padding: 0 15px;
	text-transform: uppercase;
}
.popup-wrapper.matresses .h3 .old-model, .popup-wrapper.matresses .h3 .new-model {
	color: #0093dd;
	font-size: 24px;
	font-weight: 600;
	padding: 0 15px;
	text-decoration: none;
	text-transform: uppercase;
}
.popup-wrapper.matresses .h3 .new-model {
	-webkit-transition: all 0.2s ease 0s;
	-moz-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
	text-decoration: underline;
}
.popup-wrapper.matresses .h3 .new-model:hover, .popup-wrapper.matresses .h3 .new-model:focus, .popup-wrapper.matresses .h3 .new-model:active {
	color: #006ba0;
	text-decoration: none;
}

.popup-wrapper.matresses .h3 .arrows {
    color: #000;
    font-weight: 600;
    margin: 0 15px;
    position: relative;
    font-size: 14px;
    bottom: 4px;
}


/* Bottomline styles */
.popup-wrapper.matresses .bottom-line {
	background: #3aace5;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,.2) inset;
	color: #fff;
	padding: 35px 15px;
	position: relative;
}
.popup-wrapper.matresses .bottom-line::before {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-top: 15px solid #2f8bb9;
    content: "";
    display: block;
    left: 48%;
    position: absolute;
    top: 2px;
}
.popup-wrapper.matresses .bottom-line::after {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-top: 15px solid #fff;
    content: "";
    display: block;
    left: 48%;
    position: absolute;
    top: 0;
}

.popup-wrapper.matresses .bottom-line .h4 {
	color: #fff;
	font-size: 1.2em;
	margin-bottom: 15px;
}
.popup-wrapper.matresses .bottom-line p {
	margin-bottom: 25px;
}

.popup-wrapper.matresses .bottom-line .btn-link {
	background: #fff;
	border: 2px solid transparent;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,.2);
	color: #0085c7;
	display: block;
	font-size: .8em;
	font-weight: 600;
	margin: 0 auto;
	padding: 15px 35px;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-transition: all 0.2s ease 0s;
	-moz-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
	max-width: 250px;
}

.popup-wrapper.matresses .bottom-line .btn-link:hover {
    background: #3aace5;
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
    border: 2px solid #fff;
    color: #fff;
}

/* Bottom slider styles */
.popup-wrapper.bottomline {
	background: #5C258D;
	background: -webkit-linear-gradient(left, #4389A2, #5C258D);
	background: -moz-linear-gradient(left, #4389A2, #5C258D);
	background: linear-gradient(to right, #4389A2, #5C258D);
	bottom: -120px;
	left: 0;
	height: 120px;
	opacity: 1;
	top: inherit;
	-webkit-transition: bottom 0.3s ease 0s;
	-moz-transition: bottom 0.3s ease 0s;
	transition: bottom 0.3s ease 0s;
	width: 100%;
	will-change: bottom;
	z-index: 400;
}

.popup-wrapper.bottomline.visible {
	bottom: 0;
}

.popup-wrapper.bottomline .content-wrap {
	margin: 0 auto;
	max-width: 1280px;
	max-width: 65vw;
}

.popup-wrapper.bottomline .left-side, .popup-wrapper.bottomline .right-side {
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	float:left;
	padding: 0 15px;
	position: relative;
	width: 50%;
}

.popup-wrapper.bottomline .h3 {
	color: #fff;
	font-size: 24px;
	font-weight: 600;
	text-shadow: 0 2px 1px rgba(0,0,0,.4);
}
.popup-wrapper.bottomline .description {
	color: #fff;
}
.popup-wrapper.bottomline .slideup {
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 24px;
    position: absolute;
    top: -70px;
    right: 15px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    text-align: center;
    display: block;
    background: #573991;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    padding-top: 10px;
}
.popup-wrapper.bottomline .slideup span:nth-child(2) {
	display: none;
}
.popup-wrapper.bottomline.visible .slideup span:nth-child(1) {
	display: none;
}
.popup-wrapper.bottomline.visible .slideup span:nth-child(2) {
	display: block;
}

.popup-wrapper.bottomline.visible .slideup span {
	display: block;
	-webkit-transform: rotate(180deg);
	   -moz-transform: rotate(180deg);
	    -ms-transform: rotate(180deg);
	        transform: rotate(180deg);
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}
.popup-wrapper.bottomline .slideup span {
	-webkit-transform: rotate(0deg);
	   -moz-transform: rotate(0deg);
	    -ms-transform: rotate(0deg);
	        transform: rotate(0deg);
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;        
}

@media only screen and (max-width: 500px) {
	.popup-wrapper .img-wrap {
		margin-top: 15px;
		margin-bottom: 15px;
		width: 100%;
	}
	.popup-wrapper .content-wrap.with-image {
		width: 100%;
	}
	.popup-wrapper.matresses .h3 .old-model {
		color: #8c8c8c;
		display: block;
		text-decoration: line-through;
	}
	.popup-wrapper.matresses .h3 span {
		display: none;
	}
}


.popup-wrapper.nightaction
{
padding: 0;
font-family: "Comfortaa","Roboto", Helvetica, Arial, sans-serif;
}

 .popup-wrapper.nightaction .p-footer
{
text-align: center;
padding: 20px;
}
.popup-wrapper.nightaction .p-header
{
text-align: center;
padding: 15px;
font-size: 24px;
font-weight: bold;
letter-spacing: 1.5px;
}
.popup-wrapper.nightaction .p-header span
{
color:  #950082;
}
.popup-wrapper.nightaction .description
{
background: url(/upload/img/popup-night-bg.jpg) no-repeat 0 0/cover;
padding: 15px 0;
margin: 0;
position: relative;
}
.popup-wrapper.nightaction .description h3
{
color: white;
text-align: center;
padding: 0;
margin: 0;
font-size: 24px;
font-weight: bold;
letter-spacing: 1.5px;
color:  white;
margin-bottom: 15px; 

}
.popup-wrapper.nightaction .description .info-1 
{
text-align: center;
}

.popup-wrapper.nightaction .description .info-1 .center-block
{
display: inline-block;
vertical-align: top;
}
.popup-wrapper.nightaction .description .info-1 .btn-block
{
position: relative;
display: inline;

}
.popup-wrapper.nightaction .description .info-1 .btn-link
{
font-size: 24px;
color: white;
padding: 8px 20px;
background:  #950082; 
margin-top: 15px; 

}
.popup-wrapper.nightaction .description .info-1 .btn-link.popup-close
{
display: none;
position: absolute;
left: 0;
}


.popup-wrapper.nightaction .description .info-1 .procent,
.popup-wrapper.nightaction .description .info-1 .label-info
{
width: 150px;
height: 150px;	
text-align: center;
display: inline-block;
vertical-align: top;
font-weight: bold;    
border-radius: 100%;  
letter-spacing: 1.5px;

}
.popup-wrapper.nightaction .description .info-1 .procent
{

background: #950082;  
padding-top: 40px;
font-size: 51px;
color: white;
margin-right: 40px;

}
.popup-wrapper.nightaction .description .info-1 .label-info
{

background: #939092;
padding-top: 45px;
font-size: 24px;   
color: black;
margin-left: 40px; 

}
@media (max-width: 800px)
{
.popup-wrapper.nightaction .description .info-1 .label-info
{
	display: none;
}
}
@media (max-width: 530px)
{
.popup-wrapper.nightaction .description .info-1 .procent
{
	margin: 0;
}
.popup-wrapper.nightaction .countdown-p .inline-block 
{
	margin-bottom: 10px;
}
}

.popup-wrapper.nightaction .countdown-p 
{
margin-top: 30px;
font-size: 40px;
text-align: center;
font-family: "Roboto", Helvetica, Arial, sans-serif;
}
.popup-wrapper.nightaction .countdown-p .inline-block:first-child
{
margin-left: 0px;
}
.popup-wrapper.nightaction .countdown-p .inline-block
{
display: inline-block;
margin-left: 20px;
line-height: 1;
color: white;
border:1px solid white;
padding: 15px 20px;
background: #ffffff36;
}
.popup-wrapper.nightaction .countdown-p .inline-block p
{
margin: 0;
line-height: 1;
font-size: 15px;
text-align: center;
}


.popup-wrapper.nightaction .description .info-1
{

position: relative;

}
.popup-wrapper.nightaction .description .info-1 .abs-text 
{

position: absolute;
padding: 44px;
top: 0;
left: 0;
right: 0;
color: white;
display: none;
text-align: center;

}
.popup-wrapper.nightaction .description .info-1 .abs-text p
{

font-size: 24px;
letter-spacing: 1.5px;
line-height: 1.5;
margin:0;

}

