.fz-11 {
    font-size: 11px!important;
}
.fz-12 {
    font-size: 12px!important;
}
.fz-14 {
    font-size: 14px!important;
}
.fz-16 {
    font-size: 16px;
}
.fz-18 {
    font-size: 18px;
}
.fz-24 {
    font-size: 24px;
}
.fz-36 {
    font-size: 36px;
}
.fw-700 {
    font-weight: 700;
}
.h-25 {
    height: 25px!important;
}
.h-29 {
    height: 29px!important;
}
.color-blue {
    color: rgba(28, 63, 170, 1) !important;
}
.color-red {
    color: #D30000!important;
}
.color-green {
    color: #60B967!important;
}
.color-black {
    color: #000000!important;
}
.link {
    color: #0a8ebf;
    text-decoration: underline;
}
.select2-container {
    z-index: 10001;
}
.new-semester .nav.nav-tabs .active {
    background: linear-gradient(#59B66F, #96D038);
    border-color: #59B66F;
}
.line-h-24 {
   line-height: 24px;
}
.text-black {
    color: #464F5E;
}
.not-margin {
    margin: 0!important;
}
.disabled {
    cursor: not-allowed;
    opacity: 0.2;
}
.tariff_title {
    font-size: 24px;
    padding-left: 16px;
    margin: 10px 0 40px;
}
.box-tariff {
    border-radius: 20px;
    margin: 0 15px
}
.package-description-container {
    padding: 25px 25px 90px;
    border-radius: 20px 20px 0 0;
    margin-top: -15px;
    background: #fff;
}
.package-description {
    padding: 20px 0;
    padding-left: 0 !important;
}
.package-description li {
    padding: 10px;
    border-radius: 8px;
    list-style-type: none;
}
.package-description li:nth-child(odd){
    background: #F2F5F8;
}
.btn_change_tariff {
    border: 2px solid #59B66F;
    color: #59B66F;
    font-size: 16px;
    padding: 13px 0;
}
.btn_change_tariff_active {
    background: linear-gradient(#59B66F, #96D038);
    color: #ffffff;
    font-size: 16px;
    padding: 15px 0;
}
.label_wait_payment_active {
    background: linear-gradient(#fab807, #f5ca55);
    color: #ffffff;
    font-size: 16px;
    padding: 15px 0;
    border-radius: 5px;
}
.label_paid_payment_active {
    background: linear-gradient(#59B66F, #96D038);
    color: #ffffff;
    font-size: 16px;
    padding: 15px 0;
    border-radius: 5px;
}
.ipay_btn {
    padding: 8px 12px;
}
.tariff_1 {
    background: #FFECB3;
    border-radius: 20px 20px 0 0;
    min-height: 230px;
}
.tariff_2 {
    background: #F8BBD0;
    border-radius: 20px 20px 0 0;
    min-height: 230px;
}
.tariff_3 {
    background: #ECEFF1;
    border-radius: 20px 20px 0 0;
    min-height: 230px;
}
.btn-container {
    padding: 10px;
    position: absolute;
    bottom: 10px;
    width: 100%;
}
.tariff_total_sum {
    font-size: 24px;
    padding-top: 25px;
}
.tariff_footer {
    display: flex;
    justify-content: center;
}
.hr_line {
    margin: 50px 0 30px
}
.training_format {
    display: flex;
    align-items: stretch;
}
.training_format_item {
    flex: 1;
}
.child-schedule {
    display: flex;
    align-items: stretch;
}
.child-schedule-column {
    flex: 1;
}

.custom-checkbox {
    border-radius: 4px!important;
    width: 20px!important;
    height: 20px!important;
}
.custom-checkbox[type=checkbox], .custom-checkbox[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    display: inline-block;
    vertical-align: middle;
    background-origin: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    flex-shrink: 0;
    height: 1rem;
    width: 1rem;
    color: #96D038;
    background-color: #fff;
    border-color: #6b7280;
    border-width: 1px;
    --tw-shadow: 0 0 #0000
}

.custom-checkbox[type=checkbox] {
    border-radius: 0
}

.custom-checkbox[type=radio] {
    border-radius: 100%
}

.custom-checkbox[type=checkbox]:focus, .custom-checkbox[type=radio]:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)
}

.custom-checkbox[type=checkbox]:checked, .custom-checkbox[type=radio]:checked {
    border-color: transparent;
    background-color: currentColor;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat
}

.custom-checkbox[type=checkbox]:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")
}

.custom-checkbox[type=radio]:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")
}

