﻿.surv-page {
    min-height: calc(100vh - var(--hedHeight) - var(--hedHeight));
    align-content: center;
    margin-bottom: var(--hedHeight);
}

.surv-input {
    width: 100%;
}

.surv-title {
    margin-top: 3rem;
    justify-content: center;
    display: flex;
    margin-bottom: 3rem;
}

.surv-descr {
    margin-top: .5rem;
    display: flex;
    margin-bottom: .3rem;
    align-content: center;
}

.surv-container {
    width: 80vw;
    height: fit-content;
    margin: auto;
    border: var(--diBorder);
    border-radius: var(--radius);
    padding: 3rem;
    font: var(--fontMenuItem);
    align-content: center;
    background-color: var(--colorBg);
    margin-top: 2rem;
}

.surv-nav {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 60% 1fr
}

.surv-col-prior {
    grid-column: 1;
    justify-content: start;
    display: flex;
}

.surv-col-progress {
    align-items: center;
    display: flex;
    grid-column: 2;
    justify-content: center;
}

.surv-col-next {
    grid-column: 3;
    justify-content: end;
    display: flex;
}

.surv-msg {
    min-height: calc(100vh - var(--hedHeight) - var(--hedHeight));
    margin-top: var(--hedHeight);
    display: flex;
    align-content: center;
}

.surv-msg-container {
    width: 50vw;
    height: fit-content;
    margin: auto;
    border: var(--diBorder);
    border-radius: var(--radius);
    padding: 3rem;
    font: var(--fontMenuItem);
    align-content: center;
    background-color: var(--colorBg);
    margin-top: 2rem;
}

.surv-msg-text {
    text-align: center;
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.msgButton {
    width: 7vw;
}

@@media (max-width: 576px) {
    .surv-msg-container {
        width: 95vw;
        height: fit-content;
        margin: auto;
        border: var(--diBorder);
        border-radius: var(--radius);
        padding: 3rem;
        font: var(--fontMenuItem);
        align-content: center;
        background-color: var(--colorBg);
    }
}

@@media (min-width: 576px) and (max-width: 768px) {
    .surv-msg-container {
        width: 95vw;
        height: fit-content;
        margin: auto;
        border: var(--diBorder);
        border-radius: var(--radius);
        padding: 3rem;
        font: var(--fontMenuItem);
        align-content: center;
        background-color: var(--colorBg);
    }
}

@@media (min-width: 768px) and (max-width: 992px) {
    .surv-msg-container {
        width: 90vw;
        height: fit-content;
        margin: auto;
        border: var(--diBorder);
        border-radius: var(--radius);
        padding: 3rem;
        font: var(--fontMenuItem);
        align-content: center;
        background-color: var(--colorBg);
    }
}

.progressbar {
    text-align: center;
    background-color: var(--colorBorder);
    padding: 3px;
    position: relative;
    width: 100%;
    border-radius: .8rem;
}

    .progressbar > div {
        background-color: var(--btnColorBgActive);
        height: 20px;
        border-radius: .7rem;
    }

.progress-label {
    font-size: .9em;
    position: absolute;
    margin: 0;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.rating .rating-item.rating-item-primary {
    color: #f0b63a;
}

.fa, .far, .fas {
    font-size: 1.5rem !important;
}

.surv-quest-req {
    color: red;
    font-size: 2rem;
}

.surv-descr {
    display: inline-block;
}

.surv-quest {
    display: block;
    padding-left: 1rem;
}

.val-error {
    color: red;
    display: block;
}

.cross-tab-grid {
    display: grid;
    grid-template-columns: 30rem auto;
    align-items: center;
}

    .cross-tab-grid:nth-child(2n+3) {
        background-color: var(--colorBgCard);
    }

.cross-tab-answer-2 {
    width: 100%;
}

    .cross-tab-answer-2 > div:first-child {
        display: grid !important;
        grid-template-columns: 0fr minmax(5rem, 1fr) minmax(5rem, 1fr);
        justify-items: center;
    }

.cross-tab-answer-3 {
    width: 100%;
}

    .cross-tab-answer-3 > div:first-child {
        display: grid !important;
        grid-template-columns: 0fr minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr);
        justify-items: center;
    }

.cross-tab-answer-4 {
    width: 100%;
}

    .cross-tab-answer-4 > div:first-child {
        display: grid !important;
        grid-template-columns: 0fr minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr);
        justify-items: center;
    }

.cross-tab-answer-5 {
    width: 100%;
}

    .cross-tab-answer-5 > div:first-child {
        display: grid !important;
        grid-template-columns: 0fr minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr);
        justify-items: center;
    }

.cross-tab-answer-6 {
    width: 100%;
}

    .cross-tab-answer-6 > div:first-child {
        display: grid !important;
        grid-template-columns: 0fr minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr);
        justify-items: center;
    }

.cross-tab-answer-7 {
    width: 100%;
}

    .cross-tab-answer-7 > div:first-child {
        display: grid !important;
        grid-template-columns: 0fr minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr);
        justify-items: center;
    }

.cross-tab-answer-8 {
    width: 100%;
}

    .cross-tab-answer-8 > div:first-child {
        display: grid !important;
        grid-template-columns: 0fr minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr);
        justify-items: center;
    }

.cross-tab-answer-9 {
    width: 100%;
}

    .cross-tab-answer-9 > div:first-child {
        display: grid !important;
        grid-template-columns: 0fr minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr);
        justify-items: center;
    }

.cross-tab-answer-10 {
    width: 100%;
}

    .cross-tab-answer-10 > div:first-child {
        display: grid !important;
        grid-template-columns: 0fr minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr) minmax(5rem, 1fr);
        justify-items: center;
    }

.checkRadio {
    margin-top: unset !important;
}

.surv-table-header {
    text-align: center;
    align-self: flex-end !important;
    margin: .2rem;
}

.surv-border-bottom {
    border-bottom: 2px solid var(--colorBorder);
}


.p-l-default {
    padding-left: var(--padding);
}

.p-r-default {
    padding-right: var(--padding);
}


.m3-tb {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}


/*
    Per Marcos request
*/
textarea, input {
    border: 1px solid var(--colorBorder) !important;
}
