/* @Student Service Style */
.student-service .desktop-size {
    display: block;
}
.student-service .mobile-size {
    display: none;
}
.student-service .description ,
.student-service .main-description {
    color: var(--black-color);
}
.student-service .main-banner div {
    /* top: 0; */
    width: 100%;
    height: 500px;
    background-repeat: no-repeat;
}
.student-service .main-banner {
    position: relative;
}
.student-service .main-banner .banner-detail {
    top: 40%;
    z-index: 5;
    display: grid;
    height: 100px;
    position: absolute;
    justify-content: center;
}
.student-service .main-banner .banner-title {
    font-size: 70px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--white-color);
}
.student-service .main-banner .banner-description {
    height: 85px;
    width: 700px;
    font-size: 20px;
    text-align: center;
    color: var(--white-color);
}
.student-service .main-banner .banner-detail .fa-solid {
    cursor: pointer;
    text-align: center;
    color: var(--white-color);
}

.student-service .main-banner .one-row_bottom_divider {
    bottom: -1px;
    position: absolute;
    bottom: 0;
}
.student-service .main-banner .one-row_top_divider, .one-row_bottom_divider {
    width: 100%;
    position: absolute;
    left: 0;
    pointer-events: none;
}
.student-service .main-banner svg:not(:root) {
    overflow: hidden;
}
.student-service .main-banner .one-row_top_divider svg, .one-row_bottom_divider svg {
    width: 100%;
    height: 100%;
    position: relative;
}

/* @student council */
.council {
    position: relative;
}
.council .main-title {
    color: var(--blue-color);
    margin-bottom: 20px;
    font-weight: bold;
}
.council .main-description {
    font-size: 20px;
    margin-bottom: 35px;
    color: var(--description-color);
}
.student-service figure .slide-program {
    display: flex;
    justify-content: center;
}
.slide-council .slick-dots {
    padding: 0;
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.slide-council button {
    margin: 3px;
    border: none;
    width: 12px;
    height: 12px;
    cursor: pointer;
    color: transparent;
    border-radius: 100%;
    background-color: var(--gray-color);
}
.slide-council .slick-active button {
    background-color: var(--blue-color);
}
.slide-council figure {
    position: relative;
    display: flex;
    align-items: end;
}
.slide-council .detail {
    width: 100%;    
    bottom: 0;
    padding: 25px 30px;
    position: absolute;
    border-radius: 10px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));
}
.slide-council img {
    border-radius: 10px;
}
.slide-council .title {
    color: var(--white-color);
}
.slide-council .slick-prev {
    top: -150px;
    right: 65px;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    color: transparent;
    background-repeat: no-repeat;
    background-color: transparent;
    background-image: url(../icons/arrow-left.png);
}
.slide-council .slick-next {
    top: -150px;
    right: 0px;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    color: transparent;
    background-repeat: no-repeat;
    background-color: transparent;
    background-image: url(../icons/arrow-right.png);
}

