/*
 Theme Name: Hello Elementor Child
 Theme URI: https://mediasante.be
 Description: Theme enfant pour Hello Elementor
 Author: Mediasante
 Author URI: https://mediasante.be
 Template: hello-elementor
 Version: 1.0.0
 */

*,
:after,
:before {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Inter" !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--e-global-color-text);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block-start: 0rem;
  margin-block-end: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.3em;
  color: inherit;
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 20px;
}
h4 {
  font-size: 16px;
}
h5 {
  font-size: 14px;
}
h6 {
  font-size: 12px;
}
p {
  font-size: 16px;
  margin-block-start: 0;
  margin-block-end: 0.5rem;
}

.acf-field p.description {
  font-size: 14px;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 14px;
  white-space: pre-wrap;
}
a {
  background-color: transparent;
  text-decoration: none;
}

input,
input::placeholder {
  font-size: 14px;
  font-weight: 400;
  font-family: "Inter";
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

figcaption {
  font-size: 16px;
  color: #333;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
}
[hidden],
template,
.mediacom-notification.user.mediademo,
.acf-fr,
.media-frame-content .media-toolbar {
  display: none !important;
}

.acf-gallery {
  height: 250px !important;
}

.media-router button {
  color: var(--e-global-color-text);
}

.media-router .media-menu-item:focus {
  outline: 0px solid transparent !important;
  box-shadow: none !important;
  color: #043959;
}

.attachments-browser .uploader-inline,
.attachments-browser.has-load-more .attachments-wrapper,
.attachments-browser:not(.has-load-more) .attachments {
  top: 10px !important;
}

.acf-repeater .acf-row-handle.order {
  background: var(--e-global-color-text) !important;
  color: #fff !important;
  text-shadow: none !important;
}

@media print {
  *,
  :after,
  :before {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  blockquote,
  pre {
    -moz-column-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #ccc;
  }
  thead {
    display: table-header-group;
  }
  img,
  tr {
    -moz-column-break-inside: avoid;
    break-inside: avoid;
  }
  h2,
  h3,
  p {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    -moz-column-break-after: avoid;
    break-after: avoid;
  }
}
label {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  font-size: 14px;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
  resize: vertical;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #011c31;
  margin-right: 2px;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
select {
  display: block;
}
table {
  background-color: transparent;
  width: 100%;
  margin-block-end: 15px;
  font-size: 0.9em;
  border-spacing: 0;
  border-collapse: collapse;
}
table td,
table th {
  padding: 15px;
  line-height: 1.5;
  vertical-align: top;
  border: 1px solid #ddd !important;
  border-collapse: collapse;
}
table th {
  font-weight: 600;
}
table tfoot th,
table thead th {
  font-size: 1em;
}
table caption + thead tr:first-child td,
table caption + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table thead:first-child tr:first-child td,
table thead:first-child tr:first-child th {
  border-block-start: 1px solid #ddd !important;
}

table tbody + tbody {
  border-block-start: 2px solid #ddd !important;
}
@media (max-width: 767px) {
  table table {
    font-size: 0.8em;
  }
  table table td,
  table table th {
    padding: 7px;
    line-height: 1.3;
  }
  table table th {
    font-weight: 400;
  }
}
dd,
dl,
dt,
li,
ol,
ul {
  margin-block-start: 0;
  margin-block-end: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
label,
p {
  color: var(--e-global-color-text);
}

li.admin {
  display: none !important;
}

.role-administrator li.admin,
.role-editor li.admin {
  display: block !important;
}

input {
  outline: none !important;
}

.admin {
  display: none;
}

.role-editor .admin,
.role-administrator .admin {
  display: block;
}

.user {
  display: none !important;
}

.role-mediait .user,
.role-mediacom .user,
.role-mediabuild .user,
.role-mediafaq .user,
.role-mediahub .user,
.role-mediaredac .user,
.role-mediashop .user,
.elementor-editor-active .user {
  display: block !important;
}

.role-mediait .mediafaq,
.role-mediacom .mediafaq,
.role-mediabuild .mediafaq,
.role-mediahub .mediafaq,
.role-mediaredac .mediafaq,
.role-mediashop .mediafaq,
.role-administrator .mediafaq,
.role-editor .mediafaq {
  display: none;
}

.role-mediafaq .mediafaq,
.elementor-editor-active .mediafaq {
  display: block;
}

.role-mediait .mediafaq-flex,
.role-mediacom .mediafaq-flex,
.role-mediabuild .mediafaq-flex,
.role-mediahub .mediafaq-flex,
.role-mediaredac .mediafaq-flex,
.role-mediashop .mediafaq-flex,
.role-administrator .mediafaq-flex,
.role-editor .mediafaq-flex {
  display: none;
}

.role-mediafaq .mediafaq-flex,
.elementor-editor-active .mediafaq-flex {
  display: flex;
}

.admin-flex {
  display: none !important;
}

.role-editor .admin-flex,
.role-administrator .admin-flex {
  display: flex !important;
}

.user-flex {
  display: none !important;
}

.role-mediait .user-flex,
.role-mediacom .user-flex,
.role-mediabuild .user-flex,
.role-mediafaq .user-flex,
.role-mediahub .user-flex,
.role-mediaredac .user-flex,
.role-mediashop .user-flex,
.elementor-editor-active .user-flex {
  display: flex !important;
}

.disclaimer {
  background: #ffe2be;
  display: flex;
  padding: 8px;
  justify-content: center;
  align-items: center;
  color: #644c2e;
  flex-direction: column;
}

.disclaimer .more {
  display: none;
  padding: 15px;
  max-width: 1160px;
  line-height: 1.65em;
  font-size: 15px;
  font-style: italic;
}

.disclaimer p {
  margin-bottom: 0;
}

.-fixed.frontend-admin-message {
  position: fixed;
  top: 112px !important;
  right: 0;
  width: 83.5%;
  z-index: 100;
}
.e-loop-nothing-found-message {
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-weight: 600;
}

html {
  box-sizing: border-box !important;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wrapper {
  display: flex;
  flex-direction: row;
  height: 100vh;
  position: relative;
}

.role-administrator .wrapper {
  height: calc(100vh - 32px);
}

.elementor-editor-active .wrapper {
  height: 100vh !important;
}

.aside {
  width: 350px;
  height: 100vh; /* Assure que la sidebar prend toute la hauteur */
  position: sticky; /* Sticky position */
  top: 0; /* Colle à 0px du top de la viewport */
  overflow-y: auto; /* Permet le défilement interne si nécessaire */
  background: #011c31; /* Couleur de fond */
  display: flex;
  flex-direction: column;
}

.role-administrator .aside {
  height: calc(100vh - 32px);
}

.elementor-editor-active .aside {
  height: 100vh !important;
}

.aside-top {
  height: 82px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #042a48;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.aside-top .logo img {
  height: 52px;
}
.aside-bottom {
  display: flex;
  flex-direction: row;
  height: calc(100vh - 80px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.aside-bottom-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 75px;
  border-right: 1px solid #042a48;
  padding: 30px 0 30px;
}

.aside-bottom-left-top {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.aside-bottom-left-bottom {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.aside-bottom-right-bottom p {
  color: #9f9f9f;
  font-size: 12px;
}

.aside-bottom-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 20px 20px;
  width: 100%;
}

.aside-bottom-right-top .aside-nav {
  padding: 0;
  list-style: none;
}

.aside-bottom-right-top .aside-nav .aside-nav-li {
  padding: 10px 0;
}

.aside-bottom-right-top .aside-nav .aside-nav-li .aside-nav-icon svg {
  width: 20px;
  height: 20px;
  fill: transparent;
  transition: all 0.3s;
}

.aside-bottom-right-top .aside-nav .aside-nav-li .aside-nav-text {
  color: white;
  transition: all 0.3s;
}

.aside-bottom-right-top
  .aside-nav
  .aside-nav-li:hover
  .aside-nav-icon
  svg
  path {
  stroke: var(--e-global-color-accent) !important;
}

.aside-bottom-right-top .aside-nav .aside-nav-li:hover .aside-nav-text {
  color: var(--e-global-color-accent);
}

.aside-bottom-right-top .aside-nav .aside-nav-li:hover .aside-nav-sub-icon svg {
  stroke: var(--e-global-color-accent) !important;
}

.aside-bottom-right-top .aside-nav .aside-nav-li .aside-nav-sub-icon svg {
  width: 14px;
  height: 14px;
  fill: white;
  stroke: white;
  transition: all 0.3s;
}

.aside-bottom-right-top .aside-nav .aside-nav-li .aside-nav-sub-text {
  color: white;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s;
}

.aside-bottom-right-top
  .aside-nav
  .aside-nav-li
  li:hover
  .aside-nav-sub-icon
  svg,
.aside-bottom-right-top
  .aside-nav
  .aside-nav-li
  li.site-actif
  .aside-nav-sub-icon
  svg {
  fill: var(--e-global-color-accent);
}

.aside-bottom-right-top .aside-nav .aside-nav-li li:hover .aside-nav-sub-text,
.aside-bottom-right-top
  .aside-nav
  .aside-nav-li
  li.site-actif
  .aside-nav-sub-text {
  color: var(--e-global-color-accent);
}

.aside-bottom-right-top .aside-nav .aside-nav-li .aside-nav-sub {
  padding: 12px 15px 12px 20px;
  background-color: #002643;
  margin-top: 10px;
  border-radius: 15px;
  list-style: none;
}

.aside-bottom-right-top .aside-nav .aside-nav-li li {
  padding: 5px 0;
}

.aside-bottom-right-top .aside-nav .aside-nav-li a {
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
}

.main {
  width: calc(100% - 350px);

  overflow-y: auto;
  background: #f7f7f7;
  flex-grow: 1;
}
.no-sticky {
  background-color: white;
}

.header {
  border-bottom: 1px solid #dddddd;
  height: 80px;
  width: 100%;
  padding: 0 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s linear;
  position: relative;
  transition: border 0;
}

.header::before,
.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.1s linear;
  z-index: -1; /* Behind the header content */
}

.header::before {
  background-color: white;
  opacity: 1;
}

.header::after {
  background: linear-gradient(to right, #011c31ff, #011c31d0);
  opacity: 0;
  left: -1500px;
}

.sticky {
  visibility: visible;
  position: sticky;
  opacity: 1;
  border-bottom: 1px solid #011c31;
  height: 79px;
  top: 0;
  left: 0;
  color: #fff;
  box-shadow: 0 0px 20px 0px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: white !important;
}

.sticky::before {
  opacity: 0;
  left: 0px;
}

.sticky::after {
  opacity: 1;
  left: 0px;
}
.sticky .header-right p {
  color: white;
}

.sticky #menu-navigation_top > li a {
  color: white;
}

.sticky #menu-navigation_top > li li a {
  color: var(--e-global-color-text);
}

#menu-navigation_top {
  display: flex;
  column-gap: 25px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

#menu-navigation_top .menu-item a {
  font-weight: 400;
  color: #011c31;
  line-height: 30px;
  font-size: 14px;
}

#menu-navigation_top .current-menu-item.menu-item a {
  font-weight: 600;
  color: var(--e-global-color-accent);
}

#menu-navigation_top .current-menu-item.menu-item a:hover {
  font-weight: 600;
  color: var(--e-global-color-accent);
}

#menu-navigation_top .menu-item a:hover {
  font-weight: 400;
  color: var(--e-global-color-accent);
}

#menu-navigation_top .menu-item {
  position: relative;
}

