html, body {overflow-x: hidden;}
body {margin:0;  padding:0; background-color:#d4d3d8; z-index:-3; font-family: 'Open Sans', Arial, sans-serif;}

	h1 {margin-left:20%; margin-top:-1%;  padding:0; font-family: 'Poiret One', cursive; font-size:300%;}
	h4 {margin:0 0 0 3%;   padding:0.5% 0 0 0; font-family: 'Poiret One', cursive; font-size:200%;}
	p {text-indent: 15px; padding: 5px;}
	
.a16 {border: none; width:90%;}
.a18 {border: none; width:90%; margin-top:20%;}

ul, .item, .news, .tema1 {
  margin: 0;
  padding: 0;
}
*, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
.item {
	position: relative;
	margin: 0 auto;
	padding: 1em 0 4em;
	max-width: 1900px;
	list-style: none;
	text-align: center;
	width:98%;
	background-color:rgba(0, 0, 0, 0.6);
	margin-left:1%;
	border-radius: 4px;
	list-style: none;
	
}

	.item figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: .5% .5%;
	min-width:20%;	
	width: 24%;
	text-align: center;
	cursor: pointer;
	background: #3085a3;	
	}
	
.item figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	width: 100%;
	opacity: 0.8;
}
		
.item figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.item figure figcaption::before,
.item figure figcaption::after {
	pointer-events: none;
}

.item figure figcaption,
.item figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
 


.item figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.item figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
	color: #fff;
	font-size: 1.5em;}

.item figure h2 span {
	font-weight: 800;
}

.item figure h2,
.item figure p {
	margin: 0;
}

.item figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}


			
/*---------------*/
/***** Julia *****/
/*---------------*/

figure.effect-julia {
	background: #2f3238;
}

figure.effect-julia img {
	max-width: none;
	height: 100%;
	-webkit-transition: opacity 1s, -webkit-transform 1s;
	transition: opacity 1s, transform 1s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-julia figcaption {
	text-align: left;
}

figure.effect-julia h2 {
	position: relative;
	padding: 0.5em 0;
}

figure.effect-julia p {
	display: inline-block;
	margin: 0 0 0.25em;
	padding: 0.4em 1em;
	background: rgba(255,255,255,0.9);
	color: #2f3238;
	text-transform: none;
	font-weight: 500;
	font-size: 0.7em;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-460px,0,0);
	transform: translate3d(-460px,0,0);
}

