*{
	padding:0;margin:0;
	box-sizing:border-box;
	}
img{border:0}
table{border-collapse:collapse;border-spacing:0}
body{
	font-family:'Open Sans',sans-serif;
	font-display:swap;
	position:relative;
	color:#333;
	}
body::before{
	content:"";
	display:block;
	height:120px;
	background:#222;
	}
a{
	color:#008DD2;
	transition:.3s;
	}
a:hover{
	color:#ED2924;
	}
.wrap{
	clear:both;
	max-width:1260px;
	margin:auto;
	padding:0 15px;
	}
a.pdf{
	background:url(pdf.png) 0 0 no-repeat;
	padding-left:25px;
	}
	
#about ::selection,header nav li:first-child ::selection{
	background:#ED2924;
	color:#FFF;
	}
#catalog ::selection,header nav li:nth-child(2) ::selection{
	background:#8CC13C;
	color:#FFF;
	}
#contacts ::selection,header nav li:nth-child(3) ::selection{
	background:#008DD2;
	color:#FFF;
	}
img::selection{
	background:transparent!important;
	}
	
#about::after,#catalog::after,#catalog>h2:not(:first-of-type)::before{
	content:"";
	display:block;
	clear:both;
	background-image:linear-gradient(to right,#ED2924,#ED2924 33%,#8CC13C 33%,#8CC13C 67%,#008DD2 67%,#008DD2);
	/*background-image:linear-gradient(to right,#ED2924,#8CC13C,#008DD2);*/
	height:3px;
	width:50%;
	margin:70px auto 30px;
	}
header{
	display:block;
	position:fixed;
	top:0;
	left:0;
	z-index:3;
	background:#222;
	width:100%;
	height:120px;
	box-shadow:0 5px 5px rgba(0,0,0,.3);
	transition:.3s;
	}
header .wrap{
	display:flex;
	justify-content:space-between;
	align-items:center;
	}
#logo{
	height:70px;
	transition:.3s;
	}
header nav ul{
	list-style:none;
	display:flex;
	justify-content:space-between;
	}
header nav a{
	display:block;
	position:relative;
	color:#DDD;
	text-decoration:none;
	font-size:1.2em;
	line-height:120px;
	padding:0 15px;
	margin-left:10px;
	transition:.3s;
	}
header nav li:first-child a{
	margin-left:0;
	}
header nav a::after{
	content:"";
	display:block;
	position:absolute;
	left:0;
	bottom:0;
	height:10px;
	width:100%;
	background:#ED2924;
	border-top-left-radius:30px;
	border-bottom-right-radius:30px;
	border-top-right-radius:5px;
	transition:.2s;
	}
header nav li:nth-child(2) a::after{
	background:#8CC13C;
	}
header nav li:nth-child(3) a::after{
	background:#008DD2;
	}
header nav a:hover{
	color:#FFF;
	}
header nav a:hover::after{
	height:30px;
	}
header.fix{
	height:60px;
	}
header.fix #logo{
	height:40px;
	}
header.fix nav a{
	font-size:1em;
	line-height:60px;
	}
header.fix nav a::after{
	height:5px;
	border-radius:0;
	}
	
#video{
	position:relative;
	z-index:1;
	width:100%;
	height:30vw;
	overflow:hidden;
	background:#000;
	}
#video::before{
	content:"";
	position:absolute;
	z-index:2;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:url(i/dots.png) 0 0 repeat;
	opacity:0.4;
	}
#video video{
	display:block;
	width:100%;
	position:relative;
	top:-40%;
	z-index:1;
	}
	
footer{
	display:block;
	background:#222;
	color:#EEE;
	padding:20px 0;
	border-top:solid 5px #222;
	border-image:linear-gradient(to right,#ED2924,#8CC13C,#008DD2) 2;
	}
footer p{
	margin:20px 0;
	}
footer p span{
	color:#8CC13C;
	}
footer p span:first-child{
	color:#ED2924;
	}
footer p span:last-child{
	color:#008DD2;
	}
	
h1,h2,h3,h4{
	font-weight:normal;
	font-size:2.5em;
	padding-top:30px;
	}
h2{
	padding-top:0;
	font-size:2em;
	margin:25px 0;
	}
h1 img,h2 img{
	height:1em;
	}
#about,#catalog,#contacts{
	font-size:1.1em;
	text-align:center;
	}
#about p{
	margin:25px 0;
	}
#about h2{
	margin-top:15px;
	}
#about p{
	margin:25px 0;
	}
#certificates{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-around;
	}
#about .cert{
	list-style:none;
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	}
#about .cert img{
	max-width:100%;
	height:auto;
	transition:.2s;
	}
#about .cert a:hover img{
	filter:saturate(300%);
	}
	
#catalog.wrap{
	padding:0;
	}
