* {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

body, html {
    height: 100%;
}

.range-indicator {
    position: absolute;
    left: 0;
    top: 100%;
    text-align: center;
}

.text-input {
    display: flex;
    flex: 1 1 auto;
}

.range-container {
    display: flex;
    flex: 1 1 auto;
    position: relative;
}

.toggle {
    display: none;
}

label {
    font-size: 1.25rem;
}

.center-v-h {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#score-group {
    background-color: white;
}

.fancyLabelGroup {
    position: relative;
    transition: padding-top 0.5s;
}

.fancyLabelGroup label {
    position: absolute;
    transition: top 0.5s, left 0.5s;
    pointer-events: none;
    margin-bottom: 0.5rem;

    top: 8px;
    left: 13px;
}

.indent {
    margin-left: 1.25rem;
}

.checkbox-group {
    display: inline-block;
    margin-right: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.checkbox-container label {
    margin-left: 8px;
    margin-bottom: 0;
}

input[type="checkbox"] + label {
    font-size: 1rem;
}

input[type="checkbox"] {
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;

    min-height: 20px;
    min-width: 20px;

    border: 2px solid #6c757d;
    border-radius: 4px;

    background-color: white;
}

input[type="checkbox"]::after {
    display: inline-block;
    min-height: 8px;
    min-width: 12px;
    border: solid #6c757d;
    border-width: 0 0 2px 2px;

    position: absolute;
    top: calc(50% - 2.0px);
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);


    content: "";
    visibility: hidden;
}

input[type="checkbox"]:checked::after {
    visibility: visible;
}

.ui-autocomplete {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important;
    background: white !important;
    font-size: 1rem !important;
    border-radius: 0 0 .25rem .25rem;
    border: 1px solid #ced4da !important;
    /* bootstrap tooltip z-index*/
    z-index: 1070 !important;
}

.ui-autocomplete .ui-menu-item div {
    padding: .375rem .75rem !important;
}

.ui-state-active {
    border: none !important;
    margin: 0 !important;
    background: #e8eaed !important;
    color: black !important;
    font-weight: normal !important;
}


/* dynamic scaling (mostly for font sizes) */

/* under small */
@media (max-width: 575.98px) {
    .display-1 {
        font-size: 1.75rem;
    }

    label {
        font-size: 1rem;
    }

    .btn-responsive-sm {
        font-size: 0.8rem;
        padding: .275rem .55rem;
    }

    .range-indicator {
        font-size: 0.8rem;
    }
}


/* small - medium */
@media (min-width: 576px) and (max-width: 767.98px) {
    .display-1 {
        font-size: 3rem;
    }

    .btn-responsive-sm {
        font-size: 0.85rem !important;
    }

    .range-indicator {
        font-size: 0.8rem;
    }
}

/* medium - large */
@media (min-width: 768px) and (max-width: 991.98px) {
    .display-1 {
        font-size: 4rem;
    }

    .btn-responsive {
        font-size: 1.1rem;
    }

    .btn-responsive-sm {
        font-size: 0.85rem;
    }

    .range-indicator {
        font-size: 0.9rem;
    }
}

/* large - extra large */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .display-1 {
        font-size: 5rem;
    }

    .btn-responsive {
        font-size: 1.1rem;
    }

    .btn-responsive-sm {
        font-size: 0.9rem;
    }
}

/* extra large and over */
@media (min-width: 1200px) {
    .btn-responsive {
        font-size: 1.25rem;
    }
}