@font-face {
  font-family: 'Helvetica';
  src: url('../fonts/Helvetica.eot');
  src: local('Helvetica'), local('Helvetica'),
  url('../fonts/Helvetica.eot?#iefix') format('embedded-opentype'),
  url('../fonts/Helvetica.woff') format('woff'),
  url('../fonts/Helvetica.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Codec Pro Fat';
  src: url('../fonts/CodecPro-FatItalic.eot');
  src: local('Codec Pro Fat Italic'), local('CodecPro-FatItalic'),
  url('../fonts/CodecPro-FatItalic.eot?#iefix') format('embedded-opentype'),
  url('../fonts/CodecPro-FatItalic.woff2') format('woff2'),
  url('../fonts/CodecPro-FatItalic.woff') format('woff'),
  url('../fonts/CodecPro-FatItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: 'Codec Pro Ultra';
  src: url('../fonts/CodecPro-Ultra.eot');
  src: local('Codec Pro Ultra'), local('CodecPro-Ultra'),
  url('../fonts/CodecPro-Ultra.eot?#iefix') format('embedded-opentype'),
  url('../fonts/CodecPro-Ultra.woff2') format('woff2'),
  url('../fonts/CodecPro-Ultra.woff') format('woff'),
  url('../fonts/CodecPro-Ultra.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* style general
-----------------*/
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

body {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  font-family: "Helvetica", "Arial", sans-serif;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 710px 390px 1fr;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

/* style header
-----------------*/
.header {
  width: 100%;
  grid-column-start: 2;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 2;
  height: 183px;
  background-image: url("../templates/images/bg-2.jpg");
  background-repeat: repeat;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.header__box-title {
  height: calc(100% - 73px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 73px;
}

.header-title__text {
  font-size: 16px;
  color: #fff;
  text-align: center;
  margin-top: 5px;
}

.header-title__phone {
  font-size: 24px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .3s ease all;
}

.header-title__phone:hover {
  font-weight: bold;
}

.text-logo {
  display: none;
}

/* style menu
-----------------*/
.mobile-menu__button {
  display: none;
}

/* Стили главной оболочки мен шапки и подвала */
.header__menu, .footer__menu {
  width: calc(100% - 10px);
  height: 16px;
  padding: 5px;
  grid-column-start: 2;
  grid-column-end: 4;
  grid-row-start: 2;
  grid-row-end: 3;
  background-color: rgb(40, 175, 222);
}

/* Контейнер меню */
.menu {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* Белые границы элемента меню */
.menu__item {
  padding: 0 10px;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}

/* Отсутствие границ у первого и последнего блока меню */
.menu__item:last-child, .menu__item:first-child {
  border: none;
}

/* Стиль текста ссылки меню */
.menu__link {
  font-size: 14px;
  color: #fff;
}

/* style content
-----------------*/
.content-sidebar {
  width: calc(100% - 30px);
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 4;
  padding: 15px;
  border-left: 1px solid rgb(40, 175, 222);
  border-right: 1px solid rgb(40, 175, 222);
}

/* Главный заголовок */
.content__article > h1 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 14px;
  font-style: normal;
  line-height: normal;
  font-weight: bold;
  color: #01B2E3;
}

/* Блок превью статьи */
.content__article {
  width: 100%;
  margin-bottom: 30px;
}

/* Заголовок превью статьи */
.content__article > h2 {
  text-align: left;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-style: normal;
  line-height: normal;
  font-weight: bold;
  color: #01B2E3;
  text-transform: uppercase;
}

/* Текст превью статьи */
.content__article > p, ul {
  font-size: 14px;
  line-height: 140%;
  color: #026682;
  margin-bottom: 10px;
}

/* Ссылки на статью */
.content__article > p > a, .faq__more-link, .photo__more-link {
  font-size: 11px;
  color: #01B2E3;
  transition: .3s ease color;
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

/* Эффект наведение на ссылки */
.content__article > p > a:hover, .content__article > p > a:hover:after, .faq__more-link:hover {
  color: #026682;
}

/* Стрелочки после ссылки */
.content__article > p > a:after, .faq__more-link:after {
  content: "\00BB";
  margin: 0 0 3px 5px;
  font-size: 21px;
  color: #01B2E3;
  transition: .3s ease color;
}

/* style sidebar
-----------------*/
.sidebar {
  width: calc(100% - 51px);
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 3;
  grid-row-end: 4;
  border-right: 1px solid rgb(40, 175, 222);
  padding: 30px 20px 30px 30px;
}

.sidebar__faq, .sidebar__images {
  width: 100%;
  min-height: 225px;
  border: 1px solid rgb(40, 175, 222);
  position: relative;
  padding-bottom: 30px;
}

.faq__title, .box-images__title {
  padding: 5px 10px;
  border-bottom: 1px solid rgb(40, 175, 222);
  color: rgb(21,198,248);
  font-size: 14px;
  font-weight: 100;
}

.box-faq {
  calc(100% - 60px);
  padding: 10px 50px 10px 10px;
  position: relative;
}

.faq__link:before {
  content: "\2026";
}

.faq__more-link, .photo__more-link {
  padding: 0 10px;
}

.faq__img-1, .faq__img-2, .image__img-1, .image__img-2 {
  position: absolute;
  z-index: 15;
}

.faq__img-1, .image__img-1 {
  top: -15px;
  right: -15px;
}

.faq__img-2, .image__img-2 {
  bottom: -14px;
  left: -23px;
}

.image__img-1 {
  width: 75px;
}

.faq__text, .faq__link {
  font-size: 12px;
  color: #026682;
}

.faq__text strong {
  font-weight: bold;
}

.sidebar__images {
  margin-top: 70px;
  padding: 1px 1px 1px 1px;
}

.photo {
  margin: 15px auto;
  display: block;
}

.photo__more-link {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* style footer
-----------------*/
.footer {
  width: calc(100% - 20px);
  grid-column-start: 2;
  grid-column-end: 4;
  grid-row-start: 4;
  grid-row-end: 5;
  padding: 25px 10px;
  background-color: rgb(40, 175, 222);
}

.footer__menu {
  margin-bottom: 15px;
}

.footer__text {
  width: 100%;
  margin: 5px 0;
  text-align: center;
  font-size: 14px;
  color: #fff;
}

.footer__phone {
  margin-top: 15px;
  color: #fff;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .5s ease all;
}

.footer__phone:hover {
  font-weight: bold;
}

/* style article
----------------------------- */
 .content-sidebar > p {
  color: #026682;
  font-size: 12px;
  font-family: "Helvetica", sans-serif;
  line-height: 16px;
  margin-bottom: 10px;
}

.content-sidebar > h5 {
  margin: 15px 0;
  text-align: center;
  color: #026682;
  font-size: 14px;
  font-family: "Helvetica", sans-serif;
  font-weight: bold;
}

 .content__article li {
  list-style-type: square;
  margin: 0 0 10px 10px;
}

.article__list {
  width: calc(100% - 15px);
}

.article__list > p {
  color: #000;
  font-size: 12px;
  line-height: 16px;
  font-family: "Helvetica", sans-serif;
  margin-bottom: 5px;
}

.article__list > p:before {
  content: "\2022";
  margin-right: 10px;
}

.text-img__right {
  float: right;
  margin: 7px 0 7px 7px;
}

.text-img__left {
  float: left;
  margin: 7px 7px 7px 0;
}

/* style @media
----------------------------- */
@media screen and (max-width: 1235px) {
  body {
    grid-template-columns: 1fr 390px;
  }

  .header, .header__menu, .footer {
    grid-column-start: 1;
    grid-column-end: 3;
  }

  .content-sidebar {
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .sidebar {
    grid-column-start: 2;
    grid-column-end: 3;
  }
}

@media screen and (max-width: 1000px) {
  .footer__menu {
    height: auto;
  }

  .footer__menu .menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
  }

  .menu__item {
    border: none;
    padding: 0;
  }

  .menu__link {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header__menu {
    position: absolute;
    top: 0;
    left: -303px;
    width: 243px;
    height: auto;
    padding: 30px;
    background-color: #18354c;
    transition: .6s ease all;
  }

  .header__menu .menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .header__menu .menu__item {
    margin-bottom: 25px;
  }

  .header__menu .menu__link {
    font-size: 18px;
  }

  .header {
    border-bottom: 1px solid rgb(40, 175, 222);
    width: calc(100% - 25px);
    padding-right: 25px;
  }

  .sidebar {
    border-right: none;
  }

  .header__bg {
    display: none;
  }

  .mobile-menu__button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 25px 0 0 25px;
    cursor: pointer;
  }

  .sandwich {
    width: 20px;
  }

  .sandwich__line {
    width: 20px;
    height: 2px;
    background-color: #fff;
    margin-bottom: 3px;
    display: block;
    transition: .6s ease all;
  }

  .sandwich__line:last-child {
    margin-bottom: 0;
  }

  .sandwich__line.active {
    position: absolute;
    top: 7px;
  }

  .sandwich__line:nth-child(1).active {
    transform: rotate(45deg);
  }

  .sandwich__line:nth-child(2).active {
    display: none;
  }

  .sandwich__line:nth-child(3).active {
    transform: rotate(-45deg);
  }

  .button-menu {
    margin-left: 10px;
    background-color: transparent;
    font-family: "Helvetica", sans-serif;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
  }
}

@media screen and (max-width: 860px) {
  .sidebar {
    display: none;
  }

  body {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    border: none;
  }

  .header {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    padding: 0 15px;
    width: calc(100% - 30px);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .header__box-title {
    padding: 0;
    height: auto;
    margin: 15px 0;
  }

  .mobile-menu__button {
    position: absolute;
    margin: 0;
    top: 25px;
    right: 25px;
  }

  .company-name, .header__logo {
    display: none;
  }

  .text-logo {
    font-family: "Codec Pro Fat", sans-serif;
    font-size: 26px;
    margin: 25px 0;
    color: #fcffb0;
    display: flex;
  }

  .text-logo span {
    font-family: "Codec Pro Ultra", sans-serif;
    color: #fff;
  }

}

@media screen and (max-width: 620px) {
  .header__logo {
    width: 200px;
  }

  .footer__menu .menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu__link {
    text-align: center;
  }

  .text-img__right, .text-img__left {
    width: 100px;
  }
}

@media screen and (max-width: 440px) {
  .button-menu {
    display: none;
  }

  .mobile-menu__button {
    z-index: 99;
  }
}