@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600&display=swap');


:root {
  --green: #95CC6B;
  --green-hover: #8cb96a;
  --orange: #ff8103;
  --orange-hover: #d46a00;
  --purple: #7003ff;
  --purple-hover: #5e00d9;
  --beige: #bdb08f;
  --beige-hover: #9e9377;
  --custom-primary:#069A2E;
  --custom-primary-hover:#037522;
  --custom-primary-light:#def2e2;
  --custom-primary-light-hover:#b4ccb8;
  --success: #1cc88a;
  --info: #36b9cc;
  --warning: #f6c23e;
  --danger: #e74a3b;
  --cui-primary-rgb: 0,170,171;
  --cui-info: --info;
  --cui-info-rgb: 54,185,204;
  --cui-warning: --warning;
  --cui-warning-rgb: 246,194,62;
  --cui-link-color-rgb: 0,170,171;
}


.btn-primary, [data-coreui-theme=dark] .btn-primary {
  --cui-btn-bg: #00aaab;
  --cui-btn-border-color: #00aaab;    
  --cui-btn-hover-bg: #197273;
  --cui-btn-hover-border-color: #197273;
  --cui-btn-active-bg: #197273;
  --cui-btn-active-border-color: #197273;
  --cui-btn-disabled-bg: #295353;
  --cui-btn-disabled-border-color: #295353;
}

.pagination {
  --cui-pagination-active-bg: #00aaab;
  --cui-pagination-active-border-color: #00aaab;
}


body {
  margin: 0 !important;
}

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

.btn-green {
  background-color: var(--green);
  border-color: var(--green);
  color: white;
}

.text-green {
  color: var(--green);
}

.btn-green:hover {
  background-color: var(--green-hover);
  border-color: var(--green-hover);
  color: white;
}

.border-left-green {
  border-left: 0.25rem solid var(--green) !important;
}

.bg-orange {
  background-color: var(--orange);
}

.btn-orange {
  background-color: var(--orange);
  border-color: var(--orange);
  color: white;
}

.text-orange {
  color: var(--orange);
}

.btn-orange:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
  color: white;
}

.border-left-orange {
  border-left: 0.25rem solid var(--orange) !important;
}

.bg-purple {
  background-color: var(--purple);
}

.btn-purple {
  background-color: var(--purple);
  border-color: var(--purple);
  color: white;
}

.text-purple {
  color: var(--purple);
}

.btn-purple:hover {
  background-color: var(--purple-hover);
  border-color: var(--purple-hover);
  color: white;
}

.border-left-purple {
  border-left: 0.25rem solid var(--purple) !important;
}

.bg-beige {
  background-color: var(--beige);
}

.btn-beige {
  background-color: var(--beige);
  border-color: var(--beige);
  color: white;
}

.text-beige {
  color: var(--beige);
}

.btn-beige:hover {
  background-color: var(--beige-hover);
  border-color: var(--beige-hover);
  color: white;
}

.border-left-beige {
  border-left: 0.25rem solid var(--beige) !important;
}

.bg-custom-primary {
  background-color: var(--custom-primary);
}

.btn-custom-primary {
  background-color: var(--custom-primary);
  border-color: var(--custom-primary);
  color: white;
}

.text-custom-primary {
  color: var(--custom-primary);
}

.btn-custom-primary:hover {
  background-color: var(--custom-primary-hover);
  border-color: var(--custom-primary-hover);
  color: white;
}

.bg-custom-primary-light {
  background-color: var(--custom-primary-light);
}

.btn-custom-primary-light {
  background-color: var(--custom-primary-light);
  border-color: var(--custom-primary-light);
  color: white;
}

.text-custom-primary-light {
  color: var(--custom-primary-light);
}

.btn-custom-primary-light:hover {
  background-color: var(--custom-primary-light-hover);
  border-color: var(--custom-primary-light-hover);
  color: white;
}

.country-flag {
  width: 30px;
}

.country-flag.medium {
  width: 25px;
}

