/* Fonts and Colors */
:root {
    /* Font */
    --font-header: 'Alice';
    --font-regular: 'Avenir Next', 'Nunito', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-bold: 600;
    --font-size-small: 12px;
    --font-size-medium: 18px;
    --font-size-large: 24px;

    /* Colors */
    --color-primary: #54749A;
    --color-primary-light: lightblue;
    --color-primary-dark: steelblue;
    --color-background: cornflowerblue;
    --color-background-light: rgb(220, 234, 247);
    --color-background-dark: rgb(24, 93, 191);
    --color-translucent: rgba(0, 0, 0, 0.2);
    --color-danger: #e76a6a;
    --color-danger-light: #f3b4b4;
    --color-danger-alt: rgb(121, 12, 0);
    --color-success: #b3e6b3;
    --color-success-light: #d9f2d9;
    --color-success-alt: darkgreen;
    --color-text-heading: darkslateblue;
    --color-text-dark: black;
    --color-text-light: white;
    --color-gray: #776f6f;
    --color-gray-dark: #545454;
    --color-gray-light: lightgray;
    --color-white: white;
    --color-black: black;
    --color-success: #78e978;

    --color-high-value: rgb(11, 83, 29);
    --color-low-value: rgb(190, 190, 190);

}

/* Body */
body {
    padding: 1% 0;
    font-family: var(--font-regular);
    font-size: var(--font-size-medium);
    line-height: 2em;
    text-align: center;
    width: 98%;
    padding-top: 0px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

@media screen and (max-width: 700px) {
    body {
        padding: 0;
        width: 100%;
    }
}

textarea {
    font-family: var(--font-regular);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.title_text {
    line-height: normal;
    font-family: var(--font-header);
    letter-spacing: 2px;
}

.title_text {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 5px;
}

h3 {
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading);
}

small {
    font-size: var(--font-size-small);
    color: var(--color-gray-light);
}

/* Navbar */
#navbar {
    background-color: var(--color-background-light);
    padding: 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

/* Navbar Items */
.bar-items-horizontal {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.bar-items-horizontal .bar-item {
    margin: 0 10px;
}

.bar-items-vertical {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-end;
}

#navbar a,
.bar-item {
    color: var(--color-background);
    text-decoration: none;
    font-weight: normal;
    transition: all 0.2s ease-out;
    white-space: nowrap;
    cursor: pointer;
}

#navbar .bar-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.bar-item:hover {
    color: var(--color-primary-light);
}

#navbar .bar-item:hover {
    color: var(--color-background);
}

#navbar a:hover {
    color: var(--color-primary-light);
}



.bar-divider {
    height: 16px;
    width: 1px;
    background-color: var(--color-background);
    margin: 0 10px;
}

@media screen and (max-width: 700px) {
    #navbar {
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
    }

    #navbar .bar-items-horizontal {
        align-items: center;
    }

    .bar-items-horizontal {
        justify-content: center;
    }

    .bar-items-vertical {
        flex-direction: row;
        column-gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .bar-divider {
        display: none;
    }
}

/* Arrow Expand */
.arrow {
    border: solid var(--color-text-light);
    border-width: 0 4px 4px 0;
    display: inline;
    vertical-align: middle;
    padding: 4px;
    transition: all 0.3s ease;
}