.custom-checkbox[type=checkbox]:checked:hover,
.custom-checkbox[type=checkbox]:checked:focus,
.custom-checkbox[type=radio]:checked:hover,
.custom-checkbox[type=radio]:checked:focus {
    border-color: transparent;
    background-color: currentColor
}

.test_skill_result {
    font-size: 1.5rem;
    line-height: 2rem;
    display: none;
}

.section-h1 {
    font-size: 24px;
}
.sms_balance {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    font-size: 18px;
    margin-bottom: 10px;
}
.label.label-success {
    padding: 2px 15px 4px;
    background: #1ab61a;
    color: white;
    border-radius: 12px;
}
.label.label-danger {
    padding: 2px 15px 4px;
    background: #f65151;
    color: white;
    border-radius: 12px;
}
.label.label-pending {
    padding: 2px 15px 4px;
    background: #f97316;
    color: white;
    border-radius: 12px;
}
.tg_bot_link {
    color: #479b47;
    font-weight: 700;
}
.tg_bot_link:hover {
    color: #2d632d;
    text-decoration: underline;
}
.user-enable, .user-disable {
    cursor: pointer;
}
iframe[name=helpcrunch-iframe] {
    right: 30px!important;
}
.tariff_card_title {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.75rem;
    text-align: center;
}

