:root {
    --afraGreen1:rgba(12, 128, 65, 1);
    --afraGreen2:rgba(77, 184, 72, 1);
    --afraGreen3:rgba(188,214,45,1);
    --afraGreen4:rgba(113, 192, 100, 1);
    --evaluationColor:#FF6500;
    --assessmentColor:#4F6F52;
    --preAssessmentColor:#0077B6;
    --trainingColor:#874CCC;
    --callColor:#F7C566;
    --accountColor:#F7C566;
    --verifyColor:#D2DE32;
    --opportunityColor:#6D2932;
    --profileColor:#40A2D8;
    --certificateColor:#CA8787;
    --systemColor:#96E9C6;
    --meetingColor:#de1b4a;
    --eventColor: rgba(0, 82, 255, 0.73);
    --occasionColor: rgba(157, 36, 137, 0.76);
}
@font-face {
    font-family: 'iransans';
    src: url('../fonts/IRANSansWeb-FaNum.ttf') format('ttf'), url('../fonts/IRANSansWeb-FaNum.eot') format('eot'), url('../fonts/IRANSansWeb-FaNum.woff') format('woff');
}

@font-face {
    font-family: 'fanoos';
    src: url('../fonts/Fanoos/SGFanoos-Regular.ttf') format('ttf'), url('../fonts/Fanoos/SGFanoos-Regular.eot') format('eot'), url('../fonts/Fanoos/SGFanoos-Regular.woff') format('woff');
}

@font-face {
    font-family: 'fanoos-bold';
    src: url('../fonts/Fanoos/SGFanoos-Bold.ttf') format('ttf'), url('../fonts/Fanoos/SGFanoos-Bold.eot') format('eot'), url('../fonts/Fanoos/SGFanoos-Bold.woff') format('woff');
}

* {
    font-family: 'fanoos';
    font-size: small;
    font-feature-settings: "ss01" on;
}

*::selection {
    background-color: var(--afraGreen1);
    color: white;
}

select.form-control:not([size]):not([multiple]) {
    height: auto!important;
}

body {
    direction: rtl;
}

/*a {*/
/*    color: var(--afraGreen3);*/
/*    text-decoration: none;*/
/*}*/

/*a :hover{*/
/*    color: var(--afraGreen1);*/
/*    text-decoration: none;*/
/*}*/

