﻿body {
    margin: 0px;
    padding: 0px;
}

.patch-link {
    transition: transform 0.3s ease;
    outline: none;
    border: none;
    background: none;
    padding: 0;
}

    .patch-link:hover {
        transform: scale(1.1);
    }


a {
    text-decoration: none;
}

    a:link {
        color: #006891;
        text-decoration: none; /* Ensure no underline for unvisited links */
    }

    a:visited {
        color: black;
        text-decoration: none; /* Ensure no underline for visited links */
    }

    a:hover {
        text-decoration: none; /* Ensure no underline on hover */
    }

    a:active {
        text-decoration: none; /* Ensure no underline on active links */
    }

#browserNote {
    position: fixed; /* or absolute, depending on your needs */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(211, 211, 211, 1);
    color: black;
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
    z-index: 1000; /* Ensure it's above other content */
    width: 80%; /* or any specific width */
    max-width: 400px; /* Ensures the note is not too wide on larger screens */
    text-align: left;
    border-radius: 10px;
    box-shadow: 0 0 25px 5px white;
}

#closeNote {
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #016890;
    color: white;
    border: 1px black;
    border-radius: 5px;
    cursor: pointer;
}

#map {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0px;
}

.mapboxgl-popup-content {
    border-radius: 20px;
    border: 2px solid black;
    background-color: rgba(211, 211, 211, 0.9);
    font-family: DIN-Condensed-Bold;
    font-size: 14px;
    color: black;
    box-shadow: 0 0 25px 5px white;
    padding: 2px;
    margin: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    overflow: hidden;
}

.custom-popup {
    padding-top: 20px;
    padding-bottom: 4px;
    padding-right: 12px;
}

    .custom-popup::-webkit-scrollbar {
        width: 10px;
        height: 10px;
        border-radius: 10px;
    }

    .custom-popup::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 10px;
    }

    .custom-popup::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.5);
        border-radius: 10px;
        border: 2px solid transparent; /* Optional, for spacing */
    }


.mapboxgl-popup-close-button {
    color: black;
}

.mapboxgl-popup-content img {
    border-radius: 18px; /* Rounded corners */

    max-width: 100%; /* Ensure the image fits within the popup */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure the image behaves as a block element */
    padding: 0px;
    margin: 0;
}

.signup-popup .mapboxgl-popup-content {
    width: 350px;
}

.wiPopup .mapboxgl-popup-content {
    background-image: url('../img/slor.jpg');
    background-size: cover; /* or 'contain' depending on your need */
    color: #fff;
    padding: 10px;
    margin-top: 0;
    width: 300px;
}

.mapboxgl-popup-content :focus {
    outline: none; /* Removes the focus outline */
    /* Or use custom styling for the focus state */
}


.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip {
    border-bottom-color: black !important;
}

.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip {
    border-top-color: black !important;
}

.mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
    border-right-color: black !important;
}

.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
    border-left-color: black !important;
}
/* Change the color of the popup arrow */
.mapboxgl-popup-tip::before {
    border-bottom-color: black !important;
}

.mapboxgl-popup-tip::after {
    border-bottom-color: black !important;
}


.hidden {
}

#sea-sausage {
    display: block;
    position: fixed;
    left: 50vw;
    transform: translateX(-50%);
    bottom: 0;
    border: 0;
    opacity: 0; /* Start as invisible */
    z-index: 1; /* Higher than the map's z-index */
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    #sea-sausage img {
        width: 30vw;
        height: auto;
        display: block;
    }

    #sea-sausage.active {
        opacity: 1; /* Fully visible */
        transform: translateY(0%); /* Slide into view */
    }

#emily {
    display: block;
    position: fixed;
    right: 25px; /* 25 pixels from the right edge of the screen */
    top: 0; /* Start at the top of the viewport */
    transform: translateY(-100%); /* Initially completely off-screen at the top */
    border: 0;
    opacity: 0; /* Start as invisible */
    z-index: 1; /* Higher than the map's z-index */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    #emily img {
        width: 30vw;
        height: auto;
        display: block;
    }

    #emily.active {
        opacity: 1; /* Fully visible */
        transform: translateY(0); /* Slide down into view */
    }



