
.globalRowRule {
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.bodyRowRule{
    display: flex;
    align-items: center;
    flex: 0 0 auto; /* Prevent shrinking or growing */
    min-width: 100%; /* Ensure rows span the full width of the container */
    width: max-content; /* Match content width */

}


/*Header*/
.row1 {
    height: 120px;
}

/*Body*/
.row2 {
    height: 65px;

}
/*Empty row*/
.row5 {
    height: 20px;
}

/*Rest body*/
.row3, .row4, .row6, .row7, .row8, .row9, .row10, .row11, .row12, .row13, .row14 {
    height: 65px;

}


.row1Headerr {

    display: flex;
    flex-direction: column;
}


.planHeaderr, .milepelHeader {
    flex: 1;
}

.row1Column1Empty {
    flex: 2;


}

.textSize {
    font-size: 11px;
    line-height: 15px;
    padding-left: 15%;
    /*padding-right: 20%;*/
}

.italicHeader{
    font-style: italic;
}

.milepelHeader {
    padding-left: 15%;

}

.planHeader {
    display: flex;

}

.planEmpty {

    display: flex;
    flex: 3;
}

.planNamed {

    display: flex;
    flex: 1;
}


.vb-for-pb-logo {
    width: 230px;
    transition: box-shadow 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}

.vb-for-pb-logo:hover {
    box-shadow: 0 0 15px rgba(100, 100, 100, 0.5); /* Soft gray shadow */
    border-radius: 8px; /* Slightly rounded corners */
}


.statistikkLogo {
    width: 300px;
    transition: box-shadow 0.3s ease-in-out, border-radius 0.3s ease-in-out;


}

.statistikkLogo:hover {
    box-shadow: 0 0 15px rgba(100, 100, 100, 0.5); /* Soft gray shadow */
    border-radius: 8px; /* Slightly rounded corners */
}


/*Main table structure -----------------------------------*/
.tableContainer {
    display: flex;

}

#tableHeader {

    flex: 1;
    margin-right: 1px;
    flex-shrink: 0;
}

#tableBody {
    flex: 6;
    min-width: 0;
    width: 100%;


}

/*-------------------------------------------------*/

.tableBorder {

    border: 1px solid black;

}

.headerColumn1 {
    border: 1px solid #5b8ee3;
}

.bodyColumn1 {
    border-top: 1px solid #5b8ee3;
    border-right: 1px solid #5b8ee3;
    border-bottom: 1px solid #5b8ee3;


}

.row2, .row3, .row4, .row5, .row6, .row7, .row8, .row10, .row11, .row12, .row13, .row14 {
    margin-bottom: 1px;
}

/*Layout colours*/

.row2, .row5, .row8, .row9, .row14 {

    background-color: #B9BBB7;
}

.row3, .row4, .row6, .row12, .row13 {
    background-color: #C9D2E5;

}

.row7, .row10, .row11 {

    background-color: #F8B887;
}

.boldText{

    font-weight: bold;

}

.bodyColumn{
    display: flex;
    flex-direction: column;
    width: 72px;
    border-right: 1px solid #5b8ee3;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    flex-shrink: 0;
}

.more-layout{

}

