body {
  font-family: 'Cabin, Arial';
  margin: unset;
  background-color: #ffffff;
}

div[aria-hidden='true'] {
  background-color: transparent !important;
}
.ra-rich-text-input .ql-editor {
  background-color: white !important;
}

.ra-rich-text-input.MuiFormControl-fullWidth {
  width: 95%;
}

.ql-snow .ql-tooltip a.ql-remove::before {
  content: 'Supprimer' !important;
}

.ql-snow .ql-tooltip a.ql-action::after {
  content: 'Changer' !important;
}

.ql-snow .ql-tooltip::before {
  content: 'Lien :' !important;
}

.ql-tooltip {
  left: 20px !important;
}

.ql-snow .ql-picker.ql-size .ql-picker-label::before,
.ql-snow .ql-picker.ql-size .ql-picker-item::before {
  content: 'Normale' !important;
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value='large']::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='large']::before {
  content: 'Grande' !important;
}

.ql-snow .ql-picker.ql-size .ql-picker-label[data-value='huge']::before,
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='huge']::before {
  content: 'Plus grande' !important;
}
.ql-snow .ql-picker.ql-header .ql-picker-label::before,
.ql-snow .ql-picker.ql-header .ql-picker-item::before {
  content: 'Texte' !important;
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value='1']::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='1']::before {
  content: 'Titre H1' !important;
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value='2']::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='2']::before {
  content: 'Titre H2' !important;
}

.ql-snow .ql-picker.ql-header .ql-picker-label[data-value='3']::before,
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='3']::before {
  content: 'Titre H3' !important;
}

.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='huge']::before {
  font-size: 28px !important;
}

.ql-editor .ql-size-large {
  font-size: 22px !important;
}

.ql-editor .ql-size-huge {
  font-size: 28px !important;
}

div.list-page > div.MuiToolbar-root .MuiButtonBase-root:not(.hide-filter) {
  color: #1b1b1b !important;
  font-size: 14px !important;
  font-style: italic !important;
  text-transform: unset !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  line-height: 18px;
  padding-left: 6px;
  padding-right: 8px;
  margin-right: 8px;
  border: 1px solid black;
}

div.list-page > div.MuiToolbar-root .MuiButtonBase-root:hover {
  background-color: #e2e2e280 !important;
}

div.list-page > div.MuiToolbar-root a.MuiButtonBase-root .MuiSvgIcon-root {
  color: #0e1010 !important;
  border-radius: 5px;
  width: 20px;
}

div.list-page.NoToolBar > div.MuiToolbar-root {
  display: none;
}
div.list-page > div.MuiToolbar-root {
  padding: 15px 15px 5px 15px;
  margin-bottom: 10px;
  background-color: #ffffff;
}

a.aChooseBlock {
  margin-bottom: 10px;
}

a.aChooseBlock > span.selBlockLabel {
  background-color: white;
  border: 1px solid black;
  padding: 6px 0 1px 10px;
  min-width: 200px;
  height: 30px;
  display: inline-flex;
}

table.selBlockTable td.selBlockTdDetail {
  display: none;
}

table.selBlockTable td.selBlockTdInfo:hover + td {
  display: block;
}

table.selBlockTable td.selBlockTdInfo.empty + td {
  display: none !important;
}

table.selBlockTable td.selBlockTdDetail {
  max-width: 450px;
}

table.selBlockTable td.selBlockTdLabel:hover,
table.selBlockTable td.selBlockTdInfo:hover {
  cursor: pointer;
}

table.selBlockTable td.selBlockTdInfo.empty:hover {
  cursor: none !important;
}

table.selBlockTable tr:hover > td:first-child {
  background-color: lightskyblue;
  color: white;
}

.divModelBlocks div.row {
  display: flex;
  margin-bottom: 5px;
  padding-top: 10px;
  padding-left: 2px;
  padding-right: 2px;
  padding-bottom: 10px;
}

.divModelBlocks .col-lg-3 {
  width: 30% !important;
  float: left !important;
  margin-right: 1px !important;
}

.divModelBlocks .col-lg-7 {
  width: 70% !important;
  float: left !important;
  margin-right: 1px !important;
}

.divModelBlocks .col-lg-10 {
  width: 100% !important;
  float: left !important;
}

div.bocirListHideToolbarTop > div.MuiToolbar-root {
  display: none;
}
div.filter-field {
  flex-direction: row-reverse;
}
div.filter-field div.MuiFormControl-root div.MuiSelect-root {
  background-color: #f9f8fc !important;
}

div.filter-field button.hide-filter {
  background-color: transparent !important;
  color: #e2e2e2 !important;
  align-self: center;
}

/*nouveautee*/
.MuiAppBar-root {
  display: flex !important;
}

.customTabbedShowRoot .MuiTabs-flexContainer {
  margin: 0;
  align-items: center;
  display: flex;
  justify-content: space-evenly;
  font-size: 0.7rem !important;
}

.customTabbedShowRoot .MuiTabs-flexContainer .MuiTab-root {
  font-size: 0.7rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-transform: none !important;
}
.customTabbedShowLayout {
  padding-left: 0 !important;
}

.MuiTab-root.Mui-selected {
  z-index: 10 !important;
  position: relative !important;
}

.customTabbedShowLayout .MuiTabs-root {
  display: none !important;
}

[class*='RaPaginationActions-hellip'],
[class*='RaPaginationActions-button'] {
  width: 32px !important;
  height: 24px !important;
  border-radius: 5px;
  border-width: 1px;
  gap: 4px;
  min-width: unset !important;
}

[class*='RaPaginationActions-currentPageButton'] {
  background-color: #ffd3014d !important;
  border: 1px solid #ffd3014d !important;
}

[class*='RaPaginationActions-hellip'] {
  padding: unset !important;
}
.ColorInput .MuiFilledInput-underline:before {
  border: none !important;
}
.MuiTabs-root {
  position: relative;
}

.MuiTabs-indicator {
  position: absolute;
  z-index: 10;
}

.MuiDivider-root {
  display: none;
  margin-left: 16px !important;
}

:not(.FlexLeft) > .MuiTabs-root:not(.FlexLeft) .MuiTabs-flexContainer {
  justify-content: space-between !important;
}

.MuiTabs-flexContainer a.MuiButtonBase-root {
  flex: 1;
  min-width: 0;
  padding: 0; /* or just horizontal padding */
  text-align: center;
  max-width: 100% !important;
}

.FlexLeft .MuiTabs-root .MuiTabs-flexContainer > a.MuiButtonBase-root.MuiTab-root {
  max-width: fit-content !important;
  padding: 16px 15px 6px 15px;
}

.FlexLeft .MuiTabs-root .MuiTabs-flexContainer > a.MuiButtonBase-root.MuiTab-root {
  min-width: 160px;
}

@media (min-width: 601px) {
  .MuiToolbar-root.MuiToolbar-dense {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .MuiDrawer-root,
  .MuiBackdrop-root {
    max-height: 100vh !important;
  }
  .RaLoadingIndicator-loadedIcon {
    display: none !important;
  }
  .BocirCustomMenu {
    display: none !important;
  }
  .customTabbedShowRoot {
    top: 0 !important;
  }

  .menuItems {
    top: 72px !important;
  }

  div#main-content {
    width: 100vw;
    overflow: hidden !important;
  }
}

.bocir-section-content {
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.bocir-content-wrapper {
  width: 95%;
  margin: 0 auto;
}
