:root {
    --wizard-stepper--active: rgba(101,113,255,.2);
    --wizard-stepper--active-font: #1b9a43;
    --wizard-circle-border-color: #1b9a43;
    --wizard-line-color: #dee2e6;
    --wizard-circle-color: #dee2e6;
    --wizard-stepper--disabled: #dee2e6;
    --wizard-stepper--disabled-font: #dee2e6;
    --primary-color: #1b9a43!important;


    --wizard-stepper--active-font-color: #1b9a43;
    --wizard-stepper--btn-color: #1b9a43;
    --wizard-stepper--prev-btn-color: #1b9a43;
}

.font-style-normal {
    font-style: normal;
}

.p-input-icon-left > svg:first-of-type, .p-input-icon-left > i:first-of-type {
    left: 0.725rem!important;
}

.p-input-icon-left > .p-inputtext {
    padding-left: 2.25rem!important;
}

.p-input-icon-left .p-input-icon-right > .p-inputtext {
    padding-left: 2.25rem!important;
}

.p-input-icon-right > .p-inputtext {
    padding-right: 2.25rem!important;
}

.w-stepper {
    --circle-size: clamp(0.5rem, 1vw, 1.25rem)!important;
}

.step-view {
    background: transparent!important;
}

.step-view .col-12 {
    padding-top: 0!important;
    padding-bottom: 0!important;
}

.w_stepper__item_content::before {
    border: 2px solid transparent;
}

.w-stepper__item.active .w_stepper__item_content::before, .w-stepper__item.completed .w_stepper__item_content::before {
    border-color: var(--wizard-circle-border-color);
}

.w-stepper__item.active:not(:first-child)::before, .w-stepper__item.completed:not(:first-child)::before {
    background-color: var(--wizard-circle-border-color)!important;
}

.w-stepper__item.active .w_stepper__item_content::before {
    background-color: var(--wizard-circle-border-color)!important;
}

.w-stepper__item.active, .w-stepper__item.completed {
    color: var(--wizard-stepper--active-font)!important;
}

.w-stepper__item:not(:first-child)::before {
    z-index: 0!important;
}

/* .constituent-modal.p-dialog {
    -webkit-transition: none;
    transition: none;
    transform: none;
    width: 70vw !important;
    height: auto !important;
    top: 0px !important;
    left: 0px !important;
    max-height: 100%;
    height: 100%;
} */

.constituent-modal .p-dialog-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.constituent-modal .p-dialog-content .step-view {
    flex: 1;
    /* overflow-y: auto;
    max-height: calc(90vh - 285px); */
}

.p-float-label.p-input-icon-left, .p-float-label.p-input-icon-right,
.p-float-label .p-input-icon-left, .p-float-label .p-input-icon-right {
    display: block;
}

.p-float-label.p-input-icon-right .p-calendar,
.p-float-label .p-inputnumber {
    display: flex;
}

.p-float-label .p-input-icon-left .p-inputtext, .p-float-label .p-input-icon-right .p-inputtext {
    width: 100%;
}

.p-float-label input:focus ~ label, .p-float-label input.p-filled ~ label, .p-float-label textarea:focus ~ label, .p-float-label textarea.p-filled ~ label, .p-float-label .p-inputwrapper-focus ~ label, .p-float-label .p-inputwrapper-filled ~ label {
    top: 2px!important;
    background: #fff;
    padding: 1px 5px;
    border-radius: 3px;
    color: #2196F3;
}

.p-dialog .p-dialog-content .field:first-child {
    margin-top: 0.25rem;
}

.p-datatable .p-datatable-thead > tr > th,
.p-datatable .p-datatable-tbody > tr > td {
    padding: 0.5rem 1rem;
}

.p-button+.p-button:not(.p-splitbutton-menubutton) {
    margin-left: 0.5rem;
}

.p-datatable .p-datatable-thead > tr > th,
.p-datatable .p-datatable-tbody > tr > td {
    padding: 0.5rem 1rem!important;
    white-space: nowrap;
}

.p-toast {
    width: 20rem!important;
    font-size: 0.85rem!important;
}

.p-toast-top-right {
    top: 65px!important;
    right: 10px!important;
}

