@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&display=swap');
/*Обнуление*/
*{
	padding: 0;
	margin: 0;
	border: 0;
}
*,*:before,*:after{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}

nav,footer,header,aside{display: block;}

html,body{
	height: 100%;
	width: 100%;
	font-size: 100%;
	line-height: 1;
	font-size: 14px;
	-ms-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}
input,button,textarea{font-family:inherit;}

input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner {padding:0;border:0;}
a, a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}

h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: 400;}
/*--------------------*/

/* Main style */

html{
    height: 100%;
}
body{
    display: flex;
    flex-direction: column;
    height: 100%;
    
}

header{
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto;
 }
 .main-content{
    /* 1 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 1 0 auto;
 }
 footer{
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto;
 }


html, body{
    font-family: "Golos Text";
    background: #F0F5FB;
}

.container{
  max-width: 1300px;
  margin: 0 auto;

}

h2{
  color: #373C59;
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  text-transform: uppercase;
}


/* лоадер отправки формы */

.loadercirclediv {
    width: 50px;
    height: 50px;
}

.loadercircle {
    animation: 2s linear infinite svg-animation;
}

@keyframes svg-animation {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg)
    }
}

.circlemail {
    animation: 1.4s ease-in-out infinite both circle-animation;
    display: none;
    fill: transparent;
    stroke: #006;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 280;
    stroke-width: 10px;
    transform-origin: 50% 50%;
}

@keyframes circle-animation {
    0%, 25% {
        stroke-dashoffset: 280;
        transform: rotate(0);
    }

    50%, 75% {
        stroke-dashoffset: 75;
        transform: rotate(45deg);
    }

    100% {
        stroke-dashoffset: 280;
        transform: rotate(360deg);
    }
}

input[type=file]::file-selector-button{
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}
  
input[type=file]::file-selector-button{
    color: #373C59;
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    font-family: "Golos Text";
    font-weight: 700;
    line-height: 130%; /* 23.4px */
    background: #F0F5FB;
    box-shadow: 6px 6px 15px 0px rgba(144, 147, 151, 0.90), -6px -6px 12px 0px rgba(255, 255, 255, 0.90), 6px -6px 12px 0px rgba(144, 147, 151, 0.20), -6px 6px 12px 0px rgba(144, 147, 151, 0.20), -1px -1px 2px 0px rgba(144, 147, 151, 0.50) inset, 1px 1px 2px 0px rgba(255, 255, 255, 0.30) inset;
    padding: 14px 26px;
    border-radius: 10px;
    margin: 20px;
    cursor: pointer;
}

h3{
    color: #373C59;
    font-family: "Golos Text";
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    }

/* Header */
header{
  width: 100%;
}

.header.hide{
transform: translateY(-140px);
box-shadow: none;
}



.header{
z-index: 3;
position: fixed;
width: 100%;
transition: transform .1s linear;
}


.header-top{
background-color: #18154B;

}

.header-bottom{
background: #F0F5FB;
-webkit-box-shadow: 0px 21px 20px 6px rgba(0, 0, 0, 0.27);
-moz-box-shadow: 0px 21px 20px 6px rgba(0, 0, 0, 0.27);
box-shadow: 0px 21px 20px 6px rgba(0, 0, 0, 0.27);

}

.topmenu li {
float: left;
}

.topmenu li a:hover {
color: #18154B;
}

.topmenu li:first-child {
-webkit-border-radius: 5px 5px 0 0;
border-radius: 5px 0 0 5px;
}

.topmenu li a {
display: block;
padding: 20px 10px 15px 10px;
text-decoration: none;
line-height: 40px;
}

.topmenu ul {
display: none;
position: absolute;
list-style: none;
margin-left: -3px;
padding: 0;
overflow: hidden;
}

.topmenu ul li {
float: none;
}

.topmenu li:hover > ul {
display: block;
background: #F0F5FB;
border-top: 0;

-webkit-border-radius: 0 0 8px 8px;
border-radius: 0 0 8px 8px;

-webkit-box-shadow: 0px 21px 20px 6px rgba(0, 0, 0, 0.27);
-moz-box-shadow: 0px 21px 20px 6px rgba(0, 0, 0, 0.27);
box-shadow: 0px 21px 20px 6px rgba(0, 0, 0, 0.27);
}