figure.effect-julia p:first-child {
	-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

figure.effect-julia p:nth-of-type(2) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

figure.effect-julia p:nth-of-type(3) {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

figure.effect-julia:hover p:first-child {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

figure.effect-julia:hover p:nth-of-type(2) {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

figure.effect-julia:hover p:nth-of-type(3) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

figure.effect-julia:hover img {
	opacity: 0.4;
	-webkit-transform: scale3d(1.1,1.1,1);
	transform: scale3d(1.1,1.1,1);
}

figure.effect-julia:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}



	
	
	
	figcaption img {
	-webkit-transform: translate3d(-1460px,0,0);
	transform: translate3d(-1460px,0,0);}
	figcaption :hover img {
	opacity: 1;
	-webkit-transform: translate3d(10px,0,0);
	transform: translate3d(10px,0,0);}	
	
	.news{width:98%;  background-color:rgba(255, 255, 255, 0.85); border-radius: 4px; margin-top:0%; margin-left:1%;}
	.news h4 {margin-bottom:-1%;}
	.news p{font-size:120%;}

	

	.item figure figcaption {color: #fff; text-transform: uppercase;}
	.item h4 {color:#fff;}
	.item img {border:0;}
	.item a {outline: none; color: #3498db; text-decoration: none;}

	
/* Кнопки навигации */
	nav {display: block;}
	.codrops-demos {
    clear: both;
    padding: 1em 0;	
    text-align: center;
	margin-right:35%;}
	
	.codrops-demos a {
	outline: none;
    color: #00202D;
    text-decoration: none;	
    display: inline-block;
    margin: 0 5px;
    padding: 1em 1.5em;
    text-transform: uppercase;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.5);
}
.codrops-demos a:hover,
.codrops-demos a:focus,
.codrops-demos a.current-demo {
	background: #3c414a;
	color: #fff;
}	
	
	@media screen and (max-width:3920px)  {.tema1{background: url(img/7/m01.jpg) no-repeat;background-size: 100%;}}
	@media screen and (max-width:1920px)  {.tema1{background: url(img/7/m02.jpg) no-repeat;background-size: 100%;}}
	@media screen and (max-width:1675px)  {.item figure {min-width: 32.3%;} .item figure figcaption  p{font-size: 0.9em;} .item figure h2 {font-size: 1.7em;} .news p {font-size: 110%;}
											.tema1{background: url(img/7/m02.jpg) no-repeat;background-size: 100%;}} 
	@media screen and (max-width:1475px)  {.tema1{background: url(img/7/m02.jpg) no-repeat; background-size: 100%;}} 
	@media screen and (max-width:1366px)  {.item figure {min-width:46%;margin-left:2.5%;}.item figure figcaption  p{font-size: 1em;} .item figure h2 {font-size: 1.8em;}}
	@media screen and (max-width:1280px)  {.item figure {min-width:49%; margin-left:0.5%;} .item figure figcaption  p{font-size: 0.9em;} .item figure h2 {font-size: 1.7em;}.tema1 {background: url(img/7/m02.jpg) no-repeat;background-size: 100%;}}
	@media screen and (max-width:1060px)  {.item figure figcaption  p{font-size: 0.8em;} .item figure h2 {font-size: 1.6em;}.tema1 {background: url(img/7/m03.jpg) no-repeat;background-size: 100%;}}
	@media screen and (max-width:900px)  {.item figure figcaption  p{font-size: 0.7em;} .item figure h2 {font-size: 1.5em;}}
	@media screen and (max-width:830px)  {.item figure figcaption  p{font-size: 0.6em;} .item figure h2 {font-size: 1.3em;}.tema1 {background: url(img/7/m04.jpg) no-repeat;background-size: 100%;}}
	@media screen and (max-width:770px)  {.item figure {min-width: 80%; margin-left:10%;}.item figure figcaption  p{font-size: 1em;} .item figure h2 {font-size: 1.8em;}
											.news p{font-size:100%;} h1{font-size:200%;}h4{font-size:150%;} a{font-size:90%;}h1 {margin-top:-2%;}}
	@media screen and (max-width:690px)  {.item figure {min-width: 90%; margin-left:5%;}.item figure figcaption p{font-size:0.9em;}.item figure h2 {font-size: 1.7em;} h1{font-size:190%;}}
	@media screen and (max-width:600px)  {.item figure figcaption p{font-size:0.8em;}.item figure h2 {font-size: 1.6em;}.item figure {min-width: 98%; margin-left:1%;}}
	@media screen and (max-width:500px)	 {.item figure figcaption p{font-size:0.7em;}.item figure h2 {font-size: 1.5em;}h1 {margin-top:-4%;}h4{font-size:130%;}}
	@media screen and (max-width:460px)  {.item figure figcaption p{font-size:0.6em;}.item figure h2 {font-size: 1.4em;}h1{font-size:180%;}a{font-size:80%;}}
	@media screen and (max-width:400px)  {.item figure figcaption p{font-size:0.6em;}.item figure h2 {font-size: 1.4em;}h1{font-size:130%;} h4{font-size:110%;}a{font-size:70%;}}
    @media screen and (max-width:380px)  {.tema1 {background: url(img/7/m08.jpg) no-repeat;background-size: 100%;}.item figure h2 {font-size: 0.85em;margin-top:-8%;}.item figure figcaption p{font-size:0.4em;}
											h1{font-size:110%;margin-top:-6%;} h4{font-size:100%;}a{font-size:60%;} .a18 {margin-top:-42%;}}