/*all*/
	@font-face {
		font-family: LATO_REGULAR;
		src: url('fonts/LATO-REGULAR.TTF');
	}

	@font-face {
		font-family: LATO_LIGHT;
		src: url('fonts/LATO-LIGHT.TTF');
	}

	@font-face {
		font-family: LATO_HIRELINE;
		src: url('fonts/LATO-HIRELINE.TTF');
	}

	* {
		margin: 0;
		padding: 0;
		font-weight: normal;
		cursor: default;
		border: none;
	}

	*::selection {
		background: none;
	}

	*::-moz-selection {
		background: none;
	}

	a {
		text-decoration: none;
		cursor: pointer;
	}

	a:focus {
		outline: none;
	}

	html, body {
		/*position: absolute;*/
		width: 100%;
		height: 100%;
	}

/*pages*/
	article.page {
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		opacity: 0;
		display: block;
		transition: opacity 0.5s ease 0s;
		-o-transition: opacity 0.5s ease 0s;
		-web-transition: opacity 0.5s ease 0s;
		-moz-transition: opacity 0.5s ease 0s;
		visibility: hidden;
	}

	article.currentPage {
		top: 0;
		opacity: 1;
		visibility: visible;
	}

/*INDEX*/
	article#preloader,
	article#index {
		width: 100%;
		height: 100%;
		background-color: #000;
		cursor: pointer;
		z-index: 2;
	}

	article#preloader span.text,
	article#index span.text {
		width: 350px;
		height: 50px;
		max-width: 100%;
		font-size: 30px;
		font-family: LATO_LIGHT;
		line-height: 45px;
		text-align: center;
		vertical-align: middle;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		position: absolute;
		margin: auto;
		color: #fff;
		cursor: pointer;
	}

/*header*/
	h1 {
		font-size: 23px;
		font-family: LATO_REGULAR;
		line-height: 1;
		word-spacing: 1px;
		color: #161616;
		position: absolute;
		top: 27px;
		width: 100%;
		z-index: 2;
		text-align: center;
	}

	h2 {
		font-size: 14px;
		font-family: LATO_REGULAR;
		color: #818181;
		line-height: 1;
		position: absolute;
		top: 57px;
		width: 100%;
		z-index: 2;
		text-align: center;
	}

/*content*/
	article.content {
		width: 100%; 
		height: 100%; 
		border: 97px solid #fff; 
		box-sizing: border-box; 
		-moz-box-sizing: border-box;
		-web-box-sizing: border-box;
		color: #fff;
	}

/*footer*/
	footer {
		width: 100%;
		height: 97px;
		position: absolute;
		bottom: 0;
		z-index: 1;
		background: #fff;
	}

	footer span#footerBtnToVideo,
	footer span#footerBtnToContact,
	footer span#footerBtnToHome {
		font-family: LATO_LIGHT;
		font-size: 16px;
		line-height: 36px;
		height: 38px;
		width: 188px;
		display: inline-block;
bottom: 40px;
left: 50%;
position: absolute;
		color: #959595;
		border: 1px solid #959595;
		cursor: pointer;
		text-align: center;
		transition: color 0.3s ease 0s, background 0.3s ease 0s;
		-o-transition: color 0.3s ease 0s, background 0.3s ease 0s;
		-web-transition: color 0.3s ease 0s, background 0.3s ease 0s;
		-moz-transition: color 0.3s ease 0s, background 0.3s ease 0s;
		display: none;
	}
	footer span.leftBtn {
		display: block !important;
		/*left: -189px !important;*/
	}
	footer span.rightBtn {
		display: block !important;
		/*left: 189px !important;*/
right: 50%;
left: auto !important;
margin-right: -1px;
	}

	footer span#footerBtnToVideo:hover,
	footer span#footerBtnToContact:hover,
	footer span#footerBtnToHome:hover {
		color: #fff;
		background: #000;
		border-color: #000;
	}