.pb-stage-light{

    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lightDate{
    font-family: "Taviraj", serif ;
    font-size: 9px;
    font-weight: bold;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.planNavnSection{
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 5px;

}

/*
.planNavnSection > span {

    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.planNavnSection > span > a {

    display: flex;
    justify-content: center;
    align-items: flex-end;
}  */


.statusLightSection{
    width: 100%;
    flex: 5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.omradeSection{
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
}
.bodyRow1Text{

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bodyRow1Text > a {
    word-wrap: break-word;
    overflow-wrap: break-word; /* Ensures words break if needed */
    font-size: 10px;
    white-space: normal; /* Allows text to wrap */
    display: inline-block; /* Ensures it respects container width */
    max-width: 100%; /* Ensures it doesn't overflow */
    text-align: center; /* Centers text */
    line-height: 1.2; /* Improves readability */
    height: auto; /* Prevents unnecessary height restriction */
}



.planLink{

    color: #393939;
}

a.planLink:hover {
    color: #6565e4;
}

.redLight, .yellowLight, .greenLight, .the-status-redlight{
    width: 50px;

}

/*Milepel lights*/
.greenWalk{
    height: 35px;
    width: auto;


}

.pendingLight{

    height: 40px;

}




/*Horisontal scroll*/

/*Red stage light tooltip*/
/* Custom Red Tooltip Theme */
.tippy-box[data-theme~='red-theme'] {
    font-family: "Taviraj", serif ;
    background-color: #e53e3e !important; /* Red background */
    color: white !important; /* White text */
    border-radius: 6px;
    font-size: 13px;
    padding: 10px;
    text-align: left; /* ✅ Ensure text is aligned to the left */
    max-width: 250px; /* ✅ Prevents tooltips from being too wide */
    word-wrap: break-word; /* ✅ Wraps long words */
}

/* Style the bold "Årsak" title */
.tippy-box[data-theme~='red-theme'] strong {
    font-weight: bold; /* ✅ Bold "Årsak" title */
    display: block; /* ✅ Ensures it appears on a separate line */
    margin-bottom: 2px; /* 🔥 Tight spacing before the list */
}

/* Style the unordered list inside the tooltip */
.tippy-box[data-theme~='red-theme'] ul {
    padding-left: 15px; /* ✅ Proper indentation for bullets */
    margin: 0; /* 🔥 Removed ALL margin to eliminate space */
    list-style-type: disc; /* ✅ Uses bullet points */
}

/* Style the list items inside the tooltip */
.tippy-box[data-theme~='red-theme'] li {
    font-size: 13px; /* ✅ Adjusted font size for readability */
    line-height: 1.3;
    margin-bottom: 2px; /* 🔥 Reduced gap between list items */
}

/* Red Tooltip Arrow */
.tippy-box[data-theme~='red-theme'][data-placement^='top'] .tippy-arrow::before {
    border-top-color: #e53e3e !important;
}

.tippy-box[data-theme~='red-theme'][data-placement^='bottom'] .tippy-arrow::before {
    border-bottom-color: #e53e3e !important;
}

.tippy-box[data-theme~='red-theme'][data-placement^='left'] .tippy-arrow::before {
    border-left-color: #e53e3e !important;
}

.tippy-box[data-theme~='red-theme'][data-placement^='right'] .tippy-arrow::before {
    border-right-color: #e53e3e !important;
}


.tippy-box[data-theme~='red-theme'] strong {
    font-weight: bold;
    display: inline; /* ✅ Ensures it's inline */
    margin-bottom: 0 !important; /* ✅ Prevents extra space */
    padding: 0 !important; /* ✅ Resets any unwanted padding */
}




/* Blue Theme Tooltip */
.tippy-box[data-theme~='blue-theme'] {
    background-color: #4141ff;
    color: white;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
    text-align: center;
}

/* Tooltip Arrow */
.tippy-box[data-theme~='blue-theme'] .tippy-arrow {
    color: #4141ff;
}

/* Styling for Område Tooltip Text */
.omrade-tooltip {
    cursor: pointer;
    font-family: "Taviraj", serif ;
    font-size: 10px;
    /*text-decoration: underline;*/
    /*color: #007BFF; */ /* A nice blue color */
    /*font-weight: bold;*/
}




/*Loadder */

/* Full-Screen Overlay */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out; /* Smooth fade-out */
}

/* Uiverse.io Spinner */
.pl {
    width: 6em;
    height: 6em;
}

.pl__ring {
    animation: ringA 2s linear infinite;
}

.pl__ring--a {
    stroke: #f42f25;
}

.pl__ring--b {
    animation-name: ringB;
    stroke: #f49725;
}

.pl__ring--c {
    animation-name: ringC;
    stroke: #255ff4;
}

.pl__ring--d {
    animation-name: ringD;
    stroke: #f42582;
}

/* Animations */
@keyframes ringA {
    from, 4% {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -330;
    }

    12% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -335;
    }

    32% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -595;
    }

    40%, 54% {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -660;
    }

    62% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -665;
    }

    82% {
        stroke-dasharray: 60 600;
        stroke-width: 30;
        stroke-dashoffset: -925;
    }

    90%, to {
        stroke-dasharray: 0 660;
        stroke-width: 20;
        stroke-dashoffset: -990;
    }
}