.vr-wizard--btn:disabled {
    /* background: var(--wizard-stepper--active)!important;
    color: var(--wizard-stepper--active-font)!important; */
    opacity: 0.5;
    cursor: no-drop!important;
}

.p-error, .p-float-label > .p-invalid + label {
    color: #f44336!important;
}

.p-error {
    line-height: 1.2;
    display: inline-block;
}

.swal2-container {
    z-index: 2103!important;
}

.cursor {
    display: none;
}

.cursor.clicked {
    background-image: url('../images/click.png');
}

.cursor.clicked:not(.print) {
    opacity: 0;
}

.sidebar, .sidebar .sidebar-header {
    width: 265px;
}

.main-wrapper .page-wrapper {
    margin-left: 265px;
}

.sidebar .sidebar-body .nav .nav-item.nav-category {
    font-size: 13px;
    height: 17px;
}

.sidebar .sidebar-body .nav .nav-item .nav-link {
    height: 35px;
}

.sidebar .sidebar-body .nav .nav-item .nav-link .link-icon {
    width: 16px;
    height: 16px;
    font-size: 1.175rem;
}

.sidebar .sidebar-body .nav .nav-item .nav-link .link-title {
    margin-left: 35px;
    font-size: 16px;
}

.sidebar .sidebar-body .nav .nav-item:hover .nav-link .link-title {
    margin-left: 37px;
}

.p-confirm-dialog .p-dialog-footer .btn-default {
    background-color: #fff!important;
    color: #495057!important;
    border: 1px solid #e9ecef!important;
    font-size: 1rem!important;
}

.p-confirm-dialog .p-dialog-footer .btn-default:enabled:hover {
    background: rgb(33 150 243 / 4%)!important;
    box-shadow: none;
}

.p-confirm-dialog .p-dialog-footer .btn-default:enabled:focus {
    box-shadow: none;
}

.sidebar-folded .page-wrapper {
    margin-left: 70px;
}

.table-image {
    max-width: 100px;
    max-height: 45px;
    display: block;
    margin: auto;
}

.p-disabled.p-dropdown {
    background: #e0e6ed!important;
    cursor: not-allowed !important;
}

.p-error:not(.pi) {
    line-height: 1!important;
}

.p-error:empty:not(.pi) {
    display: none;
}

.p-inputtext:enabled:focus {
    box-shadow: none!important;
}

.wd-200 {
    width: 200px!important;
}

.theme-calendar.p-datepicker {
    padding: 0!important;
    width: 307.875px!important;
    min-width: 307.875px!important;
    max-width: 307.875px!important;
}

.theme-calendar.p-datepicker .p-datepicker-header {
    padding: 0 1rem!important;
    padding-top: 0.5rem!important;
    border-bottom: 0!important;
}

.theme-calendar.p-datepicker table {
    font-size: 14px!important;
    margin: 0 10px 10px!important;
    width: calc(100% - 20px)!important;
}

.theme-calendar.p-datepicker .p-yearpicker, .theme-calendar.p-datepicker .p-monthpicker {
    margin: 0 10px 10px!important;
}

.theme-calendar.p-datepicker table th, .theme-calendar.p-datepicker table td {
    padding: 0!important;
}

.theme-calendar.p-datepicker table th > span {
    width: auto!important;
    height: auto!important;
}

.theme-calendar.p-datepicker table td > span {
    width: 39px!important;
    max-width: 39px!important;
    height: 39px!important;
    line-height: 39px!important;
    margin: 0!important;
}

.theme-calendar.p-datepicker table th {
    text-align: center;
    color: rgba(0,0,0,0.54);
    font-weight: 600;
}

.theme-calendar.p-datepicker table td.p-datepicker-today > span.p-highlight, .theme-calendar.p-datepicker table td > span.p-highlight {
    background: #6571ff!important;
    border-color: #6571ff!important;
    color: #fff!important;
}

.p-datepicker table td.p-datepicker-today > span {
    border-color: #efefef!important;
    background: #f5f5f5!important;
}

.p-datepicker table td > span:focus, .p-datepicker:not(.p-disabled) .p-monthpicker .p-monthpicker-month:not(.p-disabled):focus, .p-dropdown:not(.p-disabled).p-focus {
    box-shadow: none!important;
}

.theme-calendar.p-datepicker .p-datepicker-header .p-datepicker-title {
    display: flex;
    justify-content: center;
    width: 207px;
}

