.counter-value { 
  display: none !important; 
}
/* Основные правила для форм с Autoscale */
.t-form__inputsbox {
    display: flex;
    flex-wrap: wrap;
}

.t-input-group_cb {
    order: 1;
    margin-top: 20px;
    width: 100% !important;
}

.t-input-group_cb .t-checkbox__labeltext div {
    font-size: 12px !important;
    font-weight: 300;
}

.t-input-group {
    width: auto;
}

/* Для МОБИЛЬНЫХ устройств в ПОРТРЕТНОЙ ориентации - вертикальная форма */
@media screen and (max-width: 767px) and (orientation: portrait) {
    .t-form__inputsbox {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }
    .t-input-group {
        width: 100% !important;
        margin-bottom: 15px !important;
        margin-right: 0 !important;
    }
    .t-input-group_cb {
        width: 100% !important;
        margin-top: 16px !important;
        order: 12 !important;
        text-align: left !important;
    }
    .t-input {
        width: 100% !important;
    }
    .t-submit {
        width: 100% !important;
    }
}

/* Для МОБИЛЬНЫХ устройств в ГОРИЗОНТАЛЬНОЙ ориентации - горизонтальная форма */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .t-form__inputsbox {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        align-items: stretch !important;
    }
    .t-input-group:not(.t-input-group_cb) {
        flex: 1 !important;
        margin-right: 10px !important;
        margin-bottom: 0 !important;
    }
    .t-input-group_cb {
        width: 100% !important;
        margin-top: 16px !important;
        order: 12 !important;
        text-align: left !important;
    }
    .t-input {
        width: 100% !important;
    }
    .t-submit {
        flex-shrink: 0 !important;
        width: auto !important;
    }
}

/* Для планшетов в ПОРТРЕТНОЙ ориентации - поле и кнопка в ряд, чекбокс внизу */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .t-form__inputsbox {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }
    .t-input-group:not(.t-input-group_cb) {
        width: auto !important;
        margin-right: 10px !important;
        margin-bottom: 0 !important;
    }
    .t-input-group_cb {
        width: 100% !important;
        margin-top: 15px !important;
        order: 10 !important;
        text-align: left !important;
    }
    .t-submit {
        width: auto !important;
    }
}

/* Для планшетов в ГОРИЗОНТАЛЬНОЙ ориентации - горизонтальная форма */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .t-form__inputsbox {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    .t-input-group_cb {
        width: 100% !important;
        margin-top: 20px !important;
        order: 10 !important;
    }
    .t-input-group {
        width: auto !important;
    }
}

/* Для десктопов - горизонтальная форма с чекбоксом внизу */
@media screen and (min-width: 1025px) {
    .t-form__inputsbox {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    .t-input-group_cb {
        width: 100% !important;
        margin-top: 20px !important;
        order: 10 !important;
    }
}
