html {
  font-size: 14px;
}

.usn {
    -webkit-user-select: none;
    user-select: none;
}

.tag {
    display: inline-block;
    border-radius: 5px;
    padding: .5px 5px;
    background: grey;
}

@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 .header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.timeline {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    background-color: white;
    border-radius: 8px;
    gap: 1rem;
}

    .timeline .box {
        height: 18rem;
        width: 10rem;
        text-align: center;
        border-radius: 8px;
        background: #eee;
        line-height: 1.25;
        overflow: hidden;
    }
        .timeline .box > i {
            font-size: 2.3rem;
        }

    .timeline .add-overlay {
        border: 4px dashed #5c9aff;
        color: #5c9aff;
        cursor: pointer;
        background: white;
        font-weight: bold;
        padding: 4rem 0;
    }

    .timeline .overlay {
        background-color: white;
        position: relative;
        border: 1px solid #bfbfbf;
    }

        .timeline .overlay .controls {
            position: absolute;
            display: flex;
            flex-direction: column;
            text-align: center;
            padding: 0.6rem 1rem;
            gap: 0.5rem;
            bottom: 0;
            background: #eee;
        }

        .timeline .overlay input[type=number] {
            display: block;
            width: unset;
            min-width: unset;
            padding: .3rem 0;
            font-size: 2rem;
            width: 100%;
            text-align: center;
            font-weight: bold;
            border-radius: 4px;
        }

        .timeline .overlay > img {
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: top;
        }

.overlays {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    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);
    }
}


.dev-title {
    font-weight: bolder;
    margin: 1rem 1rem 2rem;
    text-shadow: 0 0 10px #e7e7e7;
}
.dev-hint {
    background: #d0e9ff;
    margin: 1rem 1rem 2rem;
    padding: 1rem;
    color: #5e7a95;
    border-radius: 6px;
}
    .dev-hint p {
        margin: 0;
    }

.dev-box {
    background: white;
    border-radius: 6px;
    padding: 2rem 2rem 1rem;
    margin: 2rem 1rem 2rem;
    box-shadow: 0 0 10px #e7e7e7;
}


.dropdown-active {
    position: relative;
    padding: 0 !important
}

    .dropdown-active .dropdown {
        position: relative;
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

        .dropdown-active .dropdown input {
            box-sizing: border-box;
            padding: 14px 20px 12px 14px;
            border: none;
            border-bottom: 1px solid #ddd;
            outline: 0;
            width: 100%;
        }

    .dropdown-active dropdown input:focus {
        outline: 3px solid #ddd;
    }

    .dropdown-active .dropdown-content {
        display: block;
        position: absolute;
        background-color: #f6f6f6;
        min-width: 100px;
        overflow: auto;
        border: 1px solid #ddd;
        z-index: 3;
        box-shadow: 0 12px 32px #c5c5c5;
        border-radius: 8px;
        top: -6px;
    }

        .dropdown-active .dropdown-content a {
            color: black;
            padding: 4px 16px;
            text-decoration: none;
            display: block;
            cursor: pointer;
        }

    .dropdown-active .dropdown a:hover {
        background-color: #f9ff4a;
    }




.loading-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




.tool-dd {
    display: flex;
    align-content: center;
    align-items: center;
}

.tool-icon {
    height: 40px;
    width: 40px;
    margin-right: 1rem;
}
