h1
{
	font-family: 'Lobster', cursive;
	font-size: 180%;
	margin-bottom: 1em
}

.body-wrapper {
	min-width: 990px;
}

.content-wrapper {
	margin: 0 auto;
	position: relative;
	width: 990px;
}
.main .parallax-layer-base .content-wrapper {
	left: 0;
	position: absolute;
	top: 0;
	right: 0;
}

header {
	border-top: 5px solid #5ba100;
	position: relative;
	width: 100%;
	z-index: 10;
}
.header-wrapper {
	left: 0;
	margin: 0 auto;
	position: relative;
	right: 0;
	width: 990px;
}
header .logo {
	left: 15px;
	position: absolute;
}
header .label {
	background: #5ba100 repeat-x top left url(/images/bg-header-label.png);
	font-family: 'Lobster', cursive;
	font-size: 20px;
	height: 54px;
	left: 272px;
	line-height: 35px;
	position: absolute;
	text-align: center;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	top: 0;
	width: 250px;
}
header .label a {
	color: #fff;
	text-decoration: none;
}
header .label span {
	color: #fff000;
}
header .label:after {
	/* triangle */
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #fff000;
	content: '';
	display: block;
	height: 0;
	margin: 3px auto 0;
	width: 0; 
}

.languages {
	font-size: 14px;
	margin: 0 25px;
	position: absolute;
	right: 0;
	text-align: center;
	top: 10px;
}
/*
.languages .nav {
	font-size: 15px;
	font-weight: bold;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}
.languages .nav a {
	position: absolute;
	top: 13px;
}
.languages .prev {
	left: 7px;
}
.languages .next {
	right: 7px;
}
*/
.languages ul {
	list-style-type: none;
	margin: 0;
}
.languages li {
	background: no-repeat 0 0 url(/images/languages.png);
	content: '';
	display: block;
	float: left;
	height: 45px;
	margin: 0 5px 5px;
	overflow: hidden;
	text-indent: -200px;
	width: 45px;
}
.languages li#ru { background-position:    0px 0; }
.languages li#en { background-position:  -45px 0; }
.languages li#de { background-position:  -90px 0; }
.languages li#it { background-position: -135px 0; }
.languages li#fr { background-position: -180px 0; }
.languages li#et { background-position: -225px 0; }
.languages li#lv { background-position: -270px 0; }
.languages li#lt { background-position: -315px 0; }
.languages li#fi { background-position: -360px 0; }
.languages li#sv { background-position: -405px 0; }
.languages li.act {
	opacity: 1;
}
.languages li a {
	display: block;
	height: 45px;
}
.languages p {
	display: none;
}
.languages a {
	color: #fff;
	text-decoration: none;
}
.languages .lang-down {
	background: no-repeat center bottom url(/images/arrow-down-lang.png);
	height: 10px;
	width: 20px;
	z-index: 10;
}

