#about {
	background: url(../images/dorogobuzhskiy-17.jpg) no-repeat fixed top ;
	height: 520px;
	height: 520px;
	position: fixed;
	text-align: center;
	top: 0;
	right: 0;
	left: 0;
	z-index: -1;
}
#gallery {
	background: white;
	margin-top: 300px;
}
#gallery:before {
	content: "";
	width: 100%;
	height: 50px;
	position: absolute;
	left: 0px;
	right: 0;
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
	margin-top: -50px;
	opacity: 1;
	box-shadow: 0 -20px 20px -20px #25305687, 0 -10px 15px -20px #253056;
}
.main_text_about {
	font-weight: 100;
	padding: 0 50px 0 50px;
	line-height: 2rem;
	font-size: 1.2rem;
	color: #253056;
}
.second_scroll {
	max-height: 90%;
	overflow-y: auto;
	margin-left: 15%;
	margin-right: 7%;
	max-width: 750px;
}
.second_scroll::-webkit-scrollbar {
	width: 5px;
	height: 1px;
	background-color: rgba(255, 255, 255, 1); 
}
.second_scroll::-webkit-scrollbar-thumb {
	background: -webkit-background: linear-gradient;
	background: -moz-background: linear-gradient;
	background:  linear-gradient(135deg,#253056 50%,#ed2024 50%);
}
.second_scroll:after {
	content: "";
	width: 100%;
	height: 220px;
	position: absolute;
	bottom: 0px;
	left: 0;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
	transform: rotate(180deg);
}
.gallery2  {
	transform: rotate(180deg) rotateX(3.142rad);
}
.rlogo {
	width: 62px;
	height: 62px;
	margin: 0 auto -140px auto;
	background: url(../images/blogo.svg) no-repeat center center;
	transform: rotate(0deg);
	transition: 1.7 all;
	cursor: pointer;
}
.rlogo:hover {
	background: url(../images/rlogo.svg) no-repeat center center;
}
.lenz {
	width: 40px;
	height: 40px;
	position: absolute;
	bottom: 30px;
	left: 40px;
	font-size: 2rem;
	display: none;
	color: white;
	z-index: 100;
	display: none!important;
}
.lenz i {
	font-size: 2rem;
	color: white;
}
.lenz i:hover {
	font-size: 2rem;
	color: #ed2024;
}
.pulsex{
	animation-name: pulsex;
	-webkit-animation-name: pulsex;  
	animation-duration: 1.2s; 
	-webkit-animation-duration: 1.2s;
	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
}

@keyframes pulsex {
	0% {
		transform: scale(1);
		opacity: 0.7;   
	}
	50% {
		transform: scale(1.1);
		opacity: 1; 
	} 
	100% {
		transform: scale(1);
		opacity: 0.7; 
	}     
}

@-webkit-keyframes pulsex {
	0% {
		-webkit-transform: scale(1);
		opacity: 0.7;   
	}
	50% {
		-webkit-transform: scale(1.1);
		opacity: 1; 
	} 
	100% {
		-webkit-transform: scale(1);
		opacity: 0.7; 
	}     
}

#gallery2 .welcome {
	color: #253056;
	height: 430px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	background: url(../images/wlogo.svg) no-repeat center center;
	transform: rotate(180deg) rotateX(3.142rad)!important;
}
#gallery2 .welcome p{
	font-size: 2.1rem;
	line-height: 3.6rem;
	font-weight: 100;
	margin-top: -7px;
}
#gallery2 .welcome h4 {
	padding-top: 140px;	
}
#gallery2 .welcome h4 span {
	color: #ed2024;
}
/* --- gallery */
.containerg {
	position: relative;
	width: 100%;
}
.containerg > .colg {
	position: relative;
	height: 100%;
	float: left;
}
.containerg:not(.flexg) .colg {
	width: 100%;
	height: 600px;
}
.colg:nth-child(1){
	width: 50%;
}
.colg:nth-child(2){
	width: 18%;
}
.colg:nth-child(3){
	width: 32%;
}
.cont4{
	position: relative;
	float: left;
	width: 100%;
	height: 50%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border: 2px solid white;
	border-collapse: collapse;
	overflow: hidden;
}
.cont4 > div {
	height: 100%;
	background-image: url(../images/zavod/pic1.jpg);
	background-size: cover;
	transition: all .3s ease-in-out;
}
.cont5{
	position: relative;
	float: left;
	width: 100%;
	height: 50%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border: 2px solid white;
	border-collapse: collapse;
	overflow: hidden;
}
.cont5 > div {
	height: 100%;
	background-image: url(../images/zavod/pic2.jpg);
	background-size: cover;
	transition: all .3s ease-in-out;
}
.cont6{
	position: relative;
	float: left;
	width: 100%;
	height: 57%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border: 2px solid white;
	border-collapse: collapse;
	overflow: hidden;
}
.cont6 > div {
	height: 100%;
	background-image: url(../images/zavod/pic3.jpg);
	background-size: cover;
	transition: all .3s ease-in-out;
}
.cont7{
	position: relative;
	float: left;
	width: 50%;
	height: 43%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border: 2px solid white;
	border-collapse: collapse;	
	overflow: hidden;
}
.cont7 > div {
	height: 100%;
	background-image: url(../images/zavod/pic4.jpg);
	background-size: cover;
	transition: all .3s ease-in-out;
}
.cont8{
	position: relative;
	float: left;
	width: 50%;
	height: 43%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border: 2px solid white;
	border-collapse: collapse;
	overflow: hidden;
}
.cont8 > div {
	height: 100%;
	background-image: url(../images/zavod/pic5.jpg);
	background-size: cover;
	transition: all .3s ease-in-out;
}
.cont9{
	position: relative;
	float: left;
	width: 100%;
	height: 50%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border: 2px solid white;
	border-collapse: collapse;
	overflow: hidden;
}
.cont9 > div {
	height: 100%;
	background-image: url(../images/zavod/pic6.jpg);
	background-size: cover;
	transition: all .3s ease-in-out;
}
.cont10{
	position: relative;
	float: left;
	width: 100%;
	height: 57%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border: 2px solid white;
	border-collapse: collapse;
	overflow: hidden;
}
.cont10 > div {
	height: 100%;
	background-image: url(../images/zavod/pic7.jpg);
	background-size: cover;
	transition: all .3s ease-in-out;
}
.cont11{
	position: relative;
	float: left;
	width: 50%;
	height: 43%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border: 2px solid white;
	border-collapse: collapse;	
	overflow: hidden;
}
.cont11 > div {
	height: 100%;
	background-image: url(../images/zavod/pic8.jpg);
	background-size: cover;
	transition: all .3s ease-in-out;
}
.cont12{
	position: relative;
	float: left;
	width: 50%;
	height: 43%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border: 2px solid white;
	border-collapse: collapse;
	overflow: hidden;
}
.cont12 > div {
	height: 100%;
	background-image: url(../images/zavod/pic9.jpg);
	background-size: cover;
	transition: all .3s ease-in-out;
}
.cont14{
	position: relative;
	float: left;
	width: 100%;
	height: 50%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;  
	border: 2px solid white;
	border-collapse: collapse;
	overflow: hidden;
}
.cont14 > div {
	height: 100%;
	background-image: url(../images/zavod/pic10.jpg);
	background-size: cover;
	transition: all .3s ease-in-out;
}
/* ---- mobile */
.lenzM i {
	color: white;
	font-size: 3rem;
}
.mcont1 {
	height: 320px;
	background-image: url(../images/zavod/pic1.jpg);
	background-size: cover;
	outline: 15px solid white;
	outline-offset: -15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.mcont2 {
	height: 320px;
	background-image: url(../images/zavod/pic2.jpg);
	background-size: cover;
	outline: 15px solid white;
	outline-offset: -15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.mcont3 {
	height: 320px;
	background-image: url(../images/zavod/pic3.jpg);
	background-size: cover;
	outline: 15px solid white;
	outline-offset: -15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.mcont4 {
	height: 320px;
	background-image: url(../images/zavod/pic4.jpg);
	background-size: cover;
	outline: 15px solid white;
	outline-offset: -15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.mcont5 {
	height: 320px;
	background-image: url(../images/zavod/pic5.jpg);
	background-size: cover;
	outline: 15px solid white;
	outline-offset: -15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.mcont6 {
	height: 320px;
	background-image: url(../images/zavod/pic6.jpg);
	background-size: cover;
	outline: 15px solid white;
	outline-offset: -15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.mcont7 {
	height: 320px;
	background-image: url(../images/zavod/pic7.jpg);
	background-size: cover;
	outline: 15px solid white;
	outline-offset: -15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.mcont8 {
	height: 320px;
	background-image: url(../images/zavod/pic8.jpg);
	background-size: cover;
	outline: 15px solid white;
	outline-offset: -15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.mcont9 {
	height: 320px;
	background-image: url(../images/zavod/pic9.jpg);
	background-size: cover;
	outline: 15px solid white;
	outline-offset: -15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.mcont10 {
	height: 320px;
	background-image: url(../images/zavod/pic10.jpg);
	background-size: cover;
	outline: 15px solid white;
	outline-offset: -15px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#mobG {display: none;}
/* ---- mobile */
.cont4:hover > div,
.cont14:hover > div,
.cont12:hover > div,
.cont11:hover > div,
.cont10:hover > div,
.cont9:hover > div,
.cont8:hover > div,
.cont7:hover > div,
.cont6:hover > div,
.cont5:hover > div {
	transform: scale(1.1);
}
/*
.cont4, .cont5, .cont6, .cont7, .cont8, .cont9, .cont10, .cont11, .cont12, .cont14 {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	filter: url(/elements/grayscale.svg#desaturate);
	filter: gray;
	-webkit-filter: grayscale(1);
	opacity: 0.7;
	cursor: pointer;	
}
*/
.cont4:hover .lenz,
.cont5:hover .lenz,
.cont6:hover .lenz,
.cont7:hover .lenz,
.cont8:hover .lenz,
.cont9:hover .lenz,
.cont10:hover .lenz,
.cont11:hover .lenz,
.cont12:hover .lenz,
.cont14:hover .lenz{
	display: block;
}

.cont4:hover,
.cont5:hover,
.cont6:hover,
.cont7:hover,
.cont8:hover,
.cont9:hover,
.cont10:hover,
.cont11:hover,
.cont12:hover,
.cont14:hover   {
	filter: none;
	opacity: 1;
}
.cont4 > div:before,
.cont5 > div:before,
.cont6 > div:before,
.cont7 > div:before,
.cont8 > div:before,
.cont9 > div:before,
.cont10 > div:before,
.cont11 > div:before,
.cont12 > div:before,
.cont14 > div:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(255,255,255,0.6);
}
.cont4 > div:hover:before,
.cont5 > div:hover:before,
.cont6 > div:hover:before,
.cont7 > div:hover:before,
.cont8 > div:hover:before,
.cont9 > div:hover:before,
.cont10 > div:hover:before,
.cont11 > div:hover:before,
.cont12 > div:hover:before,
.cont14 > div:hover:before{
	display: none;
}
@media screen and (max-width: 750px) {
	.cont4, .cont5, .cont6, .cont7, .cont8, .cont9, .cont10, .cont11, .cont12, .cont14 {
		width: 100%;
		float: left;
		height: 320px;
	}
	.containerg:not(.flexg) .colg {
		width: 100%;
		height: 100%;
	}
	.containerg > .colg {
		position: relative;
		height: 100%;
		float: none;
	}
}
@media screen and (max-width: 320px) {
	.cont4, .cont5, .cont6, .cont7, .cont8, .cont9, .cont10, .cont11, .cont12, .cont14 {
		width: 100%;
		float: left;
		height: 320px;
	}
	.containerg:not(.flexg) .colg {
		width: 100%;
		height: 100%;
	}
	.containerg > .colg {
		position: relative;
		height: 100%;
		float: none;
	}
}
/* --- gallery */
@media (max-width: 1050px) and (min-width: 750px) {
	#gallery2 .welcome {
		transform: scale(0.7) rotate(180deg) rotateX(3.142rad)!important;
	}
}	
@media (max-width: 759px) and (min-width: 0px) {
	#hideG {
		display: none;
	}
	#mobG {
		display: block;
	}
	.lenz {
		width: 60px;
		height: 60px;
		margin: auto;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		top: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		color: white;
		z-index: 200;
	}
	.lenz i {
		font-size: 3rem;
	}
}
@media (max-width: 749px) and (min-width: 400px) {

	.second_scroll {
		max-height: 550px;
		overflow-y: auto;
		margin-left: 2%;
		margin-right: 2%;
		max-width: 750px;
	}
	.main_text_about {
		font-weight: 100;
		padding: 0 50px 0 50px;
		line-height: 2rem;
		font-size: 1.1rem;
		color: #253056;
	}
	.second_scroll:after {
		display: none;	
	}
}
@media (max-width: 400px) and (min-width: 0px) {
	.second_scroll {
		max-height: 350px;
		overflow-y: auto;
		margin-left: -4%;
		margin-right: 2%;
	}
	.second_scroll:after {
		display: none;	
	}
	.main_text_about {
		font-weight: 100;
		padding: 0 50px 0 50px;
		line-height: 2rem;
		font-size: 1.1rem;
		color: #253056;
	}
}