@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&subset=cyrillic');
@import url('https://fonts.googleapis.com/css?family=Bangers');
@import url('https://fonts.googleapis.com/css?family=Anton');

/* 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: #3497db;
}

div.content{
	/*max-width: 1024px;*/
	margin: auto;
	overflow: hidden;
	position: relative;
	padding: 0 20px;
}

div.content p{
	margin: 5px 0;
}
div.content a{
	color: #db9bd3;
	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;
}

.displayTable{
	display: table;
    height: 100%;
    width: 100%;
}
.displayTableCell{
	display: table-cell;
    vertical-align: middle;
}

/* HEADER */
div#headerBox{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	overflow: visible;
	background-color: #ff9600;
}
#headerBox .content{
	overflow: visible;
	box-sizing: border-box;
}
#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: #401865;
	color: #fff;
}
#langs a.hide{
	display: none;
}
#headerBox .links{
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	text-align: right;
	padding-right: 75px;
}
#headerBox .links a{
	padding: 10px;
	color: #035288;
	display: inline-block;
	font-size: 16px;
}

/* bgImg */
#bgImg{
	background-image: url(images/parallax_bg.png);
	background-position: 0 0;
	animation: bgAnim 50s linear infinite;
	height: 636px;
}
#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;
	overflow: visible;
}
#itemsBox img{
	position: relative;
}
#itemsBox .item1{
	margin: auto;
    display: block;
    left: -25%;
}
#itemsBox .item2{
	left: -80px;
	animation-direction: alternate-reverse;
}
#itemsBox .item3{
	left: -200px;
}

#itemsBox img{
	/*animation: itemsAnim 1s infinite;*/
	transform-origin: bottom center;
}
@keyframes itemsAnim {
	30% {
		transform: scaleY(0.95);
	}
	60% {
		transform: translateY(-20px) scaleY(1);
	}
	90% {
		transform: translateY(0);
	}
}

/* OFFERS */
#offersBox{
	position: relative;
}
#offersTxtBox{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#offersTxtBox .content{
	margin-top: 90px;
	max-width: 1250px;
}
#offersTxt{
	float: right;
	text-transform: uppercase;
}
#offersTxt > div{
	padding: 10px;
	box-sizing: border-box;
	max-width: 600px;
	color: #fdcf02;
	text-align: center;
}
#secondTxt{
	text-shadow: 0 0 10px #db5113;
}
#mainOffers{
	/*background: rgba(0, 0, 0, 0.7);*/
	font-family: 'Bangers', cursive;
}
#mainOffers p{
	font-size: 20px;
	line-height: normal;
	    text-shadow: 0 -3px 1px #000000, 0 -3px 1px #000000, 0 3px 1px #000000, 0 3px 1px #000000, -3px 0 1px #000000, 3px 0 1px #000000, -3px 0 1px #000000, 3px 0 1px #000000, -1px -3px 1px #000000, 1px -3px 1px #000000, -1px 3px 1px #000000, 1px 3px 1px #000000, -3px -1px 1px #000000, 3px -1px 1px #000000, -3px 1px 1px #000000, 3px 1px 1px #000000, -2px -3px 1px #000000, 2px -3px 1px #000000, -2px 3px 1px #000000, 2px 3px 1px #000000, -3px -2px 1px #000000, 3px -2px 1px #000000, -3px 2px 1px #000000, 3px 2px 1px #000000, -3px -3px 1px #000000, 3px -3px 1px #000000, -3px 3px 1px #000000, 3px 3px 1px #000000, -3px -3px 1px #000000, 3px -3px 1px #000000, -3px 3px 1px #000000, 3px 3px 1px #000000;
}
#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, #db9bd3 50%, #fff 70%, #db9bd3 80%);
	background-size: 300%;
	-webkit-background-clip: text;
  	animation: offerAnim 3s linear infinite;
	*/
}
@keyframes offerAnim {
	80% { background-position: 0 0; }
  	100% { background-position: -150% 0; }
}

