html {
  font-size: 14px;
}

.usn {
    -webkit-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}



.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


form div.form-group {
    margin-bottom: 1rem;
}

table tr td.num-spec
{
    font-weight: bolder;
}
    table tr td .num {
        padding: 4px;
    }
    table tr td .unit {
        font-size: 0.8rem !important;
        color: #6e7381;
        font-weight: 500;
    }
table tr td.null {
    color: #939393;
    font-weight: normal;
}

table .editable-cell:hover {
    background-color: #f0f0f0;
    cursor: text;
}

#status-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
}

.animation {
    margin-top: 3rem;
}

.timeline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    background-color: #eee;
    padding: .5rem;
    border-radius: 8px;
}

    .timeline .box {
        height: 8rem;
        width: 8rem;
        text-align: center;
        border-radius: 8px;
        margin-right: 1rem;
        
        padding: .2rem 1rem;
        line-height: 1.25;
    }
        .timeline .box > i {
            font-size: 2.3rem;
        }

.timeline .add-overlay {
    border: 4px dashed #5c9aff;
    color: #5c9aff;
    cursor: pointer;
    font-weight: bold;
}

    .timeline .overlay {
        background-color: white;
        cursor: pointer;
        box-shadow: 0 0 5px #80808030;
        position: relative;
    }

        .timeline .overlay > p {
            position: absolute;
            font-size: 3rem;
            text-align: center;
            z-index: 2;
            font-weight: bolder;
            color: white;
            text-shadow: 0 0 5px black;
        }

        .timeline .overlay > img {
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .overlays {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-content: flex-start;
            justify-content: flex-start;
        }

.overlay.selected {
    outline: 5px solid #3788ff;
}

.input-row {
    display: flex;
}
.input-row input {
    width: 12rem !important;
}

.input-row .small-input-preview {
    width: 14rem;
    margin-left: 2rem;
    background: white;
    border-radius: 8px;
    padding: 6px;
}

.data-updated {
    animation: outline-fade 2.5s ease-out forwards;
    outline-style: solid;
    border-radius: 2px;
}
@keyframes outline-fade {
    0% {
        outline-width: 0px;
        outline-color: rgba(74, 215, 24, 1);
    }
    8% {
        outline-width: 5px;
        outline-color: rgba(74, 215, 24, 1);
    }
    50% {
        outline-width: 5px;
        outline-color: rgba(74, 215, 24, 1);
    }
    100% {
        outline-width: 0px;
        outline-color: rgba(74, 215, 24, 0);
    }
}