.counter {
	color: #fff;
	font-family: 'Lobster', cursive;
	font-size: 18px;
	left: 526px;
	position: absolute;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	top: 8px;
}
.counter div {
	display: inline-block;
	margin-right: 10px;
}
.counter span {
	background: no-repeat center top url(/images/bg-counter.png);
	color: #525252;
	display: inline-block;
	font-family: 'PT Sans', sans-serif;
	font-size: 30px;
	font-weight: bold;
	height: 43px;
	line-height: 43px;
	text-align: center;
	text-shadow: none;
	width: 28px;
}
.slogan {
	color: #fff;
	font-family: 'Lobster', cursive;
	font-size: 30px;
	left: 272px;
	line-height: 0.9em;
	position: absolute;
	top: 75px;
	width: 250px;
}
.slogan strong {
	font-size: 45px;
	font-weight: normal;
}
.login {
	background: no-repeat center top url(/images/bg-login.png);
	height: 191px;
	left: 255px;
	padding: 17px;
	position: absolute;
	top: 155px;
	width: 250px;
	z-index: 10;
}
.login h5 {
	background: #81b718; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzgxYjcxOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0NTk1MDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, #81b718 0%, #459500 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#81b718), color-stop(100%,#459500)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #81b718 0%,#459500 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #81b718 0%,#459500 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #81b718 0%,#459500 100%); /* IE10+ */
	background: linear-gradient(to bottom, #81b718 0%,#459500 100%); /* W3C */
	/* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#81b718', endColorstr='#459500',GradientType=0 ); /* IE6-8 */

	color: #fff;
	background-color: #81b718;
	font-family: 'Lobster', cursive;
	font-size: 20px;
	font-weight: normal;
	margin: 0;
	padding: 8px 0;
	text-align: center;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	width: 250px;
}
.login h5 span {
	color: #fff000;
}
.login form {
	margin: 15px;
	width: 220px;
}
.login form input {
	border: 1px solid #76b21b;
	font-family: 'Lobster', cursive;
	font-size: 18px;
	padding: 1px 10px;
	width: 198px;
}
.login form input[type="text"] {
	border-bottom-style: dotted;
}
.login form input[type="password"] {
	border-top-style: none;
}
.login form input[type="submit"] {
	background: #81b718; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzgxYjcxOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0NTk1MDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, #81b718 0%, #459500 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#81b718), color-stop(100%,#459500)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #81b718 0%,#459500 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #81b718 0%,#459500 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #81b718 0%,#459500 100%); /* IE10+ */
	background: linear-gradient(to bottom, #81b718 0%,#459500 100%); /* W3C */
	/* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#81b718', endColorstr='#459500',GradientType=0 ); /* IE6-8 */

	border-style: none;
	float: right;
	margin-left: 0;
	margin-top: 4px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	width: 100px;
}
.login p {
	clear: none;
	float: left;
	font-size: 12px;
	margin: 0;
}
.login p.first {
	font-weight: bold;
	margin-top: 4px;
}
.login a {
	color: #3c3c3c;
	text-decoration: none;
}
.login a:before {
	/* triangle */
	border-bottom: 3px solid transparent;
	border-left: 3px solid #3c3c3c;
	border-top: 3px solid transparent;
	content: '';
	display: inline-block;
	height: 0;
	margin-right: 4px;
	width: 0; 
}

section {
	/*padding-top: 100px;*/
}

footer {
	font-size: 12px;
	margin: 0 auto;
	padding-bottom: 30px;
	padding-top: 100px;
	position: relative;
	width: 850px;
}
footer p {
	margin-top: 0.3em;
}
footer a {
	color: #5ca041;
	text-decoration: none;
}
footer .col-half {
	width: 50%;
}
footer .col-half.right {
	text-align: right;
}



.bubbles {
	position: relative;
}
.bubble {
	background: no-repeat center center;
	position: absolute;
	/*z-index: 10;*/
}
.bubble.size-1 { height: 160px; width: 160px; }
.bubble.size-2 { height: 150px; width: 150px; }
.bubble.size-3 { height: 120px; width: 120px; }
.bubble.size-4 { height: 100px; width: 100px; }
.bubble.size-5 { height:  90px; width:  90px; }
.bubble.size-6 { height:  70px; width:  70px; }
.bubble > div {
	background: no-repeat center center url(/images/bubble.png);
	background-size: 100% auto;
	height: inherit;
	width: inherit;
}
.bubble-blur > div {
	background-image: url(/images/bubble-blur.png);
}
.cloud {
	height: 130px;
	position: absolute;
	width: 130px;
}
.bubble .ad,
.cloud .ad {
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	box-shadow: 0 0 10px #333;
	display: block;
	font-size: 11px;
	height: 80%;
	opacity: 0;
	overflow: hidden;
	padding: 10%;
	text-align: center;
	
	-webkit-transition: all 0.5s;
	   -moz-transition: all 0.5s;
	    -ms-transition: all 0.5s;
	     -o-transition: all 0.5s;
	        transition: all 0.5s;
}
.ad a {
	text-decoration: none;
}
.ad a:focus {
	outline: none;
}
.ad h5,
.ad p {
	margin: 0;
}
.ad h5 {
	color: #0860a4;
}
.ad p {
	color: #3a3f43;
}
.ad img {
	height: auto;
	margin: 10px 0 5px;
	max-width: 96px;
}
.bubble.size-1 img { max-width: 128px; height: auto; }
.bubble.size-2 img { max-width: 120px; height: auto; }
.bubble.size-3 img { max-width:  96px; height: auto; }
.bubble.size-4 img { max-width:  80px; height: auto; }
.bubble.size-5 img { max-width:  72px; height: auto; }
.bubble.size-6 img { max-width:  56px; height: auto; }

@media only screen and (min-width: 801px) {
	.bubble .ad:hover,
	.bubble .ad.act,
	.cloud .ad:hover,
	.cloud .ad.act {
		opacity: 1;
		-webkit-transform: scale(1.2);
		   -moz-transform: scale(1.2);
		    -ms-transform: scale(1.2);
		     -o-transform: scale(1.2);
		        transform: scale(1.2);
	}
}


.down,
.up {
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	box-shadow: 0 0 10px #333;
	font-family: 'Lobster', cursive;
	font-size: 20px;
	height: 80px;
	position: absolute;
	text-align: center;
	width: 80px;
	z-index: 10;
}
.down {
	left: 280px;
	top: 610px;
}
.up {
	bottom: 40px;
	left: 0;
	margin: 0 auto;
	right: 0;
}
.down a,
.up a {
	color: #5ba100;
	display: block;
	height: 100%;
	text-decoration: none;
}
.down a {
	background: no-repeat center 40px url(/images/arrow-down.png);
	line-height: 45px;
}
.up a {
	background: no-repeat center 10px url(/images/arrow-up.png);
	line-height: 100px;
}

.social {
	/*bottom: -10px;*/
	height: 0;
	left: 0;
	margin: 0 auto;
	position: absolute;
	right: 0;
	text-align: center;
	z-index: 10;
}
.social a {
	background-color: #5ca041;
	background-image: url(/images/social.png);
	border-radius: 50%;
	display: inline-block;
	height: 32px;
	margin: 0 3px;
	overflow: hidden;
	text-indent: -100px;
	width: 32px;
}
.social a.fb { background-position:    0   0; }
.social a.tw { background-position:  -32px 0; }
.social a.gp { background-position:  -64px 0; }
.social a.yt { background-position:  -96px 0; }
.social a.ig { background-position: -128px 0; }
.social a.vk { background-position: -160px 0; }
.social a.ok { background-position: -192px 0; }

.parallax-layer-safe .content-wrapper,
.safe-content-wrapper {
	height: 100%;
	min-height: 800px;
}
.safe {
	bottom: 50px;
	height: 615px;
	position: absolute;
	right: -50px;
	/*top: 140px;*/
	width: 675px;
}
.safe-box {
	background: no-repeat right bottom url(/images/safe-side.png);
	height: 366px;
	left: 18px;
	position: relative;
	top: 249px;
	width: 657px;
}
.dreamers {
	background: no-repeat center center url(/images/dreamers.png);
	height: 256px;
	/*left: 225px;*/
	left: 207px;
	position: absolute;
	/*top: 0;*/
	top: -249px;
	width: 416px;
}
.safe-front {
	background-color: #444;
	height: 308px;
	/*left: 18px;*/
	left: 0px;
	position: absolute;
	/*top: 249px;*/
	top: 0px;
	width: 582px;
}
.cell {
	background: #d6c062 no-repeat url(/images/safe-door.jpg);
	border: 1px solid;
	border-color: #555 #555 #202020 #202020;
	height: 75px;
	position: absolute;
	text-align: center;
	width: 192px;
}
.cell-back {
	background: #000 no-repeat url(/images/safe-back.png);
	/*left: 212px;*/
	left: 194px;
	/*top: 480px;*/
	top: 231px;
}
.cell0 {
	background-image: url(/images/safe-bg.jpg);
	height: 152px;
}
/*
.cell1  { left: 18px; top: 249px; }
.cell2  { left: 18px; top: 326px; }
.cell3  { left: 18px; top: 403px; }
.cell4  { left: 18px; top: 480px; }
.cell5  { left: 212px; top: 249px; }
.cell0  { left: 212px; top: 326px; }
.cell10 { left: 212px; top: 480px; }
.cell6  { left: 406px; top: 249px; }
.cell7  { left: 406px; top: 326px; }
.cell8  { left: 406px; top: 403px; }
.cell9  { left: 406px; top: 480px; }
*/
.cell1  { left: 0px; top: 0px; }
.cell2  { left: 0px; top: 77px; }
.cell3  { left: 0px; top: 154px; }
.cell4  { left: 0px; top: 231px; }
.cell5  { left: 194px; top: 0px; }
.cell0  { left: 194px; top: 77px; }
.cell10 { left: 194px; top: 231px; }
.cell6  { left: 388px; top: 0px; }
.cell7  { left: 388px; top: 77px; }
.cell8  { left: 388px; top: 154px; }
.cell9  { left: 388px; top: 231px; }
.cell .num {
	color: #494A4A;
	font-size: 14px;
	margin-top: 9px;
}
.cell .dream {
	color: #000;
	font-size: 15px;
	font-weight: bold;
	margin-top: 8px;
	text-transform: uppercase;
	text-shadow: 1px 1px 0 #f7e8a7;
}

.wheel  {
	background: no-repeat center center url(/images/safe-wheel.png);
	height: 100%;
}
.wheel.act {
	-webkit-animation: wheel 2.5s ease-in-out;
	   -moz-animation: wheel 2.5s ease-in-out;
	    -ms-animation: wheel 2.5s ease-in-out;
	     -o-animation: wheel 2.5s ease-in-out;
	        animation: wheel 2.5s ease-in-out;
}
@-webkit-keyframes wheel {
	0%   { -webkit-transform: rotate(0deg); }
/*
	20%  { -webkit-transform: rotate(-75deg); }
	40%  { -webkit-transform: rotate(20deg); }
	60%  { -webkit-transform: rotate(180deg); }
	80%  { -webkit-transform: rotate(-45deg); }
	100% { -webkit-transform: rotate(0deg); }
*/
	100% { -webkit-transform: rotate(1080deg); }
}
@-moz-keyframes wheel {
	0%   { -moz-transform: rotate(0deg); }
/*
	20%  { -moz-transform: rotate(-75deg); }
	40%  { -moz-transform: rotate(20deg); }
	60%  { -moz-transform: rotate(180deg); }
	80%  { -moz-transform: rotate(-45deg); }
	100% { -moz-transform: rotate(0deg); }
*/
	100% { -moz-transform: rotate(1080deg); }
}
@-ms-keyframes wheel {
	0%   { -ms-transform: rotate(0deg); }
/*
	20%  { -ms-transform: rotate(-75deg); }
	40%  { -ms-transform: rotate(20deg); }
	60%  { -ms-transform: rotate(180deg); }
	80%  { -ms-transform: rotate(-45deg); }
	100% { -ms-transform: rotate(0deg); }
*/
	100% { -ms-transform: rotate(1080deg); }
}
@-o-keyframes wheel {
	0%   { -o-transform: rotate(0deg); }
/*
	20%  { -o-transform: rotate(-75deg); }
	40%  { -o-transform: rotate(20deg); }
	60%  { -o-transform: rotate(180deg); }
	80%  { -o-transform: rotate(-45deg); }
	100% { -o-transform: rotate(0deg); }
*/
	100% { -o-transform: rotate(1080deg); }
}
@keyframes wheel {
	0%   { transform: rotate(0deg); }
/*
	20%  { transform: rotate(-75deg); }
	40%  { transform: rotate(20deg); }
	60%  { transform: rotate(180deg); }
	80%  { transform: rotate(-45deg); }
	100% { transform: rotate(0deg); }
*/
	100% { transform: rotate(1080deg); }
}
.cell10.act {
	-webkit-transform-origin: 0 0;
	   -moz-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	     -o-transform-origin: 0 0;
	        transform-origin: 0 0;
	-webkit-animation: cell 2.5s ease-in-out forwards;
	   -moz-animation: cell 2.5s ease-in-out forwards;
	    -ms-animation: cell 2.5s ease-in-out forwards;
	     -o-animation: cell 2.5s ease-in-out forwards;
	        animation: cell 2.5s ease-in-out forwards;
}
@-webkit-keyframes cell {
	0% { -webkit-transform: rotateY(0deg); }
	80% { -webkit-transform: rotateY(0deg); }
	100% { -webkit-transform: rotateY(-90deg); }
}
@-moz-keyframes cell {
	0% { -moz-transform: rotateY(0deg); }
	80% { -moz-transform: rotateY(0deg); }
	100% { -moz-transform: rotateY(-90deg); }
}
@-ms-keyframes cell {
	0% { -ms-transform: rotateY(0deg); }
	80% { -ms-transform: rotateY(0deg); }
	100% { -ms-transform: rotateY(-90deg); }
}
@-o-keyframes cell {
	0% { -o-transform: rotateY(0deg); }
	80% { -o-transform: rotateY(0deg); }
	100% { -o-transform: rotateY(-90deg); }
}
@keyframes cell {
	0% { transform: rotateY(0deg); }
	80% { transform: rotateY(0deg); }
	100% { transform: rotateY(-90deg); }
}
.cell-back.act:before {
	background: no-repeat center center url(/images/safe-dream.png);
	content: '';
	display: block;
	height: 100%;
	opacity: 0.5;
	-webkit-animation: cell-dream 2s linear infinite;
	   -moz-animation: cell-dream 2s linear infinite;
	    -ms-animation: cell-dream 2s linear infinite;
	     -o-animation: cell-dream 2s linear infinite;
	        animation: cell-dream 2s linear infinite;
}
@-webkit-keyframes cell-dream {
	0%   { -webkit-transform: scale(1);  }
	50%  { -webkit-transform: scale(1.2); opacity: 1;   }
	100% { -webkit-transform: scale(1); }
}
@-moz-keyframes cell-dream {
	0%   { -moz-transform: scale(1);  }
	50%  { -moz-transform: scale(1.2); opacity: 1;   }
	100% { -moz-transform: scale(1); }
}
@-ms-keyframes cell-dream {
	0%   { -ms-transform: scale(1);  }
	50%  { -ms-transform: scale(1.2); opacity: 1;   }
	100% { -ms-transform: scale(1); }
}
@-o-keyframes cell-dream {
	0%   { -o-transform: scale(1);  }
	50%  { -o-transform: scale(1.2); opacity: 1;   }
	100% { -o-transform: scale(1); }
}
@keyframes cell-dream {
	0%   { transform: scale(1);  }
	50%  { transform: scale(1.2); opacity: 1;   }
	100% { transform: scale(1); }
}

.cell .ad {
	font-size: 85%;
	height: 75px;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 192px;
}
.cell .ad a {
	background: #fff;
	-webkit-transition: all 0.5s;
	   -moz-transition: all 0.5s;
	    -ms-transition: all 0.5s;
	     -o-transition: all 0.5s;
	        transition: all 0.5s;
	opacity: 0;
/*
	-webkit-transform: translateY(75px);
	   -moz-transform: translateY(75px);
	    -ms-transform: translateY(75px);
	     -o-transform: translateY(75px);
	        transform: translateY(75px);
*/
}
.cell .ad:hover a,
.cell .ad.act a {
	opacity: 0.9;
/*
	-webkit-transform: translateY(0);
	   -moz-transform: translateY(0);
	    -ms-transform: translateY(0);
	     -o-transform: translateY(0);
	        transform: translateY(0);
*/
}
.cell .ad a {
	display: block;
	height: 65px;
	padding: 5px;
	width: 182px;
}
.cell .ad h5,
.cell .ad p {
	clear: none;
	text-align: left;
}
.cell .ad img {
	float: left;
	margin: 0 10px 0 0;
}



.description h1 {
	color: #fff;
	font-size: 41px;
	font-weight: normal;
	text-align: center;
}

.formula {
	color: #fff;
	margin: 70px auto 50px;
	text-align: center;
	width: 850px;
}
.formula .part {
	display: inline-block;
	font-size: 19px;
	font-weight: bold;
	height: 275px;
	text-shadow: 1px 1px 1px #333;
	vertical-align: top;
	width: 167px;
}
.formula p {
	height: 2em;
}
.formula .part span {
	font-size: 17px;
}
.formula .result {
	font-family: 'Lobster', cursive;
	font-size: 27px;
	font-weight: normal;
	height: 104px;
	margin-top: 0;
	padding-top: 50px;
}
.formula .bubble {
	background: no-repeat center center;
	height: 154px;
	position: relative;
	width: 100%;
}
.formula .bubble-1 { background-image: url(/images/formula-logo.png); }
.formula .bubble-2 { background-image: url(/images/formula-dream.png); }
.formula .bubble-3 { background-image: url(/images/formula-help.png); }
.formula .bubble:before {
	background: no-repeat center top url(/images/formula-bubble.png);
	content: '';
	display: block;
	height: 100%;
}
.formula .sign {
	display: inline-block;
	font-size: 45px;
	font-weight: bold;
	height: 154px;
	line-height: 154px;
	text-shadow: 1px 1px 1px #333;
	vertical-align: top;
	width: 44px;
}
.formula a {
	background: #f1f1f1;
	color: #5ca041;
	display: block;
	font-size: 13px;
	font-weight: normal;
	margin-top: 20px;
	padding: 10px 0;
	text-decoration: none;
	text-shadow: none;
	text-transform: uppercase;
}
.formula a:after {
	/* triangle */
	border-bottom: 4px solid transparent;
	border-left: 4px solid #5ca041;
	border-top: 4px solid transparent;
	content: '';
	display: inline-block;
	height: 0;
	margin-left: 14px;
	width: 0; 
}

.text {
	background-color: #fff;
	font-size: 110%;
	font-weight: bold;
	padding: 25px;
	margin: 0 auto;
	width: 800px;
}
.text p:first-child {
	margin-top: 0;
}
.text h1 {
	color: #0b69d3;
	font-size: 34px;
	margin: 0;
	text-align: left;
}

.news {
	font-family: 'Lobster', cursive;
	font-size: 27px;
	font-weight: normal;
	margin-top: 30px;
	text-align: center;
}
.news a {
	text-decoration: none;
}

.ya-share2 {
	position: absolute !important;
	right: 0 !important;
	top: 30% !important;
	width: 50px !important;
}
.ya-share2__container_size_m .ya-share2__icon {
	height: 50px !important;
	width: 50px !important;
}
.ya-share2__title {
	display: none !important;
}
.ya-share2__item_more {
	display: none !important;
}

html {
	-webkit-text-size-adjust: none;
}

/***** TABLETS (LANDSCAPE) - 801-1000 *****/
@media only screen and (min-width: 801px) and (max-width: 1000px) { /* 980 */
	@-ms-viewport {
		width: 1000px; /* 980 */
	}
}
/***** TABLETS (PORTRAIT), PHONES (LANDSCAPE) - 321-800  *****/
@media only screen and (min-width: 321px) and (max-width: 800px) {
	@-ms-viewport {
		width: device-width;
	}
}
/***** PHONES (PORTRAIT) - 320  *****/
@media only screen and (max-width: 320px) {
	@-ms-viewport {
		width: 320px;
	}
}

/***** TABLETS (PORTRAIT), PHONES (LANDSCAPE+PORTRAIT) - 0-800  *****/
@media only screen and (max-width: 800px) {
	img
	{
		max-width: 100%;
		height: auto !important;
		width: auto\9; /* ie8 */
	}
	iframe,  
	object,  
	embed
	{
		max-width: 100%;
	}
	/*
	.video
	{
		position: relative;
		padding-bottom: 56.25%;
		height: 0;
		overflow: hidden;
	}
	.video iframe,  
	.video object,  
	.video embed
	{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%; auto?
	}
	*/
	body
	{
		max-width: 100%;
		word-wrap: break-word;
	}
	.body-wrapper
	{
		min-width: 0;
	}
	.header-wrapper,
	.content-wrapper,
	.formula,
	.text,
	footer
	{
		width: auto;
	}

	.parallax-layer-back,
	.parallax-layer-bubbles-blur,
	.dreamers,
	.counter,
	.down
	{
		display: none;
	}

	/* ??? */
	.main .parallax-layer-base .content-wrapper
	{
		/*width: 100%;*/
		/*overflow: hidden;*/
	}
	.main .parallax-layer-base .content-wrapper
	{
		position: relative;
	}

	header .logo
	{
		position: relative;
		width: 242px;
	}
	.languages
	{
		width: 45px;
	}
	.languages li {
		float: none;
		margin: 0 auto 5px;
		opacity: 0;
		position: absolute;
	}
	.languages p {
		color: #fff;
		display: inline-block;
		font-weight: bold;
		margin-top: 0;
		padding-top: 55px;
	}

	header .label,
	.slogan,
	.login
	{
		margin: 15px auto 0;
		position: static;
	}
	.login
	{
		margin-top: 0;
	}

	.main .parallax-layer-base .content-wrapper.safe-content-wrapper
	{
		height: 366px;
		min-height: 0;
		width: 657px;
	}
	.safe
	{
		bottom: 0;
		height: auto;
		right: 0;
		top: 50px;
		width: 657px;
	}
	.safe-box
	{
		left: 0;
		top: 0;
	}

	.main .parallax-layer-base .content-wrapper.bubbles-content-wrapper
	{
		height: 1.3em;
		overflow: hidden;
		top: -340px;
		width: 657px;
		z-index: 20;
	}
	.bubbles .bubble
	{
		background: none !important;
		height: auto !important;
		width: 657px;
		position: absolute;
		top: 0 !important;
	}
	.bubble > div
	{
		background: none;
	}
	.bubble .ad,
	.cloud .ad
	{
		background-color: transparent;
		box-shadow: none;
		height: auto;
		opacity: 1;
		overflow: visible;
		padding: 0;
		text-align: left;
		width: auto;
	}
	.ad img
	{
		display: none;
	}
	.ad h5,
	.ad p
	{
		display: inline-block;
	}

	.description
	{
	}
	section.description .content-wrapper
	{
		padding: 15px;
	}
	.formula
	{
		margin: 0;
	}
	.formula .part
	{
		margin-bottom: 15px;
	}

	.news
	{
		padding-bottom: 15px;
	}
	.news a
	{
		color: #fff;
	}

	footer
	{
		background-color: #fff;
		padding: 100px 15px 10px;
	}
	footer:after
	{
		clear: both;
		content: '';
		display: block;
	}
	.up
	{
		bottom: 50px;
	}
	.social
	{
		bottom: 10px;
	}
}

@media only screen and (max-width: 639px) {
	.formula .part,
	.formula .sign
	{
		display: block;
		margin: 0 auto 15px;
	}
	.formula .sign
	{
		height: auto;
		line-height: inherit;
	}

	.main .parallax-layer-base .content-wrapper.safe-content-wrapper
	{
		overflow: hidden;
		width: 100%;
	}
	.safe
	{
		left: calc((100% - (657px * 0.7)) / 2);
	}
	.safe-box
	{
		-webkit-transform-origin: 0% 0;
		   -moz-transform-origin: 0% 0;
		    -ms-transform-origin: 0% 0;
		        transform-origin: 0% 0;
		-webkit-transform: scale(0.7);
		   -moz-transform: scale(0.7);
		        transform: scale(0.7);
	}

	.main .parallax-layer-base .content-wrapper.bubbles-content-wrapper
	{
		width: 460px;
	}

	footer
	{
		padding-top: 140px;
	}
	.up
	{
		bottom: inherit;
		top: 20px;
	}
	.social
	{
		top: 110px;
	}
}

/***** PHONES (PORTRAIT) - 0-479  *****/
@media only screen and (max-width: 479px) {

	header .logo {
		left: 5px;
	}
	.languages {
		margin: 0 10px;
	}
	.safe
	{
		left: calc((100% - (657px * 0.5)) / 2);
	}
	.safe-box
	{
		-webkit-transform: scale(0.5);
		   -moz-transform: scale(0.5);
		        transform: scale(0.5);
	}
	.main .parallax-layer-base .content-wrapper.bubbles-content-wrapper
	{
		width: 326px;
	}
	footer
	{
		padding-top: 150px;
	}

	.ya-share2
	{
		position: relative !important;
		width: 100% !important;
		padding: 10px 0 !important;
		background-color: #fff;
	}
	.ya-share2__container
	{
		text-align: center;
	}
	.ya-share2__item
	{
		display: inline-block !important;
		margin-left: 3px !important;
		margin-right: 3px !important;
	}
	.ya-share2__item_more {
		display: none !important;
	}
}
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #f5f5f5;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
  /* iOS fix */
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateZ(0);
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #cccccc; }
    .mfp-preloader a:hover {
      color: white; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; }
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    position: absolute;
    left: auto;
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333333; }

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: black;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid white;
    margin-left: 31px; }
  .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid white;
    margin-left: 39px; }
  .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3f3f3f; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    height: 100%;
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    background: white; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444444; }
  .mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }


