body {
    height: 100vh;
}

.container {
    width: 95% !important;
}

main {
    padding-top: 10px;
}

a.brand-logo {
    font-family:'Dimbo Regular';
    font-weight:normal;
}

.__tts_tabs_levels {
    margin: 0px !important;
    padding: 0px !important;
    border-radius: 8px;
    border: 3px solid var(--color-primaryDark);
    height: 500px;
    background-color: var(--color-primary);
}

.__tts_tabs_levels > .col {
    padding: 0px !important;

}

.__tts_levels {
    display: inline-flex;
    overflow-x: auto;
    width: 100%;
    height: calc(100% - 45px);
}

.__tts_levels::-webkit-scrollbar {
    height: 7px;
    background: transparent;
    position: absolute;
    left: 0;
}

.__tts_levels::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0);
    border-radius: 5px;
}

.__tts_levels::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .3);
    border-radius: 5px;
}

.__tts_levels > .grid {
    display: grid;
    width: 550px;
    height: 100%;
    grid-template-columns: 100px 100px 100px 100px 100px;
    grid-template-rows: 75px;
    justify-content: space-evenly;
    justify-items: center;
    padding: 2rem 3.6rem 2rem 3.6rem;
}

.__tts_levels .button {
    display: block;
    align-self: center;
    font-family: 'Dimbo Regular';
    font-weight: normal;
}

.__tts_levels .item-empty {
    width: 60px;
    height: 60px;
}

.button.active {
    -webkit-transform: scaleX(1.2) scaleY(1.2);
    transform: scaleX(1.2) scaleY(1.2);
}
.button.active:not(.accent) {
    color: white;
    background-color: var(--color-primary);
    border-color: var(--color-primaryDark);
}

.button>span {
    font-size: 24px;
    position: relative;
    margin-top: 10px;
}


/*----------------------------------------
    Table grid
------------------------------------------*/

.__tts-grid {
    border-top: 1px solid rgb(66, 66, 66);
    border-right: 1px solid rgb(66, 66, 66);
    min-width: 200px;
    min-height: 200px;
    display: block;
    empty-cells: show;
    border-spacing: 0;
    border: 2px solid var(--color-primaryDark);
    border-radius: 5px;
    font-family: 'Dimbo Regular';
    font-weight: normal;
    font-size: 15px;
}

.__tts-grid>thead {
    background-color: var(--color-primary);
    position: relative;
    display: block;
    width: 100%;
    border-bottom: 2px solid var(--color-primaryDark);
    color: white;
}

.__tts-grid>thead th {
    border-right: 2px solid var(--color-primaryDark);
}

.__tts-grid>thead th:last-child {
    border-right: unset;
}

.__tts-grid>tbody {
    display: block;
    position: relative;
    width: 100%;
    border-top: 1px solid var(--color-primaryDark);
    background-color: black;
}

.__tts-grid tr {
    width: 100%;
    display: flex;
}

.__tts-grid td,
.__tts-grid th {
    flex-basis: 100%;
    flex-grow: 2;
    display: block;
    padding: 0.6rem;
    text-align: center;
}

.__tts-grid td:first-child,
.__tts-grid th:first-child {
    flex-basis: 100%;
    flex-grow: 1;
    border-radius: 0px;
}

.__tts-grid>tbody>tr>td {
    padding: 5px 5px;
    border-radius: 0px;
    text-transform: uppercase;
    background-color: black;
    margin: 0.1rem;
    min-width: 35px;
    min-height: 35px;
}

.__tts-grid>tbody>tr>td.box-num {
    color: white;
    background-color: var(--color-primary);
    border-bottom: 2px solid var(--color-primaryDark);
    border-right: 2px solid var(--color-primaryDark);
    margin: 0px;
}

