@-webkit-keyframes FadeIn {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 0.5;
    }
    100%{
        opacity: 1;
    }
}

@keyframes FadeIn {
    0%{
        opacity: 0;
    }
    50%{
        opacity: 0.5;
    }
    100%{
        opacity: 1;
    }
}

@-webkit-keyframes FadeOut {
    0%{
        opacity: 1;
    }
    50%{
        opacity: 0.5;
    }
    100%{
        opacity: 0;
    }
}

@keyframes FadeOut {
    0%{
        opacity: 1;
    }
    50%{
        opacity: 0.5;
    }
    100%{
        opacity: 0;
    }
}

.modal{
    position: fixed;
    width: 50%;
    margin-left: 25%;
    height: 650px;
    top: 100px;
    background-color: #ffffff;
    z-index: -10;
    border-radius: 20px;
    /* padding: 25px 0px; */
    box-sizing: border-box;
    /* animation: FadeOut 100ms linear forwards; */
    flex-direction: column;
    opacity: 0;
}

.backdrop{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: -11;
    opacity: 0;
    /* animation: FadeOut 100ms linear forwards; */
}

.backdrop.show{
    animation: FadeIn 100ms linear forwards !important;
    z-index: 99 !important;
}
.modal.show{
    animation: FadeIn 100ms linear forwards !important;
    z-index: 100 !important;
}


.modal .modal-header{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 30%;
    padding-left: 25px;
    padding-right: 25px;
}

.modal .modal-header .close-btn{
    background-color: #f1f1f1;
    height: 40px;
    width: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 50%;
    margin-top: auto;
    margin-bottom: auto;
    cursor: pointer;
    transition: 0.1s;
}

.modal .modal-header .close-btn svg{
    margin: auto;
}

.modal .modal-header .close-btn:hover{
    opacity: 0.5;
}

.modal .modal-header .title{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal .modal-header .title h3{
    direction: rtl;
}

.modal-note{
    direction: rtl;
    text-align: justify;
    font-size: 12px;
    height: 20%;
    margin-top: 1%;
    color: #afafaf;
    padding-left: 25px;
    padding-right: 25px;
}

.stopScroll{
    overflow-y: hidden !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    position: fixed !important;
}

.modal-header-cont{
    height: 20%;
    padding-top: 25px;
    /* box-sizing: border-box; */
    -webkit-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1) !important;
    -moz-box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.1) !important;
}
.modal-body{
    height: 76%;
    padding-left: 25px;
    padding-right: 25px;
    overflow-y: scroll;
    overflow-x: hidden;
    /* background-color: red; */
}
.modal-next-button-cont{
    height: 48%;
    margin-top: 1%;
    padding-left: 25px;
    padding-right: 25px;
}

.modal-next-button-cont .step-indicator{
    text-align: right;
    color: #afafaf;
}
.next-button{
    width: 100%;
    font-size: 17px;
    padding-top: 12px;
    padding-bottom: 12px;
    box-sizing: border-box;
    background-color: #98e8e2;
    color: white;
    text-align: center;
    cursor: pointer;
    border-radius: 9px;
    font-family: "Tajawal", sans-serif;
    outline: none;
    border: none;
    transition: 0.1s;
    -webkit-box-shadow: 0px 0px 30px 0px rgb(152 232 226 / 30%);
    -moz-box-shadow: 0px 0px 30px 0px rgba(152, 232, 226, 0.3);
    box-shadow: 0px 0px 30px 0px rgb(152 232 226 / 30%);
    margin-top: auto;
    margin-bottom: 50px;
}

.question{
    width: 100%;
    /* background-color: royalblue; */
    margin-top: 20px;
    margin-bottom: 30px;
}

.question .title{
    text-align: right;
    margin-bottom: 10px;
}

