:root{
    --app-header-height: 60px;
    --app-main-height: calc(100vh - var(--app-header-height) );
    --sidebar-bg-color: #1f2341;
    --bs-border-radius-lg: .75rem;
    --bs-border-radius-xl: 1.25rem;
    --bs-transition-base: all .15s ease-in-out;
    --bs-breadcrumb-font-size: .85rem;
    --shadow: 0px 0px 20px 5px rgba(0,0,0,0.01);
}

html {
    font-size: 15px;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Login */

.login {
    height: 100vh;
}

.login__form-wrapper {
    min-width: 340px;
}

@media (max-width: 575.98px) {

    .login__form-wrapper {
        width: 100%;
        min-width: auto;
        max-width: 400px;
    }
}

/* Main */

#Main{
    display: flex;
    flex-wrap: wrap;
    padding-top: 60px;
}

.app-main__outer {
    flex: 1;
    transition: all .3s ease-in-out
}

.app-main__inner {
    flex: 1;
    height: 100%;
    padding: 1.85rem;
    position: relative;
}

.app-main__inner--wrapper {
    display: flex
}

.app-main__inner--content {
    flex: 1;
    padding-left: 1.85rem
}

.app-main .container-lg {
    --bs-gutter-x: 0
}

@media (min-width: 992px) {
    #Main{
        padding-left: 60px;
    }

}

@media (max-width: 991.98px) {
    .app-main__inner {
        padding:1.5rem
    }

    .app-main__inner--content {
        padding-left:1.5rem
    }
}


/* Navbar */

#Navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fafbfc;
    height: var(--app-header-height);
    align-content: center;
    align-items: center;
    padding: 0 1.5rem;
    
    box-shadow: var(--shadow);
    display: flex;
    top: 0;
    transition: all .2s;
    width: 100%;
    z-index: 1030;
}

#Navbar a{
    text-decoration: none;  
}

#Navbar .closed-sidebar .brand-logo .header__pane {
    margin-right: auto;
}

.app-header__content {
    align-content: center;
    align-items: center;
    display: flex;
    flex: 1;
    padding: 0 1.85rem
}

.app-header__content .app-header-right {
    align-items: center;
    display: flex;
    margin-left: auto
}

.app-header-right{
    margin-right: 8rem;
    gap:1.5rem;
}

.app-header__drawer-btn {
    margin-left: 1.5rem
}

#Navbar .nav-link {
    color: #6d718c
}

#Navbar .nav-link:hover {
    color: #363846
}

#Navbar .dropdown-toggle:after {
    content: normal;
}

.app-header__user {
    line-height: 1;
    position: relative
}

.app-header__user__link {
    align-items: center;
    display: flex
}

.app-header__user__link:hover {
    text-decoration: none
}

.user-avatar {
    background: #e7e8ef;
    height: 40px;
    width: 40px;
    overflow: hidden;
}

.user-avatar img{
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.app-header__user__infos {
    margin-left: .5rem;
}

.app-header__user.show>a {
    pointer-events: none
}

.app-header__user.show .dropdown-menu {
    margin-top: 6px
}

@media (min-width: 992px) {

    .brand-logo .header__pane {
        margin-left: auto
    }
}

@media (max-width: 991.98px) {

    #Navbar {
        padding: 0 1rem;
    }

    .app-header__content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .app-header__logo .header__pane {
        margin-right: 1.5rem;
        order: -1;
    }
}

@media (max-width: 767.98px) {
    #Navbar .nav {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .app-header__user__infos {
        display:none
    }
}


/* Home Card */

.home__od-card {
    background: url(../images/blue-card-bg.png) center bottom no-repeat;
    color: hsla(0,0%,100%,.8);
    transition: all ease .24s;
    background-color: var(--bs-primary-hover)

}
.home__od-card:hover {
    background-color: var(--bs-primary)!important;
}

.home__od-card .stretched-link {
    color: #fff
}

.house-bg {
    background: url(../images/residences-illu.svg) 100% 100%/55% auto no-repeat #fafbfc
}

.house-bg-little {
    background-size: auto 90%
}

.house-bg.row {
    background-position: right 15px bottom;
    background-size: auto
}

.od_card{
    min-height: 200px;    
}
.card-hover.bg-purple:hover {
    background-color: var(--purple-hover)!important;
}

