:root {
    --bs-primary: #009EE3;
    --bs-light-primary: #004899;
    --bs-secondary: #E62129;
    --bs-danger: #E62129;

    --bs-primary-rgb: 0, 158, 227;
    --bs-light-primary-rgb: 0, 72, 153;
    --bs-secondary-rgb: 230, 33, 41;

    --bs-blue: #009EE3;
    --bs-light-blue: #004899;
    --bs-red: #E62129;

    --bs-blue-rgb: 0, 158, 227;
    --bs-light-blue-rgb: 0, 72, 153;
    --bs-red-rgb: 230, 33, 41;
    --bs-form-invalid-color: #E62129;
    --bs-form-invalid-border-color: #E62129;

    --bs-list-group-active-bg: #009EE3;
    --bs-list-group-active-color: #009EE3;

    --bs-list-group-active-bg: #009EE3;
    --bs-list-group-active-color: #009EE3;

    --bs-list-group-active-bg: #009EE3;
    --bs-list-group-active-color: #009EE3;
    
    --bs-link-color: #009EE3;
    
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.navbar .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 120px;
}

.list-group.sidebar-menu a,
.menu-item span{
    color: #009EE3;
}

.list-group.sidebar-menu a.active{
    color: white;
}


.banner-header {
    width: 100%;
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
    height: 246px;
    background-image: linear-gradient(90deg, #009EE3 0%, #004899 100%);
}

.banner-overlay {
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-content {
    width: 100%;
    height: 100%;
}

.banner-content .row {
    height: 100%;
    align-items: center;
}

.banner-content .col-6 {
    display: flex;
    align-items: center;
    height: 100%;
}

.banner-title {
    margin: 0;
    width: 100%;
}

.page-header {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.table-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.year-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.year-filter a,
.year-filter-link {
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s;
}

.year-filter a:hover,
.year-filter-link:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.year-filter a.active,
.year-filter-link.active {
    background-color: #009EE3;
    color: #fff;
    border-color: #009EE3;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sidebar Menu Accordion */
.sidebar-menu {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.375rem;
    overflow: hidden;
    font-size: 1.15rem;
}

.sidebar-menu .menu-item {
    margin-bottom: 0;
}

.sidebar-menu .menu-toggle {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    cursor: pointer;
    color: #212529 !important;
    background-color: transparent !important;
}

.sidebar-menu .menu-item:last-child .menu-toggle,
.sidebar-menu .list-group-item:last-child {
    border-bottom: none;
}

.sidebar-menu .submenu .submenu-item:last-child {
    border-bottom: none;
}

.sidebar-menu .menu-toggle:hover {
    background-color: transparent !important;
    color: #212529 !important;
}

.sidebar-menu .menu-toggle:hover span {
    color: #212529 !important;
}

.sidebar-menu .menu-toggle:focus {
    color: #212529 !important;
    background-color: transparent !important;
    box-shadow: none;
}

.sidebar-menu .menu-toggle.active {
    color: #212529 !important;
}

.sidebar-menu .menu-toggle.active span {
    color: #009EE3 !important;
    font-weight: bold;
}

.sidebar-menu .menu-toggle i {
    transition: transform 0.3s ease;
    color: #212529;
}

.sidebar-menu .menu-toggle.active i {
    transform: rotate(180deg);
}

.sidebar-menu .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f8f9fa;
    border-left: 1px solid rgba(0, 0, 0, 0.125);
    border-right: 1px solid rgba(0, 0, 0, 0.125);
}

.sidebar-menu .submenu.active {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    background-color: white;
}

.sidebar-menu .submenu-item {
    padding-left: 1.5rem !important;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    transition: background-color 0.15s ease-in-out;
}

.submenu-item.active{
    color: white !important;
}

.sidebar-menu .list-group-item-action:focus {
    color: #212529;
}

footer {
    background-color: #343a40;
    color: #fff;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Bootstrap color override: #0d6efd -> #009EE3 */
.form-check-input:checked {
    background-color: #009EE3;
    border-color: #009EE3;
}

.form-check-input[type=checkbox]:indeterminate {
    background-color: #009EE3;
    border-color: #009EE3;
}

.form-range::-webkit-slider-thumb {
    background-color: #009EE3;
}

.form-range::-moz-range-thumb {
    background-color: #009EE3;
}

.btn-primary {
    --bs-btn-bg: #009EE3;
    --bs-btn-border-color: #009EE3;
    --bs-btn-disabled-bg: #009EE3;
    --bs-btn-disabled-border-color: #009EE3;
}

.btn-outline-primary {
    --bs-btn-color: #009EE3;
    --bs-btn-border-color: #009EE3;
    --bs-btn-hover-bg: #009EE3;
    --bs-btn-hover-border-color: #009EE3;
    --bs-btn-active-bg: #009EE3;
    --bs-btn-active-border-color: #009EE3;
    --bs-btn-disabled-color: #009EE3;
    --bs-btn-disabled-border-color: #009EE3;
}

.btn-danger {
    --bs-btn-bg: #E62129;
    --bs-btn-border-color: #E62129;
    --bs-btn-disabled-bg: #E62129;
    --bs-btn-disabled-border-color: #E62129;
}

.btn-outline-danger {
    --bs-btn-color: #E62129;
    --bs-btn-border-color: #E62129;
    --bs-btn-hover-bg: #E62129;
    --bs-btn-hover-border-color: #E62129;
    --bs-btn-active-bg: #E62129;
    --bs-btn-active-border-color: #E62129;
    --bs-btn-disabled-color: #E62129;
    --bs-btn-disabled-border-color: #E62129;
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: #009EE3;
}

.dropdown-menu-dark {
    --bs-dropdown-link-active-bg: #009EE3;
}

.nav-pills {
    --bs-nav-pills-link-active-bg: #009EE3;
}

.pagination {
    --bs-pagination-active-bg: #009EE3;
    --bs-pagination-active-border-color: #009EE3;
}

.progress,
.progress-stacked {
    --bs-progress-bar-bg: #009EE3;
}

.list-group {
    --bs-list-group-active-bg: #009EE3;
    --bs-list-group-active-border-color: #009EE3;
}

.financial-table,
.shareholders-table,
.table {
    font-size: 0.8rem !important;
}

.financial-table-highlights thead tr th:first-of-type {
    text-align: left !important;
}

.table thead tr th:first-of-type {
    text-align: left !important;
}

@media (min-width: 992px) {
    .ir-home-container .news-latest-container {
        max-height: 603px;
    }
    .ir-home-container .sidebar-section {
        max-height: 550px;
    }
}

@media (min-width: 1358px) {
    .ir-home-container .news-latest-container {
        max-height: 550px;
    }
}

@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
    
    .navbar .dropdown-item {
        padding: 0.5rem 1rem;
    }
}