#menu-navigation_top .sub-menu {
  position: absolute;
  top: 30px;
  padding: 15px 20px;
  background: white;
  list-style: none;
  border-radius: 5px;
  box-shadow: 0 0 20px #00000010;
  display: none;
  width: auto;
  white-space: nowrap;
}

#menu-navigation_top .menu-item:hover .sub-menu {
  display: block;
}

.content {
  max-width: var(--content-width);
  height: 100vh;
  margin: 0 auto;
  padding: 0;
  flex-grow: 1;
  transition: opacity 0.3s ease-in-out;
}

.inner-content {
  padding: 50px 30px 50px 30px;
}

.content {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}

.content::-webkit-scrollbar {
  display: none; /* Webkit */
}

.header-right {
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  align-items: center;
  justify-content: center;
}

.header-right p {
  margin-bottom: 0;
  font-size: 14px;
}

a.icon-top {
  width: 46px;
  border-radius: 10px;
  display: flex;
  height: 46px;
  background: var(--e-global-color-accent);
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}

a.icon-top:hover {
  background: var(--e-global-color-primary);
}

a#logout-button {
  width: 46px;
  border-radius: 10px;
  display: flex;
  height: 46px;
  background: #de3535;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}

a#logout-button:hover {
  background: #be2c2c;
}

