/* jQuery UI Vertical Tabs - Sidebar Refinement */

.tabs-bar {
    margin-top: -40px;
    margin-bottom: -40px;
}

#tabs {
    display: flex;
    align-items: stretch;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent;
    font-weight: normal;
    min-height: 605px;
    padding: 0 !important;
    margin: 0 !important;
}

.ui-tabs-vertical .ui-tabs-nav {
    flex: 0 0 240px;
    background-color: #8cd5e3;
    padding: 40px 0 0 15px;
    margin: 0;
    border-top: 2px solid #8cd5e3 !important; /* Sealing border top */
    border-bottom: 2px solid #8cd5e3 !important; /* Sealing border bottom */
    border-left: none !important;
    border-right: none !important;
    float: none; /* Override jQuery standard */
    border-radius: 0;
    z-index: 10;
}

.ui-tabs-vertical .ui-tabs-nav li {
    clear: both;
    width: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    transition: background 0.2s;
}

.ui-tabs-vertical .ui-tabs-nav li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 9.5pt;
    font-weight: 500;
}

.ui-tabs-vertical .ui-tabs-nav li:hover:not(.ui-tabs-active) {
    background-color: rgba(255, 255, 255, 0.2);
}

.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active {
    background: url("../../../img/Navisheed.png") repeat-x scroll 100% 50% #FFF;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active a {
    color: #000;
    font-weight: bold;
    padding-right: 50px; /* Space for the trademark logo */
}

.ui-tabs-vertical .ui-tabs-panel {
    flex-grow: 1;
    /*padding: 60px 40px; /* Increased vertical padding to restore the look */
    background: #FFF;
    border: none;
    float: none; /* Override jQuery standard */
    width: auto;
}

/* Cleanup standard jQuery UI styles */
.ui-widget-header {
    border: none;
    background: none;
}

.ui-widget-content {
    border: none;
    background: none;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br, .ui-corner-left {
    border-radius: 0;
}