#mainOffers .line4{
	color: #db9bd3;
}
.additionalTxt{
	color:#ffffff;
}
#cta {
    color: #fff;
    display: block;
    padding: 20px;
    background: #1e70ff;
    font-size: 26px;
    font-weight: bold;
    margin: 25px auto 0;
    position: relative;
    font-family: 'Roboto', sans-serif;
    max-width: 300px;
    border: solid 2px #000000;
}
#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: #3497db;
}
#stepsBox .content{
	padding: 0;
}
#stepsBox li{
	width: 33.3%;
	float: left;
    box-sizing: border-box;
	padding: 0;
	position: relative;
	    height: 100px;
	    display: table;
}
#stepsBox li img{
	display: block;
	margin: auto;
	padding: 10px;
}
#stepsBox li a{
	font-size: 30px;
	color: #000;
	font-family: 'Anton', sans-serif;
	text-transform: uppercase;
	padding: 6px;
	padding-left: 80px;
	display: table-cell;
    vertical-align: middle;
}
#stepsBox a i{
	font-family: 'Roboto', sans-serif;
	display: block;
    font-size: 14px;
    text-shadow: none;
    color: #000;
    font-style: normal;
    line-height: 16px;
	font-weight: bold;
}
#stepsBox a span:before{
    font-size: 60px;
    line-height: 60px;
    position: absolute;
    left: 0;
	top: 0;
	width: 32px;
    text-align: right;
}
#stepsBox a span{
	font-size: 24px;
	line-height: 40px;
	position: relative;
	display: inline-block;
	padding-left: 40px;
	text-align: left;
}
li.step1{
	background: #696d6e;
	z-index: 9;
}
li.step1 a{
	background: #696d6e;
}
li.step1 span:before{
	content: '1';
}
li.step2{
	background: #ff9600;
	z-index: 6;
}
li.step2 a{
	background: #ff9600;
}
li.step2 span:before{
	content: '2';
}
li.step3{
	background: #04959a;
	z-index: 3;
}
li.step3 a{
	background: #04959a;
}
li.step3 span:before{
	content: '3';
}
.step1,.step2,.step3 {
 position:relative;
 }
 .step1 a::after,.step2 a::after,.step3 a::after {
    content: ''; 
    position: absolute; 
    left: 0px; bottom: 0px; 
    border: 50px solid transparent; 
    border-left: 65px solid green;
   }
   .step2 a::after,.step3 a::after{
    left: 0px; bottom: 0px;    	
   }
   .step1 a::after{
   	border-left-color:#aaaaaa;
   }
   .step2 a::after{
   	border-left-color:#696d6e;
   }
   .step3 a::after{
   	border-left-color:#ff9600;
   }
#stepsBox a:hover img{
	animation: stepHover 0.5s linear;
}
@keyframes stepHover {
	from {
	  transform: rotateY(0deg);
	}
	to {
	  transform: rotateY(-360deg);
	}
}

/* DESCRIPTION */
#descBox{
	padding: 40px 0;
	    background-color: #ffffff;
}
#descBox .content{
	max-width: 1000px;
}
#descBox p{
	color: #fff;
	padding: 20px 0;
}
#descBox p.items{
	text-align: center;
}
#descBox p.items *{
	vertical-align: middle;
}
#descBox p.items span{
	color: #303131;
	display: inline-block;
	max-width: 300px;
	font-size: 28px;
	font-weight: bold;
	text-align: left;
	line-height: 34px;
	padding: 0 30px 0 45px;
	position: relative;
}
#descBox p.items span:after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    border: 24px solid transparent;
    border-left: 24px solid #303131;
    margin-top: -24px;
}
#descBox p.descTxt1{
	color: #303131;
	font-weight: bold;
}
#descBox p.descTxt2{
	color: #303131;
}
/* FOOTER */
#footerBox{
	background: #464646;
	/*
	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;
	}
	#stepsBox li{
		width: 100%;
	}
	#stepsBox li a{
		border-radius: 0;
	}
	#bgImg img{
		margin-left: -1200px;
	}
	#stepsBox li a span{
		min-width: 300px;
	}
}
@media screen and (max-width: 850px){
	#itemsBox .content {
		transform: scale(0.6);
	}
	#descBox p.items img{
		display: block;
    	margin: auto;
		padding: 20px;
	}
}
@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){
	#headerBox .content > a {
		transform: scale(0.6);
	}
	#offersTxt{
		float: none;
		margin: auto;
		width: 390px;
	}
	#itemsBox {
		display: none;
	}
}
@media screen and (max-width: 550px){
	#affLogo{
		display: none;
	}
}
@media screen and (max-width: 450px){
	#mainOffers .line3{
		font-size: 44px !important;
    	line-height: 50px;
	}
	#offersTxt{
		float: none;
		margin: auto;
		width: auto;
		max-width: 390px;
	}
	#offersTxtBox{
		transform: scale(0.9);
	}
	#cta{
		font-size: 20px !important;
	}
	#footerBox li{
		padding: 4px;
	}
}