/* Banner */
.milestone_ban {
    position: relative;
    overflow: hidden;
    z-index: 0;
    background: url(../images/spj_rf_134137250_xl.jpg) center no-repeat;
    object-fit: contain;
    background-size: 1914px 800px;
    background-position-y: 4rem;
}

.milestone_ban::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.ban_con {
    position: relative;
    height: 300px;
}

.ban_title {
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, 16%);
    color: #fff;
    /* text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.075); */
}

.page_sitemap a {
    color: var(--textColor);
}

.page_sitemap a:hover {
    color: var(--mainColor);
}

.bg {
    background: url(../images/spjC_rf_04_142229388_xl.jpg) bottom no-repeat;
}

@media screen and (max-width: 768px) {
    .ban_title {
        transform: translate(-50%, -22%);
    }
}


/* milestone_area */
.milestone_area {
    position: relative;
}

.section_padding {
    padding: 2rem 0 6rem 0;
}

.page_sitemap {
    font-size: 1.125rem;
    padding-top: 1rem;
    padding-bottom: 3rem;
    color: var(--textColor);
}

.milestone_area h2 {
    margin-bottom: 2rem;
    text-align: center;
    color: #318C92;
    font-size: 2.2rem;
}


/* milestone_area_left */
.milestone_area_left .text {
    padding-right: 5rem;
    padding-left: 1rem;
}

.scrollbar {
    /* direction: rtl; */
    overflow: auto;
    height: 550px;
    width: 100%;
}

.scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #D4D4D4
}

.scrollbar::-webkit-scrollbar-thumb {
    background: #A5A4A4;
}

.milestone_area .text-left {
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    max-width: 106px;
    background-color: #318C92;
}

.milestone_area .text-left h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--whiteColor);
    text-align: center;
}

.milestone_area_left .text h4 {
    color: #318C92;
    margin: 1.5rem 0 1rem 0;
    text-decoration: underline;
    text-underline-offset: 0.6rem;
}

.milestone_area_left .text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.milestone_area_left .text a {
    color: var(--textColor);
}

.milestone_area_left .text a:hover {
    color: var(--mainColor);
}


/* milestone_area_right */
.milestone_area_right {
    margin-bottom: 2rem;
}

.milestone_area_right .text {
    padding-left: 1rem;
}

.milestone_area_right .text p {
    /* direction: ltr; */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 2rem;
    margin-bottom: -0.1rem;
    color: var(--textColor);
    /* padding: 1rem 2rem 1rem 2rem; */
    /* border-bottom: 1px solid #CCCCCC; */
}

.milestone_area_right .text p:hover {
    color: #318C92;
}

.milestone_area_right .text .active p {
    color: #318C92;
    border-left: 4px solid #318C92;
}

.milestone_right .text hr {
    margin: 1.5rem 0;
}

.accordion {
    display: none;
}

@media screen and (max-width: 1198px) {
    .milestone_area_left .text {
        padding-right: 1rem;
    }
}

@media screen and (max-width: 1024px) {
    .milestone_area_right {
        margin-top: 4rem;
    }
}

@media screen and (max-width: 768px) {
    .milestone_area_left,
    .milestone_area_right {
        display: none;
    }

    /* .scrollbar {
        height: auto;
    }
     */
    .accordion {
        display: flex;
        flex-direction: column;
    }
    
    .accordion .list {
        position: relative;
    }
    
    .accordion .label {
        position: relative;
        font-size: 1.3rem;
        color: var(--textColor);
        padding-left: 2rem;
        /* margin-bottom: -0.1rem; */
    }

    .accordion .label:hover,
    .accordion .label:focus {
        color: #318C92;;
        border-left: 4px solid #318C92;;
    }
        
    .accordion .label p {
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .accordion .content {
        position: relative;
        height: 0;
        min-height: 0;
        font-size: 1.25rem;
        overflow: hidden;
        transition: 1s;
    }

    .accordion .list.active .content {
        height: auto;
        min-height: 300px;
        padding-bottom: 2rem;
    }

    .accordion .content .text-left {
        padding: 0.5rem 1.5rem;
        margin-bottom: 2rem;
        max-width: 168px;
        background-color: #318C92;
    }

    .accordion .content .h2 {
        margin: 0;
        font-size: 1.5rem;
        color: var(--whiteColor);
        text-align: center;
    }

    .accordion .content .text {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .accordion .content .text h4 {
        color: #318C92;
        margin: 1.5rem 0 1rem 0;
        text-decoration: underline;
        text-underline-offset: 0.6rem;
    }

    .accordion .content p {
        margin-bottom: 1.5rem;
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 576px) {
    .milestone_area_left .text {
        padding-left: 0;
    }
    
    .milestone_area {
        padding: 0 1rem 3rem 1rem;
    }
}