.tabs-container {
    /* Tabs container that include the tabs header and the tabs contents */
}

/* ALL TABS HEADERS */
.tabs-container .tabs-top-header { /* Contains all the tabs' headers */
    list-style: none;
    border: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

/* Tab header */
.tabs-container .tabs-top-header > li:not(.tabs-info-div),
.tabs-container .tabs-top-header > li:not(.tabs-info-div).open {
    background-color: var(--color-main-background);
    border-style: solid;
    border-color: var(--color-main-border);
    border-top-width: 2px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 0;
    box-shadow: inset 0 -25px 50px rgba(0, 0, 0, 0.05);
}

.tabs-container .tabs-top-header > li:first-child:not(.tabs-info-div) {
    border-left-width: 1px;
}

.tabs-container .tabs-top-header > li:not(.tabs-info-div) a {
    display: flex;
    align-items: center;
    color: var(--color-main-background-contrast);
    height: 50px;
    padding: 0 32px;
    /* Overriding bootstrap's style */
    text-decoration: none;
    background-color: transparent;
    background-image: none;
}

/* ACTIVE TAB HEADER */
.tabs-container .tabs-top-header > li:not(.tabs-info-div).active,
.tabs-container .tabs-top-header > li:not(.tabs-info-div).multiple-active {
    background: var(--color-main-background);
    border-top: 2px solid var(--color-primary);
    box-shadow: none;
}

.tabs-container .tabs-top-header > li:not(.tabs-info-div):not(.dropdown).active a {
    cursor: default;
}

/* HOVER TAB HEADER */
.tabs-container .tabs-top-header li:not(.tabs-info-div):not(.active):hover,
.tabs-container .tabs-top-header li .dropdown-menu li.active,
.tabs-container .tabs-top-header li .dropdown-menu li.multiple-active,
.tabs-container .tabs-top-header .sub-dropdown.active {
    background: var(--color-main-background-hover);
}

.tabs-container .tabs-top-header li .dropdown-menu li .disabled {
    display: none;
}

/* PRESSED TAB HEADER */
.tabs-container .tabs-top-header li:not(.tabs-info-div):not(.dropdown):not(.active):active {
    background-color: var(--color-main-background-active);
}

/* DROPDOWN MENU */
.tabs-container .dropdown-menu {
    border: 1px solid var(--color-main-border);
    background: var(--color-main-background);
    margin-top: 0;
    margin-left: -1px;
    border-radius: 0;
    z-index: 2;
}

.tabs-container li.se-tab-bar-divider {
    height: 1px;
    background: var(--color-main-border);
}

/* TABS HEADER RIGHT GAP */
/* This style handles both the bottom-border of the gap right of the tab headers,  */
/* and the tabs info div when there is one. */
.tabs-container .tabs-top-header:not(.with-tabs-info-div)::after,
.tabs-container li.tabs-info-div {
    flex-grow: 1;
    border-bottom: 1px solid var(--color-main-border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    content: '';
}

.tabs-container li.tabs-info-div > * {
    height: 50px;
    overflow: hidden;
}

/* TABS CONTENT */
.tabs-container .tab-content {
    position: relative;
    border-color: var(--color-main-background);
    border-style: solid;
    overflow: hidden;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    border-width: 0 1px 1px;
}


.tabs-container .se-tab-bar-content {
    background: var(--color-main-background);
    border-color: var(--color-main-border);
    border-style: solid;
    border-width: 0 1px 1px 1px;
}

#tab_overview, #tab_opened-projects, #tab_closed-projects,
#tab_shared-projects, #tab_active_programs, #tab_archived_programs, #tab_settings,
#tab_summary, #tab_profile, #tab_password,
#tab_user_setting, #tab_user_setting, #tab_view_setting,
#tab_view_setting, #tab_accessibility, #nav-content-network, #tab_orders,
#tab_user_privacy, #tab_configuration_hardware, #tab_content,
#tab_licenses, #tab_configuration {
    padding-top: 15px;
}

.tab-content-view {
    padding: 5px 20px 10px;
    border-left: 1px solid var(--color-main-border) !important;
    min-height: 500px;
}

.tab-content-view.expanded, .tab-content-view.active {
    border-left: 0 !important;
}