a.icon-profil {
  width: 32px;
  border-radius: 50px;
  display: flex;
  height: 32px;
  background: var(--e-global-color-accent);
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  padding: 5px;
}

a.icon-top:hover {
  background: var(--e-global-color-primary);
}

.hamburger-icon {
  display: none; /* Cache l'icône hamburger par défaut */
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 24px;
  background: var(--e-global-color-secondary);
  color: var(--e-global-color-text);
}

.hamburger-icon:hover {
  background: var(--e-global-color-accent);
  color: white;
}

.ms_page_main_wrapper_top p {
  color: #959595;
  font-weight: normal;
  font-size: 14px;
  font-family: inherit;
}

.ms_page_main_wrapper_top h2 {
  font-size: 28px;
}

input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
.acf-field select,
textarea {
  border: 1px solid #ddd;
  background: #f7f7f7;
  padding: 12px !important;
  transition: all 0.3s;
  width: 100%;
  border-radius: 3px;
  font-family: "Inter", sans-serif !important;
  color: var(--e-global-color-text) !important;
}

input[type="date"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="text"]:hover,
input[type="url"]:hover,
select:hover,
.acf-field select:hover,
textarea:hover {
  border: 1px solid var(--e-global-color-text);
}

input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="url"]:focus,
select:focus,
.acf-field select:focus,
textarea:focus,
textarea:focus-visible {
  border: 1px solid var(--e-global-color-accent);
  outline: none;
}

