.b24-form-wrapper {max-width: 100% !important;}

@media only screen and (max-width: 480px) {
  #rec531796233 .t958__card-wrapper {
    max-width: 460px !important;
  }
}
@media only screen and (min-width: 1200px) {
  .t-upwidget {
    margin-bottom: 0 !important;
    min-height: 39px;
  }
}

@media screen and (max-width: 479px) { /*Максимальная ширина смартфона где будет применяться эффект сетки зеро-блока*/
.t-col { 
    padding: 0 20px !important; } /*Это отступы слева и справа до контента в Grid-контейнере*/
.t-container {
    max-width: 460px !important; /*Это максимальная ширина контейнера в зеро-блоке, при отображении мобильного*/
}
}
@media screen and (min-width: 480px) and (max-width: 640px) { /*Максимальная ширина смартфона где будет применяться эффект сетки зеро-блока*/
.t-col { 
    padding: 0 10px !important; } /*Это отступы слева и справа до контента в Grid-контейнере*/
.t-container {
    max-width: 640px !important; /*Это максимальная ширина контейнера в зеро-блоке, при отображении мобильного*/
}
}
@media screen and (max-width: 479px) {
  .t-section__title,
  .t050__title {
    font-size: 24px;
  }
}

.footer-number {
    color: white;
    font-weight: bold;
    font-size: 20px;
    font-family: "Roboto", Arial, sans-serif;
}

.footer-email {
    color: white !important;
    font-family: "Roboto", Arial, sans-serif;
}

/* Формы Битрикс24 */
.b24-window-popup-wrapper {
    max-width: 50% !important;
}

@media (max-width:1199px) {
    .b24-window-popup-wrapper {
        max-width: 70% !important;
    }
}

@media (max-width:768px) {
    .b24-window-popup-wrapper {
        max-width: 90% !important;
    }
}

.b24-window-scrollable {
    overflow-x: auto !important;
    overflow-y: auto !important;
}

/*@media (max-width:512px) {
    .b24-form .b24-window-scrollable {
        padding-bottom: 0 !important;
    }
}*/

.b24-form-scroll-textable {
    background-color: #fff !important;
}

.b24-form-scroll-textable-text {
    opacity: 1 !important;
}

.b24-window-popup-head {
    padding: 18px 52px 14px 22px !important;
}

.b24-window-popup-title {
    font-size: 130% !important;
    white-space: unset !important;
    line-height: 1.2 !important;
}

.b24-window-popup-body {
    padding: 0px 10px 10px !important;
}

@media (max-width:400px) {
    .b24-window-popup-title {
        font-size: 120% !important;
    }
    
    .b24-form-btn-container {
        flex-direction: column !important;
    }
    
    .b24-form-btn-block {
        width: 100% !important;
    }
}

.b24-widget-button-wrapper {
    z-index: 999999 !important;
}

.b24-widget-button-shadow {
    background: rgb(0 0 0 / 50%) !important;
}

@media (max-width:576px) {
    .b24-widget-button-popup {
        display: none !important;
    }
}

/* ПЕРЕНОС СТИЛЕЙ ИЗ ФУТЕРА */
.t397__select {
    border: 2px solid #0f70b7 !important;
    border-radius: 10px;
}
.t397__firefoxfix {
    border-radius: 10px;
}
.t886 {
    z-index: 10151;
}
.t886__wrapper {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 13px !important;
    border: 1px solid rgba(0, 92, 163, 1);
}

@media screen and (max-width: 640px) {
    .t886__wrapper {
        flex-direction: column;
    }
    .t886__text {
        padding-right:0px;
    }
    .t886 {
    width: calc(100% - 20px);
    padding: 10px;
}
}

/* Центрирование формы битрикс виджета */
    .b24-window-panel {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        padding: 10px;
        max-height: 597px !important;
        box-sizing: border-box;
        border-radius: 10px;
        z-index: 99999;
        overflow: hidden;
    }
    
    @media screen and (max-width: 640px) {
        .b24-window-panel {
            width: 80%;
            max-width: 490px;
            min-width: 300px;
        }
    }

/* Переключатель адресов в футере */
    .t-address-switcher {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      margin: 20px 0;
    }
    
    .t-address-switcher__arrow {
      font-size: 30px;
      border: none;
      outline: none;
      box-shadow: none;
      background-color: transparent !important;
      line-height: 1;
      color: white;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      flex-shrink: 0;
    }
    
    .t-address-switcher__arrow:hover {
      color: grey;
    }
    
    .t-address-switcher__arrow:active {
      transform: scale(0.95);
      background-color: transparent;
    }
    
    .t-address-switcher__content {
      width: 200px;
      flex-shrink: 0;
    }
    
    .t-address-item {
      font-family: "Roboto", Arial, sans-serif;
      display: none;
      font-size: 14px;
      color: #d6ddeb;
      padding: 8px 0;
      white-space: normal;
    }
    
    .t-address-item.active {
      display: block;
    }
    
    @media (max-width: 480px) {
      .t-address-switcher {
        gap: 12px;
      }
    
      .t-address-switcher__content {
        width: 200px;
      }
    
      .t-address-item {
        font-size: 14px;
      }
    }
/* /ПЕРЕНОС СТИЛЕЙ ИЗ ФУТЕРА */