#close-btn-stats {
    display: block;
    padding-bottom: 3px;
}


#menuButtonContainer {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

    #menuButtonContainer.active {
        opacity: 1; /* Fully visible */
        transform: translateX(0%); /* Move into view */
    }

/* Side menu container */
.side-nav {
    width: 0;
    height: auto;
    position: fixed;
    z-index: 1;
    top: 15%;
    left: 0;
    background-color: rgba(211, 211, 211, 0.5);
    border: 2px solid black;
    overflow-x: hidden;
    padding-top: 5px;
    padding-bottom: 20px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    white-space: nowrap;
    display: block;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.5s ease, opacity 0.5s ease, width 0.5s ease;
}

    /* When minimized */
    .side-nav.minimized {
        width: 0; /* Collapsed container */
        overflow: visible; /* Allow the hamburger to show */
        background-color: transparent;
        border: none;
    }

        .side-nav.minimized .closeMenu {
            display: none;
        }

.menu-item-container {
    transition: opacity 0.5s ease;
}


/* Hamburger tab styling remains the same */
.minimized-tab {
    position: absolute;
    top: 50%;
    right: -30px; /* Adjust so it sticks out */
    transform: translateY(-50%);
    width: 30px;
    height: 50px;
    background-color: #016890; /* Your desired color */
    border: 2px solid #fff; /* White border */
    border-radius: 0 5px 5px 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Space between bars */
    cursor: pointer;
}

    .minimized-tab .bar {
        width: 20px;
        height: 3px;
        background-color: #fff;
    }

/* Optional: Slide-down animation for menu items */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item-container.slide-down {
    animation: slideDown 0.3s ease forwards;
}


#loading {
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    position: absolute;
}

.loader {
    width: 300px;
    height: 300px;
    border: 0px solid #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center; /* Center the image vertically */
    justify-content: center; /* Center the image horizontally */
    position: fixed;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
    top: calc(50% - 150px);
    left: calc(50% - 150px);
    transform: translate(-50%, -50%);
    z-index: 100;
}

    .loader img {
        width: 100%; /* Adjust as needed */
        height: auto; /* Maintain aspect ratio */
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px; /* Reduced width */
    height: 24px; /* Reduced height */
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0s;
    transition: 0s;
    border-radius: 24px; /* Adjusted for smaller height */
}

    .slider:before {
        position: absolute;
        content: "";
        height: 18px; /* Reduced knob height */
        width: 18px; /* Reduced knob width */
        left: 3px; /* Adjusted position */
        bottom: 3px; /* Adjusted position */
        background-color: white;
        -webkit-transition: 0s;
        transition: 0s;
        border-radius: 50%; /* Rounded knob */
    }

input:checked + .slider {
    background-color: #016890;
}

    input:checked + .slider:before {
        -webkit-transform: translateX(16px); /* Adjusted for smaller width */
        -ms-transform: translateX(16px);
        transform: translateX(16px);
    }

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }


.toggle-container {
    display: flex;
    align-items: center;
    background-color: rgba(211, 211, 211, 0.7);
    border: 1px black solid;
    border-radius: 5px;
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.toggle-text {
    margin-left: 10px;
}

.menu-item-container {
    display: none;
    align-items: center;
    background-color: rgba(211, 211, 211, 0);
    border: none;
    padding: 5px;
}

@keyframes slideDown {

    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-down {
    animation: slideDown 0.3s ease forwards;
}


.toggle-boat-container {
    display: flex;
    align-items: center;
    background-color: rgba(211, 211, 211, 0.7);
    border: 1px black solid;
    border-radius: 5px;
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.toggle-boat-text {
    margin-left: 10px;
}

.additional-checkbox {
    margin-left: 10px;
}


#layerMenuSubSub {
    padding: 5px;
    display: inline-block; /* Make the menu only as wide as its content */
    position: absolute; /* Position it absolutely to avoid affecting layout */
    visibility: hidden; /* Initially hidden */

    z-index: 1000; /* Ensure it's on top */
}

#layerMenuSub {
    padding: 5px;
    display: inline-block; /* Make the menu only as wide as its content */
    position: absolute; /* Position it absolutely to avoid affecting layout */
    visibility: hidden; /* Initially hidden */

    z-index: 1000; /* Ensure it's on top */
}

#layerMenu {
    padding: 5px;
    display: inline-block; /* Make the menu only as wide as its content */
    position: absolute; /* Position it absolutely to avoid affecting layout */
    visibility: hidden; /* Initially hidden */
    top: 0px; /* Position at the top */
    left: 0px; /* Position at the left */
    z-index: 1000; /* Ensure it's on top */
}