button,
input[type="submit"],
button[type="submit"],
a.button.yith-wcfm-add-new-product {
  background: var(--e-global-color-accent);
  border: none;
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 10px 15px 10px;
  line-height: 14px;
  cursor: pointer;
  border-radius: 3px;
  font-family: "Inter", sans-serif !important;
}

input[type="reset"],
button[type="reset"] {
  background: #de3535;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 10px 15px 10px;
  line-height: 14px;
  cursor: pointer;
  border-radius: 3px;
}

button:hover,
input[type="submit"],
input[type="reset"],
button[type="submit"]:hover,
button[type="reset"]:hover,
a.button.yith-wcfm-add-new-product:hover {
  background: var(--e-global-color-text);
  color: white;
}
.acf-field select,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Some browsers will not display the caret when using calc, so we put the fallback first */
  background: url("https://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png")
    no-repeat calc(100% - 15px) #f9f9f9 !important; /* Better placement regardless of input width */
  background-size: 12px !important;
}
/*For IE*/
select::-ms-expand {
  display: none;
}

.select2-container--default .select2-selection--single {
  background-color: #f7f7f7 !important;
  border: 1px solid #ddd !important;
  border-radius: 3px !important;
  height: 40px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #011c31 !important;
  line-height: 40px !important;
  font-family: "Inter" !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 40px !important;
  position: absolute !important;
  top: 0px !important;
  right: 6px !important;
  width: 25px !important;
}

.btn-filtrage {
  color: var(--e-global-color-accent);
  font-weight: 600;
  margin-bottom: 15px;
  display: none;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
}

.acf-fields > .acf-field {
  padding: 0px 0px 0px !important;
  margin-bottom: 15px !important;
  border: none !important;
}

.acf-editor-wrap .wp-editor-container {
  border: 1px solid #dddddd !important;
  border-radius: 5px;
  overflow: hidden;
}

.acf-editor-wrap .wp-editor-container:focus {
  border: 1px solid var(--e-global-color-accent) !important;
}

.wp-media-buttons .insert-media {
  background: var(--e-global-color-accent) !important;
  color: white !important;
  font-weight: bold !important;
  padding: 0px 10px 0px 5px !important;
  border: none !important;
}

