﻿/* Top Menu */
.top-menu-panel {
    display: block !important;
    padding: 16px !important;
    position: relative !important;
    z-index: 4001 !important;
}

    .top-menu-panel .menu-toggle {
        gap: 4px;
        background-color: white;
        width: 44px;
        height: 44px;
        cursor: pointer;
        position: relative;
        border: none;
    }

        .top-menu-panel .menu-toggle .bar {
            width: 30px;
            height: 4px;
            position: relative;
            border-radius: 50px;
            transition: all 0.4s cubic-bezier(0.68, -0.6, 0.27, 1.55);
        }

            .top-menu-panel .menu-toggle .bar:nth-child(1) {
                background-color: #263BDA;
            }

            .top-menu-panel .menu-toggle .bar:nth-child(2) {
                background-color: #1084FA;
            }

            .top-menu-panel .menu-toggle .bar:nth-child(3) {
                background-color: #00AEBE;
            }

    .top-menu-panel.open .menu-toggle .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .top-menu-panel.open .menu-toggle .bar:nth-child(1) {
        transform: translateY(8px) rotate(-45deg);
    }

    .top-menu-panel.open .menu-toggle .bar:nth-child(3) {
        transform: translateY(-8px) rotate(45deg);
        z-index: 2;
    }

    .top-menu-panel .top-menu-image {
        width: 154px;
        height: 47px;
    }

    .top-menu-panel.open div:has(.top-menu-image) {
        justify-content: center;
        align-items: center;
    }

        .top-menu-panel.open div:has(.top-menu-image) .top-menu-image {
            display: block !important;
        }

    .top-menu-panel h6 {
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 140% !important;
        font-weight: bold !important;
    }

    .top-menu-panel.open h6 {
        display: none !important;
    }

.mud-drawer-overlay,
.mud-overlay {
    margin-top: 76px !important;
}

.navigation-drawer {
    display: none !important;
    width: 0 !important;
}

.mud-main-content {
    margin-left: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
}

.top-navigation-drawer {
    position: relative;
    height: calc(100vh - 80px);
}

    .top-navigation-drawer.open {
        display: block !important;
        width: 100% !important;
        margin-top: 20px !important;
        background-color: rgba(255, 255, 255, 0.8) !important;
    }

    .top-navigation-drawer .mud-expand-panel {
        width: 100% !important;
        padding-top: 30px !important;
        transition: background-color 0.3s ease;
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        border-radius: 0 !important;
        flex: auto !important;
        justify-content: center !important;
    }

        .top-navigation-drawer .mud-expand-panel.mud-panel-expanded {
            margin: 0 !important;
            justify-content: start !important;
        }

        .top-navigation-drawer .mud-expand-panel .mud-expand-panel-content,
        .top-navigation-drawer .mud-expand-panel .mud-expand-panel-content .mud-list {
            border: none !important;
            box-shadow: none !important;
            background-color: transparent !important;
        }

        .top-navigation-drawer .mud-expand-panel.mud-panel-expanded:not(:last-child) .mud-expand-panel-content {
            padding-bottom: 0 !important;
            margin-bottom: -10px !important;
        }

        .top-navigation-drawer .mud-expand-panel .mud-expand-panel-content .mud-list .mud-nav-link-text {
            color: #fff !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            line-height: 140% !important;
            padding: 3px !important;
        }

        .top-navigation-drawer .mud-expand-panel .mud-nav-item .mud-nav-link .mud-nav-link-text {
            margin-left: 0 !important;
        }

        .top-navigation-drawer .mud-expand-panel::before {
            content: "";
            left: 0;
            top: -80px;
            width: 100%;
            height: 120px;
            margin-top: -2px;
            position: absolute;
            mask-size: 100% 100%;
            mask-repeat: no-repeat;
            border: none !important;
            --webkit-mask-size: 100% 100%;
            --webkit-mask-repeat: no-repeat;
            background-color: red !important;
            mask-image: url("../images/menu-background-wave.svg");
            --webkit-mask-image: url("../images/menu-background-wave.svg");
        }

        .top-navigation-drawer .mud-expand-panel:first-child::before {
            display: none !important;
        }

        .top-navigation-drawer .mud-expand-panel:nth-child(1),
        .top-navigation-drawer .mud-expand-panel:nth-child(2)::before {
            background-color: #243ABC !important;
            z-index: 7;
        }

        .top-navigation-drawer .mud-expand-panel:nth-child(1) {
            margin-top: -20px !important;
            box-shadow: inset 0 10px 20px -10px rgba(0, 0, 0, 0.3);
        }

        .top-navigation-drawer .mud-expand-panel:nth-child(2),
        .top-navigation-drawer .mud-expand-panel:nth-child(3)::before {
            background-color: #263BDA !important;
            z-index: 6;
        }

        .top-navigation-drawer .mud-expand-panel:nth-child(3),
        .top-navigation-drawer .mud-expand-panel:nth-child(4)::before {
            background-color: #107EEE !important;
            z-index: 5;
        }

        .top-navigation-drawer .mud-expand-panel:nth-child(4),
        .top-navigation-drawer .mud-expand-panel:nth-child(5)::before {
            background-color: #019CE8 !important;
            z-index: 4;
        }

        .top-navigation-drawer .mud-expand-panel:nth-child(5),
        .top-navigation-drawer .mud-expand-panel:nth-child(6)::before {
            background-color: #03C5D7 !important;
            z-index: 3;
        }

        .top-navigation-drawer .mud-expand-panel:nth-child(6) {
            background-color: #20C997 !important;
            z-index: 2;
        }

        .top-navigation-drawer .mud-expand-panel .mud-nav-item,
        .top-navigation-drawer .mud-drawer .mud-nav-link,
        .top-navigation-drawer .mud-expand-panel .mud-expand-panel-content .mud-list .mud-nav-link {
            cursor: pointer !important;
            background-color: transparent !important;
        }

    .top-navigation-drawer .mud-nav-link {
        z-index: 20;
        padding: 0 !important;
        cursor: pointer !important;
        text-decoration: none !important;
        background-color: transparent !important;
    }

    .top-navigation-drawer .mud-expand-panel h6 {
        margin: 0 !important;
        padding: 0 !important;
        background-color: transparent !important;
        color: #fff !important;
        font-weight: 700 !important;
        font-weight: bold !important;
        font-size: 24px !important;
        line-height: 140% !important;
        cursor: pointer !important;
        text-decoration: none !important;
    }

    .top-navigation-drawer .mud-expand-panel .mud-icon-root {
        color: #fff !important;
        font-size: 30px !important;
        line-height: 140% !important;
    }

#fleet-management-map {
    border-radius: 0 !important;
}

.mud-main-content .map-view-vessel-dropdown {
    left: 0 !important;
}

.mud-main-content .map-view-vessel-dropdown,
.mud-main-content .map-view-view-mode-selection {
    top: auto !important;
}

.drawer-user-management {
    display: none !important;
}

.map-view-vessel-dropdown,
.map-view-port-dropdown {
    display: none !important;
}

.mud-main-content .map-view-view-mode-selection {
    margin-top: 10px !important;
}