.country-flag.small {
  width: 20px;
}

#content {
  min-height: 85vh;
}

.loader {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgba(30, 30, 30, 0.5);
  z-index: 2000;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
}

.btn-circle {
  font-size: 0.87rem;
  width: 2rem;
  height: 2rem;
}

h6, .h6 {
  font-size: 0.87rem;
}

h5, .h5 {
  font-size: 1.07rem;
}

h4, .h4 {
  font-size: 1.27rem;
}

h3, .h3 {
  font-size: 1.47rem;
}

h2, .h2 {
  font-size: 1.67rem;
}

h1, .h1 {
  font-size: 2.7rem;
}

.dropdown .dropdown-menu {
  font-size: 0.87rem;
}

.tooltip {
  font-size: 0.87rem;
}

.form-control {
  font-size: 0.87rem;
}

.small, small {
  font-size: 90%;
}
/* End reduce font-size */

/* bootstrap override */
.topbar {
  padding: 0.3em 1em;
  height: auto;
}

.topbar .nav-item .nav-link {
  height: 3.5em;
}

.toast {
  pointer-events: none;
}

.toast.show {
  pointer-events: initial;
}

input.disabled {
  background-color: #eaecf4;
}

input[type="checkbox"][readonly],
input[type="checkbox"][readonly] + label {
  pointer-events: none;
}

input[type="checkbox"][readonly] {
  visibility: hidden;
}


input[type="checkbox"][readonly]:before {
  content: "";
  visibility: visible;
  position: absolute;
  background: #f7f7f7;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  border: .1px solid #cbcbcb;
}

input[type="checkbox"][readonly]:checked:before {
  background: #cecece;
}

input[type="checkbox"][readonly]:checked:after {
  content: "";
  visibility: visible;
  position: absolute;
  width: 4.7px;
  height: 8.6px;
  top: calc(50% - 0.8px);
  left: calc(50% + 0.4px);
  transform: translate(-50%, -50%) rotate(37deg);
  border-bottom: 2px solid #e7e7e7;
  border-right: 2px solid #e7e7e7;
}

.big-checkbox {
  width: 20px;
  height: 20px;
}

.big-checkbox + label {
  margin-left: 5px;
  line-height: 27px;
}

a .form-control,
.form-control a {
  cursor: pointer;
  color: #4e73df !important;
}

.form-control.disabled {
  background-color: #eaecf4;
}

.form-check-input {
  margin-top: 0.15rem;
}

.form-control::-webkit-input-placeholder {
  color: #cbcbcb;
}

.help-icon {
  font-size: 1.2rem;
  margin-top: -.75rem;
}

.badge.clickable {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity .25s;
}

.badge.clickable:hover {
  opacity: 1;
  transition: opacity .25s;
}

.badge.clickable.active {
  background-color: var(--primary);
  color: white;
  opacity: 1;
}

.min-width-100 {
  min-width: 100px;
}

.undecorated-link,
.undecorated-link:hover,
.undecorated-link:visited {
  text-decoration: none;
  color: inherit;
}

.col-form-label {
  padding-top: 0;
}

label.required:not(.not-required):after,
legend.required:not(.not-required):after {
  content: "*";
  margin-left: 5px;
  color: var(--red);
}

input[type="color"] {
  width: 50px;
  padding: .175rem .45rem;
}

.color-picker-text {
  width: 5.8em;
}

.export-button {
    color: #fff;
    background-color: #76b743;
    border-color:  #76b743;
}

.export-button:hover {
    color:#fff;
    background-color: #649b39;
    border-color: #649b39;
}

input[type=file], /* FF, IE7+, chrome (except button) */
input[type=file]::-webkit-file-upload-button {
  /* chromes and blink button */
  cursor: pointer;
  overflow: hidden;
}

.custom-file-label {
  white-space: nowrap;
  overflow: hidden;
}

.custom-file-label:after {
  font-family: "Font Awesome 5 Free"!important;
  content: "\f07b"!important;
  font-weight: 900!important;
  color: inherit!important;
  margin: inherit!important;
}

