
.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}
.mandatory
{
    color: #dc3545 !important;
    font-size: 14px;
    line-height: 0;
}

.invalid_error
{
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545 !important;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}


.radiobutton_lable
{
    font-weight: normal !important;
}

/************* toggle Switch ***********/
.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 17px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ea6b6b;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 3px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.switch-active{
    margin-left: 51px;
    color: #24e259;
    font-size: 12px;
}

.switch-inactive{
    margin-left: 51px;
    color: red;
    font-size: 12px;
}

input:checked + .slider {
    background-color: #1dc50f;
}

input:focus + .slider {
    box-shadow: 0 0 1px #19488C;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

.alert-danger button.close {
    background: rgb(255 9 9 / 8%);
    border: 1px solid #e40505;
    color: #ff0000;
    border-radius: 3px;
    padding: 2px 7px 0 7px;
    margin: -2px 0 0 0;
  }

  .alert-success button.close {
    background: rgb(93 194 165 / 13%);
      border: 1px solid #43a88b;
      color: #219b78;
      border-radius: 3px;
      padding: 2px 7px 0 7px;
      margin: -2px 0 0 0;
  }

  .alert-dismissible {
    padding-right: 20px !important;
  }



  /************ ngx pagination ***************/
  .ngx-pagination{
    margin-bottom:0 !important;
}
.ngx-pagination li{
    margin-right: -1px !important;
}
.ngx-pagination li.current{
    background-color: hsl(133, 57%, 25%) !important;
    border: 1px solid #1B622A !important;
    padding: 6px 12px !important;
    z-index: 1 !important;
    position: relative;
}
.ngx-pagination li a:focus{
    outline:none;
}
.ngx-pagination a, .ngx-pagination button{
    color: #1B622A !important;
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    padding: 6px 12px !important;

}
.ngx-pagination .disabled{
    color: #6c757d !important;
    pointer-events: none  !important;
    /* cursor: auto  !important; */
    background-color: #fff  !important;
    border: 1px solid #dee2e6  !important;
    padding: 6px 12px !important;
    cursor: not-allowed !important;
	opacity: 0.5;
}


@media print{
    .print-none
    {
        /* display: none !important; */
        visibility: hidden !important;
    }
}

#ageDisplay, #not_eligible, #not_learner {
    color:  red;
}

.overlay {
    position: fixed;
    /* Sit on top of the page content */
    display: none;
    /* Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--main-primary)29;
    /* Black background with opacity */
    z-index: 9999;
}

/* .loader {
    border: 5px solid #ffffff;
    border-top: 5px solid var(--main-primary);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    display: inline-block;
    position: absolute;
    left: 45%;
    top: 38%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} */

.loader {
    --speed-of-animation: 0.9s;
    --gap: 6px;
    --first-color: #4c86f9;
    --second-color: #49a84c;
    --third-color: #f6bb02;
    --fourth-color: #f6bb02;
    --fifth-color: #2196f3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    gap: 6px;
    height: 100px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: relative;
   }
   
   .loader span {
    width: 8px;
    height: 70px;
    background: var(--first-color);
    animation: scale var(--speed-of-animation) ease-in-out infinite;
   }
   
   .loader span:nth-child(2) {
    background: var(--second-color);
    animation-delay: -0.8s;
   }
   
   .loader span:nth-child(3) {
    background: var(--third-color);
    animation-delay: -0.7s;
   }
   
   .loader span:nth-child(4) {
    background: var(--fourth-color);
    animation-delay: -0.6s;
   }
   
   .loader span:nth-child(5) {
    background: var(--fifth-color);
    animation-delay: -0.5s;
   }
   
   @keyframes scale {
    0%, 40%, 100% {
     transform: scaleY(0.05);
    }
   
    20% {
     transform: scaleY(1);
    }
   }

.center {
    text-align: center;
}

#show_capture_image {
    text-align: center;
}

