:root {
    --primary-red: #dc2626;
    --primary-blue: #00377A;
    --light-bg: #f5f0e8;
    --text-dark: #1f2937;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.mile-stone-banner img {
    width: 100%;
}

.mile-stone-report-box {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}
#reportTab {
    max-width: 25%;
    min-width: 25%;
    width: 25%;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 35px;
    height: 650px;
    display: block;
}
#reportTab li {
    width: 100%;
}   
#reportTab li button {
    width: 100%;
    border-radius: 32px;
    background: #fff;
    margin: 10px 0;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: normal;
    line-height: 1.5;
    font-style: normal;
    color: #113d7c;
    padding: 10px 14px;
}
#reportTab li button.active {
    background: #ce181e url(../images/button-round.webp) 0 0 no-repeat;
    background-size: 20px;
    background-position: 95% 50%;
    color: #fff;
}

#tab-report-content {
    width: 72%;
    min-width: 72%;
    max-width: 72%;
    border-radius: 35px;
    background: #f5f5f5;
    padding: 25px;
}
 
#yearTab {
   width: 20%;
    max-width: 20%;
    min-width: 20%;
    display: block;
    height: 600px;
/*  overflow-y: auto;*/
    overflow-x: hidden;
    direction: rtl;
    padding-left: 10px;
    padding-right: 0;
}
#yearTab li {
    width: 100%;
}
#yearTab li button {
    width: 100%;
    text-align: left;
    outline: none;
    box-shadow: none;
    background: transparent url(../images/angle-grey.webp) 0 0 no-repeat;
    border: none;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    font-style: normal;
    text-align: left;
    color: #b6b6b6;
    background-size: 12px;
    background-position: left center;
    padding: 7px 0 7px 20px;
}
#yearTabContent {
    width: 77%;
    min-width: 77%;
    max-width: 77%;
}

#yearTab li button.active {
    background: transparent url(../images/angle-red.webp) 0 0 no-repeat;
    font-size: 30px;
    background-size: 23px;
    background-position: left center;
    padding-left: 30px;
    color: #113d7c;
}
.report-tab-pane {
    gap: 30px;
    justify-content: space-between;
}
.report-tab-pane.milestone-tb {
    display: flex;
}
.report-tab-pane.esaf-awards-tb {
    display: flex;
}
.nav.nav-tabs{
    border: none;
    margin: 0;
}

.year_right_box_item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
}
.year_right_box_item figure {
    margin: 0;
}
.year_right_box_item figure {
    margin: 0;
    width: 35%;
    max-width: 35%;
    min-width: 35%;
    background: #fff;
    border: 1px solid #000;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    height: 200px;
}
.year_right_box_item figure img {
    width: 45px;
}
.year_right_box_item figcaption h6 {
    font-size: 21px;
    font-weight: 600;
    color: #adadad;
}
.year_right_box_item figcaption p {
    font-size: 15px;
   margin: 15px 0 0 0;
    color: #adadad;
}
#right_year_scroll{
    height: 150px;
    /* height: 600px; */
}
/* Hide all tab panes by default */
#yearTabContent .tab-pane{
    display:none;
}

/* Show only active tab */
#yearTabContent .tab-pane.active{
    display:block;
}

@media (max-width: 992px) {
.mile-stone-report-box {
    flex-wrap: wrap;
}
#reportTab, #tab-report-content {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
}
#reportTab{
    height: auto;
}
#yearTab {
    padding-left: 0;
}
.year_right_box_item figcaption h6 {
    font-size: 18px;
}
.year_right_box_item figure {
    height: 155px;
}
#yearTab li button.active {
    font-size: 19px;
    background-size: 11px;
    padding-left: 30px;
}
}

@media (max-width: 580px) {

.year_right_box_item {
    margin: 20px 0;
    flex-wrap: wrap;
}
.year_right_box_item figure {
    height: unset;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}
#yearTab {
    width: 30%;
    max-width: 30%;
    min-width: 30%;
}
#yearTabContent {
    width: 67%;
    min-width: 67%;
    max-width: 67%;
}
}