:root {
    --uness-blue: #77BBED;
    --uness-green: #52ADA6;
    --uness-orange: #F39200;
    --uness-violet: #A463AD;
    --uness-yellow: #A4A847;
    --uness-dark-blue:#32276F;
}
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    color:var(--uness-dark-blue);
    font-family: sans-serif;
}

ol, ul {
    padding-left: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 60px; /* Hauteur fixée pour l'exemple, peut être ajustée */
    border-bottom:var(--uness-dark-blue) solid 2px;
}

header .center-image {
    flex: 1;
    text-align: center; /* Centre le contenu de la div */
}

header .center-image img {
    width:300px;
    height: auto;
    max-height: 80px; /* Limite la hauteur pour l'exemple */
}

header .left-fixed {
    width:200px;
    flex-shrink: 1; /* Retreci à 0 si pas de place */
}
header .right-fixed-group {
    flex-shrink: 0;
    display: flex;
    gap: 10px; /* Espace entre les éléments C et D */
}

header .user, header .burger {
    height: 36px;
    padding-left: 5px;
    padding-right: 5px;
    min-width:36px;
    color: white;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}
header .user {
    padding-left: 10px;
    padding-right: 10px;
}

header .user {
    background-color: var(--uness-orange);
}

header .user>a {
    color: white;
    text-decoration: none;
}

header .user>a:hover>span {
    text-decoration: underline;
}


header .burger {
    background-color: var(--uness-green);
}

header .redacspace {
    margin-right:20px;
    text-wrap: nowrap;
}

.dropdown-menu {
    inset:100% -50px auto auto!important;
}

main.container {
    flex:1;
}

h2,h3,h4 {
    color: var(--uness-dark-blue);
    text-align: center;
    margin-bottom:50px;
}


footer {
    height: 60px;
    background-color: #F6FBFD;
    border-top:var(--uness-dark-blue) solid 2px;
}
.footer-logos {
    height: 100%;
    float:right;
    display:flex;
    flex-direction: horizontal;
    align-items: center;
    gap: 25px;
}
.footer-logos img {
    height: 40px;
    width: auto;
}

.divCGU {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex:1;
    width:100%;
}
.divCGU a {
    color: #0000AA;
    text-decoration: none;
}
.divCGU a:hover {
    text-decoration: underline;
}

.printfooter {
    display: none;
}

.on-border-form-group {
    position: relative;
    margin-top: 30px;
}

.on-border-form-label {
    position: absolute;
    top: -0.7rem;
    left: 15px;
    background: white;
    padding: 0 5px;
    font-size: 0.75rem; /* Plus petit que 0.85rem */
    color: #6c757d; /* Couleur gris BS5 */
}

.on-border-form-group input {
    padding:10px 16px 10px 16px;
}

.btn-uness {
    background-color:#4472C4;
    border-radius: 10px 4px 10px 4px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.tableconnect {
    width:700px;
    margin:auto;
    
}
.tableconnect>:not(caption)>*>* {
    color:var(--uness-dark-blue);
}
.tableconnect thead tr {
    border-top-style:none;
}
.tableconnect thead th:first-child {
    border-top: none;
    border-left: none;
}

.tableconnect thead th:not(:first-child) {
    border-top-style: solid;
}

.header-uness {
    background-color: #b3d7f0!important; /* Bleu pour "Uness Login" */
}
.header-pro-sante {
    background-color: #b0ded1!important; /* Vert pour "Pro Santé Connect" */
}
.header-acces-libre {
    background-color: #dcc4e9!important; /* Violet pour "Accès libre" */
}
/* Styling for table cells */
.tableconnect td, .tableconnect th {
    vertical-align: middle;
    text-align: center;
}

ul#footer-places {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size:0.75em;
}
#footer-places li {
    float: left;
    margin-right: 1em;
    line-height: 2;
}