﻿/*-----------------------------------Header----------------------------------*/

.SurveyHeaderImg {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-top-left-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999)));
    -webkit-border-top-left-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999)));
    -moz-border-top-left-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999)));
    -ms-border-top-left-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999)));
    -o-border-top-left-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999)));
    border-top-right-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999)));
    -webkit-border-top-right-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999)));
    -moz-border-top-right-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999)));
    -ms-border-top-right-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999)));
    -o-border-top-right-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999)));
    z-index: 90;
}

.green-title {
    font-family: 'AlmaraiRegular';
    font-size: 20px !important;
    position: absolute;
    margin-top: 250px;
    margin-right: 30px;
    color: #fff !important;
    z-index: 100;
}

.green-title:before {
    display: none;
}


/*---------------------------------msg---------------------------------------*/

.GoBackToHome {
    text-decoration: none !important;
    margin-top: 70px;
    position: absolute;
    color: var(--Gray-2) !important;
    font-size: 19px;
    display: block;
    margin-right: 25vw;
}

.GoBackToHome:hover {
    color: var(--Green-2) !important;
}


/*------------------------------------Survey---------------------------------*/

.pnlSurvey {
    display: flex;
    align-items: start;
    gap: var(--Global-spacing-5xl);
    padding-top: var(--Global-spacing-5xl);
    flex-direction: row-reverse;
}

.pnlSurvey>table>tbody>tr {
    display: flex;
    flex-direction: column;
}

.pnlSurvey>table>tbody>tr>td:first-child>table>tbody {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media only screen and (max-width:1199px) {
    .pnlSurvey>table>tbody>tr>td:first-child>table>tbody {
        flex-direction: column;
    }

    .pnlSurvey>table>tbody>tr>td:first-child>table>tbody>tr {
        margin: 1px;
        max-width: 100%;
    }
}


/*
.pnlSurvey>table>tbody>tr>td:first-child>table>tbody>tr:first-child {
    display: none;
}*/

.pnlSurvey>table>tbody>tr>td:first-child>table>tbody>tr {
    flex: auto;
    background: linear-gradient(to left, #1E6E48, #5D8A59);
}

.pnlSurvey>table>tbody>tr>td:first-child>table>tbody>tr>td {
    padding-right: 20px;
}

.pnlSurvey td[style='font-weight:bold;'] {
    width: 100%;
    display: block;
    background: #92AD6C;
}

.pnlSurvey td[style='font-weight:bold;'] a {
    /*Active tab*/
    color: #1E6E48 !important;
    cursor: default;
}

fieldset.cardContainer {
    display: block;
    min-inline-size: min-content;
    margin-inline: 2px;
    border-width: 2px;
    border-style: groove;
    border-color: threedface;
    border-image: initial;
    padding-block:unset;
    padding-inline:unset;
    padding: 32px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.pnlSurvey>table>tbody>tr>td:first-child>table>tbody>tr:after {
    content: '';
    height: 0;
    width: 0;
    border-top: 26px solid transparent;
    border-bottom: 26px solid transparent;
    position: absolute;
    margin-top: -52px;
    border-right: 15px solid #5D8A59;
}

.pnlSurvey>table>tbody>tr>td:first-child>table>tbody>tr:first-child:after {
    display: none;
}

.pnlSurvey>table>tbody>tr>td:first-child>table>tbody a {
    text-decoration: none;
}

.pnlSurvey>table>tbody>tr>td:nth-child(2)>table>tbody>tr>td {
    display: flex;
    flex-direction: column;
    gap:var(--Global-spacing-4xl)
}
.pnlSurvey>table>tbody>tr>td:nth-child(2)>table>tbody>tr:last-of-type td{
    padding: var(--Global-spacing-4xl) 0 0;
}
.Answers{
    margin-top: var(--Global-spacing-sm);
}
.pnlSurvey .Question {
    font-size: var(--Global-spacing-xl);
    font-family: var(--fontBold);
    margin-bottom: var(--Global-spacing-sm);
}

fieldset.cardContainer,
.pnlSurvey .cardContainer {
    display: flex;
    flex-direction: column;

}

legend {
    width: fit-content;
    padding: 0 20px;
    float: unset;
}

.pnlSurvey label {
    margin-top: 10px;
    color: #4F4C4C;
}

.pnlSurvey .Question:first-child {
    margin-bottom: var(--Global-spacing-sm);
}

span.RequiredFieldValidator,
.pnlSurvey span[style='visibility: visible;'] {
    background: #fff8c4;
    width: 90%;
    margin: 30px auto;
    color: #4F4C4C;
    padding: 15px;
    padding-right: 50px;
    display: flex;
    align-items: center;
}

span.RequiredFieldValidator:before,
.pnlSurvey span[style='visibility: visible;']:before {
    color: #f79463;
    display: flex;
    content: '⚠';
    /* f071*/
    font-size: 20px;
    position: absolute;
    font-family: 'FontAwesome';
    margin-right: -30px;
    border-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999))) / 8px;
    -webkit-border-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999))) / 8px;
    -moz-border-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999))) / 8px;
    -ms-border-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999))) / 8px;
    -o-border-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999))) / 8px;
}