.theme-calendar.p-datepicker .p-datepicker-header .p-datepicker-title button {
    font-size: 110%!important;
    font-weight: 300!important;
    text-align: center;
}

.theme-calendar.p-datepicker .p-datepicker-header .p-datepicker-title button:first-child {
    min-width: 115px;
}

.theme-calendar.p-datepicker .p-datepicker-header .p-datepicker-title button:last-child {
    width: 6ch!important;
    font-size: 105%!important;
    font-weight: 400!important;
}

.theme-calendar.p-datepicker .p-datepicker-header .p-datepicker-title button:focus, .p-datepicker:not(.p-disabled) .p-yearpicker .p-yearpicker-year:not(.p-disabled):focus {
    box-shadow: none!important;
}

.user-session-dropdown {
    min-width: 232px;
}

.user-avatar {
    letter-spacing: 1px;
    font-size: 14px;
}

.user-session-dropdown .user-avatar {
    font-size: 36px;
}

button {
    user-select: none;
}

.p-datatable .p-datatable-loading-overlay {
    background-color: rgb(249 251 252 / 85%)!important;
}

textarea.form-control {
    resize: none;
}

.p-tag-icon, .p-tag-value, .p-tag-icon.pi {
    line-height: 1!important;
}

.p-input-icon-right .p-password svg {
    display: none;
}

.p-splitbutton > button {
    margin: 0!important;
    border: 0;
}

.p-splitbutton > button, .p-splitbutton > button:hover, .p-splitbutton > button:active, .p-splitbutton > button:focus, .p-splitbutton > button:enabled:hover {
    background: inherit;
    color: inherit;
}