.arrow:hover {
    padding: 5px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.arrow-expand {
    margin: 15px 0;
}

.arrow-expand-header,
.arrow-expand-header .header-inner,
.arrow-expand-header .arrow-expand-buttons {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.arrow-expand-header .header-inner,
.arrow-expand-header .arrow-expand-buttons {
    margin: 5px 0;
}

.arrow-expand-header h2 {
    padding: 0;
    margin: 0;
}

.arrow-expand-header h2:hover {
    cursor: pointer;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.arrow-expand-header .header-title br {
    display: none;
}

.arrow-expand-child {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.arrow-expand-other .autocomplete {
    font-size: var(--font-size-small);
}

.arrow-expand-other .autocomplete .autocomplete-items div,
.contrabody .autocomplete .autocomplete-items div {
    padding: 5px 10px;
}

.client_popup .autocomplete-items {
    max-height: 400px;
    overflow-y: scroll;
    border: var(--color-gray) solid 1px;
}

.arrow-expand-other input {
    height: 2em;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: var(--color-background-light);
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
}

.removed-data .removed-gray {color: gray;}
.removed-data.removed-gray {color: lightgray;}
.removed-data .removed-disappear {display: none;}

@media screen and (max-width: 700px) {
    .arrow-expand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .arrow-expand-header {
        flex-direction: column;
        align-items: center;
        row-gap: 0px;
        width: 100%;
    }

    .arrow-expand-header .header-inner {
        flex-wrap: nowrap;
        justify-content: center;
        row-gap: 0px;
        flex-grow: 1;
        width: 100%;
    }

    .arrow-expand-header .header-title {
        flex-shrink: 1;
        flex-wrap: wrap;
        text-align: center;
        margin: 0;
        max-width: 70%;
    }

    .arrow-expand-header .header-title br {
        display: block;
    }

    .arrow-expand-buttons {
        display: flex;
        align-items: center;
        flex-direction: row;
    }

    .arrow-expand-other {
        text-align: center;
    }

    .arrow-expand-child {
        width: 98%;
    }

    .sticky-header {
        justify-content: center;
    }
}

/* Buttons */
button {
    font-family: var(--font-regular);
}

.item-button,
.effect-button,
.syndrome-button {
    display: inline-flex;
    border-radius: 20px;
    border: none;
    margin: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    height: 35px;
    white-space: nowrap;
    column-gap: 4px;
    cursor: pointer;
}

.item-button,
.effect-button {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    font-weight: normal;
    font-size: 16px;
    padding: 0 10px;
}

.syndrome-button {
    font-style: italic;
}

.item-button:hover,
.syndrome-button:hover {
    box-shadow: 0 3px var(--color-gray-light);
}

.syndrome-button:hover {
    padding: 0 10px;
}

.effect-button {
    width: 140px;
}

.nav-button {
    display: inline-flex;
    background-color: var(--color-primary);
    color: #fff;
    padding: 10px 25px;
    border: 1px solid var(--color-primary);
    font-family: var(--font-regular);
    font-size: 16px;
    font-weight: lighter;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    margin: 5px 5px;
    line-height: normal;
    gap: 10px;
}

.nav-button a {
    color: var(--color-white);
    text-decoration: none;
}

.nav-button:hover {
    box-shadow: 0 3px var(--color-primary-dark);
}

.nav-button-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: 10px;
}

.next-step {
    background-color: var(--color-danger);
    color: white;
    text-decoration: none;
}

.alt-button {
    background-color: var(--color-background-light);
    border: 1px solid var(--color-background);
    color: var(--color-text-dark);
}

.alt-button:hover {
    background-color: var(--color-background);
    box-shadow: 0 3px var(--color-gray-light);
}

.danger-button {
    background-color: var(--color-danger);
    border: 1px solid var(--color-danger);
    color: var(--color-text-light);
}

.danger-button:hover {
    background-color: var(--color-danger-alt);
    border: 1px solid var(--color-danger-alt);
    box-shadow: 0 2px var(--color-danger);
}

.success-button {
    background-color: var(--color-success);
    border: 1px solid var(--color-success);
    color: var(--color-text-dark);
}

.success-button:hover {
    background-color: var(--color-success-alt);
    border: 1px solid var(--color-success-alt);
    box-shadow: 0 2px var(--color-success);
}

.save-button {
    background-color: var(--color-primary-dark);
    border: 1px solid var(--color-primary-dark);
    color: var(--color-text-light);
    font-weight: var(--font-weight-bold);
}

.save-button:hover {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    box-shadow: 0 2px var(--color-primary-dark);
}

.login_button {
    padding: 10px;
    margin-right: 10px;
    color: white;
    vertical-align: middle;
}

.flat-button {
    font-size: 14px;
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    border-radius: 15px;
    border: 0px;
    cursor: pointer;
    transition: opacity 0.5s ease;
    padding: 5px 10px;
}

.flat-button:hover {
    opacity: 0.8;
}

.flat-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-height: 150px;
    overflow-y: auto;
}

.invisible-button {
    background-color: transparent;
    border: none;
    font-size: 16px;
    font-weight: normal;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 1px 10px;
    background-color: var(--color-text-light);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.checklist-item a,
.checklist-item label {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-dark);
    cursor: pointer;
}

.checklist-item-container {
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    padding: 5px;
    background-color: inherit;
    border-radius: 10px;
    align-items: center;
    gap: 5px;
}

.checklist-item-container .contra:hover,
.sfhover:hover {
    font-weight: normal;
}

.checklist-item-container .contra .checklist-item:hover,
.checklist-item-container .sfhover .checklist-item:hover {
    background-color: var(--color-background-light);
}

.checklist-item input[type='checkbox'] {
    margin: 0;
    cursor: pointer;
}

.checklist-item.checked {
    color: var(--color-text-light);
    background-color: var(--color-background);
}

.checklist-item.muted {
    color: var(--color-white);
    background-color: var(--color-gray);
    cursor: default;
    padding-left: 10px;
}

.checklist-item.muted input[type='checkbox'] {
    display: none;
}

/* Form */
.page-row {
    display: flex;
    flex-wrap: wrap;
}

.page-column {
    display: flex;
    flex-direction: column;
    flex-basis: 50%;
    padding: 10px;
    align-items: center;
}

.page-column h3 {
    text-align: center;
}

@media screen and (max-width: 700px) {
    .page-column {
        flex-basis: 100%;
    }
}

.floating-text {
    display: block;
    color: var(--color-text-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Container */
.standalone-container {
    margin: 50px auto;
    max-width: 720px;
}

#snow-container {
    height: 350px;
}

.body_style {
    margin-bottom: 0;
    margin-top: 10px;
}

.system-other {
    margin-left: -15px !important;
    width: 220px !important;
}

h3.body_style {
    font-size: 1.1em;
    display: inline-block;
}

.syndrome-system-label {
    display: inline-block;
    width: 130px;
}

.field-label,
.symptom_label div {
    display: inline-block;
    min-width: 120px;
}

.symptom_label textarea {
    width: 80%;
    height: 1.5em;
}

.expand_button,
.expand_button2 {
    display: none;
    border: 1px solid black;
    border-radius: 8px;
    padding: 0px 7px;
    line-height: 1.6em;
    margin: 0 3px;
    font-weight: bold;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease;
    cursor: pointer;
}

.expand_button:hover,
.expand_button2:hover {
    transform: scale(1.05);
}

.expand_child,
.expand_child2 {
    display: none;
}

/* Intro */

.intro-container {
    display: flex;
    column-gap: 8px;
}

.intro-div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    background-color: var(--color-background-light);
    padding: 10px 30px;
    margin: 5px 0;
    width: 100%;
    justify-content: space-between;
}

.intro-entry {
    display: flex;
    flex-wrap: wrap;
}

.intro-buttons {
    display: inline-flex;
    flex-wrap: wrap;
}

.intro-face-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.intro-inner-div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media screen and (max-width: 900px) {
    .intro-container {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 700px) {
    .intro-div {
        flex-direction: column;
        justify-content: center;
    }

    .intro-entry {
        justify-content: center;
    }
}

/* Progress Notes */
.progress-note {
    padding: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
    margin: 2px 0;
}

#CLIENT_ID--journal_container .progress-note {
    display: inline-flex;
    color: white;
}

.question-container .item-button {
    padding: 8px;
    padding-right: 5px;
    align-content: center;
    margin-right: 5px;
}

.question-container .icon-toggle {
    padding: 0;
    margin: 0;
}

.question-container .item-button a{
    text-align: center;
    text-decoration: none;
}

.progress-note .updateable-span {
    padding: 0 5px;
}

.item-meta {
    font-size: var(--font-size-small);
    color: var(--color-gray);
    min-width: 118px;
}

.email-text {
    display: block;
    border: 1px solid var(--color-gray);
    padding: 5px 20px;
    max-height: 500px;
    overflow: auto;
}

.email-text .contra {
    position: relative;
}

.indicator-icon {
    margin: 0;
}

.indicators {
    line-height: 1;
    margin: 0;
    padding: 0;
    display: inline-flex;
}

.progress-clickable {
    margin: 0 .25em;
    cursor: pointer;
}

.progress-container {
    display: flex;
    flex-direction: column;
    margin-left: 5px;
}

.question-container {
    padding: 0 5px;
    max-height: 750px;
    overflow-y: auto;
}

.progress-dropdown {
    position: relative;
    display: inline-block;
    margin: 5px;
}

.progress-dropdown .options {
    position: absolute;
    display: none;
    flex-direction: column;
    z-index: 1;
    max-height: 300px;
    overflow-y: scroll;
}

.progress-dropdown:hover .options {
    display: flex;
}

.progress-dropdown .option {
    width: 250px;
    background-color: var(--color-background);
    border-radius: 0;
    border: none;
    padding: 5px 10px;
    color: var(--color-text-light);
    font-size: var(--font-size-small);
    font-family: var(--font-regular);
    transition: all 0.3s ease;
    text-align: center;
}

.progress-dropdown .selected-option {
    background-color: var(--color-primary);
}

.options .selected-option {
    background-color: var(--color-background-dark);
}

.options .option:hover {
    font-size: 15px;
}

.icon-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    border: none;
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent
}

.icon-toggle:hover {
    background-color: var(--color-background-light);
}

.icon-toggle.open {
    border: 2px solid var(--color-primary);
}

.comment-box {
    width: 100%;
    max-height: 100px;
    font: inherit;
    padding: 0 10px;
    font-size: 14px;
}

.question-form {
    display: flex;
    padding: 0 8px;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 700px) {
    .progress-note .item-meta {
        display: block;
    }

    .progress-dropdown {
        left: 50%;
        transform: translateX(-50%);
    }

    .progress-note {
        margin: 5px 0;
        border: 1px solid var(--color-primary-light);
        border-radius: 5px;
        padding-bottom: 5px;
        justify-content: center;
    }

    .progress-container {
        align-items: center;
    }

    .question-container {
        margin-left: 0;
    }
}

/* Inputs */
.expand_child input,
.onclick_expand input {
    font-size: var(--font-size-small);
    padding: 0 5px;
}

select,
input {
    font: inherit;
    padding: 5px;
}

.updateable-span {
    cursor: text;
    border-radius: 5px;
    border: 1px solid transparent;
    resize: none;
    outline: none;
    background: none;
    padding: 5px;
    font-family: var(--font-regular);
    font-size: inherit;
    color: inherit;
    transition: border 0.3s ease;
    line-height: normal;
    cursor: text;
}

.email-section .updateable-span {
    padding: 0;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: var(--color-primary-dark);
    text-decoration-thickness: 3px;
}

.email-section .empty-span {
    padding: 0 5px;
    text-decoration: none;
}

.updateable-span:focus {
    border: 1px solid var(--color-primary-dark);
    padding: 0 5px;
}

.empty-span {
    border: 1px solid var(--color-primary);
}

.empty-span:before {
    content: attr(data-placeholder);
    color: var(--color-gray-light);
}

.updateable-span:not(.empty-span) {
    min-width: 50px;
    display: inline-block;
}

/* Checklist and Main Page Systems */
.systems-container {
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #D0D0D0;
    background-color: #ffffff;
    page-break-inside: avoid;
    border-radius: 5px;
}

.systems-header {
    margin-bottom: 0px;
}

@media screen and (max-width: 700px) {
    .systems-header {
        text-align: center;
    }
}

.system-field {
    display: inline;
    vertical-align: top;
}

.system-body {
    display: block;
    margin-left: 15px;
}

.organ-body {
    vertical-align: top;
    margin-top: 10px;
}

.organ-field {
    display: flex;
    align-items: flex-start;
}

.organ-field .organ-name {
    margin: 5px 0 0 0;
}

.organ-name {
    display: inline-flex;
    width: 200px;
    align-items: center;
    column-gap: 5px;
    flex-shrink: 0;
}

.organ-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

@media screen and (max-width: 700px) {
    .system-field {
        display: inline-flex;
        margin-left: 0;
        flex-wrap: wrap;
    }

    .system-body {
        margin-left: 10px;
    }

    .organ-field {
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .organ-name {
        width: auto;
        margin-right: 5px;
    }

    .organ-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 5px;
    }

    .system-other {
        margin-left: 0px !important;
        margin-right: 5px !important;
        width: auto !important;
    }
}

/* Minus Button for Popups */
.minus {
    position: absolute;
    font-size: 30px;
    top: 0;
    right: 0;
    margin-top: 10px;
    margin-right: 10px;
    cursor: pointer;
    color: var(--color-primary-dark);
    background-color: transparent;
}

.minus::before {
    content: \"\\2014\";
}

.minus:hover {
    color: var(--color-primary-light);
}

/* Popup */

.centered_field {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.centered_header {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    line-height: normal;
    gap: 10px;
    width: 100%;
    align-items: center;
}

.popup_column {
    display: flex;
    flex-direction: column;
    flex-basis: 50%;
    align-items: center;
}

.popup_column .checklist-item-container {
    background-color: var(--color-background-light);
    width: 100%;
    max-height: 300px;
    overflow-y: scroll;
    border: 1px solid var(--color-primary-dark);
}

.quill_header {
    padding: 5px 10px;
    color: var(--color-primary-light);
    background-color: var(--color-primary-dark);
    font-weight: var(--font-weight-normal);
    margin: 0;
}

#questions_expand .toggle-title {
    padding: 5px 10px;
    color: var(--color-primary-light);
    background-color: var(--color-primary-dark);
    font-weight: var(--font-weight-normal);
    margin-top: 5px;
}

.quill_archive {
    float: right;
    padding-right: 5px;
    font-size: .8em;
    cursor: pointer;
    color: var(--color-background);
    transition: all 0.3s ease;
}

.quill_archive:hover {
    color: var(--color-primary);
    text-shadow: 1px 1px 1px var(--color-background-dark);
    transform: translateY(-1px);
}

.quill_box textarea,
.quill_popup .quill-text,
.quill_box {
    vertical-align: middle;
    width: 100%;
    line-height: .8em;
    font-size: var(--font-size-small);
    min-height: 1.5em;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    border: none;
    outline: none;
}

.quill_box h1,
.quill_box h2,
.quill_box h3,
.quill_box p,
.quill_box li {
    margin: 0 0 5px 0;
    padding: 0;
}

.quill_box ol,
.quill_box ul {
    margin-top: 0;
    margin-bottom: 5px;
}

.ql-editor {
    border: solid 1px var(--color-primary-dark);
    border-top: 0;
}

.client_popup,
.quill_popup {
    max-width: 90%;
    max-height: 750px;
    border: solid 1px var(--color-primary-dark);
    border-radius: 10px;
    padding: 0px;
    margin: 3px 0 5px 0;
    overflow: scroll;
}

.client_popup {
    width: 750px;
}

.inline-popup {
    display: none;
    margin-left: 10px;
}

.quill_popup {
    width: 100%;
    transition: all 0.5s ease;
}

.expandable.quill_popup {
    height: 0px;
    border: solid 1px transparent;
    padding: 0px;
    margin: 0px;
}

.expandable.open.quill_popup {
    height: 45px;
    border: solid 1px var(--color-primary-dark);
    margin: 5px 0;
}

.organ-data {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    margin-left: 10px;
}

.client_popup_header {
    margin: 0 0 3px 0;
    padding: 8px 40px 8px 10px;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 5px;
    font-size: 1.4em;
    position: relative;
}

.client_popup_body {
    overflow: visible;
    padding: 0 5px 5px 5px;
}

.client_popup_body .autocomplete input {
    padding: 0 5px;
}

.client_popup_close {
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 5px;
}

.client_popup .nav-button-container {
    margin: 5px 0;
}

.popup_field {
    padding: 0 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.field-label {
    font-weight: var(--font-weight-bold);
}

/* Checklist */
.checklist .in-client {
    background-color: var(--color-background);
}

.checklist .checklist-item input[type='checkbox']:checked+label {
    color: var(--color-white);
}

.checklist .toggle-title {
    display: flex;
    text-align: left;
    padding: 10px;
    font-size: 1em;
    color: white;
    margin-top: 0px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.checklist .toggle-title h3 {
    margin: 0px;
}

.checklist .toggle-title a {
    color: var(--color-light-blue);
    text-decoration: none;
}

.checklist .toggle-title a:hover {
    text-decoration: underline;
}

.checklist .checklist-item-container {
    padding: 10px;
}

.checklist .organ-data {
    width: 50%;
}

.checklist .quill_popup h1,
.checklist .quill_popup h2,
.checklist .quill_popup h3 {
    margin: 1px;
}

.checklist .expandable.open.quill_popup {
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
    margin: 0;
}

@media screen and (max-width: 700px) {
    .organ-data {
        margin-right: 15px;
    }

    .checklist .organ-data {
        width: 100%;
    }

    .inline-popup {
        width: 100%;
    }
}

.input-radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.input-radio input[type="radio"] {
    display: none;
}

.input-radio label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
}

.input-radio label:hover {
    transform: scale(1.1);
}

.input-radio .choices {
    display: inline-flex;
    align-items: center;
}

/* The label is outside the input so we can style it */
.input-radio input[type="radio"]+label {
    filter: grayscale(100%);
    opacity: 0.4;
    width: 35px;
    height: 35px;
    vertical-align: middle;
    border-radius: 50%;
}

.input-radio input[type="radio"]:checked+label {
    filter: none;
    transform: scale(1.2);
    opacity: 1;
}

.input-radio input[type="radio"][value="0"]+label {
    background-color: var(--color-success);
}

.input-radio input[type="radio"][value="1"]+label {
    background-color: var(--color-danger);
}

.avoid_popup .disappear-on-avoid {
    display: none;
}

#avoid_intervention_container .item-button {
    background-color: var(--color-danger) !important;
    color: var(--color-white) !important;
}

#avoid_intervention_container {
    display: inline;
}

