@charset "UTF-8";
* {
  --headerMobileHeight: 50px;
  --headerDesktopHeight: 64px;
  --menuWebsiteHeight: 50px;
  --footerMobileHeight: 50px;
  --footerDesktopHeight: 50px;
  --sideBarWidth: 350px;
  --grey:#F3F5FA;
  --grey2:rgba(0, 0, 0, 0.09);
  --grey3:#C4CFDD;
  --white:#FFFFFF;
  --black:#15191E;
  --black2:#22262C;
  --fullblack:#000000;
  --dark:#1C1C1C;
  --rouge:#F54D45;
  --jaune:#F5B63B;
  --vert:#5cb85c;
  --bg-box:#FFFFFF;
  --bg-input:#f3f4f8;
  --icon-color:#22262C;
  --separator:#C4CFDD;
  --background:#fff;
  --main:#F2F2F2;
  --main:hsl(0, 0%, 95%);
  --main-color:hsl(0, 0%, 27%);
  --main-color-light:hsl(0, 0%, 50%);
  --main-color-light:hsl(0, 0%, 82%);
  --main-color-lighter:hsl(0, 0%, 94%);
  --secondary-color:#868686;
  --secondary-color:hsl(0, 0%, 53%);
  --secondary-color-light:#BCBCBC;
  --secondary-color-light:hsl(0, 0%, 74%);
  --secondary-color-lighter:hsl(0, 0%, 84%);
  --danger-color:hsl(3, 90%, 62%);
  --danger-color-light:hsla(3, 90%, 62%, 0.3);
  --select-color: hsla(210, 77%, 51%, 0.28);
  --color-button-primary: #0081f2;
  --color-button-primary-hover: hsl(213, 96%, 39%);
  --color-button-primary-active: hsl(213, 96%, 39%);
  --color-button-secondary-hover: hsl(217, 100%, 96%);
  /* ---- Spacing scale (aligned with Tailwind rem scale) ---- */
  --spacing-xs: 4px; /* 0.25rem */
  --spacing-sm: 8px; /* 0.5rem  */
  --spacing-md: 14px; /* ~0.9rem */
  --spacing-lg: 24px; /* 1.5rem  */
  --spacing-xl: 32px; /* 2rem    */
  --spacing-2xl: 48px; /* 3rem    */
  /* ---- Shadow scale ---- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.10), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.08);
  --background-color:hsl(0, 0%, 100%);
  --background-color-shadow:hsla(0, 0%, 100%,0.91);
  --background-color-secondary:hsl(60, 11%, 96%);
  --background-color-third:hsla(0, 0%, 0%, 0.055);
}

*.darkmode {
  --background:#191919;
  --main-color: rgba(255, 255, 255, 0.81);
  --bg-box:#252a31;
  --bg-input:#242424;
  --icon-color:#C4CFDD;
  --separator:#C4CFDD;
  --background-color:hsl(0, 0%, 10%);
  --background-color-shadow:hsla(0, 0%, 10%,0.91);
  --background-color-secondary:hsl(0, 0%, 13%);
  --background-color-third:hsla(0, 0%, 100%, 0.055);
}

body,
body.viewSize_1 {
  --sizeGridView: 100px;
}

body.viewSize_2 {
  --sizeGridView: 140px;
}

body.viewSize_3 {
  --sizeGridView: 200px;
}

body.viewSize_4 {
  --sizeGridView: 300px;
}

.fs-xs {
  font-size: 0.6rem;
}

.fs-s {
  font-size: 0.8rem;
}

.fs-m {
  font-size: 1rem;
}

.fs-l {
  font-size: 1.5rem;
}

.fs-xl {
  font-size: 2rem;
}

.fs-xxl {
  font-size: 2.5rem;
}

/* ---- Spacing utilities — generated scale (0 → 7) ----
   Scale aligned with existing .my-1..7 and .gap-1..7 (step 0.25rem from 0.5rem):
   0 = 0 | 1 = 0.5rem | 2 = 0.75rem | 3 = 1rem | 4 = 1.25rem
   5 = 1.5rem | 6 = 1.75rem | 7 = 2rem
*/
.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.ml-0 {
  margin-left: 0;
}

.mr-0 {
  margin-right: 0;
}

.mx-0 {
  margin-left: 0;
  margin-right: 0;
}

.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.p-0 {
  padding: 0;
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.pl-0 {
  padding-left: 0;
}

.pr-0 {
  padding-right: 0;
}

.px-0 {
  padding-left: 0;
  padding-right: 0;
}

.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}

.gap-0 {
  gap: 0;
}

.m-1 {
  margin: 0.5rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.ml-1 {
  margin-left: 0.5rem;
}

.mr-1 {
  margin-right: 0.5rem;
}

.mx-1 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.my-1 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.p-1 {
  padding: 0.5rem;
}

.pt-1 {
  padding-top: 0.5rem;
}

.pb-1 {
  padding-bottom: 0.5rem;
}

.pl-1 {
  padding-left: 0.5rem;
}

.pr-1 {
  padding-right: 0.5rem;
}

.px-1 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.gap-1 {
  gap: 0.5rem;
}

.m-2 {
  margin: 0.75rem;
}

.mt-2 {
  margin-top: 0.75rem;
}

.mb-2 {
  margin-bottom: 0.75rem;
}

.ml-2 {
  margin-left: 0.75rem;
}

.mr-2 {
  margin-right: 0.75rem;
}

.mx-2 {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}

.my-2 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.p-2 {
  padding: 0.75rem;
}

.pt-2 {
  padding-top: 0.75rem;
}

.pb-2 {
  padding-bottom: 0.75rem;
}

.pl-2 {
  padding-left: 0.75rem;
}

.pr-2 {
  padding-right: 0.75rem;
}

.px-2 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.py-2 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.gap-2 {
  gap: 0.75rem;
}

.m-3 {
  margin: 1rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.ml-3 {
  margin-left: 1rem;
}

.mr-3 {
  margin-right: 1rem;
}

.mx-3 {
  margin-left: 1rem;
  margin-right: 1rem;
}

.my-3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.p-3 {
  padding: 1rem;
}

.pt-3 {
  padding-top: 1rem;
}

.pb-3 {
  padding-bottom: 1rem;
}

.pl-3 {
  padding-left: 1rem;
}

.pr-3 {
  padding-right: 1rem;
}

.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.gap-3 {
  gap: 1rem;
}

.m-4 {
  margin: 1.25rem;
}

.mt-4 {
  margin-top: 1.25rem;
}

.mb-4 {
  margin-bottom: 1.25rem;
}

.ml-4 {
  margin-left: 1.25rem;
}

.mr-4 {
  margin-right: 1.25rem;
}

.mx-4 {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.my-4 {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.p-4 {
  padding: 1.25rem;
}

.pt-4 {
  padding-top: 1.25rem;
}

.pb-4 {
  padding-bottom: 1.25rem;
}

.pl-4 {
  padding-left: 1.25rem;
}

.pr-4 {
  padding-right: 1.25rem;
}

.px-4 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.py-4 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.gap-4 {
  gap: 1.25rem;
}

.m-5 {
  margin: 1.5rem;
}

.mt-5 {
  margin-top: 1.5rem;
}

.mb-5 {
  margin-bottom: 1.5rem;
}

.ml-5 {
  margin-left: 1.5rem;
}

.mr-5 {
  margin-right: 1.5rem;
}

.mx-5 {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.my-5 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.p-5 {
  padding: 1.5rem;
}

.pt-5 {
  padding-top: 1.5rem;
}

.pb-5 {
  padding-bottom: 1.5rem;
}

.pl-5 {
  padding-left: 1.5rem;
}

.pr-5 {
  padding-right: 1.5rem;
}

.px-5 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-5 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.gap-5 {
  gap: 1.5rem;
}

.m-6 {
  margin: 1.75rem;
}

.mt-6 {
  margin-top: 1.75rem;
}

.mb-6 {
  margin-bottom: 1.75rem;
}

.ml-6 {
  margin-left: 1.75rem;
}

.mr-6 {
  margin-right: 1.75rem;
}

.mx-6 {
  margin-left: 1.75rem;
  margin-right: 1.75rem;
}

.my-6 {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

.p-6 {
  padding: 1.75rem;
}

.pt-6 {
  padding-top: 1.75rem;
}

.pb-6 {
  padding-bottom: 1.75rem;
}

.pl-6 {
  padding-left: 1.75rem;
}

.pr-6 {
  padding-right: 1.75rem;
}

.px-6 {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.py-6 {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.gap-6 {
  gap: 1.75rem;
}

.m-7 {
  margin: 2rem;
}

.mt-7 {
  margin-top: 2rem;
}

.mb-7 {
  margin-bottom: 2rem;
}

.ml-7 {
  margin-left: 2rem;
}

.mr-7 {
  margin-right: 2rem;
}

.mx-7 {
  margin-left: 2rem;
  margin-right: 2rem;
}

.my-7 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.p-7 {
  padding: 2rem;
}

.pt-7 {
  padding-top: 2rem;
}

.pb-7 {
  padding-bottom: 2rem;
}

.pl-7 {
  padding-left: 2rem;
}

.pr-7 {
  padding-right: 2rem;
}

.px-7 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-7 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.gap-7 {
  gap: 2rem;
}

/**********************************************************\
        - RESET DEFAULT
\**********************************************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, textarea, select, button, dialog {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

p, ul, blockquote {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

b, strong {
  font-weight: bold;
}

u {
  text-decoration: underline;
}

em {
  font-style: italic;
}

td {
  margin: 0px;
  padding-right: 5px;
}

* {
  margin: 0;
  text-decoration: none;
}


.gallery_prestataires {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-width: 350px;
  border-bottom: solid 1px var(--main-color-lighter);
  padding: 0.6rem 0;
}

.gallery_prestataires:last-child {
  border-bottom: none;
}

/**********************************************************\
		- inputs
\**********************************************************/
select, textarea, input {
  font-style: normal;
  font-weight: 400;
  height: 40px;
  width: 100%;
  box-sizing: border-box;
  letter-spacing: 0.2px;
  font-size: 13px;
  color: #444444;
  padding-left: 13px;
  border: 1px solid #E0E0E0;
  margin-bottom: 1rem;
}

textarea {
  min-height: 40px;
  height: inherit;
}

label {
  vertical-align: top;
  line-height: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: var(--secondary-color-light);
  font-size: 0.68rem;
}

.input_inline {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.selectCountry {
  display: block;
  min-width: 90px;
}

*:focus {
  outline: none;
}

.search {
  position: relative;
  margin: 2rem auto;
}
.search span {
  position: absolute;
  right: 8px;
  top: 8px;
  opacity: 0.7;
}

.search:hover .material-symbols-outlined {
  font-variation-settings: "wght" 400;
  font-variation-settings: "OPSZ" 48;
}

.searchInput {
  border: none;
  padding-right: 40px;
}

::placeholder {
  color: var(--main-color-light);
  opacity: 1;
}

:-ms-input-placeholder {
  color: var(--main-color-light);
}

::-ms-input-placeholder {
  color: var(--main-color-light);
}

.center_button {
  margin-right: auto;
  margin-left: auto;
}

.button,
.uploadFileInput,
button {
  background-color: var(--secondary-color-lighter);
  color: var(--main-color);
  border: none;
  padding: 1rem;
  cursor: pointer;
  transition: all ease-in 0.2s;
  display: flex;
  max-width: 384px;
  justify-content: center;
  align-items: center;
}
.button .material-symbols-outlined,
.uploadFileInput .material-symbols-outlined,
button .material-symbols-outlined {
  margin-right: 1rem;
  transition: all ease-in 0.2s;
}

.button:hover,
.uploadFileInput:hover,
button:hover {
  background-color: var(--secondary-color-light);
  color: var(--white);
}
.button:hover .material-symbols-outlined,
.uploadFileInput:hover .material-symbols-outlined,
button:hover .material-symbols-outlined {
  color: var(--white);
}

input[type=file] {
  display: none;
}

.swal2-cancel,
.swal2-deny,
.swal2-confirm {
  margin: 0.5rem 1rem !important;
  padding: 0.5rem 1rem !important;
  color: var(--main) !important;
}

.swal2-cancel,
.swal2-deny {
  background-color: var(--rouge);
}

.swal2-confirm {
  background-color: var(--vert);
}

.formDisplay {
  display: flex;
  flex-direction: column;
}

/**********************************************************\
		- datepicker
\**********************************************************/
#ui-datepicker-div {
  z-index: 9999 !important;
  position: absolute;
  top: 0 !important;
  left: 0 !important;
}

.datepicker {
  position: relative;
  margin-top: 1rem;
  cursor: pointer !important;
}
.datepicker .icon {
  position: absolute;
  top: 8px;
  right: 16px;
}
.datepicker .material-symbols-outlined {
  color: var(--main-color-light);
}
.datepicker input {
  cursor: pointer !important;
}

.ui-widget.ui-widget-content {
  border: 1px solid var(--main-color-light);
  border-top: none;
  border-radius: 0;
  width: 100%;
  max-width: 316px;
}

.ui-widget.ui-widget-content {
  padding: 0;
}

.ui-state-hover,
.ui-datepicker-prev ui-corner-all {
  border: none !important;
  cursor: pointer;
}

.ui-widget-header {
  background-color: var(--main-color-light);
  border-radius: 0;
  color: var(--main-color);
}

.ui-datepicker td span, .ui-datepicker td a {
  border: none;
  height: 38px;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
  background: transparent;
  border: solid 1px transparent;
}

.ui-state-default:hover {
  background-color: var(--main-color-lighter) !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
  background-color: var(--main-color);
  border: solid 1px transparent;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
  background-color: var(--main-color-light);
  color: var(--main-color);
  border: solid 1px transparent;
}

/**********************************************************\
		- select2
\**********************************************************/
.select2-container--default .select2-selection--single {
  height: auto;
  background-color: var(--main-color-lighter);
  color: var(--main-color);
  border: none;
  border-radius: 0;
  padding: 4px 1rem;
}

.selection {
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all ease-in 0.2s;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 5px;
}

.select2-container--open .select2-dropdown {
  border: var(--main-color-lighter) 1px solid;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--main-color-light);
}

/**********************************************************\
		- OUI & NON
\**********************************************************/
input[type=checkbox] {
  display: none;
}

.checkboxInline {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
}

.onoff {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  position: relative;
  cursor: pointer;
  width: 80px;
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  font-size: 1rem;
  margin: 5px 10px;
}

.yesBox label {
  padding-top: 10px;
}

.onoff label {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 80px;
  min-width: 80px;
  height: 30px;
  cursor: pointer;
  background: #cc324b;
  /*padding-top: 20px;*/
  border-radius: 3px;
  font-weight: bold;
  color: var(--white);
  transition: background 0.3s, text-indent 0.3s;
  text-align: center;
}

.onoff label:after {
  content: "NON";
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 80px;
  color: var(--white);
  z-index: 0;
  line-height: 30px;
}

.onoff label:before {
  content: "";
  width: 15px;
  height: 24px;
  border-radius: 3px;
  background: #e64c65;
  position: absolute;
  z-index: 0;
  top: 3px;
  left: 3px;
  display: block;
  transition: left 0.3s;
}

.onoff input:checked + label {
  background: #009699;
}

.onoff input:checked + label:before {
  background: #11a8ab;
}

.onoff input:checked + label:after {
  content: "OUI";
}

.onoff input:checked + label:before {
  left: 62px;
}

.oui, .non {
  display: block;
  width: 80px;
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  font-size: 1rem;
  margin: 20px;
  background: #cc324b;
  text-align: center;
  border-radius: 3px;
  font-weight: bold;
}

.oui {
  background: #11a8ab;
}

:root {
  --menuHeight: 56px;
  --photoBord: 3vw;
}

@media only screen and (min-width: 840px) {
  :root {
    --photoBord: 4vw;
  }
}
/**********************************************************\
    - Scrollbar
\**********************************************************/
/* Firefox - scrollbar-color sans transition pour éviter les layout shifts */
html {
  scrollbar-width: thin;
  scrollbar-color: #D0D0D0 transparent;
}

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
  width: 4px;
  height: 2px;
}

*::-webkit-scrollbar-track {
  background-color: transparent;
}

*::-webkit-scrollbar-track:hover {
  background-color: transparent;
  cursor: pointer;
}

*::-webkit-scrollbar-track:active {
  background-color: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: #D0D0D0;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #868686;
  cursor: pointer;
}

*::-webkit-scrollbar-thumb:active {
  background-color: #868686;
}

/**********************************************************\
    - base
\**********************************************************/
body, html {
  min-height: 100%;
  background-color: var(--background);
  color: var(--main-color);
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 20px;
}

a {
  color: var(--main-color);
  transition: all ease-in 0.2s;
}

a:hover {
  color: var(--black);
}

.material-symbols-outlined {
  font-variation-settings: "wght" 200;
  transition: all ease-in 0.2s;
}

a:hover .material-symbols-outlined {
  font-variation-settings: "wght" 400;
}

h3, h2,
h1 {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.25rem;
  line-height: 1.35;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}
h3 span, h2 span,
h1 span {
  margin-right: 1rem;
}

h2 {
  font-size: 1.1rem;
  line-height: 1.4;
}

h3 {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0;
}

p {
  margin: 1rem 0;
}

li p {
  margin: 0;
}

/**********************************************************\
    - overlay loading
\**********************************************************/
.has_overlay {
  overflow: hidden;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 2500;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.overlay .progress {
  position: absolute;
}

.has_overlay .overlay {
  display: flex;
}

.lds-dual-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 0px;
  border-radius: 50%;
  border: 6px solid var(--secondary-color);
  border-color: var(--secondary-color) transparent var(--secondary-color) transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/**********************************************************\
    - modals
\**********************************************************/
::backdrop {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background-color: transparent;
  cursor: pointer;
  pointer-events: all;
}

dialog {
  margin: auto;
  background-color: var(--white);
  border: solid 1px var(--main);
  padding: 2rem;
  position: fixed;
  -webkit-box-shadow: 0px 0px 23px 9px rgba(0, 0, 0, 0.22);
  box-shadow: 0px 0px 23px 9px rgba(0, 0, 0, 0.22);
  width: 80vw;
  max-height: 70vh;
  max-width: 500px;
}
dialog .close {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}

.fullScreenModal {
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  width: 100%;
  height: 100%;
}

/**********************************************************\
    - position
\**********************************************************/
.center {
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

.flex-right {
  justify-content: flex-end;
}

.flex-left {
  justify-content: flex-start;
}

.align-content-center {
  align-content: center;
}

/**********************************************************\
    - couleurs
\**********************************************************/
.bold {
  font-weight: 500;
}

.color-main {
  color: var(--main-color);
}

.color-main-light {
  color: var(--main-color-light);
}

.color-main-lighter {
  color: var(--main-color-lighter);
}

/**********************************************************\
    - texte
\**********************************************************/
.uppercase {
  text-transform: uppercase;
}

/**********************************************************\
        - ALERT
\**********************************************************/
.alert {
  font-family: "Lucia Grande", Verdana, Arial, sans-serif;
  display: inline-block;
  position: fixed;
  z-index: 2500;
  left: 50%;
  transform: translateX(-50%);
  padding: 1.25rem;
  margin: 1.25rem auto;
  color: #00ACEE;
  background-color: rgba(0, 172, 238, 0.1);
  border: solid 1px #00ACEE;
  font-size: 14px;
  line-height: 20px;
  cursor: default;
  pointer-events: none;
  max-width: var(--max-content-width);
  box-sizing: border-box;
  border-radius: 7px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  animation: fadeout 6s normal forwards ease-in-out;
  -o-animation: fadeout 6s normal forwards ease-in-out;
  -moz-animation: fadeout 6s normal forwards ease-in-out;
  -webkit-animation: fadeout 6s normal forwards ease-in-out;
}

.alert .d-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.alert h4 {
  font-size: 16px;
}

.alert-success {
  opacity: 1;
  color: rgb(80, 205, 137);
  background-color: rgba(80, 205, 137, 0.1);
  border: solid 1px rgb(80, 205, 137);
}

.danger-box,
.alert-danger,
.alert-error {
  color: rgb(241, 65, 108);
  background-color: rgba(241, 65, 108, 0.1);
  border: solid 1px rgb(241, 65, 108);
}

.alert-info {
  color: rgb(114, 57, 234);
  background-color: rgba(114, 57, 234, 0.1);
  border: solid 1px rgb(114, 57, 234);
}

.alert-warning {
  color: rgb(255, 199, 0);
  background-color: rgba(255, 199, 0, 0.1);
  border: solid 1px rgb(255, 199, 0);
}

.danger-box {
  padding: 1rem;
}

@-webkit-keyframes fadeout {
  0% {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  }
  75% {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  }
  100% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  }
  /*99% { visibility: hidden; }*/
}
@keyframes fadeout {
  0% {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  }
  75% {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  }
  100% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  }
  /*99% { visibility: hidden; }*/
}
.passWordProgressBar {
  display: block;
  width: 100%;
  height: 8px;
  background: var(--bg-input);
  content: "";
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
  transition: all ease-in 0.2s;
}
.passWordProgressBar .progress {
  content: "";
  width: 0%;
  height: 8px;
  background: #F54D45;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all ease-in 0.2s;
}

.password-no-match:focus,
.password-no-match {
  -webkit-box-shadow: 0px 0px 10px 1px #F54D45;
  box-shadow: 0px 0px 10px 1px #F54D45;
}

/**********************************************************\
    - Margin et padding
\**********************************************************/
.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.my-1 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.my-3 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

/**********************************************************\
    - Download Bouton
\**********************************************************/
* {
  --downloadIconSize:24px;
}

.downloadZipList,
.downloadZip {
  position: relative;
  display: flex;
}
.downloadZipList .downloadIcon,
.downloadZip .downloadIcon {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
}
.downloadZipList .downloadIconProgress,
.downloadZip .downloadIconProgress {
  opacity: 0;
}

.downloadIconProgress {
  position: relative;
  width: var(--downloadIconSize);
  height: var(--downloadIconSize);
}
.downloadIconProgress .radialProgressVal {
  position: absolute;
  top: 10%;
  left: 0;
  width: var(--downloadIconSize);
  text-align: center;
  font-size: 12px;
}
.downloadIconProgress .radialProgressIcon {
  position: absolute;
  top: 0;
  left: 0;
  max-width: var(--downloadIconSize);
}
.downloadIconProgress .radialProgressIcon path {
  stroke: black;
  stroke-width: 5;
  stroke-dasharray: 288.5;
  stroke-linecap: round;
  fill: none;
  transform-origin: 50px 50px;
  transform: rotate(-540deg);
}

@keyframes pathStroke {
  0% {
    stroke-dashoffset: 288.5;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
/**********************************************************\
    - confirmAnimation
\**********************************************************/
.confirmAnimation {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.confirmAnimation .particles {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  z-index: 1500;
}
.confirmAnimation .particles span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0;
  background-color: var(--rouge);
}
.confirmAnimation .particles span::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 75px;
  background-color: inherit;
  border-radius: 50%;
  background-color: var(--rouge);
}
.confirmAnimation .particles span:nth-child(1) {
  --item:1;
}
.confirmAnimation .particles span:nth-child(2) {
  --item:2;
}
.confirmAnimation .particles span:nth-child(3) {
  --item:3;
}
.confirmAnimation .particles span:nth-child(4) {
  --item:4;
}
.confirmAnimation .particles span:nth-child(5) {
  --item:5;
}
.confirmAnimation .particles span:nth-child(6) {
  --item:6;
}
.confirmAnimation .particles::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 20px var(--rouge);
  transform: scale(0.05);
  transition: box-shadow 0.3s 0.2s, opacity 0.3s, transform 0.3s;
  opacity: 0;
}

.confirmAnimation.animated .particles {
  width: 60px;
  height: 60px;
}
.confirmAnimation.animated .particles::before {
  box-shadow: inset 0 0 0 0 var(--blanc);
  opacity: 1;
  transform: scale(1);
}
.confirmAnimation.animated .particles span {
  animation: particle 1s 0.1s forwards;
}
.confirmAnimation.animated .particles span::before {
  animation: subParticle 0.6s 0.1s forwards;
}

@keyframes particle {
  0% {
    opacity: 0;
    transform: rotate(calc(60deg * var(--item))) translateY(0%) scale(0.3);
  }
  50% {
    opacity: 1;
    transform: rotate(calc(60deg * var(--item))) translateY(80%) scale(0.1);
  }
  70% {
    opacity: 0;
  }
  90% {
    transform: scale(0.05);
  }
  100% {
    opacity: 0;
    transform: rotate(calc(60deg * var(--item))) translateY(85%) scale(0);
  }
}
@keyframes subParticle {
  0% {
    opacity: 0;
    transform: translate3d(0%, 0%, 0);
  }
  30% {
    opacity: 0;
    transform: translate3d(80%, 0%, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(80%, 0%, 0);
  }
  80% {
    opacity: 0.2;
    transform: translate3d(80%, 280%, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(80%, 380%, 0);
  }
}
/**********************************************************\
    - Widths
\**********************************************************/
.width-100 {
  width: 100%;
}

.width-75 {
  width: 75%;
}

.width-50 {
  width: 50%;
}

.width-25 {
  width: 25%;
}

/**********************************************************\
    - Margin
\**********************************************************/
.m-1 {
  margin: 1rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mt-1 {
  margin-top: 1rem;
}

.p-1 {
  padding: 1rem;
}

.pb-1 {
  padding-bottom: 1rem;
}

.pt-1 {
  padding-top: 1rem;
}

.m-2 {
  margin: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

.p-2 {
  padding: 2rem;
}

.pb-2 {
  padding-bottom: 2rem;
}

.pt-2 {
  padding-top: 2rem;
}

.m-3 {
  margin: 3rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-3 {
  margin-top: 3rem;
}

.p-3 {
  padding: 3rem;
}

.pb-3 {
  padding-bottom: 3rem;
}

.pt-3 {
  padding-top: 3rem;
}

.m-4 {
  margin: 4rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mt-4 {
  margin-top: 4rem;
}

.p-4 {
  padding: 4rem;
}

.pb-4 {
  padding-bottom: 4rem;
}

.pt-4 {
  padding-top: 4rem;
}

.m-5 {
  margin: 5rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.mt-5 {
  margin-top: 5rem;
}

.p-5 {
  padding: 5rem;
}

.pb-5 {
  padding-bottom: 5rem;
}

.pt-5 {
  padding-top: 5rem;
}

#myshareWebsite {
  margin-top: var(--header-height);
}

#mainContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  grid-gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

/**********************************************************\
    - Alert Banner
\**********************************************************/
.alertBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ca2f2e;
  z-index: 1000;
  padding: 24px;
}
.alertBanner .alertBannerContent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 16px;
}
.alertBanner .alertBannerContent .alertIcon, .alertBanner .alertBannerContent .alertBannerClose {
  font-size: 34px;
  padding: 1rem;
  font-variation-settings: "wght" 600;
}
.alertBanner .alertBannerContent .alertBannerClose {
  cursor: pointer;
  transition: all ease-in 0.2s;
}
.alertBanner .alertBannerContent .alertBannerClose:hover {
  color: #fff;
  opacity: 0.8;
}
.alertBanner .alertBannerContent .alertBanneMessage h2 {
  margin-bottom: 0.5rem;
  font-weight: bold;
  text-transform: initial;
}
.alertBanner .alertBannerContent .alertBanneMessage p {
  margin-top: 0.5rem;
}

.s-hide {
  display: none !important;
}

.d-hide {
  display: inherit !important;
}

@media only screen and (min-width: 1120px) {
  .s-hide {
    display: inherit !important;
  }
  .d-hide {
    display: none !important;
  }
}
/*
@import '../../front/sass/_myshare_mobile.scss';
@import '../../front/sass/_myshare_desktop.scss';
@import '../../front/sass/_myshare_account.scss';
@import '../../front/sass/_myshare_hover.scss';
@import '../../front/sass/_myshare_website.scss';
*/
header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: transparent;
}
header .middle {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  width: 100%;
  box-sizing: border-box;
  padding-inline: 1rem;
  gap: 1rem;
}
header .middle .ai_icon {
  display: flex;
  opacity: 0.7;
  width: 20px;
  height: 20px;
}
header .middle .ai_icon svg {
  width: 100%;
  height: 100%;
}
header nav {
  display: none;
}
header .nav_container {
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 var(--photoBord);
  width: 100%;
  height: var(--headerMobileHeight);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  transition: all ease-in var(--transitionSpeed);
  gap: 8px;
}
header .nav_container .favoris {
  position: relative;
}
header .nav_container .favoris .favCount {
  position: absolute;
  top: -70%;
  right: -13px;
  font-size: 0.5rem;
  background: #e3e3e3;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-content: center;
  justify-content: center;
  color: #525252;
}

header:after {
  content: "";
  transition: box-shadow 0.3s ease-in-out;
  position: absolute;
  top: 0;
  bottom: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: -1;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0);
}

.headerShadow {
  transition: box-shadow 0.3s ease-in-out;
}

header.fixed:after {
  bottom: 0;
}

header.fixed {
  width: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  height: var(--headerMobileHeight);
  transition: height ease-in var(--transitionSpeed);
}

header .backToEditor {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  background: hsl(210, 80%, 55%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 4px;
  transition: background 0.2s;
}
header .backToEditor:hover {
  background: hsl(210, 80%, 45%);
}
header .backToEditor .ai_icon {
  width: 14px;
  height: 14px;
  display: flex;
}
header .backToEditor .ai_icon svg {
  width: 100%;
  height: 100%;
}

/**********************************************************\
    - main_logo
\**********************************************************/
.main_logo {
  display: flex;
  align-items: center;
  flex-direction: row;
  grid-gap: 10px;
}
.main_logo img {
  width: 24px;
  height: 24px;
}
.main_logo span {
  font-weight: 700;
  text-wrap: nowrap;
  min-width: 125px;
  text-transform: uppercase;
}

header .nav_container .webTitle {
  font-weight: 500;
  color: var(--main-color);
  letter-spacing: -0.42px;
  line-height: 24px;
  background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  background-image: linear-gradient(to bottom right, var(--main-color-light) 0%, var(--main-color) 80%);
  display: none;
}

.main_logo span {
  font-weight: 700;
  text-wrap: nowrap;
  min-width: 125px;
  text-transform: uppercase;
}

header .nav_container .webTitle sub {
  font-size: 0.5rem;
  color: var(--main-color);
}

/**********************************************************\
		- SideBar
\**********************************************************/
.sidebar {
  position: fixed;
  background: #fff;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1500;
  transform: translateX(100%);
  transition: transform, opacity ease-in var(--transitionSpeed);
  opacity: 0;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: nowrap;
  display: flex;
  gap: 0;
  font-size: 1rem;
  line-height: 1;
  text-align: right;
  height: 100vh;
  overflow-y: auto;
  padding: 0 1rem;
}
.sidebar nav .material-symbols-outlined {
  font-size: 1.6rem;
}
.sidebar nav a {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: flex-end;
  margin: 0.5rem 0;
}
.sidebar nav .logoPhotographe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar nav .logoPhotographe a {
  justify-content: center;
}
.sidebar nav .logoPhotographe a img {
  max-width: 200px;
  max-height: 50px;
  height: 100%;
  width: auto;
}
.sidebar nav .website_pro_navbar {
  padding: 0.25rem 0.5rem;
  position: absolute;
  bottom: 60px;
  right: 0;
  left: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.show--sidebar.sidebar {
  transform: translateX(0%);
  opacity: 1;
}

.closeSidebarBtn {
  width: 32px !important;
  height: 32px !important;
}
.closeSidebarBtn .ai_icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.menuBtn a {
  height: var(--headerMobileHeight);
  display: flex;
  justify-content: center;
  align-items: center;
}

/**********************************************************\
        - Author
\**********************************************************/
.navAuthor {
  text-transform: uppercase;
}

.brandLogo {
  height: 50px;
  max-width: 200px;
  box-sizing: border-box;
}
.brandLogo img {
  height: 100%;
  max-height: 50px;
  width: auto;
}

#myshareWebsite {
  padding-top: var(--headerMobileHeight);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--headerMobileHeight) - var(--footerMobileHeight));
  box-sizing: border-box;
}

/*


header 
.nav_container{
	box-sizing: border-box;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin : 0 var(--photoBord);
	width: 100%;
	height: var(--headerMobileHeight);
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	transition: all ease-in var(--transitionSpeed);

	.favoris{
		position: relative;
		.favCount{
			position: absolute;
			top: -59%;
			right: -13px;
			font-size: 0.5rem;
			background: #e3e3e3;
			width: 20px;
			height: 20px;
			border-radius: 50%;
			display: flex;
			align-content: center;
			justify-content: center;
			color: #525252;
		}
	}

}

*/
.donwloadBtns .button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  grid-gap: 1rem;
}
.donwloadBtns .button div {
  text-align: center;
}
.donwloadBtns .button.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.disclamerVisitor {
  position: fixed;
  z-index: 9999;
  background-color: var(--danger-color-light);
  border: solid 1px var(--danger-color);
  color: var(--danger-color);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  padding: 0.5rem 1rem;
  top: var(--headerMobileHeight);
  border-radius: 3px;
}

.flexModal {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: nowrap;
}

/* ------------------------------------------------------------------ */
/*  Modal de partage de galerie                                        */
/* ------------------------------------------------------------------ */
dialog#shareGalleryModal {
  width: min(92vw, 520px);
  max-width: 520px;
  padding: 1.5rem;
}
dialog#shareGalleryModal .inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
dialog#shareGalleryModal .share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
dialog#shareGalleryModal .share-modal-header h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
dialog#shareGalleryModal .share-modal-header .close {
  position: static;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background-color 0.15s ease;
}
dialog#shareGalleryModal .share-modal-header .close:hover {
  background-color: hsla(0, 0%, 0%, 0.06);
}
dialog#shareGalleryModal .share-modal-section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
dialog#shareGalleryModal .share-section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(0, 0%, 45%);
  font-weight: 600;
}
dialog#shareGalleryModal .share-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 0.6rem;
}
dialog#shareGalleryModal .share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.5rem;
  border-radius: 10px;
  text-decoration: none;
  color: hsl(0, 0%, 25%);
  border: 1px solid hsla(0, 0%, 0%, 0.08);
  background: hsla(0, 0%, 0%, 0.02);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
dialog#shareGalleryModal .share-option:hover {
  transform: translateY(-2px);
  background: hsla(0, 0%, 0%, 0.04);
  border-color: hsla(0, 0%, 0%, 0.14);
}
dialog#shareGalleryModal .share-option .share-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
dialog#shareGalleryModal .share-option .share-option-icon svg {
  width: 28px;
  height: 28px;
}
dialog#shareGalleryModal .share-option .share-option-icon--facebook {
  color: #1877F2;
}
dialog#shareGalleryModal .share-option .share-option-icon--twitter {
  color: #1DA1F2;
}
dialog#shareGalleryModal .share-option .share-option-icon--linkedin {
  color: #0A66C2;
}
dialog#shareGalleryModal .share-option .share-option-icon--whatsapp {
  color: #25D366;
}
dialog#shareGalleryModal .share-option .share-option-icon--email {
  color: #546e7a;
}
dialog#shareGalleryModal .share-option .share-option-label {
  font-size: 0.75rem;
  font-weight: 500;
}
dialog#shareGalleryModal .share-modal-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.25rem 0;
}
dialog#shareGalleryModal .share-modal-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: hsla(0, 0%, 0%, 0.12);
}
dialog#shareGalleryModal .share-modal-divider .share-modal-divider-label {
  position: relative;
  background: #fff;
  padding: 0 0.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(0, 0%, 50%);
  font-weight: 600;
}
dialog#shareGalleryModal .share-url-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
dialog#shareGalleryModal .share-url-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid hsla(0, 0%, 0%, 0.14);
  border-radius: 6px;
  font-size: 0.88rem;
  background: hsla(0, 0%, 0%, 0.02);
  color: hsl(0, 0%, 25%);
}
dialog#shareGalleryModal .copy-url-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0.5rem 0.9rem;
}
dialog#shareGalleryModal .copy-url-btn.is-copied {
  background-color: hsl(130, 60%, 45%);
  color: #fff;
  border-color: hsl(130, 60%, 45%);
}