@media (max-width: 991.98px) {
    .house-bg.row {
        background:none
    }
}

.requester-bg {
    background: url(../images/requester.png) 100% 100%/80% auto no-repeat #fafbfc
}

.blue-circle-bg{
    background: radial-gradient(160% 550% at right bottom,#dbdfff 0,#dbdfff 20%,transparent 20%,transparent 100%) no-repeat,#fafbfc;
}
.indigo-circle-bg{
    background: radial-gradient(160% 550% at right bottom,#e3e5f3 0,#e3e5f3 20%,transparent 20%,transparent 100%) no-repeat,#fafbfc;
}
.purple-circle-bg{
    background: radial-gradient(160% 550% at right bottom,#ebddff 0,#ebddff 20%,transparent 20%,transparent 100%) no-repeat,#fafbfc;
}
.pink-circle-bg{
    background: radial-gradient(160% 550% at right bottom,#ffdfe7 0,#ffdfe7 20%,transparent 20%,transparent 100%) no-repeat,#fafbfc;
}
.red-circle-bg{
    background: radial-gradient(160% 550% at right bottom,#f8d7da 0,#f8d7da 20%,transparent 20%,transparent 100%) no-repeat,#fafbfc;
}

.residence_bg{
    background: url(../images/residence.svg) bottom -1px right -1px/55% auto no-repeat #fafbfc
}

.logement_bg{
    background: url(../images/logement.svg) bottom -1px right -1px/45% auto no-repeat #fafbfc
}

.demandeur_bg{
    background: url(../images/demandeur.svg) bottom -1px right -1px/55% auto no-repeat #fafbfc
}

.secteur_bg{
    background: url(../images/secteur.svg) bottom -1px right -1px/55% auto no-repeat #fafbfc
}

.save_bg{
    background: url(../images/save.svg) bottom -1px right -1px/55% auto no-repeat #fafbfc
}

/*  Od Card */

.od_filters > .card {
    width: 30rem;
}

.od_filters > .title {
    font-weight: 300;
}

.od_filters > .form-check-input {
    width: 1.5em;
    height: 1.5em;
}

.form-switch-row .form-switch input {
    background-color: #283380;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fafbfc'/%3E%3C/svg%3E");
}


/* Od Search Autocomplete */

.input-group {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 100%
}

.dropdown-menu {
    background-clip: padding-box;
    background-color: #fafbfc;
    border: 1px solid rgba(14,15,16,.15);
    border-radius: .25rem;
    color: #363846;
    font-size: 1rem;
    list-style: none;
    margin: 0;
    min-width: 10rem;
    padding: .5rem 0;
    position: absolute;
    text-align: left;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-item {
    background-color: transparent;
    border: 0;
    clear: both;
    color: #1b1c23;
    display: block;
    font-weight: 400;
    padding: .25rem 1rem;
    text-align: inherit;
    white-space: nowrap;
    width: 100%
}


/* Breadcrumb */

.breadcrumb_container{
    display: flex;
    gap: 1rem;
    align-items: center;
}

.breadcrumb_container > a{
    color:#283380;
    font-size: 1.5rem;
    height: 24px;
    display: flex;
}

.breadcrumb_container > a > ion-icon {
    color:#283380;
    font-size: 1.5rem;
}

.breadcrumb {
    margin-bottom: 0 !important;
    letter-spacing: .5px;
}

/* Pagination */

.pagination {
    display: flex;
    list-style: none;
    padding-left: 0
}

.page-link {
    background-color: #fafbfc;
    border: 1px solid #b8bbcf;
    color: #283380;
    display: block;
    position: relative;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
    .page-link {
        transition: none
    }
}

.page-link:hover {
    border-color: #b8bbcf;
    text-decoration: none;
    z-index: 2
}

.page-link:focus,.page-link:hover {
    background-color: #cfd1df;
    color: #202966
}

.page-link:focus {
    box-shadow: 0 0 0 .25rem rgba(40,51,128,.25);
    outline: 0;
    z-index: 3
}

.page-item:not(:first-child) .page-link {
    margin-left: -1px
}

.page-item.active .page-link {
    background-color: #283380;
    border-color: #283380;
    color: #fafbfc;
    z-index: 3
}

.page-item.disabled .page-link {
    background-color: #fafbfc;
    border-color: #b8bbcf;
    color: #6d718c;
    pointer-events: none
}

.page-link {
    padding: .375rem .75rem
}

.page-item:first-child .page-link {
    border-bottom-left-radius: .25rem;
    border-top-left-radius: .25rem
}

.page-item:last-child .page-link {
    border-bottom-right-radius: .25rem;
    border-top-right-radius: .25rem
}

.pagination-lg .page-link {
    font-size: 1.25rem;
    padding: .75rem 1.5rem
}

.pagination-lg .page-item:first-child .page-link {
    border-bottom-left-radius: .3rem;
    border-top-left-radius: .3rem
}

.pagination-lg .page-item:last-child .page-link {
    border-bottom-right-radius: .3rem;
    border-top-right-radius: .3rem
}

.pagination-sm .page-link {
    font-size: .875rem;
    padding: .25rem .5rem
}

.pagination-sm .page-item:first-child .page-link {
    border-bottom-left-radius: .2rem;
    border-top-left-radius: .2rem
}

.pagination-sm .page-item:last-child .page-link {
    border-bottom-right-radius: .2rem;
    border-top-right-radius: .2rem
}


/* Projection Modal */

.projectionModal .modal-dialog {
    width: 100%;
    max-width: 960px;
}
.box{
    background-color: #D7DCF8;
    color:#283380;
}


.projection-menu .item-projection-requester:hover{
    background-color: #EDDEFF;
    color:#5D3E82;
}

.item-projection-requester.active{
    background-color: #EDDEFF;
    color:#5D3E82;
}

.projection-menu .item-projection-residence:hover{
    background-color: #EEEFF5;
    color:#363846;
}

.item-projection-residence.active{
    background-color: #EEEFF5;
    color:#363846;
}

.projection-menu .item-projection-note:hover{
    background-color: #E8EBFF;
    color:#283380;
}

.item-projection-note.active{
    background-color: #E8EBFF;
    color:#283380;
}

#tableProjection td {
    cursor: move;
    padding: 2px;
}

.tableProjection_wrapper{
    background-color: white;
    display: flex;
}

#tableProjection th{
    border-bottom: none;
    text-align: center;
}

#tableProjection td{
    border-bottom: 1px solid #E3E4EB;
    text-align: center;
}

#tableProjection .form-select {
    background-color: transparent;
}
.btn-filters{
    background-color: #DFE0EB !important;
    border-color: #DFE0EB !important;
    color:black !important;
}

.btn-filters:hover{
    background-color:#D7D8E4 !important;
    border-color: #D7D8E4 !important;
}

.nav-tabs{
    border-bottom: none;
    
}

.nav-tabs button{
    font-size: 14px;
    text-transform: uppercase;
    color : #283380;
}

.nav-tabs button:hover{
    color:#727DC5;
}

.nav {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: .75rem;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0
}

/* .nav-link {
    color: #283380;
    display: block;
    padding: .5rem 1rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out
} */

/* @media (prefers-reduced-motion:reduce) {
    .nav-link {
        transition: none
    }
}

.nav-link:focus,.nav-link:hover {
    color: #202966;
    text-decoration: none;
} */

.nav-link.disabled {
    color: #6d718c;
    cursor: default;
    pointer-events: none;
}

.nav-tabs {
    border-bottom: 1px solid #b8bbcf;
}

.nav-tabs .nav-link {
/*    background: none;*/
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    margin-bottom: -1px;
    font-weight: 600;
}

.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover {
    border-color: #cfd1df #cfd1df #b8bbcf;
    isolation: isolate;
}

.nav-tabs .nav-link.disabled {
    background-color: transparent;
    border-color: transparent;
    color: #6d718c;
}

.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active {
    background-color: var(--bs-body-bg);
    border-color: #b8bbcf #b8bbcf var(--bs-body-bg);
/*    background-color: #fff;
    border-color: #b8bbcf #b8bbcf #fff;*/
    color: #525569;
}
.card .nav-tabs .nav-item.show .nav-link, 
.card .nav-tabs .nav-link.active {
    background-color: #fff;
    border-color: #b8bbcf #b8bbcf #fff;
}

.nav-tabs .dropdown-menu {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: -1px;
}

.nav-pills .nav-link {
    background: none;
    border: 0;
    border-radius: .25rem
}

.nav-pills .nav-link.active,.nav-pills .show>.nav-link {
    background-color: #283380;
    color: #fafbfc
}

/* nav-pills-secondary */

.nav-pills.nav-pills-secondary .nav-link{
    color: var(--bs-body-color); 
   
}
.nav-pills.nav-pills-secondary .nav-link.active, .nav-pills .show>.nav-link {
    color: #283380;
    background-color: #E8EBFF;
}

.nav-fill .nav-item,.nav-fill>.nav-link {
    flex: 1 1 auto;
    text-align: center
}

.nav-justified .nav-item,.nav-justified>.nav-link {
    flex-basis: 0;
    flex-grow: 1;
    text-align: center
}

.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link {
    width: 100%
}

.headerProjection{
    margin-bottom: 1rem;
}


.headerProjection ion-icon{
    font-size: 1.5rem;
}

.headerProjection span{
    font-size: 1.5rem;
    color: black;
    
}

#header_byResidence ion-icon{
    background-color: #E3E4EB;
    padding : 6px;
}

#header_byRequester ion-icon{
    background-color: #EDDEFF;
    padding : 6px;
}