.topmenu li:hover > ul li:hover {
-webkit-border-radius: 0 0 5px 5px;
border-radius: 0 0 5px 5px;
}

.topmenu li li a:hover {
background: #232E75;
color: #F0F4F7;
}

.topmenu ul li:last-child a,
.topmenu ul li:last-child a:hover {
-webkit-border-radius: 0 0 5px 5px;
border-radius: 0 0 5px 5px;
}

.submenu {
transform: scaleY(0);
transform-origin: top;
animation: slideDown 0.2s ease-out 0.2s forwards;
}

.dropdown:hover .submenu {
display: block;
}

.submenu-item {
opacity: 0;
transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .submenu-item:nth-child(1) {
animation: fadeIn 0.3s ease 0.3s forwards;
}

.dropdown:hover .submenu-item:nth-child(2) {
animation: fadeIn 0.3s ease 0.4s forwards;
}

.dropdown:hover .submenu-item:nth-child(3) {
animation: fadeIn 0.3s ease 0.5s forwards;
}

.dropdown:hover .submenu-item:nth-child(4) {
animation: fadeIn 0.3s ease 0.6s forwards;
}

@keyframes slideDown {
0% {
  opacity: 0;
  transform: scaleY(0);
}
100% {
  opacity: 1;
  transform: scaleY(1);
}
}



@keyframes fadeIn {
to {
    opacity: 1;
    transform: translateY(0);
}

}






.header-contact{
height: 65px;
display: flex;
gap: 25px;
justify-content: space-between;
}

.header-left{
display: flex;
gap: 25px;
align-items: center;
}

.header-right{
display: flex;
align-items: center;
}

.header-contact a{
color: #F0F5FB;
}


.header-row{
display: flex;
flex-direction: column;
justify-content: center;
gap: 15px;
height: 75px;

}

.header-main{
display: flex;
align-items: center;
}


.header-email{
display: flex;
gap: 10px;
}

.header-email img{
width: 20px;
}

.header-telephone{
display: flex;
gap: 10px;
}

.header-telephone img{
width: 20px;
}

.header-adress{
display: flex;
gap: 10px;
}

.header-adress img{
width: 22px;
height: 18px;
}

.header-info{
display: flex; 
}

.header-info img{
width: 35px;
}



.header-nav{
display: flex;
position: relative;
flex: 1 1 auto;
justify-content: flex-end;
gap: 50px;
color: #373C59;
font-weight: 500;
}

.header-nav a{

transition: all 0.3s;
color: #373C59;
}

.header-nav a:hover{
color: #232E75;
}
.header-nav a:visited{
  color: #373C59;
}

.header-logo{
display: flex;
flex: 0 0 auto;
}




.header-logo img{
  width: 150px;
}

.topmenu{
display: flex;
gap: 50px;
}
/*--------------------*/

/* Navigation */


.navigation{
  margin-top: 180px;
}

.navigation-row{
    display: flex;

}

.navigation-menu{
  display: inline-flex;
}

.navigation-ul{
  display: inline-flex;
  gap: 5px;
}

.navigation-ul a:visited{
  color: #5B5B5B;
}

.navigation-ul a:hover{
  color: #5B5B5B;
}

.navigation-ul li:first-child{
  font-weight: 600;
}



/*--------------------*/


/*Main*/

.submenu li:nth-child(2) a{
  color: #2a3896;
}


.main-content{
    margin-top: 60px;
  margin-bottom: 90px;
}

.main-content h2{
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.main-content-row{
    display: flex;
    gap: 50px;
}


.custom-slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .custom-slider {
    display: flex;
    width: 500px; /* Размер слайда */
    transition: transform 0.3s ease-in-out;
  }
  
  .custom-slide {
    flex: 0 0 500px; /* Размер слайда */
  }
  
  .custom-slide img {
    width: 100%;
    height: 500px; /* Размер изображения */
    object-fit: cover;
    border-radius: 12px;
  }
  
  .custom-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .custom-slider-arrow {
    width: 40px;
    height: 40px;
    background-color: blue;
    color: white;
    border-radius: 50%;
    display: flex;
    font-size: 26px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  
  .custom-prev {
    margin-right: auto;
    margin-left: 20px;
  }
  
  .custom-next {
    margin-left: auto;
    margin-right: 20px;
  }








.main-content-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

.main-content-text p{
    text-align: justify;
    color: #373C59;
    font-size: 16.5px;
    font-weight: 500;
    line-height: 28px; /* 169.697% */
}

.main-content-text ul{
    color: #373C59;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.main-content-text ul li{
    text-align: justify;
    color: #373C59;
    font-size: 17px;
    font-weight: 500;
    line-height: 28px; /* 169.697% */
    margin: 10px 0; /*расстояние между пунктами по высоте*/
}


.main-content-tip{
    display: flex;
    margin-top: 60px;
    flex-direction: column;
}

.main-content-tip h3{
    margin-bottom: 30px;
}

.main-content-tip-text{
    display: flex;
    width: 80%;
    margin-bottom: 30px;
}

.main-content-tip-text p{
    text-align: justify;
    color: #373C59;
    font-size: 16.5px;
    font-weight: 500;
    line-height: 28px; /* 169.697% */
}


.button-gallery{
    display: flex;
}

.button-gallery button{
    background: none;
    color: #373C59;
    font-family: "Golos Text";
    font-size: 18px;
    font-weight: 500;
    line-height: 130%; /* 23.4px */
    align-items: bottom;
    text-decoration: underline;
}



.gallery{
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.gallery-container {
    position: relative;
    display: inline-block;
}

.gallery-row{
    display: flex;
    align-items: center; 
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-container h4{
    color: #373C59;
    font-family: "Golos Text";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
  
.gallery-container button {
    top: 0;
    left: 0;
}

.gallery.active {
    display: grid;
}
  
  
  .gallery-item {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
    border-radius: 12px;
    box-shadow: 0px 5px 30px 0px rgba(36,36,36,0.1);
  }
  
  .gallery-item img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
  }
  
  .gallery-item:hover {
    transform: scale(1.1);
  }
  
  .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background:#18154B;
    color: #ffffff;
    padding: 5px;
    text-align: center;
    font-size: 14px;
    border-radius: 0px 0px 12px 12px;
    
  }
  
  .image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 122;
  }
  
  .image-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    cursor: default;
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 64px;
    color: #ffffff;
    cursor: pointer;
  }
  
.image-overlay.active {
    display: flex;
    cursor: pointer;
    z-index: 9121299;
  }


.main-grid-info{
    display: flex;
    margin-top: 40px;
    gap: 110px;
}

.main-grid-info-img1 img{
    width: 350px;
}

.main-grid-info-img2{
    text-align: center;
    color: #373C59;
    font-size: 16.5px;
    font-weight: 500;
    line-height: 28px; /* 169.697% */
}


.main-grid-info-img2 img{
    width: 350px;
    height: 270px;
}

.main-grid-info-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    color: #373C59;
    font-size: 16.5px;
    font-weight: 500;
    line-height: 28px; /* 169.697% */
}


.main-grid-info-text p{
    text-align: justify;
}

.calculation-list-row{
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

.calculation-list-file{
    display: flex;
    justify-content: space-between;
}
  
.calculation-list-row span{
    color: #373C59;
    font-size: 16.5px;
    font-weight: 500;
    line-height: 28px; /* 169.697% */
    margin-bottom: 20px;
}

  .doc-text span{
    font-weight: 600;
    font-size: 17px;
    line-height: 163%; /* 34.23px */
    color: #5B5B5B;
  }
  
  .calculation-list-row p{
    font-weight: 400;
    font-size: 15px;
    line-height: 163%; /* 34.23px */
    color: #5B5B5B;
  }
  
  
  .list-doc{
    display: flex;
    gap: 12px;
  }
  
  
  
  .list-xls{
    display: flex;
    gap: 12px;
  }
  
  .doc-img img{
    width: 65px;
  }
  
  
  .xls-img img{
    width: 65px;
  }

.main-calculator{
  display: flex;
  gap: 128px;
  padding: 40px 70px 50px 70px;
  background-image: url(/img/Contacts.svg);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  margin-top: 40px;

}

.main-calculator-text{
  display: flex;
  gap: 20px;
  flex-direction: column;
  text-align: justify;
}

.main-calculator-text h5{
  font-size: 36px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  color: #F0F5FB;
}

.main-calculator-text p{
  color: #FFF;
  font-size: 19px;
  font-weight: 600;
  text-align: justify;
  line-height: normal;
}

.main-calculator-button {
  display: flex;
  align-items: end;
}

.main-calculator-button button{
  font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    color: #FFF;
    padding: 17px 41px;
    border-radius: 10px;
    background: #1453AC;
    transition: all 0.3s;
    filter: drop-shadow(1px 4px 10px rgba(0, 0, 0, 0.55));
}

.main-calculator-button button:hover{
  transition: all 0.3s;
  box-shadow: 8px 8px 20px 0px rgba(20, 82, 170, 0.90), -8px -8px 16px 0px rgba(20, 84, 174, 0.90), 8px -8px 16px 0px rgba(20, 82, 170, 0.20), -8px 8px 16px 0px rgba(20, 82, 170, 0.20), -1px -1px 2px 0px rgba(20, 82, 170, 0.50) inset, 1px 1px 2px 0px rgba(20, 84, 174, 0.30) inset;
}


/*Анимация*/


/* Анимация для появления слева */
@keyframes slideFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Анимация для появления справа */
@keyframes slideFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Анимация для появления с изменением прозрачности */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.slide-left {
  animation: slideFromLeft 1s ease;
}

.slide-right {
  animation: slideFromRight 1s ease;
}

.fade-in {
  animation: fadeIn 1s ease;
}

.element-animation {
  /* Скроем элемент в начальном состоянии */
  opacity: 0;
  transform: translateY(10px);
}

.element-animation.element-show {
  opacity: 1;
  transition: all 0.5s;
  transform: translateY(0%);
}

.message-row-error.open {
  left: 0;
  right: initial; /* Сбрасываем значение right при открытии */
}

.message-row-error.close {
  left: initial; /* Сбрасываем значение left при закрытии */
  right: 0;
}

.message-row-ok.open {
  left: 0;
  right: initial; /* Сбрасываем значение right при открытии */
}

.message-row-ok.close {
  left: initial; /* Сбрасываем значение left при закрытии */
  right: 0;
}




/*--------------------*/

@media screen and (max-width: 425px) {
  .container{
    max-width: 600px;
    margin: 0px 15px 0px 15px;
    

}
  .main-grid-row{
    overflow-x: scroll;
  }
  
  table {
    width: 80vw;
    overflow-x: scroll;
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;

} 

  .main-grid-info{
    flex-direction: column;
  }

  .main-calculator{
    flex-direction: column;
  }

  .main-content-row{
    flex-direction: column;
  }

  .main-content-img img {
    width: 100%;
  }

  .main-grid-info-img1 img {
    width: 300px;
  }

  .main-grid-info-img2 img {
    width: 300px;
  }

  .main-calculator-text h5 {
    text-align: center;
    font-size: 19px;
  }
  h3{
    font-size: 29px;
  }

  .gallery-row{
    flex-direction: column;
  }

  .main-calculator-button{
    justify-content: center;
  }

  .main-calculator{
    gap: 37px;
  }

  .navigation {
    margin-top: 120px;
}
.navigation-ul li{
  font-size: 9px;
}

.main-content h2{
  font-size: 27px;
}

.main-content-text p {
  font-size: 12.5px;
}

.main-content-tip-text p {
  font-size: 12.5px;
}

.main-grid-info-text{
  font-size: 12.5px;
}

.caption{
  font-size: 8px;
}
.calculation-list-file {
  flex-direction: column;
}

.gallery {
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
}
}


@media screen and (max-width: 769px) {
  .navigation {
    margin-top: 120px;
}
.container{
    max-width: 768px;
    margin: 0px 35px 0px 35px;
    
}

h2{
    font-size: 24px;
}
  .main-content-row{
    flex-direction: column;
  }

  .main-grid-info {
    flex-direction: column;
  }

  .main-grid-row{
    overflow-x: scroll;
  }

  table {
    width: 80vw;
    overflow-x: scroll;
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;

} 

.main-calculator{
  gap: 50px;
  padding: 40px 38px 46px 31px;

}
}
