@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&subset=cyrillic');
@import url('https://fonts.googleapis.com/css?family=Passion+One:400');

/* CSS Document */
html, body{
	height: 100%;
}

body{
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	line-height: 26px;
	height: 100%;
}

#mainBox{
	min-height: 100%;
	position: relative;
	/*padding-bottom: 70px;*/
	box-sizing: border-box;
	background: url(images/bodyBg.png) center;
}

div.content{
	max-width: 1024px;
	margin: auto;
	overflow: hidden;
	position: relative;
	padding: 0 20px;
}

div.content p{
	margin: 5px 0;
}
div.content a{
	color: #15541a;
	text-decoration: none;
}
div.content ul{
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
div.content li{
	display: inline-block;
	text-align: center;
}

#mainBox > div{
	overflow: hidden;
}

/* HEADER */
div#headerBox{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	overflow: visible;
	height: 100px;
	background: url(images/bodyBg.png) no-repeat center top;
	border-bottom: 5px solid #f7a61b;
}
#headerBox .content{
	overflow: visible;
}
#headerBox .content:after {
	content: '';
	clear: both;
	display: block;
	height: 0;
}
#headerBox .logo {
	height: 100px;
	padding-right: 75px;
}
#headerBox .logo span{
	display: table;
	height: 100%;
	width: 40%;
}
#headerBox .logo a{
	display: table-cell;
	vertical-align: middle;
}
#headerBox .logo img{
	max-height: 80px;
	max-width: 100%;
	vertical-align: middle;
}
#brandLogo{
	float: left;
}
#affLogo{
	float: right;
	text-align: right;
}
#langs{
	float: right;
	position: relative;
	color: #fff;
	margin-left: 20px;
	top: 25px;
	padding: 10px;
}
#langs span{
	cursor: pointer;
	position: relative;
	padding-right: 20px;
}
#langs span:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 2px;
    border: 6px solid transparent;
    border-top: 8px solid #fff;
}
#langs div{
	display: none;
	position: absolute;
    top: 40px;
    right: 8px;
	background: #fff;
	padding: 10px;
	box-shadow: 0 0 5px #000;
}
#langs a{
	display: block;
	padding: 2px 4px;
	text-align: center;
	font-size: 18px;
}
#langs a:hover{
	background: #15541a;
	color: #fff;
}
#langs a.hide{
	display: none;
}

/* bgImg */
#bgImg{
	background-image: url(images/parallax_bg.jpg);
	background-position: 0 0;
	animation: bgAnim 50s linear infinite;
	height: 720px;
}
#bgImg.noAnim{
	background: none;
	animation: none;
}
@keyframes bgAnim {
  0% {
    background-position: 1920px 0;
  }
  100% {
    background-position: 0 0;
  }
}
#bgImg img{
	position: relative;
    left: 50%;
    margin-left: -960px;
	display: block;
	visibility: hidden;
}
#bgImg.noAnim img{
	visibility: visible;
	position: absolute;
}

#itemsBox{
	position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#itemsBox.noAnim{
	display: none;
}
#itemsBox.noAnim img{
	animation: none;
}
#itemsBox .content{
	top: 150px;
	white-space: nowrap;
	text-align: right;
	overflow: visible;
}
#itemsBox img{
	position: relative;
	max-width: 100%;
}
#itemsBox .item1{
	float: left;
}
#itemsBox .item2{
	float: right;
	animation-direction: alternate-reverse;
	top: 130px;
}
#itemsBox .item3{
	left: -200px;
}

#itemsBox img{
	animation: itemsAnim 3s infinite linear;
	transform-origin: bottom center;
}

@keyframes itemsAnim {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
	100% {
		transform: translateY(0);
	}
}
/*
@keyframes itemsAnim {
	30% {
		filter: saturate(1);
	}
	60% {
		filter: saturate(3);
	}
	90% {
		filter: saturate(1);
	}
}
*/