.pnlSurvey>table>tbody>tr>td:first-child>table>tbody>tr>td>a {
    color: #fff;
}



.pnlSurvey .btnFinish,
.pnlSurvey .btnNext,
.pnlSurvey .btnStart {
    float: left;
}

.pnlSurvey input[type=checkbox]
.pnlSurvey input[type=radio] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    -ms-appearance: none !important;
    -o-appearance: none !important;
    position: relative;
    top: 13.33333px;
    right: 30px;
    bottom: 0;
    left: 0;
    height: 30px;
    width: 30px;
    transition: all 0.15s ease-out 0s;
    background: #fff;
    border: 1px solid var(--Colors-Gray-300);;;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin-right: 0;
    outline: none;
    position: relative;
    z-index: 1000;
    border-radius: 50%;
}
.pnlSurvey input[type=checkbox]:after,
.pnlSurvey input[type=radio]:after {
    border-radius: 50%;
}

.pnlSurvey input[type=checkbox]:checked,
.pnlSurvey input[type=radio]:checked {
    background: var(--Colors-SA-600);
}
.pnlSurvey input[type=checkbox]:checked::before,
.pnlSurvey input[type=radio]:checked::before {
    width: 24px;
    height: 24px;
    display: flex;
    content: "✔";
    color:#fff;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    align-items: center;
    justify-content: center;
    font-family: 'FontAwesome';
    right: 0;
    border-radius: 50%!important;
    -webkit-border-radius: 50%!important;
    -moz-border-radius: 50%!important;
    -ms-border-radius: 50%!important;
    -o-border-radius: 50%!important;
    background: var(--Colors-SA-600);
}
.pnlSurvey input[type=checkbox]:checked::before{
    background: var(--Colors-SA-600);
    border-radius: 2px!important;
    -webkit-border-radius: 2px!important;
    -moz-border-radius: 2px!important;
    -ms-border-radius: 2px!important;
    -o-border-radius: 2px!important;
}



.select2.select2-container {
    margin-left: auto;
    margin-right: auto;
}

.select2-container--default .select2-selection--single {
    height: 40px;
}

.SideBarListItem a{
    color: var(--text-default);
    font-weight: 700;
    font-size: 16px;
    max-width: calc(100% - 42px);
}
.SideBarListItem.active a:hover,
.SideBarListItem.active a {
    color: #1b8354;
}
.SideBarListItem.done .stepNumber {
    font-family: auto;
}



.pnlSurvey > table > tbody > tr:first-of-type > td:first-of-type table{

    display: none;
    opacity: 0;
}
.SideBarListItem.done .stepNumber,
.SideBarListItem.active .stepNumber {
    background-color: #1b8354;
    border: 1px solid #1b8354;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
    color: #fff;
}