/**********************************************************\
		- Footer
\**********************************************************/
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--footerMobileHeight);
  margin-bottom: 2rem;
}
footer ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

#chooseSource {
  position: fixed;
  bottom: -8px;
  text-align: center;
  width: 100%;
  display: block;
  box-sizing: border-box;
}
#chooseSource a {
  display: block;
  box-sizing: border-box;
  padding: 1rem;
  padding-bottom: 1.1rem;
  transition: all ease-in 0.2s;
  opacity: 0.8;
}
#chooseSource a span {
  background-color: var(--main-color);
  color: var(--white);
  padding: 1rem;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
#chooseSource a:hover {
  opacity: 1;
}

#chooseSource.visitor a span {
  background-color: var(--secondary-color);
}

.toggleSource {
  transform: translateY(50px);
}

#home_cover {
  width: calc(100% - 2vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: calc(100vh - var(--headerMobileHeight) - var(--headerMobileHeight));
  margin-bottom: var(--headerMobileHeight);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
#home_cover .main_title {
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: clamp(2rem, 4vw, 4rem);
  text-align: center;
  font-weight: lighter;
  color: var(--white);
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1);
}
#home_cover .gallery_author {
  text-transform: uppercase;
  font-size: clamp(1rem, 1.6vw, 1.6rem);
  line-height: clamp(1rem, 1.6vw, 1.6rem);
  padding-top: 1.6rem;
  text-align: center;
  font-weight: lighter;
  color: var(--white);
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
}
#home_cover .scrool_for_more {
  position: relative;
  text-align: center;
  width: 200px;
  text-transform: uppercase;
  font-size: 0.6rem;
  color: #fff;
  line-height: 1;
  padding-bottom: calc(var(--headerMobileHeight) / 1.5);
}
#home_cover .scrool_for_more .scrool_for_more-line:before {
  content: "";
  position: absolute;
  display: inline-block;
  margin-top: 20px;
  height: var(--headerMobileHeight);
  width: 1px;
  background-color: #fff;
  -webkit-transition: all 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  -webkit-transition-delay: 0;
}
#home_cover .scrool_for_more .scrool_for_more-line:after {
  content: "";
  position: absolute;
  display: inline-block;
  margin-top: calc(var(--headerMobileHeight) / 1.5);
  height: calc(var(--headerMobileHeight) / 1.5);
  width: 1px;
  background-color: #000;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 130px 0;
}
section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
section .container h1 {
  font-size: clamp(1.4rem, 4vw, 4rem);
  line-height: clamp(2rem, 4.2vw, 4.5rem);
  font-weight: 300;
  color: var(--main-color);
}
section .container p {
  line-height: 2.5rem;
  font-size: 1.125rem;
  font-weight: 300;
}
section .container {
  text-align: center;
  max-width: 600px;
  padding: 0 2rem;
}

