/* _content/TUM.ITM.Status/Components/Layout/MainLayout.razor.rz.scp.css */
/* Base styles */
body[b-q8ikpay2ei], html[b-q8ikpay2ei] {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Header and footer styles */
header.navbar[b-q8ikpay2ei] {
    background-color: #00428b;
    color: white;
    padding: 10px;
}

footer.container-xl[b-q8ikpay2ei] {
    /*background-color: #00428b;*/
    color: white;
    padding: 10px;
}

.text-end[b-q8ikpay2ei] {
    text-align: right;
}

main[b-q8ikpay2ei] {
    display: grid;
    grid-template-columns: 1fr minmax(0, min(90%, 1000px)) 1fr;
    grid-template-rows: auto 1fr;
    height: 100vh;
    overflow: auto;
}

.content[b-q8ikpay2ei] {
    grid-column: 2 / 3;
    grid-row: 2;
    margin: 5px;
}

header[b-q8ikpay2ei] {
    grid-column: 2 / 3;
    grid-row: 1;
    display: flex;
    justify-content: space-between; /* Optional: Adjust alignment as needed */
    align-items: center;
    margin: 10px;
}

.navbar-bg[b-q8ikpay2ei] {
    grid-column: 1 / 4;
    grid-row: 1;
    background-color: #00428b;
}

.content .d-block .d-flex .col[b-q8ikpay2ei] {
    display: block; /* Sicherstellen, dass jeder Link eine eigene Zeile hat */
    margin: 1px 0; /* Minimaler Abstand zwischen den Zeilen */
    line-height: 1.2; /* Optional: Zeilenhöhe anpassen */
}
/* _content/TUM.ITM.Status/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-30fsnqhiyp] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-30fsnqhiyp] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-30fsnqhiyp] {
    height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.4);
}

.navbar-brand[b-30fsnqhiyp] {
    font-size: 1.1rem;
}

.bi[b-30fsnqhiyp] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-30fsnqhiyp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-30fsnqhiyp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-30fsnqhiyp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-30fsnqhiyp] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-30fsnqhiyp] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-30fsnqhiyp] {
    padding-bottom: 1rem;
}

.nav-item[b-30fsnqhiyp]  .nav-link {
    color: #d7d7d7;
    background: none;
    border: none;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
}

.nav-item[b-30fsnqhiyp]  a.active {
    background-color: rgba(255, 255, 255, 0.37);
    color: white;
}

.nav-item[b-30fsnqhiyp]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-scrollable[b-30fsnqhiyp] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-30fsnqhiyp] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-30fsnqhiyp] {
        display: none;
    }

    .nav-scrollable[b-30fsnqhiyp] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/TUM.ITM.Status/Components/Pages/Edit.razor.rz.scp.css */
.button-group[b-204m2n0l94] {
    display: flex;
    gap: 0.5rem; /* Abstand zwischen den Buttons */
    margin-top: 1rem; /* Oberer Abstand zu den vorherigen Eingabefeldern */
}
/* _content/TUM.ITM.Status/Components/Pages/Home.razor.rz.scp.css */
.btn-link-header[b-5lkj5acl6v] {
    background: none;
    border: none;

}

/*
 html, body {
     height: 100%;
     margin: 0;
     display: flex;
     flex-direction: column;
 }
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    color: #003359;
}

.content {
    text-align: left; /* Ensure text is left-aligned 
}




.left-section {
    flex: 1;
}

.center-section {
    text-align: center;
    flex: 1;
}

.right-section {
    flex: 1;
    text-align: right;
}

.right-section a {
    margin-left: 15px;
    color: #003359;
    text-decoration: none;
}

.right-section a:hover {
    text-decoration: underline;
}

.title {
    font-size: 16px;
    color: #003359;
    margin: 0; /* Remove default margin 
}

.subtitle, .institution {
    font-size: 14px;
    color: #003359;
    margin: 0; /* Remove default margin 
}

.subtitle {
    margin-top: 5px;
}

.institution {
    margin-top: 5px;
}

.logo img {
    height: 40px; /* Adjust the size of the logo 
}
  */

/*
 html, body {
     height: 100%;
     margin: 0;
     display: flex;
     flex-direction: column;
 }

.content-wrapper {
    flex: 1;
    /* Ensures that the footer is pushed to the bottom 
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    color: #003359;
}

.left-section {
    flex: 1;
}

.center-section {
    text-align: center;
    flex: 1;
}

.right-section {
    flex: 1;
    text-align: right;
}

.right-section a {
    margin-left: 15px;
    color: #003359;
    text-decoration: none;
}

.right-section a:hover {
    text-decoration: underline;
}
  */
  
/* _content/TUM.ITM.Status/Components/Shared/EventEntryTableView.razor.rz.scp.css */
.outer-grid[b-rsddmpjwo5] {
    display: grid;
    gap: 10px;
    grid-template-columns: 
            [entry-start] 10px [serv-start prob-start dt-start] auto [dt-end d-start] 1fr [d-end prob-end serv-end] 10px [entry-end];
    grid-auto-flow: row;
    grid-auto-rows: auto;
}

.no-decoration[b-rsddmpjwo5] {
    color: inherit !important;
    text-decoration: inherit !important;
}

/*
Docs:
entry: Ganze Zeile einer Notification
serv: Service-Name
prob: Problem-Typ
dt: "Begin" oder "End"
d: Bei Mobile-Ansicht die Column in denen Start und Endzeit stehen; bei Desktop die Row
beg: Bei Mobile-Ansicht die Row für Startzeit; bei Desktop ansicht die Column
end2: Bei Mobile-Ansicht die Row für Endzeit; bei Desktop ansicht die Column

Mobile:
.   <Problemtyp     -       >   .   auto
.   bei <Service    -       >   .   auto
.   Begin:          <Start  >   .   auto
.   End:            <End    >   .   auto

10px auto           1fr         10px // Breite

Desktop:

.   Problem     Service     Start       End     .   auto  // Überschrift der Tabelle
.   <Problem>   <Service>   <Start>     <End>   .   auto
.   <Problem>   <Service>   <Start>     <End>   .   auto
        ......

10px 1fr       1fr           1fr       1fr     10px // Breite
      
Legende:
. (Punkt) : Leer
auto: So klein wie möglich
xfr: Übriger Platz * (x/summe aller fr)

 */


.table-headers[b-rsddmpjwo5] {
    display: none;
}


.table-body[b-rsddmpjwo5] {
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
}

.table-entry:nth-child(odd)[b-rsddmpjwo5] {
    background-color: #f9f9f9;
}

.table-entry:nth-child(even)[b-rsddmpjwo5] {
    background-color: #e9e9e9;
}

.table-entry[b-rsddmpjwo5] {
    border: 2px solid lightgrey;

    padding-top: 5px;
    padding-bottom: 5px;
    /*border: 1px solid black; !*TODO: Rand entfernen*!*/
    display: grid;
    grid-column: entry;
    grid-template-columns: subgrid;
    grid-template-rows: 
            [prob-start] auto [prob-end serv-start] auto [serv-end beg-start] auto [beg-end end2-start] auto [end2-end];

}

.entry-service[b-rsddmpjwo5] {
    grid-area: serv;

}

.entry-problemtype[b-rsddmpjwo5] {
    grid-area: prob;

}

.entry-date-text[b-rsddmpjwo5] {
    grid-column: dt;

}

.entry-date[b-rsddmpjwo5] {
    grid-column: d;

}

.entry-start[b-rsddmpjwo5] {
    grid-row: beg;

}

.entry-end[b-rsddmpjwo5] {
    grid-row: end2;

}

.entry-start-text[b-rsddmpjwo5] {
    grid-row: beg;
    grid-column: dt;

}

.mobile-bold[b-rsddmpjwo5] {
    font-weight: bold;
}


/*Breite Ansicht Ansicht*/
@media (width >= 700px) {
    .outer-grid[b-rsddmpjwo5] {
        grid-template-columns: [entry-start] 10px [prob-start] 1fr [prob-end serv-start] 1fr [serv-end beg-start] 1fr [beg-end end2-start] 1fr [end2-end] 10px [entry-end];
    }

    .table-headers[b-rsddmpjwo5] {
        display: grid;
        grid-row: 1;
        grid-column: 1 / 7;
        grid-template-columns: subgrid;
        grid-template-rows: auto;
        grid-auto-flow: column;
        font-weight: bold;
        background-color: #f0f0f0;
        padding: 10px;
    / border-bottom: 2 px solid #ccc;
    }

    .hide-desktop[b-rsddmpjwo5] {
        display: none;
    }

    .entry-date[b-rsddmpjwo5] {
        grid-row: d;
    }

    .entry-start[b-rsddmpjwo5] {
        grid-column: beg;
    }

    .entry-end[b-rsddmpjwo5] {
        grid-column: end2;
    }

    .table-entry[b-rsddmpjwo5] {
        grid-template-rows: [prob-start serv-start d-start] auto [prob-end serv-end d-end];
        grid-template-columns: subgrid;
    }

    .mobile-bold[b-rsddmpjwo5] {
        font-weight: revert;
    }
}