/*CONTACT*/
	article#contact {
		background: #000;
	}

	a.mail {
		display: block;
		width: 250px;
		height: 30px;
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		margin: auto;
		text-align: center;
		font-family: LATO_LIGHT;
		font-size: 24px;
		color: #fff;
	}

	a.mail:hover {
		text-decoration: underline;
	}

	section.main_social {
		height: 52px;
		width: 440px;
		max-width: 100%;
		position: absolute;
		bottom: 20%;
		left: 0;
		right: 0;
		margin: 0 auto;
		text-align: center;
	}

	section.main_social a {
		height: 52px;
		width: 32px;
		display: inline-block;
		background: url('icons.png');
		margin: 0 37px;
		position: relative;
	}

	section.main_social a span {
		position: absolute;
		font-size: 16px;
		font-family: LATO_LIGHT;
		color: #fff;
		text-align: center;
		width: 110px;
		left: 50%;
		bottom: 0;
		margin-left: -55px;
	}

	section.main_social a.vkontakte {
		background-position: -101px -5px;
	}

	section.main_social a.facebook {
		background-position: -69px -5px;
	}

	section.main_social a.instagram {
		background-position: -5px -5px;
	}

	section.main_social a.twitter {
		background-position: -37px -5px;
	}

	section.additional_social {
		height: 18px;
		width: 440px;
		max-width: 100%;
		position: absolute;
		bottom: 5%;
		left: 0;
		right: 0;
		margin: 0 auto;
		text-align: center;
	}

	section.additional_social a {
		height: 18px;
		width: 20px;
		display: inline-block;
		background: url('icons.png');
		margin: 0 8px;
		position: relative;
	}

	section.additional_social a.google {
		background-position: -14px -66px;
	}

	section.additional_social a.linkedin {
		background-position: -49px -66px;
	}

	section.additional_social a.p {
		background-position: -86px -66px;
	}

	section.additional_social a.t {
		background-position: -120px -66px;
	}

	section.additional_social a.B {
		background-position: -159px -66px;
	}

	section.additional_social a.youtube {
		background-position: -199px -66px;
	}

	section.additional_social a.vimeo {
		background-position: -239px -66px;
	}

	section.additional_social a.odnoklassniki {
		background-position: -276px -66px;
	}

	section.additional_social a.lovejournal {
		background-position: -310px -66px;
	}

	section.additional_social a.sbs {
		background-position: -347px -66px;
	}

/*PHOTO*/
	.rsArrow {
		position: absolute;
		top: 0;
		bottom: 0;
		margin: auto 0;
		height: 52px;
		width: 27px;
		z-index: 12;
		background-color: transparent;
		background-image: url('icons.png');
		background-repeat: no-repeat;
		cursor: pointer;
	}
	.rsArrowLeft { left: 15px; background-position: 100% 0px; }
	.rsArrowRight { right: 15px; background-position: 92% 0px; }

/*VIDEO*/
	article#video {
		background: #000;
	}

	article#video iframe {
		width: 80%;
		height: 100%;
		background: transparent;
		z-index: 10000;
	}

	article#video nav {
		display: block;
		height: 100%;
		width: 20%;
		box-sizing: border-box; 
		-moz-box-sizing: border-box;
		-web-box-sizing: border-box;
		padding: 25px 0;
		position: absolute;
		bottom: 0;
		right: 0;
		z-index: 2;
		overflow: hidden;
		background-color: #151515;
	}

	article#video nav div {
		display: block;
		width: 88%;
		height: 40px;
		padding: 6%;
		background-color: #151515;
		border-bottom: 1px solid #232323;
		color: #fff;
		font-family: LATO_REGULAR;
		font-size: 18px;
		cursor: pointer;
		transition: all 0.3s ease 0s;
		-o-transition: all 0.3s ease 0s;
		-web-transition: all 0.3s ease 0s;
		-moz-transition: all 0.3s ease 0s;
	}

	article#video nav div span{
		display: block;
		font-size: 80%;
		color: #aaa;
		font-family: LATO_LIGHT;
		cursor: pointer;
		transition: all 0.3s ease 0s;
		-o-transition: all 0.3s ease 0s;
		-web-transition: all 0.3s ease 0s;
		-moz-transition: all 0.3s ease 0s;
	}

	article#video nav div:hover {
		background-color: #fff;
		color: #151515;
	}
	article#video nav div:hover span {
		color: #555;
	}

	article#video nav .up,
	article#video nav .down {
		display: block;
		background-color: #151515;
		width: 100%;
		height: 25px;
		position: absolute;
		right: 0;
		cursor: pointer;
		font-family: LATO_REGULAR;
		color: #fff;
		font-size: 20px;
		line-height: 0;
	}
	article#video .up {
		top: 0;
	}
	article#video .down {
		bottom: 0;
	}
	article#video .down span,
	article#video .up span {
		font-family: LATO_REGULAR;
		display: block;
		position: absolute;
		top:0;
		bottom: 0;
		left:0;
		right: 0;
		margin: auto;
		width: 32px;
		height: 13px;
		text-align: center;
		padding: 0;
		line-height: 1;
		margin: auto;
		cursor: pointer;
		background: url('icons.png');
	}
	article#video .down span {
		background-position: -176px 0px;
	}
	article#video .up span {
		background-position: -176px -13px;
	}
