﻿
.questionnaire {
    display: flex;
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
    background-color: var(--dss-white);
    border-radius: 15px;
    justify-content: center;
}

.questionnaire .question-content {
    width: 100%;
}

.questionnaire .intro-content {
    width: 80%;
}

@media (max-width: 1500px) {
    .questionnaire .intro-content {
        width: 100%;
    }
}

.questionnaire .product-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(0,15,85,.05);
    border: 1px solid rgba(0,15,85,.1);
    border-radius: 15px;
    margin-bottom: 1rem;
    padding: 1rem;
    cursor: pointer;
}

.questionnaire .product-box:hover {
    border: 1px solid var(--dss-blue);
}

.questionnaire .product-box p {
    font-size: 16px;
    margin: 0;
}

.questionnaire .product-box.selected {
    border: 1px solid var(--dss-blue);
}

.questionnaire .product-box.unselected {
    border: 1px solid rgba(0,15,85,.1);
    opacity: 0.5;
}

.questionnaire .product-icon {
    width: 30px;
    height: 30px;
}

.questionnaire .button-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

@media (max-width: 500px) {
    .questionnaire .button-container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
    }
}

.questionnaire .continue-button.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.questionnaire .body-map {
    background-image: url(/images/humanbodyimage.svg);
    background-repeat: no-repeat;
    background-position: top 20px center;
    max-width: 360px;
    margin: auto;
    padding: 0;
    font-size: 14px;
}

.questionnaire .body-part {
    width: 120px;
    height: 120px;
    border: 2.5px solid var(--dss-white);
}

.questionnaire .body-part:first-of-type {
    margin: auto;
}

.questionnaire .body-part-inner {
    border: 1px solid rgba(19,55,84,.2);
    box-sizing: border-box;
    border-radius: 5px;
    padding: 20px 10px;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.questionnaire .body-part-radio {
    position: relative;
    cursor: pointer;
    padding-right: 10px;
    align-items: center;
    display: flex;
}

.questionnaire .body-part-side {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 11px;
}

.questionnaire .body-part-radio input[type="radio"] + label {
    padding-left: 5px;
}

.questionnaire input[type=radio] {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
    background: rgba(0,15,85,.05);
    border: 4px solid rgba(0,15,85,.1);
    box-shadow: 0 0 0 1px var(--dss-blue);
    height: 15px;
    width: 15px;
    padding: 5px;
}

.questionnaire input[type=radio]:checked {
    background: rgba(0,15,85,.05);
    border: 4px solid var(--dss-blue);
}

.questionnaire input[type="radio"] + label {
    padding-left: 1rem;
}

.questionnaire input[type=checkbox] + label {
    padding-left: 1rem;
    margin: 0;
    cursor: pointer;
    color: var(--dss-blue);
    position: relative;
    font-size: 16px;
}

.questionnaire input[type=checkbox] {
    width: 15px;
    height: 15px;
}

.questionnaire input[type=checkbox]:checked {
    accent-color: var(--dss-blue);
}

.questionnaire .questionnaire-textinput {
    width: 100%;
    padding-left: 5px;
    color: #4f4f4f;
    border: none;
    border-bottom: 1px solid #4f4f4f;
}

.questionnaire .questionnaire-textinput:focus {
    border: none;
    border-bottom: 0.5px solid #000f55;
    padding-bottom: 5px;
    color: #000f55;
    width: 100%;
    outline: 0;
}

.questionnaire .navigation-button {
    border-radius: 0;
    cursor: pointer;
    border: none;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: rgba(0,15,85,.05);
    opacity: 100%;
}

.questionnaire .navigation-button:disabled {
    background-color: var(--dss-white);
    pointer-events: none;
}

.questionnaire .navigation-back {
    border-radius: 15px 0px 0px 15px;
}

.questionnaire .navigation-forward {
    border-radius: 0px 15px 15px 0px;
}

@media screen and (max-width: 1180px) {
    .questionnaire #back-button, #forward-button {
        position: fixed;
        bottom: 0;
        display: flex;
        align-items: center;
        background-color: rgba(0,15,85,.2);
        margin: 15px;
        height: 50px;
        width: 50px;
        border-radius: 5px;
        border: none;
    }

    .questionnaire #back-button {
        left: 0;
        margin-left: calc(50% - 60px);
    }

    .questionnaire #forward-button {
        right: 0;
        margin-right: calc(50% - 60px);
    }
}