#body_system_container.hide-empty .no-child {
    display: none;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-gray-light);
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--color-white);
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--color-primary);
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(2px);
    -ms-transform: translateX(21px);
    transform: translateX(21px);
}

.slider.round {
    border-radius: 30px;
    width: 50px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch-container {
    display: flex;
    font-size: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    column-gap: 10px;
}

.switch-container h2 {
    margin: 10px 0;
}

.searchbox {
    display: flex;
    justify-content: center;
}

.searchbox input:not([type="checkbox"]) {
    border: 1px solid var(--color-primary);
    border-right: 0;
    outline: none;
    width: 200px;
    padding: 5px 10px;
}

.searchbox .nav-button {
    margin: 0;
}

.searchbox .nav-button:hover {
    box-shadow: 3px 0 var(--color-primary-dark);
}

/* Homepage */

.whole-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

.logo-container {
    margin-top: 50px;
    text-align: center;
}

@media screen and (min-width: 700px) {
    .whole-page {
        min-height: 100vh;
    }
}

.form-box,
.homepage-box {
    display: block;
    text-align: center;
    margin-top: 30px;
    justify-content: space-between;
    align-items: center;
}

.form-box label,
.homepage-box label {
    display: block;
}

.form-row input,
.form-row select,
.homepage-box input[type='text'],
.homepage-box input[type='password'] {
    padding: 0 10px;
    width: 250px;
    border: 1px solid var(--color-gray);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.form-row select {
    padding: 10px 6px;
    width: 272px;
}

.form-box a {
    cursor: pointer;
}

.popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-background-light);
    border: 1px solid #ccc;
    padding: 50px;
    text-align: center;
    width: 80%;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.popup p {
    margin-bottom: 10px;
}

.popup-syndrome-container {
    display: inline-flex;
    flex-wrap: wrap;
}

#selected-symptoms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 10% 0 10%;
    min-height: 40px;
    justify-content: center;
    align-items: center;
}