#layerButton {
    position: absolute; /* To position it precisely */
    top: 5px; /* 5px from the top */
    left: 5px; /* 5px from the left */
    z-index: 1000; /* Ensure it's on top */
    background-color: #016890; /* Background color */
    border: 1px solid black; /* 1px black border */
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    align-items: center;
}

    #layerButton .burger-icon {
        width: 16px; /* Set the width instead of the height to maintain aspect ratio */
        margin-right: 10px; /* Add some space between the icon and the text */
    }

@font-face {
    font-family: 'DIN-Condensed-Bold';
    src: url('../fonts/DIN-Condensed-Bold.ttf') format('truetype')
}

@font-face {
    font-family: 'caligraf';
    src: url('../fonts/Caligraf 1435.otf') format('opentype')
}

@font-face {
    font-family: 'galaxy';
    src: url('../fonts/SfDistantGalaxyItalic-WV3Y.ttf') format('truetype')
}

@font-face {
    font-family: 'FuturaBT ExtraBlack Italic';
    src: url('../fonts/FuturaBTExtraBlackItalic.otf') format('opentype')
}


.din-font-white {
    font-family: 'din';
    font-size: 16px;
    font-style: italic;
    font-weight: bold;
    color: white;
}

.din-condensed-black {
    font-family: 'din';
    font-style: italic;
    color: black;
}

.tooltip {
    position: relative;
    display: inline-block;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        max-width: 70%;
        background-color: #555;
        color: #fff;
        text-align: left;
        border-radius: 6px;
        padding: 0px;
        position: absolute;
        z-index: 1;
        font-size: smaller;
        margin: 5px;
    }

    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

