﻿.form-control-plaintext:focus {
    border: none !important;
    box-shadow: none !important;
    outline:none !important;

}
.badge-hover-effect {
    opacity: 0.4; /* Make the background semi-transparent */
    transition: background-color 0.3s, opacity 0.3s, color 0.3s; /* Smooth transitions */
}

    /* Hover state with full opacity and white text */
    .badge-hover-effect:hover {
        opacity: 1; /* Make the background fully opaque */
        color: #fff; /* Change text to white */
    }
.progress-loader {
    visibility: hidden;
    background-color: rgba(255,255,255,0.7);
    position: fixed;
    z-index: 6000 !important;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    .progress-loader .progress {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 80%; /* Adjust as needed */
        max-width: 600px; /* Max width to ensure it’s not too wide */
        height: 50px; /* Adjust height */
        background-color: #E7F1E4;
        font-size: x-large;
        font-weight: bolder;
        transform: translate(-50%, -50%);
        border: 2px solid #54ba4a;
        border-radius: 100px;
    }
    

.bg-login-header {
    background-color: #f1f0ff !important;
    color: #fff;
}
.event-primary {
    color: rgba(115, 102, 255, 1) !important;
    background-color: rgba(115, 102, 255, 0.1) !important;
    border: 0px !important;
    border-left: 5px solid rgba(115, 102, 255, 1) !important;
}

    .event-primary * :not(.user-initial) {
        color: rgba(115, 102, 255, 1) !important;
    }

.event-warning {
    color: rgba(249, 162, 8, 1) !important;
    background-color: rgba(249, 162, 8, 0.15) !important;
    border: 0px !important;
    border-left: 5px solid rgba(249, 162, 8, 1) !important;
}
    .event-warning * :not(.user-initial) {
        color: rgba(249, 162, 8, 1) !important;
    }

.event-danger {
    color: rgba(220, 53, 69, 1) !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
    border: 0px !important;
    border-left: 5px solid rgba(220, 53, 69, 1) !important;
}

    .event-danger * :not(.user-initial) {
        color: rgba(220, 53, 69, 1) !important;
    }

.event-success {
    color: rgba(25, 135, 84, 1) !important;
    background-color: rgba(25, 135, 84, 0.1) !important;
    border: 0px !important;
    border-left: 5px solid rgba(25, 135, 84, 1) !important;
}
    
    .event-success * :not(.user-initial) {
        color: rgba(25, 135, 84, 1) !important;
    }
.event-off {
    color: rgba(139, 139, 139, 1) !important;
    background-color: rgba(139, 139, 139, 0.1) !important;
    border: 0px !important;
    border-left: 5px solid rgba(139, 139, 139, 1) !important;
}
.user-initial {
    width: 30px;
    height: 30px;
    min-width: 30px; /* Ensure minimum width */
    min-height: 30px; /* Ensure minimum height */
    border-radius: 50%;
    background-color: #007bff; /* Default background color */
    color: #fff; /* White text color */
    font-family: Arial;
    text-align: center;
    line-height: 30px;
    font-size: 12px;
    margin-right: 10px;
    overflow: hidden; /* Hide overflow content */
}

#calendar {
    /*height: 73vh;*/  /* 73% of the viewport height */ 
    /*width: 100% !important;
    max-width:100% !important;*/
}

.signature {
    background-position: left !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    width: 300px;
    height: 70px;
}

.scrollable-content {
    max-height: 400px; /* Set the maximum height for scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
}
    /* Hide the default scrollbar */
    .scrollable-content::-webkit-scrollbar {
        width: 10px; /* Width of the scrollbar */
        background-color: transparent; /* Set background color to transparent */
    }

    /* Define the track of the scrollbar */
    .scrollable-content::-webkit-scrollbar-track {
        background-color: transparent; /* Set track background color to transparent */
    }

    /* Define the handle of the scrollbar */
    .scrollable-content::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.3); /* Set handle color with transparency */
        border-radius: 5px; /* Optional: Add border radius for rounded corners */
    }

        /* Optionally, define hover effect for the scrollbar handle */
        .scrollable-content::-webkit-scrollbar-thumb:hover {
            background-color: rgba(0, 0, 0, 0.5); /* Change handle color on hover */
        }

.fs-7 {
    font-size: 0.75rem;
}
.fs-8 {
    font-size: 0.65rem;
}

@keyframes shadow-pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(255, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    }
}

@keyframes shadow-pulse-big {
    0% {
        box-shadow: 0 0 0 0px rgba(255, 0, 0, 0.1);
    }

    100% {
        box-shadow: 0 0 0 60px rgba(255, 0, 0, 0);
    }
}

.pulse {
    animation: shadow-pulse 1s infinite;
    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' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%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);
}

    .pulse:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

.text-right {
    text-align: right;
}

.resizable-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
}

.pre-line {
    white-space: pre-line;
}

.dynamic-textarea {
    resize: none;
    overflow-y: hidden;
}

.tooltip {
    z-index: 1000000;
}

.question-info {
    font-size: 18px;
    color: #0dcaf0;
    margin: 0px;
    padding: 0px;
}

/*select readonly */
select[readonly] {
    background-color: #f0f0f0 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

    /*select2 readonly */
    select[readonly].select2-hidden-accessible + .select2-container {
        pointer-events: none;
        touch-action: none;
    }

        select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
            background: #eee;
            box-shadow: none;
        }

        select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
            display: none;
        }

.required {
    color: #dc3545;
    font-size: 8px;
}