/* 

====== Move-from-top effect ======

*/
.mfp-move-from-top {
  
  .mfp-content {
   vertical-align:top; 
  }
  
  /* start state */
  .mfp-with-anim {
    opacity: 0;
    transition: all 0.2s;
    
    transform: translateY(-100px);
  }
  
  &.mfp-bg {
    opacity: 0;
    transition: all 0.2s;
  }
  
  /* animate in */
  &.mfp-ready {
    .mfp-with-anim {
      opacity: 1;
      transform: translateY(0);
    }
    &.mfp-bg {
      opacity: 0.8;
    }
  }
  
  /* animate out */
  &.mfp-removing {
    
    .mfp-with-anim {
      transform: translateY(-50px);
      opacity: 0;
    }
    &.mfp-bg {
      opacity: 0;
    }
    
  }
  
}

/* iOS fix */
html.mfp-helper {
  height: 100%;
}
html.mfp-helper body {
  overflow: hidden;
  height: 100%;
  -webkit-transform: translateZ(0);
}
body {
	background: #50c4fa no-repeat center top url(/images/bg1.jpg);
	background-size: cover;
}
	
@media only screen and (min-width: 801px) {

	.parallax {
		height: 100vh;
		overflow-x: hidden;
		overflow-y: auto;
	}
	.csstransforms3d .parallax {
		-webkit-perspective: 100px;
		   -moz-perspective: 100px;
		        perspective: 100px;
	}
	.parallax-group {
		min-height: 100vh;
		position: relative;
	}
	.csstransforms3d .parallax-group {
		-webkit-transform-style: preserve-3d;
		   -moz-transform-style: preserve-3d;
		        transform-style: preserve-3d;
	}
	.parallax-layer {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	}

	section.main {
		height: 760px;
	}
	section.description {
		height: 985px;
	}
	.csstransforms3d section.description {
		margin-top: 10%;
	}

	section.main .parallax-layer-back {
		background: no-repeat center top url(/images/bg1.jpg);
		background-size: cover;
		height: 100%;
		min-height: 100vh;
	}
	.csstransforms3d section.main .parallax-layer-back {
		-webkit-transform: translateZ(-100px) scale(2);
		   -moz-transform: translateZ(-100px) scale(2);
		        transform: translateZ(-100px) scale(2);
	}
	section.description .parallax-layer-back {
		background: no-repeat center top url(/images/bg2.jpg);
		background-size: cover;
		height: 100%;
		min-height: 100vh;
	}
	.csstransforms3d section.description .parallax-layer-back {
		-webkit-transform: translateZ(-15px) scale(1.15);
		   -moz-transform: translateZ(-15px) scale(1.15);
		        transform: translateZ(-15px) scale(1.15);
	}

	.csstransforms3d .parallax-layer-base {
		-webkit-transform: translateZ(0px);
		   -moz-transform: translateZ(0px);
		        transform: translateZ(0px);
	}
	.csstransforms3d .parallax-layer-bubbles-blur {
		-webkit-transform: translateZ(-50px) scale(1.5);
		   -moz-transform: translateZ(-50px) scale(1.5);
		        transform: translateZ(-50px) scale(1.5);
	}
	.csstransforms3d .parallax-layer-safe {
		-webkit-transform: translateZ(-10px) scale(1.1);
		   -moz-transform: translateZ(-10px) scale(1.1);
		        transform: translateZ(-10px) scale(1.1);
	}

	.parallax-fix {
		bottom: -200px;
		height: 1px;
		position: absolute;
		width: 1px;
	}

}