#header_byNote ion-icon{
    background-color: #E8EBFF;
    padding : 6px;
}

/*.quick_filter{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
*/
/*.filter{
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: transparent;
    border: 1px solid #6D718C;
    color:#6D718C;
    cursor:pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    height:40px;
}*/

.filter ion-icon{
    color:#643997
}
.filter_active{
    background-color:#E6D9F6 !important;
    border: 1px solid #643997 !important;
    color:#643997 !important;
}

ion-icon{
    vertical-align: -0.15em;
}

/* User Modal OD */

.custom-card{
    padding-left: 1rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 1rem 1.5rem;
    gap: 0.5rem;
}

.custom-card-blue{
    background-color: #D7DCF8;
    color: #283380;
}

.custom-card-white{
    background-color: white;
    color: #283380;
}

/* .custom-card-blue span {
    font-weight: 600;
} */

.custom-card-purple{
    background-color: #E6D9F6;
}

.custom-card-purple span {
    color:#283380;
}

.custom-card-purple ion-icon {
    background-color: white;
    padding: 4px;
    border-radius: 4px;
    color:#283380;
    margin-right: 0.5rem;
}

#user-card-col .bg-gradient-pruple{
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 50%, var(--dark-purple) 50%, var(--dark-purple) 100%);
    margin-right: -1.5rem;
    margin-left: -1.5rem;
    margin-top: -1.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
}