.iti {
    display: block!important;
}
.phone-error {
    border-color: red;
}
.error-msg {
    color: red;
}
.alert-jamm-warning {
    background: #F9EB8F;
}
.btn_gradient_green {
    background: linear-gradient(#59B66F, #96D038);
    color: #ffffff;
    font-size: 16px;
}
.table-border-radius {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}
.deleteAttach {
    cursor: pointer;
}

/***  Manual payment ***/
.service_items {
    align-items: center;
}
.service_items > .item_name {
    width: 20%;
}
.service_items > .item_bx {
    width: 100px;
}
.service_items > .item_bx > input {
    padding: 4px 5px;
}
.service_items > .item_price {
    width: 100px;
}
.service_items > .item_price > input {
    padding: 4px 5px;
}
.service_items > .item_users {
    min-width: 300px;
    max-width: 500px;
}
.select2-container--default .select2-selection--multiple{
    border: solid #dedede 1px !important;
    outline: 0;
    --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/***  Manual payment ***/
.manual-pay {
    width: 30%;
    margin: 0 5px;
    padding: 1px;
}
.manual-pay-month {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 7px;
}

/****** Custom checkbox  *******/

.filter-group-container {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px 5px 5px;
    margin-right: 10px;
}
.filter-group-checkbox {
    position: relative;
    cursor: pointer;
    padding-left: 20px;
    user-select: none;
}

.filter-group-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-group-checkbox:hover .checkmark {
    border-color: #2563eb;
}

.filter-group-checkbox input:checked ~ .checkmark {
    background-color: #2563eb;
    border-color: #2563eb;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-group-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.label {
    font-size: 14px;
    color: #4b5563;
    margin-left: 8px;
    transition: color 0.2s ease;
}

.filter-group-checkbox:hover .label {
    color: #2563eb;
}

.filter-group-checkbox input:checked ~ .label {
    color: #2563eb;
}
.filter-all-users {
    background: #19b61b;
    border-color: #19b61b;
    color: #fff;
}
.filter-checked-users {
    background: #2463eb;
    border-color: #2463eb;
    color: #fff;
}

/****** END Custom checkbox  *******/


/*** TABLE ***/
.resp-tab {
    border-radius: 5px;
    font-weight: normal;
    border: none;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
}
.resp-tab th, .resp-tab td {
    padding: 10px 20px;
    font-size: 13px;
    border: none;
    font-family: Verdana, sans-serif;
    border: 1px solid #FBCA36;
    vertical-align: top;
}
.resp-tab th {
    color: white;
    background: #FBCA36;
    font-weight: bold;
    border: 1px solid #FBCA36;

    text-transform: uppercase;
    text-align: center;
}
.resp-tab tr:nth-child(even) {
    background: #FEF9E7;
}
.resp-tab td span {
    background: #FBCA36;
    color: white;
    display: none;
    font-size: 11px;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    text-transform: uppercase;
    padding: 5px 10px;
    position: absolute;
    top: 0;
    left: 0;
}
/**** Payment Dashboard  ****/
.contentBlock {
    position: relative;
}
.loadingOverlay {
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    /*-webkit-filter: blur(5px);*/
    /*filter: blur(5px);*/
}
.preloader {
    margin-top: 100px;
    width: 250px;
}
.box-p {
    box-shadow: 0px 3px 20px #0000000b;
    border-radius: 0.375rem;
    border-color: transparent;
    border-width: 3px;
    background: #cccccc;
    padding: 2px 0;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
    width: 80px;
}
.box-yellow {
    background: #ffed4d;
}
.box-orange {
    background: #ffb803;
}
.box-pink {
    background: #ef7171;
}
.box-purple {
    background: #d85fec;
}
.box-green {
    background: #16dd38;
}
.box-border-listener {
    border-color: #e20000;
}
.box-border-child {
    border-color: #068e1e;
}
.box-border-supervising {
    border-color: #0414a1;
}

/**** Modern tables ****/
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 2px 5px 15px 8px rgb(0 0 0 / 10%);
}

.table-modern thead {
    background: #f3f4f6;
}

.table-modern tr > th:first-of-type {
    padding-left: 1rem;
}
.table-modern tr > th:last-of-type {
    padding-left: 1rem;
    padding-right: 1rem;
}

.table-modern thead th {
    padding: .75rem 0.1rem;
    font-weight: 600;
    color: #374151;
    background: #FFF8E1;
    border-bottom: 2px solid #FFE082;
}

.table-modern thead th.table-title {
    background: #fac01f;
    color: #fff;
    letter-spacing: 0.5px;
}

.table-modern tbody tr {
    transition: background 0.2s;
}

.table-modern tr:nth-child(even) {
    background: #FAFAFA;
}

.table-modern tr:hover {
    background: #FFFDE7;
}

.table-modern tbody td {
    padding: .5rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    font-size: 14px;
}

.table-modern tr:nth-child(even) {
    background: #FAFAFA;
}

.table-modern tr:hover {
    background: #FFFDE7;
}

.table-modern .status-active {
    display: inline-block;
    padding: 6px 12px;
    background: #16a34a;
    color: #fff;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 500;
}

.table-modern .btn-menu {
    display: inline-block;
    padding: 6px 14px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.2s;
}

.table-modern .btn-menu:hover {
    background: #1d4ed8;
}

.table-modern input[type="checkbox"] { /* кастомный жёлтый чекбокс */
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FFC107;
}
/**** Modern tables ****/


@media(max-width: 768px) {
    .resp-tab thead {
        display: none;
    }

    table td .input{
        width: 50%;
        height: 30px;
    }

    table td::before {
        content: attr(data-label);
        font-weight: bold;
        margin-right: 20px;

    }
    .resp-tab tr {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    .resp-tab td {
        margin: 0 -1px -1px 0;
        padding-top: 35px;
        position: relative;
        width: 50%;
    }
    .resp-tab td span {
        display: block;
    }
}
@media(max-width: 480px) {
    .resp-tab td {
        width: 100%;
    }
}

/*** END TABLE ***/

@media (max-width: 1284px) {
    .tariff_card_title {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.75rem;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .tariff_title {
        font-size: 21px;
        line-height: 28px;
    }
    .tariff_1, .tariff_2, .tariff_3 {
        min-height: 210px;
    }
    .tariff_total_sum {
        font-size: 21px;
        padding-top: 25px;
    }
    .tariff_footer {
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding: 0 15px;
    }
    .next_payment {
        width: 100%;
    }
    .hr_line {
        margin: 30px 0 15px
    }
    .tariff_total_sum {
        display: flex;
        justify-content: space-between;
    }
}
