
.row {
    margin-top: 0.5rem;
    width: 100%;
    border-radius: 0px !important;
}

.content {
    padding: 0;
    margin: 0;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .5s;
    overflow: hidden;
    max-height: 0;
}

.collapsible {
    background-color: var(--bone);
    font-family: CalibriBold;
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--van-dyke-brown);
    display: flex;
    align-items: center;
}

.collapsible i {
    padding-right: 1.5rem;
}

.subcontent {
    overflow: hidden;
    display: none;
    margin-top: 4rem;
}

.row .subcontent {
    display: none;
}

.info-text,
.question-text {
    width: -webkit-fill-available;
    width: -moz-available;
    padding: 1rem;
    align-self: center;
    background-color: var(--bone);
    border: 1px solid var(--van-dyke-brown);
    color: var(--van-dyke-brown);
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
}

.info-text {
    display: none;
}

.ui-state-active {
    background-color: var(--bone) !important;
    color: var(--van-dyke-brown) !important;
    border: none !important;
}

.info-text {
    display: none;
    background-color: var(--bone) !important;
    border-top: none !important;
}

#questions-main {
    padding: 3rem 1rem;
    padding-top: 1rem;
    width: calc(100% - 2rem);
}

#questions-main .checkbox-holder {
    padding-bottom: 2rem;
    white-space: nowrap;
    /* align-self: end; */
    display: flex;
    padding-top: 1.5rem;
    margin-left: 5rem;
    font-size: 1rem;
}

.subcategory-title {
    padding-right: 5rem;
}

.steps-container {
    display: grid;
    grid-template-columns: 25% 25% 50%;
    width: calc(100% - 10rem);
    margin-left: 4rem;
    grid-gap: 2rem;
}

.step-container {
    width: -webkit-fill-available;
    width: -moz-available;
    margin-left: 0 !important;
}

.slider-separator {
    width: 5rem;
}

.step-title {
    text-align: center;
    padding-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--van-dyke-brown);
    /* margin-top: 1rem; */
}

.ticks {
    display: flex;
    justify-content: space-between;
    height: 0;
    padding: 10px 0px;
}

.tick-label {
    font-size: 1.2rem;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 0;
    line-height: 0px;
    margin-top: 7px;
}

.subcontent,
.content .subcontent {
    display: flex;
}

.subcontent:first-of-type {
    margin-top: 1rem;
    /* margin-bottom: 1rem; */
}

.ui-slider {
    border-radius: 10px;
    background: linear-gradient(90deg, white, var(--alabaster), var(--almond), var(--middle-green-yellow), var(--middle-green-yellow-2));
    box-shadow: inset -4px 6px 7px -5px white;
}

.ui-slider-handle {
    border-radius: 100%;
}

.ui-slider-range {
    background-color: transparent;
    border-radius: 10px;
}

.slider-color-0 .ui-slider-handle {
    background-color: white;
}

.slider-color-25 .ui-slider-handle {
    background-color: var(--alabaster);
}

.slider-color-50 .ui-slider-handle {
    background-color: var(--almond);
}

.slider-color-75 .ui-slider-handle {
    background-color: var(--middle-green-yellow);
}

.slider-color-100 .ui-slider-handle {
    background-color: var(--middle-green-yellow-2);
}

.ui-slider-handle {
    border: 1.5px solid var(--beaver) !important;
    box-shadow: inset -10px 0px 6px -5px rgba(255,255,255,0.5);
}

.step-container.inactive {
    opacity: 0.40;
}

.tooltip-icon {
    cursor: pointer;
    width: 3.2rem;
    /* position: absolute; */
    box-shadow: 3px 3px 5px var(--tumbleweed);
    border-radius: 100%;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .3s;
}

.tooltip-icon:hover {
    transform: scale(1.05);
}

.field-title .tooltip-icon {
    width: 1.4rem;
    cursor: default;
    box-shadow: none;
    margin-bottom: 0.2rem;
    margin-left: 0.3rem;
}

.tooltip-icon-holder {
    padding-right: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    /* align-items: center; */
    padding-top: 0.5rem;
}

