.style-wrap {
  border-radius: 4px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.302);
  background: #fff;
  padding: 30px;
}
.style-wrap:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 425px) {
  .style-wrap {
    padding: 30px 10px;
  }
}
.link[href],
.header__menu-item,
.footer__footnotes-link {
  color: #242424;
  text-decoration: none;
}
.link[href]:hover,
.header__menu-item:hover,
.footer__footnotes-link:hover {
  color: #ec1751;
  text-decoration: underline;
}
.link {
  color: #ec1751;
  text-decoration: underline;
}
.link:hover {
  text-decoration: underline;
}
.link-btn,
.footer__link {
  background: #ec1751;
  border-radius: 4px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-size: 16px;
}
.link-btn:hover,
.footer__link:hover {
  color: #242424;
  cursor: pointer;
}
.logo {
  display: flex;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  color: #ec1751;
  font-weight: 800;
  font-size: 29px;
  line-height: 39px;
}
@media screen and (max-width: 375px) {
  .logo {
    font-size: 24px;
  }
}
.logo .dark-part {
  color: #242424;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans Light'), local('OpenSans-Light'), url("/fonts/opensanslight.woff2") format('woff2'), url("/fonts/opensanslight.woff") format('woff'), url("/fonts/opensanslight.ttf") format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url("/fonts/opensanslightitalic.woff2") format('woff2'), url("/fonts/opensanslightitalic.woff") format('woff'), url("/fonts/opensanslightitalic.ttf") format('truetype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans'), local('OpenSans'), url("/fonts/opensans.woff2") format('woff2'), url("/fonts/opensans.woff") format('woff'), url("/fonts/opensans.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans Italic'), local('OpenSans-Italic'), url("/fonts/opensansitalic.woff2") format('woff2'), url("/fonts/opensansitalic.woff") format('woff'), url("/fonts/opensansitalic.ttf") format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url("/fonts/opensanssemibold.woff2") format('woff2'), url("/fonts/opensanssemibold.woff") format('woff'), url("/fonts/opensanssemibold.ttf") format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url("/fonts/opensanssemibolditalic.woff2") format('woff2'), url("/fonts/opensanssemibolditalic.woff") format('woff'), url("/fonts/opensanssemibolditalic.ttf") format('truetype');
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url("/fonts/opensansbold.woff2") format('woff2'), url("/fonts/opensansbold.woff") format('woff'), url("/fonts/opensansbold.ttf") format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url("/fonts/opensansbolditalic.woff2") format('woff2'), url("/fonts/opensansbolditalic.woff") format('woff'), url("/fonts/opensansbolditalic.ttf") format('truetype');
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url("/fonts/opensansextrabold.woff2") format('woff2'), url("/fonts/opensansextrabold.woff") format('woff'), url("/fonts/opensansextrabold.ttf") format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url("/fonts/opensansextrabolditalic.woff2") format('woff2'), url("/fonts/opensansextrabolditalic.woff") format('woff'), url("/fonts/opensansextrabolditalic.ttf") format('truetype');
  font-weight: 800;
  font-style: italic;
}
.style-wrap {
  border-radius: 4px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.302);
  background: #fff;
  padding: 30px;
}
.style-wrap:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 425px) {
  .style-wrap {
    padding: 30px 10px;
  }
}
.link[href],
.header__menu-item,
.footer__footnotes-link {
  color: #242424;
  text-decoration: none;
}
.link[href]:hover,
.header__menu-item:hover,
.footer__footnotes-link:hover {
  color: #ec1751;
  text-decoration: underline;
}
.link {
  color: #ec1751;
  text-decoration: underline;
}
.link:hover {
  text-decoration: underline;
}
.link-btn,
.footer__link {
  background: #ec1751;
  border-radius: 4px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-size: 16px;
}
.link-btn:hover,
.footer__link:hover {
  color: #242424;
  cursor: pointer;
}
.logo {
  display: flex;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  color: #ec1751;
  font-weight: 800;
  font-size: 29px;
  line-height: 39px;
}
@media screen and (max-width: 375px) {
  .logo {
    font-size: 24px;
  }
}
.logo .dark-part {
  color: #242424;
}
button:active,
button:focus {
  outline: none;
}
input::-webkit-input-placeholder {
  color: #606060;
}
input:-ms-input-placeholder {
  color: #606060;
}
input::-ms-input-placeholder {
  color: #606060;
}
input::placeholder {
  color: #606060;
}
textarea::-webkit-input-placeholder {
  color: #606060;
}
textarea:-ms-input-placeholder {
  color: #606060;
}
textarea::-ms-input-placeholder {
  color: #606060;
}
textarea::placeholder {
  color: #606060;
}
a {
  outline: none;
  color: #ec1751;
}
a:hover {
  text-decoration: none;
}
p {
  margin: 0 0 24px 0;
  padding: 0;
}
p:last-child {
  margin: 0;
}
h1 {
  font-size: 36px;
  margin: 0;
  padding: 0;
  line-height: normal;
  font-weight: bold;
  color: #242424;
}
.title-box {
  margin: 48px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.title-box._main-page-style {
  margin: 240px 0 24px 0;
}
.title-box__text {
  text-align: center;
}
@media screen and (max-width: 425px) {
  .title-box__text {
    font-size: 14px;
  }
}
.main-title {
  text-align: center;
}
.main-title._line {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-title._line:after {
  content: "";
  height: 1px;
  width: 60px;
  background: #ec1751;
  display: block;
  margin: 12px 0;
}
@media screen and (max-width: 425px) {
  .main-title {
    font-size: 26px;
  }
}
h2 {
  font-size: 28px;
  padding: 0;
  margin: 0;
  color: #242424;
  line-height: normal;
  font-weight: 600;
  text-align: center;
}
@media screen and (max-width: 425px) {
  h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }
}
h3 {
  font-size: 24px;
  font-weight: 600;
  color: #242424;
  padding: 0;
  margin: 0;
  margin-bottom: 24px;
  line-height: normal;
}
@media screen and (max-width: 425px) {
  h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }
}
h4 {
  font-size: 20px;
  font-weight: 600;
  color: gray-main;
  padding: 0;
  margin: 0;
  line-height: normal;
  margin-bottom: 24px;
}
body {
  margin: 0;
  font-family: 'Open Sans';
  outline: none;
  font-size: 16px;
  min-width: 320px;
  display: flex;
  line-height: 1.5em;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  color: #242424;
  background: #fff;
}
@media (-webkit-min-device-pixel-ratio: 0.7291666666666666), (min-resolution: 70dpi) {
  body {
    font-size: 16px;
  }
}
@media (-webkit-min-device-pixel-ratio: 0.9375), (min-resolution: 90dpi) {
  body {
    font-size: 16px;
  }
}
@media (-webkit-min-device-pixel-ratio: 1.4583333333333333), (min-resolution: 140dpi) {
  body {
    font-size: 16px;
  }
}
@media (-webkit-min-device-pixel-ratio: 1.875), (min-resolution: 180dpi) {
  body {
    font-size: 16px;
  }
}
@media screen and (min-width: 1020px) {
  body {
    font-size: 16px;
  }
}
input,
textarea {
  border: #666 1px solid;
  outline: none;
  font-family: 'Open Sans';
  background: #fbfbfb;
}
input:focus:required:invalid,
textarea:focus:required:invalid {
  border-color: #f00;
}
input:required:valid,
textarea:required:valid {
  border-color: #008000;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #242424;
  font-size: 16px;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #242424;
  font-size: 16px;
}
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: #242424;
  font-size: 16px;
}
input::placeholder,
textarea::placeholder {
  color: #242424;
  font-size: 16px;
}
img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}
.wrap {
  max-width: 960px;
  padding: 0 10px;
  margin: 0 auto;
  position: relative;
}
.container {
  display: flex;
  align-items: start;
}
@media screen and (max-width: 959px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
}
.main {
  flex-grow: 1;
  position: relative;
}
@media screen and (max-width: 800px) {
  .main {
    padding-top: 59px;
  }
}
.main-content {
  width: calc(100% - 324px);
}
@media screen and (max-width: 959px) {
  .main-content._order {
    order: 2;
  }
}
@media screen and (max-width: 959px) {
  .main-content {
    width: 100%;
  }
}
pre {
  font-weight: bold;
  position: relative;
  padding: 10px;
  background-color: #000;
  color: #d8d8d8;
}
pre:before {
  position: absolute;
  content: 'Пример кода';
  bottom: -25px;
  left: 50%;
  margin-left: -70px;
  font-size: 22px;
  font-weight: bold;
  color: #ad3636;
}
.style-wrap {
  border-radius: 4px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.302);
  background: #fff;
  padding: 30px;
}
.style-wrap:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 425px) {
  .style-wrap {
    padding: 30px 10px;
  }
}
.link[href],
.header__menu-item,
.footer__footnotes-link {
  color: #242424;
  text-decoration: none;
}
.link[href]:hover,
.header__menu-item:hover,
.footer__footnotes-link:hover {
  color: #ec1751;
  text-decoration: underline;
}
.link {
  color: #ec1751;
  text-decoration: underline;
}
.link:hover {
  text-decoration: underline;
}
.link-btn,
.footer__link {
  background: #ec1751;
  border-radius: 4px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-size: 16px;
}
.link-btn:hover,
.footer__link:hover {
  color: #242424;
  cursor: pointer;
}
.logo {
  display: flex;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  color: #ec1751;
  font-weight: 800;
  font-size: 29px;
  line-height: 39px;
}
@media screen and (max-width: 375px) {
  .logo {
    font-size: 24px;
  }
}
.logo .dark-part {
  color: #242424;
}
.header__wrap {
  width: 1200px;
  padding: 0 10px;
  margin: 0 auto;
}
.header__wrap._style {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header {
  display: flex;
  background: #fbfbfb;
  box-shadow: 0 2px 12px 0 #fbfbfb;
  box-shadow: 0 2px 26px 0 rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}
@media screen and (max-width: 800px) {
  .header {
    position: fixed;
    top: 0;
    width: 100%;
  }
}
.header__logo {
  display: flex;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  color: #ec1751;
  font-weight: 800;
  font-size: 29px;
  line-height: 39px;
}
@media screen and (max-width: 375px) {
  .header__logo {
    font-size: 24px;
  }
}
.header__logo .dark-part {
  color: #242424;
}
.header .logo-box {
  width: 60px;
  height: 60px;
}
@media screen and (max-width: 425px) {
  .header .logo-box {
    width: 40px;
    height: 40px;
  }
}
.header .logo-box .logosvg {
  width: 60px;
  height: 60px;
}
@media screen and (max-width: 425px) {
  .header .logo-box .logosvg {
    display: none;
  }
}
.header .logo-box .logosvg-mini {
  display: none;
}
@media screen and (max-width: 425px) {
  .header .logo-box .logosvg-mini {
    display: block;
    width: 40px;
    height: 40px;
  }
}
.header__menu {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 800px) {
  .header__menu {
    display: none;
  }
}
.header__menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ec1751;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.302);
  margin-left: 20px;
}
.header__menu-link._mobile-style {
  padding: 0;
  font-weight: 600;
  font-size: 16px;
  margin: 50px 0 20px;
  padding: 8px 12px;
  width: 200px;
  color: #121212;
  align-self: center;
  text-decoration: none;
}
.header__menu-item {
  position: relative;
  padding: 0 20px;
  border-right: 1px solid #242424;
  display: flex;
  align-items: center;
}
.header__menu-item._border-none {
  border-right: none;
}
.header__menu-item._mobile-style {
  border: none;
  padding: 0;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 20px;
}
.header__menu-item-svg {
  margin-left: 8px;
  fill: gray-main;
}
.header__menu-item:hover {
  color: #ec1751;
  cursor: pointer;
}
.header__menu-link:hover .header__menu-link-svg {
  fill: rgba(52,52,52,0.8);
}
.submenu {
  display: none;
}
.submenu__item {
  margin-bottom: 12px;
}
.submenu__item:last-child {
  margin-bottom: 0;
}
.header__menu-item:hover .submenu {
  display: flex;
  position: absolute;
  z-index: 100;
  width: 259px;
  padding: 57px 0px 0px 0px;
  box-shadow: 34px 39px 12px -29px rgba(0,0,0,0.302);
  top: -6px;
  right: 2px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.header__menu-item:hover .submenu__box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 20px 20px 20px 20px;
  background: #fbfbfb;
  width: 100%;
  border-top: 0.65px solid rgba(180,180,180,0.141);
  text-align: right;
}
.header__menu-item-svg {
  fill: #242424;
}
.header__menu-item:hover .header__menu-item-svg {
  fill: #ec1751;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.mobile-menu {
  display: none;
}
@media screen and (max-width: 800px) {
  .mobile-menu {
    display: block;
  }
}
.mobile-menu__btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: #ec1751;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.302);
  width: 40px;
  height: 40px;
}
@media screen and (max-width: 800px) {
  .mobile-menu__btn {
    display: flex;
  }
}
.mobile-menu__btn:hover {
  cursor: pointer;
}
.mobile-menu__dropdown {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 59px;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  padding: 20px 10px 10px 10px;
  box-sizing: border-box;
  background: #e5e5e5 url("/img/bg-png.png") no-repeat;
  height: calc(100vh - 59px);
}
@media screen and (max-width: 425px) {
  .mobile-menu__dropdown {
    top: 59px;
  }
}
.mobile-menu__dropdown-wrap {
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.mobile-menu.active .mobile-menu__dropdown {
  display: flex;
}
.mobile-menu__btn-close {
  display: block;
}
.mobile-menu__btn-open {
  display: none;
}
.mobile-menu.active .mobile-menu__btn-close {
  display: none;
}
.mobile-menu.active .mobile-menu__btn-open {
  display: block;
}
.inner-nav__btn {
  display: flex;
  justify-content: space-between;
  padding: 0;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 20px;
  color: #242424;
  align-items: center;
}
.inner-nav__btn-poligon {
  fill: #242424;
}
.inner-nav__dropdown {
  display: none;
}
.inner-nav__item {
  color: #242424;
  margin-bottom: 8;
  text-decoration: none;
}
.inner-nav__item:last-child {
  margin-bottom: 0;
}
.inner-nav__item:hover {
  color: #ec1751;
  text-decoration: underline;
}
.inner-nav.active .inner-nav__dropdown {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  margin-bottom: 20px;
}
.inner-nav.active .inner-nav__btn {
  color: #ec1751;
  margin-bottom: 12px;
}
.inner-nav.active .inner-nav__btn > .inner-nav__btn-poligon {
  fill: #ec1751;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.style-wrap {
  border-radius: 4px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.302);
  background: #fff;
  padding: 30px;
}
.style-wrap:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 425px) {
  .style-wrap {
    padding: 30px 10px;
  }
}
.link[href],
.footer__footnotes-link {
  color: #242424;
  text-decoration: none;
}
.link[href]:hover,
.footer__footnotes-link:hover {
  color: #ec1751;
  text-decoration: underline;
}
.link {
  color: #ec1751;
  text-decoration: underline;
}
.link:hover {
  text-decoration: underline;
}
.link-btn,
.footer__link {
  background: #ec1751;
  border-radius: 4px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-size: 16px;
}
.link-btn:hover,
.footer__link:hover {
  color: #242424;
  cursor: pointer;
}
.logo {
  display: flex;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  color: #ec1751;
  font-weight: 800;
  font-size: 29px;
  line-height: 39px;
}
@media screen and (max-width: 375px) {
  .logo {
    font-size: 24px;
  }
}
.logo .dark-part {
  color: #242424;
}
.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 0px 24px 0px;
}
@media screen and (max-width: 981px) {
  .footer-wrap {
    flex-direction: column;
    align-items: center;
  }
}
.footer {
  background: #fbfbfb;
  margin-top: 50px;
  box-shadow: 0 2px 26px 0 rgba(0,0,0,0.1);
}
@media screen and (max-width: 425px) {
  .footer {
    font-size: 14px;
  }
}
.footer__menu {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.footer__menu-item {
  padding: 0 20px;
  border-right: 1px solid #242424;
  box-sizing: border-box;
}
@media screen and (max-width: 700px) {
  .footer__menu-item._align {
    text-align: right;
  }
}
@media screen and (max-width: 700px) {
  .footer__menu-item._border-none {
    border-right: 0;
  }
  .footer__menu-item._border-none:last-child {
    border-right: none;
  }
}
.footer__menu-item:last-child {
  border-right: none;
  padding-right: 0;
}
@media screen and (max-width: 700px) {
  .footer__menu-item:last-child {
    border-right: 1px solid #242424;
    padding-right: 20px;
  }
}
@media screen and (max-width: 981px) {
  .footer__menu-item:first-child {
    padding-left: 0;
  }
}
@media screen and (max-width: 700px) {
  .footer__menu-item {
    width: 50%;
    padding-bottom: 12px;
  }
}
@media screen and (max-width: 981px) and (max-width: 700px) {
  .footer__menu-item:first-child {
    padding-left: 20px;
  }
}
@media screen and (max-width: 981px) {
  .footer__menu {
    margin-top: 30px;
  }
}
@media screen and (max-width: 700px) {
  .footer__menu {
    flex-wrap: wrap;
    justify-content: end;
  }
}
.footer__info {
  width: 100%;
  text-align: center;
  margin: 30px 0 27px 0;
  font-size: 14px;
}
.footer__link-box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 0 30px 0;
}
.footer__link {
  width: 200px;
  padding: 8px 5px;
}
.footer__footnotes {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #242424;
}
@media screen and (max-width: 700px) {
  .footer__footnotes {
    flex-direction: column;
    align-items: center;
  }
}
.footer__footnotes-link {
  order: 2;
}
@media screen and (max-width: 700px) {
  .footer__footnotes-link {
    order: 1;
    flex: 1;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
  }
}
.footer__footnotes-item {
  order: 1;
}
@media screen and (max-width: 700px) {
  .footer__footnotes-item {
    order: 2;
    border-top: 1px solid #242424;
    padding-top: 20px;
    width: 100%;
    text-align: center;
  }
}
