:root{
  --color1: #0A2939;
  --color2: #0B5048;
  --color3: #185E82;
  --color4: #19988a;
  --color5: #EFF9FE;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}
.item-page::after {
  content: "";
  clear: both;
  display: block;
}
html{
  scroll-behavior: smooth;
}
body{
  color: #000;
  background-color: #E5E5E5;
}
.flex-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img{
  max-width: 100%;
}
ul {
  padding-left: 20px;
}
.button{
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
  min-height: 65px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color2);
  color: #fff;
  transition: all 0.1s ease-in;
  border: 0;
  cursor: pointer;
}
.button:hover,
.button:focus,
.button:active{
  background-color: var(--color1);
}
.button.button--dark{
  background-color: var(--color1);
}
.button.button--dark:hover,
.button.button--dark:focus,
.button.button--dark:active{
  background-color: var(--color2);
}

.container{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


/* HEADER */

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  min-height: 235px;
  padding: 15px 15px 0;
}
.header-logo {
  margin: 0 0 15px;
}
.header-title {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 15px;
}
.header-contacts{
  margin: 0 0 15px;
}
.social-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 110px;
  margin: 0 auto 15px;
}
.social-link {
  display: block;
  transition: all 0.1s ease-in;
}
.social-link:hover {
  transform: translateY(-5px);
}
.social-link--viber {
  background-image: url(../images/viber.svg);
  height: 33px;
  width: 32px;
}
.social-link--whatsapp{
  background-image: url(../images/whatsapp.svg);
  height: 33px;
  width: 32px;
}
.social-link--instagram{
  background-image: url(../images/instagram.svg);
  height: 35px;
  width: 35px;
}
.social-link--telegram{
  background-image: url(../images/tele.png);
  background-repeat: no-repeat;
    background-position: top 2px center;
  height: 35px;
  width: 35px;
}
.header-mail{
  font-size: 16px;
  color: #000;
  text-decoration: none;
}
.header-mail:hover{
  text-decoration: underline;
}
.mail-before::before{
  content: "";
  display: inline-block;
  width: 16px;
  height: 12px;
  background-image: url(../images/mail.svg);
  margin-right: 5px;
}
.header-phones{
  display: flex;
  flex-direction: column;
  margin: 0 0 15px;
}
.header-phone{
  font-size: 16px;
  color: #000;
  text-decoration: none;
}
.phone-before::before{
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url(../images/phone.svg);
  margin-right: 5px;
}
.header-phone:hover{
  text-decoration: underline;
}

.header-callback {
  cursor: pointer;
  margin: 0 0 15px;
}

/* HEADER END */

/* NAVIGATION */

.navigation{
  background-color: var(--color1);
  z-index: 10;
  position: relative;
  padding: 0 15px;
}
.nav.menu.mod-list.mobile-close > li{
  display: none;
}
.nav.menu.mod-list.mobile-close .button-menu{
  display: block;
}
.nav.menu.mod-list.mobile-open .button-menu_line:nth-child(2){
  display: none;
}
.nav.menu.mod-list.mobile-open{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 15px;
  flex-direction: column;
}
.nav.menu.mod-list {
  min-height: 50px;
  display: flex;
  align-items: center;
  background-color: var(--color1);
  padding: 0;
}
.nav .parent{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav.menu.mod-list.mobile-close .nav-child{
  display: none;
}
.nav.menu.mod-list.mobile-open .parent-open .nav-child{
  display: flex;
}

.nav-child {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color2);
  padding: 15px;
  text-align: center;
  width: 100vw;
}
.button-menu {
  height: 40px;
  width: 40px;
  cursor: pointer;
}
.button-menu::after {
  content: "Главное меню";
  color: #fff;
  font-size: 18px;
  margin-left: 20px;
  position: absolute;
  left: 55px;
}
.mobile-open .button-menu::after{
  display: none;
}
.mobile-open .button-menu{
  margin-bottom: 25px;
}
.button-menu_line {
  background-color: #fff;
  height: 2px;
  display: block;
}
.mobile-open .button-menu_line:first-child {
  transform: rotate(45deg) translate(15px,14px);
}
.mobile-open .button-menu_line:last-child {
  transform: rotate(-45deg) translate(-13px,13px);
}
.mobile-close .button-menu_line:first-child {
  transform: rotate(0) translate(0,7px);
}
.mobile-close .button-menu_line:nth-child(2) {
  transform: rotate(0) translate(0px,16px);
}
.mobile-close .button-menu_line:last-child {
  transform: rotate(0) translate(0px,25px);
}

