body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1em;
}

section {
    width: 100%;
    padding: 8em 2em 2em 22em;
}

h3 {
    padding: 0 0 0.3em 0.3em;
    margin-bottom: 1em;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
}

h4 {
    background-color: #F5F5F5;
    font-size: 1em;
    font-weight: bold;
    padding: 0.6em;
    border-radius: 5px;
}

table thead,
table thead a,
table thead a:hover {
    color: white;
}

.bills table thead th {
    border: 1px solid #F5F5F5;
}


.bloc {
    background-color: white;
    padding: 2em;
    margin-bottom: 1em;
    margin-top: 1em;
    border-radius: 10px;
    box-shadow: rgba(149, 157, 165, 0.18) 0px 8px 24px;
}

.back-link {
    display: block;
    text-align: right;
    margin-bottom: 1em;
    color: #333333;
}

.back-link:hover {
    color: #333333;
}


.form {
    width: 70%;
    margin: 0 auto;
}

.input {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5em;
}

.input label {
    font-weight: bold;
}

.input input,
.input textarea,
select {
    border-radius: 10px;
    border: 1px solid #333333;
    padding: 0.5em;
}

input[readonly] {
    background-color: #F5F5F5;
    border: 1px solid grey;
    cursor: default;
}

.button {
    border: 0;
    border-radius: 10px;
    padding: 0.5em 1em;
    cursor: pointer;
    font-weight: bold;
}

table .button {
    padding: 0.3em 0.4em;
    font-size: 1.3em;
    background-color: white;
    border: 1px solid #333333;
    color: #333333;

}


.button:hover {
    text-decoration: none;
}

.button.delete:hover,
.button.delete-ro {
    background-color: #ba0621;
    color: white;
    border: 1px solid #ba0621;
}

.button.view:hover {
    background-color: #7a02c9;
    color: white;
    border: 1px solid #7a02c9;
}

.button.edit:hover {
    background-color: #f78e36;
    color: white;
    border: 1px solid #f78e36;
}

.button:disabled {
    opacity: .10;
}

select.active-select {
    border: 1px solid #2d8a46;
    color: #2d8a46;
}

select.test-select {
    border: 1px solid #b30c0c;
    color: #b30c0c;
}

select.archive-select {
    border: 1px solid #828282;
    color: #828282;
}

select.deleted-select {
    border: 1px solid black;
    color: black;
}

select.dev-select {
    border: 1px solid #7a02c9;
    color: #7a02c9;
}

a.active-link {
    color: #333333;
}

a.test-link {
    color: #b30c0c;
    font-weight: bold;
}

i.test-mod {
    color: #b30c0c !important;
}

a.archive-link {
    color: #828282;
}

a.deleted-link {
    color: black;
}

a.dev-link {
    color: #7a02c9;
    font-weight: bold;
}

i.dev-mod {
    color: #7a02c9 !important;
}


.fa-file-excel {
    color: #1F6E43;
    font-size: 1.4em;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.message.hidden {
    display: none;
}

.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}

.message.warning {
    background: #fffabc;
    color: #8d7b00;
    border-color: #d3b800;
}

.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

.error-message ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.error-message,
.message-photo {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 0.5rem;
}


/* The container */
.checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border: #2196F3 1px solid;
}

/* On mouse-over, add a grey background color */
.checkbox:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked~.checkmark {
    background-color: #2196F3;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:disabled~.checkmark {
    cursor: initial;
    border: 1px solid #ccc;
}

.checkbox:hover input:disabled~.checkmark {
    background-color: #eee;

}



/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.pagination li {
    background-color: #F5F5F5;
    color: #404055;
    padding: 0.2em 0.5em;
    margin: 0 0.2em;
    border-radius: 5px;
}

.pagination a,
.pagination input {
    text-decoration: none;
    color: #333333;
}

.pagination li.disabled a {
    color: #C6CDD7;
}

.pagination li.active a {
    color: white;
}

.pagination input {
    background-color: transparent;
    padding: 0;
    margin: 0;
    font-weight: normal;
}