#adleb{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-evenly;
	list-style:none;
	margin-bottom:50px;
	}
#adleb li{
	position:relative;
	border:solid 1px #CCC;
	width:32%;
	min-width:220px;
	margin-top:1%;
	padding:20px 0;
	cursor:pointer;
	}
#adleb li::before{
	content:"";
	display:block;
	position:absolute;
	top:-2px;
	left:-2px;
	height:100%;
	width:100%;
	border:solid 2px #CCC;
	border-image:linear-gradient(to right bottom,#ED2924,#8CC13C,#008DD2) 2;
	transition:.3s;
	opacity:0;
	}
#adleb li:nth-child(odd)::before{
	border-image:linear-gradient(to left bottom,#ED2924,#8CC13C,#008DD2) 2;
	}
#adleb li:hover::before{
	opacity:1;
	}
#adleb li img{
	display:block;
	max-width:200px;
	margin:0 auto;
	}
#adleb li span{
	position:absolute;
	top:27px;
	left:50%;
	display:block;
	background:#000;
	color:#CCC;
	width:188px;
	height:106px;
	transform:translateX(-50%);
	font-size:1.6em;
	line-height:106px;
	transition:.4s;
	}
#adleb li:hover span{
	background:rgba(0,0,0,0.6);
	color:#FFF;
	text-shadow:-3px -3px 0 #008DD2,-6px -6px 0 #8CC13C,-9px -9px 0 #ED2924;
	}
#adleb li[rel=adleb75b],#adleb li[rel=adleb85b],#adleb li[rel=adleb86b],#adleb li[rel=adleb85d]{
	width:49%;
	padding:30px 0 0;
	}
#adleb li[rel=adleb75b] img,#adleb li[rel=adleb85b] img,#adleb li[rel=adleb86b] img,#adleb li[rel=adleb85d] img{
	max-width:95%;
	}
#adleb li[rel=adleb75b] span,#adleb li[rel=adleb85b] span,#adleb li[rel=adleb86b] span,#adleb li[rel=adleb85d] span{
	position:static;
	transform:none;
	width:auto;
	height:auto;
	line-height:2.2em;
	background:transparent;
	color:#222;
	display:inline;
	}
#adleb li[rel=adleb75b]:hover span,#adleb li[rel=adleb85b]:hover span,#adleb li[rel=adleb86b]:hover span,#adleb li[rel=adleb85d]:hover span{
	background:transparent;
	color:#222;
	text-shadow:none;
	background:linear-gradient(to right,#ED2924,#8CC13C,#008DD2);
	-webkit-background-clip:text;
	-webkit-text-fill-color:transparent;
	}
	
#catalog .description{
	display:none;
	position:absolute;
	top:20%;
	left:50%;
	width:70%;
	max-width:1400px;
	transform:translateX(-50%);
	background:#FFF;
	z-index:15;
	box-shadow:0 0 20px rgba(0,0,0,.5);
	text-align:center;
	padding:30px;
	font-size:1em;
	line-height:1.5em;
	color:#000;
	}
#catalog .description>div{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-evenly;
	}
#catalog .description .close,#blackbox .message .close{
	display:block;
	position:absolute;
	top:0;
	right:10px;
	font-size:50px;
	line-height:50px;
	cursor:pointer;
	}
#catalog .description h3{
	font-size:2.2em;
	line-height:1.5em;
	padding:0 0 40px;
	}
#catalog .description .photo{
	position:relative;
	margin-bottom:20px;
	}
#catalog .description .photo.pant{
	max-width:400px;
	}
#catalog .description .photo img{
	max-width:100%;
	}
table{
	width:100%;
	}
td{
	border-top:solid 1px #DDD;
	border-bottom:solid 1px #DDD;
	padding:7px 10px;
	transition:.2s;
	}
td:first-child{
	text-align:left;
	padding-right:20px;
	}
tr:nth-child(even) td{
	background:#FAFAFA;
	}
tr:hover td{
	background:#EEE;
	}
#catalog .description p{
	margin-top:20px;
	font-size:0.9em;
	text-align:left;
	}
	
p.adldi,p.adlko,p.adlki{
	float:left;
	margin-right:30px;
	}
p.adlpco{
	float:right;
	margin:10px 0 15px;
	}
table.adldi{
	width:auto;
	}
/*#catalog .description .photo video{
	position:absolute;
	width:97%;
	top:8px;
	left:50%;
	transform:translateX(-50%);
	opacity:0;
	cursor:pointer;
	}
#catalog .description .photo video.active{
	opacity:1;
	}*/
#catalog .description .photo  iframe,#catalog .description .photo  span{
	position:absolute;
	display:none;
	width:382px;
	height:216px;
	top:9px;
	left:8px;
	}
#catalog .description .photo  span{
	display:block;
	opacity:0;
	cursor:pointer;
	background:radial-gradient(rgba(255,255,255,0.2),transparent);
	transition:ease .2s;
	}
