/* Page styles*/

body {
	background: #DDDDDD;
}


img {
	width: 100%;
	height: auto;
}

p1 {
	Color: #fff;
}

p2 {
	Color: #fff;
	line-height: 1.5;
}

p3 {
	Color: #fff;
}


A.visit:link {
	Color: #B0B0B0;
	text-decoration: none;
	border-bottom: none;
	
	-webkit-transition: color 0.2s ease, border-color 0.2s ease;
	-moz-transition: color .2s ease, border-color .2s ease;
	-o-transition: color .2s ease, border-color .2s ease;
	-ms-transition: color .2s ease, border-color .2s ease;
	transition: color .2s ease, border-color .2s ease;
}

A.visit:visited {
	Color: #B0B0B0;
	text-decoration: none;
	border-bottom: none;
}

A.visit:hover {
	Color: #FFFFFF;
	text-decoration: none;
	border-bottom: none;
}



/* Video settings*/

.is_overlay{ display: block; width: 100%; height: 100%; }
#trailer {
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	overflow: hidden;
}

 @media (min-aspect-ratio: 16/9) {
     #trailer > video { height: 300%; top: -100%; }
 }
 @media (max-aspect-ratio: 16/9) {
     #trailer > video { width: 300%; left: -100%; }
 }
 /* Если есть поддержка object-fit (Chrome/Chrome для Android, Safari в iOS 8 и Opera), используем его: */
 @supports (object-fit: cover) {
     #trailer > video {
         top: 0; left: 0;
         width: 100%; height: 100%;
         object-fit: cover;
     }




/* - - - P a g e   a d a p t i v e   e l e m e n t s - - - */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media screen and (max-width: 9000px) { 

.container {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: auto;
}
	
.x-close {
	cursor: pointer;
	z-index: 199;
	position: fixed;
	left: 100%;
	top: 30px;
	width: 40px;
	height: 40px;
	margin-left: -70px;
	background-image: url("icon_x-a.png");
	background-size: 40px 40px;
}	

.x-close:hover {
	background-image: url("icon_x-b.png");
	background-size: 40px 40px;
}	
	
.cover {
	position: relative;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100vh;
	min-height: 760px;
	background-color: #000;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;	
}	

.logo {
	position: absolute;
	left: 50%;
	top: 50px;
	width: 70px;
	height: 70px;
	margin-left: -35px;
}	
	
.cover-logo {
	position: absolute;
	left: 50%;
	top: 45%;
	width: 400px;
	height: 400px;
	margin-left: -200px;
	margin-top: -200px;
}	
	
	
	
.cover-info {
	position: absolute;
	text-align: center;
	left: 50%;
	top: 70%;
	width: 580px;
	height: auto;
	margin-left: -290px;
}

.tx1 {
	position: relative;
}
	
.divider {
	position: relative;
	left: 50%;
	top: 20px;
	width: 120px;
	height: 5px;
	margin-left: -60px;
	background-color: #fff;
}
	
.tx2 {
	position: relative;
	top: 50px;
}
	
.content-block {
	position: relative;
	left: 50%;
	top: 100px;
	width: 1400px;
	height: 800px;
	margin-left: -700px;
	padding-bottom: 100px;
}

.content-block2 {
	position: relative;
	left: 50%;
	top: 100px;
	width: 1400px;
	height: 1150px;
	margin-left: -700px;
	padding-bottom: 100px;
}	
	
/*  n e x t   p r o j e c t  */
	
.next-project {
	position: relative;
	left: 0px;
	top: 100px;
	width: 100%;
	height: 100vh;
	min-height: 760px;
	background-color: #000;
	background-image: url("../../alfadesign/images/alfa_logo.png");
	background-repeat: no-repeat;
	background-position: 50% 42%;
	background-attachment: fixed;
	background-size: 400px 400px;	
}		
	
.next-label {
	z-index: 5;
	position: absolute;
	text-align: center;
	left: 50%;
	top: 70%;
	width: 400px;
	height: auto;
	margin-left: -200px;
}	
	
.next-cover {
	z-index: 6;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.80;
	
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
	
.next-cover:hover {
	opacity: 0.00;
}

	
	
/* e n d   o f   m e d i a   s c r e e n */	
}


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
@media screen and (max-width: 1680px) { 

.logo {
	position: absolute;
	left: 50%;
	top: 30px;
	width: 70px;
	height: 70px;
	margin-left: -35px;
}
	
/* e n d   o f   m e d i a   s c r e e n */	
}	
	 

	 
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media screen and (max-width: 1480px) { 

.content-block {
	position: relative;
	left: 50%;
	top: 40px;
	width: 94%;
	height: auto;
	margin-left: -47%;
	padding-bottom: 3%;
}
	
.content-block2 {
	position: relative;
	left: 50%;
	top: 40px;
	width: 94%;
	height: auto;
	margin-left: -47%;
	padding-bottom: 3%;
}		
	
.next-project {
	top: 40px;
}		
	
/* e n d   o f   m e d i a   s c r e e n */	
}

	 
	 
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media screen and (max-width: 740px) { 

/*  n e x t   p r o j e c t  */
	
p1 {
	Font-size: 48px;
	letter-spacing: -1px;
}
	
.next-project {
	position: relative;
	left: 0px;
	top: 40px;
	width: 100%;
	height: 100vh;
	min-height: 320px;
	background-color: #000;
	background-repeat: no-repeat;
	background-position: 50% 45%;
	background-attachment: scroll;
	background-size: 250px 250px;	
}		
	
.next-label {
	z-index: 5;
	position: absolute;
	text-align: center;
	left: 50%;
	top: 70%;
	width: 280px;
	height: auto;
	margin-left: -140px;
}
	
.next-cover {
	opacity: 0.00;
}	
	
/* e n d   o f   m e d i a   s c r e e n */	
}
	 


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media screen and (max-width: 580px) { 

	
p2 {
	Font-size: 26px;
}
	
p3 {
	Font-size: 16px;
}
	
.cover {
	min-height: 540px;
}	
	
.logo {
	position: absolute;
	left: 50%;
	top: 20px;
	width: 60px;
	height: 60px;
	margin-left: -30px;
}	
	
.cover-logo {
	position: absolute;
	left: 50%;
	top: 35%;
	width: 250px;
	height: 250px;
	margin-left: -125px;
	margin-top: -125px;
}

.cover-info {
	position: absolute;
	text-align: center;
	left: 50%;
	top: 55%;
	width: 94%;
	height: auto;
	margin-left: -47%;
}	
	
.x-close {
	cursor: pointer;
	z-index: 10;
	position: fixed;
	left: 100%;
	top: 10px;
	width: 20px;
	height: 20px;
	margin-left: -30px;
	background-image: url("icon_x-a.png");
	background-size: 20px 20px;
}	

.x-close:hover {
	background-image: url("icon_x-b.png");
	background-size: 20px 20px;
}					
	
/* e n d   o f   m e d i a   s c r e e n */	
}



/* - - - - - - - - - - - - - A n i m a t i o n - - - - - - - - - - - - - */

.container, .logo, .x-close, .cover, .cover-logo, .cover-info, .footer, p1, p2, p3 {
    -webkit-transition: all 0.2s ease, font-size 0.2s ease;
    -moz-transition: all 0.2s ease, font-size 0.2s ease;
    -o-transition: all 0.2s ease, font-size 0.2s ease;
    -ms-transition: all 0.2s ease, font-size 0.2s ease;
    transition: all 0.2s ease, font-size 0.2s ease;
}