.nav a, .nav .separator{
  display: block;
  font-size: 20px;
  margin: 15px 0;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
ul.nav, ul.nav ul {
  list-style: none;
}

/* NAVIGATION END */

/* SLIDER */

.slider{
  display: none;
  margin-top: -25px;
}

/* SLIDER END*/

/* SIMPLE BLOCK1 */

.simple-block1 {
  padding: 25px 0;
}
.big-title {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 30px;
}
.big-title::after {
  content: "";
  display: block;
  border-bottom: 4px solid var(--color3);
  width: 220px;
  text-align: center;
}
.big-title.big-title--left {
  text-align: left;
  align-items: flex-start;
  margin-bottom: 40px;
}
.simple-block1__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
.simple-block1__grid-item__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.simple-block1__grid-item__img {
  max-width: 270px;
  max-height: 140px;
  object-fit: cover;
}
.simple-block1__grid-item__title {
  min-height: 60px;
  box-shadow: 0px 4px 0px var(--color4);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #000;
}
.simple-block1__grid-item:hover {
  box-shadow: 0 0 4px 3px var(--color4);
}

/* SIMPLE BLOCK1 END */

/* SIMPLE CALLBACK */
.simple-callback {
  background-color: #fff;
}
.simple-callback_left-box {
  background-color: var(--color1);
  padding: 15px;
  text-align: center;
}
span.simple-callback__title {
  font-size: 24px;
  color: #fff;
}

.simple-callback_right-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.simple-callback_phone {
  text-decoration: none;
  font-size: 20px;
  color: #000;
  margin: auto;
  padding: 15px 0;
}
.simple-callback_button {
  margin: auto;
}
/* SIMPLE CALLBACK END */

/* SIMPLE BLOCK2 */

.simple-block2 {
  padding: 15px 0;
}

.simple-block2__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 15px;
}
.simple-block2__grid__item {
  display: flex;
  position: relative;
  text-align: left;
  flex-direction: row;
  align-items: center;
  width: 100%;
  margin-bottom: 30px;
}
.simple-block2__grid__item__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 70px;
  flex-shrink: 0;
  margin-right: 15px;
}
.simple-block2__grid__item__bg {
  background-image: url(/images/2/bg.svg);
  height: 70px;
  width: 70px;
  position: absolute;
  z-index: 10;
  background-size: cover;
}

.simple-block2__img {
  position: absolute;
  z-index: 20;
  object-fit: contain;
  width: 40px;
  height: 40px;
}
.simple-block2__title {
  font-size: 16px;
  line-height: 1.4;
  flex-grow: 1;
}

/* SIMPLE BLOCK2 END */

