﻿a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

/*.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}*/

.btn {
    height: 20px !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    min-width: 1150px;
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

*, ::after, ::before {
    box-sizing: initial;
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    font-family: 'Titillium Web', sans-serif !important;
    height: auto;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.cadreNav {
    display: inline-block;
    white-space: nowrap;
    height: auto;
}

.hyperLien {
    color: red;
    text-decoration: underline;
    float: right;
}

.avatar {
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    float: left;
    margin-right: 15px;
    margin-top: 10px;
}

.titrePetit, .titreLarge {
    padding-top: 40px;
    margin-bottom: 0;
    font-weight: bold;
    float: left;
    font-size: 25px;
}

.titrePetit {
    display: none;
}

.blocTB {
    min-width: 160px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    -webkit-transition: all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    .blocTB:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        -webkit-transform: scale(1.05, 1.05);
        transform: scale(1.04, 1.04)
    }

/* Use a media query to add a breakpoint at 800px: */
@media screen and (max-width: 1280px) {
    .blocTB {
        font-size: 12px;
    }

    .titrePetit {
        display: block;
        text-align: right;
        padding-left: 20%;
    }

    .partieTitre {
        width: 40% !important;
    }
}

/* Use a media query to add a breakpoint at 800px: */
@media screen and (max-width: 1200px) {
    .titreLarge {
        display: none;
    }

    .titrePetit {
        display: block;
        text-align: right;
        padding-left: 20%;
    }

    .partieTitre {
        width: 40% !important;
    }
}

@media screen and (max-width: 1350px) {
    .titreLarge {
        display: none;
    }

    .titrePetit {
        display: block;
        text-align: right;
        padding-left: 20%;
    }

    .partieTitre {
        width: 40% !important;
    }
}

.titrePage {
    font-size: 20px;
    color: #2196f3;
    font-weight: bold;
    padding-left: 30px;
    text-align: left;
}

@media screen and (max-width: 1050px) {
    .titrePage {
        font-size: 16px !important;
    }

    .elementRecherche {
        width: 100% !important;
    }
}

.elementRecherche {
    float: left;
}

.logoUdemEntete {
    width: 20%;
    float: left;
    height: 80px;
}

.titreEntete {
    width: 60%;
    float: left;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
}

.actionEntete {
    width: 20%;
    float: left;
    height: 80px;
}

.flex-grow-1 {
    -ms-flex-positive: 1 !important;
    flex-grow: 0 !important;
}

.main {
    min-width: 700px !important;
    min-height: 880px;
    display: block;
}


.partieBlocs {
    float: left;
    width: 75.25%;
    min-width: 300px;
    min-height: 1000px;
    padding-top: 15px;
    padding-right: 20px;
    box-sizing: border-box;
    overflow: visible;
    display: block;
}

.partieBlocsInscription {
    margin: auto;
    width: 50%;
    min-width: 300px;
    min-height: 480px;
    padding-top: 15px;
    padding-right: 20px;
    box-sizing: border-box;
    overflow: visible;
    display: block;
}

.partieMenus {
    float: left;
    width: 24.75%;
    min-width: 225px;
}

.cadreBlocMain {
    min-width: 930px;
    min-height: 1000px;
    display: block;
    overflow: auto;
}

table thead tr th {
    padding: 5px 12px !important;
}

table tbody tr td {
    padding: 5px 12px !important;
    cursor: pointer;
}

table {
    table-layout: fixed;
}

    table th, table td {
        overflow: hidden;
    }


.blocRecherche {
    min-height: 30px;
    background-color: #f5f5f5;
    color: white;
    padding: 5px;
    padding-left: 5px;
    font-size: 17px !important;
}

    .blocRecherche input, .blocRecherche select, .blocRecherche label {
        min-height: 20px !important;
    }

    .blocRecherche label {
        margin: 0 !important;
        padding: 0 5px;
        font-size: 15px !important;
    }

    .blocRecherche span {
        height: 27px !important;
    }


.fa-fw, .page-item {
    cursor: pointer;
}

label {
    font-weight: bold !important;
}


.alert {
    border-radius: 0;
    background-color: #FFFAFA !important;
    border: 1px solid rgb(206, 212, 218);
    overflow: auto;
}

/*.tab-pane {
    background-color: #f8f8f8;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 400px;
    overflow: auto;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.nav-tabs .nav-link.active {
    background-color: #f8f8f8;
    border-bottom: 0;
}*/

.ficheEcriture {
    display: none;
}

.panel-heading {
    display: table;
    width: 100%;
    padding-bottom: 10px;
    ul .nav-tabs

    {
        display: table-cell;
        vertical-align: bottom;
        a .disabled

        {
            .text-muted;
            cursor: default;
            &:hover

            {
                background-color: transparent;
                border: none;
            }

        }
    }
}

.nav-link {
    font-weight: bolder;
}

.input-validation-error {
    border-color: red;
    background-color: mistyrose;
}


.btn-rounded {
    border-radius: 10em;
}

.modal {
    overflow-y: auto;
}

.modal-open {
    overflow: auto;
}

    .modal-open[style] {
        padding-right: 0px !important;
    }


.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    list-style-type: square;
}

.alert-danger {
    background-color: #f8d7da !important;
}

.validation-summary-errors span {
    font-weight: bold;
}

.enteteFiche {
    background-color: white !important;
    border: 1px #13a5b8 solid;
    border-left: 15px #13a5b8 solid;
}

/*.btn-info, .btn-success, .btn-danger, .btn-primary {
    cursor: pointer;
    line-height: 2;*/
/*color: white !important;
    background-color: green;*/
/*}*/

.table-responsive {
    display: block;
    width: 100%;
    overflow: hidden !important;
    -webkit-overflow-scrolling: touch;
}

.NoMarginBottom {
    margin-bottom: 0;
}

.NoMarginTop {
    margin-top: 0;
}

.nav-item {
    font-size: 14px;
}


/* Paste this css to your style sheet file or under head tag */
/* This only works with JavaScript, 
if it's not present, don't show loader */
.no-js #loader {
    display: none;
}