#catalog .description .photo  span:hover{
	opacity:1;
	}
	
#contacts .wrap{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-evenly;
	margin:20px auto 30px;
	}
#contacts p{
	margin:15px 0;
	}
#contacts #chaticons{
	position:fixed;
	top:50%;
	right:20px;
	width:60px;
	transform:translateY(-50%);
	z-index:100;
	}
#chaticons a{
	display:block;
	margin:10px 0;
	transition:transform .2s;
	}
#chaticons a:hover{
	transform:scale(1.2);
	}
#contacts form{
	background:#AAA;
	padding:18px 20px;
	margin-top:15px;
	}
#contacts form h2{
	margin:0 0 20px;
	color:#FFF;
	line-height:1em;
	}
#contacts input,#contacts textarea{
	display:block;
	width:500px;
	padding:8px 10px;
	margin-top:10px;
	font-family:'Open Sans',sans-serif;
	font-size:0.9em;
	}
#contacts textarea{
	height:200px;
	}
#contacts input[type=submit]{
	background:#8CC13C;
	border:none;
	cursor:pointer;
	font-size:1.2em;
	color:#FFF;
	padding:10px 0;
	border-radius:7px;
	transition:.2s;
	}
#contacts input[type=submit]:hover{
	background:#008DD2;
	}
#map{
	width:100%;
	height:30vw;
	filter:saturate(150%);
	content-visibility:auto;
	}
	
#blackbox{
	display:none;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,.5);
	z-index:10;
	}
#blackbox img{
	position:fixed;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	max-height:95%;
	max-width:95%;
	box-shadow:0 0 20px rgba(0,0,0,.5);
	cursor:pointer;
	}
#blackbox .message{
	position:fixed;
	top:50%;
	left:50%;
	width:600px;
	margin:-120px 0 0 -300px;
	background:#FFF;
	z-index:15;
	box-shadow:0 0 20px rgba(0,0,0,.5);
	text-align:center;
	border-radius:20px;
	padding:30px 0;
	font-size:1.5em;
	line-height:2em;
	color:#000;
	}
#blackbox .message p:first-child{
	text-transform:uppercase;
	font-size:1.2em;
	margin-bottom:0.5em;
	}
	
.rails{
	text-align:left;
	}
.rails p{
	margin-top:1.5em;
	}
.rails ul{
	list-style:inside;
	}
	
@media all and (max-width:800px){
	header,body::before{
		height:60px;
		}
	header #logo{
		height:40px;
		}
	header nav a{
		font-size:1em;
		line-height:60px;
		}
	header nav a::after,header nav a:hover::after{
		height:5px;
		border-radius:0;
		}
	#map,#video{
		height:40vw;
		}
	#video video{
		top:-10%;
		}
	#contacts form{
		width:95%;
		padding:25px;
		}
	#contacts input,#contacts textarea{
		width:100%;
		}
	#contacts #chaticons{
		position:static;
		margin-top:25px;
		width:auto;
		transform:none;
		}
	#chaticons a{
		display:inline;
		margin:0 10px;
		transition:none;
		}
	#chaticons a:hover{
		transform:none;
		}
	#catalog .description{
		width:100%;
		}
	}
@media all and (max-width:650px){
	.wrap{
		padding:0 5px;
		}
	#about::after,#catalog::after{
		margin:50px auto 10px;
	}
	header,body::before{
		height:60px;
		}
	header .wrap{
		display:block;
		text-align:center;
		}
	header #logo{
			margin-top:10px;
			height:40px;
		}
	header nav,#video,#map{
		display:none;
		}
	footer{
		text-align:center;
		content-visibility:auto;
		}
	h1{
		font-size:2.2em;
		}
	h2{
		font-size:1.6em;
		}
	h2 a{
		display:block;
		width:200px;
		text-align:center;
		margin:1em auto 0;
		}
	h2 img{
		height:auto;
		}
	#catalog .description h3{
		font-size:1.8em;
		padding:0 0 20px;
		}
	#catalog .description{
		padding:30px 5px;
		font-size:0.9em;
		line-height:1.2em;
		}
	#catalog .description .photo{
		max-width:70%;
		}
	#cert li{
		width:32%;
		}
	#catalog li[rel=adleb75b],#catalog li[rel=adleb85b],#catalog li[rel=adleb86b],#catalog li[rel=adleb85d]{
		width:95%;
		}
	p.adldi,p.adlko,p.adlpco,p.adlki{
		float:none;
		margin-right:auto;
		margin-left:auto;
		text-align:center;
		}
	.rails{
		width:95%;
		margin:auto;
		}
	}
@media all and (max-width:450px){
	#catalog li{
		width:95%;
		}
	#about .cert li{
		width:32%;
		}
	}