.table-image {
  max-height: 70px;
}

.label-image {
  min-width: 30px;
  max-height: 45px;
  max-width: 75%;
  width: auto;
}

.label-image.medium {
  min-width: 80px;
  max-height: 125px;
}

.label-image.large {
  min-width: 80px;
  max-height: 200px;
  max-width: 100%;
}

.label-image.extra-large {
  min-width: 80px;
  width: auto;
  max-width: 100%;
  max-height: 300px;
}

.feature-tags {
    display: none;
    margin-top: 0.5rem;
}

.feature-toggle:checked + .feature-badge + .feature-tags {
    display: block;
}

.feature-tag {
    border: 1px solid #dee2e6;
    border-radius: 999px;
    padding: 0.25rem 0.5rem;
    background-color: #f8f9fa;
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.feature-tag img {
    margin-right: 4px;
}

.feature-title {
    font-weight: 500;
}

.points-badge {
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: bold;
}


.topbar .fa-user {
  font-size: 17px;
}

a.alert-danger:hover {
  color: #621b15;
}

.btn-circle.with-icon {
  margin-right: 5px;
}

th.dt-center, td.dt-center { text-align: center; }

.table td {
  vertical-align: middle;
}


/* Datatable */

.table, table.table.dataTable {
  border-collapse: separate !important;
  border-spacing: 0 10px;
}

.table th {
  font-weight: normal;
}
.table .entry-position {
  text-align: center;
  width: 100px !important;
}

.table .entry-position .bullet {
  margin: 0 auto;
}

.table th.visible {
  width: 100px !important;
  text-align: center;
}

.table td.visible {
  text-align: center;
}

.table th.number-element {
  width: 175px !important;
  text-align: center;
}

.table td.number-element {
  text-align: center;
}

.table th.main {
  width: 200px !important;
  text-align: center;
}

.table td.main {
  text-align: center;
}

table.table.dataTable thead > tr > th, table.table thead > tr > th {
  background: var(--cui-secondary-bg);
}

table.table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1)>* {
  box-shadow: inset 0 0 0 9999px rgb(74 164 255 / 9%);
}

.table thead th {
  vertical-align: middle;
}

table.table.dataTable>:not(caption)>*>* {
  background-color: var(--cui-light-bg-subtle);
}

table.dataTable.table>thead>tr th.dt-orderable-asc span.dt-column-order, 
table.dataTable.table>thead>tr th.dt-orderable-desc span.dt-column-order, 
table.dataTable.table>thead>tr th.dt-ordering-asc span.dt-column-order, 
table.dataTable.table>thead>tr th.dt-ordering-desc span.dt-column-order, 
table.dataTable.table>thead>tr td.dt-orderable-asc span.dt-column-order, 
table.dataTable.table>thead>tr td.dt-orderable-desc span.dt-column-order, 
table.dataTable.table>thead>tr td.dt-ordering-asc span.dt-column-order, 
table.dataTable.table>thead>tr td.dt-ordering-desc span.dt-column-order { 
  position: relative;
  right: -10px;
}

.dt-column-order {
  opacity: 0;
  transition: opacity .15s;
}

.table thead th:hover .dt-column-order, .table thead th.dt-ordering-desc .dt-column-order, .table thead th.dt-ordering-asc .dt-column-order {
  opacity: 1;
}

.table thead th:first-child, .table tbody td:first-child {
  border-radius: 6px 0 0 6px;
}

.table thead th:last-child, .table tbody td:last-child {
  border-radius: 0 6px 6px 0;
}

.table-fixed-header {
  overflow: auto;
  max-height: 500px;
}

.table-fixed-header thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: white;
  box-shadow: inset 0px 1px #e3e6f0, 0 1px #e3e6f0;
}

.table-fixed-header th {
  border-top: none;
  border-bottom: none;
}