.wp-media-buttons .insert-media:hover {
  background: var(--e-global-color-text) !important;
}

a.acf-icon {
  color: white !important;
  border: none;
  background-color: var(--e-global-color-accent) !important;
  position: relative;
  transition: none;
  cursor: pointer;
  transition: all 0.2s !important;
}

.page-header,
.site-header,
.site-footer {
  display: none;
}

.page-id-79 .aside-nav-platform {
  display: none;
}
.elementor-editor-active #wpadminbar {
  display: none !important;
}

a {
  color: var(--e-global-color-accent);
}

.admin {
  display: none;
}

.role-editor .admin,
.role-administrator .admin {
  display: block;
}

.user {
  display: none !important;
}

.role-mediait .user,
.role-mediacom .user,
.role-mediabuild .user,
.role-mediafaq .user,
.role-mediahub .user,
.role-mediaredac .user,
.role-mediashop .user,
.elementor-editor-active .user {
  display: block !important;
}

.-fixed.frontend-admin-message {
  position: fixed;
  top: 112px !important;
  width: calc(100% - 350px) !important;
  z-index: 100 !important;
  left: 350px !important;
}

.role-pharmacien .-fixed.frontend-admin-message {
  position: fixed;
  top: 78px !important;
  width: calc(100% - 350px) !important;
  z-index: 100 !important;
  left: 350px !important;
}

.mediacom-message {
  position: relative;
  margin-top: 0px;
  padding: 15px;
  border-radius: 0px;
  font-size: 14px !important;
}

.mediacom-message p {
  font-size: 14px;
}