#show_capture_image img{
   object-fit: contain;
   width: 100%;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.main-footer {
    /* position: absolute; 
    bottom: 10px;
    left: 50%;*/
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
.footer_main {
text-align: center;
}
.footer_main img{
width: 120px;
margin-bottom: 10px;
}
table.dataTable{
    font-size: 14px !important;
}
.table-responsive{
    overflow-x: auto !important;
}


/* Taqi */
/* .label-float .form-control.form-fiels-styling, .form-control{
    height: 60px;
} */
.label-float .btn , .btn{
    height: 40px !important;
    line-height: auto;
}
legend{
    background: #6396de !important;
    border-top-left-radius:10px;
    border-top-right-radius:10px;
}
.content-page .content > .container-fluid,
.content, .container_new {
    /* min-height: 72vh; */
    /* padding-top: 140px; */
    min-height: 70vh;
}
.card{
    border-radius: 10px !important;
}
.page-title-box .page-title {
    font-size: 20px;
    font-weight: 700;
}
.page-title-box .page-title  .top-sub-head {
    display: none;
}

.page-title a.btn.btn.btn-primary.btn-sm {
    line-height: 1.25;
}
@media (max-width: 1300px) {
    .label-float .btn , .btn{
        height: 35px !important;
    }
    .page-title a.btn.btn.btn-primary.btn-sm {
        line-height: 22px;
    }
}
.table tr td .btn.btn-primary.btn-sm {
    border-color: var(--main-primary);
    background: var(--main-primary);
    color: #fff;
}
.table tr td .btn.btn-primary.btn-sm:hover{
    border-color: var(--main-primary-hover);
    background: var(--main-primary-hover);
}
.table tr td .btn.btn-sm {
    line-height: 2;
    padding: 0;
    font-size: 12px;
    line-height: 1.5;
    height: unset !important;
    padding: 3px 5px;
}

.table tr td a.edit.btn.btn-primary.btn-sm:hover,
.table tr td a.edit.btn.btn-primary.btn-sm:focus{
    border-color: var(--main-primary-hover);
    background: var(--main-primary-hover);
}
nav .pagination {
    justify-content: center;
}
.side-nav ul.third_menu{
    background-color: #f5f5f5;
    display: none;
}
.side-nav ul.list-group.menuitem-active .third_menu li.menuitem-active a {
    display: block;
    /* color: #000 !important; */
    padding: 5px 30px !important;
    text-decoration: none;
}
@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-10%);
      }
      50% {
          opacity: 0.5;
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
  }
  .side-nav ul.list-group .third_menu{
    animation: slideDownFade 0.5s ease-in-out;
  }
.side-nav ul.list-group.menuitem-active li .third_menu{
    background-color: #f5f5f5;
    display: none;
}
.side-nav ul li.opener.active .third_menu{
    display: block;
}
.opener a.second_level {
    color: #7f8c9e;
    font-weight: 400;
    font-size: 14px;
    border-radius: 0 5px 5px 0;
    min-height: 40px;
    max-height: 40px;
    background: #ffffff;
    align-content: center;
    border-left: 5px solid #ffffff;
    margin: 0 10px 5px 0;
    display: block;
    padding: 5px 15px;
    text-decoration: none;
}
#submenu li.opener{
    position: relative;
}
#submenu li.opener:after {
    position: absolute;
    content: '';
    border: 5px solid transparent;
    border-top-color: #888;
    top: 18px;
    right: 20px;
    margin-top: -3px;
    cursor: pointer;
}
#submenu li.opener.nochild:after{
    display: none;
}
.opener a.second_level:focus,
.opener a.second_level:hover,
.opener a.second_level.active,
.opener.active a.second_level{
    color: var(--main-primary);
    background: #edf3fd;
    border-left: 5px solid var(--main-primary);
}
.remaning{
    position: absolute;
    top: 0;
    right: 3%;
    font-size: 14px;
}
.label-float .remaning {
    top: -20%;
}
.label-float div#license-expiry-date {
    position: absolute;
    width: 100%;
    bottom: -22px;
    left: 10px;
    font-size: 14px;
}



/************ Strong password CSS ************/
#password-strength-status {
    padding: 5px 10px;
    color: #FFFFFF;
    border-radius: 4px;
    margin-top: 5px;
}

.medium-password {
    background-color: #b7d60a;
    border: #BBB418 1px solid;
}

.weak-password {
    background-color: #ce1d14;
    border: #AA4502 1px solid;
}

.strong-password {
    background-color: #12CC1A;
    border: #0FA015 1px solid;
}