#user-card-col .custom-card-purple{
    padding: 1rem;
    text-align: left;    
}
#user-card-col .custom-card-purple a{
    text-decoration: none; 
    font-weight: 500;  
}

.user-follower{
    display: flex;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #EEEFF5;
    font-size: .8rem;
}

.user-tags{
    display: flex;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #EEEFF5;
    font-size: .8rem;

}

.user-nav{
    display: flex;
    gap: 0.5rem;
    background-color: #E3E4EB;
    height: 70px;
    align-items: center;
    padding-left: 1rem;
    border-radius: 8px;
}

.user-nav div{
    font-size: 1.5rem;
    background-color: white;
    padding: 1rem;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 6px 15px #23242B08;
    border-radius: 6px;
}

.user-nav div:hover{
    color: #283380;
    cursor: pointer;
    background-color: #E5E9FF;
}

.user-list-info {
    list-style-type: none;
    padding-left: 0;
}

.user-list-info li{
    height: 56px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
}

.user-list-info li:nth-child(odd) {
    background-color: #FFFFFF;
}

.user-list-info li:nth-child(even) {
    background-color: #E7E8EF80;
}

.result{
    text-align: right;
    font-weight: 700;
}

.cara-info{
    line-height: 1.2;
}

.date-container{
    background-color: #D7DCF8;
    color: #283380;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 0.3rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

/*.tableScore_wrapper table.dataTable thead th {
    text-align: center !important;
    height: 0.5rem !important;
}*/

.dataTables_info {
    display: none;
}

/*.dataTables_wrapper{
    overflow-x: auto;
}*/

.mini-title{
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

/* section-title */

.section-title{
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title h2{
    margin-bottom: 0;
    font-size: 1.6rem;
}

.title-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    font-size: 1.5rem;
    color: var(--blue);
    background-color: rgba(var(--blue-rgb), .1);
    border-radius: var(--bs-border-radius);
}


/*  tags */

.tags-input {
    display: inline-flex;
    width: auto;
}

.tags-input-tag {
    background-color: #6d718c;
    border-radius: .25em;
    color: #fafbfc;
    display: inline-block;
    font-size: 1em;
    font-weight: 600;
    line-height: 1;
    margin-right: .375rem;
    padding: .2em 0 .3em .6em;
    text-align: center;
    white-space: nowrap
}

.tags-input-tag-remove {
    padding: 0 .25em
}

.tags-input-tag-remove,.tags-input-tag-remove:hover {
    color: inherit
}

.tags-input-field:not(.form-control) {
    background-color: transparent;
    border: none;
    outline: none;
    vertical-align: middle;
    width: 10rem
}


/* Form */

.legend {
    color: #727dc5;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem
}

.legend:not(:first-child) {
    margin-top: 1rem
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem
}

.sticky-form-actions{
    position: sticky;
    bottom: 0;
    background-color: var(--bs-body-bg);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    justify-content: center;    
}

.app-page-title {
    align-items: center;
    display: flex;
    margin-bottom: 1.5rem
}

.app-page-title__icon {
    --bs-card-border-radius: var(--bs-border-radius-lg); 
    --bs-card-box-shadow: var(--shadow);
    --bs-card-bg: #fff;
    background: var(--bs-card-bg);
    border-radius: var(--bs-card-border-radius);
    box-shadow: var(--bs-card-box-shadow);
    font-size: 2rem;
    height: 4rem;
    line-height: 4rem;
    margin-right: 1.5rem;
    text-align: center;
    width: 4rem;
}

@media (max-width: 991.98px) {
    .app-page-title__icon {
        font-size:1.5rem;
        height: 2rem;
        line-height: 2rem;
        margin-right: 1rem;
        width: 2rem;
    }
}

@media (max-width: 767.98px) {
    .app-page-title__icon {
        display: none;
    }
}

.app-page-title__heading {
    margin-bottom: 0;
}

.app-page-title__subheading {
    color: #6d718c;
    margin-top: .5rem;
}

.app-page-title__subheading:empty {
    display: none;
}


/* Sidebar */

#Sidebar {
    --bs-sidebar-bg-color: #111431;
    background-color: var(--bs-sidebar-bg-color); 
    height: 100%; 
    position: fixed; 
    z-index: 10; 
    top: 60px;
    bottom: 0;
    overflow-y: auto;
    transition: .5s;   
}

#Sidebar .nav-item,
#Sidebar .nav-link {
    transition: var(--bs-transition-base);
}