/*1024*/
	@media only screen and (max-width: 1024px) {
		#gallery span {
			width: 20px;
			height: 40px;
			background-size: 1400%;
		}
		article#video nav div {
			font-size: 14px;
		}
		.rsArrow {
			display: none !important;
			visibility: collapse;
			opacity: 0;
		}
	}

/*640*/
@media only screen and (max-width: 640px) {

	article.content {
		border-left: none;
		border-right: none;
		/*border-top-width: 110px;*/
	}

	header {
		/*height: 80px;*/
	}

	aside {
		width: 100%;
		height: 30px;
		top: 80px;
		right: 0;
	}

	aside nav {
		height: 30px;
		text-align: center;
	}

	aside nav div {
		display: inline-block;
		margin: 4px 5px;
	}

	section.additional_social a {
		margin: 0 6px;
	}

	section.main_social a {
		margin: 0 24px;
	}

	footer span#footerBtnToVideo,
	footer span#footerBtnToContact,
	footer span#footerBtnToHome {
		/*margin-top: 15px;*/
	}
	article#video iframe {
		height: 80%;
		width: 100%;
	}

	article#video nav {
		height: 20%;
		width: 100%;
		padding: 0 25px;
	}
	article#video nav div{
		height: 100%;
		font-size: 20px;
		padding: 0 6%;
		line-height: 300%;
		border: none;
	}
	article#video nav div span{
		line-height: 0;
	}
	article#video nav .up, 
	article#video nav .down {
		width: 25px;
		height: 100%;
		top:0;
	}
	article#video nav .up {
		left: 0;
	}
	article#video nav .down {
		right: 0;
	}
	article#video nav .up span,
	article#video nav .down span{
		-moz-transform: rotate(-90deg); /* Для Firefox */
		-ms-transform: rotate(-90deg); /* Для IE */
		-webkit-transform: rotate(-90deg); /* Для Safari, Chrome, iOS */
		-o-transform: rotate(-90deg); /* Для Opera */
		transform: rotate(-90deg);
	}
}

/*390*/
@media only screen and (max-width: 390px) {
	footer span#footerBtnToVideo,
	footer span#footerBtnToContact,
	footer span#footerBtnToHome {
		width: 120px;
	}
	footer span.leftBtn {
		/*left: -121px !important;*/
	}
	footer span.rightBtn {
		/*left: 121px !important;*/
	}
}

/*320*/
@media only screen and (max-width: 320px) {

	section.main_social a {
		margin: 0 15px;
	}

	section.additional_social a {
		margin: 0 4px;
	}
	article#video nav div{
		line-height: 170%;
	}
}

@media only screen and (max-height: 400px) {
	article#video nav {
		height: 25%;
	}
	article#video nav div {
		line-height: 160%;
		font-size: 18px;
	}
	a.mail {
		position: relative;
		top: 10px;
	}
	section.main_social {
		bottom: 30%;
	}
}