/* Styles for larger screens */
@media screen and (min-width: 768px) {


    #statusUpdates, #status, #status_top {
        box-sizing: border-box;
        width: 400px;
    }

    #status, #status_top {
        /* Initial state: fully transparent */
        opacity: 0;
        /* Transition effect on the opacity property */
        transition: opacity 0.5s ease-in;
        transition: opacity 0.5s ease-out;
    }

    #statusUpdates {
        border: 2px black solid;
        position: fixed;
        width: 0px;
        bottom: 20%;
        right: 0px;
        padding: 15px;
        top: 53px;
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
        height: 70%;
        display: block;
        opacity: 0;
        transform: translateX(-100%); /* Start off-screen */
        transition: transform 0.5s ease, opacity 0.5s ease;
        z-index: 1;
    }

    .statusUpdates.active {
        opacity: 1;
        transform: translateX(0%); /* Move into view */
    }



    #status {
        position: absolute;
        width: 100%;
        height: 75%;
        right: 0px;
        padding: 15px;
        background-color: rgba(211, 211, 211, 0.7);
        overflow-y: scroll;
        border: none;
        border-bottom-left-radius: 10px;
        bottom: 0;
    }

    #status_top {
        position: absolute;
        width: 100%;
        height: 25%;
        right: 0px;
        padding-top: 5px;
        padding-right: 15px;
        padding-bottom: 5px;
        padding-left: 15px;
        background-color: rgba(211, 211, 211, 0.7);
        overflow-y: hidden;
        border: none;
        border-top-left-radius: 10px;
        justify-content: space-between;
        font-size: 25px;
        top: 0;
    }

    @keyframes slideLeft {
        from {
            opacity: 0;
            transform: translateX(100%);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .slide-left {
        animation: slideLeft 0.9s ease forwards;
    }

    @keyframes slideRight {
        from {
            opacity: 1;
            transform: translateX(0%);
        }

        to {
            opacity: 0;
            transform: translateX(100%);
        }
    }

    .slide-right {
        animation: slideRight 0.9s ease forwards;
    }


    #boat-info {
        border: 2px black solid;
        position: fixed;
        width: 0px;
        bottom: 20%;
        right: 0px;
        padding: 0px;
        padding-left: 10px;
        padding-bottom: 10px;
        top: 53px;
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
        display: block;
        opacity: 0;
        transform: translateX(-100%);
        transition: transform 0.5s ease, opacity 0.5s ease;
        z-index: 1;
        background-color: rgba(211, 211, 211, 0.5);
        overflow-y: hidden;
        height: max-content;
        max-width: 30vw;
        width: auto;
        pointer-events: none;
    }

    #imageContainer {
        height: max-content;
    }


    #boat-info p {
        margin: 2px 0;
    }

    #boat-info.active {
        pointer-events: auto;
    }

    .boat-facts {
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 5px;
        border: black solid 1px;
        font-size: 0.75rem; /* Compact font size */
        line-height: 1rem;
        width: fit-content;
        padding: 4px;
        font-family: din;
    }

    #info {
        position: absolute;
        width: 50px;
        height: 50px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }



    #nameParagraph {
        font-family: galaxy;
        font-size: 20px;
        height: max-content;
    }

    #passageSelect {
        background-color: rgba(211, 211, 211, 0.5);
        font-family: din;
    }

        #passageSelect option {
            background-color: rgba(211, 211, 211, 0.5);
            font-family: din;
        }

    #boat-details-div {
        background-color: black;
        font-size: 16px;
        color: lightgray;
        padding: 5px;
        cursor: pointer;
        scrollbar-width: thin;
        scrollbar-color: grey rgba(211, 211, 211, 0.5);
    }

        #boat-details-div::-webkit-scrollbar-thumb {
            background-color: grey;
            border-radius: 25px;
        }

        #boat-details-div::-webkit-scrollbar {
            width: 8px;
            background-color: rgba(211, 211, 211, 0.5);
        }

        #boat-details-div::-webkit-scrollbar-track {
            background-color: rgba(211, 211, 211, 0.5);
        }
}
/* Styles for smaller screens ****************************************/
@media screen and (max-width: 767px) {
    /* .side-nav {
        width: 0;
        height: auto;
        position: fixed;
        z-index: 1;
        bottom: 35px;
        left: 0;
        background-color: rgba(211, 211, 211, 0.5);
        border: 2px black solid;
        overflow-x: hidden;
        padding-top: 5px;
        padding-bottom: 20px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        white-space: nowrap;
        display: block; 
        opacity: 0; 
        transform: translateX(-100%); 
        transition: transform 0.5s ease, opacity 0.5s ease;
    }
       */
    #statusUpdates, #status, #status_top {
        box-sizing: border-box;
        width: 400px;
    }

    #status, #status_top {
        /* Initial state: fully transparent */
        opacity: 0;
        /* Transition effect on the opacity property */
        transition: opacity 0.5s ease-in;
        transition: opacity 0.5s ease-out;
    }

    #statusUpdates {
        border: 2px black solid;
        position: fixed;
        height: 40vh;
        width: 40vw;
        bottom: 0px;
        right: 10vw;
        padding: 0px;
        background-color: rgba(211, 211, 211, 0.7);
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        display: block;
        opacity: 0;
        transform: translateY(100%); /* Start below the screen */
        transition: transform 0.5s ease, opacity 0.5s ease; /* Animate transform and opacity */
        z-index: 1;
    }

        #statusUpdates.active {
            opacity: 1;
            transform: translateY(0%); /* Slide up into view */
        }


    #status {
        position: absolute;
        width: 100%;
        height: 57%;
        padding: 15px;
        background-color: rgba(211, 211, 211, 0.0);
        overflow-y: scroll;
        border: none;
        align-content: center;
        border-bottom-left-radius: 10px;
        bottom: 0;
    }

    #status_top {
        position: absolute;
        width: 100%;
        height: 43%;
        padding-top: 8px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 2px;
        background-color: rgba(211, 211, 211, 0.0);
        overflow-y: hidden;
        overflow-x: hidden;
        border: none;
        border-top-left-radius: 10px;
        justify-content: space-between;
        font-size: 25px;
        top: 0;
    }

    @keyframes slideLeft {
        from {
            opacity: 0;
            transform: translateY(100%); /* Start below the screen */
        }

        to {
            opacity: 1;
            transform: translateY(0); /* Slide up into view */
        }
    }

    .slide-left {
        animation: slideLeft 0.9s ease forwards;
    }

    @keyframes slideRight {
        from {
            opacity: 1;
            transform: translateY(0); /* Start in view */
        }

        to {
            opacity: 0;
            transform: translateY(100%); /* Slide down off-screen */
        }
    }

    .slide-right {
        animation: slideRight 0.9s ease forwards;
    }



    #boat-info {
        border: 2px black solid;
        position: fixed;
        bottom: 0px;
        right: 15%;
        padding: 0px;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        display: block;
        opacity: 0;
        transform: translateY(100%); /* Start below the screen */
        transition: transform 0.5s ease, opacity 0.5s ease; /* Animate transform and opacity */
        z-index: 1;
        padding: 5px;
        padding-bottom: 25px;
        background-color: rgba(211, 211, 211, 0.5);
        overflow-y: hidden;
        height: max-content;
        width: 70vw;
        max-width: 70vw;
    }

        #boat-info p {
            margin: 2px 0;
        }

        #boat-info.active {
            opacity: 1;
            transform: translateY(0%); /* Slide up into view */
        }

    #imageContainer {
        height: max-content;
    }



    #falken-patch img {
        height: 100px;
        cursor: pointer;
    }

    #isbjorn-patch {
        height: 100px;
        cursor: pointer;
    }

    .boat-facts {
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 5px;
        border: black solid 1px;
        font-size: 0.75rem; /* Compact font size */
        line-height: 1rem; /* Tighter line height */
        width: fit-content;
        padding: 2px;
        font-family: din, sans-serif;
        margin: 0; /* Remove extra spacing between elements */
    }

    #info {
        position: absolute;
        width: 50px;
        height: 50px;
        top: 50px;
        right: 0;
        display: none;
    }



    #nameParagraph {
        font-family: galaxy;
        font-size: 20px;
        height: max-content;
    }

    #passageSelect {
        background-color: rgba(211, 211, 211, 0.5);
        font-family: din;
    }

        #passageSelect option {
            background-color: rgba(211, 211, 211, 0.5);
            font-family: din;
        }

    #boat-details-div {
        background-color: black;
        font-size: 16px;
        color: lightgray;
        padding: 5px;
        cursor: pointer;
        scrollbar-width: thin;
        scrollbar-color: grey rgba(211, 211, 211, 0.5);
    }

        #boat-details-div::-webkit-scrollbar-thumb {
            background-color: grey;
            border-radius: 25px;
        }

        #boat-details-div::-webkit-scrollbar {
            width: 8px;
            background-color: rgba(211, 211, 211, 0.5);
        }

        #boat-details-div::-webkit-scrollbar-track {
            background-color: rgba(211, 211, 211, 0.5);
        }
}