#highlighted .list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 2rem;
}
#highlighted .list .galerie {
  width: 100%;
  max-width: 360px;
  margin-top: 5rem;
  z-index: 1;
}
#highlighted .list .galerie img {
  aspect-ratio: 72/128;
  width: 100%;
  object-fit: cover; /* Pour remplir complètement l'espace sans déformer l'image */
}
#highlighted .list .galerie:first-child {
  margin-top: -5rem;
}

#highlighted:before {
  content: "Favoris";
  font-size: 10vh;
  z-index: 1;
  color: #000;
  filter: invert(0.975);
  transform: rotate(-90deg);
  position: absolute;
  left: 0;
}

#highlighted:after {
  content: "";
  background-color: var(--main-color-lighter);
  width: 100%;
  height: 50%;
  min-height: 30vh;
  display: block;
  position: absolute;
  z-index: 0;
}

#warningbox {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#warningbox p {
  width: 100%;
}
#warningbox ul {
  list-style-type: circle;
  padding: 0;
  margin: 0;
  padding: 0 1rem;
}
#warningbox ul li {
  text-align: left;
  padding: 0.5rem;
  color: var(--main-color);
  opacity: 0.8;
  border-radius: 0.5rem;
  margin: 0.5rem;
}

.flex-centered {
  min-height: calc(100vh - var(--headerMobileHeight) - var(--footerMobileHeight));
  display: flex;
  justify-content: center;
  align-items: center;
}

.offline_message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.btn {
  background-color: var(--secondary-color-lighter);
  color: var(--main-color);
  border: none;
  padding: 1rem;
  cursor: pointer;
  transition: all ease-in 0.2s;
  display: flex;
  max-width: 384px;
  justify-content: center;
  align-items: center;
}
.btn span {
  margin-right: 1rem;
}

dialog#addToCart {
  width: min(92vw, 560px);
  max-width: 92vw;
  max-height: 90vh;
  padding: 1.5rem 1.25rem;
  overflow: hidden;
}
dialog#addToCart[open] {
  display: flex;
  flex-direction: column;
}
dialog#addToCart h2 {
  margin: 0 0 0.75rem 0;
  padding-right: 2rem;
}
dialog#addToCart .addToCartBody {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.25rem;
}

#addToCart .addToCartIntro {
  margin: 0 -1.25rem 1.5rem -1.25rem;
  padding: 0 1.25rem 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.4;
}
#addToCart .addToCartGrid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
#addToCart .paperSupport,
#addToCart .paperChoice {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
#addToCart .paperCard {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: background 0.2s ease;
}
#addToCart .paperCard[hidden] {
  display: none;
}
#addToCart .paperCard .paperImage {
  flex-shrink: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.04);
}
#addToCart .paperCard .paperImage[hidden] {
  display: none;
}
#addToCart .paperCard .paperImage img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 180px;
  object-fit: cover;
}
#addToCart .paperCard .paperDescriptionWrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  min-width: 0;
}
#addToCart .paperCard .paperDescriptionWrap[hidden] {
  display: none;
}
#addToCart .paperCard .paperDescription {
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-line;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.8);
}
#addToCart .paperCard .paperDescription[data-clamped=true] {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
#addToCart .paperCard .paperDescToggle {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0.25rem 0;
  color: var(--main-color);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}
#addToCart .paperCard .paperDescToggle[hidden] {
  display: none;
}
#addToCart .paperCard .paperDescToggle:hover {
  opacity: 0.75;
}
#addToCart .previewAddToCart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}
#addToCart .previewAddToCart .previewLabel {
  font-size: 0.7rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
}
#addToCart .previewAddToCart img {
  max-width: 100%;
  max-height: 140px;
  border-radius: 4px;
  object-fit: contain;
}
#addToCart #addToCartBtn {
  margin-top: 0.5rem;
  width: 100%;
}

#calendar_display {
  min-height: calc(100vh - var(--headerMobileHeight) - var(--footerMobileHeight));
}
#calendar_display h1 {
  font-size: clamp(1.2rem, 6vw, 2rem);
  padding: 4vh 1rem;
  text-align: center;
  margin-bottom: 0;
  color: var(--main-color-light);
  line-height: 1;
  display: block;
}
#calendar_display .calendar_display {
  padding: 1rem;
  min-height: calc(100vh - var(--headerMobileHeight) - var(--footerMobileHeight) - 140px);
  max-width: 550px;
  margin: 0 auto;
}
#calendar_display .footer_calendar {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}
#calendar_display .footer_calendar a {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: var(--main-color-light);
  padding: 0.5rem 1rem;
  color: var(--main-color);
}
#calendar_display .fc-toolbar-title {
  font-size: 1rem;
  color: var(--main-color);
}
#calendar_display th .fc-scrollgrid-sync-inner {
  display: none;
}
#calendar_display .fc-event-time {
  display: none;
}
#calendar_display .fc-icon {
  font-size: 1rem;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}
#calendar_display .fc-button {
  padding: 5px;
  background-color: var(--main-color-lighter);
  border-color: transparent;
  color: var(--main-color);
}
#calendar_display .fc-daygrid-event-harness {
  margin-bottom: 0.5rem;
}
#calendar_display .fc-v-event,
#calendar_display .fc-h-event {
  background-color: var(--secondary-color-light) !important;
  border: none !important;
  padding: 0.4rem 1rem !important;
  cursor: pointer;
}
#calendar_display .fc-event-main {
  color: var(--main-color);
}
#calendar_display .fc .fc-daygrid-day.fc-day-today {
  background-color: var(--main-color-lighter);
}
#calendar_display table thead {
  display: none;
}

.inputAndIcon {
  display: flex;
  align-content: center;
  align-items: center;
  gap: 1rem;
  flex-direction: row;
  justify-content: flex-start;
}

/*===========================================================================
  VISIONNEUSE STYLES
============================================================================*/
.visionneuse-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  border: none;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 100vw;
  max-height: 100vh;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.visionneuse-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}

.visionneuse-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.visionneuse-image {
  max-width: 80vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: grab;
  display: block;
  margin: 0 auto;
  user-select: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
  border: solid 10px white;
}
.visionneuse-image:active {
  cursor: grabbing;
}
.visionneuse-image.small {
  transform: scale(0.8);
  opacity: 0;
}

.visionneuse-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  /* Loader anneau simple */
}
.visionneuse-loading .simple-loader {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.visionneuse-prev,
.visionneuse-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.visionneuse-prev:hover,
.visionneuse-next:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.1);
}
.visionneuse-prev:active,
.visionneuse-next:active {
  transform: translateY(-50%) scale(0.95);
}

.visionneuse-prev {
  left: 20px;
}

.visionneuse-next {
  right: 20px;
}

.visionneuse-chapter-title {
  position: fixed;
  top: 20px;
  left: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  z-index: 10001;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  transition: opacity 0.3s ease;
  max-width: calc(100% - 3rem - 40px);
}

.visionneuse-close-top {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.visionneuse-close-top:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}
.visionneuse-close-top:active {
  transform: scale(0.95);
}

.visionneuse-toolbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 11;
}

.visionneuse-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.visionneuse-action.active .ai_icon {
  background-color: var(--rouge);
  display: flex;
  justify-content: center;
  border-radius: 50%;
  padding: 4px;
}
.visionneuse-action .ai_icon {
  width: 28px !important;
  height: 28px !important;
}

.visionneuse-counters {
  display: flex;
  align-items: center;
  gap: 15px;
}
.visionneuse-counters .counter-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 12px;
}
.visionneuse-counters .counter-item .material-symbols-outlined {
  font-size: 16px;
}
.visionneuse-counters .counter-item .counter-value {
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

.visionneuse-action,
.visionneuse-visibility,
.visionneuse-trash,
.visionneuse-delete,
.visionneuse-rotate,
.visionneuse-close {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 80px;
  height: auto;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  color: white;
}
.visionneuse-action .ai_icon,
.visionneuse-visibility .ai_icon,
.visionneuse-trash .ai_icon,
.visionneuse-delete .ai_icon,
.visionneuse-rotate .ai_icon,
.visionneuse-close .ai_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}
.visionneuse-action .ai_icon svg,
.visionneuse-visibility .ai_icon svg,
.visionneuse-trash .ai_icon svg,
.visionneuse-delete .ai_icon svg,
.visionneuse-rotate .ai_icon svg,
.visionneuse-close .ai_icon svg {
  width: 24px;
  height: 24px;
}
.visionneuse-action .material-symbols-outlined,
.visionneuse-visibility .material-symbols-outlined,
.visionneuse-trash .material-symbols-outlined,
.visionneuse-delete .material-symbols-outlined,
.visionneuse-rotate .material-symbols-outlined,
.visionneuse-close .material-symbols-outlined {
  font-size: 24px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visionneuse-action .toolDesc,
.visionneuse-visibility .toolDesc,
.visionneuse-trash .toolDesc,
.visionneuse-delete .toolDesc,
.visionneuse-rotate .toolDesc,
.visionneuse-close .toolDesc {
  font-size: 10px;
  text-align: center;
  line-height: 1.2;
  opacity: 0.8;
  padding: 4px 6px;
  border-radius: 4px;
  display: none;
}
.visionneuse-action:hover,
.visionneuse-visibility:hover,
.visionneuse-trash:hover,
.visionneuse-delete:hover,
.visionneuse-rotate:hover,
.visionneuse-close:hover {
  transform: translateY(-2px);
}
.visionneuse-action:hover .toolDesc,
.visionneuse-visibility:hover .toolDesc,
.visionneuse-trash:hover .toolDesc,
.visionneuse-delete:hover .toolDesc,
.visionneuse-rotate:hover .toolDesc,
.visionneuse-close:hover .toolDesc {
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
  transition: background-color 0.2s ease;
}
.visionneuse-action:active,
.visionneuse-visibility:active,
.visionneuse-trash:active,
.visionneuse-delete:active,
.visionneuse-rotate:active,
.visionneuse-close:active {
  transform: translateY(0);
}
.visionneuse-action .material-symbols-outlined,
.visionneuse-visibility .material-symbols-outlined,
.visionneuse-trash .material-symbols-outlined,
.visionneuse-delete .material-symbols-outlined,
.visionneuse-rotate .material-symbols-outlined,
.visionneuse-close .material-symbols-outlined {
  background-color: transparent;
  color: white;
  border-radius: 50%;
  padding: 4px;
  margin-bottom: 4px;
}
.visionneuse-action.active .material-symbols-outlined,
.visionneuse-visibility.active .material-symbols-outlined,
.visionneuse-trash.active .material-symbols-outlined,
.visionneuse-delete.active .material-symbols-outlined,
.visionneuse-rotate.active .material-symbols-outlined,
.visionneuse-close.active .material-symbols-outlined {
  background-color: var(--rouge);
}
.visionneuse-action.active .toolDesc,
.visionneuse-visibility.active .toolDesc,
.visionneuse-trash.active .toolDesc,
.visionneuse-delete.active .toolDesc,
.visionneuse-rotate.active .toolDesc,
.visionneuse-close.active .toolDesc {
  font-weight: 600;
}

.visionneuse-delete {
  background-color: rgba(220, 53, 69, 0.8);
}
.visionneuse-delete:hover {
  background-color: rgb(220, 53, 69);
}

.visionneuse-visibility {
  min-width: 70px;
}
.visionneuse-visibility .ai_icon {
  position: relative;
}
.visionneuse-visibility .vse-private-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 10px;
  height: 10px;
  background-color: #e53935;
  border-radius: 50%;
  pointer-events: auto;
  cursor: help;
}