#Sidebar .nav-link {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 1rem;
    --bs-nav-link-color: #fff;
    --bs-nav-link-hover-color: #fff;
    --bs-body-font-weight: 500;
    align-items: center;
    width: 100%;
    border-radius: 0;
    white-space: nowrap;
    display: inline-flex;
}

#Sidebar .nav-link ion-icon {
    font-size: 17px;
}

#Sidebar::-webkit-scrollbar {
    width: 6px;
}

#Sidebar::-webkit-scrollbar-track {
    background: transparent;
}
  
#Sidebar::-webkit-scrollbar-thumb {
    background: #454869;
}
  
#Sidebar::-webkit-scrollbar-thumb:hover {
    background: #2e314d;
}

#Sidebar .nav-item ul{
    list-style: none;
}

#Sidebar .nav-item ul a {
    --bs-link-color-rgb: 199,208,255;
    --bs-link-hover-color-rgb: 255,255,255;
    --bs-link-opacity: 1;
    text-decoration: none;
}

#Sidebar .nav-item ul a:hover {
    color: rgba(var(--bs-link-hover-color-rgb), var(--bs-link-opacity, 1));
    opacity: 1;
}

#Sidebar .nav-item:not(:last-child) {
    margin-bottom: .75rem;
}

/* Sidebar small */

#Sidebar:not(.expanded){
    padding: 1rem 0;
}

