﻿.home-active {
    margin-top: 8px;
    margin-bottom: 34px;
}

.home-active-container {
    background-image: url(../../../Design/img/bg-home-khoa-phong.png);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.10);
    padding: 0 40px;
    padding-top: 34px;
    padding-bottom: 52px;
}

.home-active .top {
    display: flex;
    align-items: center;
}

.home-active .top-left {
    flex: 1;
    padding-right: 47px;
}

.home-active .top-left h3 {
    position: relative;
    margin: 0;
    color: #FBFCFF;
    font-family: 'utmB';
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-size: 38px;
    letter-spacing: 0.95px;
}



.home-active .top-left span {
    line-height: 150%;
    font-size: 18px;
    color: #fff;
    margin-top: 11px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.home-active .top-right {
}

.home-active .note {
    width: fit-content;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 370px;
    display: flex;
    flex-direction: column;
    padding: 13px 22px;
}

.home-active .note .title {
    margin: 0;
    font-family: 'interB';
    font-weight: 100;
    line-height: 150%;
    font-size: 20px;
    margin-bottom: 1px;
    color: #389723;
}

.home-active .note-content {
    display: flex;
}

.home-active .note-content .day {
    font-size: 15px;
    color: #4D4D4D;
    line-height: 22.5px;
}

.home-active .note-content .list-time {
    flex-direction: column;
    display: flex;
    padding-left: 12px;
}

.home-active .note-content .list-time span {
    font-size: 15px;
    color: #4D4D4D;
    line-height: 22.5px;
}

.home-active .note-content .list-time span:first-child {
}

.home-active .note-content .list-time span:last-child {
}

.home-active .bottom {
}

.home-active-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(5,minmax(0,1fr));
    column-gap: 10px;
    row-gap: 20px;
    margin-top: 32px;
}

.home-active-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-active-link:hover .title {
    color: var(--default-color-5);
}

.home-active-img {
}

.home-active-img img {
}


.home-active-list .title {
    margin: 0;
    text-transform: uppercase;
    color: #fff;
    font-family: 'interB';
    line-height: 30px;
    font-weight: 100;
    font-size: 20px;
    text-align: center;
    margin-top: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    transition: all linear .2s;
}

.home-active-list .descript {
    text-align: center;
    font-size: 16px;
    color: #fff;
    line-height: 24px;
    margin-top: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}


.home-my-list {
    margin-top: 38px;
}

.home-my-list .center-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-my-list .img {
    padding: 6px;
    width: 144px;
    height: 144px;
    border-radius: 50%;
    overflow: hidden;
    background-color: rgb(255 255 255 / 30%);
    transition: all linear .2s;
}

.home-my-list .center-item:hover .img {
    background-color: #5DAB47;
}

.home-my-list .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.home-my-list .content {
}

.home-my-list .title {
    margin: 0;
    text-align: center;
    color: #FFFFFF;
    font-family: 'interB';
    text-transform: uppercase;
    line-height: 150%;
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-top: 11px;
}

.home-my-list .descript {
    text-align: center;
    color: #FFFFFF;
    display: block;
    line-height: 150%;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-top: 9px;
}


/*RS*/
@media(max-width:1023px) {
    .home-active .top {
        flex-direction: column;
    }

    .home-active .top-right {
        margin-top: 15px;
    }

    .home-active-container {
        padding: 30px;
    }

    .home-active .top-left {
        padding: 0;
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .home-active-list {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media(max-width:739px) {
    .home-active-container {
        padding: 15px;
        background-image: unset;
        background: var(--5, linear-gradient(100deg, #006A3F 5.71%, #91C73B 88.22%));
    }

    .home-active .top-left h3 {
        font-size: 27px;
        line-height: 49px;
    }

    .home-active .top-left span {
        font-size: 15px;
    }

    .home-active .note {
        width: 100%;
        padding: 15px;
    }

    .home-active .top-right {
        width: 100%;
    }

    .home-active .note-content {
        margin-top: 15px;
        justify-content: space-between;
    }

    .home-active-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .home-active-list .title {
        font-size: 17px;
    }

    .home-active .note-content .day {
        font-size: 13px;
    }

    .home-active .note-content .list-time span {
        font-size: 13px;
    }
}