.questionnaire .download-media-link {
    color: inherit;
}


/* Questionaire steps */

.questionaire-steps .step-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.questionaire-steps .substep-icon {
    background-color: var(--dss-blue);
    height: 40px;
    width: 40px;
    border-radius: 2rem;
    color: var(--dss-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.questionaire-steps .substep-col {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.questionaire-steps .title {
    font-weight: 800;
}


@media screen and (max-width: 767px) {
    .questionnaire .questionnaire-image {
        display: none;
    }

    .questionnaire .body-part {
        width: 100px;
    }
}

.questionnaire .system-information-question .privacy .checkbox {
    margin-right: 8px;
    position: relative;
    top: 2px;
}

.questionnaire .error-message-container {
    position: fixed;
    bottom: 10px;
    right: 0;
    display: block;
    z-index: 1;
    width: fit-content;
}

.questionnaire .error-message {
    background-color: rgba(194,0,22,.6);
    color: var(--dss-white);
    font-size: 14px;
    margin-bottom: 5px;
    padding: 1rem 1.5rem;
}

.questionnaire .file-upload-icon {
    max-width: 20px;
    max-height: 20px;
}

.questionnaire #UPLOADREFERRAL .question-description p:last-of-type {
    margin-bottom: 0px;
}


/* Treatment provider map */

.treatment-provider-map {
    position: relative;
    min-height: 500px;
    height: calc(100vh - 370px);
    width: 100%;
    border: 2px solid black;
}

.treatment-provider-map #map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.treatment-provider-map .sidemenu {
    position: absolute;
    left: 0;
    top: 0;
    width: 35%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%
}

.treatment-provider-map .search {
    background-color: var(--dss-light-grey);
    padding: 1rem 1.5rem;
    position: relative;
    flex: 1;
}

.treatment-provider-map input {
    background-color: transparent;
    border: 0;
    width: 100%;
    padding: 0.5rem;
}

.treatment-provider-map .treatment-provider-list {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin: 0;
    list-style-type: none;
    overflow: auto;
}

.treatment-provider-map .treatment-provider-list li {
    cursor: pointer;
    border: 1px solid rgba(0,15,85,.2);
    border-radius: 5px;
    margin-bottom: 5px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.treatment-provider-map .treatment-provider-list li.active {
    border: 2px solid var(--dss-blue);
    box-shadow: 5px 2px 5px rgba(0,0,0,.1);
}

.treatment-provider-map .sidemenu-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background: darkcyan;
    width: 100%;
    border-radius: 8px;
    padding: 1rem;
    position: absolute;
    left: 0;
    top: 0;
}

.treatment-provider-map .list-btn {
    width: 60px;
    cursor: pointer;
}

.treatment-provider-map .list-icon {
    max-width: 24px;
    max-height: 24px;
    overflow: visible;
}

.treatment-provider-map .container {
    position: relative;
}

.treatment-provider-map .info-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.treatment-provider-map .content {
    width: 100%;
    padding: 1rem 0.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

@media (max-width: 1700px) {
    .treatment-provider-map .content {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0;
    }
}

.treatment-provider-map .address-box {
    display: flex;
    flex-direction: column;
    min-width: 40%;
    max-width: 100%;
}

.treatment-provider-map .title {
    font-weight: bold;
    font-size: 16px;
    overflow-wrap: break-word;
}

.treatment-provider-map .address {
    font-size: 16px;
    overflow-wrap: break-word;
}

.treatment-provider-map .distance {
    color: grey;
    font-size: 14px;
    white-space: nowrap;
}

.treatment-provider-map .height-auto {
    height: auto;
}

@media screen and (max-width: 992px) {
    .treatment-provider-map .sidemenu {
        width: 100%;
    }
}