.table-fixed-row {
  position: sticky;
  bottom: 0;
  background: white;
  box-shadow: inset 0px 3px #e3e6f0;
}

.table-fixed-row td {
  border-top: none;
}

.copyKey {
  cursor: pointer;
}
.copyKey > span {
  display: none;
}

.copyKey > span.copied {
  display: block;
}


.status-icon {
  font-size: 1.2rem;
}

.status-icon.check-icon svg {
  color: var(--success);
}

.status-icon.cross-icon svg {
  color: var(--danger);
}

.short-choices {
  max-width: 150px;
}

.collection-item-sortable {
  width: 100%;
}

.collection-remove-link {
  max-height: 29px;
  align-self: center;
  margin: 1rem 0.75em 0 0;
}

li {
  position: relative;
  list-style-type: none;
}

.collection .bullet.top-right {
  position: absolute;
  top: 0;
  right: 0;
}

.move-icon {
  text-align: center;
}

.move-icon i {
  font-size: 22px;
  cursor: pointer;
}

.collection .nav-item {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 47px);
}

.collection .nav-item-content {
  align-items: center;
}

.collection-item {
  display: flex;
  flex-wrap: initial;
}

.children-collection {
  padding-left: 2rem;
  position: relative;
}

.children-collection > .collection-item .card:before {
  width: 1rem;
  max-height: calc(50% + .5rem);
  height: calc(100% + .5rem);
  border-left: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  position: absolute;
  left: -1rem;
  content: '';
  bottom: 50%;
}

.card .card-header[data-bs-toggle="collapse"]:after {
  color: #96969a;
  font-size: 1.2em;
}

.card .card-header.center-collapse-arrow.collapsed[data-bs-toggle="collapse"]:after {
  content: '\f106';
}

.card .card-header.center-collapse-arrow[data-bs-toggle="collapse"]:after {
  right: 50%;
  transform: translateX(50%);
}

.card .card-header .form-group {
  margin: 0;
}

.card-header .languages {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
}

.card-header .languages .country-flag {
  opacity: 0.45;
}

.card-header .languages a:hover .country-flag,
.card-header .languages a.active .country-flag {
  opacity: 1;
}

.bullet {
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  width: 30px;
  height: 30px;
  text-align: center;
  padding-top: 4px;
  line-height: normal;
}


.module-item {
  display: flex;
  align-items: center;
}

.module-item p {
  margin-bottom: 0;

  margin-right: 20px;
}

.read-more-block p.collapse:not(.show) {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  max-height: 3em;
  line-height: 1.5em;
  -webkit-line-clamp: 3;
}

.read-more-block p {
  min-height: 70px !important;
  white-space: pre-wrap;
}

.read-more-block a.collapsed:after {
  content: "Voir plus";
}

.read-more-block a:not(.collapsed):after {
  content: "Voir moins";
}

.see-translations-block {
  margin-top: 0.75em;
}

.see-translations-block ul.collapse:not(.show) {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  height: 0;
  line-height: 1.5em;
  -webkit-line-clamp: 3;
}

.see-translations-block ul {
  padding: 0;
  white-space: pre-wrap;
}

.see-translations-block a {
  font-size: 0.9em;
}

.see-translations-block a.collapsed:after {
  content: "Voir les traductions";
}

.see-translations-block a:not(.collapsed):after {
  content: "Réduire";
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
  -webkit-transform: translateX(19px);
  -ms-transform: translateX(19px);
  transform: translateX(19px);
}

.breadcrumb-categories.vertical {
  list-style: none;
}

.breadcrumb-categories.vertical .breadcrumb-item {
  position: relative;
  margin-bottom: 7px;
  padding: 0;
}

.breadcrumb-categories.vertical .breadcrumb-item+.breadcrumb-item::before {
  content: "\1F817";
  font-weight: bold;
  font-size: 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -17px;
  padding: 0;
}

