/*
Author       : ISVM
Template Name: Gidrotrans AKPP
Version      : 1.0
*/
/*
Переменные сайта
----------------------
--site-font: шрифт сайта
--font-color: цвет текста сайта
--background-color: цвет фона сайта 
--background-footer: цвет фона меню и футера
--white: #ffffff; белый
--black: #000000; черный
--red: #f82206; красный
--knopka: #0066cc; темно-синий


--ground: 999999 цвет текста 838383

--foncolor: цвет фона


--ground: #3d5b44; темнозеленый

--green: #529562; зеленый
--grey: #f8f7f2; серый f2f2f2
--dark-grey: #696969; темно-серый


--blue: #6b6f92; голубой.
--niz-footer: ; размер футера
--top-footer: ; отступ минус футер
*/
:root {
	--site-font: 'Exo 2', sans-serif;
	--font-color: #727272;
	--background-color: #4c3966;
	--background-footer: #19194b;
	--white: #ffffff;
	--black: #000000;
	--red: red;
	--knopka: #4c3966;
}
/* ----------------------
Схема сайта
------------------------- */
html, body {width: 100%;}
html {
	*background: var(--background-color);
	*background-image: url(../img/bg2.jpg);
}
html, body, div, ul, ol, li, img, h1, h2, h3, a, p {margin: 0; padding: 0;}
h2, h3 {color: var(--black);}

body { 
	font-family: var(--site-font);
	font-size: calc(8px + 6 * (100vw / 1280));
	color: var(--font-color);
	
}
ul {
	list-style: none;
}
a {
	text-decoration: none;
}
/* ----------------------
Верх сайта
------------------------- */
.top {
	display: block;
	*display: grid;
	width: 100%;
	*height: 4vh;
	height: 40px;
	*height: auto;
	background: var(--background-footer);
	*grid-template-columns: 1fr;
	*grid-auto-columns: 1fr;
	*grid-auto-columns: minmax(40px, auto);
	*grid-auto-rows: minmax(40px, auto);
	*align-items: end;
}
.top h3 {
	display: inline-block;
	*width: 50vw;
	margin-left: 5vw;
	line-height: 40px;
	color: var(--white);
	*text-align: right;
	font-size: 0.9em;
	font-weight: normal;
	*background: #f7f7f7;
}
.top ul {
	display: block;
	width: auto;
	float: right;
	margin-right: 3vw;
}
.top ul li {
	display: block;
	width: auto;
	*height: 4vh;
	float: left;
	height: 40px;
}
.top ul li i {
	display: block;
	*padding-top: 0.5vh;
	*padding-top: 0;
	*margin-bottom: 0.5vh;
	color: var(--white);
	line-height: 40px;
}
.top ul li i:hover {
	color: var(--red);
}
.top ul li img {
	display: block;
	*width: 100%;
	*height: 3vh;
	height: 34px;
	*padding-top: 0.5vh;
	margin-right: 0.3vw;
	padding-top: 3px;
}
/* ----------------------
Меню
------------------------- */
.menu {
	*display: block;
	display: inline-block;
	width: 100%;
	position: relative;
	*background: #f7f7f7;
	background: #f2f2f2;
}
.menu .logo {
	display: block;
	*width: 150px;
	width: 47vw;
	*height: 150px;
	float: left;
	margin-left: 3vw;
	*background: var(--background-footer);
}
.menu .logo img {
	display: block;
	width: 26%;
	float: left;
	margin-right: 25px;
	margin-top: 1.5vh;
	margin-bottom: 1vh;
}
.menu .logo h1, .menu .logo h2 {
	padding-top: 4vw;
}
.menu .logo h2 {
	padding-top: 15px;
}
.menu ul {
	display: flex;
	*display: block;
	*width: 50vw;
	*height: 150px;
	*line-height: 1.5em;
	line-height: 1.5em;
	float: right;
	margin-right: 3vw;
	*margin-top: 20px;
	margin-top: 3vw;
	*background: var(--background-footer);
	*background: var(--knopka);
	background: var(--background-footer);
	border-radius: 10vh;
}
.menu ul li {
	*display: block;
	*margin-top: 20px;
	*width: 20%;
	*max-width: 33%;
	*max-width: 245px;
	*max-width: 185px;
	*width: auto;
	*height: 150px;
	*float: left;
	float: right;
	*background: var(--knopka);
	*margin-left: 5px;
	*margin-left: 1%;
	padding: 25px 10px;
	text-align: center;
	*border-left: 1px solid #fff;
}
.menu ul li a {
	*padding: 20px 5px;
	color: var(--white);
	font-size: 1em;
}
.menu ul li a:hover {
	color: var(--red);
}
#mobi-menu{
  display: none;
}
/* ----------------------
Тело
------------------------- */
.slider {
	position: relative;
	display: block;
	*margin-top: 5vh;
	width: 100%;
	*height: 600px;
	height: 75vh;
	*height: 468px;
	*min-height: 50vh;
	*background-image: url(../img/bg4.jpg);
	*background-attachment: fixed; 
	*background-repeat: no-repeat; 
	*background-position: top;
	background-image: url(../img/bg.jpg);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: 100% 100%;
}
.slider h2 {
	*position: absolute;
	*position: relative;
	*top: 0;
	*left: 0;
	*margin-left: 20vw;
	padding-top: 27vh;
	*padding-top: 5%;
	*padding-bottom: 3%;
	text-align: center;
	color: var(--white);
	font-size: 3.1em;
	line-height: 1.5em;
}
.slider p {
	display: block;
	*width: 19vw;
	width: 500px;
	*max-width: 25vw;
	margin-left: auto;
	margin-right: auto;
	padding: 30px 20px 30px 35px;
	*padding: 30px 0;
	color: var(--white);
	*background-color: var(--white);
	*background: var(--knopka);
	background-color: var(--knopka);
	opacity: 0.7;
	font-size: 1.2em;
	line-height: 1.8em;
	text-align: center;
	border-radius: 20px;
}
.advantage {
	display: inline-block;
	width: 100%;
	*min-height: 70vh;
	min-height: 600px;
	background: #f7f7f7;
	padding-top: 4vh;
	padding-bottom: 4vh;
}
.advantage h2 {
	text-align: center;
	font-size: 1.8em;
}
.advantage-block {
	display: block;
	*position: relative;
	width: 60vw;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	*float: none;
	*margin-top: 4vh;
	*padding-top: 4vh;
	*background-color: var(--white);
	*background: var(--knopka);
}
.advantage-block .advantage-data:nth-child(odd) {
	display: block;
	*position: relative;
	width: 50%;
	float: left;
	margin-top: 8vh;
	position: relative;
    animation:showRight 2s;
}
.advantage-block .advantage-data:nth-child(even) {
	display: block;
	*position: relative;
	width: 50%;
	float: left;
	margin-top: 8vh;
	position: relative;
    animation:showLeft 1s;
}
.advantage-block .advantage-data:nth-child(1) {
    animation:showRight 1s;
}
.advantage-block .advantage-data:nth-child(4) {
    animation:showLeft 2s;
}
.advantagebottom {
	animation:showRight 3s;
	animation:showLeft 3s;
}
@keyframes showRight {
from {right:-100%;}
to {right:0;}
}
@keyframes showLeft {
from {left:-100%;}
to {left:0;}
}
.advantage-text h2 {
	font-size: 1.3em;
}
.advantage-text p {
	text-align: center;
	margin-top: 3vh;
}