.comment-input {
    height: 0;
    overflow: hidden;
}

.comment-holder.opened .comment-input {
    height: unset;
}

.comment-text {
    width: -webkit-fill-available;
    width: -moz-available;
    background-color: var(--alabaster);
    font-size: 1.1rem;
    border: 1px solid var(--van-dyke-brown);
    font-weight: 600;
    font-family: CalibriBold;
    color: var(--brown-sugar);
    padding: 0.5rem;
    resize: vertical;
    border-radius: 0.3rem;
    margin-bottom: 1rem;
}

.comment-holder {
    background-color: var(--alabaster-50);
    border: 1px solid var(--van-dyke-brown);
    border-top: none;
    color: var(--brown-sugar);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0rem 1rem 0rem 1rem;
    line-height: 2;
}

.comment-holder label {
    cursor: pointer;
}

.comment-holder label::before {
    content:"\25B9";
    padding-right: 0.5rem;
}

.comment-holder.opened label::before {
    content:"\25BF"
}

.comment-holder.opened textarea {
    display: unset;
    margin-bottom: 1rem;
}

.comment-text::placeholder {
    font-weight: 100;
    color: var(--brown-sugar);
    opacity: 0.4;
}

.steps-container {
    padding: 1rem;
}

.step-container {
    text-align: center;
    border: 1px solid var(--beaver);
    background-color: var(--alabaster-50);
    border-radius: 10px;
    box-shadow: 3px 3px 5px var(--tumbleweed);
    padding: 1rem;
    display: block;
}

.step-button-container {
    display: inline-flex;
    margin: auto;
    max-width: 100%;
    flex-flow: wrap;
    column-gap: 1rem;
}

.step-button {
    min-width: 10rem;
    margin: 1rem auto;
}

.radio-container {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    margin-top: 0.5rem;
}

.radio-wrapper {
    text-align: center;
    padding-left: 0.6rem;
}

.numeric-labels, .text-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.numeric-label, .text-label {
    width: 20%;
    text-align: center;
}

.field-title {
    font-weight: bold;
    text-align: left;
    padding: 0.5rem 0;
    font-size: 1.5rem;
}

.field-container {
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

/* Hide default radio button */
.radio-wrapper input[type="radio"] {
    display: none;
}

/* Custom radio button appearance */
.radio-wrapper label {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--beaver);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    margin-right: 10px;
    vertical-align: middle;
    transition: border 0.3s ease;
}

/* Radio button checked state */
.radio-wrapper input[type="radio"]:checked + label {
    border-color: var(--middle-green-yellow-2);
    background-color: var(--middle-green-yellow);
}

/* Inner circle for selected radio button */
.radio-wrapper input[type="radio"]:checked + label::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Numeric and text labels styling */
.numeric-labels, .text-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.numeric-label, .text-label {
    width: 20%;
    text-align: center;
}

/* Hover effect */
.radio-wrapper label:hover {
    border-color: var(--middle-green-yellow);
}

.step-button.selected {
    background-color: var(--middle-green-yellow);
    color: var(--van-dyke-brown);
    border: 2px solid var(--middle-green-yellow-2);
}

.subtype-title {
    font-size: 1.5rem;
    font-weight: bold;
    padding-left: 5rem;
    padding-top: 0.5rem;
}

/* Custom tooltip container */
.field-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Tooltip text */
.field-tooltip .tooltip-text {
    visibility: hidden;
    text-align: center;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the icon */
    left: 50%;
    opacity: 0;
    visibility: hidden;
    background: var(--van-dyke-brown);
    font-family: 'Calibri';
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 5px;
    color: var(--alabaster);
    pointer-events: none;
    transform: translate(-50%, 0);
    transition: all .1s ease;
    width: 200px
}

/* Tooltip arrow */
.field-tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%; /* Bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Show the tooltip text when hovering */
.field-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


.questions-holder {
    padding: 3rem 1rem;
    padding-top: 1rem;
    width: calc(100% - 2rem);
}

