.tab {
    border-radius: 8px;
    max-width: 1920px;
    margin: 0 auto;
}

.tab:not(.vertical)
{
    height: 45px;
}

.tab .fa-sort-down
{
    margin-left: 4px;
    line-height: 8px;
}

.tab .submenu
{
    display: none;
    z-index: 2;
    position: absolute;
    top: 4.4rem;
    white-space: nowrap;
}

.tab .submenu.right_align
{
    right: 0px;
}

.tab .submenu button
{
    float: none;
    width: 100%;
}

.tab .tablinks:hover + .submenu, .tab .submenu:hover
{
    display: block;
}

/* Change background color of buttons on hover */
.tab button:hover {
    border-bottom: 2px solid #202020;
    border-bottom-style: inset;
}

/* Create an active/current tablink class */
.tab button.active {
    background: linear-gradient(180deg, #39A9EA 0%, #4B56F1 100%);
    box-shadow: 0px 0px 13px #39A9EA;
    color: #FFFFFF;
    border-radius: 8px;
}

.tab button.sub_active {
    background: linear-gradient(180deg, rgba(75, 127, 241, 1) 0%, rgba(57, 169, 234, 0) 100%);
    box-shadow: 0px 0px 13px #39A9EA;
    color: #FFFFFF;
    z-index: 2;
    border-radius: 8px;
}

.tab button.hidden {
    display: none;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 1.4rem 1.6rem;
    transition: 0.3s;
    position: relative;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    display: flex;
    font-size: 1.3rem;
}

.tab button.disabled
{
    color: #AAAAAA;
    background-color: #555555;
}

.tab-wrapper
{
    height: 4.5rem;
    position: sticky;
    top: -1px;
    z-index: 3;
}

.tablinks i
{
    padding-left: 8px;
}
