: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: #F2F2F2;
}

.site-navbar {
    width: 100%;
    background-color: #f3f3f3;
    border: 0;
}

.site-navbar-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 80px;
}

.site-navbar-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    text-decoration: none;
}

.site-navbar-logo {
    display: block;
    width: clamp(170px, 20vw, 220px);
    max-width: 100%;
    height: auto;
}

.site-navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.site-language-switcher {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 16px;
    opacity: 0.75;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-language-link:hover,
.site-language-link.active {
    opacity: 1;
}

.site-language-link:hover {
    transform: translateY(-1px);
}

.site-language-link img {
    display: block;
    width: 18px;
    height: 12px;
    object-fit: contain;
}

.site-navbar-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 158, 227, 0.35);
    border-radius: 6px;
    background-color: #fff;
    color: #009EE3;
    font-size: 1.5rem;
    line-height: 1;
}

.site-mobile-menu {
    padding: 0 16px 16px;
    background-color: #f3f3f3;
}

.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.1rem;
}

.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;
}

.site-footer {
    background: #fff;
    color: #101828;
    /* border-top: 4px solid #009ee3; */
    padding: 2.6rem 0 0 0;
    margin: 3rem 0 0 0;
}

.site-footer .footer-block {
    height: 100%;
}

.site-footer .footer-heading-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.site-footer .footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
}

.site-footer .footer-heading-icon {
    font-size: 1.35rem;
    color: #101828;
}

.site-footer .footer-address {
    font-size: 0.7rem;
    line-height: 1.55;
}

.site-footer .footer-contact-group {
    display: grid;
    gap: 0.95rem;
}

.site-footer .footer-contact-item {
    display: grid;
    gap: 0.35rem;
}

.site-footer .footer-contact-label {
    font-size: 0.8rem;
    font-weight: 700;
}

.site-footer .footer-contact-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 1.35rem;
    border: 1.5px solid #009ee3;
    border-radius: 999px;
    color: #009ee3;
    text-decoration: none;
    font-size: 0.7rem;
    line-height: 1.2;
    width: min(100%, 290px);
    background: #fff;
}

.site-footer .footer-contact-pill:hover {
    background: rgba(0, 158, 227, 0.06);
    color: #009ee3;
}

.site-footer .footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0;
    justify-content: center;
    align-items: flex-end;
    min-height: 100%;
}

.site-footer .footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 30px;
    border-radius: 14px;
    background: #009ee3;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.site-footer .footer-social-link:hover {
    color: #fff;
    background: #008fd0;
    transform: translateY(-2px);
}

.site-footer-bottom {
    margin-top: .5rem;
    background: #16539f;
}

.site-footer-bottom-inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    color: #fff;
}

.site-footer-bottom-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.site-footer-bottom-link:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer-copyright {
    color: #fff;
    font-size: 0.95rem;
    text-align: right;
}

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

    .site-footer .row > div:last-child {
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .site-footer .footer-contact-group-right {
        padding-right: 8rem;
    }
}

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

@media (max-width: 991.98px) {
    .site-navbar-inner {
        min-height: 76px;
        padding: 0 16px;
    }

    .site-navbar-logo {
        width: clamp(145px, 48vw, 190px);
    }

    .site-navbar-actions {
        gap: 0.75rem;
    }

    .site-language-switcher {
        gap: 12px;
    }

    .site-footer .footer-socials {
        /* margin-top: 1rem; */
        justify-content: flex-start;
    }

    .site-footer-bottom-inner {
        min-height: auto;
        padding: 1.1rem 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer-copyright {
        text-align: center;
    }

    .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;
    }
}