#Sidebar:not(.expanded) .nav-link {
    justify-content: center;
}

/* #Sidebar:not(.expanded) .nav-link ion-icon:first-child {
    color: #fff;
} */

#Sidebar:not(.expanded) .collapse-icon {
    display: none;
}

#Sidebar:not(.expanded) ul.collapse li{
    display: none;
}

#Sidebar:not(.expanded) .nav-link-label {
    display: none;
}

/* Sidebar expanded */

#Sidebar.expanded{
    padding: 1rem;
}

#Sidebar.expanded .nav-link {
    border-radius: var(--bs-border-radius-lg);
}

#Sidebar.expanded .nav-link-label {
    margin-left: 1.5rem;
    letter-spacing: .5px;
    display: inline-block;
}

#Sidebar.expanded .nav-link ion-icon:first-child{
    color: #a9b1ff;
}

#Sidebar.expanded .nav-item .nav-link[aria-expanded="true"] ion-icon:last-child{
    transform: rotate(180deg);
}

#Sidebar.expanded .nav-item ul{
    padding-left: 3.5rem;
}

#Sidebar.expanded .nav-item ul > li {
    margin-top: 1rem;
}

#Sidebar.expanded .nav-link.active,
#Sidebar.expanded .nav-link:hover {
    background-color: rgba(255, 255, 255, .1);
}


#Sidebar.expanded .nav-link ion-icon:last-child {
    margin-left: auto;
    transition: var(--bs-transition-base);
}

@media (min-width: 992px) {

    #Sidebar.expanded{
        width: 320px;
    }

    #Sidebar:not(.expanded) {
        width: 60px; 
        left: 0;
    }
    #OpenBtn {
        display: none;
    }

}

@media (max-width: 991px) {

    #OpenBtn{
        display: inline-block;
        font-size: 24px;
    }
    #Sidebar:not(.expanded) {
        left: -60px;
        width: 60px;
    }
    #Sidebar.expanded{
        width: 100%;
    }
    
}

/**/

.text-S {
    color: #19B195 !important;
}

.text-L {
    color: #DC3545!important;
}

.text-A {
    color: #283380 !important;
}

.text-B {
    color: #F8A233 !important;
}



/* EPCI Interface */

.indicators__interface {
    position: relative
}

/*.indicators__interface:before {
    background: #b8bbcf;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 1px
}*/

.indicators__interface .nav-tabs {
    margin-bottom: 1.5rem
}

.indicators__progress {
    background: none;
    height: 150px;
    position: relative;
    width: 150px
}

.indicators__progress:after {
    border: 6px solid #e7e8ef;
    border-radius: 50%;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%
}

.indicators__progress .progress-value {
    color: #283380;
    font-size: 1.5rem;
    left: 0;
    position: absolute;
    top: 0
}

.indicators__progress .progress-bar {
    background: none;
    border-style: solid;
    border-width: 6px;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%
}

.indicators__progress>span {
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 50%;
    z-index: 1
}

.indicators__progress>span.progress-left {
    left: 0
}

.indicators__progress>span.progress-left .progress-bar {
    border-bottom-right-radius: 80px;
    border-left: 0;
    border-top-right-radius: 80px;
    left: 100%;
    transform-origin: center left
}

.indicators__progress>span.progress-right {
    right: 0
}

.indicators__progress>span.progress-right .progress-bar {
    border-bottom-left-radius: 80px;
    border-right: 0;
    border-top-left-radius: 80px;
    left: -100%;
    transform-origin: center right
}


table.dataTable td {
    cursor: pointer;
}

.form-floating {
    position: relative
}

.form-floating>.form-control,.form-floating>.form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25
}

.form-floating>label {
    border: 1px solid transparent;
    height: 100%;
    left: 0;
    padding: 1rem .75rem;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out,transform .1s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
    .form-floating>label {
        transition: none
    }
}

.form-floating>.form-control {
    padding: 1rem .75rem !important;
}

.form-floating>.form-control::-moz-placeholder {
    color: transparent
}

.form-floating>.form-control::placeholder {
    color: transparent
}

.form-floating>.form-control:not(:-moz-placeholder-shown) {
    padding-bottom: .625rem !important;
    padding-top: 1.625rem !important;
}

.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown) {
    padding-bottom: .625rem !important;
    padding-top: 1.625rem !important;
}

