html {
  font-size: 14px;
}

@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;
}

.btn-primary {
    background-color: rgb(80, 154, 197);
}

main{
    background-image: url(../img/header_left.png);
    background-repeat:no-repeat;
    background-position: top left;
}

    main > h1 {
        padding:30px;
    }

    main > p {
        float:right;
    }

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'Doppio One', sans-serif;
    font-size: 1em;
    color: #3f484e;
    font-weight: 10;
    opacity: 0;
    animation: fadeIn 0.05s ease-in forwards;
}


@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

form {
    margin-bottom:20px;
}

h2 {
    color: rgb(80, 154, 197);
}

#labsc .navbar {
    box-shadow: 0px 0px 11px -4px rgba(37,141,251,0.66)
}

.navbar-nav {
    background-color: white;
}


#labsc .form-control:not(textarea) {
    max-width: 300px;
}


#labsc .form-control-inline {
    width: auto;
    display: inline;
    min-width:300px;
}

#labsc select.form-control-inline{
    width:20%;
}

#labsc .form-group{
    margin: 10px;
}

#labsc input[type="date"]{
    max-width:200px;
}

.with-tooltip {
    display:inline;
    margin-right:5px;
}

td:has([data-tooltip]) {
    white-space: nowrap;
}

#labsc a{
    color:black;
}

[required] {
    background-color: rgba(80, 154, 197, 0.2);
}

    [required][aria-invalid="false"] {
        background-color: lightgreen;
    }

    [required][aria-invalid="true"] {
        background-color: pink;
    }


td {
    text-align: left;
}

.custom-tooltip {
    background-color: white;
    border: 1px solid lightblue;
    border-radius: 5px;
    padding: 10px;
}


.checkboxcontainer {
    padding: 20px;
    border: 3px ridge rgb(80, 154, 197);
    border-radius: 5px
}

.checkboxcontainer h2 {
    transition: text-shadow 0.3s ease;
}

.checkboxcontainer:has(input[type="checkbox"]:checked) h2 {
    color:green;
}

    .checkboxcontainer:has(input[type="checkbox"]:checked) {
        border-color: green;
    }

.form-check-input:checked {
    background-color: green;
    border-color: lightgreen;
}
/*.form-check-input{
    width:30px;
    height:30px;
}*/
    /* Slider container */
    .slider-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 400px;
}
    /* Labels */
    .label-left, .label-right {
    transition: text-shadow 0.3s ease; /* Smooth transition for the shadow */
}
    /* Default text shadows */
    .label-left {
    text-shadow: none;
} .label-right {
    text-shadow: none;
}
    /* Slider styling */
    input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: transparent;
    margin: 0;
    padding: 0;
    position: relative;
    top: -2px;
}
    /* Track styling */
    input[type="range"]::-webkit-slider-runnable-track {
        width: 100%;
        height: 8px;
        background: lightgray;
        border-radius: 5px;
        transition: background 0.3s ease, opacity 0.3s ease;
    } .tristateswitch.voldoende::-webkit-slider-runnable-track {
        width: 100%;
        height: 8px;
        background: green; 
        border-radius: 5px;
    } .tristateswitch.onvoldoende::-webkit-slider-runnable-track {
        width: 100%;
        height: 8px;
        background: firebrick;
        border-radius: 5px;
    }
    /*    .tristateswitch:disabled::-webkit-slider-runnable-track {
        cursor : not-allowed;
    }
*/
    .tristateswitch:disabled::-webkit-slider-thumb, .tristateswitch:disabled::-webkit-slider-runnable-track {
    cursor: not-allowed;
}
    /*
    input[type="range"]::-moz-range-track,
    input[type="range"]::-ms-track {
        width: 100%;
        height: 8px;
        background: linear-gradient( to right, red 0%, gray 50%, green 100% );
        border-radius: 5px;
        border: none;
    }*/
    /* Thumb styling */
    .tristateswitch::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    top: -6px;
} .tristateswitch::-moz-range-thumb, .tristateswitch::-ms-thumb {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    top: -6px;
} 
  
 .disabled{
    opacity: 0.5;
}


#columnConfigFormContainer {
    margin-top: 100px;
    background-image: url(../img/header_left.png);
    background-repeat: no-repeat;
    background-position: top left;
}

#columnConfigForm {
    padding-left: 30px;
}

#columnConfigForm h4 {
    padding-bottom:30px;
    padding-top: 30px;
}

/* Bootstrap 4-style form-inline compatibiliteit */
.form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

    .form-inline label {
        margin-bottom: 0;
        margin-right: 0.5rem;
    }

    .form-inline .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
        margin-right: 1rem;
    }

    .form-inline .form-check {
        display: flex;
        align-items: center;
        margin-right: 1rem;
    }