.question .options-cont{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.question .options-cont .option{
    flex: 0.12;
    transition: 0.2s;
    cursor: pointer;
}

.question .options-cont .option:hover{
    opacity: 0.5;
}

.question .options-cont .option .option-value{
    color: #afafaf;
    text-align: center;
}

.question .options-cont .option .option-button{
    height: 20px;
    width: 100%;
    background-color: #EFF1F2;
}

.question .options-cont .option:first-child .option-button{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.question .options-cont .option:last-child .option-button{
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.options-cont.option-AA .option .option-button{
    background: rgb(162, 233, 189);
    -webkit-box-shadow: 0px 3px 20px 0px rgb(162, 233, 189, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgb(162, 233, 189, 0.6);
    box-shadow: 0px 3px 20px 0px rgb(162, 233, 189, 0.6);
}

.options-cont.option-A  .option .option-button{
    background: rgb(162, 233, 176);
    -webkit-box-shadow: 0px 3px 20px 0px rgba(162, 233, 176, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(162, 233, 176, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(162, 233, 176, 0.6);
}

.options-cont.option-BB  .option .option-button{
    background: rgb(161, 232, 152);
    -webkit-box-shadow: 0px 3px 20px 0px rgba(173, 233, 162, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(173, 233, 162, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(173, 233, 162, 0.6);
}

.options-cont.option-B  .option .option-button{
    background: rgb(200, 233, 162);
    -webkit-box-shadow: 0px 3px 20px 0px rgb(200, 233, 162, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgb(200, 233, 162, 0.6);
    box-shadow: 0px 3px 20px 0px rgb(200, 233, 162, 0.6);
}

.options-cont.option-CC  .option .option-button{
    background: rgb(233, 230, 162);
    -webkit-box-shadow: 0px 3px 20px 0px rgba(233, 230, 162 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(233, 230, 162, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(233, 230, 162, 0.6);
}

.options-cont.option-C  .option .option-button{
    background: rgb(242, 194, 102);
    -webkit-box-shadow: 0px 3px 20px 0px rgba(242, 194, 102, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(242, 194, 102, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(242, 194, 102, 0.6);
}

.options-cont.option-DD  .option .option-button{
    background: rgb(242, 156, 102);
    -webkit-box-shadow: 0px 3px 20px 0px rgba(242, 156, 102, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(242, 156, 102, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(242, 156, 102, 0.6);
}

.options-cont.option-D  .option .option-button{
    background: rgb(228, 121, 102);
    -webkit-box-shadow: 0px 3px 20px 0px rgba(228, 121, 102, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(228, 121, 102, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(228, 121, 102, 0.6);
}

.options-cont.option-F  .option .option-button{
    background: rgb(244, 97, 84);
    -webkit-box-shadow: 0px 3px 20px 0px rgba(244, 97, 84, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(244, 97, 84, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(244, 97, 84, 0.6);
}

.option-button-NONE {
    background: #EFF1F2 !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.steps-progress{
    direction: ltr;
}
.steps-progress-bar{
    width: 0%;
    /* animation: load 1s normal forwards; */
    border-radius: 100px;
    height: 13px;
    /* animation: 2s ease 0s 1 normal forwards running animateProgressBar; */
}

.unactiveNextButton{
    cursor: not-allowed;
    background-color: #dfdfdf !important;
    color: #727272 !important;
    -webkit-box-shadow:none !important;
    -moz-box-shadow:none !important;
    box-shadow: none !important;
}

.tags{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    direction: rtl;
}

.tag{
    display: flex;
    flex-direction: row;
    background-color: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 20px;
    margin-left: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 5px 15px;
    padding-top: 7px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    transition: 0.2s;
    height: fit-content;
}

.tag:hover{
    background-color: #f4fffe;
    border-color: #9dece6;
    color: #52a7a1;
}

.tag.active{
    background-color: #9dece6;
    border-color: #9dece6;
    color: white;
    -webkit-box-shadow: 0px 0px 30px 0px rgb(152 232 226 / 30%);
    -moz-box-shadow: 0px 0px 30px 0px rgba(152, 232, 226, 0.3);
    box-shadow: 0px 0px 30px 0px rgb(152 232 226 / 30%);
}

.tag-text{
    margin-top: auto;
    margin-bottom: auto;
}

.sign{
    width: 10px;
    height: 10px;
    margin-left: 5px;
    margin-right: 12px;
    border-radius: 10px;
    margin-top: auto;
    margin-bottom: auto;
}

.positive{
    background: rgb(162, 233, 189);
    -webkit-box-shadow: 0px 3px 20px 0px rgb(162, 233, 189, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgb(162, 233, 189, 0.6);
    box-shadow: 0px 3px 20px 0px rgb(162, 233, 189, 0.6);
}
.neutral{
    background: rgb(242, 194, 102);
    -webkit-box-shadow: 0px 3px 20px 0px rgba(242, 194, 102, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(242, 194, 102, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(242, 194, 102, 0.6);
}
.negative{
    background: rgb(244, 97, 84);
    -webkit-box-shadow: 0px 3px 20px 0px rgba(244, 97, 84, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(244, 97, 84, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(244, 97, 84, 0.6);
}

.tag_section_title{
    direction: rtl;
}

.text-input{
    font-family: "Tajawal", sans-serif;
    color: #727272;
    background-color: #F4F4F4;
    border: 0px;
    width: 100%;
    height: 40px;
    direction: rtl;
    outline: none;
    border-radius: 9px;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
    margin-top: 10px;
    font-size: 17px;
}

.textarea-input{
    font-family: "Tajawal", sans-serif;
    color: #727272;
    background-color: #F4F4F4;
    border: 0px;
    width: 100%;
    direction: rtl;
    outline: none;
    border-radius: 9px;
    padding-top: 16px;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
    margin-top: 10px;
    font-size: 17px;
}

.grade-options{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    cursor: pointer;
}

.grade-options-row-2{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.grade{
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 2px;
    border: 1px solid #727272;
    font-size: 20px;
    margin-left: 4px;
    margin-right: 4px;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: 0.2s;
}


.grade:hover{
    opacity: 0.3;
}


.activeGrade.grade-AA{
    background: rgb(162, 233, 189);
    border-color: rgb(162, 233, 189);
    color: white;
    -webkit-box-shadow: 0px 3px 20px 0px rgb(162, 233, 189, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgb(162, 233, 189, 0.6);
    box-shadow: 0px 3px 20px 0px rgb(162, 233, 189, 0.6);
}

.activeGrade.grade-A {
    background: rgb(162, 233, 176);
    border-color: rgb(162, 233, 176);
    color: white;
    -webkit-box-shadow: 0px 3px 20px 0px rgba(162, 233, 176, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(162, 233, 176, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(162, 233, 176, 0.6);
}

.activeGrade.grade-BB {
    background: rgb(161, 232, 152);
    border-color: rgb(161, 232, 152);
    color: white;
    -webkit-box-shadow: 0px 3px 20px 0px rgba(173, 233, 162, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(173, 233, 162, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(173, 233, 162, 0.6);
}

.activeGrade.grade-B {
    background: rgb(200, 233, 162);
    border-color: rgb(200, 233, 162);
    color: white;
    -webkit-box-shadow: 0px 3px 20px 0px rgb(200, 233, 162, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgb(200, 233, 162, 0.6);
    box-shadow: 0px 3px 20px 0px rgb(200, 233, 162, 0.6);
}

.activeGrade.grade-CC {
    background: rgb(233, 230, 162);
    border-color: rgb(233, 230, 162);
    color: white;
    -webkit-box-shadow: 0px 3px 20px 0px rgba(233, 230, 162 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(233, 230, 162, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(233, 230, 162, 0.6);
}

.activeGrade.grade-C {
    background: rgb(242, 194, 102);
    border-color: rgb(242, 194, 102);
    color: white;
    -webkit-box-shadow: 0px 3px 20px 0px rgba(242, 194, 102, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(242, 194, 102, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(242, 194, 102, 0.6);
}

.activeGrade.grade-DD {
    background: rgb(242, 156, 102);
    border-color: rgb(242, 156, 102);
    color: white;
    -webkit-box-shadow: 0px 3px 20px 0px rgba(242, 156, 102, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(242, 156, 102, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(242, 156, 102, 0.6);
}

.activeGrade.grade-D {
    background: rgb(228, 121, 102);
    border-color: rgb(228, 121, 102);
    color: white;
    -webkit-box-shadow: 0px 3px 20px 0px rgba(228, 121, 102, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(228, 121, 102, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(228, 121, 102, 0.6);
}

.activeGrade.grade-F ,.activeGrade.grade-FF{
    background: rgb(244, 97, 84);
    border-color: rgb(244, 97, 84);
    color: white;
    -webkit-box-shadow: 0px 3px 20px 0px rgba(244, 97, 84, 0.6);
    -moz-box-shadow: 0px 3px 20px 0px rgba(244, 97, 84, 0.6);
    box-shadow: 0px 3px 20px 0px rgba(244, 97, 84, 0.6);
}

.policies-add-review{
    margin-top: 10px;
    margin-bottom: 10px;
    height: fit-content;
    text-align: right;
    font-size: 14px;
    color: #c3c3c3
}

.policies-add-review a{
    font-size: 14px;
    color: #c3c3c3;
}

.comment-counter{
    height: 20%;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    font-size: 16px;
    padding: 0;
    text-align: right;
}

#comment{
    height: 240px;
}
@media (min-width:850px) and (max-width: 1400px) {
    .modal{
        width: 70%;
        margin-left: 15%;
    }
}


@media (max-width:849px){
    .modal-header{
        height: 30% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .modal-note{
        height: 30%;
        margin-top: 2.5%;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .modal-next-button-cont{
        height: 30.5%;
        margin-bottom: 2.5%;
        /* padding-top: 4%; */
        padding-left: 15px;
        padding-right: 15px;
    }
    .modal{
        transform: translateY(100%);
        animation: none !important;
        transition: 0.2s;
        bottom: 0;
        width: 100%;
        margin-left: 0%;
        height: 90%;
        top: unset;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        opacity: 1;
        z-index: 100;
    }
    .modal.show{
        animation: none !important;
        transform: translateY(0%);
    }

    .modal-header-cont{
        height: 23.5%;
    }
    .modal-body{
        height: 76.5%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .question .options-cont .option:hover{
        opacity: 1;
    }
    .tag{
        background-color: #ffffff;
        border: 1px solid #e3e3e3;
        padding: 5px 5px;
        padding-right: 8px;
        margin-left: 5px;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        /* margin-right: 10px; */
    }
    .tag:hover{
        background-color: #ffffff;
        border: 1px solid #e3e3e3;
        color: black;
    }
    .tag.active{
        background-color: #9dece6;
        border-color: #9dece6;
        color: white;
        -webkit-box-shadow: 0px 0px 30px 0px rgb(152 232 226 / 30%);
        -moz-box-shadow: 0px 0px 30px 0px rgba(152, 232, 226, 0.3);
        box-shadow: 0px 0px 30px 0px rgb(152 232 226 / 30%);
    }
    .sign{
        margin-left: 2px;
        margin-left: 4px;
    }
    .tag-text{
        font-size: 14px;
    }
    .grade:hover{
        opacity: 1;
    }
}