.search-field input[type="text"] {
    padding-right: 30px;
    /* Ajustez la taille en fonction de vos besoins */
}

.search-field {
    position: relative;
}

.search-button {
    position: absolute;
    top: 0.35em;
    right: 0.2em;
    border: none;
    background: none;
    cursor: pointer;
}

.search-section,
.filter-section {
    width: 50%;
}

.filter-section .filters {
    display: none;
}

/* .filter-section .filters select {
    display: block;
} */

.filter-active {
    font-size: 0.9em;
    color: white;
    padding: 0.2em 0.5em;
    border-radius: 30px;
    margin-right: 0.2em;
}

.partners .partner-info {
    display: flex;
    flex-wrap: wrap;
    margin: 0.5em 0;
    padding: 0.5em;
    background-color: #F5F5F5;
    border-radius: 5px;
}

.partners .partner-info>div:first-child {
    width: 18%;
    font-weight: bold;
}

.partners .partner-info>div:last-child {
    width: 82%;

}

.partners .partner-info .info-contact {
    display: flex;
    flex-wrap: wrap;
}

.partners .partner-info .info-contact .input {
    margin-right: 0.5em;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-group .input {
    padding: 0 0.2em;
}

.form-group.two .input {
    width: 50%;
}

.form-group.three .input {
    width: 33%;
}

.form-group.four .input {
    width: 25%;
}

.library .categories {
    width: 100%;
    text-align: center;
    background-color: #ededed;
    border-radius: 5px;
    padding: 0.3em 0.1em;
}

.library .categories a {
    display: inline-block;
    width: 33%;
    padding: 0.3em;
    color: #333333;
    text-transform: uppercase;
}

.library .categories a:hover {
    text-decoration: none;
}

.library .categories a.cat-active {
    background-color: white;
    border-radius: 5px;
    box-shadow: rgba(149, 157, 165, 0.30) 0px 0px 6px;
    font-weight: bold;
}

.library .filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.library .filters .search-zone {
    width: 60%;
}

.library .filters .order-zone {
    width: 30%;
}


.library .rubriques {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.library .rubriques .column {
    width: 49%;
}

.library .rubriques .rubrique {
    /* width: 100%; */
    border-radius: 5px;
    margin-bottom: 1em;
}

.library .rubriques .rubrique .rub-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.7em;
}

.library .rubriques .rubrique .rub-emails {
    display: none;
    padding: 0.5em;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.library .rubriques .rubrique .rub-emails li {
    padding-bottom: 0.2em;
}

.library .preview {
    width: 100%;
}

iframe {
    display: block;
    margin: 0 auto;
    border: 1px solid #ccc;
}

.library .custom-section {
    font-weight: bold;
    background-color: #F5F5F5;
    border-radius: 10px;
    padding: 0.2em 0.5em;
    margin: 1.5em 0;
}

.ck-editor__editable_inline:not(.ck-comment__input *) {
    height: 200px;
    overflow-y: auto;
}

@media screen and (max-width: 834px) {
    section {
        padding: 4em 1em 1em 1em;
    }

    .bloc {
        padding: 1em;
    }

    .filepond--item {
        width: calc(50% - 0.5em);
    }

    .form,
    .search-section,
    .filter-section,
    .partners .partner-info>div:first-child,
    .partners .partner-info>div:last-child,
    .form-group.two .input,
    .form-group.three .input,
    .form-group.four .input,
    .library .rubriques .column,
    .library .filters .search-zone,
    .library .filters .order-zone,
    iframe {
        width: 100%;
    }

    .library .categories a {
        width: 99%;
    }

}

.filepond--item {
    width: calc(33% - 0.5em);
}

.modal-header.bloc-title {
    color: #ffffff !important;
    background-color: #AAC442 !important;
}
.modal-header.bloc-title .modal-title {
    color: #ffffff !important;
}
.button.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

#statistique div div {
    background-color: rgb(49, 130, 118) !important;
}