table th, table td {
    padding: 0.625em;
    text-align: center;
    background: #c62828;
}

.breadcumb-area-banner {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    object-fit: cover;
}

.breadcumb-wrap-banner {
    background-color: rgba(0, 0, 0, 0.5); /* Черный фон с прозрачностью */
    color: #fff; /* Цвет текста */
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.breadcumb-wrap-banner h2 {
    color: #fff;
    position: relative;
    /*text-transform: capitalize;*/
    padding-bottom: 15px;
    margin-bottom: 57px;
    font-size: 40px;
}

.breadcumb-wrap-banner h2::before, .breadcumb-wrap-banner h2::after {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 1px;
    background: #fff;
    content: "";
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
}

.breadcumb-wrap-banner h2::after {
    left: 51%;
    bottom: -2px;
}

.breadcumb-menu-banner {
    background: rgba(0, 0, 0, .8);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 15px 0px;
}

.breadcumb-menu-banner ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Выравниваем элементы по центру по горизонтали */
    align-items: center;
    margin: 0px 5px;
    color: #C62828;
    padding: 15px 0px;
}

.breadcumb-menu-banner li {
    margin: 0 10px; /* Добавляем отступы между элементами меню */
}

.breadcumb-menu-banner ul li a {
    color: #fff;
}

.breadcumb-menu-banner ul li a:hover {
    color: #C62828;
}

.type_face_ch {
    padding: 15px 20px;
    border: 1px solid #d73636;
    margin-bottom: -1px;
    text-transform: uppercase;
    font-size: initial;
    margin-left: 12px;
    color: black;
}

.type_face_ch:hover {
    background: #C62828;
    color: #fff;
    border-color: #C62828;
}

.type-face .active {
    background: #C62828;
    color: #fff;
    border-color: #C62828;
}

.type-face {
    padding: 8px 30px;
    text-transform: uppercase;
    margin-top: 25px;
    margin-bottom: 30px; /* Добавляем отступ снизу */
    text-align: center;
}

.MoneyTransferText {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    margin-bottom: 10px;
}

.calcDepos {
    width: 80%;
    margin: 0 auto;
    background-color: #c62828;
    border: none;
    border-radius: 30px;
    margin-bottom: 20px;
    padding: 30px;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 600px) {
    .btn_volute {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
        gap: 5px; /* Расстояние между кнопками */
    }
}

.calcDepos-content {
    display: flex;
    flex-wrap: wrap; /* Позволяет переносить элементы на новую строку при нехватке места */
    gap: 20px; /* Расстояние между элементами */
    /*margin: 20px;*/
    color: white;
    align-items: center;
}

.result-label {
    font-weight: 400;
    font-size: 21px;
    /* Добавьте больше стилей по мере необходимости */
}

.input-container {
    flex: 2;
    text-align: left; /* Выровнять поля ввода по левому краю */
}

.result-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 768px) {
    .calcDepos-content {
        display: flex;
        flex-direction: column;
    }

    .result-container {
        align-self: flex-end;
        margin-top: auto;
    }
}


.results-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: right;
    width: 100%;
    margin-top: 20px; /* Добавить отступ сверху для разделения результатов и полей ввода */
}

/* Добавим стили для результатов */
.result-container {
    display: flex;
    justify-content: center;
    margin-top: 87px;
    margin-bottom: 74px;
}

.results-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Выровняем по правому краю */
}

.result {
    margin: 0.5px 1px;
}

.result-title {
    margin-right: 10px; /* Добавим отступ справа */
    font-weight: normal;
}

.CorTable td {
    max-width: 300px;
    text-align: center;
}

.CorTable td {
    word-wrap: break-word;
}

.CorTable th {
    padding: 20px;
    vertical-align: middle;
    border-top: 2px solid #e6e6f2;
    font-weight: bold;
    font-size: 15px;
    border: 1px solid #e6e6f2;
}


.CorTable {
    margin-bottom: 0px;
    width: 100%;
    margin-bottom: 30px;
}