.advantage-data .advantage-ikon {
	display: block;
	width: 19%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom:2vh;
	*background: var(--knopka);
	
}
.advantage-data .advantage-ikon img {
	width: 100%;
}
/* ----------------------
Контент
------------------------- */
.content {
	position: relative;
	display: inline-block;
	*width: 90%;
	width: 94vw;
	min-height: 90vh;
	border-radius: 10vh;
	background: rgba(36, 20, 56, 0.1);
	*font-size: 1.3em;
	margin-left: 3vw;
	margin-top: 2vw;
	margin-bottom: 5vw;
	padding: 0 0.5vw 0 0.5vw;
}
/* ----------------------

------------------------- */
.content h2 {
	padding-top: 1vw;
	text-align: center;
	*color: var(--white);
	*color: var(--font-color);
	font-size: 2.5em;
	*line-height: 1.5em;
	margin-bottom: 1vw;
}
.content p {
	padding-left: 2vw;
	padding-right: 2vw;
	margin-bottom: 1vw;
	
}
.content ul, ol {
	display: block;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	*padding-left: 2vw;
	
}
.content ul li a, .content ol li a {
	color: var(--font-color);
}
.content ul li a:hover, .content ol li a:hover {
	color: var(--red);
}
.content  h3 {
	margin-top: 2vh;
	text-align: center;
}
.content img {
	width: 100%;
	margin-top: 2vw;
	margin-bottom: 2vw;
}
.content .sertificat {
	*display: block;
	width: 10vw;
	*width: 30%;
	margin-left: 3vh;
	*margin-right: auto;
}
/* ----------------------
Левое меню
------------------------- */
.left-menu {
	position: relative;
	display: block;
	width: 12vw;
	float: left;
	margin-right: 1vw;
	margin-bottom: 3vw;
}
.left-menu  ul {
	width: 100%;
}
.left-menu ul li {
	margin: 0.5vw 0 0.5vw 0;
	*border: 2px solid var(--font-color);
	border: 1px solid #f7f7f7;
}
.left-menu ul li a {
	display: block;
	padding: 0.5vw;
}
.left-menu ul li a:hover {
	background: #f7f7f7;
}
.left-menu ul li.active a {
	background: #f7f7f7;
	color: var(--red);
}
/* ----------------------
Грид
------------------------- */
.content-text {
	display: block;
	padding-top: 0.5vw;
	width: 100%;
	*background: var(--knopka);
}
.container {
	display: grid;
	grid-template-columns: 100px 1fr 1fr 1fr 1fr 1fr;
}
[class^="box-"] {
  /* Размещаем контейнеры по центру */
  display: grid;
  place-items: center;
  border: 1px solid #f7f7f7;
  padding-left: 1vw;
}
.box-2 {
	padding: 0;
}
.box-2 img {
	width: 100%;
	margin: 0;
	margin-top: 0.3vw;
	margin-bottom: 0.3vw;
}
.tit {
	font-weight: bold;
	background: #f8f8f8;
}
/* ----------------------
Грид2
------------------------- */
.catalog {
	display: grid;
	grid-template-columns: 100px 1fr 1fr 1fr;
}
/* ----------------------
Футер
------------------------- */
.footer {
	display: block;
	width: 100%;
	background: var(--background-footer);
}
.footer-wrap {
	display: grid;
	margin-left: 5vw;
	grid-template-areas: "contact schedule copying";
	*gap: 2rem;
	gap: 1vw;
	grid-template-columns: 30vw 30vw 30vw;
	justify-self: center;
}
.footer-wrap .contact {
	grid-area: contact;
	display: flex;
	flex-wrap: wrap;
	*font-size: 0.9rem;
	justify-content: space-between;
}
.footer-wrap h3 {
	display: block;
	width: 100%;
	color: var(--white);
	margin-top: 3vh;
	margin-bottom: 2vh;
	padding-left: 3vw;
}
.footer-wrap .contact-item {
	display: inline-block;
	width: 100%;
}
.footer-wrap .contact-ikon {
	display: block;
	*width: 4%;
	width: 2vw;
	float: left;
	margin-right: 1vw;
	margin-bottom: 0.5vw;
}
.footer-wrap .contact-ikon img {
	width: 100%;
}
 .copying .contact-item {
	display: inline-block;
	width: 100%;
	margin-top: 1.5vw;
	color: var(--white);
}
.footer-wrap .contact-ikon-logo {
	display: block;
	*width: 4%;
	width: 4.5vw;
	float: left;
	margin-right: 1vw;
	*margin-top: 1vw;
	margin-bottom: 0.5vw;
}
.footer-wrap .contact-ikon-logo img {
	display: block;
	width: 100%;
	margin-right: 10px;
}
.footer-wrap .contact-text {
	line-height: 2vw;
	color: var(--white);
}
.footer-wrap .contact-text a {
	color: var(--white);
}
.footer-wrap .contact-text a:hover {
	color: var(--red);
}
.footer-wrap .contact-text p {
	display: inline-block;
}
.footer-wrap .schedule {
	grid-area: schedule;
	display: flex;
	flex-wrap: wrap;
	*font-size: 0.9rem;
	justify-content: space-between;
}
.footer-wrap .copying {
	grid-area: copying;
	display: flex;
	flex-wrap: wrap;
	*font-size: 0.9rem;
	justify-content: space-between;
}
.copyright {
	float: none;
	width: 100%;
}
.copymb {
	display: none;
}
.topbutton {
	position: fixed;
	right: 2vw;
	bottom: 3vh;
	cursor: pointer;
	text-align: center;
	color: var(--black);
	background: var(--white);
	border: 2px solid var(--black);
	border-radius: 50%;
	display: none;
}
.topbutton i {
	font-size: 24px;
	padding: 1px 7px;
}
.topbutton:hover {
	color: var(--white);
	background: var(--black);
}