/* ========================== Projects =============================== */

@media (min-width: 768px){
    .intro__item-info-dl dd {
        color: rgba(255,255,255,0.7);
        letter-spacing: 0.06rem;
    }
}

@media (min-width: 768px) {
  .projects-single__gallery-list > li {
      max-width: 16rem;
  }
}

@media (min-width: 1200px) {
  .projects-swiper__gallery {
      max-width: 65rem;
  }
}

.intro__item-info-link {   
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    font-size: 1.4rem;
    padding: 0.5rem 0.5rem;
    transition: background 250ms;
    display: inline-block;
    margin: .25rem .5rem .25rem 0;
}
a.intro__item-info-link:hover{
    background: #D80001;
}

.intro__item-subtitle {
    font-size: 2.6rem;
    font-weight: 600;
    
}
.intro__item-info-dl {
    margin: 0 0 4rem;
}
.intro__item-info-list + .intro__item-info-dl {
    margin-top: 4rem;
}

@media (min-width: 1200px) {
    .projects-single {
        position: relative;
    }
    .intro__item-info-list sup {
        font-size: 2.6rem;
        top: 0.6em;
    }
}

.projects-single {
    background: #F7F8F9;
    margin-bottom: 12rem;
    padding-bottom: 6rem;
}
.projects-single + .news .news__title {
    text-align: center;
}
.is-nav-open .header {
    background: rgba(0, 0, 0, 0.9);
}
.is-nav-open .header__nav-offcanvas {
    background: rgba(0, 0, 0, 0.9);
}

/* ============================= MAP ================================== */

.ui-close {
    background-color: #fff;
    border: 1px solid #d7d8d9;
    border-radius: 4px;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-shadow: 1px 5px 2px -4px rgba(0,0,0,0.2)!important;
    cursor: pointer;
    pointer-events: all;
    position: absolute;
    right: 5px;
    top: 10px;
    z-index: 200;
}

.ymaps-2-1-79-controls-pane {
    left: -45px !important;
}

.no_contact-map {
    display: block;
    width: 100%;
    height: 100%;
    background: #2828287a;
    z-index: 800;
    position: inherit;
}
.no_contact-map-no {
    display: none;
}

/* ============================ UL/OL =================================== */

.ui-ul, .vacancies__wysiwyg ul, .ui-wysiwyg ul, .ui-ol, .vacancies__wysiwyg ol, .ui-wysiwyg ol {
  line-height: 1.333 !important;
  font-size: 2rem;
}

.vacancies__wysiwyg {
    color: black;
    font-size: 2rem;
    line-height: 1.333;
    font-weight: 400;
}

/* ======================== OL - LIST BLOCK ============================= */

.details .ui-wysiwyg .list-block ol, .details .ui-wysiwyg .list-block ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.details .ui-wysiwyg .list-block ol li, .details .ui-wysiwyg .list-block ul li {
    background: #F1F3F4;
    padding: 5.5rem 2.2rem 2.2rem;
    width: calc(25% - (20px * 3 / 4));
    margin: 0;
    flex-grow: 1;
}

.details .ui-wysiwyg[data-xl-columns="1"] .list-block ol li, .details .ui-wysiwyg[data-xl-columns="1"] .list-block ul li {
    width: 100%;
}
.details .ui-wysiwyg[data-xl-columns="2"] .list-block ol li, .details .ui-wysiwyg[data-xl-columns="2"] .list-block ul li {
    width: calc(50% - (20px * 1 / 2));
}
.details .ui-wysiwyg[data-xl-columns="3"] .list-block ol li, .details .ui-wysiwyg[data-xl-columns="3"] .list-block ul li {
    width: calc(33.3333% - (20px * 2 / 3));
}
.details .ui-wysiwyg[data-xl-columns="4"] .list-block ol li, .details .ui-wysiwyg[data-xl-columns="4"] .list-block ul li {
    width: calc(25% - (20px * 3 / 4));
}
.details .ui-wysiwyg[data-xl-columns="5"] .list-block ol li, .details .ui-wysiwyg[data-xl-columns="5"] .list-block ul li {
    width: calc(20% - (20px * 4 / 5));
}

@media (max-width: 768px) {
  .details .ui-wysiwyg .list-block ol li, .details .ui-wysiwyg .list-block ul li {
      width: calc(33% - (20px * 2 / 3));
  }
  .details .ui-wysiwyg[data-md-columns="1"] .list-block ol li, .details .ui-wysiwyg[data-md-columns="1"] .list-block ul li {
      width: 100%;
  }
  .details .ui-wysiwyg[data-md-columns="2"] .list-block ol li, .details .ui-wysiwyg[data-md-columns="2"] .list-block ul li {
      width: calc(50% - (20px * 1 / 2));
  }
  .details .ui-wysiwyg[data-md-columns="3"] .list-block ol li, .details .ui-wysiwyg[data-md-columns="3"] .list-block ul li {
      width: calc(33.3333% - (20px * 2 / 3));
  }
  .details .ui-wysiwyg[data-md-columns="4"] .list-block ol li, .details .ui-wysiwyg[data-md-columns="4"] .list-block ul li {
      width: calc(25% - (20px * 3 / 4));
  }
}

