.header,
.header * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header {
  color: #212335;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  background: #fff;
}

.header img {
  display: block;
}

.header-top {
  background: #000099;
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 5px;
}

.header-middle {
  border-bottom: 1px solid #CDCDD6;
  padding-top: 22px;
  padding-bottom: 22px;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 0;
}

.header-middle,
.header-bottom {
  display: flex;
  align-items: center;
}

.header-middle ul,
.header-bottom ul {
  display: flex;
  align-items: center;
  list-style: none;
}

.header-middle ul {
  padding-top: 5px;
  margin-left: 15px;
  column-gap: 17px;
}

.header-middle .list-item-border {
  border-left: 1px solid #CDCDD6;
  padding-left: 20px;
}

.header-middle ul.list-with-border {
  margin-left: 95px;
  margin-right: 55px;
}

.header-middle .header-middle-right {
  margin-left: auto;
}

.header-bottom {
  font-size: 12px;
  font-weight: normal;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 215px;
}

.header-bottom ul {
  margin-right: auto;
  column-gap: 18px;
}

.header-middle a,
.header-bottom a {
  color: #212335;
  transition: all 0.2s ease-in-out;
}

.header-middle a:hover,
.header-bottom a:hover {
  color: #000099;
  text-decoration: none;
}

.header-middle-menu {
  margin-right: 18px;
}

@media(max-width: 1400px) {
  .header-container {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media(max-width: 1200px) {
  .header-bottom {
    padding-left: 0;
  }

  .header-bottom ul {
    column-gap: 15px;
  }

  .header-middle ul li.hide-tablet {
    display: none;
  }

  .header-middle ul.list-with-border {
    margin-left: auto;
    margin-right: auto;
  }
}

.header-bottom-mobile {
  display: none;
}

.header-bottom-mobile ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  font-size: 15px;
  list-style: none;
}

.header-bottom-mobile ul a {
  color: #212335;
  font-size: 15px;
}

@media(max-width: 1000px) {

  .header-middle ul,
  .header-middle .header-middle-right,
  .header-bottom {
    display: none;
  }

  .header-middle {
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-middle-logo img {
    width: 120px;
  }

  .header-bottom-mobile {
    display: block;
  }
}

.footer-top {
  background: #212335;
  color: #fff;
}

.footer-top__wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 10px;
  padding-right: 10px;
}

.footer-top .footer-top-row {
  display: grid;
  grid-template-columns: 3fr 2fr 1fr;
  column-gap: 20px;
}

.footer-top .footer-top-row2 {
  display: initial;
}

.footer-top-menu-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-top-menu-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.footer-top-menu-6 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.footer-top .footer-top-row h4 {
  font-size: 18px;
  font-weight: normal;
  padding-bottom: 17px;
  border-bottom: 1px solid #5E5E6E;
}

.footer-top .footer-top-row a {
  color: #CDCDD6;
  font-size: 16px;
  line-height: 1.2;
  display: inline-block;
  margin-bottom: 10px;
  transition: all 0.2s ease-in-out;
}

.footer-top .footer-top-row a:hover {
  color: #99b6ff;
  text-decoration: none;
}

.footer ul {
  list-style: none;
  padding-left: 20px;
}

@media(max-width: 1200px) {
  .footer-top__wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .footer-top .footer-top-row {
    column-gap: 10px;
  }
}

@media(max-width: 1000px) {
  .footer .hide-mobile {
    display: none;
  }

  .footer-top .footer-top-row {
    grid-template-columns: 1fr;
  }

  .footer-top-menu-6 {
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 15px;
  }
}

@media(max-width: 700px) {

  .footer-top__wrapper {
    padding: 20px 20px 50px 20px;
  }

  .footer-top-menu-6,
  .footer-top-menu-3 {
    display: block;
  }

  .footer-top-menu-6 ul,
  .footer-top-menu-3 ul {
    margin-bottom: 15px;
  }
}
.header-middle a, .header-bottom a {
  font-size: 13px;
}