.breadcrumb-categories .breadcrumb-item+.breadcrumb-item::before {
  content: "\279C";
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Select2 */
.select2-container {
  width: 100% !important;
}

.select2-dropdown {
  border: 1px solid var(--cui-border-color) !important;
  background-color: var(--cui-body-bg);
  color: var(--cui-body-color);
}

.select2-container--default .select2-results__option--selected {
  background-color: var(--cui-light-bg-subtle);
}

.select2-selection__arrow {
  display: none;
}

.select2-selection__arrow {
  height: calc(1.5em + 0.75rem + 2px) !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: calc(1.5em + 0.75rem + 2px) !important;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
  --cui-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  min-height: calc(1.5em + 0.75rem + 2px) !important;
  border: 1px solid var(--cui-border-color) !important;
  border-radius: var(--cui-border-radius) !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background-color: var(--cui-body-bg);
  background-image: var(--cui-form-select-bg-img), var(--cui-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  color: var(--cui-body-color);
}
[data-bs-theme=dark] .select2-container--default .select2-selection--multiple,
[data-bs-theme=dark] .select2-container--default .select2-selection--single {
  --cui-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")
}

.select2-container--default.select2-container--focus
  .select2-selection--multiple,
.select2-container--default.select2-container--focus
  .select2-selection--single {
  border-color: #bac8f3 !important;
  box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25) !important;
  outline: 0 !important;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice,
.select2-container--default
  .select2-selection--single
  .select2-selection__choice {
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.075);
  font-weight: 600;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  border-right: none !important;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove:hover {
  background-color: #f8d7da !important;
  color: #721c24 !important;
}

.select2-search.select2-search--dropdown .select2-search__field {
  border: 1px solid #d1d3e2 !important;
  border-radius: 0.35rem !important;
  outline: 0 !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select2-search.select2-search--dropdown .select2-search__field:focus {
  border-color: #bac8f3 !important;
  box-shadow: 0 0 0 0.1rem rgba(78, 115, 223, 0.25) !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #6e707e !important;
}

.select2-container--default .select2-results>.select2-results__options {
  max-height: 320px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  height: 100% !important;
  font-size: 1.2rem !important;
  color: #721c24 !important;
}


/* Other */
.position-choice::-webkit-outer-spin-button,
.position-choice::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  -moz-appearance: textfield;
}

.position-choice:not(:focus) {
  cursor: pointer;
}

#wrapper {
    display: flex;
    min-height: 100vh;
}

.accordion .accordion-header .add-page {display: none;}

#cmsSidebar .nav-item .badge {
  font-size: 0.75rem;
  padding: 0.2em 0.4em;
}


.sidebar-nav::-webkit-scrollbar {
  background-color: #ff000000;
  width: 5px;
}

/* background of the scrollbar except button or resizer */
.sidebar-nav::-webkit-scrollbar-track {
  background-color: #0011ff00;
}

/* scrollbar itself */
.sidebar-nav::-webkit-scrollbar-thumb {
  background-color: #babac09c;
  border-radius: 16px;
}

.sidebar-brand img {
  max-height: 80px;
}

/* set button(top and bottom of the scrollbar) */
::-webkit-scrollbar-button {
  display:none;
}

::-webkit-scrollbar {
  background-color: #ff000000;
  width: 7px;
}

/* background of the scrollbar except button or resizer */
::-webkit-scrollbar-track {
  background-color: #0011ff00;
}

/* scrollbar itself */
::-webkit-scrollbar-thumb {
  background-color: #babac0;
  border-radius: 16px;
}

/* set button(top and bottom of the scrollbar) */
::-webkit-scrollbar-button {
  display:none;
}



#content-wrapper {
    flex: 1; 
}

.footer {
    margin-top: auto;
}


.wrapper {
  width: 100%;
  padding-left: var(--cui-sidebar-occupy-start, 0);
  padding-right: var(--cui-sidebar-occupy-end, 0);
  will-change: auto;
  transition: padding 0.15s;
}

.sidebar-footer .sidebar-nav {
  display: flex;
  flex-direction: row;
  overflow: visible;
}