@font-face {
    font-family: 'Open Sans';
    src: url("../fonts/OpenSans-f80d014d10b39641a139da47732f688f.woff2") format('woff2-variations');
}

@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-f67ee158113dba36294bb9221e785a22.woff2") format('woff2-variations');
}

.open-sans {
    font-family: 'Open Sans';
}

.montserrat {
    font-family: 'Montserrat';
}

input[type='file'] {
    position: relative;
}

input[type='file']::file-selector-button {
    width: 136px;
    color: transparent;
}

input[type='file']::before {
    position: absolute;
    pointer-events: none;
    top: 10px;
    left: 16px;
    height: 20px;
    width: 20px;
    content: '';
}

input[type='file']::after {
    position: absolute;
    pointer-events: none;
    left: 7px;
    color: var(--black);
    content: 'Choisir un fichier';
}

input[type='file']::file-selector-button {
    padding: 0 16px;
    height: 40px;
    cursor: pointer;
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.16);
}

#chart-custom-legend {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#content {
    padding-top: 9rem;
}

#page-counter {
    counter-reset: page;
}

#page-counter .page-number::before {
    counter-increment: page;
    content: counter(page);
}

.card-fade-inout img {
    opacity: 0.5;
    transition: opacity 1s ease-in-out;
}

.card-fade-inout:hover img {
    opacity: 0.8;
}

.overlay-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    transition: opacity 1s ease-in-out;
}

.chart-legend-item {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.chart-legend-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    aspect-ratio: 1;
}

.chart-legend-label {
    font-weight: bold;
}

.auto-diagnostic-filter {
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.tooltip-inner {
    font-size: 10px;
}

.form-control-error {
    font-size: 0.8rem;
    border-radius: 10rem !important;
}

.form-control-error-square {
    font-size: 0.8rem;
}

.text-small {
    font-size: 14px;
}

.text-hover-light:hover {
    opacity: 0.6 !important;
}

.h-85px {
    height: 85px !important;
}

.error-plain {
    color: #5a5c69;
    font-size: 7rem;
    position: relative;
    line-height: 1;
    width: 12.5rem;
}

.select-no-arrow {
    background: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    -ms-appearance: none !important;
    -o-appearance: none !important;
    appearance: none !important;
}

.h-fit {
    height: fit-content !important;
}

.w-fit {
    width: fit-content !important;
}

.w-20 {
    min-width: 20% !important;
    max-width: 20% !important;
}

.w-inherit {
    width: inherit !important;
}

.h-inherit {
    height: inherit !important;
}

.cursor-pointer {
    cursor: pointer;
}

.padding-0 {
    padding: 0 !important;
}

.ps-8px {
    padding-left: 8px !important;
}

.ps-5px {
    padding-left: 5px !important;
}

.mr-4px {
    margin-right: 4px !important;
}

.mt-8px {
    margin-top: 8px !important;
}

.mt-12px {
    margin-top: 12px !important;
}

.mb-24px {
    margin-bottom: 24px !important;
}

.fw-md-light {
    font-weight: 300 !important;
}

.bs-checkbox {
    text-align: center;
    width: 36px;
}

.rounded-xl {
    border-radius: 1.3rem !important;
}

.left-0 {
    left: 0 !important;
}

.right-0 {
    right: 0 !important;
}

.zIndex-0 {
    z-index: 0;
}

.zIndex-1 {
    z-index: 1;
}

.zIndex-n-1 {
    z-index: -1;
}

.readonly {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

@media (min-width: 576px) {
    .card-image {
        position: absolute !important;
        z-index: 10 !important;
        top: 15px !important;
        right: 1px !important;
    }

    .card-text-content {
        position: absolute !important;
        top: 50% !important;
        right: 0px !important;
        left: 0px !important;
        transform: translateY(-50%) !important;
    }

    .card-text-content.left-side {
        left: -90px !important;
    }
    
    .card-text-content.right-side {
        right: -90px !important;
    }

    .card-image-content {
        height: 340px !important;
        width: 316px !important;
    }
}

@media (min-width: 768px) {
    #chart-custom-legend {
        flex-direction: row;
    }
    
    .home-image-title {
        padding-top: 180px !important;
    }

    .pe-md-4px {
        padding-right: 4px !important;
    }

    .ps-md-4px {
        padding-left: 4px !important;
    }

    .pt-md-8px {
        padding-top: 8px !important;
    }

    .mt-md-24px {
        margin-top: 24px !important;
    }
}

@media (min-width: 992px) {
    .pe-lg-8px {
        padding-right: 8px !important;
    }

    .pe-lg-12px {
        padding-right: 12px !important;
    }

    .w-lg-92 {
        width: 92% !important;
    }

    .w-lg-8 {
        width: 8% !important;
    }
}

@media (min-width: 1200px) {
    #chart-custom-legend {
        flex-direction: column !important;
    }

    #content {
        padding-top: 6rem !important;
    }

    .home-info-block {
        position: absolute !important;
        transform: translateY(-50%) !important;
        padding-left: 12px !important;
        padding-right: unset !important;
        top: 50% !important;
    }
}