.mediacom-message.success {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.mediacom-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

.mediacom-message p {
  margin: 0;
}

.mediacom-message .mediacom-button {
  position: absolute;
  top: 7px;
  right: 7px;
  cursor: pointer;
  border: none;
  background-color: #de3535;
  border-radius: 2px;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.mediacom-redirection {
  padding: 5px 0;
  font-style: italic;
  margin-top: 10px;
}

/* Style du bouton de suppression */
.my-custom-delete-button {
  background-color: #e03e3e; /* Rouge */
  color: #ffffff; /* Blanc */
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  border-radius: 3px; /* Bord arrondi */
  /* Autres styles selon votre besoin */
  height: 32px;
  width: 32px;
  display: flex;
  padding: 0;
  justify-content: center;
  align-items: center;
}

.my-custom-delete-button img {
  width: 16px !important;
  height: 16px !important;
}

.my-custom-delete-button:hover {
  background-color: var(--e-global-color-text); /* Vert */
}

/* Style du tooltip de confirmation */
.my-confirm-tooltip {
  position: absolute;
  background-color: #ffffff; /* Blanc */
  border-radius: 5px; /* Bord arrondi */
  padding: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); /* Ombre portée */
  z-index: 100; /* S'assure que le tooltip se trouve au-dessus des autres éléments */
  width: 300px; /* ou la largeur désirée */
  top: 50%; /* Ajustez la position selon vos besoins */
  left: 50%; /* Ajustez la position selon vos besoins */
  font-weight: bold;
  transform: translate(-50%, -50%);
}

/* Style des boutons à l'intérieur du tooltip */
.my-confirm-tooltip button {
  background-color: #4caf50; /* Vert */
  color: #ffffff; /* Blanc */
  border: none;
  padding: 5px 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  margin: 5px;
  border-radius: 3px; /* Bord arrondi */
  /* Ajoutez d'autres styles si nécessaire */
}

.my-confirm-tooltip button:hover {
  background-color: var(--e-global-color-text); /* Vert */
}

/* Bouton "Non" avec une couleur différente pour annuler */
.my-confirm-tooltip .cancel-delete {
  background-color: #f44336; /* Rouge */
}

.cart-img img {
  width: 60px;
  height: 60px;
}

.cart-qty {
  font-size: 12px;
  color: #999999;
}

.cart-total {
  border-top: 1px solid #ddd;
  margin-bottom: 10px;
}

.cart-total p {
  color: var(--e-global-color-text);
  font-weight: normal;
  line-height: 32px;
}

.acfe-flexible-layout-thumbnail {
  height: 115px !important;
  background-color: #fff !important;
  background-size: contain !important;
  margin-bottom: 15px;
}

.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a {
  border: 0px solid #ddd !important;
  background: #ffffff !important;
  padding: 15px !important;
  color: #011c31 !important;
  display: inline-block !important;
  width: 100% !important;
  border-radius: 5px !important;
}

.acfe-modal.-open
  .acfe-modal-content
  .acfe-flex-container.acfe-flex-thumbnails
  ul
  li
  a {
  text-align: center;
  display: inline-block !important;
  width: 100% !important;
  border-radius: 5px !important;
}

.acfe-modal.-open .acfe-modal-content {
  height: 100%;
  background: #e9e9e9 !important;
  display: block;
  position: relative;
  pointer-events: auto;
  overflow: auto;
  padding: 20px 0 !important;
}

.acfe-modal.-open.-large > .acfe-modal-wrapper {
  max-width: 1040px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

li {
  list-style-type: none !important;
}

@media screen and (max-width: 1023px) {
  .-fixed.frontend-admin-message {
    position: fixed;
    top: 100px !important;
    width: calc(100% - 280px) !important;
    z-index: 100 !important;
    left: 280px !important;
  }

  .role-pharmacien .-fixed.frontend-admin-message {
    position: fixed;
    top: 100px !important;
    width: calc(100% - 280px) !important;
    z-index: 100 !important;
    left: 280px !important;
  }
}

@media screen and (max-width: 767px) {
  .-fixed.frontend-admin-message {
    position: fixed;
    top: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    left: 0 !important;
  }

  .role-pharmacien .-fixed.frontend-admin-message {
    position: fixed;
    top: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    left: 0 !important;
  }
}

@media (min-width: 1381px) {
  .menu-container {
    display: block !important; /* Assure que le menu est toujours visible et en display block au-dessus de 1101px */
  }

  .hamburger-icon {
    display: none; /* Cache l'icône hamburger car le menu est toujours visible */
  }
}
@media (max-width: 1380px) {
  .aside {
    width: 280px;
  }
  .main {
    width: calc(100% - 280px);
  }
  .sub-menu {
    display: none !important;
  }
  .content {
    padding: 0;
  }

  .ms_page_main_wrapper_top h2 {
    font-size: 24px;
  }

  .header {
    padding: 0 15px;
  }

  .inner-content {
    padding: 30px 15px 30px 15px;
  }
  .hamburger-icon {
    display: block; /* Affiche l'icône hamburger sur les petits écrans */
  }
  .menu-container {
    display: none; /* Cache le menu par défaut */
  }
  .menu-container {
    width: 100%; /* Largeur complète */
    background: #f0f0f0; /* Fond du menu */
    width: 100%;
    background: #ffffff;
    position: absolute;
    top: 79px;
    padding: 20px;
    left: 0px;
    box-shadow: 0 0 20px #00000010;
  }

  #menu-navigation_top {
    display: flex;
    flex-direction: column;
    column-gap: 30px;
    list-style: none;
    padding: 0;
  }
}

@media (max-width: 850px) {
  .ms_page_main_wrapper_top h2 {
    font-size: 18px;
  }

  #wpadminbar {
    display: none !important;
  }
  html {
    height: 100%;
    margin-top: 0px !important;
  }
  body {
    overflow: hidden;
  }
  .header {
    transition: top 0.3s;
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 0 10px;
  }

  .wrapper {
    flex-direction: column;
  }
  .aside {
    display: none;
  }
  .main {
    width: 100%;
  }

  .content {
    margin-top: 0px;
    overflow: inherit;
    height: calc(100% - 81px) !important;
  }
  .inner-content {
    padding: 20px 10px 81px 10px;
  }

  .main:has(.mediacom-notification) .content {
    margin-top: 0;
  }

  .mediacom-notification {
    margin-top: 78px;
  }

  #user-filter-form {
    display: none;
  }

  .btn-filtrage {
    display: block;
  }
}

@media print {
  .inner-content,
  .main,
  .content {
    padding: 0 0 0 0 !important;
  }
}
@media screen and (max-width: 782px) {
  html {
    margin-top: 0px !important;
  }
}
