section.main {
    max-width: 100%;
    background: #f5f5f5;
    overflow-x: hidden;
}

#bloc-admin {
    margin-top: 30px;
    padding-right: 50px;
    padding-left: 20px;
}


.historique-appels thead th,
.historique-emails thead th {
    font-weight: 800 !important;
}

.historique-appels a,
.historique-emails a {
    color: var(--blue2);
    text-decoration: none;
}

.historique-appels tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.historique-appels tbody tr:hover td {
    background-color: unset;
}

.historique-appels .list-group-item {
    padding: unset;
    background: unset;
}

a.btn-action, button.btn-action {
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 4px 10px;
    vertical-align: top;
    display: inline-block;
    border-radius: 10px;
    margin-right: 10px;
}

.badge {
    font-size: 0.70rem;
    padding: 0.35rem 0.5rem;
}

.badge.rounded-pill {
    border-radius: 12px;
}

.bg-entrant {
    background: var(--blue);
}

.bg-sortant {
    background: var(--green);
}

.bg-interne {
    background: darkgrey;
}

.bg-erreur {
    background: lightcoral;
}

button.btn.btn-warning {
    background-color: var(--green);
    color: #fff;
    border: none;
}

button.close {
    background: var(--green);
    border: none;
    border-radius: 100%;
    padding-inline: 8px;
    position: absolute;
    top: -35px;
    right: 10px;
}

div.breadcrumbs {
    color: #bfbdbd;
    font-weight: lighter;
}

div.breadcrumbs a {
    color: #bfbdbd;
    text-decoration: none;
}

div.breadcrumbs strong {
    font-weight: bold;
}

div.menu-sans-logo {
    border-right: 3px solid var(--blue);
    min-height: 90vh;
    padding: 20px;
    border-radius: 0;
    background: #fff;
}

div.menu-sans-logo > img {
    margin-bottom: 25px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: 200px;
}

.menu-dashboard > a {
    margin-bottom: 0;
    display: block;
}

div#messages-container .alert {
    text-align: center;
    border: none;
    border-radius: 0 0 10px 10px;
    margin-top: 10px;
}

a.btn-tdb > i {
    color: #afafaf;
    margin-right: 7px;
    min-width: 25px;
}

a.btn-tdb.btn-secondary > i {
    color: #fff;
    margin: 0;
}

a.btn-tdb.btn-secondary:hover > i {
    color: var(--blue);
}

a.btn-tdb.active > i {
    color: var(--blue2);
}

.card-body p {
    font-size: 16px;
}

div#messages-container .alert.alert-error {
    background-color: #fa8d81;
    font-weight: bold;
    color: #fff;
    font-size: 17px;
}

h4.sous-titre {
    font-size: 17px;
    margin-bottom: 16px;
}

.bandeau-icone-detail i {
    color: #0c1c5b;
    font-size: 18px;
    margin-top: 5px;
}

.bandeau-icone-detail h1 {
    margin-bottom: 0px;
}

.input-green .text-danger {
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
}

.bandeau-icone-detail a {
    margin: 0 10px;
}

.bandeau-btn-detail a {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    padding: 5px 15px;
    border-radius: 7px;
    text-align: left;
    border: 1px solid;
    font-size: 16px;
    color: #0c1c5b;
}

.menu-dashboard > a {
    margin-bottom: 10px;
    text-align: left;
    display: block;
}

.title-separation {
    border-bottom: 1px solid;
    border-top: 1px solid;
    padding: 15px 0 12px 0;
}

a.btn-tdb.active {
    background: #fff;
    color: var(--blue);
}

a.btn-tdb:hover, a.btn-tdb.btn-secondary:hover {
    background-color: #fff;
    color: var(--blue);
}

a.btn-tdb {
    text-align: left;
    text-decoration: none;
    font-weight: 400;
    color: #4e4e4e;
    padding: 0;
}

a.btn-tdb.btn-secondary {
    background-color: var(--green);
    text-align: center;
    font-weight: 600;
    color: #fff;
    padding: 3px 3px 1px 3px;
    border: 2px solid #fff;
    border-radius: 10px;
    min-width: 30px;
}

#top-logo {
    background-color: #2c2c2c;
    padding: 12px;
    position: fixed;
    width: 101%;
    z-index: 999;
}

.btn-tdb.btn-primary {
    color: #fff;
    background: var(--blue);
    border: 1px solid var(--blue);
    padding: 10px 30px 9px 30px;
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

form .form-control, form span.select2.select2-container {
    border: 2px solid #c5c5c5;
}

label.form-label {
    margin-bottom: 4px;
}

.btn-tdb.btn-primary:hover {
    background: #fff;
    color: var(--blue2)
}

#dateTableServeur tbody td:last-child {
    text-align: right;
}

h4.title-menu {
    background: #F5F5F5;
    border: 2px solid var(--blue);
    color: var(--blue);
    margin: 10px 0 10px -22px;
    padding: 5px 14px 5px 15px;
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0 10px 10px 0;
    font-weight: 500;
    line-height: 1.3;
}

.btn-blanc {
    color: #0c1c5b;
    background: #fff;
    border: 1px solid #0c1c5b;
    margin: 0 10px;
    padding: 1px 20px 3px 20px;
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.btn-blanc:hover {
    color: #fff;
    background: #0c1c5b;
}

.select2.select2-container {
    border: 1px solid #dee2e6;
    padding: 4px;
    border-radius: 6px;
}

.input-green label {
    margin-top: 10px;
    margin-bottom: 0;
}

#search-field .input-group-text {
    height: 40px;
    border-radius: 5px 0 0 5px;
    color: #fff;
    background: var(--blue2);
}