.topbar {
    background-image: linear-gradient(#84ba24, #50af31, #3baa34);
}

.login-page {
    position: absolute;
    top:0;
    bottom: 0;
}

@media (max-width: 768px) {
    .login-bg {
        display: none;
    }
}

.login-bg {
    background-image: url('../images/login-bg.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: right;
}

.login2-bg {
    background-image: url('../images/login-bg2.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.border-afra {
    border-color: var(--afraGreen4);
}

.form-control {
    outline-color: unset;
}

    .form-control:active, .form-control:focus {
        border-color: var(--afraGreen3);
        box-shadow: 0 0 0 0.2rem var(--afraGreen3);
    }

.form-group ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.form-group li {
    width: 20%;
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    vertical-align: top;
    display: inline-block;
    padding-right: 30px;
}

.form-group li:first-child {
    padding-right: 0;
}

.form-group li label {
    margin-bottom: 0;
}

.afra-link {
    color: var(--afraGreen1);
}

.afra-link:hover {
    text-decoration: none;
    color: black;
}

.table .thead-dark th {
    background-image: linear-gradient(#84ba24, #50af31, #3baa34);
    color: white;
    font-weight: normal;
    border: none;
}

.btn-afra {
    background-color: var(--afraGreen2);
    color: white;
}
.btn-afra:hover {
    background-color: var(--afraGreen1);
    color: whitesmoke;
    text-decoration: none;
}

.btn-afra:focus,
.btn-afra:active {
    box-shadow: 0 0 0 .2rem var(--afraGreen2)
}

.btn-afra2 {
    background-color: var(--afraGreen4);
    color: white;
}
.btn-afra2:hover {
    background-color: var(--afraGreen1);
    color: white;
    text-decoration: none;
}

.btn-afra2:focus,
.btn-afra2:active {
    box-shadow: 0 0 0 .2rem var(--afraGreen2)
}

.btn-afra-white {
    background-color: white;
    color: var(--afraGreen1);
}
.btn-afra-white:hover {
    color: var(--afraGreen2);
    text-decoration: none;
}

.btn-afra-white:focus,
.btn-afra-white:active {
    box-shadow: 0 0 0 .2rem lightgrey;
}

.text-afra {
	color: var(--afraGreen1);
}

.md-stepper-horizontal {
	display:table;
	width:100%;
	margin:0 auto;
    overflow-wrap: anywhere;
}
.md-stepper-horizontal .md-step {
	display:table-cell;
	position:relative;
	padding:24px;
}
.md-stepper-horizontal .md-step:hover,
.md-stepper-horizontal .md-step:active {
	background-color:rgba(0,0,0,0.04);
}
.md-stepper-horizontal .md-step:active {
	border-radius: 5px;
}
.md-stepper-horizontal .md-step:first-child:active {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.md-stepper-horizontal .md-step:last-child:active {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.md-stepper-horizontal .md-step:hover .md-step-circle {
	background-color:#757575;
}
.md-stepper-horizontal .md-step:last-child .md-step-bar-left,
.md-stepper-horizontal .md-step:first-child .md-step-bar-right {
	display:none;
}
.md-stepper-horizontal .md-step .md-step-circle {
	width:30px;
	height:30px;
	margin:0 auto;
	background-color:#999999;
	border-radius: 50%;
	text-align: center;
	line-height:30px;
	font-size: 16px;
	font-weight: 600;
	color:#FFFFFF;
}
.md-stepper-horizontal.green .md-step.active .md-step-circle {
	background-color:#00AE4D;
}
.md-stepper-horizontal.orange .md-step.active .md-step-circle {
	background-color:#F96302;
}
.md-stepper-horizontal .md-step.active .md-step-circle {
	background-color: rgb(33,150,243);
}
.md-stepper-horizontal .md-step.done .md-step-circle:before {
	font-family:'FontAwesome';
	font-weight:100;
	content: "\f00c";
}
.md-stepper-horizontal .md-step.done .md-step-circle *,
.md-stepper-horizontal .md-step.editable .md-step-circle * {
	display:none;
}
.md-stepper-horizontal .md-step.editable .md-step-circle {
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
}
.md-stepper-horizontal .md-step.editable .md-step-circle:before {
	font-family:'FontAwesome';
	font-weight:100;
	content: "\f040";
}
.md-stepper-horizontal .md-step .md-step-title {
	margin-top:16px;
	font-size:16px;
	font-weight:600;
}
.md-stepper-horizontal .md-step .md-step-title,
.md-stepper-horizontal .md-step .md-step-optional {
	text-align: center;
	color:rgba(0,0,0,.26);
}
.md-stepper-horizontal .md-step.active .md-step-title {
	font-weight: 600;
	color:rgba(0,0,0,.87);
}
.md-stepper-horizontal .md-step.active.done .md-step-title,
.md-stepper-horizontal .md-step.active.editable .md-step-title {
	font-weight:600;
}
.md-stepper-horizontal .md-step .md-step-optional {
	font-size:12px;
}
.md-stepper-horizontal .md-step.active .md-step-optional {
	color:rgba(0,0,0,.54);
}
.md-stepper-horizontal .md-step .md-step-bar-left,
.md-stepper-horizontal .md-step .md-step-bar-right {
	position:absolute;
	top:36px;
	height:1px;
	border-top:1px solid #DDDDDD;
}
.md-stepper-horizontal .md-step .md-step-bar-right {
	right:0;
	left:50%;
	margin-left:20px;
}
.md-stepper-horizontal .md-step .md-step-bar-left {
	left:0;
	right:50%;
	margin-right:20px;
}

.md-step:hover {
	text-decoration: none;
}


ul.ks-cboxtags {
    list-style: none;
}
ul.ks-cboxtags li{
  display: inline;
}
ul.ks-cboxtags li label{
    display: inline-block;
    background-color: rgba(255, 255, 255, .9);
    border: 2px solid rgba(139, 139, 139, .3);
    color: #adadad;
    border-radius: 25px;
    white-space: nowrap;
    margin: 3px 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all .2s;
}

ul.ks-cboxtags li label {
	padding: 4px 10px;
    cursor: pointer;
}

ul.ks-cboxtags li label::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    padding: 2px 2px 2px 6px;
    content: "\f067";
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label::before {
    content: "\f00c";
    transform: rotate(-360deg);
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label {
    border: 2px solid var(--afraGreen2);
    background-color: var(--afraGreen1);
    color: #fff;
    transition: all .2s;
}

ul.ks-cboxtags li input[type="checkbox"] {
  display: absolute;
}
ul.ks-cboxtags li input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

ul.ks-cboxtags li input[type="checkbox"]:focus + label {
  border: 2px solid rgba(139, 139, 139, .3);
}

.form-control.disabled {
    background-color: unset;
}

.afra-choice {
    width: fit-content!important;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    border: 1px solid lightgrey;
}

#logo, #newLogo {
    max-width: 100%;
    border: 1px solid lightgrey;
    border-radius: 5px;
}

#mainLogo {
    max-width: inherit;
    max-height: 70px;
    border: 1px solid lightgrey;
    border-radius: 5px;
}

#miniBioLogo {
    max-width: inherit;
    max-height: 120px;
    border: 1px solid lightgrey;
    border-radius: 5px;
}

.dropdown-item:active {
    background-color: var(--afraGreen2);
    color: white;
}

.page-link {
    color: var(--afraGreen1);
    background-color: white;
    border: none;
    border-radius: 5px;
}

.page-link:hover {
    color: white;
    background-color: var(--afraGreen2);
    border-radius:5px;
}

.page-item.disabled .page-link {
    background-color: unset;
}

.page-item.active .page-link {
    background-color: var(--afraGreen1);
    border-color: unset;
}

.page-link:active, .page-link:focus {
    outline: none!important;
    box-shadow:none;
}

.afra-switch input[type="checkbox"]:checked + .switcher {
  background: var(--afraGreen2);
}

.afra-switch input[type="checkbox"]:checked + .switcher:before {
  background: var(--afraGreen1);
}

#moreField {
    cursor: pointer;
}

.c100 * {
    font-size: unset;
}

.col-form-label {
    line-height: 2rem!important;
}

@keyframes blink {
     0% { opacity: 1; }
     50% { opacity: 0.5; }
     100% { opacity: 0; }
 }

.blink {
   -webkit-animation: blink 1.6s linear infinite;
   -moz-animation: blink 1.6s linear infinite;
   -ms-animation: blink 1.6s linear infinite;
   -o-animation: blink 1.6s linear infinite;
   animation: blink 1.6s linear infinite;
}



@media (min-width:992px) {
    .page-container {
        max-width: 1140px;
        margin: 0 auto
    }

    .page-sidenav {
        display: block !important
    }
}

.padding {
    padding: 2rem
}

.w-32 {
    width: 32px !important;
    height: 32px !important;
    font-size: .85em
}

.tl-item .avatar {
    z-index: 2
}

.circle {
    border-radius: 500px
}

.gd-warning {
    color: #fff;
    border: none;
    background: #f4c414 linear-gradient(45deg, #f4c414, #f45414)
}

.timeline {
    position: relative;
    border-color: rgba(160, 175, 185, .15);
    padding: 0;
    margin: 0
}

.p-4 {
    padding: 1.5rem !important
}

.block,
.card {
    background: #fff;
    border-width: 0;
    border-radius: .25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
    margin-bottom: 1.5rem
}

.mb-4,
.my-4 {
    margin-bottom: 1.5rem !important
}

.tl-item {
    border-radius: 3px;
    position: relative;
    display: -ms-flexbox;
    display: flex
}

.tl-item>* {
    padding: 10px
}

.tl-item .avatar {
    z-index: 2
}

.tl-item:last-child .tl-dot:after {
    display: none
}

.tl-item.active .tl-dot:before {
    border-color: #448bff;
    box-shadow: 0 0 0 4px rgba(68, 139, 255, .2)
}

.tl-item:last-child .tl-dot:after {
    display: none
}

.tl-item.active .tl-dot:before {
    border-color: #448bff;
    box-shadow: 0 0 0 4px rgba(68, 139, 255, .2)
}

.tl-dot {
    position: relative;
    border-color: rgba(160, 175, 185, .15)
}

.tl-dot:after,
.tl-dot:before {
    content: '';
    position: absolute;
    border-color: inherit;
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%)
}

.tl-dot:after {
    width: 0;
    height: auto;
    top: 25px;
    bottom: -15px;
    border-right-width: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    border-radius: 0
}

tl-item.active .tl-dot:before {
    border-color: #448bff;
    box-shadow: 0 0 0 4px rgba(68, 139, 255, .2)
}

.tl-dot {
    position: relative;
    border-color: rgba(160, 175, 185, .15)
}

.tl-dot:after,
.tl-dot:before {
    content: '';
    position: absolute;
    border-color: inherit;
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%)
}

.tl-dot:after {
    width: 0;
    height: auto;
    top: 25px;
    bottom: -15px;
    border-right-width: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    border-radius: 0
}

.tl-content p:last-child {
    margin-bottom: 0
}

.tl-date {
    font-size: .85em;
    margin-top: 2px;
    min-width: 100px;
}

.avatar {
    position: relative;
    line-height: 1;
    border-radius: 500px;
    white-space: nowrap;
    font-weight: 700;
    border-radius: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-radius: 500px;
    box-shadow: 0 5px 10px 0 rgba(50, 50, 50, .15)
}


.b-warning {
    border-color: #f4c414 !important
}

.b-primary {
    border-color: #448bff !important
}

.b-danger {
    border-color: #f54394 !important
}

.b-violet {
    border-color: #BF55EC !important
}

.b-available {
    border-color: var(--afraGreen4); !important
}

.b-new {
    border-color: #f4c414 !important
}

.b-disable {
    border-color: darkgrey !important
}

.b-orange {
    border-color: orangered!important;
}

.b-darkblue {
    border-color: #030a5d !important;
}

.b-brown {
    border-color: #833c18 !important;
}

.bg-afra-darkgreen {
    background-color: var(--afraGreen1);
}

.bg-afra-lightgreen {
    background-color: var(--afraGreen4);
}

.btn-big-menu {
    height: 170px;
    width: 170px;
}


.select2-container {
    text-align: right!important;
}

.select2-selection {
    border-color: #ced4da!important;
    padding-left: 20px;
    height: calc(1.5em + 0.75rem + 2px)!important;
}
.select2-search__field {
    direction: rtl;
}

.has-hover:hover {
    background-color: #f5ebd5;
}

.charityLogo {
    width: 45px;
    height: 45px;
    border: 1px solid lightgrey;
    border-radius: 5px;
}

.tile {
    width: 110px;
    height: 110px;
    align-content: center;
    text-align: center;
    margin: 10px 20px;
}

.tile-assessment {
    border-bottom: var(--assessmentColor) 5px solid!important;
}

.tile-evaluation {
    border-bottom: var(--evaluationColor) 5px solid!important;
}

.tile-training {
    border-bottom: var(--trainingColor) 5px solid!important;
}

.tile-call {
    border-bottom: var(--callColor) 5px solid!important;
}

.tile-account {
    border-bottom: var(--accountColor) 5px solid!important;
}

.tile-verify {
    border-bottom: var(--verifyColor) 5px solid!important;
}

.tile-opportunity {
    border-bottom: var(--opportunityColor) 5px solid!important;
}

.tile-profile {
    border-bottom: var(--profileColor) 5px solid!important;
}

.tile-certificate {
    border-bottom: var(--certificateColor) 5px solid!important;
}

.tile-system {
    border-bottom: var(--systemColor) 5px solid!important;
}

.tile-meeting {
    border-bottom: var(--meetingColor) 5px solid!important;
}

.field-alert {
    border: 1px solid lightsalmon;
    border-radius: 3px;
}

.text-evaluation {
    color: var(--evaluationColor);
}

.text-training {
    color: var(--trainingColor);
}

.text-assessment {
    color: var(--assessmentColor);
}

.text-pre-assessment {
    color: var(--preAssessmentColor)
}

.text-opportunity {
    color: var(--opportunityColor);
}

.border-evaluation {
    border-color: var(--evaluationColor);
}

.border-training {
    border-color: var(--trainingColor);
}

.border-assessment {
    border-color: var(--assessmentColor);
}

.box-evaluation {
    background-color: var(--evaluationColor);
    color: white;
}

.box-training {
    background-color: var(--trainingColor);
    color: whitesmoke;
}

.box-profile {
    background-color: var(--profileColor);
    color: white;
}

.box-certificate {
    background-color: var(--certificateColor);
    color: white;
}

.box-meeting {
    background-color: var(--meetingColor);
    color: white;
}

.box-event {
    background-color: var(--eventColor);
    color: white;
}

.box-occasion {
    background-color: var(--occasionColor);
    color: white;
}

.bg-light2 {
    background-color: #e8e8e8;
}

.w-60 {
    width: 60%;
}

.fa-asterisk {
    font-size: .7rem;
}

#support-floating-button {
	position: fixed;
	width: 48px;
	height: 48px;
	bottom: 3px;
	right: 16px;
	border-radius: 50px;
	box-shadow: 2px 2px 3px #999;
    display: flex;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s;
    transition: all .3s;
    z-index: 1;
}
#support-floating-button.visible {
	bottom: 16px;
    opacity: 1;
    visibility: visible;
}

#support-floating-button-box {
    position: fixed;
    bottom: 68px;
    right: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px 30px;
    flex-direction: column;
    text-align: center;
    line-height: 30px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s;
    transition: all .3s;
    z-index: 9999;
}
#support-floating-button-box.visible {
    bottom: 81px;
    opacity: 1;
    visibility: visible;
}