.CorTable td {
    padding: 20px;
    vertical-align: middle;
    border-top: 2px solid #e6e6f2;
    font-weight: normal;
    font-size: 15px;
    border: 1px solid #e6e6f2;
}

.CorTable thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #e6e6f2;
}

.CorTable th {
    color: #3d405c;
}


.CorTable tbody tr:hover {
    background-color: rgba(230, 230, 242, .5);
}

.TitleCor {
    font-size: 16px;
    padding-bottom: 30px;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/Client/images/photos/fonForoboi.jpg');
    background-size: cover;
    z-index: -1;
}


.headering {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 30px;
    color: #fff;
    min-height: 450px;
    background-color: rgba(19, 17, 17, 0.2);
    margin: auto auto;
}

.headering h1 {
    font-weight: 10;
    margin: 0;
    margin-bottom: 25px;
}

.headering h3 {
    font-weight: 10;
    margin-bottom: 25px 0px;
}

.headering a {
    color: white;
}

.rows {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}

.rows p {
    margin: 10px auto;
    font-size: 20px;
    color: #b1b1b1;
}

.btnRow {
    margin-top: 20px;
}

.column {
    flex-direction: column;
}


.sharedWallpaper {
    background-color: #ffffff;
    min-height: 600px;
    padding: 20px 0px;
}

/*for each credits*/
.site-button {
    font-size: 20px;
    height: 54px;
    line-height: 54px;
    display: inline-block;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: 4px;
    color: white;
}

.site-button:hover {
    background: rgba(49, 49, 49, 0.3);
}

/*content*/

/* Добавьте этот медиазапрос для мобильных устройств */
@media (max-width: 768px) {
    .container-inner {
        flex-direction: column; /* Измените направление на вертикальное */
    }

    .depositContent {
        margin-left: 0; /* Уберите отступ */
        margin-top: 20px; /* Добавьте отступ сверху */
    }

    .depositInfo {
        font-size: 18px; /* Уменьшите размер шрифта */
        margin-left: 0; /* Уберите отступ */
        padding-left: 20px; /* Добавьте отступ слева для маркеров */
    }
}


.creditSidebar {
    display: block;
    min-width: 350px;
}


#title_text {
    font-size: 24px;
    line-height: 110%;
    margin: 0.82rem 0 0.656rem 0;
    color: #fff;
}

.info-block2 {
    width: 100%;
    display: flex;
}

.vertical-line-cr {
    display: block;
    width: 4px;
    height: 20px;
    background-color: red;
    margin-right: 10px;
}

a {
    text-decoration: none;
    color: black;
}


.infoDepos {
    width: 80%;
    margin: 0 auto;
    background-color: #c62828;
    border-radius: 30px;
    padding: 30px;
}

.infoDepos-content {
    margin: 20px;
    color: white;
}

.small_title {
    font-size: 20px;
    font-weight: 300;
    color: rgb(192, 192, 192);
}

.large_value {
    font-size: 3rem;
    font-weight: 200;
    margin: 4px 0 30px 0;
}


.partforCalc {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    height: 100%;
    display: none;
}


.child {
    width: 40%;
}


.forRadio {
    height: auto;
    border: 1px solid white;
    border-radius: 10px;
    font-size: 14px;
}

.radioPlace {
    margin: 20px;
    display: flex;
    align-items: left;
    flex-direction: column;
    font-size: 18px;
}


/*radiobutton*/

.containerRadio {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.containerRadio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

.containerRadio:hover input ~ .checkmark {
    background-color: #ccc;
}

.containerRadio input:checked ~ .checkmark {
    background-color: #ffffff;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.containerRadio input:checked ~ .checkmark:after {
    display: block;
}

.containerRadio .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cc0000;
}

