.mejs-container {
  direction: ltr;
  border-radius: 12px;
  overflow: hidden;
}

.editor-content em {
  font-style: italic;
}

.editor-content code,
.editor-content pre {
  display: block;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
  background: #1e1e1e;
  color: var(--c-white);
  border-radius: var(--br-20);
  padding: 1rem 2.4rem;
  white-space: pre;
  font-size: var(--fs-14);
  font-family: monospace;
  box-shadow: 0 19px 24px 0px #0000001a;
  line-height: 1.8;
}

code {
  direction: ltr;
  width: 100%;
  text-align: left;
  display: block;
}

.editor-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 0));
  gap: 1rem;
  justify-content: center;
}

.desktop .editor-gallery {
  grid-template-columns: repeat(auto-fit, minmax(13%, 0));
}

/* .editor-content *:not([class*="mejs"], button):first-child {
  margin-top: 0;
} */
/* .editor-content :is(h1, h2, h3, h4, h5, h6):first-child {
  padding-top: 0;
} */
/* .editor-content *:not([class*="mejs"], button):last-child {
  margin-bottom: 0;
} */

.editor-content img:not(.img_gallery, .bg-cta-m,.wp-post-image) {
  max-width: 100%;
  border-radius: 3.2rem;
  /*background: var(--c-neutral-50);*/
}

.section--editor #websima-cta-content:only-child {
  margin-top: 0;
  margin-bottom: 0;
}

.sw-auto-center .swiper-slide {
  height: auto;
  width: 14.5rem;
}

.tabs-nav {
  display: flex;
  position: relative;
}

.tabs-nav::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 10px;
  background-color: var(--bg-neutral-300);
  pointer-events: none;
  height: 4px;
}

.tabs-nav .tablinks {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  position: relative;
  padding: 0 1rem 2rem;
  font-weight: bold;
  font-size: var(--fs-18);
  transition: 0.3s ease-out;
}

.tabs-nav .tablinks img {
  max-width: 3.5rem;
  height: auto;
  filter: brightness(0);
}

[data-theme="dark"] .tabs-nav .tablinks img {
  filter: brightness(0) invert(1);
}

.tabs-nav .tablinks.active img {
  filter: brightness(0) saturate(100%) invert(42%) sepia(94%) saturate(5329%) hue-rotate(327deg) brightness(89%) contrast(97%);
  -webkit-filter: brightness(0) saturate(100%) invert(42%) sepia(94%) saturate(5329%) hue-rotate(327deg) brightness(89%) contrast(97%);
}

.tabs-nav .tablinks.active {
  color: var(--c-primary);
}

.editor__editor {
  font-size: var(--fs-editor);
  line-height: 2.4;
}

.tab-content__editor {
  line-height: 2.4;
  padding: 3rem 0 0;
  font-size: var(--fs-editor);
}

.tabs-nav .tablinks::before {
  content: "";
  position: absolute;
  bottom: 0;
  height: 4px;
  left: 0;
  right: 0;
  border-radius: 10px;
  opacity: 0;
  background-color: var(--c-primary);
  transition: var(--anim);
  z-index: 2;
}

.tabs-nav .tablinks.active::before {
  opacity: 1;
}

.sw--gallery {
  padding: 0 0 2rem;
}
.sw--gallery .swiper-slide {
  width: 15.8rem;
}

.gallery_item:hover a:after {
  opacity: 1;
}
.gallery_item:hover a::before {
  opacity: 0.6;
}
.grid-cols.cols--gallery .swiper-wrapper {
  grid-auto-columns: min(16rem, 100%);
}
.gallery_item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
}

.gallery_item img {
  transition: var(--anim);
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 24px;
  aspect-ratio: 1/1;
  -webkit-filter: blur(0px);
  filter: blur(0px);
}

.gallery_item+p {
  text-align: center;
  margin-top: 1.4rem;
  font-size: var(--fs-15);
  font-weight: bold;
}

.gallery_item:after {
  content: "\e91e";
  font-family: "websimaIcon";
  position: absolute;
  inset: 0;
  width: 37px;
  height: 37px;
  font-size: 37px;
  line-height: 1;
  margin: auto;
  transition: 0.4s;
  z-index: 1;
  color: #fff;
  opacity: 0;
  pointer-events: none;
}

