﻿

.generated-table {
    font-family: 'Roboto';
    margin-left: auto;
    margin-right: auto;
    table-layout: fixed;
    
}

.column-list-item {
    cursor: pointer;
    transition:0.2s;
    padding: 5px;
}

.column-picker-container {
    position: absolute;
    background: white;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.2);
    margin-top:15px;
    z-index:9999;
}

.column-picker-header{
    background: var(--header-colour);
    padding: 10px 20px;
    font-size:1.2rem;
    color:white !important;
    display:flex;
    align-items:center;
}

.column-list {
    padding:20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.column-list-item:hover {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
}

.column-selected {
    background: rgba(0, 0, 0, 0.1);
}

.table-container {
    background: white;
}

.tables-container {
    display: flex;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    width: fit-content;
    max-width: 100%;
}

.table-body-container {
    overflow-y: auto;
    width: fit-content;
}

.generated-table tbody {
    overflow-y: auto;
    overflow-x: auto;
    vertical-align: inherit;
}

    .generated-table thead {
        color: white;
        background: var(--header-colour);
    }


    .generated-table tr {
        transition: 0.4s;
        width: 100%;
    }

    .generated-table tbody tr:hover {
        background: #c2c2c2 !important;
    }

.generated-table tbody tr:nth-child(odd) {
    background: #f5f5f5;
}

.generated-table thead th {
    font-weight: 100;
}

.hover {
    cursor: pointer;
}

.generated-table th, td {
    text-align: left;
}

.generated-table th, td {
    padding: 15px 20px;
}

.arrow {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin-bottom: 1%;
    margin-left: 2%;
    opacity: 0.2;
    transition: 0.2s;
}

.paging-arrow{
    width:15px;
    margin-left:10px;
    margin-right:10px;
    cursor: pointer;
}

.paging-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    font-size: 15px;
    position: relative;
    user-select: none;
}

.paging-input{
    width:50px;
    text-align:center;
    border: 1px solid var(--header-colour);
    border-radius: 15px;
}

.paging-out-of{
    margin-bottom: 0px;
    margin-left:10px;
    padding:1px 0px;
    margin-top:-20px;
    position: absolute;
    right: 0;
    font-size: 13px;
    font-style: italic;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.active{
    opacity: 1 !important;
}

.super-filter {
    width: 80%;
    border-radius: 15px;
    padding: 7px;
    height: 40px;
    display: flex;
    gap: 20px;
    background: white;
    cursor: text;
    border: 1px solid black !important;
}

.super-filter-container {
    width: 100%;
    display: flex;
    font-family: 'Roboto';
    margin-bottom: 25px;
}

.fa-search{
    cursor: pointer;
    margin-left: 15px;
    font-size: 25px;
    color: dodgerblue;
    margin-top: 6px;
}

.super-filter-item-container {
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    border-radius: 2px;
    margin-bottom: 50px;
    padding: 30px;
    transition: 0.5s;
    min-height: 300px;
    position: absolute;
    background: white;
    z-index: 6;
}



.col-picker {
    background: var(--header-colour);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    width: 140px;
    margin-left: 20px;
}

.table-maker-header {
    width: 100px;
    padding: 0px 0px !important;
}

.table-maker-link:hover > .table-maker-title {
    text-decoration: underline;
}

.table-maker-link{
    text-decoration: none !important;
    color:inherit !important;
    cursor: pointer;
}

.table-maker-tag{
    font-size: 0.8em;
    margin-bottom: 0px !important
}

.table-maker-title{
    font-size: 1em;
    margin-bottom: 0px;
}

.search-container {
    width: 30px;
    height: 30px;
    margin-left: 20px;
    margin-top: 8px;
}

.search-container:hover {
    cursor: pointer;
}

.table-maker-header{

}

.super-filter-category-container{
    display:flex;
    flex-wrap:wrap;
    width:100%;
}

.filter-category-button {
    background: none;
    border: none;
    font-size: 1rem;
    min-width: 150px;
    width:20%;
    transition: 0.2s;
    padding: 10px 0px;
    text-align:left;
    padding-left: 10px;
}

.filter-category-button:hover{
    background-color: lightgray;
}

.category-title{
    font-size:1.5rem;
    margin-bottom: 30px;
    text-align:left;
}

.hide-filter-items {
    height: 0px !important;

    min-height:0px !important;    
    overflow: hidden;
    padding: 0px;
}

.blinking-cursor {
    width: 2px; /* Thickness of the cursor */
    height: 100%; /* Full height of the container */
    background-color: black; /* Color of the cursor */
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.filtering-container {
    width: fit-content;
    height: 100%;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
}

.filtering-container div{
    padding: 0px 5px;
}

.filtering-category {
    background: #D8E9F0;
    font-weight: 1000;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.filtering-operator {
    background: #DFF0D8;
    font-weight: 1000;
}

.filtering-value {
    background: #FFF8DC;
    border:none;
    width: fit-content !important;
}

.option-chosen {
    background: var(--header-colour) !important;
    color: var(--header-font) !important;
}

.close-button {
    border: none;
    text-align: center;
    color: dimgray;
    background-color: white;
    line-height: 3px;
}

.close-button:hover {
    color: black;
    background-color: #c2c2c2;
}

.add-another-filter {
    margin-top: 50px;
    margin-left: auto;
    display: block;
    background: none;
    font-family: 'Roboto';
    border-radius: 20px;
    padding: 5px 10px;
    border: none;
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: black;
    outline: none !important;
    background: #e0dede;
    transition: 0.2s;
}

.add-another-filter:hover{
    transform: scale(1.05);
}

.column-selector{
    width:50px;
    padding:10px;
    filter: invert();
    opacity: 0.9;
    cursor: pointer;
    transition: 0.1s;
}

.column-selector:hover {
    opacity: 1;
    transform: scale(1.05);
}