@media (min-width: 1400px) {
    .flex-xxl-row {
        flex-direction: row !important;
    }

    .justify-content-xxl-between {
        justify-content: space-between !important;
    }

    .d-xxl-inline {
        display: inline !important;
    }

    .d-xxl-none {
        display: none !important;
    }

    .col-xxl-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .pr-xxl-3 {
        padding-right: 1rem !important;
    }

    .gap-xxl-1 {
        gap: 0.25rem!important
    }
}

@media (min-width: 1569px) {
    #chart-custom-legend {
        flex-direction: row !important;
    }

    .card-text-content.left-side {
        left: -137px !important;
    }
    
    .card-text-content.right-side {
        right: -137px !important;
    }

    .card-image-content {
        height: 435px !important;
        width: 404px !important;
    }

    .right-card-box-shadow {
        -webkit-box-shadow: 20px 20px 0px 0px rgba(0, 0, 0, 0.1) !important;
        -moz-box-shadow: 20px 20px 0px 0px rgba(0, 0, 0, 0.1) !important;
        box-shadow: 20px 20px 0px 0px rgba(0, 0, 0, 0.1) !important;
    }
    
    .left-card-box-shadow {
        -webkit-box-shadow: -20px 20px 0px 0px rgba(0, 0, 0, 0.1) !important;
        -moz-box-shadow: -20px 20px 0px 0px rgba(0, 0, 0, 0.1) !important;
        box-shadow: -20px 20px 0px 0px rgba(0, 0, 0, 0.1) !important;
    }
}

@media (min-width: 1800px) {
    .justify-content-xxxl-start {
        justify-content: flex-start !important;
    }
}

.min-vh-100 {
    min-height: 100vh !important;
}

.btn-outline-gradient {
    width: fit-content;
    height: fit-content;
    background: var(--gradient);
    border: none;
    border-radius: 30px;
    padding: 2px;
    display: flex;
}

.btn-red {
    background: var(--red);
    border: none;
    border-radius: 30px;
    padding: 2px;
    display: flex;
}

.btn-inner-white-color-red {
    color: var(--red);
    text-transform: uppercase;
    background-color: var(--white);
    padding: 6px 19px;
    border-radius: 30px;
    transition: all .2s ease-in-out;
    text-align: center;
    font-size: 14px;
}

.btn-inner-white {
    color: var(--darker-blue);
    text-transform: uppercase;
    background-color: var(--white);
    padding: 6px 19px;
    border-radius: 30px;
    transition: all .2s ease-in-out;
    text-align: center;
    font-size: 14px;
}

.btn-inner-pink {
    color: var(--white);
    text-transform: uppercase;
    background-color: var(--pink);
    padding: 6px 19px;
    border-radius: 30px;
    transition: all .2s ease-in-out;
    text-align: center;
    font-size: 14px;
}

.btn-inner-dark-blue {
    color: var(--white);
    text-transform: uppercase;
    background-color: var(--darker-blue);
    padding: 6px 19px;
    border-radius: 30px;
    transition: all .2s ease-in-out;
    text-align: center;
    font-size: 14px;
}

.btn-outline-gradient:hover,
.btn-inner-white:hover,
.btn-red:hover,
.btn-nav-home:hover,
.btn-inner-white-color-red:hover {
    color: var(--pink) !important;
    text-decoration: none;
}

.btn-inner-white:hover .hover-icon path,
.btn-inner-white-color-red:hover .hover-icon path {
    stroke: var(--pink) !important;
}

.btn-inner-white:hover .hover-svg-icon,
.btn-inner-white-color-red:hover .hover-svg-icon {
    fill: var(--pink) !important;
}

.btn-outline-gradient:hover,
.btn-inner-pink:hover {
    background-color: var(--dark-pink) !important;
    text-decoration: none;
}