@media (max-width: 768px) {
  .visionneuse-image {
    max-width: 95vw;
    max-height: 85vh;
  }
  .visionneuse-prev,
  .visionneuse-next {
    display: none;
  }
  .visionneuse-close-top {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .visionneuse-close-top {
    top: 10px;
    right: 10px;
  }
  .visionneuse-toolbar {
    gap: 10px;
    padding: 0 10px;
  }
  .visionneuse-toolbar .visionneuse-actions {
    gap: 10px;
  }
  .visionneuse-toolbar .visionneuse-action,
  .visionneuse-toolbar .visionneuse-visibility,
  .visionneuse-toolbar .visionneuse-trash,
  .visionneuse-toolbar .visionneuse-delete,
  .visionneuse-toolbar .visionneuse-rotate {
    min-width: 45px;
    padding: 6px;
  }
  .visionneuse-toolbar .visionneuse-action .material-symbols-outlined,
  .visionneuse-toolbar .visionneuse-visibility .material-symbols-outlined,
  .visionneuse-toolbar .visionneuse-trash .material-symbols-outlined,
  .visionneuse-toolbar .visionneuse-delete .material-symbols-outlined,
  .visionneuse-toolbar .visionneuse-rotate .material-symbols-outlined {
    font-size: 18px;
  }
  .visionneuse-toolbar .visionneuse-action .toolDesc,
  .visionneuse-toolbar .visionneuse-visibility .toolDesc,
  .visionneuse-toolbar .visionneuse-trash .toolDesc,
  .visionneuse-toolbar .visionneuse-delete .toolDesc,
  .visionneuse-toolbar .visionneuse-rotate .toolDesc {
    font-size: 9px;
  }
  .visionneuse-toolbar .visionneuse-counters {
    gap: 8px;
  }
  .visionneuse-toolbar .visionneuse-counters .counter-item {
    padding: 3px 6px;
    font-size: 10px;
  }
  .visionneuse-toolbar .visionneuse-counters .counter-item .material-symbols-outlined {
    font-size: 14px;
  }
}
.visionneuse-error,
.visionneuse-error-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 40px;
}
.visionneuse-error .material-symbols-outlined,
.visionneuse-error-slide .material-symbols-outlined {
  font-size: 48px;
  color: #ff6b6b;
  margin-bottom: 16px;
}
.visionneuse-error p,
.visionneuse-error-slide p {
  font-size: 18px;
  margin: 0 0 20px 0;
  opacity: 0.9;
}
.visionneuse-error button,
.visionneuse-error-slide button {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}
.visionneuse-error button:hover,
.visionneuse-error-slide button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.visionneuse-error-slide .error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.no-scroll {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

.swal-above-visionneuse {
  z-index: 10002 !important;
}

.swal-above-visionneuse .swal2-container {
  z-index: 10002 !important;
}

.swal2-container {
  z-index: 10002 !important;
}

object {
  overflow: hidden;
  position: relative;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 10000;
}
.particles span {
  position: absolute;
  width: 12px;
  height: 12px;
  opacity: 1;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  animation: heart-love-animation 2s ease-out forwards;
}
.particles span::before {
  content: "♥";
  position: absolute;
  top: 0;
  left: 0;
  color: inherit;
  text-shadow: 0 0 8px currentColor;
}

@keyframes heart-love-animation {
  0% {
    opacity: 1;
    transform: scale(0.5) translateY(0px) translateX(0px) rotate(0deg);
  }
  5% {
    opacity: 1;
    transform: scale(1.3) translateY(-10px) translateX(calc(var(--random-x, 0px) * 0.2)) rotate(5deg);
  }
  35% {
    opacity: 0.9;
    transform: scale(1.1) translateY(-25px) translateX(calc(var(--random-x, 0px) * 0.5)) rotate(-3deg);
  }
  60% {
    opacity: 0.6;
    transform: scale(0.9) translateY(-50px) translateX(calc(var(--random-x, 0px) * 0.8)) rotate(2deg);
  }
  85% {
    opacity: 0.3;
    transform: scale(0.7) translateY(-75px) translateX(var(--random-x, 0px)) rotate(-1deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.4) translateY(-100px) translateX(calc(var(--random-x, 0px) * 1.2)) rotate(0deg);
  }
}
.action-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.2rem;
  height: 100%;
}
.action-content .ai_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}
.action-content .ai_icon svg {
  width: 24px;
  height: 24px;
}
.action-content .action-counter {
  position: absolute;
  width: 24px;
  height: 24px;
  bottom: -4px;
  right: -12px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*===========================================================================
  PANNEAU EXIF
============================================================================*/
.vse-exif-panel {
  position: absolute;
  bottom: 80px;
  right: 16px;
  width: 280px;
  max-height: 60vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  flex-direction: column;
  z-index: 10001;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.vse-exif-panel.open {
  opacity: 1;
  transform: translateY(0);
}

.vse-exif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.vse-exif-header .vse-exif-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.vse-exif-header .vse-exif-close {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s;
}
.vse-exif-header .vse-exif-close:hover {
  opacity: 1;
}
.vse-exif-header .vse-exif-close svg {
  width: 16px;
  height: 16px;
}

.vse-exif-body {
  padding: 8px 16px 16px;
  overflow-y: auto;
}

.vse-exif-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.vse-exif-row:last-child {
  border-bottom: none;
}

.vse-exif-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  margin-right: 12px;
}

.vse-exif-value {
  font-size: 13px;
  text-align: right;
  word-break: break-word;
}

.vse-exif-empty {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 16px 0;
}

@media (max-width: 768px) {
  .vse-exif-panel {
    right: 8px;
    left: 8px;
    bottom: 70px;
    width: auto;
    max-height: 50vh;
  }
}
/* ----------------------------------------------------------
   Page selfie (/{slug}/selfie)
   ---------------------------------------------------------- */
.selfie_page_wrapper {
  background: var(--background-color-secondary, #f6f5f2);
  min-height: 60vh;
  padding: 1rem 1rem 2rem 1rem;
}

.retourGallery--top {
  margin: 0 auto 1.25rem !important;
}

.selfie_page_header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
}
.selfie_page_header h1 {
  display: block;
  margin: 0 0 0.75rem;
  text-align: center;
}

.selfie_page_intro,
.selfie_page_hint {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--main-color);
}

.selfie_page_hint {
  font-size: 0.85rem;
  opacity: 0.75;
}

.lockdown-notice {
  width: 100%;
  height: auto;
  max-height: 400px;
  max-width: 600px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: solid 10px #fff;
  background-color: #fff;
  padding: 1rem;
}
.lockdown-notice h1 {
  text-transform: initial;
  margin-top: 2rem;
  text-align: center;
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 2.8rem;
}

/* Utilitaires */
.selfie_hidden {
  display: none;
}

/* Loading container */
.selfie_loading_container {
  display: none;
  text-align: center;
  margin: 30px 0;
}

.selfie_loading_content {
  padding: 20px;
}

.selfie_loading_message {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}

/* Preview container */
.selfie_preview_container {
  display: none;
  margin: 20px 0;
  text-align: center;
}

.selfie_image_container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 300px;
}

.selfie_image_preview {
  width: 100%;
  max-width: 300px;
  max-height: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.selfie_preview_caption {
  color: var(--main-color);
  transition: color 0.2s ease;
}
.selfie_preview_caption--error {
  color: #f44336;
}

/* Scanner */
.selfie_scanner_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  overflow: hidden;
  display: none;
  background: rgba(0, 0, 0, 0.4);
}

.selfie_scanner_line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, #ffffff, transparent);
  box-shadow: 0 0 8px #ffffff, 0 0 16px #ffffff;
  animation: none;
  top: -2px;
}

.selfie_scanner_grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
}

.selfie_scanner_text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  animation: pulse 1.5s infinite;
}

/* Main action */
.selfie_main_action {
  text-align: center;
  margin: 30px 0;
}

.selfie_main_button {
  background: var(--color-button-primary);
  color: white !important;
  padding: 15px 30px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  border-radius: 4px;
}

/* Status messages */
.selfie_status_messages {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 20px 0;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  text-align: center;
}
.selfie_status_messages.is-visible {
  display: flex;
}
.selfie_status_messages--success {
  background-color: rgba(80, 205, 137, 0.1);
  border-color: rgb(80, 205, 137);
  color: rgb(80, 205, 137);
}
.selfie_status_messages--error {
  background-color: rgba(241, 65, 108, 0.1);
  border-color: rgb(241, 65, 108);
  color: rgb(241, 65, 108);
}
.selfie_status_messages--info {
  background-color: rgba(114, 57, 234, 0.1);
  border-color: rgb(114, 57, 234);
  color: rgb(114, 57, 234);
}

/* Previous selfies */
.selfie_previous_selfies {
  margin-top: 30px;
  display: none;
}

.selfie_previous_title {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.selfie_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

/* Camera */
.selfie_camera_container {
  display: none;
  text-align: center;
  margin: 10px 0 20px;
}

/* Quand la caméra est active ou l'analyse du selfie en cours, on masque l'intro
   et on remonte le retour pour que l'utilisateur n'ait pas à scroller. */
body.selfie-camera-active .selfie_page_header,
body.selfie-preview-active .selfie_page_header {
  display: none;
}
body.selfie-camera-active .selfie_page_wrapper,
body.selfie-preview-active .selfie_page_wrapper {
  padding-top: 0.5rem;
}
body.selfie-camera-active .retourGallery--top,
body.selfie-preview-active .retourGallery--top {
  margin: 0 auto 0.75rem !important;
}

.selfie_video_wrapper {
  position: relative;
  display: inline-block;
}

.selfie_video_stream {
  border-radius: 10px;
  cursor: pointer;
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  object-fit: cover;
}

.selfie_face_guide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 130px;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.5);
  animation: pulse-guide 2s infinite;
}

.selfie_guide_text {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  pointer-events: none;
  white-space: nowrap;
}

.selfie_instruction_text {
  color: var(--main-color);
  opacity: 0.75;
  font-size: 14px;
  margin: 12px 0 0;
  text-align: center;
}

.selfie_instruction_text .ai_icon {
  vertical-align: middle;
  font-size: 16px;
}

.selfie_camera_buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

/* Processing actions */
.selfie_processing_actions {
  display: none;
  margin-top: 20px;
  text-align: center;
  justify-content: center;
}

/* Selfie items - reprendre les classes de la modal */
.selfie_item {
  position: relative;
  width: 80px;
  height: 80px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 50%;
  /* overflow: hidden; */
}

.selfie_item:hover {
  transform: scale(1.05);
}

.selfie_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.selfie_item:hover img {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.selfie_delete {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(244, 67, 54, 0.9);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 1;
}

.selfie_delete:hover {
  background: #d32f2f;
  transform: scale(1.1);
}

.selfie_delete::before {
  content: "×";
}

/* Animations */
@keyframes scannerPingPong {
  0% {
    top: -2px;
    animation-timing-function: ease-out;
  }
  48% {
    animation-timing-function: ease-out;
  }
  50% {
    top: calc(100% - 2px);
    animation-timing-function: ease-in;
  }
  98% {
    animation-timing-function: ease-in;
  }
  100% {
    top: -2px;
    animation-timing-function: ease-out;
  }
}
@keyframes pulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}
@keyframes pulse-guide {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
}
/* États */
.scanner-active .selfie_scanner_line {
  animation: scannerPingPong 3s ease-in-out infinite !important;
}

.processing-mode {
  pointer-events: none;
  opacity: 0.8;
}

.processing-mode .selfie_processing_actions {
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 600px) {
  .selfie_grid {
    gap: 10px !important;
  }
}
/* ----------------------------------------------------------
   Modales reconnaissance faciale
   (#facesRecognitionGallery + #faceDisclaimerModal)
   Mobile first
   ---------------------------------------------------------- */
.facesRecognitionGallery,
.faceDisclaimerModal {
  padding: 0;
  width: min(92vw, 460px);
  max-width: 460px;
}
.facesRecognitionGallery .face-modal-hero,
.faceDisclaimerModal .face-modal-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1.75rem 1.25rem 1rem;
}
.facesRecognitionGallery .face-modal-hero-icon,
.faceDisclaimerModal .face-modal-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--secondary-color-lighter);
  color: var(--main-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.facesRecognitionGallery .face-modal-hero-icon .ai_icon,
.faceDisclaimerModal .face-modal-hero-icon .ai_icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
}
.facesRecognitionGallery .face-modal-hero-icon .ai_icon svg,
.faceDisclaimerModal .face-modal-hero-icon .ai_icon svg {
  width: 100%;
  height: 100%;
}
.facesRecognitionGallery .face-modal-title,
.faceDisclaimerModal .face-modal-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}
.facesRecognitionGallery .face-modal-subtitle,
.faceDisclaimerModal .face-modal-subtitle {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.4;
  max-width: 32ch;
}
.facesRecognitionGallery .face-modal-body,
.faceDisclaimerModal .face-modal-body {
  padding: 0.5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.facesRecognitionGallery .face-modal-description,
.faceDisclaimerModal .face-modal-description {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}
.facesRecognitionGallery .face-modal-learnmore,
.faceDisclaimerModal .face-modal-learnmore {
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.25rem;
}
.facesRecognitionGallery .new-selfie-section,
.faceDisclaimerModal .new-selfie-section {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
.facesRecognitionGallery .face-modal-body--privacy,
.faceDisclaimerModal .face-modal-body--privacy {
  align-items: stretch;
  gap: 0.75rem;
  text-align: left;
}
.facesRecognitionGallery .face-modal-body--privacy p,
.faceDisclaimerModal .face-modal-body--privacy p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}
.facesRecognitionGallery .previous-selfies-section,
.faceDisclaimerModal .previous-selfies-section {
  padding: 0 1.25rem 1.5rem;
}
.facesRecognitionGallery .face-modal-divider,
.faceDisclaimerModal .face-modal-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.25rem 0 1rem;
}
.facesRecognitionGallery .face-modal-divider::before,
.faceDisclaimerModal .face-modal-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: hsla(0, 0%, 0%, 0.1);
}
.facesRecognitionGallery .face-modal-divider span,
.faceDisclaimerModal .face-modal-divider span {
  position: relative;
  background: #fff;
  padding: 0 0.75rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  font-weight: 600;
}
.facesRecognitionGallery .selfies-hint,
.faceDisclaimerModal .selfies-hint {
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.6;
  margin: 0.75rem 0 0;
  font-style: italic;
}

/* ----------------------------------------------------------
   MyAlert (modale de confirmation gallery)
   ---------------------------------------------------------- */
.myAlertDialog {
  padding: 0;
  border: none;
  border-radius: 16px;
  background-color: var(--background-color, #fff);
  color: var(--main-color);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.25), 0 8px 20px -4px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.myAlertDialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}
.myAlertDialog.is-open {
  opacity: 1;
  transform: translateY(0);
}
.myAlertDialog #myAlert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  min-width: 280px;
  max-width: 420px;
}
.myAlertDialog #myAlert .ai_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--secondary-color-lighter);
  color: var(--main-color);
}
.myAlertDialog #myAlert .ai_icon svg {
  width: 32px;
  height: 32px;
  display: block;
}
.myAlertDialog #myAlert .ai_icon.error {
  color: rgb(241, 65, 108);
  background-color: rgba(241, 65, 108, 0.12);
}
.myAlertDialog #myAlert .ai_icon.warning {
  color: #e6a100;
  background-color: rgba(230, 161, 0, 0.12);
}
.myAlertDialog #myAlert .ai_icon.info {
  color: rgb(114, 57, 234);
  background-color: rgba(114, 57, 234, 0.12);
}
.myAlertDialog #myAlert .ai_icon.success {
  color: rgb(80, 205, 137);
  background-color: rgba(80, 205, 137, 0.12);
}
.myAlertDialog #myAlert .ai_icon.question {
  color: var(--main-color);
}
.myAlertDialog #myAlert p {
  width: 100%;
  margin: 0;
  line-height: 1.5;
  font-size: 15px;
}
.myAlertDialog #myAlert .buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
}
.myAlertDialog #myAlert .buttons button {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 110px;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  border: 1px solid transparent;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.15s ease-in-out, opacity 0.15s ease-in-out;
}
.myAlertDialog #myAlert .buttons .confirm {
  background-color: var(--color-button-primary);
}
.myAlertDialog #myAlert .buttons .confirm:hover {
  background-color: var(--color-button-primary-hover);
}
.myAlertDialog #myAlert .buttons #cancel {
  background-color: transparent;
  color: var(--main-color);
  border-color: hsla(0, 0%, 0%, 0.15);
}
.myAlertDialog #myAlert .buttons #cancel:hover {
  background-color: hsla(0, 0%, 0%, 0.05);
}

#inlineEditToolbar {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  white-space: nowrap;
  max-width: calc(100% - 16px);
  overflow: hidden;
  overflow-x: auto;
  z-index: 5062;
  opacity: 1;
  gap: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  flex-direction: row;
  align-items: stretch;
  font-family: inherit;
}
#inlineEditToolbar.ie-visible {
  display: flex;
}
#inlineEditToolbar object {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#inlineEditToolbar a {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0;
  padding: 6px 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms;
}
#inlineEditToolbar a:hover {
  background: rgba(255, 255, 255, 0.15);
}
#inlineEditToolbar .multiCount {
  font-weight: bold;
  padding: 6px 12px;
  background-color: #4a90d9;
  color: #fff;
  display: flex;
  align-items: center;
}
#inlineEditToolbar .toolDesc {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.7;
}
#inlineEditToolbar .material-symbols-outlined {
  font-weight: 400;
  font-size: 1.27rem;
  color: rgba(255, 255, 255, 0.9);
}

body.ie-active .chapter_image[data-photo-id]::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms;
}

body.ie-active .chapter_image[data-photo-id]:hover::before {
  opacity: 1;
}

.chapter_image.ie-selected {
  outline: 3px solid #4a90d9 !important;
  outline-offset: -3px;
  position: relative;
}
.chapter_image.ie-selected::before {
  content: "\e5ca" !important;
  font-family: "Material Symbols Outlined" !important;
  position: absolute;
  top: 6px;
  left: 6px;
  width: 24px;
  height: 24px;
  background: #4a90d9 !important;
  border: none !important;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  pointer-events: none;
  opacity: 1 !important;
}

.chapter_image.ie-hidden {
  outline: 3px solid #e53935 !important;
  outline-offset: 0px;
}

.chapter_image.ie-photo-chosen {
  outline: 3px solid var(--select-color, #4a90d9) !important;
  outline-offset: 0px;
}

#ie-lasso {
  position: fixed;
  border: 2px solid #4a90d9;
  background: rgba(74, 144, 217, 0.15);
  pointer-events: none;
  z-index: 9999;
  display: none;
}

body.ie-active .chapter_image[data-photo-id] .click-trap,
body.ie-active .chapter_image[data-photo-id] canvas,
body.ie-active .chapter_image[data-photo-id] .secure-image-container,
body.ie-active .chapter_image[data-photo-id] .fallback-watermark {
  pointer-events: none !important;
}

body.ie-active [data-chapter-id] .chapter_title,
body.ie-active [data-chapter-id] .chapter_description {
  cursor: text;
  position: relative;
}
body.ie-active [data-chapter-id] .chapter_title:hover,
body.ie-active [data-chapter-id] .chapter_description:hover {
  outline: 1px dashed rgba(74, 144, 217, 0.5);
  outline-offset: 4px;
}
body.ie-active [data-chapter-id] .chapter_title::after,
body.ie-active [data-chapter-id] .chapter_description::after {
  content: "\e3c9";
  font-family: "Material Symbols Outlined";
  font-size: 16px;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  transition: opacity 150ms;
  color: #4a90d9;
  pointer-events: none;
}
body.ie-active [data-chapter-id] .chapter_title:hover::after,
body.ie-active [data-chapter-id] .chapter_description:hover::after {
  opacity: 1;
}

