﻿/* Nexus Browsing */

.nexus-toggle {
    border: 0px solid !important;
    background: transparent;
    height: 56px;
    width: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    margin-top: -4px;
    margin-bottom: -4px;
    transition: background 0.3s;
}

    .nexus-toggle:hover {
        border: 0px solid !important;
        background: #DDD;
        color: #182433;
    }

.nexus-grid {
    display: grid;
    grid-template-columns: repeat(4, 80px);
    gap: 10px;
}

.nexus-subtitle {
    display: none;
}

.nexus-btn {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    padding: 10px;
    text-align: center;
}

.nexus-grid-light > .nexus-btn {
    color: rgb(24, 36, 51);
}

.nexus-btn:hover {
    background-color: rgba(24, 36, 51, 0.1);
}

.nexus-btn svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.nexus-btn img {
    width: 40px;
    height: 40px;
}

.nexus-btn span {
    margin-top: 5px;
    color: currentColor;
    font-size: 12px;
    font-weight: bold;
}

/* mode liste */
.nexus-grid.list {
    display: block;
    gap: 0px;
}

    .nexus-grid.list .nexus-btn {
        display: flex;
        flex-direction: row;
        width: 100%;
        align-items: center;
        padding: 5px;
        justify-content: start;
    }

        .nexus-grid.list .nexus-btn img {
            width: 40px;
            height: 40px;
            margin-right: 15px;
            flex: 0 1 auto;
        }

        .nexus-grid.list .nexus-btn .nexus-description {
            font-size: 16px;
            font-weight: 500;
            flex: 1 1 auto;
            display: flex;
            justify-content: start;
        }

        .nexus-grid.list .nexus-btn .nexus-subtitle {
            display: unset;
        }