.nameImg {
    height: auto; /* maintain aspect ratio */
    max-width: 75%; /* prevent overflow */
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.0);
    border-radius: 5px;
    border: black solid 0px;
    font-size: 0.75rem; /* Compact font size */
    line-height: 1rem; /* Tighter line height */
    width: fit-content;
    padding: 2px;
    font-family: din, sans-serif;
    margin: 0; /* Remove extra spacing between elements */
}

#countryContainer {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    display: block;
}

#countryParagraph {
    display: flex;
    flex-wrap: wrap; /* 💥 THIS enables wrapping */
    gap: 4px; /* optional spacing between items */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    overflow-y: auto;
    white-space: normal; /* allow breaking lines */
    word-break: break-word; /* wrap long names if needed */
    padding: 2px;
    max-height: 50px;
}

    #countryParagraph::-webkit-scrollbar {
        height: 6px;
    }

    #countryParagraph::-webkit-scrollbar-thumb {
        background: grey;
        border-radius: 3px;
    }

#status * {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}


#status::-webkit-scrollbar-thumb {
    background-color: grey;
    border-radius: 25px;
}

#status::-webkit-scrollbar {
    width: 8px;
    background-color: lightgray;
}

#status::-webkit-scrollbar-track {
    background-color: lightgray;
}