.btn-outline-gradient:hover,
.btn-inner-dark-blue:hover {
    background-color: var(--dark-blue) !important;
    text-decoration: none;
}

.nav-icon-span {
    background-color: var(--rose) !important;
}

.sidebar.toggled .hide-on-collapse {
    display: none !important;
  }

.active-nav-item {
    background-color: var(--rose) !important;
}

.active-nav-item .nav-icon-span {
    background-color: var(--white) !important;
}

.rose-hover:hover .nav-icon-span {
    background-color: var(--white) !important;
}

.rose-hover:hover .hover-icon path,
.active-nav-item .nav-icon-span .hover-icon path {
    stroke: var(--pink) !important;
}

.rose-hover:hover .hover-svg-icon,
.active-nav-item .nav-icon-span .hover-svg-icon {
    fill: var(--pink) !important;
}

.rose-hover,
.rose-hover td {
    transition: background-color 0.1s ease;
}

.rose-hover:hover,
.rose-hover:hover td {
    background-color: var(--rose) !important;
}

.rose-hover:not(:hover),
.rose-hover:not(:hover) td {
    transition-delay: 0.04s;
    /* Delayed transition when not hovered */
    background-color: var(--white);
    /* Return to original color gradually */
}

.hover-rose-tab:hover {
    background-color: var(--rose) !important;
    color: var(--pink) !important;
}

.custom-border {
    border-top: 12px solid var(--white);
    box-shadow: 0px -0.45rem 0px 0px var(--light-gray);
}

.custom-border:first-child {
    box-shadow: none;
}

.report-notification {
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    margin-left: 5px;
    margin-right: 5px;
    color: var(--white) !important;
    background-color: var(--red) !important;
}

.framed-icon {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    margin-left: 5px;
    margin-right: 5px;
}

.status-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
}

.active-tab {
    color: var(--pink) !important;
    border-bottom: 2.4px solid var(--pink) !important;
    margin-bottom: -0.8px;
    /* Negative margin to overlap parent border */
}

.sidebar.toggled .nav-item .nav-link span:nth-child(2) {
    display: none !important;
}

.sidebar.toggled .nav-item .nav-link div div {
    display: none !important;
}

.sidebar.toggled .nav-item .nav-link div {
    justify-content: center !important;
}

.card-image {
    position: absolute;
    z-index: 10;
    top: 220px;
    right: 40px;
    width: 272px;
}

.card-text-content {
    position: relative;
}

.card-image-content {
    height: 305px;
    width: 283px;
    align-self: center;
}
.home-image-title {
    padding-top: 110px !important;
}

.home-info-block {
    position: relative;
    top: -8%;
    padding-right: 0;
}

.toggle-password-icon {
    position: absolute;
    right: 20px;
    cursor: pointer;
}

.toggle-password-icon i {
    display: none;
}

.toggle-password-icon .fa-eye {
    display: inline;
}

.toggle-arrow-icon i {
    display: none;
}

.toggle-arrow-icon .fa-chevron-down {
    display: inline;
}

.round-container-25px {
    width: 25px;
    height: 25px;
    border-radius: 25px;
    align-content: center;
    text-align: center;
}

.text-transform-unset {
    text-transform: unset !important;
}

.form-check-input:checked {
    background-color: var(--pink) !important;
    border-color: var(--pink) !important;
}

.form-check-input:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(210, 20, 90, 0.25) !important;
    border-color: var(--pink) !important;
}

.dropdown-item.diagnostic-step-form-status-completed:hover,
.dropdown-item.diagnostic-step-form-status-in-progress:hover {
    background-color: var(--pink);
    color: var(--white);
}

.small-rectangle {
    width: 110px;
    height: 36px;
    padding: 4px 8px;
}

.form-step-button {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    width: 92%;
    height: 56px;
    border: 1px solid var(--light-gray);
    display: flex;
    padding-left: 9px;
    padding-right: 9px;
    align-items: center;
    justify-content: space-between;
}

.form-step-button.active {
    border: 1px solid var(--rose);
    background: var(--rose);
}

.form-input-option {
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    background-color: var(--white);
}

.form-input-option:hover,
.form-input-option.active {
    border: 1px solid rgba(210, 20, 90, 0.1);
    box-shadow: 0px 0px 0px 3px rgba(210, 20, 90, 0.1);
    color: var(--purple) !important;
}

