﻿
/*avalability example visual*/

table.availability {
    border-collapse: collapse;
    margin: 1rem auto;
    font-family: Calibri, sans-serif;
    /*text-align: center;*/
    width: 450px;
}

    table.availability th, table.availability td {
        border: 1px solid #999;
        padding: 8px 10px;
    }

    table.availability th {
        background-color: #f2f2f2;
        font-weight: bold;
    }

.taken {
    background-color: #f8d7da; /* light red */
    color: #b00020;
}

.available {
    background-color: #d4edda; /* light green */
    color: #155724;
}

.lunch {
    background-color: #fff3cd; /* light yellow */
    color: #856404;
}

.blocked {
    background-color: #e2e3e5; /* gray */
    color: #383d41;
}

.not-enough {
    background-color: #f8d7da;
    color: #b00020;
}

.eligible {
    color: green;
    font-weight: bold;
}

.not-eligible {
    color: red;
    font-weight: bold;
}

/*end availability example visual*/

.w3-sidebar {
    overflow-y: auto;
    max-height: 100vh; /* Prevents it from extending beyond the screen */
}


.content-section {
    min-height: 800px;
}

#welcomelist a {
    font-size: 20px;
}

#welcomelist li {
    margin-bottom: 20px; /* Adjust the value to your desired spacing */
}

.w3-button {
    white-space: normal !important; /* Allow text wrapping */
    word-wrap: break-word !important; /* Break long words */
    text-align: left !important; /* Ensure text remains left-aligned */
    overflow-wrap: anywhere; /* Break text anywhere if needed */
}

/* Code Block Container */
.codeblockcontainer {
    padding-top: 10px; /* Adjust padding to prevent excess space */
    margin-bottom: 150px;
}

/* Code Block Styling */
.code-block {
    background-color: #f3fefd;
    padding: 5px; /* Reduce padding to minimize excess indentation */
    border: 1px solid #999999;
    border-radius: 5px;
    overflow-x: auto; /* Enables horizontal scrolling for long lines */
    font-family: monospace;
    white-space: pre; /* Ensures text does not wrap unless necessary */
    word-wrap: normal; /* Prevents forced wrapping */
    overflow-wrap: normal; /* Ensures words don't wrap unexpectedly */
}


/* Header for Code Block Title & Copy Button */
.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Align title on left, button on right */
    margin-bottom: 5px;
}



/* "Copy All" Button */
.copy-all-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

    .copy-all-btn:hover {
        opacity: 1;
    }

    /* Tooltip */
    .copy-all-btn::after {
        content: "Copy All";
        position: absolute;
        top: -25px;
        right: 0;
        background: black;
        color: white;
        padding: 4px 8px;
        font-size: 10px;
        border-radius: 3px;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .copy-all-btn.copied::after {
        content: "Copied!";
        visibility: visible;
        opacity: 1;
    }


/*.nextstepbutton {
    padding: 1px 6px;
    border: 1px outset;
    border-radius: 3px;
    color: white;
    background-color: dodgerblue;
    text-decoration: none;
}*/

/*whitetable*/

.whitetable {
   
    
    
}

    .whitetable table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
    }

    .whitetable th,
    .whitetable td {
        padding: 12px 16px;
        text-align: left;
        border: 1px solid #ccc;
    }

    .whitetable thead {
        background-color: white;
        font-weight: bold;
    }



.nav-link.active {
    color: #007bff;
    font-weight: bold;
    text-decoration: underline;
}





/********************media queries always go last **************/

@media (max-width: 1200px) {
    .whitetable {
        font-size: 9px;
    }
}

@media (max-width: 800px){
    
}

/* Responsive media query for small screens */
@media (max-width: 768px) {
    .codeblockcontainer {
        font-size: 9px;
        
    }

    .whitetable {
        display: none;
    }

    
}
