/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
*{
    overflow-x: hidden;
}
.side-table-drawer {
    position: fixed;
    top: 50%;
    right: 0;
    width: 550px;
    height: 85vh;
    z-index: 9999;
    display: flex;
    transform: translate(100%, -50%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.side-table-drawer.is-open {
    transform: translate(0, -50%);
}

.drawer-toggle {
    position: absolute;
    right: 100%;
    top: 120px;
    background: #c5a059;
    color: #050a18;
    writing-mode: vertical-rl;
    padding: 25px 12px;
    font-weight: 900;
    font-family: 'Barlow', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.3);
    white-space: nowrap;
    user-select: none;
}

.drawer-content {
    background: #0a1128;
    width: 100%;
    height: 100%;
    border-left: 4px solid #c5a059;
    padding: 25px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -15px 0 40px rgba(0,0,0,0.6);
    box-sizing: border-box;
}

.drawer-content .serie-a-table {
    min-width: 100% !important;
    width: 100% !important;
    font-size: 14px;
}

.drawer-content .api-credit {
    display: none;
}

@media (max-width: 768px) {
    .side-table-drawer {
        width: 85vw;
        height: 80vh;
    }

    .drawer-toggle {
        top: 100px;
        padding: 20px 10px;
        font-size: 12px;
    }

    .drawer-content {
        padding: 15px;
    }

    .drawer-content .serie-a-table {
        font-size: 12px;
    }
}