.p-splitbutton .p-button.p-button-icon-only {
    width: 2.357rem!important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media (max-width: 991px) {
    .sidebar {
        margin-left: -265px;
    }

    .main-wrapper .page-wrapper {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .p-dialog {
        width: calc(100% - 20px)!important;
        min-width: calc(100% - 20px)!important;
    }

    .p-dialog .p-dialog-header {
        padding: 1rem 12px;
    }

    .p-dialog .p-dialog-content {
        padding: 0 1rem 2rem 1rem!important;
    }
}

/* Face detection styles start */
.verifying-div{
    z-index: 2;
    opacity: .6;
    background-color:#000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.dialog-photo{
    width: 150px;
    height: 150px;
    margin-bottom: 1.5rem;
}

.face-detection-container{
    position: relative;
    /* margin-top: 70px !important;  */
    padding: 0 0 5px;
    /* margin: 15px 0 0; */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h3.attendees-legend{
    display: none;
}

.loading-circle-overlay {
    position: absolute;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
    border-radius: 50%;
    display: block;
    stroke-width: 1;
    stroke: #3263e9;
    stroke-miterlimit: 10;
    margin: 0 auto;
    transform: rotate(-90deg);
    transition: stroke .35s;
}

.loading-circle {
    stroke-dashoffset: 154;
    transition: stroke-dashoffset .35s;
}

.loading-circle-overlay.success {
stroke: #2ecc71;
}

.loading-circle-overlay.success .loading-circle {
    animation: stroke 0.5s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.loading-circle-overlay.verifying {
    transform: unset;
    -webkit-animation: rotate 2s linear infinite;
            animation: rotate 2s linear infinite;
    -webkit-transform-origin: center center;
        -ms-transform-origin: center center;
            transform-origin: center center;
}

.loading-circle-overlay.verifying .loading-circle {
    stroke-dasharray: 147, 315;
    stroke-dashoffset: -10;
    -webkit-animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
            animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round;
}

.face-detection {
    position: relative;
    margin: 20px auto;
    border: 5px solid #e2eafc;
    border-radius: 50%;
    max-width: 310px;
    max-height: 310px;
}

.face-detection canvas {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border-radius: 50%;
    transform: scaleX(-1);
}

.face-detection video {
    width: 300px;
    height: 300px;
    border: 3px solid #ffffff;
    object-fit: fill;
    border-radius: 50%;
    transform: scaleX(-1);
}

.spinner-container {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #f5f8ff;
    color: #8e8e93;
    border-radius: 50%;
    top: 0;
    left: 0;
    border: 5px solid #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.camera-loading {
    text-align: center;
}

.camera-loading .detect-face {
    max-width: 50px;
}

.camera-loading .loading-message {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 400;
}

.camera-loading h2.loading-message {
    font-size: 64px;
    /* color: var(--default-color); */
    font-weight: 500;
    animation: fadeOut 1s ease-in-out forwards;
}

.face-detection-container .title-container {
    padding: 10px 10px 0;
}

.face-detection-container .title-container p {
    color: var(--muted-color);
    font-size: 13px;
    line-height: 1.3;
    max-width: 80%;
    margin: 0 auto;
}

.error-message {
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-message .checkmark {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0;
}

.p-dialog-left {
    align-items: center !important;
}

.time-log-content{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.subtitle{
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--default-color);
}

.attendance-avatar{
    height: 150px;
    width: 150px;
}

.attendance-date-picker > input.p-inputtext{
    font-size: 0.8rem !important;
}

.attendance-log {
    overflow: auto;
    overflow-x: hidden;
    max-height: 600px;
}

.image-container {
    position: relative;
    border: 1px solid #333;
    cursor: pointer;
    height: 250px;
}

.image-container .image {
    width: 100%;
    height: 100%;
    background: black;
    object-fit: contain;
    transition: filter 0.3s;
}

.image-container .time,
.image-container .type {
    position: absolute;
    width: 100%;
    background: #333333c4;
    color: white;
    z-index: 1;
    text-align: center;
    padding: 5px;
    left: 0;
}

.image-container .time {
    bottom: 0;
}

.image-container .type {
    top: 0;
}

.log-content:hover .image-container .image {
    filter: brightness(50%);
}

.log-content:hover .overlay {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    background-color: rgba(0, 0, 0, 0.7);
}

.thumbnail {
    max-width: 100px;
    max-height: 100px;
    transition: transform 0.2s ease;
}
.thumbnail:hover {
    z-index: 1;
    position: fixed;
    transform: scale(8); /* Adjust the scale factor as needed */
}
.enlarged-image {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    transition: transform 0.3s ease;
}
.enlarged-image img {
    max-width: 100%;
    max-height: 100%;
}
.thumbnail:hover + .enlarged-image {
    display: block;
    transform: scale(1.2); /* Adjust the scale factor as needed */
}

.p-tabview .p-tabview-nav li .p-tabview-nav-link:not(.p-disabled):focus {
    box-shadow: none!important;
}

.p-tabview .p-tabview-nav li .p-tabview-nav-link {
    padding: 0.725rem 1rem!important;
}

.p-tabview .p-tabview-panels {
    padding: 0!important;
}

.min-width-100x {
    min-width: 100px;
}

.p-input-icon-left.p-float-label > label {
    left: 2rem!important;
}

.p-datepicker:not(.p-datepicker-inline) {
    max-width: 408px;
    min-width: 408px!important;
}

.p-image-mask {
    --maskbg: rgba(0, 0, 0, 0.4)!important;
}

.p-image-toolbar {
    top: 0.8rem!important;
    right: 0.8rem!important;
    left: auto;
    bottom: auto;
    display: flex;
    z-index: 1;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border-color: rgba(255,255,255,0.2);
    border-style: solid;
    border-width: 1px;
    border-radius: 30px;
    gap: 0.3rem;
    padding: 0.3rem !important;
}

.p-image-action.p-link {
    width: 2.8rem !important;
    height: 2.8rem !important;
    margin-right: 0 !important;
}

.p-image-action.p-link:focus {
    box-shadow: none !important;
}

.p-image-action.p-link .p-icon {
    width: 1.3rem !important;
    height: 1.3rem !important;
}

.autocomplete-filter .p-autocomplete-multiple-container {
    width: 100%;
}

@media( max-width:1466px) {
    .attendance-card {
        flex: 0 0 49.333333%;
        max-width: calc((100% / 2) - 17px);
        
    }
}

@media( min-width:995px) and (orientation: portrait){
    .time-log-content {
        display: unset;
        /* align-items: center;
        justify-content: center; */
        position: unset;
        width: 100%;
        height: 100%;
    }

    .time-log-summary {
        width: 100%;
        height: 100%;
        will-change: transform;
    }

    .time-log-summary > .grid:not(:first-child) > div[class*="col-"] {
        width: 100%;
        max-width: 100%;
    }

    .attendees{
        display: none;
    }

    .attendees-legend{
        display: block !important;
    }

    .legend-portrait{
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        bottom: 10px;
        z-index: 1;
        padding: 30px;
        border-radius: 20px;
        opacity: 0.9;
        text-transform: capitalize;
        font-weight: 500;
        border: 1px solid #3263e9;
    }
    
    .dropdown-language{
        position: absolute;
        right: 31px;
        z-index: 1;
        top: 0;
    }
}

@media(max-width:995px) and (orientation: portrait){
    h3.attendees{
        display: none;
    }

    h3.attendees-legend{
        display: block;
    }

    .face-detection-container {
        margin-top: 0 !important;
    }

    .time-log-content{
        display: unset;
        position: unset;
        width: unset;
        height: unset;
    }

    .time-log-summary{
        width: unset;
        height: unset;
    }

    .time-log-summary > .grid:not(:first-child) > div[class*="col-"] {
        width: 100%;
        max-width: 100%;
    }
    
    .time-attendance{
        display: block;
        text-align: right;
    }

    .right-side{
        background: none;
    }

    .legend-portrait{
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        bottom: 10px;
        z-index: 1;
        padding: 30px;
        border-radius: 20px;
        opacity: 0.9;
        text-transform: capitalize;
        font-weight: 500;
        border: 1px solid #3263e9;
    }

    .dropdown-language{
        position: absolute;
        right: 31px;
        z-index: 1;
        top: 0;
    }


}

@media(max-width: 768px){
    .right-side.col-lg-8{
        display: none;
    }

    .time-log-content{
        display: unset;
        position: unset;
        width: unset;
        height: unset;
    }

    .time-log-summary{
        width: unset;
        height: unset;
    }

    .face-detection-container{
        height: calc(100vh - 135px);
    }
   
}


@keyframes slideInRight {
    0%  {
        opacity: 0;
        transform: translateX(-500%);
    }
    80% {
        opacity: 1;
        transform: translateX(0) scale(1.2);
        z-index: 2;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    0%  {
        opacity: 1;
        transform: translateX(0) scale(1.25);
        z-index: 2;
    }
    50% {
        transform: translateX(50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(100%) scale(.75);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1,315;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 118,315;
        stroke-dashoffset: -35;
    }
    100% {
      stroke-dasharray: 118,315;
      stroke-dashoffset: -153;
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}
  
@keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

@-webkit-keyframes dash {
    0% {
        stroke-dasharray: 1,315;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 118,315;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 118,315;
        stroke-dashoffset: -153;
    }
}

.img-container{
    position: relative;
}

.mic-graph{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.nav-line .nav-item + .nav-item{
    margin-left:0px;
}

.hide-header .p-dialog-header, .hide-footer .p-dialog-footer {
    display: none;
}

.p-invalid.p-fileupload {
    border: 1px solid #f44336;
    border-radius: 3px;
}

/* Face detection styles end */

.p-input-icon-left>i, .p-input-icon-left>svg, .p-input-icon-right>i, .p-input-icon-right>svg {
    position: absolute;
    top: 50%;
    margin-top: -.5rem;
}

.p-input-icon-right > svg:last-of-type, .p-input-icon-right > i:last-of-type {
    right: 0.5rem;
    color: #6c757d;
}

.p-input-icon-left, .p-input-icon-right {
    position: relative;
    display: inline-block;
}

#overlay_menu_print_list {
    margin: 0 !important;
}

@media only screen and (max-width: 480px) {
    .p-datepicker:not(.p-datepicker-inline) {
        max-width: calc(100% - 20px);
        min-width: 0 !important;
    }
}

.min-h-200x {
    min-height: 200px;
}

.max-h-200x {
    max-height: 200px;
}

.min-h-300x {
    min-height: 300px;
}

.max-h-300x {
    max-height: 300px;
}

.min-h-500x {
    min-height: 550px;
}

.max-h-500x {
    max-height: 550px;
}

.image-zoom {
    max-width:70% !important;
}

.container-error {
    border-color: #f44336;
    /* border-radius: 10px !important; */
}

.style-type-circle {
    list-style-type: circle;
}

.p-disabled:not(button), .p-component:not(button):disabled {
    opacity: 0.9 !important;
}