/* @full width image */
.student-service .full-width .thumbnail.left {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.student-service .full-width .thumbnail.left .detail {
    width: 50%;
    position: absolute;
    padding: 0px 0px 0px 135px;
}
.student-service .full-width img {
    width: 100%;
}
.student-service .full-width .thumbnail a ,
.student-service .full-width .thumbnail .description ,
.student-service .full-width .thumbnail .title {
    color: var(--white-color);
}
.student-service .full-width .title {
    font-weight: bold;
    margin-bottom: 25px;
}
.student-service .full-width .description {
    font-size: 19px;
    margin-bottom: 25px;
}
.student-service .full-width a {
    padding: 10px 45px;
    border-radius: 5px;
}
.student-service .full-width .thumbnail.right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.student-service .full-width .thumbnail.right .detail {
    width: 50%;
    position: absolute;
    padding: 0px 135px 0px 0px;
}

.student-service .full-width .content-popup {
    background-color: rgb(0 0 0 / 65%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 9999;
}
.student-service .full-width .content-popup .detail {
    position: relative;
    padding: 50px 25px;
    border-radius: 10px;
    color: var(--blue-color);
    background-color: var(--white-color);
}
.student-service .full-width .content-popup {
    visibility: hidden;
}
.student-service .full-width .content-popup.show {
    visibility: visible;
}
.student-service .full-width .content-popup .detail .title {
    text-align: center;
    color: var(--blue-color);
}
.student-service .full-width .content-popup .detail .description {
    color: var(--description-color);
}
.student-service .full-width .content-popup .detail {
    padding: 30px !important;
}
.student-service .full-width .content-popup .container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.student-service .full-width .content-popup .detail .fas {
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
}
.student-service .content-popup .detail {
    height: 90vh;
    overflow: scroll;
}

/* @section frequently */
.student-service .frequently .main-title {
    font-weight: bold;
    margin-bottom: 25px;
}
.student-service .frequently .main-description {
    font-size: 20px;
    margin-bottom: 30px;
}
.student-service .frequently .header-collapse { 
    display: flex;
    cursor: pointer;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 5px;
    align-items: center;
    justify-content: space-between;   
    background-color: var(--bg-gray-color);
}
.student-service .frequently .header-collapse .title ,
.student-service .frequently .header-collapse .fas {
    margin: 0;
    font-weight: bold;
    color: var(--green-color);
}
.student-service .frequently .body-collapse {
    display: none;
    font-size: 18px;
    line-height: 1.8;
    padding: 35px 20px;
    border-radius: 5px;
    margin-bottom: 15px;
    color: var(--description-color);
    background-color: var(--bg-fequently-color);
}
.student-service .frequently .header-collapse.open .title ,
.student-service .frequently .header-collapse.open .fas {
    color: var(--white-color);
}
.student-service .frequently .header-collapse.open .fas {
    transform: rotate(180deg);
}
.student-service .frequently .header-collapse.open {
    background-color: var(--green-color);
}

/* ================== Responsive on device =================== */

/* @mac book */
@media (width: 1336px) {}

/* Desktop */
@media(max-width: 1440px) {
}

/* Laptop */
@media(max-width: 1280px) {
    .student-service .full-width .description.main {
        display: none !important;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 5; /* number of lines to show */
                line-clamp: 5; 
        -webkit-box-orient: vertical;
    }
}

/* iPad */
@media(max-width: 769px) {
    .student-service .main-banner div {
        height: 350px;
    }
    .student-service .main-banner .banner-title {
        font-size: 50px;
    }
    .student-service .one-row_bottom_divider  {
        height: 45px !important;
    }
    .slide-council .title {
        font-size: 18px;
    }
    .student-service .full-width .thumbnail .title {
        font-size: 25px;
    }
    .student-service .full-width .thumbnail.left .detail {
        padding: 25px;
    }
    .student-service .full-width .thumbnail.right .detail {
        padding: 25px;
    }
    .student-service .full-width .description.main {
        display: none !important;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* number of lines to show */
                line-clamp: 3; 
        -webkit-box-orient: vertical;
    }
    .student-service .full-width .title {
        margin-bottom: 15px;
    }
    .student-service .content-popup .detail {
        width: 85% !important;
    }
    .student-service .full-width .thumbnail.left .detail ,
    .student-service .full-width .thumbnail.right .detail {
        max-height: 90vh;
        overflow-y: scroll;
    }
    
}

  /* Mobile */
@media(max-width: 576px) {
    .student-service .desktop-size {
        display: none !important;
    }
    .student-service .mobile-size {
        display: block !important;
    }
    .student-service .main-banner div {
        height: 210px;
    }
    .student-service .main-banner .banner-title {
        font-size: 30px;
        margin-bottom: 5px;
    }
    .student-service .main-banner .banner-description {
        font-size: 16px;
        height: 60px;
    }
    .student-service .main-banner .one-row_bottom_divider {
        bottom: -20px;
    }
    .slide-council .slick-prev ,
    .slide-council .slick-next {
        top: -145px;
    }
    .slide-council .slick-next {
        right: 5px;
    }
    .slide-council .thumbnail {
        width: 100%;
    }

    .student-service .full-width .thumbnail.left .detail ,
    .student-service .full-width .thumbnail.right .detail {
        width: 60%;
        max-height: 90vh;
        overflow-y: scroll;
    }
    .student-service .full-width .thumbnail .title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    .student-service .full-width .description.main {
        display: none !important;
        font-size: 16px;
        margin-bottom: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    /* .student-service .full-width .description.main div ,
    .student-service .full-width .description.main p:not(:first-child) {
        display: none !important;
    } */
    .student-service .full-width a {
        padding: 5px 15px;
    }
    .student-service .frequently .body-collapse ,
    .student-service .frequently .header-collapse .title, 
    .student-service .frequently .header-collapse .fas {
        font-size: 16px;
    }
    .student-service .content-popup .detail {
        width: 95% !important;
    }
    .student-service .full-width .content-popup .detail .description {
        font-size: 16px;
    }
}