@media (max-width: 576px) {
  .details .ui-wysiwyg .list-block ol li, .details .ui-wysiwyg .list-block ul li {
      width: calc(50% - (20px * 1 / 2));
  }
  .details .ui-wysiwyg[data-sm-columns="1"] .list-block ol li, .details .ui-wysiwyg[data-sm-columns="1"] .list-block ul li {
      width: 100%;
  }
  .details .ui-wysiwyg[data-sm-columns="2"] .list-block ol li, .details .ui-wysiwyg[data-sm-columns="2"] .list-block ul li {
      width: calc(50% - (20px * 1 / 2));
  }
  .details .ui-wysiwyg[data-sm-columns="3"] .list-block ol li, .details .ui-wysiwyg[data-sm-columns="3"] .list-block ul li {
      width: calc(33.3333% - (20px * 2 / 3));
  }
}

@media (max-width: 375px) {
  .details .ui-wysiwyg .list-block ol li, .details .ui-wysiwyg .list-block ul li {
      width: 100%;
  }
  .details .ui-wysiwyg[data-sm-columns] .list-block ol li, .details .ui-wysiwyg[data-sm-columns] .list-block ul li {
      width: 100%;
  }
}

.details .ui-wysiwyg .list-block ol > li:after, .details .ui-wysiwyg .list-block ul > li:after {
    left: 2.2rem;
    top: 2.2rem;
}

/* ======================== HEADER MENU ============================== */

li.is-open .header__nav-link {
    color: #D80001;
}

.header__nav-link svg{
    margin-left: 0.6rem;
    fill: #fff;
    transition: fill 0.25s, transform 0.25s;
}

li.is-open .header__nav-link svg{
    fill: #ff0000;
    transform: rotate(180deg);
}

.header__nav-link:hover svg{
    fill: #ff0000;
}

.header__nav-link:not([href]) {
    cursor: pointer
}

.header__nav-item {
    position: relative;
}

.header__nav-dropdown {
    position: absolute;
    left: -15px;
    top: 100%;
    transition: opacity 0.25s, visibility 0.25s;
    opacity: 0;
    visibility: hidden;
    padding-top: 3.5rem;
}
@media (max-width: 1199px) {
    .header__nav-dropdown {
        position: static;
        padding: 0;
    }
}

.header__nav-dropdown a {
    color: white;
    text-decoration: none;
}

.header__nav-submenu {
    list-style: none;
    padding: 10px 15px;
    
}

@media (min-width: 1200px) {
  .header__nav-submenu {
      background: rgba(0, 0, 0, 0.6);
  }
}

.header__nav-subitem a {
    transition: color 0.25s;
}

.header__nav-subitem:hover a {
    color: #D80001;
}

.header__nav-menu {
    height: 100%;
}

.header__nav-menu > li.is-open .header__nav-dropdown {
    opacity: 1;
    visibility: visible;
    display: block !important;
}

/* ============================ HTML ================================= */

.is-nav-open {
    overflow-y: hidden
}

/* ============================ ABOUT ================================ */
.about__text {
    font-size: 2.4rem
}

/* MAIN */
.is-none .main:has(>.feedback:last-child) {
    padding-bottom: 0;
}

/* ============================ STEPS ================================ */
@media (min-width: 1200px) {   
  .steps__list--stretch[data-count-elements="1"] > * {
      flex: 0 0 100%;
      max-width: 100%;
  }
  .steps__list--stretch[data-count-elements="2"] > * {
      flex: 0 0 50%;
      max-width: 50%;
  }
  .steps__list--stretch[data-count-elements="3"] > * {
      flex: 0 0 33.3333%;
      max-width: 33.3333%;
  }
  .steps__list--stretch[data-count-elements="4"] > * {
      flex: 0 0 25%;
      max-width: 25%;
  }
  .steps__list--stretch[data-count-elements="5"] > * {
      flex: 0 0 20%;
      max-width: 20%;
  }
  .steps__list--stretch[data-count-elements="6"] > * {
      flex: 0 0 16.6667%;
      max-width: 16.6667%;
  }
}

/* ================== About ==================== */

.about__title > *:first-child, .about__text > *:first-child {
    margin-top: 0;
}
.about__title > *:last-child, .about__text > *:last-child {
    margin-bottom: 0;
}

/* ==================== Details ====================== */

.details__wysiwyg {
    color: black;
    font-size: 2rem;
}
.details__wysiwyg ul, .details__wysiwyg ol{
    font-size: 2rem;
}
.details__wysiwyg .list-block ul, .details__wysiwyg .list-block ol{
    font-size: 1.8rem;
}

/* ==================== Feedback ======================== */

.feedback *::selection {
    background: #D80001;
}
.feedback *::-moz-selection {
    background: #D80001;
}

/* ===================== Career ========================= */

.career__item-price {
    font-size: 1.8rem;
}

/* =====================  TEXT-CONTENT =========================== */

.text-content img[style*="float: left"] {
    margin-left: 0 !important;
    margin-top: 0 !important;
}

.text-content img[style*="float: right"] {
    margin-right: 0 !important;
    margin-top: 0 !important;
}
.text-content {
    color: black;
    font-size: 2rem;
    font-weight: 400;
}
.text-content ul, .text-content ol{
    font-size: 2rem;
}
.text-content .list-block ul, .text-content .list-block ol{
    font-size: 1.8rem;
}
@media (max-width: 768px) {
  .text-content img {
      float: none !important;
  }
}

/* =============================== CAREER ============================= */

.career__item-image {
    margin-bottom:15px;
    height: 24rem;
}
.career__item-image img {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
}

/* ================================= NEWS ============================== */

.news--homepage {
    margin-top: 10rem;
}

.news--project .news__item {
    padding: 4rem;
    background: #f7f8f9;
    height: 100%;
}
.news__item-title {
    margin-bottom: 2rem;
}

/* ============================= SYSTEMS ================================ */

.systems__title {
    text-align: left;
}