﻿
.mud-table-cell {
    font-size: 1rem;
}
.mud-table-pagination {
    font-size: 1rem;
}

.mud-input-root {
    font-size: 1rem !important;
}

.cursor-pointer {
    cursor: pointer
}


/* Graph thingie */
.graph-header {
    padding: 0px 0px 16px 8px;
}

.footer, .header {
    margin: 0;
    padding: 0;
}

.shrink-margin-bottom {
    margin-bottom: -6px;
}

.caption-header, .caption-footer {
    min-width: calc(var(--row-header-size) - (var(--step-size) / 2));
    margin: 0;
    padding: 0;
}

.header-caption, .footer-caption {
    display: flex;
    flex-flow: row;
    gap:0;
}

.footer-table-td {
    
    height: 20px;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid #666;
    border-top: none;
}
.footer-table-td-last {
    height: 20px;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid #666;
    border-top: none;
    width: 5px;
    max-width: 5px;
}

.footer-table-td-caption {

    text-align: left;
    border: none;
    border-left: 1px solid transparent;
    margin: 0;
    border-spacing: 0;
    padding: 0;
    margin-left: -5px;
}
.footer-table-td-caption-last {
    text-align: left;
    width: 5px;
    border: none;
    border-left: 1px solid transparent;
    margin: 0;
    border-spacing: 0;
    padding: 0;
    margin-left: -5px;
}

.half-hour {
    height: 50%;
    display: flex;
    flex-flow: row;
    gap:0;
    width: 100%;
}

.quarter {
    height: 50%;
    display: flex;
    flex-flow: row;
    width: 100%;
}

.mark {
    border: none;
    border-right: 1px solid #888;
    width: 50%;
}

.empty {
    border: none;
    width: 50%;
}


.lane {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #666;
    position: relative;
}

.lane-caption {
    min-height: 50px;
    width: 0px;
    overflow: hidden;
    padding-top: 12px;
    padding-bottom: 1px;
    padding-left: 8px;
    color: black;
    background: yellow;
    text-align: center;
    font-size: 1.2em;
}

.hour-sep {
    position: absolute;
    margin: 0;
    padding: 0;
    border-right: 1px solid #666;
    height: 100%;
    display: flex;
}

.half-hour-sep {
    width: 50%;
    border-right: 1px #aaa solid;
    height: 100%;
}

.other-half-hour-sep {
    width: 50%;
    height: 100%;
}

.quarter-sep {
    width: 50%;
    background: #888;
    height: 100%;
    opacity: 0.1;
}

.graph-container {
    color: black;
    overflow-x: auto;
    padding: 0px 8px;
}

.graph-containerOutline {
    outline: 2px dashed blue;
}

.slot {
    background: gray;
    position: absolute;
    opacity: 0.8;
    height: 100%;
    border-radius: 3px;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slot:hover {
        opacity: 1;
    }


.slot-caption {
    height: 100%;
    padding-top: 10px;
    vertical-align: middle;
    text-align: center;
}


.pin-container {
    position: absolute;
    width: 40px;
    height: 40px;
}

.pin {
    width: 40px;
    height: 40px;
    background-color: #FF9800; /* orange färg */
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

    .pin::after {
        content: '';
        width: 0;
        height: 0;
        background-color: transparent;
        position: absolute;
        bottom: -9px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
        border-top: 15px solid #FF9800; /* Samma färg som pin */
    }

.pin-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

