@import "../../../css/base/colors";

.survey {

    .btn-survey-approved {
        color: $dark_green !important;
        border-color: $dark_green !important;

        &:hover {
            color: $white !important;
            background-color: $dark_green !important;
        }
    }

    .btn-survey-rejected {
        color: $red !important;
        border-color: $red !important;

        &:hover {
            color: $white !important;
            background-color: $red !important;
        }
    }

    .btn-survey-approval {
        color: $grey !important;
        border-color: $grey !important;

        &:hover {
            color: $white !important;
            background-color: $grey !important;
        }
    }

    .flow-image {
        width: 100%;
    }

    .label-slider-minmax {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 6px;
    }

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

    input[type=range]::-webkit-slider-thumb {
        background-color: $zim_green;
    }

    input[type=range]::-moz-range-thumb {
        background-color: $zim_green;
    }

    input[type=range]::-ms-thumb {
        background-color: $zim_green;
    }

    input[type=range]+.thumb {
        background-color: $zim_green;
    }

    .input-field>label:not(.label-icon).active {
        transform: translateY(-20px) translateX(-10px) scale(0.8);
        transform-origin: 0 0;
    }

    .text-area-input {
        border: 2px solid $zim_green;
    }

    .input-field label {
        font-size: 16px !important;
    }

    .font-weight-bold {
        font-weight: bold;
    }

    .font-size-16 {
        font-size: 16px;
    }

    [type="radio"]:not(:checked)+span, [type="radio"]:checked+span {
        font-size: 16px;
    }

    [type="checkbox"]+span:not(.lever) {
        font-size: 16px;
    }

    .bordered-button {
        color: $zim_green;
        border: 2px solid $zim_green;
    }

    .width-150 {
        width: 150px;
    }

    [type="checkbox"]+span:not(.lever):before, [type="checkbox"]:not(.filled-in)+span:not(.lever):after {
        border: 2px solid #9e9e9e;
    }

    [type="radio"]:not(:checked)+span:before, [type="radio"]:not(:checked)+span:after {
        border: 2px solid #9e9e9e;
    }

    [type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:after {
        background-color: black;
    }

    [type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:before, [type="radio"].with-gap:checked+span:after {
        border: 2px solid black;
    }

    [type="checkbox"]:checked+span:not(.lever):before {
        border: none;
        border-right: 2px solid black;
        border-bottom: 2px solid black;
    }

    .survey-title {
        margin-bottom: 40px;
    }

    .white-text {
        color: white;
    }

    .button-container {
        display: flex;
        justify-content: flex-start;
        margin-top: 50px;
    }

    .section-title {
        margin-top: 40px;
        font-size: 30px;
        font-weight: bold;
    }

    .question-container {
        margin-top: 75px;
    }

    .question-title {
//         margin-top: 40px;
        font-size: 26px;
        font-weight: bold;
    }

    .question-description {
        margin-top: 10px;
        font-size: 16px;
    }

    .flex-container {
        display: flex;
        justify-content: space-around;
    }

    .step-choice-row-header {
        min-height: 55px;
    }

    .step-choice-row {
        min-height: 55px;
    }

    .step-choice-row:nth-of-type(odd) {
        background-color: #ECECEC;
    }

    .big-cell {
        width: 300px;
        font-size: 16px;
        display: flex;
        align-items: center;
        padding-left: 20px;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .small-cell {
        text-align: center;
        width: 200px;
        font-size: 16px;
        flex-direction: column;
        justify-content: center;
        display: flex;
    }

    .survey-overview-graphs-title {
        margin-top: 100px;
    }

    .survey-overview-graphs {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 80px;
    }

    .circle-graph {
        position: relative;
        top: 25px;
        left: 25px;
        text-align: center;
        width: 150px;
        height: 150px;
        border-radius: 100%;
        background-color: #FFFFFF;
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 2;
    }

    .circle-graph-border {
        position: relative;
        text-align: center;
        width: 200px;
        height: 200px;
        border-radius: 100%;
        background-color: #FFFFFF;
        background: linear-gradient(270deg, $zim_green 50%, transparent 50%), linear-gradient(0deg, $zim_green 50%, #FFFFFF 50%)
    }

    .circle-graph-pecentage {
        line-height: 45px;
        font-size: 50px;
        font-weight: bold;
    }

    .circle-graph-pecentage-sign {
        font-size: 24px;
        font-weight: bold;
    }

    .circle-graph-small {
        position: relative;
        top: 10px;
        left: 10px;
        text-align: center;
        width: 80px;
        height: 80px;
        border-radius: 100%;
        background-color: #FFFFFF;
        display: flex;
        flex-direction: column;
        justify-content: center;
        z-index: 2;
    }

    .circle-graph-border-small {
        position: relative;
        text-align: center;
        width: 100px;
        height: 100px;
        margin-left: 10px;
        margin-right: 10px;
        border-radius: 100%;
        background-color: #FFFFFF;
        background: linear-gradient(270deg, $zim_green 50%, transparent 50%), linear-gradient(0deg, $zim_green 50%, #FFFFFF 50%)
    }

    .circle-graph-pecentage-small {
        line-height: 20px;
        font-size: 30px;
        font-weight: bold;
    }

    .circle-graph-pecentage-sign-small {
        font-size: 20px;
        font-weight: bold;
    }

    .big-label-graph {
        text-align: center;
        font-size: 15px;
        width: 200px;
        margin-top: 3px;
    }

    .small-label-graph {
        text-align: center;
        font-size: 15px;
        margin-top: 3px;
    }

    .top-label-graph {
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 30px;
    }

    .survey-courses-button-container {
        display: flex;
        justify-content: center;
        margin-top: 50px;
    }

    .dispatch-orders-table {
        margin-top: 50px;
    }

    .survey-courses-container {
        margin-top: 100px;
    }

    .info-course-container {
        display: block;
    }

    .info-course-title {
        display: none;
    }


    .bold {
        font-weight: bold;
    }

    .bordered-superbig {
//         width: 150px;
        text-decoration: none;
        height: auto;
    }

    .dop-cell-send {
        width: 200px;
    }

    .link-colored-no-underline {
        text-decoration: none;
        color: $zim_green;
        display: flex;
        font-size: 17px;
        align-items: center;
    }

    .text-value:nth-of-type(odd) {
        background-color: #ECECEC;
    }

    .single-value:nth-of-type(odd) {
        background-color: #ECECEC;
    }

    .multi-value:nth-of-type(odd) {
        background-color: #ECECEC;
    }

    .section {
        margin-top: 50px;
    }

    .section-title {
        color: black;
    }

    .single-value, .text-value {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
        display: flex;
    }

    .percent-value {
        width: 3.2rem;
        
        span {
            font-weight: 800;
        }
    }

    .text-value-number {
        margin-right: 10px;
    }

    .question {
        margin-top: 40px;
    }

    .button-show-all-container {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .mobile-label-step-choice {
        display: none;
    }

    #loading-spinner-content {
        display: none;
        position: fixed;
        width: 100vw;
        height: 85vh;
        z-index: 100;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .flex-start-container {
        display: flex;
        justify-content: flex-start;
    }

    .flex-end-container {
        display: flex;
        justify-content: flex-end;
    }

    .width-50-percent {
        width: 50%;
    }

    .margin-left-50px {
        margin-left: 50px;
    }

    .margin-top-20px {
        margin-top: 20px;
    }

    .margin-top-50px {
        margin-top: 50px;
    }

    .margin-top-100px {
        margin-top: 100px;
    }

    .gray_small_text {
        color: #9E9E9E;
        font-size: 16px;
    }

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

    .hidden {
        display: none;
    }

    #info-message-survey p {
        color: orange;
        font-size: 15px;
    }

    .title-icon-container {
        justify-content: center;
        display: flex;
    }

    .margin-left-5px {
        margin-left: 5px;
    }

    .label-export {
        font-size: 15px;
        font-weight: bold;
        color: #9E9E9E;
    }

    .check-with-label:checked + .label-for-check {
      color: black;
    }

    #mobile-course-outer-container, #mobile-instructor-outer-container {
        display: none;
    }

    @media (max-width: 1440px) {
        .dop-cell {
            font-size: 14px;
            .btn-flat {
                font-size: 10px;
            }
        }

        .dop-cell-course {
            width: 200px;
            min-width: 200px;
        }

        .dop-cell-senddate {
            width: 150px;
            min-width: 150px;
        }

        .dop-cell-type {
            width: 100px;
            min-width: 100px;
        }

        .dop-cell-pickup {
            width: 150px;
            min-width: 150px;
        }

        .dop-cell-nr {
            width: 50px;
            min-width: 50px;
        }

        .dop-cell-lang {
            width: 50px;
            min-width: 50px;
        }


    }

    @media (max-width: $breakpoint_small) {

        .small-cell {
            font-size: 9px;
            width: auto;
            display: block;
            text-align: left;
        }

        .small-cell-step {
            display: flex;
            text-align: left;
            flex-direction: row;
            justify-content: flex-start
        }

        .step-choice-row-header {
            display: none;
        }

        .step-choice-row {
            display: block;
            padding-left: 20px;
        }

        .mobile-label-step-choice {
            display: block;
        }

        .paragraph-container-step-choice {
            display: flex;
        }

        .big-cell {
            padding-left: 0px;
        }

        .question-description {
            margin-top: 0px;
            font-size: 13px;
        }

        .button-container {
            justify-content: space-between;
        }

        #loading-spinner-content {
            height: 70vh;
        }

        .survey-overview-graphs {
            flex-direction: column;
        }

        .dop-row {
            flex-direction: column;
        }

        .dop-header-row {
            display: none;
        }

        .dispatch-orders-table {
            margin-top: 20px;
        }

        .circle-graph-container {
            margin-bottom: 30px;
        }

        .small-circle-graph-container {
            margin-bottom: 30px;
            width: 140px;
        }

        .small-label-graph {
            margin-left: 0px;
        }

        .info-course-container {
            display: flex;

            .info-course-title {
                display: block;
                margin-right: 5px;
                color: $zim_green;
                font-weight: bold;
            }
        }

        .dop-cell-send {
            margin-bottom: 10px;
        }

        .dop-cell-center {
            text-align: left;
        }

        .dop-cell-nr-course {
            display: none;
        }

        #mobile-course-outer-container, #mobile-instructor-outer-container {
            display: block;
        }

        .mobile-courses-container, .mobile-instructor-container {
            margin-top: 15px;
        }

        .survey-courses-container {

        }

        #mobile-instructor-outer-container {
            margin-top: 50px;
        }

        .small-label-graph {
            margin-right: 20px;
        }

        .mobile-block {
            display: block;
        }

        .mobile-no-margin {
            margin: 0px;
        }

        .mobile-margin-bottom-20px {
            margin-bottom: 20px;
        }
    }

    .popup-outter-container {
        position: fixed;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.5);
        top: 0;
        left: 0;
        z-index: 1000;
        display: none;
    }

    .popup-inner-container {
        position: fixed;
        width: 70%;
        background-color: white;
        top: 20%;
        left: 15%;
        z-index: 1001;
        display: none;
    }

    .popup-text-container {
        margin-left: 30px;
        margin-right: 30px;
        display: none;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .close {
        color: #aaaaaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        margin-right: 10px;
        cursor: pointer;
    }

    .cursor-pointer {
        cursor: pointer;
    }

    .flex-items-center {
        display: flex;
        align-items: center;
    }

    .disable-survey-entry {
        color: gray;
    }

    .grayed-out {
        color: lightgray !important;
    }

    .grayed-out-button {
        color: lightgray !important;
        border-color: lightgray !important;
    }
}

.my-courses-filter-container{
    display: flex;
    flex-direction: row;
    gap: 50px;
    margin-bottom: 20px;

  .my-courses-filter-search {
    display: flex;
    flex-direction: column;
  }

  .my-courses-filter-year {
    display: flex;
    flex-direction: column;
  }

  @media only screen and (max-width: $breakpoint_medium) {
    gap: 20px;
  }

  @media only screen and (max-width: $breakpoint_small) {
    flex-wrap: wrap;
  }

}

.dispatch-date-filter-container {
    display: flex;
}

.dispatch-orders-table {
    margin-top: 50px;
}

.dop-header-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    font-weight: bold;
    color: $zim_green;
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    height: 50px;
    align-items: center;
}

