﻿


/* ============================================================
   Menu principal (Telerik RadMenu - Skin "Mapex")
   Disseny modern - paleta corporativa verda + Poppins
   ============================================================ */

.RadMenu_Mapex {
    color: #ffffff;
    font: 500 14px 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 44px;
    width: 100%;
    background: linear-gradient(135deg, #3a5424 0%, #6b8e3d 100%);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(58, 84, 36, 0.18);
    overflow: visible;
    letter-spacing: 0.3px;
}

.RadMenu_Mapex .rmRootGroup {
    padding: 4px 8px !important;
    background: transparent;
    border: none;
}

.RadMenu_Mapex .rmGroup {
    margin: 0;
    padding: 6px !important;
    border: 1px solid #e3e8db;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(58, 84, 36, 0.18);
}

.RadMenu_Mapex .rmRootGroup .rmItem {
    margin: 0 2px;
}

.RadMenu_Mapex .rmRootGroup .rmFirst {
    margin-left: 0;
}

.RadMenu_Mapex .rmGroup .rmItem {
    margin: 0;
}

.RadMenu_Mapex .rmRootLink {
    padding: 0 18px !important;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    text-transform: none;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.RadMenu_Mapex .rmRootLink .rmText {
    padding: 0 !important;
    color: inherit;
}

.RadMenu_Mapex .rmRootLink:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

:root .RadMenu_Mapex .rmRootLink:hover {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.RadMenu_Mapex .rmRootLink.rmFocused,
.RadMenu_Mapex .rmRootLink.rmSelected,
.RadMenu_Mapex .rmRootLink.rmExpanded {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) inset;
}

.RadMenu_Mapex .rmGroup .rmLeftImage {
    margin-top: 12px !important;
}

.RadMenu_Mapex .rmGroup .rmLink {
    color: #3a5424;
    text-decoration: none;
    padding: 6px 14px !important;
    border-radius: 6px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.RadMenu_Mapex .rmGroup .rmLink:hover {
    background-color: #eaf1d8;
    color: #3a5424;
}

.RadMenu_Mapex .rmGroup .rmLink .rmText {
    color: inherit;
    font-weight: 500;
}

.RadMenu_Mapex .rmSeparator {
    overflow: hidden;
}

.RadMenu_Mapex .rmSeparator .rmText {
    margin: 0 !important;
    padding: 0 !important;
}

.RadMenu_Mapex .rmRootGroup .rmSeparator .rmText {
    background-color: rgba(255, 255, 255, 0.3);
}

.RadMenu_Mapex .rmGroup .rmSeparator .rmText {
    background-color: #e3e8db;
}

.RadMenu_Mapex .rmHorizontal .rmSeparator {
    padding: 14px 0 !important;
    width: 1px !important;
    height: 16px !important;
}

.RadMenu_Mapex .rmHorizontal {
    display: flex;
    list-style: none;
    align-items: center;
}

.RadMenu_Mapex .rmHorizontal .rmSeparator .rmText {
    width: 1px !important;
    height: 18px !important;
}

.RadMenu_Mapex .rmVertical .rmSeparator {
    padding: 1px 10px !important;
    width: auto !important;
    height: 1px !important;
}

.RadMenu_Mapex .rmVertical .rmSeparator .rmText {
    width: auto !important;
    height: 1px !important;
}

.RadMenu_Mapex .rmHorizontal .rmLast {
    display: flex;
}

.RadMenu_Mapex .rmLeftArrow,
.RadMenu_Mapex .rmRightArrow,
.RadMenu_Mapex .rmTopArrow,
.RadMenu_Mapex .rmBottomArrow {
    background-color: #f5f8ed;
    background-image: none;
    background-repeat: no-repeat;
    color: #3a5424;
    text-align: center;
    line-height: 16px;
}

.RadMenu_Mapex .rmLeftArrow:hover,
.RadMenu_Mapex .rmRightArrow:hover,
.RadMenu_Mapex .rmTopArrow:hover,
.RadMenu_Mapex .rmBottomArrow:hover {
    background-color: #eaf1d8;
}

.RadMenu_Mapex .rmLeftArrow,
.RadMenu_Mapex .rmRightArrow {
    width: 16px !important;
    height: 30px !important;
}

.RadMenu_Mapex .rmLeftArrow {
    border-right: 1px solid #cdd5bd;
}

.RadMenu_Mapex .rmLeftArrow::after {
    content: "\25C0";
    font-size: 10px;
    color: #3a5424;
}

.RadMenu_Mapex .rmRightArrow {
    border-left: 1px solid #cdd5bd;
}

.RadMenu_Mapex .rmRightArrow::after {
    content: "\25B6";
    font-size: 10px;
    color: #3a5424;
}

.RadMenu_Mapex .rmTopArrow,
.RadMenu_Mapex .rmBottomArrow {
    width: 100%;
    height: 16px !important;
}

.RadMenu_Mapex .rmTopArrow {
    border-bottom: 1px solid #cdd5bd;
}

.RadMenu_Mapex .rmTopArrow::after {
    content: "\25B2";
    font-size: 10px;
    color: #3a5424;
}

.RadMenu_Mapex .rmBottomArrow {
    border-top: 1px solid #cdd5bd;
}

.RadMenu_Mapex .rmBottomArrow::after {
    content: "\25BC";
    font-size: 10px;
    color: #3a5424;
}

.RadMenu_Mapex .rmTopFix,
.RadMenu_Mapex .rmTopLeft,
.RadMenu_Mapex .rmTopRight,
.RadMenu_Mapex .rmBottomFix,
.RadMenu_Mapex .rmBottomLeft,
.RadMenu_Mapex .rmBottomRight {
    display: none;
}

/* Indicador d'expansió en items arrel amb submenu */
.RadMenu_Mapex .rmRootGroup > .rmItem.rmHasContent > .rmRootLink::after {
    content: "\25BE";
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.85;
    vertical-align: middle;
}

/* Versió responsive - menú apilat en mobil */
@media (max-width: 600px) {
    .RadMenu_Mapex {
        line-height: 38px;
        border-radius: 0;
        box-shadow: none;
    }
    .RadMenu_Mapex .rmRootLink {
        padding: 0 12px !important;
        font-size: 13px;
    }
}

