:root {
    --my-font-family: 'Roboto', Arial, sans-serif;
}

/*@media only screen and (max-width: 576px) {
    #rec707228629 .t396__artboard,
    #rec707228629 .tn-elem__7072286291707915980835 {
        height: 680px !important;
    }
}*/

/*#rec707228629 .tn-elem__7072286291707915980835 {
    top: 10px !important;
}*/

.b24-window-scrollable::-webkit-scrollbar {
    height: 0 !important;
    display: none !important;
}
.b24-window-scrollable {
    scrollbar-width: none !important;
}

.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 { 
        /* Отступы слева и справа до контента в Grid-контейнере */
        padding: 0 20px !important; }

    .t-container {
        /* Максимальная ширина контейнера в зеро-блоке, при отображении мобильного */
        max-width: 460px !important;
    }
}

/*Максимальная ширина смартфона где будет применяться эффект сетки зеро-блока */
@media screen and (min-width: 480px) and (max-width: 640px) { 
    /* Отступы слева и справа до контента в Grid-контейнере */
    .t-col { 
        padding: 0 10px !important; }
    /* Максимальная ширина контейнера в зеро-блоке, при отображении мобильного */
    .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: var(--my-font-family);
}

.footer-email {
    color: white !important;
    font-family: var(--my-font-family);
}

/* Формы Битрикс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-form-header {
        padding: 30px 31px 5px !important;
        text-align: center;
    }
    
    .b24-window-popup-head {
        padding: 18px 52px 14px 22px !important;
    }
    
    .b24-window-popup-title {
        font-size: 130% !important;
        font-weight: 700 !important;
        white-space: unset !important;
        line-height: 1.2 !important;
    }
    
    .b24-window-popup-body {
        padding: 0px 10px 10px !important;
    }
    
    .b24-form-scroll-textable-text {
        font-weight: 700 !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;
        }
    }
    
    /* Виджет Битрикс24 в углу экрана */
        .b24-widget-button-wrapper {
            z-index: 99999 !important;
        }
        
        .b24-widget-button-shadow {
            background: rgb(0 0 0 / 50%) !important;
        }

        .b24-window-overlay {
            background-color: rgb(0 0 0 / 70%) !important;           
        }

        .b24-window-panel {
            width: 90% !important;
            height: 100% !important;
            position: fixed !important;
            top: 50% !important;
            left: 50% !important;
            transform: translate(-50%, -50%) !important;
            padding: 10px !important;
            max-height: 597px !important;
            box-sizing: border-box !important;
            border-radius: 10px !important;
            z-index: 16000 !important;
            overflow: hidden;
        }
        
        @media screen and (max-width: 640px) {
            .b24-window-panel {
                width: 80%;
                max-width: 490px;
                min-width: 300px;
                min-height: 600px;
            }
        }
    
    @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;
    }
    }
    
    /* Переключатель адресов в футере */
        .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: var(--my-font-family);
          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;
          }
        }
/* /ПЕРЕНОС СТИЛЕЙ ИЗ ФУТЕРА */