/* OFFERS */
#offersBox{
	position: relative;
}
#offersTxtBox{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#offersTxtBox .displayTable{
	display: table;
    height: 100%;
    width: 100%;
}
#offersTxtBox .displayTableCell{
	display: table-cell;
    vertical-align: middle;
}
#offersTxtBox .content{
	margin-top: 90px;
	overflow: visible;
}
#offersTxt{
	/*float: left;*/
	text-transform: uppercase;
	text-shadow: 0 0 5px #000;
	margin: auto;
    max-width: 340px;
}
#offersTxt > div{
	padding: 30px;
	box-sizing: border-box;
	max-width: 390px;
	color: #fff;
	text-align: center;
}
#mainOffers{
	background: rgba(0, 0, 0, 0.5);
	position: relative;
}
#mainOffers:before,
#mainOffers:after{
	content: url(images/holder.png);
	position: absolute;
	left: 50%;
	top: -100px;
	margin-left: 90px;
}
#mainOffers:after{
	margin-left: -115px;
}
#mainOffers p{
	font-size: 20px;
	line-height: normal;
	font-family: 'Passion One', cursive;
	color: #99e953;
}
body.ru #mainOffers p{
	font-family: 'Roboto', sans-serif;
}
body.ru #mainOffers .line3{
	font-family: 'Passion One', cursive;
}
#mainOffers .line1{
	font-size: 30px;
	line-height: 30px;
}
#mainOffers .line3{
	font-size: 90px;
    /*line-height: 74px;*/
	color: #fff;
	/*font-weight: bold;*/
	position: relative;

	background: -webkit-linear-gradient(50deg, #99e953 50%, #fff 70%, #99e953 80%);
	background-size: 300%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
  	animation: offerAnim 3s linear infinite;
	
	text-shadow: none;
	-webkit-text-stroke: 2px #3b4b4e;
}
@keyframes offerAnim {
	80% { background-position: 0 0; }
  	100% { background-position: -150% 0; }
}

#mainOffers .line4{
	color: #fb9413;
}

#cta{
	color: #fff;
	display: block;
	padding: 20px;
	font-size: 26px;
	font-weight: bold;
	margin-top: 25px;
	position: relative;
	background: #7cbf42;
	/*background: linear-gradient(to bottom, #fd1d7c 0%,#9f0748 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fd1d7c', endColorstr='#9f0748',GradientType=0 );*/
	box-shadow: 0 4px 0 #5d942d, 0 6px 0 #fff;
	border-radius: 5px;
}
#cta:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: rgba(255,255,255,0.4);
}
#cta:hover:after {
	width: 120%;
	background-color: rgba(255,255,255,0);
	transition: all 0.4s ease-in-out;
}

/* STEPS */
#stepsBox{
	text-transform: uppercase;
	/*background: #000;*/
	border-top: 5px solid #f7a61b;
}
#stepsBox .content{
	padding: 40px 20px 50px;
}
#stepsBox li{
	width: 33.3%;
	float: left;
    box-sizing: border-box;
	padding: 2px 10px;
}
#stepsBox li img{
	display: block;
	margin: auto;
	padding: 10px;
}
#stepsBox li a{
	font-size: 24px;
	color: #fff;
	font-weight: bold;
	display: block;
}
#stepsBox a:hover img{
	animation: stepHover 0.5s linear;
}
@keyframes stepHover {
	from {
	  transform: rotateY(0deg);
	}
	to {
	  transform: rotateY(-360deg);
	}
}

/* FOOTER */
#footerBox{
	background: #15541a;
	/*
	position: absolute;
	bottom: 0px;
	left: 0;
	height: 70px;
	width: 100%;
	*/
}
#footerBox ul{
	text-align: center;
	padding: 5px 0;
}
#footerBox li{
	vertical-align: middle;
	padding: 10px;
}

/* MEDIA */
@media screen and (max-width: 950px){
	/*
	#itemsBox .content {
		transform: scale(0.7);
		transform-origin: bottom left;
		overflow: visible;
	}
	*/
	#itemsBox .item2{
		/*display: none;*/
	}
}
@media screen and (max-width: 850px){
	/*
	#itemsBox .content {
		transform: scale(0.6);
	}
	*/
}
@media screen and (max-width: 750px){
	#stepsBox li a{
		font-size: 20px !important;
	}
	/*
	#itemsBox .content {
		transform: scale(0.5);
	}
	*/
}
@media screen and (max-width: 650px){
	#offersTxt{
		float: none;
		margin: auto;
		width: 390px;
	}
	#stepsBox li{
		width: 100%;
		padding: 10px;
	}
	#itemsBox {
		display: none;
	}
	#offersTxtBox .content {
		/*margin-top: -90px;*/
	}
}
@media screen and (max-width: 550px){
	#affLogo{
		display: none;
	}
}
@media screen and (max-width: 450px){
	#mainOffers .line3{
		font-size: 100px !important;
    	line-height: 50px;
	}
	#offersTxt > div{
		/*padding: 10px;*/
	}
	#offersTxt{
		float: none;
		margin: auto;
		width: auto;
		max-width: 390px;
	}
	#offersTxtBox{
		transform: scale(0.9);
	}
	#cta{
		font-size: 20px !important;
	}
	#footerBox li{
		padding: 4px;
	}
}