.row {
    margin-top: 0.5rem;
    width: 100%;
    border-radius: 0px !important;
}

.content {
    padding: 0;
    margin: 0;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .5s;
    overflow: hidden;
    max-height: 0;
}

.collapsible {
    background-color: var(--bone);
    font-family: CalibriBold;
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--van-dyke-brown);
    display: flex;
    align-items: center;
}

.collapsible i {
    padding-right: 1.5rem;
}

.subcontent {
    overflow: hidden;
    display: none;
    margin-top: 4rem;
}

.row .subcontent {
    display: none;
}

.info-text,
.question-text {
    padding: 1rem;
    background-color: var(--bone);
    border: 1px solid var(--van-dyke-brown);
    color: var(--van-dyke-brown);
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
}

.info-text table {
    color: var(--van-dyke-brown);
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
    line-break: auto;
}

.info-text .oj-bold {
    font-variant: small-caps;
}

.info-text table.oj-table {
    display: table;
    margin:1.5rem 0;
}

.info-text td.oj-table {
    border: 1px solid var(--brown-sugar);
    padding: 0.2rem 0.5rem;
}

.info-text p.oj-tbl-hdr {
    text-align: center;
    margin: 0.5rem 1rem;
}

.info-text td tbody {
    padding-left: 1rem;
    display: table;
}


.info-text table colgroup {
    display: none;
}

.info-text table tbody tr td {
    padding-right: 1rem;
}

.info-text table.oj-table colgroup {
}

.info-text p {
    margin: 0;
}

.info-text {
    display: none;
}

.info-text:nor(.esrs) a {
    color: var(--brown-sugar);
}

.info-text a:hover {
    color: var(--van-dyke-brown);
}

.info-text:not(.esrs) a:after {
    content: " \203A";
}

.info-text *:has(> .oj-note-tag) {
    font-size: 0.8rem;
    vertical-align: super;
}

.info-text .reference :has(> .oj-super) {
    font-style: italic;
    font-weight: 600;
}

.question-action-holder {
    width: auto;
    margin-left: auto;
    position: relative;
    display: flex;
    height: 1.5rem;
    overflow: visible;
    align-self: center;
}

.question-attachment, .responsibility-button {
    background-color: unset;
}

.question-action-holder .question-toggle {
    position: unset;
}

.question-toggle {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    background-color: var(--middle-green-yellow);
    right: 1.5rem;
    top: 1.2rem;
    border: 1px solid var(--van-dyke-brown);
    cursor: pointer;
    line-height: 1.5rem;
}

.responsibility-button,
.question-attachment {
    margin-right: 1rem;
    cursor: pointer;
    border-radius: 100%;
    line-height: 1.7rem;
    height: 1.5rem;
    width: 1.5rem;
    border: 1px solid var(--van-dyke-brown);
    text-align: center;
    color: var(--van-dyke-brown);
    font-size: 1rem;
}

.history-comment-head .question-attachment {
    margin-right: 0;
}

.responsibility-button.assigned,
.question-attachment.uploaded {
    background-color: var(--middle-green-yellow);
}

.responsibility-menu,
.question-attachment-menu {
    position: absolute;
    background-color: var(--almond) !important;
    border: 1px solid var(--van-dyke-brown) !important;
    border-radius: 10px 0 10px 10px;
    font-size: 1.2rem;
    overflow: hidden;
    z-index: 99999;
}
.responsibility-menu {
    padding: 0.5rem;
}

.responsibility-select {
    background-color: var(--bone);
}

.responsibility-info {
    position: absolute;
    right: 1rem;
    top: 0.25rem;
    background-color: var(--middle-green-yellow-2);
    border-radius: 10px;
    line-height: 1.5;
    padding: 0 1rem;
    color: var(--van-dyke-brown);
    box-shadow: inset -1px 2px 6px 1px white, 0px 2px 5px 0px var(--tumbleweed);
}

.ui-state-active {
    background-color: var(--bone) !important;
    color: var(--van-dyke-brown) !important;
    border: none !important;
}

.ui-menu-item-wrapper .ui-icon {
    overflow: visible;
    text-indent: unset;
    left: 0.5rem;
}