/* SIMPLE FORM */
.form-questions {
  padding: 15px;
}
.simple-form {
  background-color: var(--color5);
  border: 4px solid var(--color3);
  padding: 15px;
}
.simple-form__row {
  display: flex;
  flex-wrap: wrap;
}
.simple-form__col {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 15px;
}
.simple-form label {
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
.simple-form__input, .simple-form__textarea {
  width: 100%;
  border: 1px solid var(--color3);
  font-size: 16px;
  padding: 5px;
}
.simple-form__submit {
  margin: auto;
}

.simple-form__col.simple-form__col--100{
  width: 100%;
}

/* SIMPLE FORM END */

/* SIMPLE CARUSEL */

.simple-carusel{
  padding: 30px 15px;
}
.simple-carusel__container {
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.simple-carusel__inner {
  display: flex;
  transition: all 0.5s;
}
.simple-carusel__item {
  max-width: 100%;
  margin-right: 20px;
}
.simple-carusel__item::last-child {
  margin-right: 0;
}
.simple-carusel__dots {
  display: flex;
  justify-content: center;
  padding: 15px;
}
.simple-carusel__dots__item {
  width: 50px;
  height: 10px;
  background-color: var(--color4);
  margin: 15px 10px;
  cursor: pointer;
}
.simple-carusel__dots__item.current_dots {
  background-color: var(--color3);
}
.sc_1 {
  background-color: #000000bf;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.sc_2 {
  width: 100%;
  display: flex;
}
.sc_close {
  color: #fff;
  font-size: 45px;
  position: absolute;
  right: 20px;
  top: 0;
  cursor: pointer;
}

.sc_2 img {
  height: 100%;
  width: 100%;
  max-width: 90%;
  max-height: 90vh;
  margin: auto;
  object-fit: contain;
}

/* SIMPLE CARUSEL END */

/* OUR WORKS */

.our-works {
  padding: 15px;
}

.our-works .simple-block1__grid-item__img {
  max-width: 226px;
  max-height: 140px;
  object-fit: cover;
} 

.our-works .simple-block1__grid-item__title {
  min-height: 55px;
  box-shadow: none;
  background-color: var(--color3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

/* OUR WORKS END */

/* CALLBACK POPUP */
.cb_overlay {
  background-color: #000000bf;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.cb_container {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  justify-content: center;
  background-color: #fff;
  min-width: 300px;
  max-width: 90%;
  padding: 25px 30px 15px;
  position: relative;
}
.cb_close {
  color: #000;
  font-size: 23px;
  position: absolute;
  right: 5px;
  top: 0;
  cursor: pointer;
}
.cb_row {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  position: relative;
}
.cb__submit {
  margin: 30px auto 0px;
  width: 100%;
}
.cb__input {
  padding: 6px;
  font-size: 16px;
}
.cb_container label {
  font-size: 14px;
}
.cb_title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.invalid-input {
  border-color: #f00;
}
.invalid-input + span::after {
  content: "\2716";
  color: #f00;
  position: absolute;
  top: 25px;
  right: 10px;
  z-index: 120;
}
.valid-input {
  border-color: #90ee90;
}
.valid-input + span::after {
  content: "\2714";
  color: #90ee90;
  position: absolute;
  top: 25px;
  right: 10px;
  z-index: 120;
}

/* CALLBACK POPUP END */

/* MAIN */

.main {
  padding: 15px;
}
.page-header {
  margin-bottom: 15px;
  position: relative;
  text-align: center;
}
p {
  margin: 1em 0;
}

/* MAIN END */

/* FOOTER */

footer{
  margin-top: auto;
  background-color: var(--color1);
  padding: 15px;
}
.footer-top {
  display: flex;
  align-items: center;
  border-bottom: 4px solid var(--color2);
  padding-bottom: 30px;
}
.footer-logo {
  max-width: 150px;
  padding-right: 15px;
  margin-right: auto;
}
.footer-menu {
  display: flex;
  
  list-style: none;
  margin: 15px 0;
  flex-direction: column;
  max-height: initial;

}
.footer-menu__link {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  display: block;
}
.footer-bottom {
  display: flex;
  padding: 30px 0;
  align-items: flex-start;
}
.footer-bottom .social-links {
  margin: 0;
  max-width: 60px;
  flex-direction: column;
}
.footer-bottom .social-link{
  margin-bottom: 15px;
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  margin-left: auto;
}
.footer-contact {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 15px;
}


/* FOOTER END */