.iMarker {
    background-image: url('../img/isbjorn-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 73px;
    width: 86px;
    cursor: pointer;
    text-decoration-line: overline;
    object-fit: contain;
    top: 0;
    filter: opacity(85%);
}

.cMarker {
    background-image: url('../img/charter-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 73px;
    width: 86px;
    cursor: pointer;
    text-decoration-line: overline;
    object-fit: contain;
    top: 0;
    filter: opacity(100%) !important;
}
/*
.iMarker::before {
    content: "";
    background-image: url('../img/circle3px.png');
    background-size: contain;
    position: absolute;
    top: 0;
    right: 0px;
    bottom: -65px;
    left: -5px;
    opacity: 0.5;
    height: 28px;
    width: 28px;
    margin: auto;
}
*/

.fMarker {
    background-image: url('../img/falken-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 73px;
    width: 86px;
    cursor: pointer;
    text-decoration-line: overline;
    object-fit: contain;
    top: 0;
    filter: opacity(85%);
}

.fMarker, .iMarker, .cMarker {
    mix-blend-mode: normal !important;
}

/*
.fMarker::before {
    content: "";
    background-image: url('../img/pink_circle.png');
    background-size: contain;
    position: absolute;
    top: 0px;
    right: 0;
    bottom: -65px;
    left: -5px;
    opacity: 0.5;
    height: 28px;
    width: 28px;
    margin: auto;
}
    */
.timestamp {
    font-size: smaller;
}

.speed {
    font-size: smaller;
}

.coord {
    font-size: smaller;
}

.body {
    font-size: small;
}

.iPopup-container {
    align-content: start;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
    flex-direction: column;
}

#close-btn {
    top: 0;
    right: 0;
    height: 35px;
    width: 35px;
}

.close-btn {
    top: 0;
    right: 0;
    height: 30px;
    width: 30px;
    cursor: pointer;
}

.galaxy-font {
    font-family: 'galaxy';
    color: gray;
}


@font-face {
    font-family: 'din';
    src: url('../fonts/DINProBlack.otf') format('opentype')
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left {
    flex: 1;
    font-family: 'galaxy';
    color: black;
}

.right {
    flex: 1;
    text-align: right;
}


.f-status-marker {
    background-image: url('../img/star-contained.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 40px;
    width: 28px;
    cursor: pointer;
    text-decoration-line: overline;
    object-fit: contain;
    top: -15px;
}

.i-status-marker {
    background-image: url('../img/star-contained.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 40px;
    width: 28px;
    cursor: pointer;
    text-decoration-line: overline;
    object-fit: contain;
    top: -15px;
}

.current {
    flex: 1;
    border-radius: 5px;
    border: black solid 1px;
    width: 98%;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: white;
}

.current_content {
    font-size: 12px;
    color: black;
    text-align: left;
    width: 90%;
    padding: 5px;
    margin: 0px;
}

.current_content_right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    padding-left: 10px;
    width: 10%;
}

    .current_content_right img {
        width: 18px;
        height: auto;
        object-fit: cover;
        padding-right: 10px;
    }

.iLeft {
    flex: 1;
    font-family: 'FuturaBT ExtraBlack Italic';
    color: black;
}

#info-image {
    max-width: 17px;
    height: auto;
    object-fit: cover;
}

#flag {
    max-width: 18px;
    height: auto;
    object-fit: cover;
}

.flag {
    max-width: 18px;
    height: auto;
    object-fit: cover;
}

.flagContainer {
    display: flex;
    align-items: flex-end;
}

.flagLeft {
    text-align: left;
    width: 25% !important;
    font-size: smaller;
    font-family: DIN-Condensed-Bold;
}

.flagMiddle {
    text-align: center;
    width: 50% !important;
    font-size: 10px;
    font-family: 'din';
    color: black;
}

.flagRight {
    text-align: right;
    font-size: x-small;
    width: 25% !important;
}

.showOnMap {
    text-align: left;
    font-size: x-small;
    color: black;
    text-decoration: none;
}



.dinSpan {
    font-family: din;
    font-size: 10px;
}

.status-body {
    padding: 15px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 13px;
    text-align: left;
    margin-right: 5px;
}

.status-actions {
    display: flex;
    justify-content: space-between; /* Distribute space between items */
    align-items: center;
}

/* Container for thumbs up and react count */
.left-actions {
    display: flex;
    align-items: center;
}

/* Push comments to the right */
.right-actions {
    margin-left: auto;
    border: 1px;
    align-items: end
}

/* Optional styling for the comment span */
.status-comment {
    margin-right: 5px;
    align-self: end;
}

.somP {
    font-size: 12px;
    font-family: 'din';
}

.somPBody {
    font-size: 10px;
    font-family: 'din';
}

.din-font {
    font-family: 'din';
    color: black;
}

.country-name {
    margin-right: 16px;
}

#close-btn {
    margin-left: 10px;
    cursor: pointer;
}

.boat-info-heading {
    cursor: pointer;
}

.bordered-text {
    border: 1px solid black;
    padding: 5px;
}

.highlight-text {
    background-color: yellow;
    font-weight: bold;
}

.small-text {
    font-size: 10px;
}

.medium-text {
    font-size: 12px;
}

.gradient-container {
    background: linear-gradient(to bottom, lightgray, white, beige);
}

.passage-datalist {
    max-height: 200px;
    overflow-y: auto;
    font-family: din;
}

.din-font-black {
    font-family: 'din';
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    color: black;
}

.galaxy-font-black {
    font-family: galaxy;
    font-size: 14px;
    font-weight: bold;
    color: #3E424B;
}

.caligraf-font-black {
    font-family: caligraf;
    font-size: 14px;
    color: black;
}

#changeIconBtn {
    padding: 10px;
    font-size: 14px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    #changeIconBtn:hover {
        background-color: #0056b3;
    }

