/* Обнуление стилей */
*{
  padding: 0;
  margin: 0;
  border: 0;
}


*,*:before,*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


:focus,:active {
  outline: none;
}
a:focus,a:active {
  outline: none;
  color: white;
}


nav,
footer,header,aside {
  display: block;
}


html,body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  color: #252B42;
  font-weight: 500;
  font-family: "REX";
  -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;
}

/* Технический класс*/
.wrapper{
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
._container{
  max-width: 1345px;
  padding: 0 15px;
  margin: 0 auto;
}
@media (max-width: 790px){
  ._container{
    max-width: 100%;
    padding: 0 5px;
  }
}
body {
    font-family: 'Roboto', sans-serif;
}
/*HEADER*/
.header {
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 50;
}
@media (min-width: 770px){
  .header{
    position: relative;
  }
}
.header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0063B2;
  z-index: 2;
}
.header__container {

}
.header__body {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: 100px;
  overflow-y: hidden;

}
.header__icon{
    z-index: 3;
}
.img__icon{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.header__logo{
  position: relative;
  z-index: 3;
  font-weight: 600;
  display: flex;
  align-items: center;
  font-size: 35px;
  line-height: calc(45/35 * 100%);
  padding: 0 14px;
}
@media (max-width: 1200px){
  .header__logo{
  font-size: 27px;
}
}
@media (max-width: 920px){
  .header__logo{
  font-size: 27px;
}
}
.header__logo a{
  color: white;
}
.header__menu {
  padding: 40px 20px 40px 20px;
  z-index: 3;
}
@media (max-width: 992px){
  .header__menu{
    padding: 0px 10px 0 10px;
  }
}
.header__list {
  display: flex;
}
.header__item{
  padding: 0 10px 0 10px;
}
@media (min-width: 790px){
.header__item:first-child{
  padding: 0 10px 0 0px;
  }
}
.header__link {
  color: #FFFFFF;
  line-height: 39px;
  font-size: 15px;
  position: relative;
}
@media (max-width: 1009px){
  .header__link {
    font-size: 13px;
  }
}
@media (max-width: 934px){
  .header__link {
    font-size: 12px;
    line-height: 30px;
  }
}
.header__link.active{
    border: white 3px solid;
    padding: 0.1px 10px;
}
.header__link:hover {

}
.header__link:before {
  content: '';
  width: 100%;
  height: 1.5px;
  background: white;
  position: absolute;
  left: 0; bottom: -2px;
  transform: scaleX(0);
}
.header__link:hover:before {
  transform: scaleX(1);
  transition: transform 0.4s;
}
.header__burger {
  display: none;
}
@media (max-width: 1080px){
    body.lock{
      overflow: hidden;
    }
    .header__body {
      flex-direction: row;
      height: 100px;
    }

  .header__burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 10;
    margin-left: auto;


  }
  .header__burger span {
    position: absolute;
    background-color: white;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    top: 8px;
    transition: all 0.3s ease 0s;
  }
  .header__burger:before,
  .header__burger:after{
    content: '';
    background-color: white;
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    transition: all 0.3s ease 0s;
   }
   .header__burger:before{
    top: 0px;
   }
   .header__burger:after{
    bottom: 1px;
   }
   .header__burger.active:before{
    transform: rotate(45deg);
    top: 9px;
   }
   .header__burger.active:after{
    transform: rotate(-45deg);
    bottom: 9px;
   }
   .header__burger.active span {
    transform: scale(0);
   }

   .header__menu{
    position: fixed;
    border-top: none;
    top: -100%;
    left: 0;
    overflow: auto;
    width: 100%;
    height: 100%;
    background:  #0063B2;
    transition: all 0.3s ease 0s;
    z-index: 1;
    padding: 125px 0 0 0;
   }
   .header__menu.active{
    top: 0;
    z-index: 4;

   }
   .header__list {
      flex-direction: column;
      align-items: center;
  }
  .header__item {
    padding: 25px 0px;
  }
  .header__link {
    font-size: 35px;
    font-weight: 100;
  }
}

@media (max-width: 380px){
  .header__link {
    font-size: 22px;
  }
}

/*pages*/
.page{
  flex: 1 1 auto;
}

/* footer */
.footer{

}
.footer__top {
  background: #0477D2;
  padding: 50px 0;
}
.footer__main {
}
.footer__row {
  display: flex;
  padding: 0 0 0 15px;
  justify-content: space-around;
}
.footer__column {
  display: flex;
  flex-direction: column;
  padding: 0 30px 0 0px;
  align-items: flex-start;

}
@media (max-width: 590px){
  .footer__row {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .footer__column {
    flex: 1 1 100%;
    padding: 50px 0 20px;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }
}
.footer__label {
  font-weight: 600;
  font-size: 25px;
  line-height: 30px;
  color: white;
}
.footer__menu {
  color: white;
}
.menu-footer {
}
.menu-footer__list {

}
.menu-footer__item {
  padding: 15px 0;
  max-width: 400px;

}

.menu-footer__link {
   color: white;
   font-size: 15px;

}
.footer__phone{
  font-size: 20px;
  line-height: 30px;
  color: white;
  padding:-5px 0 0 0;
}
.phone__info {
  font-size: 12px;
}
.mail__label {
  padding: 0 0 10px 0;
  font-size: 20px;
}
.letter__img {
  width: 20px;
  height: 20px;
}
.letter__img img{
  width: 20px;
  height: 20px;
}
.address__label {
    padding: 0 0 10px 0;
  font-size: 20px;
}
.adress__info {
}

/*second footer */
.footer__bot {
  background: #0063B2;
  padding: 0px 0;

}
.footer__second {
    display: flex;
    padding: 0 100px;
}
@media (max-width: 960px){
    .footer__second {
        display: flex;
        padding: 0 10px;
        justify-content: center;
    }
}

.footer-second__row {
  display: flex;
  align-items: center;
  padding: 10px 80px;
  justify-content: space-around;

}
@media (max-width: 1200px){
    .footer-second__row {
        display: flex;
        align-items: center;
        padding: 10px 50px;
        justify-content: space-around;

    }
}
@media (max-width: 960px){
    .footer-second__row.additional{
        display: none;
    }
    .footer-second__row {
        display: flex;
        align-items: center;
        padding: 10px 0px;
        justify-content: center;
    }

}
.second-footer__text {
  font-size: 30px;
  line-height: 40px;
  font-weight: 600;
  color: white;
}
@media (max-width: 600px){
  .second-footer__text {
    font-size: 22px;
    line-height: 20px;
    text-align: center;
  }
}
@media (max-width: 470px){
  .second-footer__text {
    font-size: 15px;
  }
}
.second-footer__img {
  padding: 0 20px;
}
@media (max-width: 600px){
    .second-footer__img {
        padding: 0 5px;
    }
}
.second-footer__img img{
  width: 40px;
  height: 50px;
}

@media (max-width: 400px){
  .second-footer__img img{
  width: 30px;
  height: 30px;
  }
}