.ui-menu-item-wrapper {
    font-weight: 700 !important;
}

.question-toggle.inactive {
    background-color: transparent;
}

.question-text-holder {
    flex: 1;
    display: flex;
}

.question-text-subholder {
    flex: 1;
    max-width: 95.6vw;
}

.subcontent.inactive .question-text span {
    opacity: 0.6;
}

.info-text {
    display: none;
    background-color: var(--alabaster);
    border-top: none !important;
    line-break: auto;
}

.info-text ul {
    margin: 0;
}

.main-question {
    background-color: var(--pale-spring-bud) !important;
}

#questions-main {
    padding: 3rem 1rem;
    padding-top: 1rem;
    width: calc(100% - 2rem);
}

#questions-main .checkbox-holder {
    white-space: nowrap;
    display: flex;
    padding-top: 1.5rem;
    margin-left: 5rem;
    font-size: 1rem;
}
#questions-main .subcontent .checkbox-holder:has(> .slider-container),
#questions-main .subcontent:last-of-type .checkbox-holder {
    padding-bottom: 2rem;
}

#questions-main .checkbox-holder .year-selector {
    min-width: 25%;
    background-color: var(--alabaster);
    height: 3rem;
}

.subcontent.inactive .checkbox-holder {
    display: none !important;
}

.collapsible-title {
    padding-right: 5rem;
}

.subcategory-responsibility-holder {
    margin-left: auto;
}

.slider-container {
    display: inline-block;
    width: 20rem;
    margin-right: 2rem;
    padding-bottom: 0.2rem;
}

.slider {
    width: -webkit-fill-available;
    width: -moz-available;
    margin-left: 0 !important;
}

.slider-separator {
    width: 5rem;
}

.slider-title {
    text-align: center;
    padding-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--van-dyke-brown);
}

.ticks {
    display: flex;
    justify-content: space-between;
    height: 0;
    padding: 10px 0px;
}

.tick-label {
    font-size: 1.2rem;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 0;
    line-height: 0px;
    margin-top: 7px;
}

#card_title {
    margin-left: 3rem;
    color: var(--van-dyke-brown);
    font-family: 'CalibriBold';
    display: none;
}

.content.active-content {
    display: block !important;
    max-height: 100%;
}

.subcontent,
.content .subcontent {
    display: flex;
}

.subcontent:first-of-type {
    margin-top: 1rem;
}

.ui-slider {
    border-radius: 10px;
    background: linear-gradient(90deg, white, var(--alabaster), var(--almond), var(--middle-green-yellow), var(--middle-green-yellow-2));
    box-shadow: inset -4px 6px 7px -5px white;
}

.ui-slider.binary {
    background: linear-gradient(90deg, white, var(--middle-green-yellow-2));
}

.ui-slider-handle {
    border-radius: 100%;
}

.ui-slider-range {
    background-color: transparent;
    border-radius: 10px;
}

.slider-range-inverse {
    position: absolute;
    right: 0;
}

.slider-color-0 .ui-slider-handle {
    background-color: white;
}

.slider-color-25 .ui-slider-handle {
    background-color: var(--alabaster);
}

.slider-color-50 .ui-slider-handle {
    background-color: var(--almond);
}

.slider-color-75 .ui-slider-handle {
    background-color: var(--middle-green-yellow);
}

.slider-color-100 .ui-slider-handle {
    background-color: var(--middle-green-yellow-2);
}

.ui-slider-handle {
    border: 1.5px solid var(--beaver) !important;
    box-shadow: inset -10px 0px 6px -5px rgba(255,255,255,0.5);
}

.slider-container.inactive {
    opacity: 0.40;
}

.slider-container.view-only {
    pointer-events: none;
}

.tooltip-icon {
    cursor: pointer;
    width: 3.2rem;
    box-shadow: 3px 3px 5px var(--shadow-color);
    border-radius: 100%;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .3s;
    box-shadow: 3px 3px 5px var(--almond);
}

.tooltip-icon:hover {
    transform: scale(1.05);
}