#homepage-form .in-client {
    background-color: var(--color-background);
}

#homepage-form .checklist-item input[type='checkbox']:checked+label {
    color: var(--color-white);
}

#syndrome_suggestion--name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 5px;
}

@media screen and (max-width: 700px) {
    #homepage-form {
        padding: 0 10px;
    }

}

.intervention-category {
    display: inline;
    padding: 0;
    margin: 0 10px;
}

.popup .form-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
}

.popup .form-row {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px;
    column-gap: 20px;
}

.footer {
    display: flex;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.footer-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
}

.footer a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--color-background);
}

.form-table {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    row-gap: 10px;
    margin-bottom: 20px;
}

.form-row {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    flex-direction: row;
    column-gap: 30px;
}

/* My Clients */

.clients-table {
    width: 100%;
    border-spacing: 0px;
}

.clients-table td {
    padding: 10px;
    border: 0;
    margin: 0;
    text-align: center;
}

.clients-table tr:nth-child(even) td {
    background-color: var(--color-background-light);
    transition: background-color 0.2s ease-in-out;
}

.clients-table tr:hover td {
    background-color: var(--color-background);
}

.clients-table .small-width {
    width: 75px;
}

@media screen and (max-width: 700px) {

    .clients-table,
    .clients-table thead,
    .clients-table tbody,
    .clients-table th,
    .clients-table td,
    .clients-table tr {
        display: block;
        padding: 0;
    }

    .clients-table .disappear {
        display: none;
    }

    .clients-table .small-width {
        width: 100%;
    }

    .clients-table tr td:last-child {
        padding-bottom: 10px;
        /* Adjust the value as needed */
    }
}