.gallery_item:before {
  height: 100%;
  opacity: 0;
  content: "";
  position: absolute;
  background: #1BD2A74D;
  backdrop-filter: blur(8px);
  inset: 0;
  margin: auto;
  transition: 0.4s;
  z-index: 1;
  pointer-events: none;
}
.gallery_item:hover:after,
.gallery_item:hover:before {
  opacity: 1;
}
.gl--box {
  margin: 2rem 0 4rem !important;
}

/* .gallery_item:hover .caption {
  border: 1px solid var(--c-primary-light1);
  color: var(--c-primary-light1);
} */
.sw-gallery {
  /* margin-top: 3.2rem; */
  /* margin-bottom: 3.2rem; */
}

.alignleft,
.alignright {
  float: none;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.aligncenter {
  text-align: center;
  display: block;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.blockquote {
  position: relative;
}

.editor-content li :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 0;
  display: inline;
  line-height: 1.5;
}

/* .editor-content {
  text-align: justify;
} */
img.alignnone {
  margin: 0 .5rem;
}

.editor-content :is(h3, h4, h5, h6) {
  line-height: 2;
}

.editor-content :is(h1, h2) {
  line-height: 1.8;
}

/* .editor-content ul > li > :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 0;
  padding: 0;
} */
.editor-content h1 {
  font-size: var(--fs-26);
}

.editor-content h2 {
  font-size: var(--fs-24);
}

.editor-content h3 {
  font-size: var(--fs-22);
}

.editor-content h4 {
  font-size: var(--fs-20);
}

.editor-content h5 {
  font-size: var(--fs-18);
}

.editor-content h6 {
  font-size: var(--fs-16);
}

.editor-content ul,
.editor-content ol {
  /* margin-bottom: 1rem; */
  /* margin-top: 2rem; */
}

.editor-content ul:not(.acf-checkbox-list, .acf-radio-list, .acf-bl) li {
  margin-bottom: 0.5rem;
  list-style: disc;
  list-style-position: inside;
  text-indent: -2rem;
  padding-right: 2rem;
}

.editor-content ul li::marker {
  color: var(--c-primary);
  line-height: 1;
  font-size: 20px;
}

.comment-single li::marker {
  content: none;
}

.editor-content .wp-caption-text {
  text-align: center;
}

.editor-content .wp-caption {
  width: auto !important;
}

.editor-content a:not(.btn, .acf-icon, .button, .title, .product-card__img,.product-card__cart) {
  color: var(--c-primary);
  display: inline;
  vertical-align: middle;
}

.editor-content a:not(.btn, .acf-icon, .button, .title,.product-card__img,.product-card__cart):hover {
  color: var(--c-primary-200);
}

.editor-content strong {
  font-weight: bold;
}

.editor-content blockquote {
  padding: 4rem min(6rem, 4vw) 2.5rem;
  background: var(--c-primary);
  position: relative;
  display: block;
  margin: 5rem 0 2rem !important;
  isolation: isolate;
  border-radius: 24px;
  text-align: center;
  color: #fff;
}

[data-theme="dark"] .editor-content blockquote {
  background: var(--c-neutral-800);
}

.editor-content blockquote::before {
  content: "";
  position: absolute;
  background-image: url(../../img/qoute.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 0;
  width: 57px;
  height: 57px;
  pointer-events: none;
}

.editor-content ol {
  list-style: none;
  margin-left: 0;
  padding: 0;
}

.editor-content ol li {
  counter-increment: item;
  position: relative;
  margin-bottom: 1rem;
  text-indent: -2rem;
  padding-right: 2rem;
}

.editor-content ol li:before {
  content: counter(item) ".";
  color: var(--c-primary);
  padding-left: 1rem;
  font-size: var(--fs-18);
  line-height: 1;
  
}

hr {
  border: 1px solid #ccc;
}

.editor-wrapper {
  padding: 0 var(--space-md-x);
}

.editor-content>*+* {
  margin-top: 2rem;
  clear: both;
}

.editor-content .wp-video {
  display: block;
  border-radius: 3.2rem;
  margin-inline: auto;
  max-width: 100% !important;
  overflow: hidden;
}

.editor-content .wp-video video {
  width: min(85rem, 100%);
  margin-right: auto;
  margin-left: auto;
  border-radius: 3.2rem;
}
.editor-content.main-content table:not(.acf-table) {
  border-collapse: collapse;
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: block;
  width: 100%;
  overflow-x: auto;
  display: block;
  -webkit-overflow-scrolling: auto;
  scrollbar-color: var(--c-primary) #C2D2E4;
  scrollbar-width: thin !important;
  border-bottom: 0;
}
.editor-content.main-content table:not(.acf-table) th,
.editor-content.main-content table:not(.acf-table) td {
  white-space: nowrap;
  padding: 1.125rem 1rem;
  font-size: 14px;
  text-align: right;
  line-height: 1;
  border-radius: 16px;
  background: #FAFBFF;
  border: 10px solid #fff;
  color: #02021E;
}
td .icon-check {
  color: var(--c-primary);
}

.editor-content.main-content table:not(.acf-table) td p {
  margin: 0 !important;
}
/* When the table has a <thead>, style its th only */
.editor-content.main-content table:not(.acf-table) thead tr:first-child th {
  box-shadow: 0px 0px 100.26px 0px #17006a inset;
  font-weight: 600;
  color: #fff;
  background: #fff;
}

/* When the table does NOT have a <thead>, style the first row of tbody */
.editor-content.main-content table:not(.acf-table):not(:has(thead)) tbody tr:first-child :is(td, th) {
  box-shadow: 0px 0px 100.26px 0px #17006a inset;
  font-weight: 600;
  color: #fff;
  background: #fff;
}

.editor-content.main-content table:not(.acf-table) :is(tbody, thead) {
  /*display: table;*/
  width: 100%;
}
.editor-content.main-content table tr th:last-child,
.editor-content.main-content table tr td:last-child {
  border-right: none;
}
.editor-content.main-content table tr th:first-child,
.editor-content.main-content table tr td:first-child {
  border-left: none;
}

/* width */
.editor-content.main-content table::-webkit-scrollbar {
  height: 4px !important;
  width: 3px !important;
}

/* Track */
.editor-content.main-content table::-webkit-scrollbar-track {
  background: #eae8e4 !important;
  height: 4px !important;
}

/* Handle */
.editor-content.main-content table::-webkit-scrollbar-thumb {
  background: rgb(123, 123, 123) !important;
  height: 4px !important;
}

/* Handle on hover */
.editor-content.main-content table::-webkit-scrollbar-thumb:hover {
  background: var(--c-primary);
}
.editor-content.main-content table:not(.acf-table) {
    border-collapse: collapse;
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: block;
    width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: auto;
    scrollbar-color: var(--c-primary) #C2D2E4;
    scrollbar-width: thin !important;
    border-bottom: 0;
}
.editor-content.main-content table:not(.acf-table) th,
.editor-content.main-content table:not(.acf-table) td {
  white-space: nowrap;
  padding: 16px 20px;
  font-size: 14px;
  text-align: right;
  line-height: 1;
  border-radius: 16px;
  background: #E0E1E4;
  border: 10px solid #fff;
  color: #02021E;
}
td .icon-check {
    color: var(--c-primary);
}

.editor-content.main-content table:not(.acf-table) td p {
    margin: 0 !important;
}
/* When the table has a <thead>, style its th only */
.editor-content.main-content table:not(.acf-table) thead tr:first-child th {
    box-shadow: 0px 0px 29.26px 0px #0533E61A inset;
    font-weight: 600;
    background: #E8EBFA1A;
}

/* When the table does NOT have a <thead>, style the first row of tbody */
.editor-content.main-content table:not(.acf-table):not(:has(thead)) tbody tr:first-child td {
    box-shadow: 0px 0px 29.26px 0px #0533E61A inset;
    font-weight: 600;
    background: #E8EBFA1A;
}

.editor-content.main-content table:not(.acf-table) :is(tbody, thead) {
    /*display: table;*/
    width: 100%;
}
.editor-content.main-content table tr th:last-child,
.editor-content.main-content table tr td:last-child {
    border-right: none;
}
.editor-content.main-content table tr th:first-child,
.editor-content.main-content table tr td:first-child {
    border-left: none;
}

/* width */
.editor-content.main-content table::-webkit-scrollbar {
    height: 4px !important;
    width: 3px !important;
}

/* Track */
.editor-content.main-content table::-webkit-scrollbar-track {
    background: #eae8e4 !important;
    height: 4px !important;
}

/* Handle */
.editor-content.main-content table::-webkit-scrollbar-thumb {
    background: rgb(123, 123, 123) !important;
    height: 4px !important;
}

/* Handle on hover */
.editor-content.main-content table::-webkit-scrollbar-thumb:hover {
    background: var(--c-primary);
}

/**************************/
/* forms */
/**************************/

.form-pattern :is(input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  textarea,
  select,
  .select2) {
  font-family: inherit;
  padding: 1.6rem 2.1rem;
  height: 6.4rem;
  background-color: var(--bg-neutral-200);
  border: 1px solid var(--br-neutral-200);
  transition: 0.3s var(--ease2);
  width: 100%;
  /* margin-bottom: 1rem; */
  text-overflow: ellipsis;
  position: relative;
  display: block;
  border-radius: 1.4rem;
  color: var(--text-black);
  font-size: var(--fs-16);
}

/* .form-pattern
  :is(
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="password"],
    input[type="url"]
  ) {
  direction: ltr;
} */
.form-pattern form.submitted :is(input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  textarea,
  select,
  .select2):invalid:required {
  border-color: var(--danger);
}

.form-pattern textarea {
  height: 16.8rem !important;
  padding-top: 2.5rem !important;
}

.form-pattern :is(input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  textarea,
  select,
  .select2):focus-visible {
  border-color: var(--c-primary);
}

.form-pattern :is(input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  textarea,
  select,
  .select2):focus-visible::-webkit-input-placeholder {
  color: var(--c-primary);
}

.form-pattern :is(input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  textarea,
  select,
  .select2):focus-visible::-moz-placeholder {
  color: var(--c-primary);
}

.form-pattern :is(input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  textarea,
  select,
  .select2):focus-visible:-ms-input-placeholder {
  color: var(--c-primary);
}

.form-pattern :is(input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  textarea,
  select,
  .select2):focus-visible::placeholder {
  color: var(--c-primary);
}

.form-pattern :is(textarea, input)::-webkit-input-placeholder {
  color: var(--text-neutral-550);
  font-size: var(--fs-16);
  transition: 0.3s var(--ease2);
}

.form-pattern :is(textarea, input)::-moz-placeholder {
  color: var(--text-neutral-550);
  font-size: var(--fs-16);
  transition: 0.3s var(--ease2);
}

.form-pattern :is(textarea, input):-ms-input-placeholder {
  color: var(--text-neutral-550);
  font-size: var(--fs-16);
  transition: 0.3s var(--ease2);
}

.form-pattern :is(textarea, input)::placeholder {
  color: var(--text-neutral-550);
  font-size: var(--fs-16);
  transition: 0.3s var(--ease2);
}

.form-pattern label {
  line-height: 1;
  display: inline-block;
  margin-bottom: 1.3rem;
  font-size: var(--fs-18);
  transition: 0.3s var(--ease2);
}

.form-pattern label.error {
  font-size: var(--fs-12);
  color: var(--danger);
  display: block;
  padding: 1rem;
  margin-bottom: 0;
}

.form-pattern input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 23px;
  width: 23px;
  outline: none;
  cursor: pointer;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
}

.form-pattern input[type="checkbox"]::before {
  content: "";
  width: 14px;
  height: 14px;
  transform: scale(0);
  background-color: var(--c-red);
  transition: 120ms transform ease-in-out;
  transform-origin: bottom left;
  -webkit-clip-path: polygon(14% 44%,
      0 65%,
      50% 100%,
      100% 16%,
      80% 0%,
      43% 62%);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.form-pattern input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.form-pattern input[type="radio"]:checked {
  border: 2px solid var(--c-red) !important;
  box-sizing: border-box !important;
  background: var(--c-red) !important;
  box-shadow: inset 0 0px 0px 4px #fff !important;
}

.form-pattern input[type="radio"] {
  height: 23px;
  width: 23px;
  border-radius: 50%;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  border: 2px solid #ccc;
  margin-left: 7px;
  vertical-align: middle;
}

.form-pattern input:-webkit-autofill,
.form-pattern input:-webkit-autofill:active,
.form-pattern input:-webkit-autofill:hover,
.form-pattern input:-webkit-autofill:focus {
  -webkit-animation-name: autofill;
  -webkit-animation-delay: 1s;
  -webkit-animation-fill-mode: both;
  -webkit-box-shadow: 0 0 0 100px var(--c-neutral-000) inset !important;
  -webkit-box-shadow: none;
}

/* **********************************************************
* amir css start here
* ********************************************************** */
.section--editor .editor-content.main-content {
  border: 1px solid #EAE9ED;
  border-radius: 3.2rem;
  padding: 2.8rem 2.4rem;
}

.section--editor .mx-lg-auto {
  margin-left: auto;
  margin-right: auto;
}
/* **********************************************************
* amir css end here
* ********************************************************** */