@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&subset=cyrillic');
@import url('https://fonts.googleapis.com/css?family=Montserrat');
/* CSS Document */
html, body{
	height: 100%;
}

body{
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	line-height: 26px;
	height: 100%;
}

#mainBox{
	min-height: 100%;
	position: relative;
	/*padding-bottom: 70px;*/
	box-sizing: border-box;
	background: #202121;
}

div.content{
	max-width: 1024px;
	margin: auto;
	overflow: hidden;
	position: relative;
	padding: 5px 20px;
}

div.content p{
	margin: 5px 0;
}
div.content a{
	color: #fff;
	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;
    background-color: #141e30;
    border-bottom: 2px solid #ffd200;
}
#headerBox .content{
	overflow: visible;
}
#headerBox .content:after {
	content: '';
	clear: both;
	display: block;
	height: 0;
}
#brandLogo{
	float: left;
	margin: 10px 0;
}
#affLogo{
	float: right;
	margin: 35px 0 5px;
}
#langs{
	float: right;
	position: relative;
	color: #fff;
	margin-left: 20px;
	top: 45px;
	padding: 10px;
}
#langs span{
	cursor: pointer;
	position: relative;
	padding-right: 20px;
	background-color: #fd2539;
}
#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: 11px;
	background: #fd2539;
	padding: 5px;
	box-shadow: 0 0 5px #000;
}
#langs a{
	display: block;
	padding: 2px 4px;
	text-align: center;
	font-size: 18px;
}
#langs a:hover{
	background: #ff6472;
	color: #fff;
}
#langs a.hide{
	display: none;
}

/* bgImg */
#bgImg{
	background-image: url(images/parallax_bg.png);
	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;
	margin-top: 110px;
}
#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;
}
#itemsBox img{
	position: relative;
}
#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 .displayTable{
	display: table;
    height: 100%;
    width: 100%;
}
#offersTxtBox .displayTableCell{
	display: table-cell;
    vertical-align: middle;
}
#offersTxtBox .content{
	margin-top: 90px;
}
#offersTxt{
	float: right;
	text-transform: uppercase;
	margin-top: 70px;
}
#offersTxt > div{
	padding: 30px;
	box-sizing: border-box;
	max-width: 400px;
	color: #fff;
	text-align: center;
}
#mainOffers{
	background: rgba(0, 0, 0, 0.7);
	    border: 3px solid #e9c109;
}
#mainOffers p{
	font-size: 20px;
	line-height: normal;
	font-weight:bold;
}
#mainOffers .line1{
	font-size: 30px;
	line-height: 20px;
}
#mainOffers .line2{
	color:#ffd200;
	line-height: 35px;
}
#mainOffers .line3{
	font-size: 90px;
        line-height: 50px;
	color: #fd2539;
	font-weight: bold;
	position: relative;
}
.additionalTxt{
    font-weight:bold;
}
.additionalLink a{
	    color: #ffd200 !important;
    text-decoration: underline !important;
    font-weight:bold;
}
@keyframes offerAnim {
	80% { background-position: 0 0; }
  	100% { background-position: -150% 0; }
}

#mainOffers .line4{
	color: #fb9413;
	line-height: 75px;
}

#cta {
    color: #fff;
    display: block;
    padding: 20px;
    background: #fd2539;
    font-size: 26px;
    font-weight: bold;
    margin-top: 25px;
    position: relative;
    border-radius: 35px;
}

#cta:hover {
	background: #ff6472;
}

/* STEPS */
#stepsBox{
	text-transform: uppercase;
	background: #141e30;
    border-top: 2px solid #ffd200;
    border-bottom: 1px solid #0b111b;
}
#stepsBox .content{
	padding: 18px 20px;
}
#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: #141e30;
	/*
	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;
	}
}
@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){
	#headerBox .content > a {
		transform: scale(0.6);
	}
	#offersTxt{
		float: none;
		margin: auto;
		width: 390px;
	}
	#stepsBox li{
		width: 100%;
	}
	#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;
	}
}