.HACTION_AS_CHILD_update_id {
    display: inline-flex;
}

.gradient-legend {
    width: 100%;
    height: 20px;
    background-image: linear-gradient(to right, var(--color-high-value), var(--color-low-value));
    border: 0px;
    border-radius: 10px;
}

.legend-labels {
    display: flex;
    justify-content: space-between;
}

.legend-labels span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
}

/* Journal */
.journal-container {
    width: 80vw;
    min-height: 200px;
    max-height: 625px;
    overflow-y: scroll;
    margin: 10px 10vw;
    padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    font-size: var(--font-size-medium);
    text-align: left;
}

.journal-container .contrabody li,
.journal-container .sfhoverbody li {
    margin: 5px 0;
    line-height: normal;
}

.journal-container .contra {
    position: relative;
}

.journal-container .checklist {
    display: flex;
    flex-direction: column;
    row-gap: 0px;
}

.journal-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.journal-column h3 {
    text-align: center;
    margin: 5px;
}

.journal-column {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.journal-column .checklist-wrapper {
    background-color: var(--color-background-light);
    padding: 8px;
    border-radius: 10px;
}

.journal-column .checklist-item-container {
    background-color: var(--color-background-light);
    max-height: 250px;
}

.keyword {
    font-weight: bold;
    color: var(--color-primary);
}

.keyword.highlighted {
    color: var(--color-success);
}

.contrabody.client_popup {
    position: fixed;
}

.contrabody,
.client_popup,
.sfhoverbody {
    font-family: var(--font-regular);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-dark);
}

.contrabody .checklist-item,
.sfhoverbody .checklist-item {
    margin: 5px;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0.2;
    line-height: normal;
}

.contrabody.center,
.sfhoverbody.center {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    max-width: 40em;
    min-width: 20em;
    width: 100%;
}

.contrabody .autocomplete,
.sfhoverbody .autocomplete {
    font-size: var(--font-size-small);
    line-height: normal;
}

.journal-location {
    text-align: right;
    width: 100%;
}

.checklist-item-icons {
    display: inline-flex;
    flex-direction: row;
    column-gap: 3px;
}

/* Toggle Container */

.toggle-title {
    background-color: var(--color-primary-light);
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    outline: none;
    transition: 0.5s;
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

h2.toggle-title, h3.toggle-title {
    color: var(--color-background-dark);
}

.toggle-title.open {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    border-radius: 10px 10px 0px 0px;
    margin-bottom: 0px;
}

.toggle-container {
    margin-bottom: 5px;
    border-radius: 0px 0px 10px 10px;
}

#questions_expand .toggle-container {
    border: 1px solid var(--color-primary-dark);
}

[contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}