.dop-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-top: 10px;
}

.dop-cell {
    font-size: 17px;
}

.dop-cell-nr {
//     background-color: red;
//     flex-grow: 1;
    width: 45px;
    text-align: left;
    margin-right: 5px;
}

.dop-cell-senddate {
//     background-color: yellow;
//     flex-grow: 1;
    width: 180px;
}

.dop-cell-lang {
//     background-color: red;
//     flex-grow: 1;
    width: 30px;
}

.dop-cell-course {
//     background-color: yellow;
//     flex-grow: 1;
    width: 300px;
}

.dop-cell-type {
//     background-color: red;
//     flex-grow: 1;
    width: 70px;
}

.dop-cell-pickup {
//     background-color: yellow;
//     flex-grow: 1;
    width: 180px;
}

.dop-cell-send {
//     background-color: red;
//     flex-grow: 1;
    width: 100px;
    padding-right: 15px;
}

.dop-cell-participants {
//     background-color: yellow;
//     flex-grow: 1;
    width: 30px;
}

.dop-cell-list {
//     background-color: red;
//     flex-grow: 1;
    width: 50px;
}

.dop-cell-box {
//     background-color: yellow;
//     flex-grow: 1;
    width: 50px;
}

.dop-cell-status {
//     background-color: red;
//     flex-grow: 1;
    width: 140px;

    a {
        text-decoration: none;
    }
}

.dop-cell-center {
    text-align: center;
}

.switch label input[type=checkbox]:checked+.lever {
    background-color: $zim_green;
}

.switch label input[type=checkbox]:checked+.lever:after {
    background-color: $zim_green;
}

.zim-green-color {
    color: $zim_green;
}