.advantages-wrap {
  position: relative;
  overflow: hidden;
  min-height: 705px;
}
/* СЕТКА ИЗ КУБИКОВ С ПРЕИМУЩЕСТВАМИ */
.adv-item {
  overflow: hidden;
  position: relative;
  /* reset <a> style */
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  color: inherit;
}
.adv-item,
.adv-item-part {
  width: 300px;
}
@media (max-width: 567px) {
  .adv-item,
  .adv-item-part {
    width: calc(100vw * 6.0 / 6.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-item,
  .adv-item-part {
    width: calc(100vw * 6.0 / 12.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-item,
  .adv-item-part {
    width: calc(100vw * 6.0 / 12.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-item,
  .adv-item-part {
    width: calc(100vw * 4.0 / 16.0);
  }
}
.adv-item-full,
.adv-item-part {
  position: absolute;
}
.adv-item-full.item1,
.adv-item-part.item1 {
  left: 0;
  top: 0;
}
.adv-item-full.item2,
.adv-item-part.item2 {
  right: 0;
  top: 0;
}
.adv-item-full.item3,
.adv-item-part.item3 {
  left: 0;
  top: 235px;
}
.adv-item-full.item4,
.adv-item-part.item4 {
  right: 0;
  top: 235px;
}
.adv-item-full.item5,
.adv-item-part.item5 {
  left: 0;
  top: 470px;
}
.adv-item-full.item6,
.adv-item-part.item6 {
  left: 300px;
  top: 470px;
}
.adv-item-full.item7,
.adv-item-part.item7 {
  right: 300px;
  top: 470px;
}
.adv-item-full.item8,
.adv-item-part.item8 {
  right: 0;
  top: 470px;
}
@media (max-width: 567px) {
  .adv-item-full.item1,
  .adv-item-part.item1,
  .adv-item-full.item2,
  .adv-item-part.item2,
  .adv-item-full.item3,
  .adv-item-part.item3,
  .adv-item-full.item4,
  .adv-item-part.item4,
  .adv-item-full.item5,
  .adv-item-part.item5,
  .adv-item-full.item6,
  .adv-item-part.item6,
  .adv-item-full.item7,
  .adv-item-part.item7,
  .adv-item-full.item8,
  .adv-item-part.item8 {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-item-full.item1,
  .adv-item-part.item1,
  .adv-item-full.item2,
  .adv-item-part.item2,
  .adv-item-full.item3,
  .adv-item-part.item3,
  .adv-item-full.item4,
  .adv-item-part.item4,
  .adv-item-full.item5,
  .adv-item-part.item5,
  .adv-item-full.item6,
  .adv-item-part.item6,
  .adv-item-full.item7,
  .adv-item-part.item7,
  .adv-item-full.item8,
  .adv-item-part.item8 {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-item-full.item1,
  .adv-item-part.item1,
  .adv-item-full.item2,
  .adv-item-part.item2,
  .adv-item-full.item3,
  .adv-item-part.item3,
  .adv-item-full.item4,
  .adv-item-part.item4,
  .adv-item-full.item5,
  .adv-item-part.item5,
  .adv-item-full.item6,
  .adv-item-part.item6,
  .adv-item-full.item7,
  .adv-item-part.item7,
  .adv-item-full.item8,
  .adv-item-part.item8 {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-item-full.item1,
  .adv-item-part.item1,
  .adv-item-full.item2,
  .adv-item-part.item2,
  .adv-item-full.item3,
  .adv-item-part.item3,
  .adv-item-full.item4,
  .adv-item-part.item4,
  .adv-item-full.item5,
  .adv-item-part.item5,
  .adv-item-full.item6,
  .adv-item-part.item6,
  .adv-item-full.item7,
  .adv-item-part.item7,
  .adv-item-full.item8,
  .adv-item-part.item8 {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
}
@media (max-width: 567px) {
  .adv-item-full,
  .adv-item-part {
    float: left;
    position: relative;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-item-full,
  .adv-item-part {
    float: left;
    position: relative;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-item-full,
  .adv-item-part {
    float: left;
    position: relative;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-item-full,
  .adv-item-part {
    float: left;
    position: relative;
  }
}
.adv-item-full {
  height: 235px;
}
@media (max-width: 567px) {
  .adv-item-full {
    height: calc(100vw / 320.0 * 460.0 * 2.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-item-full {
    height: calc(100vw / 568.0 * 320.0 * 4.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-item-full {
    height: calc(100vw / 768.0 * 924.0 * 4.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-item-full {
    height: calc(100vw / 1024.0 * 668.0 * 4.0 / 12.0);
  }
}
.adv-item-size2 {
  height: 118px;
  background-color: #f3eee9;
}
@media (max-width: 567px) {
  .adv-item-size2 {
    height: calc(100vw / 320.0 * 460.0 * 2.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-item-size2 {
    height: calc(100vw / 568.0 * 320.0 * 2.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-item-size2 {
    height: calc(100vw / 768.0 * 924.0 * 2.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-item-size2 {
    height: calc(100vw / 1024.0 * 668.0 * 2.0 / 12.0);
  }
}
.adv-item-size2:first-child {
  height: 117px;
  background-color: #ccc;
}
@media (max-width: 567px) {
  .adv-item-size2:first-child {
    height: calc(100vw / 320.0 * 460.0 * 2.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-item-size2:first-child {
    height: calc(100vw / 568.0 * 320.0 * 2.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-item-size2:first-child {
    height: calc(100vw / 768.0 * 924.0 * 2.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-item-size2:first-child {
    height: calc(100vw / 1024.0 * 668.0 * 2.0 / 12.0);
  }
}
.adv-item-size1 {
  height: 59px;
  background-color: #f3eee9;
}
@media (max-width: 567px) {
  .adv-item-size1 {
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-item-size1 {
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-item-size1 {
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-item-size1 {
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.adv-item-size1:first-child {
  height: 58px;
}
@media (max-width: 567px) {
  .adv-item-size1:first-child {
    height: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-item-size1:first-child {
    height: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-item-size1:first-child {
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-item-size1:first-child {
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.adv-item-size1:nth-child(2n + 1) {
  background-color: #ccc;
}
.adv-item-part {
  height: 235px;
}
@media (max-width: 567px) {
  .adv-item-part {
    height: auto;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-item-part {
    height: calc(100vw / 568.0 * 320.0 * 4.0 / 8.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-item-part {
    height: calc(100vw / 768.0 * 924.0 * 4.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-item-part {
    height: calc(100vw / 1024.0 * 668.0 * 4.0 / 12.0);
  }
}
.adv-item > img {
  width: inherit;
  border: 0;
  vertical-align: top;
}
@supports (object-fit: cover) {
  .adv-item > img {
    object-fit: cover;
    height: inherit;
  }
}
.adv-item-full .adv-item-title-wrap {
  /* + .alm-valign-center */
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  min-height: 59px;
  box-sizing: border-box;
  text-align: center;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: bold;
}
.adv-item-full .adv-itme-title-wrap2 {
  /* nothing */
}
.adv-item-part .adv-item-title-wrap {
  /* + .alm-valign-center */
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  right: 12px;
}
.adv-item-part .adv-item-title-wrap2 {
  text-align: center;
  padding: 3px;
}
.adv-item-title {
  text-transform: uppercase;
  font-family: Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: black;
  /* reset <a> style */
  text-decoration: none;
}
.adv-item-full .adv-item-title {
  text-transform: uppercase;
  font-family: 'PT Sans', Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: white;
  /* reset <a> style */
  text-decoration: none;
}
.adv-item-more-link {
  font-family: 'PT Sans', Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}
.adv-item-more-link:hover {
  text-decoration: underline;
}
/* САМИ ПРЕИМУЩЕСТВА ПОСЕРЕДИНЕ СТРАНИЦЫ */
.advantages-content {
  background-color: white;
  position: absolute;
  left: 300px;
  top: 0;
  width: 600px;
  height: 470px;
  /* 235px * 2 */
}
@media (max-width: 567px) {
  .advantages-content {
    width: auto;
    height: auto;
    position: static;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .advantages-content {
    width: auto;
    height: calc(100vw / 568.0 * 320.0 * 6.0 / 8.0);
    position: static;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .advantages-content {
    width: auto;
    height: calc(100vw / 768.0 * 924.0 * 5.0 / 16.0);
    position: static;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .advantages-content {
    width: auto;
    height: calc(100vw / 1024.0 * 668.0 * 5.0 / 12.0);
    position: static;
  }
}
.adv-content-title-wrap {
  background-color: #F4B542;
  font-size: 0;
  /* Для ровного vertical-align */
  text-align: center;
  overflow: hidden;
  line-height: 60px;
}
@media (max-width: 567px) {
  .adv-content-title-wrap {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-content-title-wrap {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-content-title-wrap {
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-content-title-wrap {
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.adv-content-title {
  display: inline-block;
  line-height: 1.25;
  font-size: 16px;
  vertical-align: middle;
  text-transform: uppercase;
  color: white;
  width: 460px;
  opacity: 1;
  transition-property: opacity;
  /* transition-duration is set by js */
}
.adv-content-title.hidden {
  opacity: 0;
}
.adv-arrow-left,
.adv-arrow-right {
  display: block;
  font-size: 24px;
  background-color: #ddd;
  color: #5f5b59;
  text-decoration: none;
  cursor: pointer;
  width: 60px;
  height: 60px;
  line-height: 60px;
}
@media (max-width: 567px) {
  .adv-arrow-left,
  .adv-arrow-right {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-arrow-left,
  .adv-arrow-right {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-arrow-left,
  .adv-arrow-right {
    width: calc(100vw * 1.0 / 12.0);
    height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
    line-height: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-arrow-left,
  .adv-arrow-right {
    width: calc(100vw * 1.0 / 16.0);
    height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
    line-height: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0);
  }
}
.adv-arrow-left {
  float: left;
}
.adv-arrow-right {
  float: right;
}
.adv-content {
  padding: 32px 64px;
  max-height: 233px;
  /* 235px - 60px title + 58px size1 */
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 16px;
  opacity: 1;
  transition-property: opacity;
  /* transition-duration is set by js */
}
@media (max-width: 567px) {
  .adv-content {
    padding: calc(100vw / 320.0 * 460.0 * 1.0 / 8.0 * 0.5) calc(100vw * 1.0 / 6.0);
    max-height: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .adv-content {
    padding: calc(100vw / 568.0 * 320.0 * 1.0 / 8.0 * 0.5) calc(100vw * 1.0 / 12.0);
    max-height: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-content {
    padding: calc(100vw / 768.0 * 924.0 * 1.0 / 16.0 * 0.5) calc(100vw * 3.0 / 12.0);
    padding-right: calc(100vw * 2.0 / 12.0);
    max-height: none;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .adv-content {
    padding: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0 * 0.5) calc(100vw * 5.0 / 16.0);
    padding-right: calc(100vw * 4.0 / 16.0);
    max-height: none;
  }
}
.adv-content.hidden {
  opacity: 0;
}
.adv-content a {
  color: #d88628;
}
.quickform.grid-adv,
.quickform.grid-adv {
  width: 100%;
  display: none;
}
@media (min-width: 1px) {
  .quickform.grid-adv,
  .quickform.grid-adv {
    display: block;
  }
}
@media (min-width: 1200px) {
  .quickform.grid-adv,
  .quickform.grid-adv {
    position: absolute;
    left: 300px;
    top: 293px;
    width: 600px;
    height: 177px;
  }
}
.quickform-dropzone-adv-desktop-header {
  display: none;
}
.quickform-dropzone-adv-mobile-label {
  display: block;
}
.quickform-dropzone-adv-desktop-label {
  display: none;
}
@media (min-width: 1200px) {
  .quickform-dropzone-adv-mobile-label {
    display: none;
  }
  .quickform-dropzone-adv-desktop-label {
    display: block;
  }
  .quickform.grid-adv .quickform-fields {
    float: none;
    width: auto;
    position: relative;
    height: 177px;
  }
  .quickform-dropzone-adv-desktop-header {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    height: 59px;
    line-height: 59px;
    box-sizing: border-box;
    padding: 0 35px;
    background-color: #f3eee9;
    text-align: center;
  }
  .quickform.grid-adv .quickform-dropzone {
    font-size: 13px;
    display: -webkit-flex;
    display: flex;
    /* for alm-valign-center */
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 59px;
    /* line-height: 59px; */
    box-sizing: border-box;
    padding: 0 35px;
    background-color: #ccc;
    cursor: pointer;
  }
  .quickform.grid-adv .quickform-dropzone .pm-button {
    display: none;
  }
  .quickform.grid-nav .quickform-dropzone-header {
    display: none;
  }
  .quickform.grid-adv .qi-fio,
  .quickform.grid-adv .qi-phone,
  .quickform.grid-adv .qi-email,
  .quickform.grid-adv .qi-captcha-img,
  .quickform.grid-adv .qi-captcha {
    box-sizing: border-box;
    position: absolute;
    height: 59px;
    line-height: 59px;
    background-color: white;
  }
  .quickform.grid-adv .qi-fio {
    left: 0;
    top: 59px;
    width: 300px;
    border: 1px solid #d88628;
  }
  .quickform.grid-adv .qi-phone {
    left: 0;
    top: 118px;
    width: 150px;
    border-bottom: 1px solid #d88628;
    border-right: 1px solid #d88628;
    border-left: 1px solid #d88628;
  }
  .quickform.grid-adv .qi-email {
    left: 150px;
    top: 118px;
    width: 150px;
    border-bottom: 1px solid #d88628;
    border-right: 1px solid #d88628;
  }
  .quickform.grid-adv .qi-captcha-img {
    right: 150px;
    top: 59px;
    width: 150px;
    border-bottom: 1px solid #d88628;
    border-top: 1px solid #d88628;
  }
  .quickform.grid-adv .qi-captcha {
    right: 0;
    top: 59px;
    width: 150px;
    border: 1px solid #d88628;
  }
  .quickform.grid-adv .qi-submit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 59px;
    line-height: 59px;
  }
}