@keyframes ringB {
    from, 12% {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -110;
    }

    20% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -115;
    }

    40% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -195;
    }

    48%, 62% {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    70% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    90% {
        stroke-dasharray: 20 200;
        stroke-width: 30;
        stroke-dashoffset: -305;
    }

    98%, to {
        stroke-dasharray: 0 220;
        stroke-width: 20;
        stroke-dashoffset: -330;
    }
}

@keyframes ringC {
    from {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: 0;
    }

    8% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -5;
    }

    28% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -175;
    }

    36%, 58% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    66% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    86% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -395;
    }

    94%, to {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -440;
    }
}

@keyframes ringD {
    from, 8% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: 0;
    }

    16% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -5;
    }

    36% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -175;
    }

    44%, 50% {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -220;
    }

    58% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -225;
    }

    78% {
        stroke-dasharray: 40 400;
        stroke-width: 30;
        stroke-dashoffset: -395;
    }

    86%, to {
        stroke-dasharray: 0 440;
        stroke-width: 20;
        stroke-dashoffset: -440;
    }
}

/* Hide content initially */
.content {
    display: none;
}

/* Styles for tippy themes */
.tippy-box[data-theme~='red-theme'] {
    background-color: #ffeeee;
    color: #333;
    border: 1px solid #ff6666;
}

.tippy-box[data-theme~='red-theme'] .tippy-arrow {
    color: #ff6666;
}

.tippy-box[data-theme~='yellow-theme'] {
    background-color: #fffbea;
    color: #333;
    border: 1px solid #ffcc00;
}

.tippy-box[data-theme~='yellow-theme'] .tippy-arrow {
    color: #ffcc00;
}

.tippy-box[data-theme~='green-theme'] {
    background-color: #eaffee;
    color: #333;
    border: 1px solid #33cc33;
}

.tippy-box[data-theme~='green-theme'] .tippy-arrow {
    color: #33cc33;
}

.tippy-box[data-theme~='blue-theme'] {
    background-color: #eef6ff;
    color: #333;
    border: 1px solid #3388cc;
}

.tippy-box[data-theme~='blue-theme'] .tippy-arrow {
    color: #3388cc;
}

/* Custom tooltip styles */
.tippy-box {
    font-size: 14px;
    max-width: 250px !important;
}

.tippy-box ul {
    margin: 5px 0;
    padding-left: 20px;
}

.tippy-box li {
    margin-bottom: 3px;
}

/* Styles for the plan name section */


/* Make sure the plan name has enough space */
.bodyRow1Text {
    margin-bottom: 4px;
}


.bodyColumn a.planLink {
    display: block;
    text-align: center;
    padding-left: 2px;
    padding-right: 2px;
    width: 100%;
    box-sizing: border-box;
}

/* Fix for header cell text alignment */
.planNavnSection {
    text-align: center;
    padding-left: 2px;
    padding-right: 2px;
}

/* Center traffic lights */
.statusLightSection img {
    display: block;
    margin: 0 auto;
}

/* Make plan names more consistent */
th a, td a {
    text-align: center;
    display: block;
    padding: 0 5px;
}

/* Ensure consistent spacing for all header text */
#bodyRow1 .bodyColumn .planNavnSection .bodyRow1Text {
    width: 100%;
    text-align: center;
    padding: 0 1px;
    box-sizing: border-box;
}

/* Center all plan name links */
.bodyRow1Text a {
    text-align: center;
    width: 80%;
    display: block;
    margin: 0 auto;
}