div.loupe-search {
    background: var(--green);
    position: absolute;
    color: #fff;
    top: -17px;
    width: 35px;
    padding: 0;
    text-align: center;
    right: -19px;
    height: 35px;
    line-height: 35px;
    border-radius: 100%;
    font-size: 12px;
    cursor: pointer;
    transition: all ease-in-out 200ms;
}

div.loupe-search:hover {
    background: var(--blue2);
    transform: scale(0.95);
}

.bg-orizon {
    background: var(--blue);
}

div.bg_header_extranet {
    background: var(--blue);
    color: #fff;
    font-size: 15px;
}

.card-header.bg_header_extranet h4 {
    display: inline-block;
    padding-top: 3px;
    margin: 0;
    font-size: 20px;
    text-transform: uppercase;
}

.select2-container .select2-selection--multiple .select2-selection__rendered, .select2-container .select2-selection--multiple .select2-selection__rendered input {
    min-width: 150px;
}

table tr.validated {
    background: #c7c7c7 !important;
    font-style: italic;
}

.select2-selection.select2-selection--multiple .select2-selection__clear {
    display: none;
}

.tox-statusbar__branding, .tox-promotion {
    display: none;
}

div.subformdiv {
    position: relative;
}

a.delete_btn_card {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--green);
    color: #fff;
    font-size: 11px;
    width: 25px;
    height: 25px;
    text-align: center;
    border-radius: 5px;
    line-height: 22px;
}

#bloc-page {
    min-height: 100vh;
    padding-top: 65px;
}

/* DATATABLE */
.dataTables_wrapper {
    padding: 0px;
}

.dt-button.buttons-html5, .dt-button.buttons-print {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background: #0c1c5b;
    color: #fff;
    font-size: 13px;
}

.dt-button.buttons-html5:hover, .dt-button.buttons-print:hover {
    background: #000 !important;
    border: none !important;
}

.dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_paginate, .dataTables_wrapper .datatable.dataTable.no-footer, .dataTables_wrapper .dataTables_info {
    font-size: 15px;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control::before {
    padding: 6px;
    border-radius: 4px;
    color: #fff;
    margin-right: 7px;
}

.fa-regular.fa-circle-check {
    color: #379a1b;
}

.fa-regular.fa-circle-xmark {
    color: red;
}

div.dataTables_wrapper .dataTables_filter input {
    max-height: 32px;
    border-radius: 0 20px 20px 20px;
    margin-left: 10px;
}

td.center {
    text-align: center;
}

.bandeau-top p {
    margin-bottom: 0;
}

.select2-selection__rendered .select2-selection__choice {
    display: inline-block;
    margin-right: 10px;
}

.select2-selection__rendered .select2-search.select2-search--inline {
    display: block;
    width: 100%;
}

.dataTables_wrapper thead th {
    font-size: 15px;
    padding: 10px 25px 10px 10px !important;
    background: #0E2A3363;
    color: #fff;
    font-weight: 500 !important;
}

tr.even td {
    background: #f6f3f3;
}

.btn-action {
    background: transparent;
    border: none;
}

.dataTables_wrapper td {
    font-size: 15px;
    padding: 8px 10px !important;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 20px;
}

div table.dataTable > tbody > tr.child span.dtr-title {
    min-width: 45%;
}

.dataTables_empty {
    font-size: 13px;
}

ul.dtr-details {
    width: 100%;
}

td.centrer, th.centrer {
    text-align: center !important;
}

.dataTables_wrapper i {
    color: #0c1c5b;
    margin: 0 4px;
}

.btn-vue-detail i {
    margin: 0 8px;
    color: #0c1c5b;
}

.rating-label {
    display: inline-block;
    width: min-content;
    cursor: pointer;
}

.rating-icon {
    padding: 7px;
    transition: color 0.2s;
}

.rating-icon:hover {
    color: var(--blue) !important;
}

.rating-input:checked + .rating-label .rating-icon {
    border: 2px solid var(--blue);
    border-radius: 50%;
    padding: 5px;
}

table.dataTable thead > tr > th.sorting::after, table.dataTable thead > tr > th.sorting::before {
    opacity: 0.5 !important;
}

#entite-filter-form .select2 .select2-selection {
    display: flex;
    align-items: center;
}

#entite-filter-form .select2 .select2-selection .select2-selection__choice {
    font-size: var(--bs-body-font-size);
}

#entite-filter-form .select2 .select2-selection .select2-search {
    float: none;
    display: inline;
}

#entite-filter-form .select2 .select2-selection .select2-search input {
    color: lightgray;
    margin-top: 0;
    width: 0;
    min-width: 0;
}

.nav-link {
    color: var(--blue);
}

.icon-col {
    width: 1.5rem;
    margin-right: 0.5rem;
    display: inline-flex;
    justify-content: center;
    color: var(--bs-gray-500)
}

/* MENU */

#entite-filter-form select {
    height: 43px;
    opacity: 0;
}

@media only screen and (min-width: 992px) {
    .menu-sans-logo.fixed-menu {
        position: fixed;
        top: 65px;
        height: calc(100vh - 65px);
        width: 16%;
        overflow: auto;
        z-index: 2;
        scrollbar-color: var(--blue) lightgray;
        scrollbar-width: thin;
    }

    .search-field-client {
        position: absolute;
        z-index: 10;
    }
}

/* DATATABLES */

.dtr-details {
    text-align: start;
}