﻿
.row {
    --bs-gutter-x: 0!important;
}
/*menu*/
.tab-menu-detail {
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px 0px;
    font-weight: 600;
    border-bottom: 1px solid black;
}

.tab {
    cursor: pointer;
    font-size: 18px;
    color: #5A5A5A;
    position: relative;
}

    .tab:hover {
        color: #C85527;
    }

    .tab.active {
        color: #C85527;
    }


.underline {
    position: absolute;
    bottom: 0px;
    width: 100px;
    height: 5px;
    background-color: #C85527;
    transition: left 0.3s ease, width 0.3s ease;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.hidden {
    display: none;
}

.most-dl-tool-name a {
    color: #5A5A5A;
    font-size: 18px;
    display: block;
    margin-bottom: 1rem;
}

.Related-lesson-tool {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.Related-lesson-tool h6 {
    line-height: 25px;
    font-size: 18px;
}

@media (max-width: 1200px){
    .container{
        max-width: 85%;
    }
    h3{
        font-size: 24px;
    }
    .most-dl-tool-name a {
        font-size: 15px;
    }

    .tab-menu-detail>div
    {
        width: 100%;
        justify-content: space-between;
        gap: 0rem!important;
    }
    .tab-menu-detail > div> a {
        display: block;
    }

    /*   parameter */
    .parameter-download {
        padding-right: 1.2rem !important;
    }
    .parameter-info {
        padding-left: 1.2rem !important;
    }
    .parameter-info p{
        margin-bottom: 0.5rem !important;
    }
    .parameter-rating{
        display: block!important;
    }

    /* download tool*/
    .Download-tool h5{
        font-size: 1.1rem!important;
    }
    .Download-tool p {
        font-size: 18px !important;
    }

    /*Related lesson*/
    .Related-lesson-tool h6 {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    h3 {
        font-size: 20px;
    }

    .tool-title p {
        font-size: 13px;
    }
    .most-dl-tool-name a {
        font-size: 15px;
    }

    .detail-tool-rating {
        padding-left: 0.5rem !important;
    }
    /*   parameter */
    .parameter-info p {
        margin-bottom: 0.3rem !important;
        font-size: 17px;
    }

    /* download tool*/
    .Download-tool h5 {
        font-size: 1rem !important;
    }

    .Download-tool p {
        font-size: 16px !important;
    }

    /*Related lesson*/
    .Related-lesson-tool h6 {
        font-size: 15px;
    }
}

@media (max-width: 950px){
    .container {
        max-width: 90%;
    }
    .Related-lesson-tool {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }


}

@media (max-width: 850px) {

    .rating-tool-content {
        display: block!important;
    }
    .rating-tool{
        margin-bottom: 0.5rem;
    }

}

@media (max-width: 768px) {
    .detail-tool-rating {
        order: 1;
        margin-bottom: 1rem;
    }

    .detail-tool-rating-order2 {
        order: 2;
    }
}

@media (max-width: 576px) {
    .parameter-download{
        padding-right: 0!important;
    }
    .parameter-rating {
        display: flex !important;
        margin-top: 1rem!important;
    }
    .parameter-info {
        padding-left: 0rem !important;
        border-left: 0 !important;
        border-top: 1px solid #B6A78C !important;
        margin-top: 1rem;
        padding-top: 1rem !important;
    }
}
@media (max-width: 375px) {
    .Related-lesson-tool {
        display: grid;
        grid-template-columns: 1fr;
    }

}
