﻿* {
    line-height: 22px;
    box-sizing: border-box;
    text-align: justify !important;
}

.bl {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-left: 10px;
    border-left: 0.5px solid #0000000d;
}

button {
    text-align: center !important;
}

#main {
    color: #446183;
}

.container-wrapper {
    display: flex;
    justify-content: center;
}

.BusinessRegisterContainer {
    width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#resault {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#tax-footer {
    margin-top: 15px;
    align-self: flex-end;
}

.decision-children > h3 {
    font-size: 1.077em !important;
}

.question_cotainer_wrapper {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    border: 1px solid #FFFFFF;
    border-radius: 48px;
    box-shadow: 0 0 15px 5px #F5F4F4;
    padding: 45px 70px;
}

.btn_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

button {
    /*margin-top: 20px;*/
    background: #31619D;
    border-radius: 7px;
    border: none;
    padding: 10px 15px;
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
    width: 220px;
}

.tax-card {
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.table_header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    background-color: #f3f6fb;
    font-size: 18px;
    font-weight: bold;
    color: #31619D;
    cursor: pointer;
    height: 75px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 1;
}

    .table_header .chev {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        width: 18px;
        height: 18px;
    }

.tax-card[aria-expanded="true"] .table_header .chev {
    transform: translateY(-50%) rotate(180deg);
}

.table_header .chev svg {
    display: block;
    width: 100%;
    height: 100%;
}

.tax-body {
    display: none;
}

.tax-card[aria-expanded="true"] .tax-body {
    display: block;
}

.table_subsection {
    padding: 20px;
    border: 1px solid #DDE9F5;
    background: #f3f6fb;
    color: #31619D;
    font-weight: 600;
}

.tax-table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #f3f6fb;
    color: #31619D;
    margin-top: -1px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

    .tax-table th, .tax-table td {
        border: 1px solid #DDE9F5;
        padding: 10px;
        vertical-align: top;
        word-break: break-word;
    }

    .tax-table .sub-header {
        font-weight: 600;
        background: #f3f6fb;
        color: #31619D;
    }

    .tax-table col.col-main {
        width: 56px;
    }

    .tax-table col.col-sub {
        width: 30%;
    }

    .tax-table col.col-val {
        width: auto;
    }

    .tax-table .main-vertical {
        background: #f3f6fb;
        color: #31619D;
        font-weight: 700;
        text-align: center;
        padding: 0;
        height: 220px;
    }

        .tax-table .main-vertical .vtext {
            display: block;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            transform: rotate(180deg);
            white-space: normal;
            word-break: normal;
            overflow-wrap: anywhere;
            line-height: 1.1;
        }

td {
    background-color: #f3f6fb;
    color: #446183;
}

b {
    font-weight: bold;
}

a, .link-s {
    cursor: pointer;
}

ul {
    margin-top: 10px !important;
}

.rs-select {
    position: relative;
    width: 315px;
    max-width: 315px;
    margin: 8px 0;
}

    .rs-select input.rs-hidden {
        display: none;
    }

.rs-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 100%;
    padding: 0 15px;
    color: #446183;
    font-size: 14px;
    border-radius: 15px;
    border: none;
    background-color: #F3F6FB;
    font-family: FiraGORegular, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-right: 15px solid #F3F6FB;
}

    .rs-control > a {
        cursor: pointer;
        pointer-events: none;
    }

    .rs-control > svg {
        width: 15px;
        height: 15px;
    }

    .rs-control:focus {
        outline: 2px solid #31619D55;
    }

.rs-select.is-invalid .rs-control {
    outline: 1px solid red;
}

.rs-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #DDE9F5;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    max-height: 320px;
    overflow: auto;
    z-index: 10;
}

.rs-option {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    background: #fff;
}

    .rs-option:hover {
        background: #F3F6FB;
    }

    .rs-option .rs-option-label {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-align: start !important;
        /*text-overflow: ellipsis;
    white-space: nowrap;*/
        color: #446183;
    }

select {
    height: 60px;
    width: 315px;
    max-width: 315px;
    padding: 0 15px;
    color: #446183;
    font-size: 14px;
    border-radius: 15px;
    border: none;
    background-color: #F3F6FB;
    border-right: 15px solid #F3F6FB;
    font-family: FiraGORegular, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rs-float {
    position: fixed;
    z-index: 1000;
    min-width: 260px;
    max-width: 460px;
    background: #31619D;
    color: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

    .rs-float a {
        color: #fff;
        text-decoration: underline;
    }

    .rs-float.hidden {
        display: none;
    }

/* Utility */
.split_2 {
    border: 1px solid #0000000d;
    display: grid;
    grid-template: auto / 3fr 1fr;
    align-items: center;
    margin-bottom: 5px;
    border-radius: 10px;
    padding: 5px;
    gap: 10px;
}

.loading-inline {
    font-size: 13px;
    color: #7b8ca2;
    margin-top: 8px;
}

#btn-show-result {
    margin-top: 20px;
}

#tax-table {
    width: 800px;
}

.vtext {
    display: inline;
}

.section-gap {
    line-height: normal;
}

.span_wrapper,
.th_wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.th_wrapper {
    /*height: 150px;*/
    text-align: center;
}


a, .link-s {
    color: #5f97af;
    text-decoration: none;
    cursor: pointer;
}

.custom_s_w {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .custom_s_w > svg {
        width: 20px;
        height: 20px;
        position: absolute;
        margin-right: -270px;
    }

.table_header {
    text-align: center;
}

.header_txt {
    font-weight: bold;
    color: #31619D;
    text-align: center !important;
    font-size: 18px !important;
}

.bu {
    text-decoration: underline !important;
    font-weight: bold;
}

.th_wrapper,
.vtext,
.sub-header {
    text-align: center !important;
}

.rs-label {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 255px !important;
}

@media(max-width: 820px) {
    .container-wrapper {
        align-items: center;
        width: 100%;
    }

    #main {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #go-to-quiz {
        justify-self: center;
        align-self: center;
    }

    #resault,
    #tax-table,
    .tax-card,
    .BusinessRegisterContainer,
    #main {
        width: 430px;
    }

    #rs-floating-tooltip {
        display: none;
    }
}