.tooltip-icon-holder {
    padding-right: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    padding-top: 0.5rem;
}

.question-tooltip {
    font-family: Calibri;
    background-color: var(--alabaster);
    color: var(--van-dyke-brown);
}

.comment-input {
    height: 0;
    overflow: hidden;
}

.comment-holder.opened .comment-input {
    height: unset;
}

.checkbox-holder textarea,
.comment-text {
    width: -webkit-fill-available;
    width: -moz-available;
    background-color: var(--alabaster);
    font-size: 1.1rem;
    border: 1px solid var(--van-dyke-brown);
    font-weight: 600;
    font-family: CalibriBold;
    color: var(--brown-sugar);
    padding: 0.5rem;
    resize: vertical;
    border-radius: 0.3rem;
    margin-bottom: 1rem;
}

.no-data-placeholder {
    font-size: 1.5rem;
    height: 100%;
    align-content: center;
    text-align: center;
}

.history-holder,
.comment-holder {
    background-color: var(--alabaster-50);
    border: 1px solid var(--van-dyke-brown);
    border-top: none;
    color: var(--brown-sugar);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0rem 1rem 0rem 1rem;
    line-height: 2;
    position: relative;
}

.history-comment-holder {
    gap: 1rem;
    display: flex;
    flex-direction: column;
    height: 20rem;
    overflow: auto;
    padding: 0.5rem 0.5rem 1rem 0.5rem;
}

.comment-holder .comment-warning {
    display: none;
    margin-left: 0.3rem;
    color: var(--indicator-red);
    font-size: 1rem;
}

.comment-holder .comment-warning.valid {
    color: var(--indicator-green);
}

.comment-holder .comment-warning.active {
    display: unset;
}

.comment-holder .comment-warning-text {
    padding-left: 0.5rem;
    font-size: 0.8rem;
    color: var(--indicator-red);
    vertical-align: middle;
}

.collapsible-title .comment-warning {
    margin-left: 0.3rem;
    color: var(--indicator-red);
}

.subcontent.inactive .question-attachment,
.subcontent.inactive .comment-holder textarea {
    pointer-events: none;
    opacity: 0.7;
}

.history-holder label,
.comment-holder label {
    cursor: pointer;
}

.history-comment-container.opened .history-comment-year:before,
.history-holder.opened label:before,
.comment-holder.opened label::before {
    content: "\25BF";
}

.history-comment-container .history-comment-year:before,
.history-holder label:before,
.comment-holder label::before {
    content: "\25B9";
    padding-right: 0.5rem;
}

.history-comment-container .history-comment-year.inactive:before {
    visibility: hidden;
}

.comment-holder.opened textarea {
    display: unset;
    margin-bottom: 1rem;
}

.history-container {
    display: none;
}

.history-comment-container {
    border-radius: 5px;
    border: 1px solid var(--van-dyke-brown);
    box-shadow: 5px 5px 1px 0px var(--shadow-color-light);
}

.history-comment-head {
    display: flex;
}

.history-chart-header {
    text-align: center;
    font-size: 1.4rem;
}

.history-comment-header {
    font-size: 1.4rem;
    padding-bottom: 0.7rem;
}

.history-holder.opened .history-container {
    display: grid;
    grid-template-columns: 30% 65%;
    column-gap: 5%;
    padding-bottom: 1rem;
}

.comment-text::placeholder {
    font-weight: 100;
    color: var(--brown-sugar);
    opacity: 0.4;
}

.combined-input-container {
    width: 100%;
    text-align: left;
}

.question-unit-select {
    margin-left: 1rem;
    height: 3rem;
    border-radius: 10px;
    padding-left: 0.5rem;
    background-color: var(--alabaster);
    min-width: 10rem;
}

.esrs-input-suffix {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--van-dyke-brown);
    padding: 0 0.5rem;
}

@media (max-width: 992px) {
    .slider-container {
        width: 100%;
        padding-top: 1rem;
    }
    .step-button {
        min-width: unset;
        font-size: 1.2rem;
        width: 100%;
    }
}