.js #loader {
    display: block;
    position: absolute;
    left: 100px;
    top: 0;
}

.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(https://smallenvelop.com/wp-content/uploads/2014/08/Preloader_11.gif) center no-repeat #fff;
}


.menuSelectionne {
    height: 30px;
    width: 100%;
    line-height: 30px;
    vertical-align: middle;
    padding-left: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #E8E8E8;
    border-left: 8px solid #2196f3;
}

.menuNonSelectionne {
    height: 30px;
    width: 100%;
    line-height: 30px;
    vertical-align: middle;
    padding-left: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
}

/*.tab-content {
    border-bottom: 1px solid #dee2e6;
}*/

.float-left {
    float: left;
}


form .form-group {
    margin-right: 30px;
}

.form-group {
    border-radius: 0;
}

.form-control {
    width: 100%; /* Assure que l'élément prend toute la largeur de son parent */
    max-width: 100%; /* Empêche le débordement hors du conteneur */
    /*box-sizing: border-box;*/ /* Inclut padding et border dans la largeur définie */
}

.form-check-label {
    margin-top: 0 !important;
}

.input-group-text {
    border-radius: 0;
    padding: 0 0 0 5px;
}



.marginBouton {
    margin-right: 30px;
}

label {
    margin-top: 15px;
}


/*.multiselect-container {
    overflow: auto;
    overflow-x: hidden;
    max-height: 500px;
    min-width: 280px;
}*/

.multiselect {
    width: 100%;
    margin-bottom: 10px;
    border: 1px lightgrey solid;
}

.selecteurMultiple {
    height: auto;
    max-height: 200px; /* Ajustez selon le besoin */
    overflow-y: auto;
}




@media print {
    #blocRecherche, .partieMenus, header {
        display: none !important;
    }
}


.largeurDate {
    width: 75px !important;
}

/* Styles personnalisés pour tous les éléments select */
select.form-control {
    border-radius: 4px; /* Bordure arrondie */
    appearance: none; /* Supprimer la flèche par défaut */
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3csvg xmlns%3d%22http%3a//www.w3.org/2000/svg%22 viewBox%3d%220 0 4 5%22%3e%3cpath fill%3d%22%23007bff%22 d%3d%22M2 0L0 2h4zm0 5L0 3h4z%22/%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 10px;
}

select.form-control:focus {
    border-color: #0056b3; /* Couleur de bordure au focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Ombre au focus */
}

/* Styles pour la boîte de dialogue */
#tagDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 1000;
}


.cke_notification_message, .cke_notification, .cke_notification_warning {
    display: none;
}



.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    flex-direction: column; /* Arrange les éléments verticalement */
    z-index: 9999;
    display: none; /* Masqué par défaut */
}

.spinner {
    width: 60px;
    height: 60px;
    position: relative;
    margin-bottom: 20px; /* Ajoute de l'espace entre le spinner et le texte */
}

.spinner .dot1,
.spinner .dot2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    animation: bounce 2.0s infinite ease-in-out;
    background-color: #ffffff;
}

.spinner .dot2 {
    animation-delay: -1.0s;
}


.loading-text {
    color: #ffffff;
    font-size: 18px;
    text-align: center; /* Centre le texte horizontalement */
}