.stepNumber {
    align-items: center;
    background-color: #fff;
    border: 1px solid #1b8354;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
    color: #1b8354;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    height: 32px;
    justify-content: center;
    width: 32px;
    z-index: 1;
}
.dataContainer{
    display: flex;
    align-items: center;
    gap: 16px;
}
.SideBarList{
    height: 100%;
    position: relative;
    background-color: var(--Colors-Gray-50);
    padding: 40px;
    border-radius: var(--Global-spacing-xl);
    position: sticky;
    top: 0;
    min-width: 360px;
    max-width: 460px;
}
.SideBarListItem.active .stepNumber {
    background-color: #1b8354;
    border: 1px solid #1b8354;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
    color: #fff;
}
.SideBarListItem {
    display: flex;
    gap: 8px;
    align-items: center;
}
.SideBarListItem:not(:last-of-type) {
    margin-bottom: 32px;
}
.SideBarList:before {
    background: #d2d6db;
    border-radius: 2px;
    content: "";
    height: calc(100% - 80px);
    position: absolute;
    top: 40px;
    right: 55px;
    width: 4px;
}  
.dataContainer>div>select{
    width: 100%;
}
.dataContainer label{
    width: 100%;
}
#lblHijri{
    margin-bottom: 16px;
}
.dataContainer #lblMeladi{
    margin-bottom: 0;
}
.dataContainer .col{
    flex: 100%;
}
@media(max-width:991px){
    .SideBarListItem:not(:last-of-type){
        margin-bottom: 0;
    }
    .SideBarList:before{
        display: none;
    }
    .pnlSurvey{
        flex-direction: column;
    }
    .SideBarList{
        display: flex;
        align-items: center;
        gap: 32px;
        flex-wrap: wrap;
        position: relative;
        width: 100%;
        min-width: 100%;
    }
    .SideBarListItem a{
        max-width: unset;
    }
    .pnlSurvey{
        gap: var(--Global-spacing-4xl);
    }
}
@media(max-width:991px){
    .dataContainer{
        flex-wrap: wrap;
    }
}
@keyframes click-wave {
    0% {
        height: 40px;
        width: 40px;
        opacity: 0.35;
        position: relative;
    }

    100% {
        height: 200px;
        width: 200px;
        margin-left: -80px;
        margin-top: -80px;
        opacity: 0;
    }
}

@-webkit-keyframes click-wave {
    0% {
        height: 40px;
        width: 40px;
        opacity: 0.35;
        position: relative;
    }

    100% {
        height: 200px;
        width: 200px;
        margin-left: -80px;
        margin-top: -80px;
        opacity: 0;
    }
}

fieldset td,
.HorizontalAnswer li,
.Answers li {
    padding-right: 35px !important;
    position: relative !important;
    margin-bottom: 20px;
}

.HorizontalAnswer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    flex-wrap: wrap;
}
[type="checkbox"]:not(:checked)+label,
[type="checkbox"]:checked+label ,
[type="radio"]:not(:checked)+label,
[type="radio"]:checked+label {
    position: unset !important;
    padding-right: unset !important;
    height: auto !important;
}


.pnlSurvey input[type=checkbox] ,
.pnlSurvey input[type=radio] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 24px;
    height: 24px !important;
    border-radius: 50%!important;
    -webkit-border-radius: 50%!important;
    -moz-border-radius: 50%!important;
    -ms-border-radius: 50%!important;
    -o-border-radius: 50%!important;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.pnlSurvey input[type=checkbox] {
    border-radius: 2px!important;
    -webkit-border-radius: 2px!important;
    -moz-border-radius: 2px!important;
    -ms-border-radius: 2px!important;
    -o-border-radius: 2px!important;
}

.cardContainer input[type=text] {
    border-radius: 5px !important;
}


.GoBackToHome:hover {
    color: var(--Green-2) !important;
}



.msg.green {
    line-height: 23px;
    font-size: 15px;
    padding-right: 25px;
    border-radius: 5px;
    background: rgba(76, 175, 80, 0.8) !important;
    font-family: AlmaraiRegular;
    margin-bottom: 150px;
    margin-top: 50px;
    position: relative;
}


.GoBackToHome {
    text-decoration: none !important;
    margin-top: unset;
    position: absolute;
    color: var(--Gray-2) !important;
    font-size: 19px;
    display: block;
    margin-right: unset;
    left: 0;
    right: 0;
    top: 115px;
    text-align: center;
}


textarea.Answers {
    background: #fff;
    border-radius: 5px;
    width: 100%;
    height: auto !important;
}

table{
    width: 100%;
    font-family: var(--fontMeduim);
}

.pnlSurvey>table>tbody>tr>td:first-child>table>tbody>tr{
    height: 52px;
}
.pnlSurvey>table>tbody>tr>td:first-child>table>tbody>tr>td{
    display: flex;
    align-items: center;
    height: 100%;

}
.select2.select2-container{
    width: 100%!important;
}