
.marker:hover{
    z-index: 999999;
}

h2{
    font-size: 20px;
    padding: 5px;
    margin: 0px;
    text-align: center;
    line-height: 1.1;
} 
.subheading{
    font-size: 15px;
    padding: 5px;
    margin: 0px;
    text-align: center;

    display: block;
}

.clusterMarker{
    background-color: #d84627;
    border-radius: 20px;
    text-align: center;
    min-width: 20px;
    height: 20px;
    border:1px solid white;
    color:white;
    font-size:13px;
    padding:2px;
    cursor: pointer;
}

.maplibregl-popup-close-button{
    display: none;
}

.maplibregl-popup-content{
    border-radius: 5px;
    padding: 0px !important;
    overflow-y: auto;
    background-color: white !important;
    min-height: 30px;
    max-height: 200px;
    border: 1px solid white;
    color: Black;
    font-size: 13px;
    overflow: auto;
    padding: 2px;
    line-height: 110%;

        /* Style the scrollbar track (background) */
        &::-webkit-scrollbar {
            width: 8px; /* Adjust the width of the scrollbar */
        }

        /* Style the scrollbar handle */
        &::-webkit-scrollbar-thumb {
            background-color: white; /* Color of the scrollbar handle */
            border-radius: 4px; /* Optional: Adds rounded corners to the scrollbar handle */
        }

        /* Style the scrollbar track */
        &::-webkit-scrollbar-track {
            background: #d84627; /* Background color of the scrollbar track */
        }

        /* Remove the scrollbar buttons (arrows) */
        &::-webkit-scrollbar-button {
            display: none;
        }
}

.maplibregl-popup-close-button{
    color: white;
}

.journeySummaryTable {
    max-width: 300px;
    background-color: #d84627;
    
}

.jstRow {
    transition-duration: 300ms;
    display: grid;
    grid-template-columns: 80% 20%;
    grid-template-rows: auto;
    grid-template-areas:
        "title distance";
    gap: 5px;
    padding: 5px 5px 5px 15px;
    cursor: pointer;
}

.jstRow:hover {
    background-color: #dd5436;
}

.jstTitle {
    grid-area: title;
}

.jstDistance {
    grid-area: distance;
}

.jstTime {
    grid-area: time;
}


.jstRow:hover .jstImages {
    display: flex;
}


.trackhead{
    transition-duration: 300ms;
    border-radius: 25px 28px 33px 0;
    background-color: #d84627;
    width: 33px;
    height: 34px;
    transform: rotateY(0deg) rotate(-45deg)  translate(50%, -50%) !important;
    border:3px solid white;
    color:white;
    font-size:13px;
    overflow:hidden;
    padding:2px;
    line-height:90%;
    cursor: pointer;
    
    
}

.journeySummaryTableSummaryTab{
    transition-duration: 500ms;
    width: 200px !important;
    border-radius: 7px 7px 7px 0;
    height: 70px;
    max-height: 0px;
    min-height: 0px;
    line-height:110%;
    z-index: -1;
    border:3px solid white;
    color:white;
    font-size:13px;
    overflow: unset;
    background-color: #d84627;
    position:fixed;
    top: 10px;
    left: 0px;
}

.journeySummaryTableSummaryTab:hover{
    top:-70px;
}


.trackhead:hover{
    width: 200px;
    border-radius: 7px 7px 7px 0;
    height: unset;
    min-height: 61px;
    transform: rotateY(0deg) rotate(0deg)  translate(50%, -50%) !important;
    line-height:110%;
    z-index: 9999999;
    overflow: unset;
}

    

.journeySummaryTableSummaryTab, .trackhead:hover .journeyTitle{
   padding: 5px;
   font-weight: bold;
}

.journeyClass{
    width: 0px;
    height: 0px;
    float: left;
}

.trackhead:hover .journeyClass, .journeySummaryTableSummaryTab .journeyClass {
    transition-duration: 300ms;
    width: 30px;
    height: 30px;
    padding: 5px;    
}

.journeyImage{
    transition-delay: 5000ms;
    transition-duration: 2000ms;
    width: 0px;
    height: 0px;
    visibility:hidden;
    display:none;
    padding: 0;
    float: right;
    margin: -2px;
    border-radius: 0 4px 4px 0;
    padding-left:5px;            
}

.journeySummaryTableSummaryTab .journeyImage, .trackhead:hover .journeyImage{
    display:block;
    visibility:unset;
    width: 65px;
    height: 65px;
    background-size: cover;
}


.journeyTime{
    font-size: 0px;
    padding: 5px 5px 5px 0px;
}

.journeySummaryTableSummaryTab .journeyTime, .trackhead:hover .journeyTime{
    transition-delay: 200ms;
    transition-duration: 200ms;
    font-size: 11px;
}

.trackhead:before{
    content: '';
    padding: 35px;
    left: -40px;
    bottom: 0px;
    display: block;
    float: left;
    position: absolute;   
}



/* The Modal (background) */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
}

/* Modal Content */
.modal-content {
position: fixed;
left: 50%;
transform: translateX(-50%);
background-color:  rgba(0,0,0,0.5);
padding: 5px;

box-shadow: 0 0 30px 30px   rgba(0,0,0,0.5);
border-radius: 10px;
text-align: center;
font-size: larger;
color: white;
user-select: none;
}
