﻿h2.sub-title {
	border-top: 10px solid #6ebdb4;
	padding-top: 16px;
}
.offer-border {
	border-top: 10px solid #6ebdb4;
	padding-top: 36px;
	padding-bottom: 36px;
	margin-bottom: 36px;
	border-bottom: 10px solid #6ebdb4;
}
div.offers div.offer {
	margin-left: 4px;
	margin-right: 4px;
}
.bg-banner {
	border-radius: 16px;
	margin: 10px;
	border: solid 1px #ddd;
	background-size: cover;
	background-position-x: right;
	margin: 8px auto;
	overflow: hidden;
}

@media (max-width: 780px) {
	.offers .offer {
		border: 0;
	}
	.offer-border {
		padding: 0px 16px;
		padding-bottom: 36px;
		margin-bottom: 0px;
	}
}
.background-image, .frost {
	position: fixed;
	top: 0px;
	z-index: 0;
	bottom: 0px;
	background-image: url("/images/xmas.webp");
	left: 0px;
	right: 0px;
	z-index: -1;
}
div.offer {
	position: relative;
	padding: 0px 100px;
	background: #fff;
	width: 742px;
	height: 400px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px #ddd solid;
	margin: 0px;
}

.outer-offer {
	margin: 64px auto;
	display: flex;
	position: relative;
	display: flex;
	
	justify-content: center;
	
}
.offer-text {				
	background: #fff;
	border: solid 1px #ddd;
	border-radius: 16px;
	margin-top: 64px;
}
.offer p {
	padding: 16px;
	margin: 0px;
	width: auto;
}
img.bow {
	position: absolute;
	top: -7px;
	left: -21px;
	right: 0px;
	width: 765px;
	max-width: calc(100% + 24px);
	z-index: 2;
	pointer-events: none;
}
a.cover {
	position: absolute;
	bottom: -10%;
	left: 0px;
	right: 0px;
	width: 450px;				
	max-width: 100%;				
	z-index: 0;
}
a.cover.bg-height {
	bottom: 0;
	top: 0;
}
a.cover .bg-square {
	width: 100%;
	height: auto;
	border-radius: 0;
	margin: 0;
}
a.cover .bg-newyear {
	padding-left: 40px;
}
a.cover .bg-square.bg-height  {
	height: 100%;
	width: auto;				
}
.bg-square.bg-height img {
	width: auto;
	height: 100%;
}
.wrap-bow {
	position: relative;
}
.wrap {
	position: absolute;
	padding: 16px;
	border-radius: 0 16px 16px 0;
	border: solid 1px #ddd;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	right: 0px;
	width: 292px;
	top: 0px;
	bottom: 0px;
	background: url(/images/xmas.webp);
	background-size: 450px;
}
.wrapping {
	background: url(/images/xmas.webp);
	background-size: 250px;
}
.outer-offer:nth-child(1) .wrap {
	background-position-x: -50px;
	background-position-y: -50px;
}
.outer-offer:nth-child(2) .wrap {
	background-position-x: -86px;
	background-position-y: -86px;
}
.outer-offer:nth-child(3) .wrap {
	background-position-x: -86px;
	background-position-y: -186px;
}
.outer-offer:nth-child:last-child .wrap {
	background-position-x: -186px;
	background-position-y: -16px;
}
.offer a.buy_now {
	background: #004d62;
	text-transform: uppercase;
	font-weight: 300;
	margin-top: 32px;
}
section {
	display: none;
}
section.selected {
	display: block;
}
ul.menu {
	display: flex;
	flex-direction: row;
	list-style-type: none;
	margin: 0;
	padding: 0;				
	justify-content: center;
}
ul.menu li {
	padding: 0px 24px;
	border-right: solid 2px #ddd;
	cursor: pointer;
}
ul.menu li div {
	border-bottom: 4px solid #004d6211;
	margin: 6px;
	pointer-events: none;
	padding-bottom: 10px;
	padding-left: 16px;
	padding-right: 16px;
}
ul.menu li.selected div {
	border-bottom: 4px solid #cb5654;				
}
ul.menu li div a {
	text-decoration: none;
}
ul.menu li.hamburger {
	display: none;
}
ul.menu li:nth-child(3) {
	border-right: 0;
}
img.title {
	width: 750px;
	margin-top: 16px;
	margin-bottom: 32px;
}

@media (max-width:780px) {
	.offers {
		flex-direction: column;
	}
	.bg-square {
		
	}
	.offer p {
		width: auto;
		margin-left: 8px;
	}
	.offer:last-child {
		border-top: solid 4px #6fbdb4;
		margin-top: 0px;
		padding-top: 0px;
	}
	.inline {
		display: block;
	}
	div.offer {
		width: calc(100% - 16px);
		display: flex;
		flex-direction: column;
		height: auto;
		padding: 0px;
		margin-left: 8px;
		box-sizing: border-box;
	}

	a.cover {
		position: relative;
		width: auto;
	}

	.wrap {
		position: relative;
		width: auto;
		border-radius: 0;
	}

	img.title {
		width: calc(100% - 16px);
	}

	img.bow {
		width: calc(100% - 4px);
        top: -2px;
        left: -3px;
        height: 53%;
	}
	
	img.bow.sq {
        width: calc(100% - 4px);
        top: 1px;        
        height: 42%;
	}
	
	img.bow.sq1 {               
        height: 44%;
		top: 0px;
	}
	
	img.bow.sq2 {   
		top: 1px;	
        height: 46%;
	}
	img.bow.sq3 {   		
        height: 51.5%;
	}
	img.bow.sq4 {   		
        height: 50%;
	}
	
	a.cover.bg-height {
		max-width: 100%;
	}

	.bg-square.bg-height img {
		max-width: 100%;
	}
		
	ul.menu li {
		display: none;
		border-right: 0;
		padding: 0px 8px;
		flex-basis: 60%;
	}
	ul.menu li.selected {
		display: block;
	}
	ul.menu li.hamburger {
		display: block !important;
		flex-basis: 50px;
		width: 50px;		
	}	
	
	ul.menu.expand {
		flex-direction: column;
	}
	ul.menu.expand li {
		display: block;
	}
	ul.menu.expand li.hamburger {
		display: none !important;
	}
}