/* Global */
.sspl-card-header {
    min-height: 50px !important;
}
.bg-primary-light
{
    background-color:  #9cd2f8;
}
.bg-success-light
{
    background-color: #50cd89d1;
}
.bg-purple-light
{
    background-color: #7239eab0;
}
.bg-danger-light
{
    background-color: #f1416cbf;
}
.btn.btn-active-color-purple .svg-icon
{
    color: #7239eab0;
}

.btn-check:active + .btn.btn.btn-active-color-purple, .btn-check:checked + .btn.btn.btn-active-color-purple, .btn.btn.btn-active-color-purple.active,
.btn.btn.btn-active-color-purple.show, .btn.btn.btn-active-color-purple:active:not(.btn-active), .btn.btn.btn-active-color-purple:focus:not(.btn-active),
.btn.btn.btn-active-color-purple:hover:not(.btn-active), .show > .btn.btn.btn-active-color-purple {
    color: #7239eab0;
}

.btn-check:active + .btn.btn-active-color-purple .svg-icon {
    color: #7239eab0;
}

.btn.btn-color-white .svg-icon, .btn.btn-color-white i {
    color: var(--kt-text-white)
}

.bg-orange
{
    background-color: #f68534ad;
}

input,.input-group .input-group-text,.select2-selection,textarea.form-control,.form-select
{
    border: 1px solid #9e9e9e !important;
}
.separator.separator-content.border-purple::after, .separator.separator-content.border-purple::before {
    border-color: #7239ea !important
}
.border-purple {
    --bs-border-opacity: 1;
    border-color: #7239eab0; !important
}

.text-purple {
    color: #7239ea !important;
}
.separator.separator-content.border-orange::after, .separator.separator-content.border-orange::before {
    border-color: #f68534 !important
}
.separator.separator-content.border-gray::after, .separator.separator-content.border-gray::before {
    border-color: #a1a5b7 !important;
}
.border-orange {
    --bs-border-opacity: 1;
    border-color: #f68534d9; !important
}
.text-orange{
    color: #f68534d9 !important
}
.icon-date{
    cursor: pointer;
}
.sspl-details-span {
    color: blue;
}

.sspl-etab-destinataire-bloc, .sspl-dateHeure-deces-bloc {
    display: none;
}

.sspl-icon {
    padding: 6px !important;
    border-radius: 10px !important;
    background: #ffffff4d !important;
}

.ribbon.ribbon-clip.ribbon-end .ribbon-label {
    top: 107px;
}

.sspl-item-antecedent, .sspl-item-facteur-risque, .sspl-item-motif-principal, .sspl-item-conclusion, .sspl-item-diagnostic {
    position: relative;
}

.sspl-edit-item-antecedent, .sspl-edit-item-facteur-risque, .sspl-edit-item-motif-principal, .sspl-edit-item-conclusion, .sspl-edit-item-diagnostic {
    position: absolute;
    right: 0;
}

.sspl-delete-item-antecedent, .sspl-delete-item-facteur-risque, .sspl-delete-item-motif-principal, .sspl-delete-item-diagnostic, .sspl-delete-item-conclusion {
    position: absolute;
    right: 25px;
}

.swal2-icon.swal2-question {
    border-color: #f1416c;
    color: #f1416c;
}

.sspl-donneClinique-bloc-title {
    margin-left: -10px;
}

button.accordion-button.icon::after {
    color: yellowgreen !important;

}

.fv-plugins-icon {
    cursor: pointer !important;
}

.fv-plugins-bootstrap5 .row .fv-plugins-icon {
    display: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.sspl-favoris-result {
    font-weight: bold;
    color: #3F4254;
}

.loading-bg{
    width:100%;
    height:100%;
    position: fixed;
    background: #9ba1a242;
    z-index: 999;
    display:none;
}
.loading {
    position: fixed;
    z-index: 999;
    margin: auto;
    height: 2em;
    width: 2em;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.load-container {
    position: relative;
    display: inline-block;
    width: 130px;
    height: 130px;
    overflow: hidden;
    letter-spacing: normal;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}
.load-container {width: 100%;
    height: auto;
    overflow: initial;}

.linespinner {
    width: 10px;
    height: 30px;
    background: #74a4ff;
    position: relative;
    animation: linespinner 1s ease-in-out infinite;
    animation-delay: 0.4s;
    border-radius: 8px;
}
.linespinner:after,
.linespinner:before {
    border-radius: 8px;
    content: "";
    position: absolute;
    width: 10px;
    height: 30px;
    background: #74a4ff;
    animation: linespinner 1s ease-in-out infinite;
}
.linespinner:before {
    right: 18px;
    animation-delay: 0.15s;
}
.linespinner:after {
    left: 18px;
    animation-delay: 0.6s;
}

@keyframes linespinner {
    0%,
    100% {
        background-color: #74a4ff;
        box-shadow: 0 0 0 #74a4ff, 0 0 0 #74a4ff;
    }
    50% {
        background-color: #0052ec;
        box-shadow: 0 -15px 0 #0052ec, 0 15px 0 #0052ec;
    }

}
.select2-container--bootstrap5 .select2-selection--multiple {
    display: block !important;
}
.select2-search.select2-search--inline{
    border: 1px solid #b5b5c3;
    border-radius: 3px;
    width: 100%;
    padding: 8px;
    margin-top: 2px;
}
.select2-container .select2-search--inline .select2-search__field {
    overflow: visible;
}
.form-control:focus,
.form-select:focus {
     border: 3px solid #009ef7 !important;
     box-shadow: 0 0 0 0.25rem rgba(0, 158, 247, 0.25);
 }