.form-check-input.chroma:checked {
    background-color: var(--purple) !important;
    border-color: var(--pink) !important;
    border-width: 1.5px !important
}

.form-check-input.chroma:focus,
.form-control:focus {
    box-shadow: 0px 0px 0px 3px rgba(210, 20, 90, 0.1) !important;
    border-color: var(--pink) !important;
}

.form-check-input.chroma:disabled~.form-check-label,
.form-check-input.chroma[disabled]~.form-check-label {
    cursor: pointer !important;
    opacity: 1 !important;
}

.form-check-input.chroma[disabled] ~ .form-check-label,
.form-check-input.chroma:disabled ~ .form-check-label {
    color: inherit !important;
}

.overflow-lines {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.resource-pill {
    color: var(--white);
    border: none;
    padding-inline: .5rem !important;
    font-size: 14px;
    cursor: initial;
}

.info-card-container {
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    height: 100%;
}

.info-card-inner {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.info-title {
    font-size: 26px;
    line-height: 36px;
}

.head-info-text {
    font-size: 14px;
    line-height: 21px;
}

.info-text {
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
}

.right-card-box-shadow {
    -webkit-box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.1);
}

.left-card-box-shadow {
    -webkit-box-shadow: -10px 10px 0px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: -10px 10px 0px 0px rgba(0, 0, 0, 0.1);
    box-shadow: -10px 10px 0px 0px rgba(0, 0, 0, 0.1);
}

.outer-circle {
    width: 64px; 
    height: 64px; 
    font-size: 30px; 
    line-height: 45px;
}

.inner-circle {
    width: 56px; 
    height: 56px; 
    font-size: 30px; 
    line-height: 45px;
}

.gradient-border-left-pink {
    border-left: 7px solid; 
    border-image: linear-gradient(0deg, rgba(110,25,110,1) 30%, rgba(210,20,90,1) 90%, rgba(235,100,10,1) 100%) 1;
}

.filter-title-container {
    border-bottom: 2px solid black;
}

.card-hover:hover {
    transition: all 0.2s ease-in-out;
    background-color: var(--lighter-gray) !important;
}

.framed-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 10px solid rgba(255, 255, 255, 0.3);
    box-sizing: border-box;
}

.framed-image.logo::before {
    border-width: 3px;
}

.framed-image.block::before {
    width: 280px;
    height: 280px;
}

.page-pdf {
    position: relative;
    width: 210mm; /* A4 width */
    height: 297mm; /* A4 height */
    margin: 0 auto;
    padding: 10mm 20mm;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--white);
    page-break-after: always;
    page-break-inside: avoid;
    counter-increment: totalPages;
}

/* start overwrite jquery-multiselect styles */
.ms-options-wrap > button:focus,
.ms-options-wrap > button {
    --bs-form-select-bg-img: 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 5 6 6 6-6'/%3e%3c/svg%3e");
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6e707e !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.ms-options-wrap > button:after {
    content: initial;
    height: initial;
    position: initial;
    top: initial;
    right: initial;
    width: initial;
    border: initial;
    margin-top: initial;
}

.ms-options-wrap > .ms-options > ul li.selected label {
    background-color: var(--pink);
    border-color: transparent;
    color: white;
}

.ms-options-wrap > .ms-options > ul label.focused,
.ms-options-wrap > .ms-options > ul label:hover {
    background-color: var(--rose);
    border-color: transparent;
}

.ms-options-wrap > .ms-options {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    min-height: auto !important;
    max-height: 300px !important;
    overflow-y: auto;
    overflow-x: hidden;
}

.ms-options-wrap.open-upwards > .ms-options {
    bottom: auto;
    top: auto;
    transform: translateY(calc(-100%));
}

.ms-options-wrap:not(.open-upwards) > .ms-options {
    top: 100%;
    bottom: auto;
}

.ms-options-wrap > .ms-options > ul label {
    padding: 7px 4px 7px 30px;
}

.ms-options-wrap > .ms-options > ul input[type="checkbox"] {
    top: 11px;
}

.ms-options-wrap > .ms-options .ms-selectall {
    color: var(--pink);
}

.ms-options-wrap > button[disabled] {
    opacity: 1;
}

#user-form-forms .ms-options-wrap > button,
#resource-form-forms .ms-options-wrap > button,
#user-form-regions .ms-options-wrap > button {
    background-color: var(--light) !important;
    border: 0 !important;
}
/* end overwrite jquery-multiselect styles */
