.mfp-close {
    width: 24px;
    height: 24px;
    display: block;
    background: url(/local/templates/okimaki_2018_07/images/icon-form-close.svg) 50% no-repeat;
    position: absolute;
    right: 20px;
    top: 20px;
    text-decoration: none;
    text-align: center;
    padding: 0;
    cursor: pointer;
}
.sale-block {
	position:fixed;
	bottom:50px;
	right:20px;
	z-index:999;
}
.sale-container {
	max-width:442px;
	width:100%;
	background:#fff;
	border-radius:5px;
	border: 1px solid #EFECF4;
	padding:10px 40px;
	position:relative;
}
.sale-block .sale-title {
	background:#FB0D1B;
	padding:10px 20px;
	font-family: DINRoundPro,sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 21px;
	text-transform: uppercase;
	color:#fff;
	display:flex;
	align-items:center;
	position:absolute;
	top:-17px;
	left:20px;
	border-radius:5px;
}
.sale-block .sale-title:before {
	content:'';
	display:block;
	width:24px;
	height:20px;
	background: url('/local/templates/okimaki_2018_07/images/sale-icon.svg') center center no-repeat;
	margin:0 10px 0 0;
}
.sale-block .sale-item {
	display:flex;
	align-items:center;
	justify-content:space-between;
	flex-wrap:wrap;
}
.sale-block .sale-item .image {
	width:32%;
}
.sale-block .sale-item .image img {
	display:block;
	max-width:100%;
}
.sale-block .sale-item .text {
	width:calc(68% - 30px);
	margin:0 0 0 30px;
	font-family: DINRoundPro,sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 21px;
}
.sale-block .sale-item .text .buttons {
	display:flex;
	margin:20px -5px 0 -5px;
}
.sale-block .sale-item .text .buttons .button {
	width:calc(50% - 5px);
	border: 1px solid #ac79e0;
	border-radius:5px;
	margin:0 5px;
	height:40px;
	cursor:pointer;
	-webkit-transition: background-color .4s;
	-o-transition: background-color .4s;
	transition: background-color .4s;
}
.sale-block .sale-item .text .buttons .button.apple-button {
	background: url('/local/templates/okimaki_2018_07/images/apple-button.svg') center center no-repeat;
}
.sale-block .sale-item .text .buttons .button.android-button {
	background: url('/local/templates/okimaki_2018_07/images/android-button.svg') center center no-repeat;
}
.sale-block .sale-item .text .buttons .button:hover {
	background-color: rgba(99,62,142,.1);
}
@media (max-width: 540px) {
.sale-block {
    bottom: 0px;
    right: 0px;
}
.sale-container {
	max-width:100%;
	padding:20px 30px;
	box-sizing:border-box;
}
.sale-block .sale-title {
	padding:10px 20px;
	font-size: 12px;
	line-height: 15px;
	top:-17px;
	left:30px;
}
.sale-block .sale-title:before {
	width:17px;
	height:14px;
	margin:0 5px 0 0;
}
	
}
@media (max-width: 480px) {
.sale-container {
	padding-bottom:80px;
}
.sale-block .sale-item .text .buttons {
    display: flex;
    margin: 20px 0 0 0;
    position: absolute;
    top: calc(100% - 90px);
    left: 30px;
    right: 30px;
}
.sale-block .sale-item .text .buttons .button {
	width:100%;
	margin:0;
}
.sale-block .sale-item .text .buttons .hidesale {
	display:none;
}
.sale-block .mfp-close {
	width:16px;
	height:16px;
}
}