.__tts-grid>tbody>tr>td.item-box,
.__tts-grid>tbody>tr>td.item-state,
.__tts-grid>tbody>tr>td.item-select-hover,
.__tts-grid>tbody>tr>td.item-select {
    border-radius: 4px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.__tts-grid>tbody>tr>td.item-box {
    color: rgb(37, 37, 37);
    background-color: white;
    border-bottom: 3px solid #dddddd;
}

.__tts-grid>tbody>tr>td.item-state {
    color: rgb(37, 37, 37);
    background-color: white;
}

.__tts-grid>tbody>tr>td.item-select-hover,
.__tts-grid>tbody>tr>td.item-select {
    color: white;
    transition: all 0.3s ease;
    background-color: var(--color-accent);
    border-bottom: 3px solid var(--color-accentDark);
}

@media only screen and (max-width: 600px) {
    .__tts-grid {
        font-size: 12px;
    }
}

/*----------------------------------------
    Table list
------------------------------------------*/
.__table {
    display: block;
    empty-cells: show;
    border-spacing: 0;
    border: 2px solid var(--color-primaryDark);
    font-size: 13px;
    border-radius: 5px;
}

.__table>thead {
    background-color: var(--color-primary);
    position: relative;
    display: block;
    width: 100%;
    border-bottom: 2px solid var(--color-primaryDark);
    color: white;
}

.__table>tbody {
    display: block;
    position: relative;
    width: 100%;
    border-top: 1px solid var(--color-primaryDark);
    border-left: 6px solid var(--color-primary);
}

.__table.scroll>tbody {
    height: 500px;
    overflow-y: auto;
}

.__table tr {
    width: 100%;
    display: flex;
}

.__table td,
.__table th {
    flex-basis: 100%;
    flex-grow: 2;
    display: block;
    padding: 1rem;
    text-align: left;
}

.__table.number td:first-child,
.__table.number th:first-child {
    flex-basis: 20%;
    flex-grow: 1;
}

.__table td:nth-last-child(2),
.__table th:nth-last-child(2) {
    flex-basis: 70%;
    flex-grow: 1;
}

.__table td:last-child,
.__table th:last-child {
    flex-basis: 80%;
    flex-grow: 1;
}

.__table td:last-child {
    padding: 3px
}

.__table tbody tr:nth-child(2n) {
    background-color: rgba(130, 130, 170, 0.1);
}

.__table>tbody>tr>td {
    padding: 13px 10px;
}

.__table>tbody>tr>td>.item-button {
    display: inline-block;
    margin: 4px;
    font-size: 15px;
}

.__table>tbody::-webkit-scrollbar {
    width: 7px;
    background-color: var(--color-primary);
    position: absolute;
    left: 0;
}

.__table>tbody::-webkit-scrollbar-thumb {
    background-color: #2b2b2b5c;
    border-radius: 5px;
}

.__table>tbody>.question-item:hover {
    background-color: #8d8d8d5c;
    ;
}

.__table>tbody>.question-item {
    cursor: pointer;
    width: 100%;
}

.__table.docs td:nth-last-child(2), .__table.docs th:nth-last-child(2) {
    flex-basis: 80%;
}

.__table.docs td:last-child, .__table.docs th:last-child {
    flex-basis: 100%;
    flex-grow: 1;
}

/*----------------------------------------
    Tabs
------------------------------------------*/

.tabs {
    border-bottom: 3px solid var(--color-primaryDark);
    background-color: var(--color-primary);
    color: #fff;
}

.tabs::-webkit-scrollbar {
    height: 6px;
    background: transparent;
    position: absolute;
    left: 0;
}

.tabs::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0);
    border-radius: 6px;
}

.tabs::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .3);
    border-radius: 6px;
}

.tabs-content {
    height: auto !important;
    min-height: 100%;
}

.tabs .tab a {
    color: #fff;
}

.tabs .tab a.active {
    color: #fff;
}

.tabs .tab a:hover {
    color: #fff;
}

.tabs .tab a:focus {
    background-color: var(--color-primaryDark);
}

.tabs .tab a:focus.active {
    background-color: var(--color-primaryDark);
}

.tabs .tab a.active {
    background-color: var(--color-primaryDark);
}

.tabs .indicator {
    background-color: var(--color-accentDark)
}

input { 
    height: 2rem !important;
    margin: 0 0 15px 0 !important;
}

.dropdown-content li {
    min-height: 20px !important;
    line-height: 1rem !important;
}