.ie-editing-title,
.ie-editing-desc {
  outline: 2px solid #4a90d9 !important;
  outline-offset: 4px;
  border-radius: 2px;
}
.ie-editing-title::after,
.ie-editing-desc::after {
  display: none !important;
}

.ie-suneditor-wrapper {
  margin: 0 auto;
  padding-bottom: 0 !important;
}
.ie-suneditor-wrapper .se-wrapper,
.ie-suneditor-wrapper .se-wrapper-inner {
  cursor: text !important;
}
.ie-suneditor-wrapper .se-wrapper-wysiwyg ul, .ie-suneditor-wrapper .se-wrapper-wysiwyg ol {
  margin: 0.5em 0 !important;
  padding-left: 1.5em !important;
}
.ie-suneditor-wrapper .se-wrapper-wysiwyg ul {
  list-style-type: disc !important;
}
.ie-suneditor-wrapper .se-wrapper-wysiwyg ol {
  list-style-type: decimal !important;
}
.ie-suneditor-wrapper .se-wrapper-wysiwyg li {
  list-style: inherit !important;
  margin: 0.25em 0;
}
.ie-suneditor-wrapper .se-wrapper-wysiwyg p {
  margin: 0.5em 0 !important;
}
.ie-suneditor-wrapper .se-wrapper-wysiwyg em, .ie-suneditor-wrapper .se-wrapper-wysiwyg i {
  font-style: italic;
}
.ie-suneditor-wrapper .se-wrapper-wysiwyg strong, .ie-suneditor-wrapper .se-wrapper-wysiwyg b {
  font-weight: bold;
}
.ie-suneditor-wrapper .se-wrapper-wysiwyg u {
  text-decoration: underline;
}
.ie-suneditor-wrapper .se-wrapper-wysiwyg s, .ie-suneditor-wrapper .se-wrapper-wysiwyg strike, .ie-suneditor-wrapper .se-wrapper-wysiwyg del {
  text-decoration: line-through;
}
.ie-suneditor-wrapper .se-wrapper-wysiwyg a {
  color: #4a90d9;
  text-decoration: underline;
}

.ie-chapter-even .chapter_title {
  text-align: left !important;
}
.ie-chapter-even .chapter_separator {
  margin-left: 0% !important;
  margin-right: 0%;
  width: 50% !important;
}
.ie-chapter-even .chapter_description {
  float: none !important;
}
.ie-chapter-even .ie-suneditor-wrapper {
  float: none;
}

.ie-chapter-odd .ie-suneditor-wrapper {
  float: right;
  max-width: 700px;
}

.chapter_description p {
  margin: 0.5em 0;
}
.chapter_description ul, .chapter_description ol {
  margin: 0.5em 0;
  padding-left: 1.5em;
}
.chapter_description ul {
  list-style-type: disc;
}
.chapter_description ol {
  list-style-type: decimal;
}
.chapter_description li {
  margin: 0.25em 0;
}
.chapter_description em, .chapter_description i {
  font-style: italic;
}
.chapter_description strong, .chapter_description b {
  font-weight: bold;
}
.chapter_description u {
  text-decoration: underline;
}
.chapter_description s, .chapter_description strike, .chapter_description del {
  text-decoration: line-through;
}
.chapter_description a {
  color: #4a90d9;
  text-decoration: underline;
}

body.ie-active .chapterTitle2.ie-draggable {
  position: relative;
}
body.ie-active .chapterTitle2.ie-draggable .ie-drag-handle {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: rgba(74, 144, 217, 0.4);
  cursor: grab;
  opacity: 0;
  transition: opacity 150ms;
  z-index: 1;
  user-select: none;
}
body.ie-active .chapterTitle2.ie-draggable:hover .ie-drag-handle {
  opacity: 1;
}
body.ie-active .chapterTitle2.ie-draggable .ie-editing-title {
  cursor: text !important;
}

body.ie-dragging-chapter .ie-chapter-wrapper > .container {
  display: none !important;
}
body.ie-dragging-chapter .chapterTitle2 {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin: 4px 0 !important;
  padding: 12px 16px 12px 44px !important;
  cursor: grab;
}
body.ie-dragging-chapter .chapterTitle2::before {
  opacity: 1 !important;
  color: rgba(74, 144, 217, 0.6);
}
body.ie-dragging-chapter .chapterTitle2 .chapter_description,
body.ie-dragging-chapter .chapterTitle2 .chapter_separator {
  display: none !important;
}
body.ie-dragging-chapter .chapterTitle2 .chapter_title {
  text-align: left !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  clip-path: none !important;
  transition: none !important;
  transform: none !important;
}
body.ie-dragging-chapter #chapterNavbar {
  display: none !important;
}

.ie-chapter-drag-ghost {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
  max-width: 400px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.ie-chapter-drag-placeholder {
  width: 100%;
  height: 4px !important;
  background-color: #4a90d9;
  transition: height 150ms ease;
  border-radius: 2px;
}

.ie-photo-drag-fallback {
  opacity: 0.7 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000 !important;
  outline: 3px solid var(--select-color, #4a90d9) !important;
  outline-offset: 0px;
}

.ie-photo-drag-ghost {
  opacity: 0.1 !important;
  border: 2px dashed var(--select-color, #4a90d9) !important;
  border-radius: 4px;
}

body.ie-dragging-photo .chapter_image .bottom,
body.ie-dragging-photo .chapter_image .top {
  opacity: 0 !important;
}

@keyframes ie-breathing {
  0%, 100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.75;
  }
}
div:where(.swal2-container) h2:where(.swal2-title) {
  line-height: 2rem;
}

#gallery404 {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  font-family: "Lato", sans-serif;
  background: #f8f8f8;
}

.gallery404Header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 50px;
  border-bottom: 1px solid #eee;
  background: #fff;
  flex-shrink: 0;
}

.gallery404Logo_old {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #333;
}
.gallery404Logo_old img {
  width: 22px;
  height: 22px;
}
.gallery404Logo_old span {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.gallery404Logo_old span sub {
  font-size: 0.65em;
  bottom: 0;
}

.gallery404Logo {
  display: flex;
  align-items: center;
  flex-direction: row;
  grid-gap: 10px;
}
.gallery404Logo img {
  width: 24px;
  height: 24px;
}
.gallery404Logo span {
  font-weight: 700;
  text-wrap: nowrap;
  min-width: 125px;
  text-transform: uppercase;
}
.gallery404Logo {
  font-weight: 500;
  color: var(--main-color);
  letter-spacing: -0.42px;
  line-height: 24px;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to bottom right, var(--main-color-light) 0%, var(--main-color) 80%);
}
.gallery404Logo sub {
  font-size: 0.5rem;
  color: var(--main-color);
}