.noonMarker {
    display: block; /* or inline-block */
    width: 8px; /* Adjust size as necessary */
    height: 8px; /* Adjust size as necessary */
    /* Add any additional styling as needed */
}

.ports-marker {
    display: none;
}



.side-nav.active {
    opacity: 1; /* Fully visible */
    transform: translateX(0%); /* Move into view */
}
/* Menu item styling */
.side-nav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    color: black;
    display: block;
    transition: 0.3s;
}

    /* Change color on hover */
    .side-nav a:hover {
        color: #f1f1f1;
    }

.side-nav hr {
    border: none;
    height: 1px;
    background-color: #fff; /* or any color that suits your design */
    margin: 10px 0;
    opacity: 0; /* Start with placeholder hidden */
    transition: opacity 0.3s ease;
}

.menuButton {
    background-color: #016890; /* Button background color */
    color: white; /* Text color */
    border: 2px solid black; /* 1px black border */
    padding: 5px 10px; /* Padding for button size, adjust as needed */
    text-align: center; /* Center the text inside the button */
    text-decoration: none; /* Remove any underline from text */
    display: inline-block; /* Aligning the button correctly */
    margin: 6px 2px; /* Margin around the button */
    cursor: pointer; /* Cursor to pointer to indicate it's clickable */
    border-radius: 4px; /* Slight rounding of corners */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
    position: relative;
}

    .menuButton:hover {
        background-color: #005d81; /* Slightly darker color on hover */
    }

.selected {
    background-color: #016890; /* Button background color */
    color: white; /* Text color */
    padding: 5px 10px; /* Padding for button size, adjust as needed */
    text-align: center; /* Center the text inside the button */
    text-decoration: none; /* Remove any underline from text */
    display: inline-block; /* Aligning the button correctly */
    margin: 4px 2px; /* Margin around the button */
    cursor: pointer; /* Cursor to pointer to indicate it's clickable */
    border-radius: 4px; /* Slight rounding of corners */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
    position: relative;
    border: 3px solid white;
}

    .selected:hover {
        background-color: #005d81; /* Slightly darker color on hover */
    }