/* Accordion Header Input */
.accordion-header-input {
    width: 100px;
}

    .accordion-header-input::placeholder {
        font-size: 20px !important;
    }

.cursor-default {
    cursor: default !important;
}
/* Answer Arrow Start */
.answer_arrow {
    background-image: url(../images/answers_sprite.png);
    background-repeat: repeat-x;
    display: inline-block;
    font-size: 10px;
    font-size: 0.699rem;
    font-weight: bold;
    line-height: 27px;
    min-width: 110px;
    padding: 0 8px;
    position: absolute;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0,0,0,.5)
}

    .answer_arrow.correct:before, .answer_arrow.correct:after, .answer_arrow.incorrect:before, .answer_arrow.incorrect:after, .answer_arrow.info:before, .answer_arrow.info:after {
        background-image: url(../images/answers_sprite.png);
        background-repeat: no-repeat;
        content: " ";
        height: 27px;
        position: absolute;
        top: 0
    }

    .answer_arrow.correct:before, .answer_arrow.incorrect:before, .answer_arrow.info:before {
        left: -3px;
        width: 3px
    }

    .answer_arrow.correct:after, .answer_arrow.incorrect:after, .answer_arrow.info:after {
        right: -11px;
        width: 11px
    }

    .answer_arrow.correct {
        background-position: left -34px;
        color: #fff
    }

        .answer_arrow.correct:before {
            background-position: top left
        }

        .answer_arrow.correct:after {
            background-position: -12px top
        }

    .answer_arrow.incorrect {
        background-position: left -62px;
        color: #fff
    }

        .answer_arrow.incorrect:before {
            background-position: -4px top
        }

        .answer_arrow.incorrect:after {
            background-position: -24px top
        }

    .answer_arrow.info {
        background-position: left -90px;
        color: #333;
        text-shadow: 0 -1px 0 rgba(255,255,255,.5)
    }

        .answer_arrow.info:before {
            background-position: -8px top
        }

        .answer_arrow.info:after {
            background-position: -36px top
        }

/* End Answer Arrow */


/* Display buttons on hover of answers */
.ribbon-answer {
    position: relative;
}

    .ribbon-answer .button-group {
        position: absolute;
        top: 0;
        right: 0;
        margin: 10px;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .ribbon-answer:hover .button-group {
        opacity: 1;
    }

/* Display buttons on hover of checkbox */
.ribbon-checkbox {
    position: relative;
}

    .ribbon-checkbox .button-group {
        position: absolute;
        top: 0;
        right: 0;
        margin: 10px;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .ribbon-checkbox:hover .button-group {
        opacity: 1;
    }

/* Display accordion text and points properly */
.accordion-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .accordion-button .left-text {
        flex-grow: 1;
    }

    .accordion-button .right-text {
        margin-left: auto;
    }

/* Display buttons on hover of Questions */
.accordion-item {
    position: relative;
}

.actions {
    position: absolute;
    top: 60px;
    right: 10px;
    z-index: 1; /* To make sure the icons are visible above the accordion content */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Show icons on hover */
.accordion-item:hover .actions {
    opacity: 1;
}

/* You may adjust the positioning and styles of the edit and delete icons as per your design preferences */
.edit-icon,
.delete-icon {
    color: gray;
}

    .edit-icon:hover,
    .delete-icon:hover {
        color: black; /* Change the color when hovering over the icons */
    }

.accordion-header .actions {
    pointer-events: none;
}

.completion-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 150px; /* Adjust the width to fit your icon */
    height: 150px; /* Adjust the height to fit your icon */
    background-image: url('/assets/images/email-template/success-002.png'); /* Replace with your completion icon path */
    background-size: cover;
}

.show-hide {
    right: 30px;
}

/*Custom Validation Design*/

/*.form-control.valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%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);
}

    .form-control.valid:focus {
        border-color: #198754;
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
    }

textarea.form-control.valid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.form-select.valid {
    border-color: #198754;
}

    .form-select.valid:not([multiple]):not([size]), .form-select.valid:not([multiple])[size="1"] {
        padding-right: 4.125rem;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
        background-position: right 0.75rem center, center right 2.25rem;
        background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }

    .form-select.valid:focus {
        border-color: #198754;
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
    }

.form-check-input.valid {
    border-color: #198754;
}

    .form-check-input.valid:checked {
        background-color: #198754;
    }

    .form-check-input.valid:focus {
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
    }

    .form-check-input.valid ~ .form-check-label {
        color: #198754;
    }
*/
.form-control.input-validation-error {
    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' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%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);
    /*animation: shadow-pulse-big 1s infinite;*/
}

    .form-control.input-validation-error:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

textarea.form-control.input-validation-error {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.form-select.input-validation-error {
    border-color: #dc3545;
}

    .form-select.input-validation-error:not([multiple]):not([size]), .form-select.input-validation-error:not([multiple])[size="1"] {
        padding-right: 4.125rem;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%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-position: right 0.75rem center, center right 2.25rem;
        background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }

    .form-select.input-validation-error:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

.form-check-input.input-validation-error {
    border-color: #dc3545;
}

    .form-check-input.input-validation-error:checked {
        background-color: #dc3545;
    }

    .form-check-input.input-validation-error:focus {
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

    .form-check-input.input-validation-error ~ .form-check-label {
        color: #dc3545;
    }

/*Custom Height*/
.h-40 {
    min-height: 70px;
}
/*Don't Show the eye icon on password field Edge*/
input::-ms-reveal,
input::-ms-clear {
    display: none;
}