.form-floating>.form-control:-webkit-autofill {
    padding-bottom: .625rem !important;
    padding-top: 1.625rem !important;
}

.form-floating>.form-select {
    padding-bottom: .625rem !important;
    padding-top: 1.625rem !important;
}

.form-floating>.form-control:not(:-moz-placeholder-shown)~label {
    opacity: .65;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem)
}

.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label {
    opacity: .65;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem)
}

.form-floating>.form-control:-webkit-autofill~label {
    opacity: .65;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem)
}

.nav-square {
    border-radius: 0.25rem !important;
}

/* select les nav-square qui sont active */

.nav-square.active {
    border-color: #b8bbcf !important;
}

.table-row-hover tbody tr:hover {
    cursor: pointer;
    background-color: #f5f5f5;
}

.row-active {
    background-color: #f5f5f5;
}


/* CALEOL Board */

.card-board{
    --bs-body-font-size: .85rem;
    font-size: var(--bs-body-font-size);
}

.card-board .cara-type{
    font-size: .8rem;
}

.card-board .residence-name,
.card-board .residence-ward,
.card-board .demande-info {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-board .cara-value{
    font-weight: 600;
}

.card-board .board-house {
    width: 100%;
    height: 100%;
    background: url(../images/residences-illu.svg) 100% 100%/100% auto no-repeat white;
    background-size: contain;
}

.cara-logo{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border-radius: 6px;
    width: 100%;
    font-size: 1.4rem;
}

.board-costs,
.board-locat{
    margin-left: calc( 0px - var(--bs-card-spacer-x));
    margin-right: calc( 0px - var(--bs-card-spacer-x));
    width: calc( 100% + var(--bs-card-spacer-x)*2 );
    padding-left: var(--bs-card-spacer-x);
    padding-right: var(--bs-card-spacer-x);
}

.board-locat{
    line-height: 1;
}

.board-user{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.3rem;
}

.card-board .result{
    text-align: right;
}

.card-board .cara-item{
    min-height: 46px;
}
.card-board .cara-item .cara-info{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-board .user-info{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;    
} 

.card-light-purple{
    background-color: #F0EFFE;
    border: 1px solid #283380;
}

/*.card-board [class*="multi-collapse"] > div{*/
/*    height: 200px;*/
/*    overflow-y: auto;*/
/*}*/

.round-add{
    border-radius: 50%;
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center ;
    justify-content: center;
    font-size: 2rem;
}

.candidate-badge{
    top: -10px;
    left: 50%;
    border-radius: 0.25rem;
    font-size: .85rem;
    font-weight: 600;
    transform: translateX(-50%);
}

.collapse-header button{
    border: none;
}

.decision-candidate{
    max-width: 60px;
}

.collapse-commentary-btn span{
    padding: var(--bs-btn-sm-padding-y) var(--bs-btn-sm-padding-x);
    display: inline-block;
}

@media (max-width: 1599px){
    .cara-logo-wrapper{
        display: none;
    }
}

@media ( min-width: 1600px){
    .logement-card-board{
        position: sticky;
        top: 0;    
    }
}

/* SNE Global */

#form-sne .form-control,
#form-sne .form-select,
#form-sne .form-label,
#form-sne .form-check-label{
    font-size: .85rem!important;
}

#resourceColorLegend{
    column-count: 2;
    column-gap: 1rem;
}
#resourceColorLegend li small{
    font-size: .8rem;
    font-weight: 500;
}

#resourceColorLegend li:not(:last-child),
#resourceColorLegend li:not(:nth-child(2)){
    margin-bottom:.25rem;
}

.sne_ressources_dot{
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-input .input-group-text{
    border-right: none;
    background-color: transparent;  
    border-top-right-radius: 0!important;
    border-bottom-right-radius: 0!important;
}

.dot-input .form-control{
    border-left: none!important;
    padding-left: 0!important;
    border-top-left-radius: 0!important;
    border-bottom-left-radius: 0!important;
}

.row-margin > .row:not(:last-child){
    margin-bottom: 1rem;
}


.table-overlay {
    position: relative;
}

.table-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
    pointer-events: none; /* Pour éviter les interactions */
}

.table-overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #333;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
    border-radius: 0.5rem;
}