.glow {
    box-shadow: 0 0 25px 5px white;
}

.no-border {
    border: none;
}

.logs-close-btn {
}


.marker-glow-falken {
    display: block;
    animation: pulseGlowFalken 2s infinite;
}

@keyframes pulseGlowFalken {
    0%, 100% {
        box-shadow: 0 0 5px 2px rgba(249, 0, 137, 0.6);
    }

    50% {
        box-shadow: 0 0 15px 5px rgba(249, 0, 137, 0.9);
    }
}


.marker-glow-isbjorn {
    display: block;
    animation: pulseGlowIsbjorn 2s infinite;
}

@keyframes pulseGlowIsbjorn {
    0%, 100% {
        box-shadow: 0 0 5px 2px rgba(0, 104, 145, 0.6);
    }

    50% {
        box-shadow: 0 0 15px 5px rgba(0, 104, 145, 0.9);
    }
}

.marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #F90089; /* Default color */
    display: none; /* Initially hidden */
}

.marker-glow-icebear {
    display: block;
    animation: pulseGlowIcebear 2s infinite;
}

@keyframes pulseGlowIcebear {
    0%, 100% {
        box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6);
    }

    50% {
        box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.9);
    }
}

.status-select {
    border-radius: 5px; /* Adjust the value to get the desired roundness */
    padding: 2px; /* Optional: add some padding for better appearance */
    border: 1px solid black;
    font-family: din;
    font-size: 10px;
    overflow-y: auto
}

.select-container {
    border: none;
    border-radius: 8px;
    background-color: transparent;
}

.current-position {
    font-family: DIN-Condensed-Bold;
}

.thumbsup-icon {
    height: 50px; /* Adjust size as needed */
    width: 50px; /* Adjust size as needed */
    transition: opacity 0.3s;
}

.clicked {
    opacity: 1; /* Fully opaque */
}

.not-clicked {
    opacity: 0.4; /* 40% transparency */
}
.dg.main,
.date-control {
    display: none !important;
}

/* ================================================================
   MAPBOX NAV-CONTROLS — blue pill with white icons
   ==============================================================*/

/* Wrapper (one pill that encloses every button) */
.mapboxgl-ctrl-group {
    background: rgba(1, 104, 144, 0.85);
    border: none;
    border-radius: 9999px; /* pill */
    overflow: hidden; /* hide square corners */
    box-shadow: 0 2px 4px rgba(0,0,0,.25);
}

    /* Generic button styling (zoom + compass) */
    .mapboxgl-ctrl-group button {
        width: 36px;
        height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: transparent;
        border: none;
        padding: 0;
        font-size: 22px;
        color: #fff;
        cursor: pointer;
        line-height: 1;
    }

/* Hide Mapbox’s built-in SVG sprite spans */
.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon,
.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon,
.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon,
.mapboxgl-ctrl-fullscreen-close .mapboxgl-ctrl-icon {
    display: none !important;
}

/* Zoom glyphs */
.mapboxgl-ctrl-zoom-in::before {
    content: '+';
}

.mapboxgl-ctrl-zoom-out::before {
    content: '–';
}

/* Compass needle → white */
.mapboxgl-ctrl-compass-arrow {
    border-color: transparent transparent #ffffff;
}

/* Full-screen button (shares pill colour) */
.mapboxgl-ctrl-fullscreen,
.mapboxgl-ctrl-fullscreen-close {
    width: 36px;
    height: 36px;
    background: rgba(1, 104, 144, 0.85);
    border: none;
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    /* ⤢ expand   ⤡ collapse */
    .mapboxgl-ctrl-fullscreen::before {
        content: '⤢';
        font-size: 20px;
    }

    .mapboxgl-ctrl-fullscreen-close::before {
        content: '⤡';
        font-size: 20px;
    }
