/* index.fc27 — extracted from inline <style> in body for HTML validity. Linked from fc27.blade.php. */
.level-last-menu {
    display: none;
}

.show-tab {
    display: block;
}

.level-last-menu ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.level-last-menu ul.active {
    display: flex;
}

.level-last-menu ul li {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    outline: none;
    padding: 16px;
    box-sizing: border-box;
    background-color: #404454;
}

.level-last-menu ul li::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: url("/images/home/fc-bg.png") no-repeat center center; */
    background: var(--bg-url) no-repeat center center;
    background-size: cover;
    transition: .4s ease;
    will-change: transform;
}

.level-last-menu ul li:hover::before {
    transform: scale(1.15);
}

.card_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card_content p {
    margin-bottom: 22px;
    min-height: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    justify-content: flex-start;
}


.level-last-menu ul li .device {
    display: flex;
    align-items: center;
    height: 27px;
}

.device-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--primary-color);
    z-index: 1;
}

.level-last-menu .device-img img {
    width: 18px;
    height: 18px;

}

.level-last-menu ul li .device span {
    display: block;
    height: 100%;
    line-height: 27px;
    min-width: 0;
    flex: 0 1 auto;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: -12px;
    padding: 0 14px 0 18px;
    background: linear-gradient(270deg, rgba(242, 165, 8, 0) 0%, rgba(242, 165, 8, 0.5) 100%);
    color: var(--primary-color);
}


.level-last-menu ul li div p span {
    white-space: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    width: 100%;
    color: #FFFFFF;
    text-align: center;
    font-style: normal;
    text-transform: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.level-last-menu ul li div a {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 2px;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #3B3F4D;

}


.level-last-menu ul li div a:hover {
    background-color: var(--primary-color);
    color: #000;

}

.level-last-menu ul li div a i {
    display: inline-block;
    width: 6px;
    height: 9px;
    background-position: -187px 0;
    margin-left: 6px;
}

@media only screen and (max-width: 1200px) {
    .level-last-menu {
        padding: 16px 10px;
    }

    .level-last-menu ul li {
        width: 100%;
        height: 100%;
    }

    .level-last-menu ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .level-last-menu ul li img {
        width: 100%;
    }
}

@media (max-width: 1024px) {}

@media (max-width: 768px) {
    .card_content p.mobile_title {
        min-height: auto;
        height: 40px !important;
        align-items: flex-start;
        margin-bottom: 10px;
    }
    .level-last-menu ul li div p {
        text-align: center;
    }

    

    .level-last-menu ul li div p span {
        white-space: normal;
        font-size: 14px;
        font-family: "default_bold";
        font-weight: bold;
        font-size: 13px;
        color: #FFFFFF;
        line-height: 16px;
        text-align: center;
        font-style: normal;
        text-transform: none;
    }

    .level-last-menu ul li div a {
        background-color: var(--primary-color);
        font-family: "default_bold";
        font-weight: 500;
        font-size: 10px;
        color: #1D2026;
        text-align: center;
        font-style: normal;
        text-transform: none;

    }

    .level-last-menu ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .level-last-menu ul li {
        height: 108px;

    }

    .device {
        display: none !important;

    }


}