.gallery404HeaderActions {
  display: flex;
  align-items: center;
}
.gallery404HeaderActions a {
  text-decoration: none;
  color: #555;
  font-size: 0.8rem;
  font-weight: 400;
  padding: 0.35rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s;
}
.gallery404HeaderActions a:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.gallery404Body {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery404Content {
  text-align: center;
  padding: 1.5rem;
}
.gallery404Content .gallery404Number {
  font-size: 5rem;
  font-weight: 700;
  color: #e0e0e0;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}
.gallery404Content h1 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gallery404Content p {
  color: #888;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.gallery404Btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
.gallery404Btn:hover {
  background: #555;
}

.gallery404Footer {
  flex-shrink: 0;
  padding: 1rem;
  border-top: 1px solid #eee;
  background: #fff;
  margin: 0;
}
.gallery404Footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.gallery404Footer ul li a {
  text-decoration: none;
  color: #999;
  font-size: 0.7rem;
  transition: color 0.2s;
}
.gallery404Footer ul li a:hover {
  color: #333;
}

/* used color #000 , #fff , #CCC, #f5f5f5, #f9f9f9 */
/* font color #333, background color: #fff */
/* grey color #e1e1e1 , #d1d1d1 , #c1c1c1 , #b1b1b1 */
/* blue color #c7deff , #80bdff , #3f9dff , #4592ff, #407dd1, #3288ff */
/* red color #b94a48 , #f2dede , #eed3d7, #d9534f */
/** --- suneditor main */
.sun-editor {
  width: auto;
  height: auto;
  box-sizing: border-box;
  user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.sun-editor * {
  box-sizing: border-box;
  -webkit-user-drag: none;
  overflow: visible;
}

.sun-editor-common input, .sun-editor-common select, .sun-editor-common textarea, .sun-editor-common button {
  font-size: 14px;
  line-height: 1.5;
}

.sun-editor-common body, .sun-editor-common div, .sun-editor-common dl, .sun-editor-common dt, .sun-editor-common dd, .sun-editor-common ul, .sun-editor-common ol, .sun-editor-common li,
.sun-editor-common h1, .sun-editor-common h2, .sun-editor-common h3, .sun-editor-common h4, .sun-editor-common h5, .sun-editor-common h6, .sun-editor-common pre, .sun-editor-common code,
.sun-editor-common form, .sun-editor-common fieldset, .sun-editor-common legend, .sun-editor-common textarea, .sun-editor-common p, .sun-editor-common blockquote, .sun-editor-common th,
.sun-editor-common td, .sun-editor-common input, .sun-editor-common select, .sun-editor-common textarea, .sun-editor-common button {
  margin: 0;
  padding: 0;
  border: 0;
}

.sun-editor-common dl, .sun-editor-common ul, .sun-editor-common ol, .sun-editor-common menu, .sun-editor-common li {
  list-style: none !important;
}

.sun-editor-common hr {
  margin: 6px 0 6px 0 !important;
}

.sun-editor textarea {
  resize: none;
  border: 0;
  padding: 0;
}

.sun-editor button {
  border: 0 none;
  background-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
  outline: none;
}

.sun-editor input, .sun-editor select, .sun-editor textarea, .sun-editor button {
  vertical-align: middle;
}

.sun-editor button span {
  display: block;
  margin: 0;
  padding: 0;
}

.sun-editor button .txt {
  display: block;
  margin-top: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* button children are pointer event none */
.sun-editor button * {
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

/** --- Icons ---------------------------------------------------------- */
/* default svg */
.sun-editor svg {
  fill: currentColor;
}

.sun-editor button > svg, .sun-editor .se-svg {
  width: 16px;
  height: 16px;
  margin: auto;
  fill: currentColor;
  display: block;
  text-align: center;
  float: none;
}

/* close class icon */
.sun-editor .close > svg, .sun-editor .se-dialog-close > svg {
  width: 15px;
  height: 15px;
}

/* se-select-btn icon */
.sun-editor .se-btn-select > svg {
  float: right;
  width: 15px;
  height: 15px;
}

/* se-btn-list inner icon */
.sun-editor .se-btn-list > .se-list-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: -1px 10px 0 0;
  vertical-align: middle;
}

/* se-line-breaker inner icon */
.sun-editor .se-line-breaker > button > svg {
  width: 24px;
  height: 24px;
}

/* icon class */
.sun-editor button > i::before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-size: 15px;
  line-height: 2;
}

.sun-editor button > [class=se-icon-text] {
  font-size: 20px;
  line-height: 1;
}

/** --- arrow icon ---------------------------------------------------------- */
.sun-editor .se-arrow, .sun-editor .se-arrow::after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border: 11px solid transparent;
}

/* arrow up */
.sun-editor .se-arrow.se-arrow-up {
  top: -11px;
  left: 20px;
  margin-left: -11px;
  border-top-width: 0;
  border-bottom-color: #dadada;
}

.sun-editor .se-arrow.se-arrow-up::after {
  top: 1px;
  margin-left: -11px;
  content: " ";
  border-top-width: 0;
  border-bottom-color: var(--background-color-secondary);
}

.sun-editor .se-toolbar .se-arrow.se-arrow-up::after {
  border-bottom-color: var(--background-color-secondary);
}

/* arrow down */
.sun-editor .se-arrow.se-arrow-down {
  top: 0px;
  left: 0px;
  margin-left: -11px;
  border-bottom-width: 0;
  border-top-color: #dadada;
}

.sun-editor .se-arrow.se-arrow-down::after {
  top: -12px;
  margin-left: -11px;
  content: " ";
  border-bottom-width: 0;
  border-top-color: #fff;
}

.sun-editor .se-toolbar .se-arrow.se-arrow-down::after {
  border-top-color: #fafafa;
}

/** --- container */
.sun-editor .se-container {
  position: relative;
  width: auto;
  height: auto;
}

/** button */
.sun-editor button {
  color: var(--main-color);
}

/** --- se-btn button */
.sun-editor .se-btn {
  float: left;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 4px;
  margin: 1px !important;
  padding: 0;
  font-size: 12px;
  line-height: 27px;
  color: var(--main-color);
}

.sun-editor .se-btn:enabled:hover, .sun-editor .se-btn:enabled:focus {
  background-color: #e1e1e1;
  border-color: #d1d1d1;
  outline: 0 none;
  background: rgba(0, 0, 0, 0.3);
}

/** --- primary button */
/** --- Input */
/* se-btn button active*/
.sun-editor .se-btn:enabled.active {
  color: #4592ff;
  outline: 0 none;
}

/* se-btn button on */
.sun-editor .se-btn:enabled.on {
  outline: 0 none;
  background: rgba(0, 0, 0, 0.3);
}

/* disabled buttons, icon blur */
.sun-editor .se-btn:disabled, .sun-editor .se-btn-list:disabled, .sun-editor button:disabled {
  cursor: not-allowed;
  background-color: inherit;
  color: #bdbdbd;
}

/** --- loading box */
.sun-editor .se-loading-box {
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.7;
  filter: alpha(opacity=70);
  z-index: 2147483647;
}

.sun-editor .se-loading-box .se-loading-effect {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  height: 25px;
  width: 25px;
  border-top: 2px solid #07d;
  border-right: 2px solid transparent;
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
  margin: -25px 0 0 -25px;
}

/** --- line breaker */
.sun-editor .se-line-breaker {
  position: absolute;
  display: none;
  width: 100%;
  height: 1px;
  cursor: text;
  border-top: 1px solid #3288ff;
  z-index: 7;
}

.sun-editor .se-line-breaker > button.se-btn {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  top: -15px;
  float: none;
  left: -50%;
  background-color: #fff;
  border: 1px solid #0c2240;
  opacity: 0.6;
  cursor: pointer;
}

.sun-editor .se-line-breaker > button.se-btn:hover {
  opacity: 0.9;
  background-color: #fff;
  border-color: #041b39;
}

/** --- line breaker --- component - top, bottom */
.sun-editor .se-line-breaker-component {
  position: absolute;
  display: none;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border: 1px solid #0c2240;
  opacity: 0.6;
  border-radius: 4px;
  cursor: pointer;
  z-index: 7;
}

.sun-editor .se-line-breaker-component:hover {
  opacity: 0.9;
}

/** --- toolbar ---------------------------------------------------------- */
.sun-editor .se-toolbar {
  display: block;
  position: relative;
  height: auto;
  width: 100%;
  overflow: visible;
  padding: 0;
  margin: 0;
  z-index: 5;
  border-radius: 4px;
  background-color: var(--background-color-secondary);
  color: var(--secondary-color);
  align-items: stretch;
  font-size: 14px;
  line-height: 1.2;
  border-radius: 8px;
  pointer-events: auto;
}

.sun-editor .se-toolbar-shadow {
  display: none;
}

.sun-editor .se-toolbar-cover {
  position: absolute;
  display: none;
  font-size: 36px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #fefefe;
  opacity: 0.5;
  filter: alpha(opacity=50);
  cursor: not-allowed;
  z-index: 4;
}

.sun-editor .se-toolbar-separator-vertical {
  display: inline-block;
  height: 0px;
  width: 0px;
  margin: 0px;
  vertical-align: top;
}

/* inline toolbar */
.sun-editor .se-toolbar.se-toolbar-inline {
  display: none;
  position: absolute;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
}

/* balloon toolbar */
.sun-editor .se-toolbar.se-toolbar-balloon {
  display: none;
  position: absolute;
  z-index: 2147483647;
  width: auto;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
}

/* sticky toolbar */
.sun-editor .se-toolbar.se-toolbar-sticky {
  position: fixed;
  top: 0px;
}

.sun-editor .se-toolbar-sticky-dummy {
  display: none;
  position: static;
  z-index: -1;
}

/** --- tool bar --- module --- button, module, group ----------------------------------------------------------  */
/* module */
.sun-editor .se-btn-module {
  display: inline-block;
}

.sun-editor .se-btn-module-border {
  border: 1px solid #dadada;
  border-radius: 4px;
  margin-left: 1px;
  margin-right: 1px;
}

.sun-editor .se-btn-module-enter {
  display: block;
  width: 100%;
  height: 0px;
  margin: 0;
  padding: 0;
  background-color: transparent;
}

/* ---more - layer */
.sun-editor .se-toolbar-more-layer {
  margin: 0 -3px;
  background-color: #fafafa;
}

.sun-editor .se-toolbar-more-layer .se-more-layer {
  display: none;
  border-top: 1px solid #dadada;
}

.sun-editor .se-toolbar-more-layer .se-more-layer .se-more-form {
  display: inline-block;
  width: 100%;
  height: auto;
  padding: 4px 3px 0 3px;
}

/* ---more - button */
.sun-editor .se-btn-module .se-btn-more.se-btn-more-text {
  width: auto;
  padding: 0 4px;
}

.sun-editor .se-btn-module .se-btn-more:hover, .sun-editor .se-btn-module .se-btn-more:focus {
  color: var(--main-color);
  background-color: #d1d1d1;
  border-color: #c1c1c1;
  outline: 0 none;
}

.sun-editor .se-btn-module .se-btn-more.on {
  color: #333;
  background-color: #d1d1d1;
  border-color: #c1c1c1;
  outline: 0 none;
}

.sun-editor .se-btn-module .se-btn-more.on:hover {
  color: var(--main-color);
  background-color: #c1c1c1;
  border-color: #b1b1b1;
  outline: 0 none;
}

/* innser ul */
.sun-editor .se-menu-list {
  float: left;
  padding: 0;
  margin: 0;
}

.sun-editor .se-menu-list li {
  position: relative;
  float: left;
  padding: 0;
  margin: 0;
}

/* tool bar select button (font, fontSize, formatBlock) */
.sun-editor .se-btn-select {
  width: auto;
  display: flex;
  padding: 4px 6px;
}

.sun-editor .se-btn-select .txt {
  flex: auto;
  text-align: left;
}

.sun-editor .se-btn-select.se-btn-tool-font {
  width: 100px;
}

.sun-editor .se-btn-select.se-btn-tool-format {
  width: 82px;
}

.sun-editor .se-btn-select.se-btn-tool-size {
  width: 78px;
}

/** --- menu tray -------------------------------------------------------------- */
.sun-editor .se-btn-tray {
  position: relative;
  width: 100%;
  height: auto;
  padding: 4px 3px 0 3px;
  margin: 0;
}

.sun-editor .se-menu-tray {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 0px;
}

/** --- submenu layer ---------------------------------------------------------- */
.sun-editor .se-submenu {
  overflow-x: hidden;
  overflow-y: auto;
}

.sun-editor .se-menu-container {
  overflow-x: unset;
  overflow-y: unset;
}

.sun-editor .se-list-layer {
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  height: auto;
  z-index: 5;
  border: 1px solid var(--secondary-color-lighter);
  border-radius: 4px;
  padding: 6px 0;
  background-color: var(--background-color-secondary);
  box-shadow: var(--box-box-shadow);
  color: var(--secondary-color);
}

.sun-editor .se-list-layer .se-list-inner {
  padding: 0;
  margin: 0;
  overflow-x: initial;
  overflow-y: initial;
  overflow: visible;
}

.sun-editor .se-list-layer button {
  margin: 0;
  width: 100%;
}

.sun-editor .se-list-inner ul {
  width: 100%;
  padding: 0;
}

.sun-editor .se-list-inner li > button {
  min-width: 100%;
  width: max-content;
}

/* submenu layer - basic list */
.sun-editor .se-list-inner .se-list-basic li {
  width: 100%;
}

.sun-editor .se-list-inner .se-list-basic li button.active {
  background: rgba(0, 0, 0, 0.2);
}

/* submenu layer - checked list */
.sun-editor .se-list-inner .se-list-checked li button > .se-svg {
  float: left;
  padding: 6px 6px 0 0;
}

.sun-editor .se-list-inner .se-list-checked li button > .se-svg > svg {
  display: none;
}

.sun-editor .se-list-inner .se-list-checked li button.se-checked {
  color: #4592ff;
}

.sun-editor .se-list-inner .se-list-checked li button.se-checked > .se-svg > svg {
  display: block;
}

/* submenu layer - list button */
.sun-editor .se-btn-list {
  width: 100%;
  height: auto;
  min-height: 32px;
  padding: 0 14px;
  cursor: pointer;
  font-size: 12px;
  line-height: normal;
  text-indent: 0;
  text-decoration: none;
  text-align: left;
}

.sun-editor .se-btn-list.default_value {
  background-color: #f3f3f3;
  border-top: 1px dotted #b1b1b1;
  border-bottom: 1px dotted #b1b1b1;
}

.sun-editor .se-btn-list:hover, .sun-editor .se-btn-list:focus {
  background: rgba(0, 0, 0, 0.3);
  border-color: var(--secondary-color-lighter);
  outline: 0 none;
}

/** --- submenu layer - se-list-inner > exception */
/* submenu layer - font size */
.sun-editor .se-list-layer.se-list-font-size {
  min-width: 140px;
  max-height: 300px;
}

/* submenu layer - font family */
.sun-editor .se-list-layer.se-list-font-family {
  min-width: 156px;
}

.sun-editor .se-list-layer.se-list-font-family .default {
  border-bottom: 1px solid #CCC;
}

/* submenu layer - hr */
.sun-editor .se-list-layer.se-list-line {
  width: 125px;
}

.sun-editor .se-list-layer.se-list-line hr {
  border-width: 1px 0 0;
  height: 1px;
}

/* submenu layer - align */
.sun-editor .se-list-layer.se-list-align .se-list-inner {
  left: 9px;
}

/** submenu layer - format block, paragraph style, text style */
.sun-editor .se-list-layer.se-list-format {
  min-width: 156px;
}

.sun-editor .se-list-layer.se-list-format li {
  padding: 0;
  width: 100%;
}

.sun-editor .se-list-layer.se-list-format ul .se-btn-list {
  line-height: 100%;
}

.sun-editor .se-list-layer.se-list-format ul .se-btn-list[data-value=h1] {
  height: 40px;
}

.sun-editor .se-list-layer.se-list-format ul .se-btn-list[data-value=h2] {
  height: 34px;
}

.sun-editor .se-list-layer.se-list-format ul p {
  font-size: 13px;
}

.sun-editor .se-list-layer.se-list-format ul div {
  font-size: 13px;
  padding: 4px 2px;
}

.sun-editor .se-list-layer.se-list-format ul h1 {
  font-size: 2em;
  font-weight: bold;
  color: #333;
}

.sun-editor .se-list-layer.se-list-format ul h2 {
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
}

.sun-editor .se-list-layer.se-list-format ul h3 {
  font-size: 1.17em;
  font-weight: bold;
  color: #333;
}

.sun-editor .se-list-layer.se-list-format ul h4 {
  font-size: 1em;
  font-weight: bold;
  color: #333;
}

.sun-editor .se-list-layer.se-list-format ul h5 {
  font-size: 0.83em;
  font-weight: bold;
  color: #333;
}

.sun-editor .se-list-layer.se-list-format ul h6 {
  font-size: 0.67em;
  font-weight: bold;
  color: #333;
}

.sun-editor .se-list-layer.se-list-format ul blockquote {
  font-size: 13px;
  color: #999;
  height: 22px;
  margin: 0;
  background-color: transparent;
  line-height: 1.5;
  border-style: solid;
  border-color: #b1b1b1;
  padding: 0 0 0 7px;
  border-left-width: 5px;
}

.sun-editor .se-list-layer.se-list-format ul pre {
  font-size: 13px;
  color: #666;
  padding: 4px 11px;
  margin: 0;
  background-color: #f9f9f9;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}

/* submenu layer --- table selector */
.sun-editor .se-selector-table {
  display: none;
  position: absolute;
  top: 34px;
  left: 1px;
  z-index: 5;
  padding: 5px 0;
  float: left;
  margin: 2px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.sun-editor .se-selector-table .se-table-size {
  font-size: 18px;
  padding: 0 5px;
}

.sun-editor .se-selector-table .se-table-size-picker {
  position: absolute !important;
  z-index: 3;
  font-size: 18px;
  width: 10em;
  height: 10em;
  cursor: pointer;
}

.sun-editor .se-selector-table .se-table-size-highlighted {
  position: absolute !important;
  z-index: 2;
  font-size: 18px;
  width: 1em;
  height: 1em;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAADJmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo4QTZCNzMzN0I3RUYxMUU4ODcwQ0QwMjM1NTgzRTJDNyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4QTZCNzMzNkI3RUYxMUU4ODcwQ0QwMjM1NTgzRTJDNyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0MzYyNEUxRUI3RUUxMUU4ODZGQzgwRjNBODgyNTdFOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0MzYyNEUxRkI3RUUxMUU4ODZGQzgwRjNBODgyNTdFOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pl0yAuwAAABBSURBVDhPY/wPBAxUAGCDGvdBeWSAeicIDTfIXREiQArYeR9hEBOEohyMGkQYjBpEGAxjg6ib+yFMygCVvMbAAABj0hwMTNeKJwAAAABJRU5ErkJggg==") repeat;
}

.sun-editor .se-selector-table .se-table-size-unhighlighted {
  position: relative !important;
  z-index: 1;
  font-size: 18px;
  width: 10em;
  height: 10em;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat;
}

.sun-editor .se-selector-table .se-table-size-display {
  padding-left: 5px;
}

.sun-editor .se-list-layer.se-table-split {
  top: 36px;
}

/* submenu layer --- color selector button */
.sun-editor .se-list-layer .se-selector-color {
  display: flex;
  width: max-content;
  max-width: 270px;
  height: auto;
  padding: 0;
  margin: auto;
}

.sun-editor .se-list-layer .se-selector-color .se-color-pallet {
  width: 100%;
  height: 100%;
  padding: 0;
}

.sun-editor .se-list-layer .se-selector-color .se-color-pallet li {
  display: flex;
  float: left;
  position: relative;
  margin: 0;
}

.sun-editor .se-list-layer .se-selector-color .se-color-pallet button {
  display: block;
  cursor: default;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

.sun-editor .se-list-layer .se-selector-color .se-color-pallet button.active,
.sun-editor .se-list-layer .se-selector-color .se-color-pallet button:hover,
.sun-editor .se-list-layer .se-selector-color .se-color-pallet button:focus {
  border: 3px solid #fff;
}

/** --- form group - input -------------------------------------------------------------- */
.sun-editor .se-form-group {
  display: flex;
  width: 100%;
  min-height: 40px;
  height: auto;
  padding: 4px;
}

.sun-editor .se-form-group input {
  flex: auto;
  display: inline-block;
  width: auto;
  height: 33px;
  font-size: 12px;
  margin: 1px 0 1px 0;
  padding: 0;
  border-radius: 0.25rem;
  border: 1px solid #ccc;
}

.sun-editor .se-form-group button, .sun-editor .se-submenu-form-group button {
  float: right;
  width: 34px;
  height: 34px;
  margin: 0 2px !important;
}

.sun-editor .se-form-group button.se-btn, .sun-editor .se-form-group button.se-btn {
  border: 1px solid #ccc;
}

.sun-editor .se-form-group > div {
  position: relative;
}

.sun-editor .se-form-group label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: bold;
}

/** --- form group - label -------------------------------------------------------------- */
.sun-editor .se-form-group-label {
  width: 100%;
  height: auto;
  padding: 0px 4px;
}

.sun-editor .se-form-group-label label {
  font-size: 13px;
  font-weight: bold;
}

/** form group - submenu - color input */
.sun-editor .se-submenu .se-form-group input {
  width: auto;
  height: 33px;
  color: #555;
}

.sun-editor .se-submenu .se-form-group .se-color-input {
  width: 72px;
  text-transform: uppercase;
  border: none;
  border-bottom: 2px solid #b1b1b1;
  outline: none;
}

.sun-editor .se-submenu .se-form-group .se-color-input:focus {
  border-bottom: 3px solid #b1b1b1;
}

/** --- editor area */
.sun-editor .se-wrapper {
  position: relative !important;
  width: 100%;
  height: auto;
  z-index: 1;
}

.sun-editor .se-wrapper .se-wrapper-inner {
  width: 100%;
  height: 100%;
  min-height: 1rem;
  overflow-y: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  user-select: auto;
  -o-user-select: auto;
  -moz-user-select: auto;
  -khtml-user-select: auto;
  -webkit-user-select: auto;
  -ms-user-select: auto;
}

.sun-editor .se-wrapper .se-wrapper-inner:focus {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.sun-editor .se-wrapper .se-wrapper-code {
  background-color: #191919;
  color: #fff;
  font-size: 13px;
  word-break: break-all;
  padding: 4px;
  margin: 0;
  resize: none !important;
}

.sun-editor .se-wrapper .se-wrapper-wysiwyg {
  display: block;
}

.sun-editor .se-wrapper .se-wrapper-code-mirror {
  font-size: 13px;
}

/** --- placeholder */
.sun-editor .se-wrapper .se-placeholder {
  position: absolute;
  display: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  margin-top: 0px;
  margin-left: 0px;
  padding-right: 16px;
  margin-right: 0px;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  opacity: 0.4;
}

/** --- resizing bar */
.sun-editor .se-resizing-bar {
  display: flex;
  width: auto;
  height: auto;
  min-height: 16px;
  border-top: 1px solid #dadada;
  padding: 0 4px;
  background-color: #fafafa;
  cursor: ns-resize;
}

.sun-editor .se-resizing-bar.se-resizing-none {
  cursor: default;
}

.sun-editor .se-resizing-back {
  position: absolute;
  display: none;
  cursor: default;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483647;
}

/** resizing bar - nabigation */
.sun-editor .se-resizing-bar .se-navigation {
  flex: auto;
  position: relative;
  width: auto;
  height: auto;
  color: #666;
  margin: 0;
  padding: 0;
  font-size: 10px;
  line-height: 1.5;
  background: transparent;
}

/** resizing bar - charCounter */
.sun-editor .se-resizing-bar .se-char-counter-wrapper {
  flex: none;
  position: relative;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  color: #999;
  font-size: 13px;
  background: transparent;
}

.sun-editor .se-resizing-bar .se-char-counter-wrapper.se-blink {
  color: #b94a48;
  animation: blinker 0.2s linear infinite;
}

.sun-editor .se-resizing-bar .se-char-counter-wrapper .se-char-label {
  margin-right: 4px;
}

/* --- dialog ---------------------------------------------------------- */
.sun-editor .se-dialog {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483647;
}

.sun-editor .se-dialog .se-dialog-back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* dialog - modal */
.sun-editor .se-dialog .se-dialog-inner {
  width: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-content {
  position: relative;
  width: auto;
  max-width: 500px;
  margin: 1.75rem auto;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid var(--secondary-color);
  border: 1px solid var(--secondary-color-lighter);
  border-radius: 4px;
  padding: 6px 0;
  background-color: var(--background-color-secondary);
  box-shadow: var(--box-box-shadow);
  color: var(--secondary-color);
}

@media screen and (max-width: 509px) {
  .sun-editor .se-dialog .se-dialog-inner .se-dialog-content {
    width: 100%;
  }
}
.sun-editor .se-dialog .se-dialog-inner .se-dialog-content label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 0px;
  font-weight: bold;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-header {
  border-bottom: 1px solid var(--background-color-third);
  margin-bottom: 16px;
  margin-top: 0px;
  padding-bottom: 12px;
  font-size: 1.3rem;
  line-height: 2rem;
  font-weight: 500;
  width: auto;
  color: var(--main-color);
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-content form {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}
.sun-editor .se-dialog .se-dialog-inner .se-dialog-content form input {
  display: block !important;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-header .se-dialog-close {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--main-color);
  box-shadow: none;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-body,
.sun-editor .se-dialog .se-dialog-inner .se-dialog-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form-footer {
  margin-top: 10px;
  margin-bottom: 0;
}

.sun-editor .se-dialog .se-dialog-inner input:disabled {
  background-color: #f3f3f3;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-size-text {
  width: 100%;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-size-text .size-w {
  width: 70px;
  text-align: center;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-size-text .size-h {
  width: 70px;
  text-align: center;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-size-x {
  margin: 0 8px 0 8px;
  width: 25px;
  text-align: center;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-footer > div {
  float: left;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-footer > div > label {
  margin: 0 5px 0 0;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-btn-radio {
  margin-left: 12px;
  margin-right: 6px;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-btn-check {
  margin-left: 12px;
  margin-right: 4px;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form-footer .se-dialog-btn-check {
  margin-left: 0;
  margin-right: 4px;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form-footer label:first-child {
  margin-right: 16px;
  margin-left: 0px;
}

/* dialog - modal - form - files */
.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
  flex-direction: row;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files > input {
  flex: auto;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files .se-dialog-files-edge-button {
  flex: auto;
  opacity: 0.8;
  border: 1px solid #ccc;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files .se-dialog-files-edge-button.se-file-remove > svg {
  width: 8px;
  height: 8px;
} /* custom."remove icon" */
.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files .se-dialog-files-edge-button:hover {
  background-color: #f0f0f0;
  outline: 0 none;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-dialog-form-files .se-dialog-files-edge-button:active {
  background-color: #e9e9e9;
  -webkit-box-shadow: inset 0 3px 5px #d6d6d6;
  box-shadow: inset 0 3px 5px #d6d6d6;
}

/* dialog - modal - input */
.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-select {
  display: inline-block;
  width: auto;
  height: 34px;
  font-size: 14px;
  text-align: center;
  line-height: 1.42857143;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-control {
  display: inline-block;
  width: 70px;
  height: 34px;
  font-size: 14px;
  text-align: center;
  line-height: 1.42857143;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-form {
  display: block;
  width: 100%;
  height: 34px;
  font-size: 14px;
  line-height: 1.42857143;
  padding: 0 4px;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-form.se-input-url {
  direction: ltr;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-form.se-input-url:disabled {
  text-decoration: line-through;
  color: #999;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-video-ratio {
  width: 70px;
  margin-left: 4px;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form a {
  color: #004cff;
}

/* dialog - revert button */
.sun-editor .se-dialog .se-dialog-inner .se-dialog-btn-revert {
  border: 1px solid #ccc;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-btn-revert:hover {
  background-color: #e1e1e1;
  border-color: #d1d1d1;
  outline: 0 none;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-btn-revert:active {
  background-color: #d1d1d1;
  border-color: #c1c1c1;
  -webkit-box-shadow: inset 0 3px 5px #c1c1c1;
  box-shadow: inset 0 3px 5px #c1c1c1;
}

/* dialog - inner tab */
.sun-editor .se-dialog-tabs {
  width: 100%;
  height: 25px;
  border-bottom: 1px solid #e5e5e5;
}

.sun-editor .se-dialog-tabs button {
  background-color: #e5e5e5;
  border-right: 1px solid #e5e5e5;
  float: left;
  outline: none;
  padding: 2px 13px;
  transition: 0.3s;
}

.sun-editor .se-dialog-tabs button:hover {
  background-color: #fff;
}

.sun-editor .se-dialog-tabs button.active {
  background-color: #fff;
  border-bottom: 0;
}

/* dialog - modal - math */
.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-form.se-math-exp {
  resize: vertical;
  height: 14em;
  border: 1px solid #ccc;
  font-size: 13px;
  padding: 4px;
  direction: ltr;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-input-select.se-math-size {
  width: 6em;
  height: 28px;
  margin-left: 1em;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview {
  font-size: 13px;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview > span {
  display: inline-block;
  -webkit-box-shadow: 0 0 0 0.1rem #c7deff;
  box-shadow: 0 0 0 0.1rem #c7deff;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview > span * {
  direction: ltr;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview > .se-math-katex-error {
  color: #b94a48;
  -webkit-box-shadow: 0 0 0 0.1rem #f2dede;
  box-shadow: 0 0 0 0.1rem #f2dede;
}

.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-math-preview > .se-math-katex-error svg {
  width: auto;
  height: 30px;
  color: #b94a48;
}

/* dialog - modal - link preview */
.sun-editor .se-dialog .se-dialog-inner .se-link-preview {
  display: block;
  height: auto;
  max-height: 18px;
  font-size: 13px;
  font-weight: normal;
  font-family: inherit;
  color: #666;
  background-color: transparent;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: pre;
}

/* dialog - modal - anchor module */
.sun-editor .se-dialog .se-dialog-inner .se-anchor-preview-form {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 20px;
  margin-top: 4px;
}

.sun-editor .se-dialog .se-dialog-inner .se-anchor-preview-form .se-svg.se-anchor-preview-icon {
  flex: unset;
  display: none;
  line-height: 1;
  color: var(--blue);
  align-items: center;
}

.sun-editor .se-dialog .se-dialog-inner .se-anchor-preview-form .se-link-preview {
  flex: auto;
  margin: 0;
  line-height: 1.5;
}

/* dialog - modal - anchor module - rel select */
.sun-editor .se-dialog .se-dialog-inner .se-anchor-rel {
  height: 34px;
}

.sun-editor .se-dialog .se-dialog-inner .se-anchor-rel-btn {
  width: 46px;
  color: #3f9dff;
}

.sun-editor .se-dialog .se-dialog-inner .se-anchor-rel-wrapper {
  display: flex;
  line-height: 1.5;
  padding-top: 6px;
}

.sun-editor .se-dialog .se-dialog-inner .se-anchor-rel-preview {
  text-align: left;
}

/* .sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-mention-item {line-height:28px;min-height:25px;padding:0 5px;cursor:pointer;}
.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-mention-item:hover {background-color:#e1e1e1}
.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-mention-item.se-mention-active {background-color: #d1d1d1; border-radius:3px;}
.sun-editor .se-dialog .se-dialog-inner .se-dialog-form .se-mention-search {margin-bottom: 10px;} */
/** --- controller ---------------------------------------------------------- */
.sun-editor .se-controller .se-arrow.se-arrow-up {
  border-bottom-color: rgba(0, 0, 0, 0.25);
}

.sun-editor .se-controller {
  position: absolute;
  display: none;
  overflow: visible;
  z-index: 6;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  white-space: normal;
  background-color: var(--background-color-secondary);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  line-break: auto;
}

/* controller - button group */
.sun-editor .se-controller .se-btn-group {
  position: relative;
  display: flex;
  vertical-align: middle;
  padding: 2px;
  top: 0;
  left: 0;
}

.sun-editor .se-controller .se-btn-group .se-btn-group-sub {
  left: 50%;
  min-width: auto;
  width: max-content;
  display: none; /* display: inline-table; */
}

.sun-editor .se-controller .se-btn-group .se-btn-group-sub button {
  margin: 0;
  min-width: 72px;
}

.sun-editor .se-controller .se-btn-group button {
  position: relative;
  min-height: 34px;
  height: auto;
  border: none;
  border-radius: 4px;
  margin: 1px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  display: inline-block;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

.sun-editor .se-controller .se-btn-group button:hover:enabled, .sun-editor .se-controller .se-btn-group button:focus:enabled {
  background-color: #e1e1e1;
  border-color: #d1d1d1;
  outline: 0 none;
}

.sun-editor .se-controller .se-btn-group button:active:enabled {
  background-color: #d1d1d1;
  border-color: #c1c1c1;
  -webkit-box-shadow: inset 0 3px 5px #c1c1c1;
  box-shadow: inset 0 3px 5px #c1c1c1;
}

.sun-editor .se-controller .se-btn-group button span {
  display: block;
  padding: 0;
  margin: 0;
}

/* controller - buttn group active */
.sun-editor .se-controller .se-btn-group button:enabled.active {
  color: #4592ff;
  outline: 0 none;
}

.sun-editor .se-controller .se-btn-group button:enabled.active:hover, .sun-editor .se-controller .se-btn-group button:enabled.active:focus {
  background-color: #e1e1e1;
  border-color: #d1d1d1;
  outline: 0 none;
}

.sun-editor .se-controller .se-btn-group button:enabled.active:active {
  background-color: #d1d1d1;
  border-color: #c1c1c1;
  -webkit-box-shadow: inset 0 3px 5px #c1c1c1;
  box-shadow: inset 0 3px 5px #c1c1c1;
}

/* controller - buttn group on */
.sun-editor .se-controller .se-btn-group button:enabled.on {
  background-color: #e1e1e1;
  border-color: #d1d1d1;
  outline: 0 none;
}

.sun-editor .se-controller .se-btn-group button:enabled.on:hover, .sun-editor .se-controller .se-btn-group button:enabled.on:focus {
  background-color: #d1d1d1;
  border-color: #c1c1c1;
  outline: 0 none;
}

.sun-editor .se-controller .se-btn-group button:enabled.on:active {
  background-color: #c1c1c1;
  border-color: #b1b1b1;
  -webkit-box-shadow: inset 0 3px 5px #b1b1b1;
  box-shadow: inset 0 3px 5px #b1b1b1;
}

/* controller - input */
.sun-editor .se-controller .se-form-group input {
  min-width: 120px;
}

/* controller - resizing(image, iframe) */
.sun-editor .se-controller-resizing {
  margin-top: -50px !important;
  padding: 0;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.42857143;
}

.sun-editor .se-controller-resizing .se-btn-group .se-btn-group-sub.se-resizing-align-list {
  width: 74px;
}

.sun-editor .se-resizing-container {
  position: absolute;
  display: none;
  outline: 1px solid #3f9dff;
  background-color: transparent;
}

.sun-editor .se-resizing-container .se-modal-resize {
  position: absolute;
  display: inline-block;
  background-color: #3f9dff;
  opacity: 0.3;
}

.sun-editor .se-resizing-container .se-resize-dot {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.sun-editor .se-resizing-container .se-resize-dot > span {
  position: absolute;
  width: 7px;
  height: 7px;
  background-color: #3f9dff;
  border: 1px solid #4592ff;
}

.sun-editor .se-resizing-container .se-resize-dot > span.tl {
  top: -5px;
  left: -5px;
  cursor: nw-resize;
}

.sun-editor .se-resizing-container .se-resize-dot > span.tr {
  top: -5px;
  right: -5px;
  cursor: ne-resize;
}

.sun-editor .se-resizing-container .se-resize-dot > span.bl {
  bottom: -5px;
  left: -5px;
  cursor: sw-resize;
}

.sun-editor .se-resizing-container .se-resize-dot > span.br {
  right: -5px;
  bottom: -5px;
  cursor: se-resize;
}

.sun-editor .se-resizing-container .se-resize-dot > span.lw {
  left: -7px;
  bottom: 50%;
  cursor: w-resize;
}

.sun-editor .se-resizing-container .se-resize-dot > span.th {
  left: 50%;
  top: -7px;
  cursor: n-resize;
}

.sun-editor .se-resizing-container .se-resize-dot > span.rw {
  right: -7px;
  bottom: 50%;
  cursor: e-resize;
}

.sun-editor .se-resizing-container .se-resize-dot > span.bh {
  right: 50%;
  bottom: -7px;
  cursor: s-resize;
}

.sun-editor .se-resizing-container .se-resize-display {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 5px;
  margin: 5px;
  font-size: 12px;
  color: #fff;
  background-color: #333;
  border-radius: 4px;
}

/* controller - table */
.sun-editor .se-controller-table {
  width: auto;
  padding: 0;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.42857143;
}

.sun-editor .se-controller-table-cell {
  width: auto;
  padding: 0;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.42857143;
}

/* controller - link */
.sun-editor .se-controller-link {
  padding: 0;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.42857143;
}

.sun-editor .se-controller-link::before, .sun-editor .se-controller-link::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.sun-editor .se-controller-link .link-content {
  padding: 0;
  margin: 0;
}

.sun-editor .se-controller-link .link-content a {
  display: inline-block;
  color: #4592ff;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  margin-left: 5px;
}

/* --- select list ---------------------------------------------------------- */
.sun-editor .se-select-list {
  position: absolute;
  top: 0px;
  left: 0px;
  display: none;
  width: auto;
  max-width: 100%;
  background-color: #fff;
  padding: 0;
  margin: 0;
  border: 1px solid #bababa;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  outline: 0 none;
}

.sun-editor .se-select-list .se-select-item {
  line-height: 28px;
  min-height: 28px;
  font-size: 13px;
  padding: 0 5px;
  margin: 2px 0;
  cursor: pointer;
}

.sun-editor .se-select-list.__se_select-menu-mouse-move .se-select-item:hover, .sun-editor .se-select-list:not(.__se_select-menu-mouse-move) .se-select-item.active {
  background-color: #e1e1e1;
}

.sun-editor .se-dialog-form-files .se-select-list {
  width: 100%;
}

/* --- browser ---------------------------------------------------------- */
.sun-editor .se-file-browser {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483647;
}

.sun-editor .se-file-browser label, .sun-editor .se-file-browser input, .sun-editor .se-file-browser button {
  font-size: 14px;
  line-height: 1.5;
  color: #111;
  margin: 0;
}

.sun-editor .se-file-browser .se-file-browser-back {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #222;
  opacity: 0.5;
}

.sun-editor .se-file-browser .se-file-browser-inner {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.sun-editor .se-file-browser .se-file-browser-inner .se-file-browser-content {
  position: relative;
  width: 960px;
  max-width: 100%;
  margin: 20px auto;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
}

/* --- browser - header */
.sun-editor .se-file-browser .se-file-browser-header {
  height: auto;
  min-height: 50px;
  padding: 6px 15px 6px 15px;
  border-bottom: 1px solid #e5e5e5;
}

.sun-editor .se-file-browser .se-file-browser-header .se-file-browser-close {
  float: right;
  font-weight: bold;
  text-shadow: 0 1px 0 #fff;
  -webkit-appearance: none;
  filter: alpha(opacity=100);
  opacity: 1;
}

.sun-editor .se-file-browser .se-file-browser-header .se-file-browser-close > svg {
  width: 12px;
  height: 12px;
}

.sun-editor .se-file-browser .se-file-browser-header .se-file-browser-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  line-height: 2.2;
}

/* --- browser - header - tags */
.sun-editor .se-file-browser .se-file-browser-tags {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  margin: 0 -15px;
}

.sun-editor .se-file-browser .se-file-browser-tags a {
  display: inline-block;
  background-color: #f5f5f5;
  padding: 6px 12px;
  margin: 8px 0 8px 8px;
  color: #333;
  text-decoration: none;
  border-radius: 32px;
  -moz-border-radius: 32px;
  -webkit-border-radius: 32px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  cursor: pointer;
}

.sun-editor .se-file-browser .se-file-browser-tags a:hover {
  background-color: #e1e1e1;
}

.sun-editor .se-file-browser .se-file-browser-tags a:active {
  background-color: #d1d1d1;
}

.sun-editor .se-file-browser .se-file-browser-tags a.on {
  background-color: #ebf3fe;
  color: #4592ff;
}

.sun-editor .se-file-browser .se-file-browser-tags a.on:hover {
  background-color: #d8e8fe;
}

.sun-editor .se-file-browser .se-file-browser-tags a.on:active {
  background-color: #c7deff;
}

/* --- browser - body */
.sun-editor .se-file-browser .se-file-browser-body {
  position: relative;
  height: auto;
  min-height: 350px;
  padding: 20px;
  overflow-y: auto;
}

.sun-editor .se-file-browser .se-file-browser-body .se-file-browser-list {
  position: relative;
  width: 100%;
}

@media screen and (max-width: 992px) {
  .sun-editor .se-file-browser .se-file-browser-inner .se-file-browser-content {
    width: 748px;
  }
}
@media screen and (max-width: 768px) {
  .sun-editor .se-file-browser .se-file-browser-inner .se-file-browser-content {
    width: 600px;
  }
}
/* --- browser - column */
.sun-editor .se-file-browser .se-file-browser-list .se-file-item-column {
  position: relative;
  display: block;
  height: auto;
  float: left;
}

/* --- browser --- custom - "se-image-list" - column */
.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-column {
  width: calc(25% - 20px);
  margin: 0 10px;
}

@media screen and (max-width: 992px) {
  .sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-column {
    width: calc(33% - 20px);
  }
}
@media screen and (max-width: 768px) {
  .sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-column {
    width: calc(50% - 20px);
  }
}
/* --- browser --- custom - "se-image-list" - item */
.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-img {
  position: relative;
  display: block;
  cursor: pointer;
  width: 100%;
  height: auto;
  border-radius: 4px;
  outline: 0;
  margin: 10px 0;
}

.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-img:hover {
  opacity: 0.8;
  -webkit-box-shadow: 0 0 0 0.2rem #3288ff;
  box-shadow: 0 0 0 0.2rem #3288ff;
}

.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-img > img {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 4px;
  outline: 0;
  height: auto;
}

.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-img > .se-file-img-name {
  position: absolute;
  z-index: 1;
  font-size: 13px;
  color: #fff;
  left: 0px;
  bottom: 0;
  padding: 5px 10px;
  background-color: transparent;
  width: 100%;
  height: 30px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.sun-editor .se-file-browser .se-file-browser-list.se-image-list .se-file-item-img > .se-file-img-name.se-file-name-back {
  background-color: #333;
  opacity: 0.6;
}

/** --- notice */
.sun-editor .se-notice {
  position: absolute;
  top: 0;
  display: none;
  z-index: 7;
  width: 100%;
  height: auto;
  word-break: break-all;
  font-size: 13px;
  color: #b94a48;
  background-color: #f2dede;
  padding: 15px;
  margin: 0;
  border: 1px solid #eed3d7;
  user-select: auto;
  -o-user-select: auto;
  -moz-user-select: auto;
  -khtml-user-select: auto;
  -webkit-user-select: auto;
  -ms-user-select: auto;
}

.sun-editor .se-notice button {
  float: right;
  padding: 7px;
}

/** --- tooltip */
.sun-editor .se-tooltip {
  position: relative;
  overflow: visible;
}

.sun-editor .se-tooltip .se-tooltip-inner {
  visibility: hidden;
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  top: 120%;
  left: 50%;
  background: transparent;
  opacity: 0;
  z-index: 1;
  line-height: 1.5;
  transition: opacity 0.5s;
  margin: 0;
  padding: 0;
  bottom: auto;
  float: none;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

.sun-editor .se-tooltip .se-tooltip-inner .se-tooltip-text {
  position: relative;
  display: inline-block;
  width: auto;
  height: auto;
  left: -50%;
  font-size: 0.9em;
  margin: 0;
  padding: 4px 6px;
  border-radius: 2px;
  background-color: #333;
  color: #fff;
  text-align: center;
  line-height: unset;
  white-space: nowrap;
  cursor: auto;
}

.sun-editor .se-tooltip .se-tooltip-inner .se-tooltip-text::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
}

.sun-editor .se-tooltip:hover .se-tooltip-inner {
  visibility: visible;
  opacity: 1;
}

.sun-editor .se-tooltip .se-tooltip-inner .se-tooltip-text .se-shortcut {
  display: block !important;
}

.sun-editor .se-tooltip .se-tooltip-inner .se-tooltip-text .se-shortcut > .se-shortcut-key {
  display: inline;
  font-weight: bold;
}

/** --- RTL ---------------------------------------------------------- */
/* tray */
.sun-editor.se-rtl .se-btn-tray {
  direction: rtl;
}

.sun-editor.se-rtl .se-btn-select svg {
  margin: auto 1px;
}

/* button--- */
/* button - select text */
.sun-editor.se-rtl .se-btn-select .txt {
  flex: auto;
  text-align: right;
  direction: rtl;
}

/* button - se-menu-list */
.sun-editor.se-rtl .se-btn-list {
  text-align: right;
}

.sun-editor.se-rtl .se-btn-list > .se-list-icon {
  margin: -1px 0 0 10px;
}

/* button - se-menu-list - li */
.sun-editor.se-rtl .se-menu-list:not(.se-menu-dir-fix) {
  float: right;
}

.sun-editor.se-rtl .se-menu-list:not(.se-menu-dir-fix) li {
  float: right;
}

/* menu list--- */
.sun-editor.se-rtl .se-list-layer * {
  direction: rtl;
}

/* menu list - format block */
.sun-editor.se-rtl .se-list-layer.se-list-format ul blockquote {
  padding: 0 7px 0 0;
  border-right-width: 5px;
  border-left-width: 0;
}

/* menu list - color picker */
.sun-editor.se-rtl .se-list-layer .se-selector-color .se-color-pallet li {
  float: right;
}

/* submenu layer - checked list */
.sun-editor.se-rtl .se-list-inner .se-list-checked li button > .se-svg {
  float: right;
  padding: 6px 0 0 6px;
}

/* placeholder */
.sun-editor.se-rtl .se-wrapper .se-placeholder {
  direction: rtl;
}

/* tooltip */
.sun-editor.se-rtl .se-tooltip .se-tooltip-inner .se-tooltip-text {
  direction: rtl;
}

.sun-editor.se-rtl .se-tooltip .se-tooltip-inner .se-tooltip-text .se-shortcut {
  direction: ltr;
}

/* dialog--- */
.sun-editor.se-rtl .se-dialog * {
  direction: rtl;
}

.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-form .se-video-ratio {
  margin-left: 0;
  margin-right: 4px;
}

/* dialog - header */
.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-header .se-dialog-close {
  float: left;
}

.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-header .se-modal-title {
  float: right;
}

/* dialog - tabs */
.sun-editor.se-rtl .se-dialog-tabs button {
  float: right;
}

.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-size-text {
  padding-right: 34px;
}

/* dialog - footer */
.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-footer .se-btn-primary {
  float: left;
}

.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-footer > div {
  float: right;
}

.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-footer > div > label {
  margin: 0 0 0 5px;
}

.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-dialog-form-footer label:first-child {
  margin-left: 16px;
  margin-right: 0px;
}

/* dialog - footer - link preview*/
.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-anchor-rel-preview {
  margin-left: 4px;
  text-align: right;
}

/* anchor module */
.sun-editor.se-rtl .se-dialog .se-dialog-inner .se-anchor-rel-btn {
  float: right;
}

/* fileBrowser--- */
.sun-editor.se-rtl .se-file-browser * {
  direction: rtl;
}

/* fileBrowser - header */
.sun-editor.se-rtl .se-file-browser .se-file-browser-tags {
  text-align: right;
}

.sun-editor.se-rtl .se-file-browser .se-file-browser-tags a {
  margin: 8px 8px 0 8px;
}

.sun-editor.se-rtl .se-file-browser .se-file-browser-header .se-file-browser-close {
  float: left;
}

/** controller--- */
.sun-editor.se-rtl .se-controller .se-btn-group {
  direction: rtl;
}

.sun-editor.se-rtl .se-resizing-container .se-resize-display {
  direction: rtl;
}

/** --- RTL ---------------------------------------------------------- */
/** button module float --------------------------------------------- */
.sun-editor .se-btn-module-border.module-float-left {
  float: left;
}

.sun-editor .se-btn-module-border.module-float-right {
  float: right;
}

/** --- error ---------------------------------------------------------- */
.sun-editor .se-error {
  color: #d9534f;
}

.sun-editor input.se-error:focus, select.se-error:focus, textarea.se-error:focus {
  border: 1px solid #f2dede;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem #eed3d7;
  box-shadow: 0 0 0 0.2rem #eed3d7;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/** ---------------------------------------------------------- menu items style ---------------------------------------------------------- */
/** hr menu items */
.sun-editor hr.__se__solid {
  border-style: solid none none;
}

.sun-editor hr.__se__dotted {
  border-style: dotted none none;
}

.sun-editor hr.__se__dashed {
  border-style: dashed none none;
}

/** ---------------------------------------------------------- menu items style ---------------------------------------------------------- */
/** animation */
@keyframes blinker {
  50% {
    opacity: 0;
  }
}
@keyframes spinner {
  to {
    transform: rotate(361deg);
  }
}
.sun-editor .se-wrapper .se-wrapper-inner {
  outline-offset: 0px;
  outline: 2px solid transparent;
  transition: outline 270ms ease-in-out;
}
.sun-editor .se-wrapper .se-wrapper-inner:focus {
  outline-offset: 4px;
  outline: 2px solid var(--select-color);
}

.sun-editor {
  padding-bottom: 1rem;
}
.sun-editor a {
  color: var(--blue-light);
}
.sun-editor p {
  margin: 0 !important;
}
.sun-editor label {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
.sun-editor input[type=checkbox] {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: none;
  margin: 0;
}
.sun-editor .se-dialog .se-dialog-inner .se-dialog-form-footer {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.sun-editor .se-dialog .se-dialog-inner .se-dialog-form-footer label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 13px;
  color: var(--main-color);
}

.retourGallery {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  margin: 1rem auto;
  font-family: "Sahitya", serif;
  font-size: 0.95rem;
  text-decoration: none;
  color: inherit;
  opacity: 0.75;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid hsla(0, 0%, 0%, 0.15);
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.retourGallery:hover {
  opacity: 1;
  background-color: hsla(0, 0%, 0%, 0.05);
}

.retourGallery .ai_icon {
  display: inline-flex;
}

#cart {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#cart h2,
#cart h1 {
  width: 100%;
}
#cart h2:after,
#cart h1:after {
  content: "";
  display: block;
  width: 80%;
  max-width: 300px;
  height: 1px;
  background-color: var(--main-color-lighter);
  margin: 2rem auto 0;
}
#cart h2,
#cart h1 {
  margin: 2rem auto 0 auto;
  text-align: center;
  flex-direction: column;
}
#cart .btn {
  box-sizing: border-box;
  margin: 0 auto;
  width: 100%;
}
#cart .deliveryRow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 400px;
  margin: 1rem auto 4rem auto;
  gap: 1rem;
}
#cart .deliveryRow select {
  margin: 0;
  max-width: 180px;
}
#cart .fdp {
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  opacity: 0.8;
}
#cart .total_tirages,
#cart .total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 400px;
  width: 100%;
  flex-direction: row;
  margin: auto;
}
#cart .total_tirages .total_display,
#cart .total .total_display {
  font-size: 1.2rem;
  font-weight: 700;
}
#cart .total_tirages .sold,
#cart .total .sold {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
#cart .total_tirages .sold .tva_title,
#cart .total .sold .tva_title {
  font-size: 0.8rem;
}
#cart .globalCost {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.itemList {
  margin: 0 auto 2rem auto;
  max-width: 800px;
}

.tirage {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}
.tirage:after {
  content: "";
  display: block;
  width: 80%;
  max-width: 300px;
  height: 1px;
  background-color: var(--main-color-lighter);
  margin: 2rem auto;
}
.tirage:last-child:after {
  display: none;
}
.tirage .sizePreview {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tirage .sizePreview img {
  max-width: 150px;
}
.tirage .sizePreview {
  width: 100%;
  max-width: 200px;
  padding: 1rem;
}
.tirage .sizePreview .formatStyle {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
  margin-bottom: 0.6rem;
}
.tirage .sizePreview .formatIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 150px;
  min-height: 80px;
}
.tirage .sizePreview .formatIcon svg {
  max-width: 150px;
  width: 100%;
  height: auto;
}
.tirage .sizePreview .formatIcon .formatIconFallback {
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.5rem 0.75rem;
  border: solid 1px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  font-size: 0.85rem;
  opacity: 0.75;
}
.tirage .sizePreview .formatLabel {
  text-align: center;
  margin-top: 0.4rem;
}
.tirage .sizePreview .formatLabel .formatName {
  font-weight: 500;
  font-size: 0.9rem;
  opacity: 0.75;
}
.tirage .sizePreview .groupeCounter {
  display: flex;
  flex-direction: row;
  justify-content: end;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  line-height: 1rem;
}
.tirage .sizePreview .groupeCounter span {
  padding: 0 4px;
  font-weight: 700;
}
.tirage .photoList {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.tirage .photoList img {
  border: solid 1px rgba(0, 0, 0, 0.1);
  max-width: 100px;
  width: 100%;
  height: auto;
}
.tirage .photoList .actions {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 10px 5px;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.tirage .photoList .copyQtity {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 0.6rem;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  border: solid 1px #000;
}
.tirage .photoList .itemPreview {
  position: relative;
}
.tirage .photoList .itemPreview a {
  color: #000;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease-in-out;
  height: 24px;
  width: 24px;
}
.tirage .photoList .itemPreview a span {
  font-size: 1.2rem;
}
.tirage .photoList .itemPreview a:hover {
  background-color: rgb(255, 255, 255);
}
.tirage .photoList .itemPreview .cartRemoveAll {
  position: absolute;
  top: 5px;
  left: 5px;
}
.tirage .photoList .itemPreview .cartRemoveAll .ai_icon {
  width: 16px;
  height: 16px;
}
.tirage .photoList .itemPreview .cartRemoveAll .ai_icon svg {
  width: 100%;
  height: 100%;
}
.tirage .photoList .itemPreview .cartRemoveAll:hover .ai_icon {
  color: var(--danger-color);
}
.tirage .photoList .itemPreview .actions .ai_icon {
  margin: 5px;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tirage .photoList .itemPreview .actions .ai_icon svg {
  width: 100%;
  height: 100%;
}

.cartStep {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 340px;
  margin: 2rem auto;
}
.cartStep .step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 70px;
}
.cartStep .step .stepNumber {
  position: relative;
  box-sizing: border-box;
  font-size: 1.5rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--main-color);
  border: solid 2px var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
.cartStep .active .stepNumber {
  background-color: var(--select-color);
  color: #fff;
  border-color: var(--select-color);
}
.cartStep .pass .stepNumber:after {
  content: "";
  display: block;
  width: 95px;
  height: 2px;
  background-color: var(--main-color);
  margin: 0.5rem 0;
  position: absolute;
  left: 38px;
}
.cartStep .previous .stepNumber:after {
  background: linear-gradient(90deg, var(--main-color), var(--select-color));
}
.cartStep .future {
  opacity: 0.5;
}

.ticketItems {
  display: flex;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  justify-content: space-between;
}
.ticketItems .ticket_item {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
.ticketItems .ticket_quantity {
  width: 30px;
  text-align: right;
  font-weight: 700;
}
.ticketItems .item_title {
  text-align: right;
  font-weight: 700;
  display: contents;
}
.ticketItems .tirages {
  width: 50px;
  text-align: left;
}
.ticketItems .item_total,
.ticketItems .item_pu {
  width: 55px;
  text-align: right;
}
.ticketItems .total_payer,
.ticketItems .total_ttc,
.ticketItems .delivery_cost,
.ticketItems .item_total {
  font-weight: 700;
}
.ticketItems .total_payer,
.ticketItems .total_ttc {
  margin-top: 1rem;
  font-size: 1.2rem;
}
.ticketItems .delivery_cost,
.ticketItems .delivery_region {
  margin-top: 1rem;
}
.ticketItems .tva_cost,
.ticketItems .tva {
  font-size: 0.8rem;
}

.stripe-infos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#card-element {
  border: 1px solid var(--main-color-lighter);
  padding: 16px 8px;
  color: var(--main-color-lighter);
}
#card-element iframe {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.14px;
}

#card-errors {
  color: var(--Error, #FF6A6A);
}

@media only screen and (min-width: 1120px) {
  header .nav_container .webTitle {
    display: block;
  }
  dialog#addToCart {
    width: min(90vw, 820px);
    max-width: 820px;
    max-height: 88vh;
    padding: 2rem;
  }
  #addToCart .addToCartIntro {
    margin: 0 -2rem 1.75rem -2rem;
    padding: 0 2rem 1.25rem 2rem;
    font-size: 0.95rem;
  }
  #addToCart .addToCartGrid {
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
  }
  #addToCart .paperSupport,
  #addToCart .paperChoice {
    flex: 1 1 0;
    gap: 1.25rem;
  }
  #addToCart .paperChoice {
    position: sticky;
    top: 0;
    align-self: flex-start;
  }
  #addToCart .paperCard .paperImage img {
    height: 240px;
  }
  #addToCart .paperCard .paperDescriptionWrap {
    padding: 1.25rem;
  }
  #addToCart .previewAddToCart {
    padding: 1.25rem;
  }
  #addToCart .previewAddToCart img {
    max-width: 100%;
    max-height: 180px;
  }
  #addToCart #addToCartBtn {
    margin-top: 0.5rem;
  }
  #cart {
    padding: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: space-around;
    flex-wrap: wrap;
    display: block;
    margin-right: 300px;
  }
  #cart h2, #cart h1 {
    margin-bottom: 2rem;
  }
  #cart .details {
    margin-right: calc(300px + 2rem);
    width: calc(100% - 2rem);
  }
  #cart .tirage {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    justify-content: flex-start;
  }
  #cart .tirage:after {
    display: inline-block;
    position: absolute;
    margin: 1px auto;
    left: calc(50% - 150px);
    bottom: -2rem;
    right: 0;
  }
  #cart .tirage:last-child:after {
    display: none;
  }
  #cart .tirage {
    position: relative;
    margin-bottom: 4rem;
  }
  #cart .tirage .sizePreview .groupeCounter {
    display: block;
    text-align: end;
  }
  #cart .globalCost {
    position: fixed;
    top: 25%;
    right: 3rem;
    width: 100%;
    max-width: 300px;
  }
  .payment_page {
    margin: auto !important;
    max-width: 500px;
  }
  .visionneuse-prev,
  .visionneuse-next {
    display: flex;
  }
  .visionneuse-action .toolDesc,
  .visionneuse-visibility .toolDesc,
  .visionneuse-trash .toolDesc,
  .visionneuse-delete .toolDesc,
  .visionneuse-rotate .toolDesc,
  .visionneuse-close .toolDesc {
    display: block;
  }
  .visionneuse-toolbar {
    height: 110px;
  }
  .action-content .action-counter {
    height: 24px;
    bottom: inherit;
    top: -12px;
  }
  .gallery404Header {
    padding: 0 2rem;
    height: 56px;
  }
  .gallery404Logo {
    gap: 0.5rem;
  }
  .gallery404Logo img {
    width: 24px;
    height: 24px;
  }
  .gallery404Logo span {
    font-size: 0.95rem;
  }
  .gallery404HeaderActions a {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }
  .gallery404Content {
    padding: 2rem;
  }
  .gallery404Content .gallery404Number {
    font-size: 8rem;
    margin-bottom: 1rem;
  }
  .gallery404Content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  .gallery404Content p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  .gallery404Btn {
    padding: 0.7rem 2rem;
    font-size: 0.85rem;
  }
  .gallery404Footer ul {
    gap: 1.5rem;
  }
  .gallery404Footer ul li a {
    font-size: 0.75rem;
  }
  /* ----------------------------------------------------------
     Page selfie — desktop overrides
     ---------------------------------------------------------- */
  .selfie_page_wrapper {
    padding: 0 3rem;
    min-height: calc(100vh - var(--headerMobileHeight) - var(--headerMobileHeight) - var(--footerMobileHeight));
  }
  .retourGallery--top {
    margin: 0 auto 2rem !important;
  }
  .selfie_page_header {
    margin-bottom: 2rem;
  }
  .selfie_page_header h1 {
    font-size: 2rem;
  }
  .selfie_page_intro {
    font-size: 1.05rem;
  }
  .selfie_page_hint {
    font-size: 0.9rem;
  }
  /* ----------------------------------------------------------
     Modales reconnaissance faciale — desktop overrides
     ---------------------------------------------------------- */
  .facesRecognitionGallery,
  .faceDisclaimerModal {
    width: min(92vw, 500px);
    max-width: 500px;
  }
  .facesRecognitionGallery .face-modal-hero,
  .faceDisclaimerModal .face-modal-hero {
    padding: 2.25rem 1.5rem 1.25rem;
    gap: 0.75rem;
  }
  .facesRecognitionGallery .face-modal-hero-icon,
  .faceDisclaimerModal .face-modal-hero-icon {
    width: 72px;
    height: 72px;
  }
  .facesRecognitionGallery .face-modal-hero-icon .ai_icon,
  .faceDisclaimerModal .face-modal-hero-icon .ai_icon {
    width: 36px;
    height: 36px;
  }
  .facesRecognitionGallery .face-modal-title,
  .faceDisclaimerModal .face-modal-title {
    font-size: 1.3rem;
  }
  .facesRecognitionGallery .face-modal-subtitle,
  .faceDisclaimerModal .face-modal-subtitle {
    font-size: 0.95rem;
  }
  .facesRecognitionGallery .face-modal-body,
  .faceDisclaimerModal .face-modal-body {
    padding: 0.75rem 1.75rem 1.75rem;
    gap: 1.15rem;
  }
  .facesRecognitionGallery .face-modal-body--privacy,
  .faceDisclaimerModal .face-modal-body--privacy {
    padding: 1rem 1.75rem 1.75rem;
  }
  .facesRecognitionGallery .face-modal-body--privacy p,
  .faceDisclaimerModal .face-modal-body--privacy p {
    font-size: 0.92rem;
  }
  .facesRecognitionGallery .previous-selfies-section,
  .faceDisclaimerModal .previous-selfies-section {
    padding: 0 1.75rem 1.75rem;
  }
}

/*# sourceMappingURL=style.css.map */