.forSelectPeriod {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.outputer {
    font-size: 36px;
    margin-left: 15px;
}

.dropdown-select {
    font-size: 26px;
    text-align: left; /* Добавили свойство для выравнивания текста слева */
}


#inputsum, #id_dropdown-select {
    width: 100%; /* Делаем элементы ввода адаптивными по ширине */
    padding: 12px 20px;
    margin: 8px 0;
    display: block; /* Убираем inline-block, чтобы выровнять элементы по центру */
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    height: 60px;
    font-size: 22px;
    max-width: 500px;
    color: #000;
}

/* classes for button*/

.btnDeposa {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Изменили значение на flex-start */
    margin: 30px 0px;
}


.btnC {
    border: 2px solid white;
    background-color: white;
    color: #000000;
    transition: background-color 0.3s, color 0.3s;
    font-size: 20px;
    border-radius: 10px;
    height: 60px;
    padding: 0 40px;
    margin: 8px 0; /* Изменили значение margin */
    max-width: 500px;
    width: 100%; /* Делаем кнопку адаптивной по ширине */
}

.btnC:hover {
    border: 2px solid white;
    color: white;
    background-color: #c62828;
}

/*valyuty*/
.btnVal {
    border: 2px solid white;
    color: white;
    background-color: #c62828;
    transition: background-color 0.3s, color 0.3s;
    font-size: 20px;
    height: 60px;
    width: 122px;
    padding: 5px 20px;
    border-radius: 10px;
}

.btnVal.active {
    background-color: white;
    color: #c62828;
}


/*slider button*/

/**/

.slider-button {
    width: auto;
}

.slider {
    /*-webkit-appearance: none;*/
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
}

.value {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 40px;
}

/*speech bubble*/
.speech-bubblee {
    display: flex;
    margin-left: 100px;
    position: absolute;
    background-color: rgb(52, 52, 52);
    color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    display: none;
    z-index: 9999;
}


.speech-bubblee:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 17px solid transparent;
    border-top-color: rgb(52, 52, 52);
    border-bottom: 0;
    border-left: 0;
    margin-left: -8.5px;
    margin-bottom: -17px;
}

.ratesPDF {
    font-size: 16px; /* Размер шрифта */
    color: #000000; /* Цвет текста */
    border: 1px solid #ccc; /* Граница */
    padding: 10px; /* Отступы внутри элемента */
    width: 80%;
    margin: 0 auto;

}

.normal {
    font-weight: normal;
}

.tooltip-container {
    position: relative;
}

.tooltip-input1 {
    display: none;
    position: absolute;
    background-color: #ffffff;
    color: red;
    padding: 5px 10px;
    border-radius: 5px;
    top: -8px;
    left: 40%;
    transform: translateX(-50%);
    z-index: 1; /* Устанавливаем z-index, чтобы тултип был поверх других элементов */
}

.tooltip-input1:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 7px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

/*adaptive*/
@media (max-width: 992px) {

    /*adaptive for credit page*/
    .partforCalc {
        flex-flow: column;
    }

    .headering {
        height: 500px;
    }
}


@media (max-width: 600px) {
    .headering {
        height: 500px;
    }

    .headering h1 {
        font-size: 45px;
        margin-bottom: 15px;
    }

    .headering h3 {
        font-size: 24px;
        margin: 15px auto;
    }

    .rows {
        flex-direction: column;
        text-align: center;
    }

    .site-button {
        font-size: 18px;
        margin-right: 0px;
        width: 205px;
        margin-top: 5px;
    }

    .btnRow {
        margin-top: 5px;
    }

    .result-container {
        margin-top: 5px;
    }

    .ratesPDF {
        font-size: 12px; /* Измените размер шрифта для мобильных устройств */
        padding: 5px; /* Измените отступы внутри элемента для мобильных устройств */
        width: 80%;
        margin: 0 auto;
    }

    .tooltip-input1 {
        left: auto; /* Снимаем левый отступ */
        right: 1px; /* Устанавливаем правый отступ */
        transform: none; /* Снимаем transform для восстановления позиции по правому краю */
    }
}