/*
Theme Name: Demetra 2024
Theme URI: http://www.meloria.com
Author: Meloria
Author URI: http://www.meloria.com
Description: Blank Child Theme for Meloria Default (Classic) Theme
Template: meloriadefault
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: four-columns, right-sidebar, full-width-template
Text Domain: demetratheme
*/

/**
 * Table of Contents:
 *
 * 1.0 - Defaults
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 *   4.1 - Site Header
 *   4.2 - Navigation
 * 5.0 - Content
 *   5.1 - Entry Header
 *   5.2 - Entry Meta
 *   5.3 - Entry Content
 *   5.4 - Galleries
 *   5.5 - Post Formats
 *   5.6 - Attachments
 *   5.7 - Post/Paging Navigation
 *   5.8 - Author Bio
 *   5.9 - Archives
 *   5.10 - Search Results/No posts
 *   5.11 - 404
 *   5.12 - Comments
 *   5.13 - Multisite
 * 6.0 - Sidebar
 *   6.1 - Widgets
 * 7.0 - Footer
 * 8.0 - Media Queries
 * 9.0 - Print
 * ----------------------------------------------------------------------------
 */

 :root {
  --primary-pink: #df9491;
  --btn-pink: #ffb7ae;
  --pink-dark: #df9491;
  --grey-light: #f1f4f5;
  --grey-text: #86939a;
  --grey-dark: #222;
  --header-bg: #fefeff;
}
body {
  font-family: "Manrope", sans-serif !important;
  line-height: 170%;
}
.fw-bold {
  font-weight: 600 !important;
}
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  transition: top 0.3s;
}
#page a:not(.btn),
footer a:not(.btn) {
  color: var(--grey-dark) !important;
}
.nav-link:focus-visible{
  box-shadow: none;
}
.slider-trattamenti .btn.btn-tertiary {
  background-color: transparent !important;
  border-color: #fff !important;
  padding: 7px 20px !important;
  color: #fff !important;
}
/**
 * 1.0 Defaults
 * ----------------------------------------------------------------------------
 */
details summary::-webkit-details-marker {
  display: none;
}
.ez-toc-debug-messages {
  display: none;
}
.single-post .entry-content #ez-toc-container {
  display: none !important;
}
.bg-greylight,
.bg-mapcard {
  background-color: var(--grey-light) !important;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--grey-light);
}

/*Thank You Page*/

.progress-bar-typ .tb-progress-bar-bg,
.progress-bar-typ .tb-progress-bar{
  height: 5px;
  border-radius: 6px;
}
/*End*/
/**
 * 2.0 Repeatable Patterns
 * ----------------------------------------------------------------------------
 */

.step-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.form-control:focus,
.form-select:focus{
  box-shadow: 0 0 0 .25rem rgba(255, 183, 174, .50);
  border-color: var(--primary-pink);
}
/* Accordions */

article details {
  padding: 25px 0px 25px 0px;
  border-bottom: solid 1px #e3e9eb;
}
.post-type-archive-bundle article details {
  border-bottom: none;
}

.bundle-rate span:nth-child(1){
font-weight: 600;
}
article details > summary {
  display: flex;
}

article details > summary::before {
  font-family: "Bootstrap-icons";
  font-size: 16px;
  line-height: 28px;
  content: "\F4FE";
  border: solid 1px var(--btn-pink);
  border-radius: 5px;
  width: 30px;
  height: 30px;
  margin: 0px 25px 0px 0px;
  text-align: center;
  transition: 0.2s;
}

article details[open] > summary::before {
  content: "\F2EA";
}

.slider-container {
  position: relative;
  overflow: hidden;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider-trattamenti .card {
  min-height: 300px !important;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: url('/wp-content/uploads/2024/05/next-arrow.svg') !important;
}
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: url('/wp-content/uploads/2024/05/arrow-prev.svg') !important;
}
.swiper-button-next.why:after,
.swiper-rtl .swiper-button-prev.why:after,
.swiper-button-next.testimonial:after,
.swiper-rtl .swiper-button-prev.testimonial:after {
  content: url('/wp-content/uploads/2024/05/arrow-next-white.svg') !important;
}
.swiper-button-prev.why:after,
.swiper-rtl .swiper-button-next.why:after,
.swiper-button-prev.testimonial:after,
.swiper-rtl .swiper-button-next.testimonial:after {
  content: url('/wp-content/uploads/2024/05/arrow-prev-white.svg') !important;
}
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 0%;
  /* transform: translateY(-0%); */
  z-index: 10;
  line-height: 40px;
  cursor: pointer;
}
.swiper-button-prev {
  left: 1rem !important;
  margin-left: 20px;
}
.swiper-button-next {
  right: 1rem !important;
  margin-right: 20px;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.d-overlay {
  content: url('/wp-content/uploads/2024/05/d-overlay.webp');
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  object-fit: cover;
  object-position: bottom;
}
.d-overlay-mobile {
  content: url('/wp-content/uploads/2024/05/d-overlay-mobile.svg');
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  object-fit: cover;
  object-position: top;
}
.d-overlay-mobile-treatment {
  content: url('/wp-content/uploads/2024/06/overlay-treatment.webp');
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  object-fit: cover;
  object-position: top;
}
#prenota-banner{
  position: fixed;
  bottom: 0;
  height: 100px;
  width: 100%;
  z-index: 3;
  background-color: #fff;
  gap: 24px;
}
.swiper-slide.why {
  text-align: center;
  font-size: 18px;
  min-height: 350px;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.swiper-container {
  overflow: hidden;
}
.swiper-scrollbar {
  position: relative !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
}
.swiper-scrollbar-drag {
  background-color: #ffffff !important;
}

.swiper-scrollbar-drag:before {
  content: "";
  background-color: #ffffff;
  position: absolute;
  left: -106vh;
  top: 0;
  height: 100%;
  width: 119vh;
  z-index: 10;
}
.btn-primary {
  padding: 10px 30px !important;
  background-color: var(--btn-pink) !important;
  box-shadow: 2px 4px 6px 0px rgba(89, 41, 30 0.1);
  border-color: var(--btn-pink) !important;
}
.btn-primary:hover {
  background-color: var(--pink-dark) !important;
}
.btn-primary:disabled {
  background-color: #d5dfe0 !important;
}
.btn-tertiary {
  color: #fff !important;
  border-color: #fff !important;
}
.btn-quaternary {
  background-color: #fff !important;
  color: var(--grey-dark) !important;
  border-color: var(--btn-pink) !important;
}
.store-container .btn-navbar {
  padding: 15px 20px !important;
}

.widget-list-item a {
  color: var(--grey-dark) !important;
  font-size: 16px;
  text-decoration: none !important;
}
footer .sub-item a {
  color: var(--grey-dark) !important;
  font-weight: 400 !important;
  font-size: 16px;
  text-decoration: none !important;
}
@keyframes slideIn {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.card.slide-in {
  animation: slideIn 1s ease forwards; /* Animazione */
}

.card.slide-in-delay {
  animation-delay: 0s; /* Resetta il ritardo */
}

/* Address Info */

div.adr span + span:before {
  content: " ";
}

div.adr span.postal-code:before {
  content: ", ";
}

/* Contact Info */

div.tel span > span + span:before {
  content: ", ";
}

/**
 * 3.0 Basic Structure
 * ----------------------------------------------------------------------------
 */

.btn {
  font-weight: 700 !important;
  padding: 15px 30px;
}
.btn-tertiary {
  background-color: #fff !important;
  color: #222 !important;
}
.btn-secondary {
  padding: 6px 15px !important;
  background-color: transparent !important;
  border-color: #fff !important;
  color: #fff !important;
}

/**
 * 4.0 Header
 * ----------------------------------------------------------------------------
 */
#navbar_top.fixed-top {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

/**
 * 4.1 Site Header
 * ----------------------------------------------------------------------------
 */

img.custom-logo {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}
.bi.bi-geo-alt {
  font-size: 22px;
  background-color: var(--btn-pink);
  padding: 8px 12px;
  border-radius: 50%;
}

.site-header .widget {
  font-size: 14px;
}

.site-header .widget a {
  text-decoration: none;
}

.site-header .widget ul {
  list-style-type: none;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  display: inline-flex;
  align-items: center;
}

#header-top-right {
  text-align: right;
}

.site-header .widget a.call-icon {
  display: inline-flex;
  font-weight: 600;
}

.site-header .widget a.call-icon:before {
  font-family: "Bootstrap-icons";
  content: "\F5C1";
  font-size: 16px;
  margin: 0px 16px 0px 0px;
  font-weight: normal;
  color: var(--primary-pink);
}

.site-header .widget li {
  margin: 0px 12px 0px 12px;
  padding: 0px 0px 0px 0px;
}

.site-header .widget li:last-child {
  /*margin: 0px 24px 0px 12px;*/
  padding: 0px 0px 0px 0px;
}

#menu-social-links a {
	z-index: 10;
	position: relative;
}

#menu-social-links a span {
  display: none;
}

#menu-social-links li a:before {
  display: inherit;
  /*content: '';*/
  width: 16px;
  height: 16px;
  /*background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;*/
}

#menu-social-links li a[href^="https://www.facebook.com"]:before
{
  /*background-image:url('assets/images/icons/demetra-facebook.svg');*/
  font-family: "Dashicons";
  font-size: 15px;
  content: "\f305";
}

#menu-social-links li a[href^="https://x.com"]:before
{
  /*background-image:url('assets/images/icons/demetra-x.svg');*/
  font-family: "Bootstrap-icons";
  font-size: 13.5px;
  content: "\F8DB";
}

/**
 * 4.2 Navigation
 * ----------------------------------------------------------------------------
 */

/* Bootstrap NavBar */

#DemetraNavBar .sub-menu {
  background-color: var(--header-bg) !important;
}

#DemetraNavBar .sub-menu,
#DemetraNavBar .sub-menu li {
  border: none !important;
}

/* Tabbed Navigation */

main nav a {
  text-decoration: none;
  display: block;
}

/* main nav.meloria-taxonomy-menu-tag li a,
main nav.meloria-taxonomy-menu ul {
  background-color: var(--grey-light);
} */

main nav.meloria-taxonomy-menu-tag li a,
main nav.meloria-taxonomy-menu li a {
  font-weight: 600;
}

main nav.meloria-taxonomy-menu-tag ul {
  list-style-type: none;
  margin: 0px 0px 0px 0px;
  padding: 6px;
}
main nav.meloria-taxonomy-menu-tag li {
  text-transform: uppercase;
  display: inline-flex;
  margin: 0px 0px 10px 0px;
  padding: 0px 0px 0px 0px;
}

main nav.meloria-taxonomy-menu-tag li a {
  padding: 10px 20px;
  border-radius: 29px;
  font-size: 14px;
}

main nav.meloria-taxonomy-menu ul {
  list-style-type: none;
  margin: 0px 0px 0px 0px;
  padding: 6px;
  display: flex;
  align-items: center;
  border-radius: 83px;
  height: max-content;
}

main nav.meloria-taxonomy-menu li {
  height: max-content;
}

main nav.meloria-taxonomy-menu li a {
  padding: 12px 42px;
  border-radius: 29px;
}

main nav.meloria-taxonomy-menu li.current a,
main nav.meloria-taxonomy-menu li a:hover,
main nav.meloria-taxonomy-menu-tag li.current a,
main nav.meloria-taxonomy-menu-tag li a:hover {
  background-color: var(--btn-pink);
}

/**
 * 5.0 Content
 * ----------------------------------------------------------------------------
 */
.container.main-form p {
  margin-bottom: 0;
}
.treatments-mobile-slider {
  min-height: 850px;
}
.treatments-mobile-slider
  .swiper-pagination-bullet.swiper-pagination-bullet-active,
.slider-trattamenti .swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper.mini-team .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 31px !important;
  border-radius: 10px;
  background-color: var(--btn-pink);
  opacity: 1;
}
.treatments-mobile-slider .swiper-pagination-bullet,
.slider-trattamenti .swiper-pagination-bullet,
.swiper.mini-team .swiper-pagination-bullet {
  background: transparent;
  border: 2px solid var(--btn-pink);
  opacity: 0.5;
  width: 8px;
  height: 8px;
}
.treatments-mobile-slider .swiper-slide {
  display: flex;
  justify-content: center;
  text-align: start;
  align-items: start;
  flex-direction: column;
  gap: 24px;
}
.slider-trattamenti .swiper-slide {
  display: flex;
  justify-content: center;
  text-align: start;
  align-items: center;
  flex-direction: column;
}
.treatments-mobile-slider .swiper-slide span {
  background-color: var(--btn-pink);
  padding: 6px 15px;
  border-radius: 6px;
  font-weight: 600;
}
.treatments-mobile-slider img {
  height: 300px;
  border-radius: 6px;
}
.treatments-class input {
  padding: 12px 24px;
  border-color: #99a8aa !important;
}
.treatments-class input::placeholder,
.treatments-class textarea::placeholder {
  color: #99a8aa;
}

.stripe-prenotazione .first-card,
.stripe-prenotazione .second-card {
  position: relative;
  height: 350px;
}
.stripe-prenotazione .first-card::before,
.stripe-prenotazione .second-card::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  opacity: 0.7;
  background: linear-gradient(
    28deg,
    rgba(0, 0, 0, 1) 18%,
    rgba(0, 0, 0, 0) 81%
  );
  border-radius: 6px;
}
.single-service h2 {
  padding-bottom: 32px;
}
/*Risultati*/
.tab-risultati .current {
  border-bottom: none !important;
}
.legenda .image-wrap {
  margin-right: 10px;
}
.treatments-class label {
  margin-bottom: 8px;
  margin-top: 24px;
}
/*End*/

/*single team*/
.card-title.entry-title {
  margin-bottom: 24px;
}

/*end*/
/* Cerchietti 
@property --percentage {
    syntax: "<integer>";
    initial-value: 0;
    inherits: false;
  }
  
  .counter {
    animation: counter 1s ease-out;
    animation-fill-mode: forwards;
    counter-reset: num var(--percentage);
  }
  .counter::before {
    content: counter(num) "%";
  }
  .counter p {
    margin-top: 30px;
  }
  
  @keyframes counter {
    from {
      --percentage: 0;
    }
    to {
      --percentage: var(--counter-end);
    }
  }
  .percentage-chart {
    width: 200px;
    height: 200px;
    position: relative;
  }
  .percentage-chart svg {
    max-width: 88px;
  }
  .percentage-chart-bg {
    fill: none;
    stroke: var(--grey-light);
    stroke-width: 4;
  }
  
  .percentage-chart-stroke {
    fill: none;
    stroke-width: 4;
    stroke: var(--primary-pink);
    stroke-linecap: round;
    animation: progress 1.5s ease-out;
  }
  
  @keyframes progress {
    0% {
      stroke-dasharray: 0 100;
    }
  }
  
  .time-breakdown {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .time-breakdown-chart {
    display: flex;
  }
  .counter p {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
  } 
   End Circle */
.tb_counter_stroke {
  stroke-linecap: round;
}

.wpcf7-spinner {
  display: none;
}
/**
 * 5.1 Entry Header
 * ----------------------------------------------------------------------------
 */
.hentry {
  padding-top: 0 !important;
}

/**
 * 5.2 Entry Meta
 * ----------------------------------------------------------------------------
 */
.dropdown-toggle::after {
  content: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDE0IDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGlkPSJWZWN0b3IiIGQ9Ik0xIDAuNDk5OTk5TDcgNi41TDEzIDAuNSIgc3Ryb2tlPSIjMjIyMjIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==');
  border: none;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
}

#nav_menu-5 {
  display: flex;
  justify-content: end;
}
/**
 * 5.3 Entry Content
 * ----------------------------------------------------------------------------
 */

/**
 * 5.4 Galleries
 * ----------------------------------------------------------------------------
 */

/**
 * 5.5 Post Formats
 * ----------------------------------------------------------------------------
 */
.entry-table-of-contents {
  padding: 24px;
  background-color: var(--grey-light);
  border-radius: 6px;
  margin: 40px 0;
}
.archive.tag .meloria-taxonomy-menu-tag {
  display: none !important;
}
#ez-toc-container {
  margin-top: 16px;
}
#archives-2 {
  display: none;
}
.back-to-blog-container {
  padding: 40px 0px;
}
.back-to-blog-container h6 {
  font-size: 16px;
  font-weight: 600;
}
.back-to-blog {
  background-color: var(--btn-pink);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  max-width: 200px;
  padding: 10px 20px;
  border-radius: 42px;
  text-align: center;
}

/*FAQ*/
/*.post-type-archive-meloriatheme_faq h1.archive-title {
  text-align: center;
  font-size: 39px !important;
  font-weight: 400 !important;
  margin-bottom: 21px;
  margin-top: 60px;
}
.post-type-archive-meloriatheme_faq .entry-header {
  display: flex;
  justify-content: start;
  align-items: center;
  background-image: url('/wp-content/uploads/2024/06/demetra_blog_header.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  padding-left: 90px;
  position: relative;
}*/
/**
 * 5.6 Attachments
 * ----------------------------------------------------------------------------
 */

/**
 * 5.7 Post/Paging Navigation
 * ----------------------------------------------------------------------------
 */

/**
   * 5.8 Author Bio
   * ----------------------------------------------------------------------------
   */

/**
   * 5.9 Archives
   * ----------------------------------------------------------------------------
   */

/*Slider team*/
#meloria-common-part-4666 .btn-primary {
  color: var(--grey-dark);
}
.slider-container.mini-team {
  max-width: 1120px;
  width: 100%;
  padding: 40px 0;
}
.slider-container.mini-team .slider-content {
  overflow: hidden;
}
.slider-container.mini-team .card {
  background-color: #fff;
  border: none;
}
.slider-container.mini-team .image-content {
  align-items: center;
}
.slider-container.mini-team .card-content {
  align-items: start;
}
.slider-container.mini-team .image-content,
.slider-container.mini-team .card-content {
  padding: 10px 14px;
  min-height: 115px;
  display: flex;
  flex-direction: column;
}
.slider-container.mini-team .image-content {
  position: relative;
  row-gap: 5px;
  padding: 0;
}
.slider-container.mini-team a {
  text-decoration: none !important;
}
.slider-container.mini-team .card-image {
  position: relative;
  width: 100%;
  background-color: #fff;
}
.slider-container.mini-team .card-image .card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
}
.slider-container.mini-team .name {
  font-size: 18px;
  font-weight: 600;
  text-align: start;
}
.slider-container.mini-team .description {
  font-size: 14px;
  text-align: start;
}

.slider-container.mini-team .swiper-navBtn {
  color: #6e93f7;
  transition: color 0.3s ease;
}
.slider-container.mini-team .swiper-navBtn:hover {
  color: #4070f4;
}
.slider-container.mini-team .swiper-navBtn::before,
.slider-container.mini-team .swiper-navBtn::after {
  font-size: 40px;
}
.slider-container.mini-team .swiper-button-next {
  right: 0;
}
.slider-container.mini-team .swiper-button-prev {
  left: 0;
}
.slider-container.mini-team .swiper-pagination.bullet {
  background-color: #6e93f7;
  opacity: 1;
}
.slider-container.mini-team .swiper-pagination.bullet-active {
  background-color: #4070f4;
}
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: url('/wp-content/uploads/2024/05/next-arrow.svg') !important;
}
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: url('/wp-content/uploads/2024/05/arrow-prev.svg') !important;
}
/*Single team*/
.single-human-resource .entry-footer {
  display: flex;
}
.human-resource .btn {
  padding: 15px;
}

/*End*/
@media screen and (max-width: 768px) {
  .slider-container.mini-team .slider-content {
    margin: 0 10px;
  }
  .slider-container.mini-team .swiper-navBtn {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .slider-container.mini-team .swiper-button-prev {
    left: 77% !important;
    top: 100%;
  }
  .slider-container.mini-team .swiper-button-next {
    top: 100%;
    right: 15%;
  }
  .slider-container.mini-team {
    overflow: visible;
    height: 402px;
  }
  .swiper-pagination-bullets {
    display: none;
  }
}

/*End*/

/*Store Locator*/
#meloria_venues_list .entry-footer .btn-quaternary {
  margin-right: 2rem;
}
#meloria_venues_list .entry-footer .btn {
  padding: 15px !important;
}
.post-type-archive-store h1 {
  padding-top: 60px;
  font-size: 39px !important;
}
.post-type-archive-store .card {
  border: none !important;
}
.post-type-archive-store .card .entry-footer {
  padding-top: 24px;
}
/*End*/

/*Prenotazione*/
body.page-id-4450 #DemetraNavBar,
body.page-id-4450 .entry-header {
  display: none !important;
}
body.page-id-4450 .navbar .container-fluid {
  display: flex;
  justify-content: center;
}
body.page-id-4450 {
  background-image: url('/wp-content/uploads/2024/07/booking.png');
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
body.page-id-4450 .content-area {
  position: relative;
}
body.page-id-4450 .content-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2); /* Adjust the opacity as needed */
}
body.page-id-4450 footer,
body.page-id-4450 .border-up,
body.page-id-4450 .navbar-toggler,
body.page-id-4450 header .container-fluid .row.justify-content-between {
  display: none !important;
}
body.page-id-4450 #amelia-container {
  position: relative;
  margin-top: 45px !important;
}
body.page-id-4450 h2 {
  padding-top: 35px;
}
/*End*/
/*Blog*/

/* .post-type-archive #loops-wrapper {
  padding-top: 40px;
} */
#loops-wrapper .img-fluid {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 29px;
  object-fit: cover;
  object-position: center;
}

.post-type-archive-post-type-archive-human-resource #loops-wrapper .img-fluid {
  height: auto;
}
#loops-wrapper h5 a {
  text-decoration: none !important;
}
#loops-wrapper .entry-header {
  min-height: unset;
}
#loops-wrapper .entry-time a,
#loops-wrapper .entry-categories a {
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--grey-text) !important;
}
/* #loops-wrapper article {
  margin-bottom: 48px;
} */
.post-type-archive-meloriatheme_faq #loops-wrapper article {
  margin-bottom: unset;
}
#loops-wrapper .entry-tags a {
  text-decoration: none !important;
  color: #ab5d5a !important;
  text-transform: uppercase;
}
.archive-header {
  min-height: 400px;
}
body.archive.category nav.meloria-taxonomy-menu,
body.archive.tag nav.meloria-taxonomy-menu-tag {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.post-type-archive-meloriatheme_faq nav.meloria-taxonomy-menu,
.tax-meloriatheme_faq-topic nav.meloria-taxonomy-menu {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

/*.post-type-archive-meloriatheme_faq .archive-header,*/
.post-type-archive-store .archive-header {
  min-height: unset;
}
/*.post-type-archive-meloriatheme_faq .entry-header h1 {
  position: relative;
  color: #fff;
  z-index: 3;
}*/
.post-type-archive summary {
  font-weight: 600;
}
.post-type-archive details p {
  padding-top: 42.5px;
}
nav.meloria-taxonomy-menu li:not(.current) a,
nav.meloria-taxonomy-menu-tag li:not(.current) a {
  background-color: var(--grey-light);
}
nav.meloria-taxonomy-menu li,
nav.meloria-taxonomy-menu-tag li {
  margin-right: 16px !important;
}
nav.pagination {
  display: flex;
  justify-content: center;
}
ul.page-numbers {
  display: flex;
  justify-content: space-around;
  width: 300px;
  list-style: none;
}
span.page-numbers.current {
  background-color: var(--btn-pink);
  padding: 6px 13px;
  border-radius: 8px;
}
/*End Blog*/
/*Reviews*/
.reviews .card {
  margin-right: 1rem;
  margin-left: 1rem;
  min-height: 411px;
  background-image: url('/wp-content/uploads/2024/07/reviews.svg');
  background-size: cover;
  background-position: center;
}
.reviews .card .card-body {
  display: flex;
  align-items: center;
  justify-content: center;
}
/*End*/

/**
   * 5.10 Search Results/No posts
   * ----------------------------------------------------------------------------
   */

/**
   * 5.11 404
   * ----------------------------------------------------------------------------
   */

/**
   * 5.12 Comments
   * ----------------------------------------------------------------------------
   */

/**
   * 6.0 Sidebar
   * ----------------------------------------------------------------------------
   */

/**
   * 6.1 Widgets
   * ----------------------------------------------------------------------------
   */

/**
   * 7.0 Footer
   * ----------------------------------------------------------------------------
   */
#main-footer {
  border-top: 1px solid #f1f4f5;
}

.colophon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--grey-light);
  color: var(--grey-dark);
}

#colophon li {
  display: inline-block !important;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer ul li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}
footer ul li {
  margin-bottom: 24px;
}
h4.footer-widget {
  font-family: "Manrope", sans-serif;
  font-size: 14px !important;
  color: var(--grey-text);
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 12px;
}
#custom_html-5 {
  padding-top: 31px;
}
#human_resource_search .btn-primary {
  padding: 6px 30px !important;
}
/**
   * 8.0 Media Queries (Bootstrap)
   * ----------------------------------------------------------------------------
   */

@media (max-width: 575.98px) {
  /* X-Small devices (portrait phones, less than 576px) */
  /**
     * 8.1 - Commons
     * ----------------------------------------------------------------------------
     */

  /**
     * 8.2 - Repeatable Patterns
     * ----------------------------------------------------------------------------
     */
  .swiper-button-prev,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
  .slider-trattamenti {
    min-height: 360px;
  }
  /**
     * 8.3 - Basic Structure
     * ----------------------------------------------------------------------------
     */
  h1 {
    font-family: Manrope;
    font-size: 35px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h2:not(.name) {
    font-family: Manrope;
    font-size: 25px !important;
    font-weight: 400 !important;
    line-height: 125%;
    padding-bottom: 24px;
  }
  h3 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 125%;
    margin-bottom: 32px;
  }
  h4 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h5,
  .entry-table-of-contents span {
    font-family: "Manrope" !important;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 134% !important;
  }
  .px-custom {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  /**
     * 8.4 - Header
     * ----------------------------------------------------------------------------
     */
  .padding-header {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .counter-row .module_column:not(:last-child)::after {
    content: "";
    bottom: 0;
    width: 100%;
    height: 1px;
    margin: 24px 0 48px 0;
    display: flex;
    justify-content: center;
    background-color: #afc3ce;
  }
  .menu-item span {
    white-space: normal;
  }
  .single-treatment .entry-header,
  .single-post .entry-header,
  .single-service .entry-header,
  .post-type-archive-human-resource .archive-header,
  .category .archive-header,
  .post-type-archive-testimonial .archive-header,
  .post-type-archive-meloriatheme_faq .archive-header,
  .page-template-default .entry-header,
  .post-type-archive .archive-header,
  .tax-meloriatheme_faq-topic .archive-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1.5rem;
    position: relative;
    min-height: 400px;
  }
  #meloria_venues_list .archive-header {
    min-height: unset;
  }
  .single-treatment h1,
  .single-post h1,
  .single-service h1 {
    position: relative;
    z-index: 2;
    font-size: 35px;
  }
  .single-treatment .entry-subtitle {
    color: #fff;
    position: relative;
    z-index: 3;
    font-size: 16px;
    padding-bottom: 40px;
  }
  .single-treatment .entry-header::before,
  .single-post .entry-header::before,
  .single-service .entry-header::before {
    position: absolute;
    content: "";
    opacity: 0.69;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    left: 0;
    width: 100%;
  }
  .single-treatment .entry-header h1,
  .single-post .entry-header h1,
  .single-service .entry-header h1 {
    color: #fff;
  }
  .step-image {
    width: 200px;
    height: 200px;
    border-radius: 6px;
  }
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    width: 100%;
    height: 100%;
    background-color: var(--header-bg);
  }

  .navbar-collapse.collapsing {
    left: -100%;
    transition: height 0s ease;
  }
  .navbar-collapse.show {
    left: 0;
    transition: left 300ms ease-in-out;
    z-index: 5;
  }

  .navbar-toggler.collapsed ~ .navbar-collapse {
    transition: left 500ms ease-in-out;
  }

  .navbar-toggler {
    position: relative;
    transition: 0.5s ease-in-out;
  }
  .toggler-container {
    border: 1px solid var(--btn-pink);
    width: 40px;
    height: 40px;
    position: relative;
  }
  .navbar-toggler,
  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  .navbar-toggler span {
    margin: 0;
    padding: 0;
  }
  .navbar-toggler-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
  }
  .toggler-icon {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: #592923;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }
  .close-icon {
    position: absolute;
    right: 24px;
    top: 24px;
    cursor: pointer;
  }
  #masthead > .container-fluid {
    padding: 0rem 1rem;
  }
  .navbar .custom-logo {
    max-width: 150px;
    object-position: left;
    object-fit: cover;
  }
  body.home .entry-header {
    background-image: url('/wp-content/uploads/2024/07/hero_background_mobile.webp') !important;
  }
  body.home .entry-header::before {
    position: absolute;
    content: "";
    opacity: 0.5;
    background: linear-gradient(
      60deg,
      #000 0%,
      #252525 36.05%,
      rgba(102, 102, 102, 0) 100%
    );
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    left: 0;
    width: 100%;
  }

  /**
     * 8.5 - Content
     * ----------------------------------------------------------------------------
     */
  .swiper-slide .card {
    width: 300px;
    height: 300px;
  }
  .swiper-button-prev,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
  .swiper-pagination.why {
    position: static;
    display: flex;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
  }
  /* .counter {
    position: absolute !important;
    top: 50%;
    left: 50%;
    font-size: 40px;
    transform: translate3d(-50%, -50%, 0);
  }*/
  .counter-background {
    padding: 6px 15px;
    background-color: #ffe2df;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
  }
  .stripe-prenotazione .first-card,
  .stripe-prenotazione .second-card {
    min-height: 317px;
  }
  .stripe-prenotazione {
    padding-top: 3rem;
  }
  .message-row > p {
    padding: 0 !important;
  }
  body:not(.single-human-resource) .entry-header,
  body :not(.single-human-resource) .category-header {
    min-height: 300px;
  }
  .percentage-chart svg {
    max-width: 200px;
  }

  /*Archives*/
  .meloria-taxonomy-menu {
    width: 100%;
    overflow: scroll;
  }
  .meloria-taxonomy-menu li {
    width: 100%;
    width: max-content;
  }
  .category-articoli .meloria-taxonomy-menu ul,
  .category-video .meloria-taxonomy-menu ul,
  .category-webinar .meloria-taxonomy-menu ul {
    margin-left: 23%;
  }
  .post-type-archive-meloriatheme_faq .meloria-taxonomy-menu ul {
    margin-left: 100%;
  }
  main nav.meloria-taxonomy-menu li a {
    padding: 10px 15px !important;
  }
  #loops-wrapper .img-fluid {
    height: auto !important;
  }
  #loops-wrapper h5 a {
    font-size: 20px !important;
  }
  /*Post*/
  #crp_widget-2 {
    font-size: 31px;
    font-weight: 600;
    width: 100%;
  }
  .crp-list {
    margin-top: 22px;
    padding: 0;
  }
  .crp-list img {
    width: 100%;
    height: 293px !important;
    object-fit: cover;
    border-radius: 8px;
  }
  li.crp-list-item {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .crp-list-item-title a {
    text-decoration: none;
    font-weight: 600;
    font-size: 25px;
  }
  .crp-list-item-title {
    margin-top: 29px;
  }
  .single-post .entry-content img {
    max-width: 320px;
  }
  .single-post figure.wp-block-image {
    width: 100% !important;
  }
  .single-post .entry-content p {
    padding: 20px 0;
  }
  body.archive.category nav.meloria-taxonomy-menu {
    padding-top: 50px;
  }
  main nav.meloria-taxonomy-menu ul {
    margin-bottom: 8px;
  }
  .archive.category #loops-wrapper .container-fluid .row .col-lg-4 {
    padding-bottom: 24px;
  }
  /*single team resource*/
  article.type-store .entry-footer {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
  }
  article.type-store .entry-destination {
    margin-bottom: 24px;
    margin-top: 24px;
  }
  .store-container {
    min-width: 329px;
  }
  .single-post iframe{
    max-width: fit-content!important;
  }
  #human_resource_stores .card {
    margin-bottom: 3rem;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
  }
  #human_resource_stores .card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  .human-resource h1.entry-title {
    margin-top: 24px;
  }
  .human-resource .entry-footer .btn-quaternary {
    margin-right: 2rem;
  }
  /*end*/
  /*Risultati*/
  .tab-risultati .tab-nav::before {
    content: "";
    position: absolute;
    width: 44%;
    border-radius: 29px;
    height: 51px;
    background-color: #f1f4f5;
  }
  .percentage-success {
    background-image: unset !important;
  }
  /*End*/
  #exampleModal .modal-content {
    padding: 24px;
  }
  #exampleModal .col-md-6 > div {
    height: 240px;
  }
  .post-type-archive #loops-wrapper {
    padding-top: 23px;
  }
  /*FAQ*/
  /*Testimonial*/
  .swiper-slide.testimonial {
    padding: 40px;
  }
  /*End*/
    /*Bundles*/
  .post-type-archive-bundle #loops-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .bundle-name {
    font-size: 20px;
  }
    .post-type-archive-bundle summary{
      flex-direction: column;
      gap: 5px;
    } 
    .bundle-name {
      font-size: 20px;
    }
    /*end*/
  /*Blog*/
  body:not(.post-type-archive) #loops-wrapper {
    padding-top: 40px;
  }
  /*End*/

  /**
     * 8.6 - Sidebar
     * ----------------------------------------------------------------------------
     */
  /**
     * 8.7 - Footer
     * ----------------------------------------------------------------------------
     */
  .contact-mobile {
    bottom: 0;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  /* Small devices (landscape phones, less than 768px) */
  /**
     * 8.1 - Commons
     * ----------------------------------------------------------------------------
     */

  /**
     * 8.2 - Repeatable Patterns
     * ----------------------------------------------------------------------------
     */

  /**
     * 8.3 - Basic Structure
     * ----------------------------------------------------------------------------
     */
  h1 {
    font-family: Manrope;
    font-size: 35px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h2:not(.name) {
    font-family: Manrope;
    font-size: 25px !important;
    font-weight: 400 !important;
    line-height: 125%;
    padding-bottom: 24px;
  }
  h3 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 125%;
    margin-bottom: 32px;
  }
  h4 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h5,
  .entry-table-of-contents span {
    font-family: "Manrope" !important;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 134% !important;
  }
  .px-custom {
    padding-left: 24px;
    padding-right: 24px;
  }
  /**
     * 8.4 - Header
     * ----------------------------------------------------------------------------
     */
  .single-treatment .entry-header,
  .single-post .entry-header,
  .single-service .entry-header,
  .post-type-archive-human-resource .archive-header,
  .category .archive-header,
  .post-type-archive-testimonial .archive-header,
  .post-type-archive-meloriatheme_faq .archive-header,
  .page-template-default .entry-header,
  /* .post-type-archive .archive-header, */
  .tax-meloriatheme_faq-topic .archive-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1.5rem;
    position: relative;
    min-height: 400px;
  }
  .single-treatment .entry-header::before,
  .single-post .entry-header::before,
  .single-service .entry-header::before {
    position: absolute;
    content: "";
    opacity: 0.69;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    left: 0;
    width: 100%;
  }
  .single-treatment .entry-header h1,
  .single-post .entry-header h1,
  .single-service .entry-header h1 {
    color: #fff;
  }
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    width: 100%;
    height: 100%;
    background-color: var(--header-bg);
  }

  .navbar-collapse.collapsing {
    left: -100%;
    transition: height 0s ease;
  }
  .navbar-collapse.show {
    left: 0;
    transition: left 300ms ease-in-out;
    z-index: 5;
  }

  .navbar-collapse.collapsing {
    left: -75%;
    transition: height 0s ease;
  }

  .navbar-toggler.collapsed ~ .navbar-collapse {
    transition: left 500ms ease-in-out;
  }
  .navbar-toggle {
    width: 20px;
    height: 20px;
    position: relative;
    transition: 0.5s ease-in-out;
  }
  .navbar-toggler,
  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: 0;
  }
  .navbar-toggler span {
    margin: 0;
    padding: 0;
  }
  .toggler-icon {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #222222;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }
  #masthead > .container-fluid {
    padding: 0rem 1rem;
  }

  /**
   * 8.5 - Content
   * ----------------------------------------------------------------------------
   */
  .swiper-slide .card {
    width: 300px;
    height: 300px;
  }
  .swiper-button-next.why,
  .swiper-button-prev.why,
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
  .swiper-pagination.why {
    position: static;
    display: flex;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
  }
  .counter-background {
    padding: 6px 15px;
    background-color: #ffe2df;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
  }
  .treatments-class label {
    margin-bottom: 8px;
  }
  .stripe-prenotazione .first-card,
  .stripe-prenotazione .second-card {
    height: 350px;
  }
  .treatments-class label {
    margin-bottom: 8px;
  }
  body:not(.single-human-resource) .entry-header,
  body :not(.single-human-resource) .category-header {
    min-height: 400px;
  }
  .single-treatment .entry-subtitle {
    color: #fff;
    position: relative;
    z-index: 3;
    font-size: 16px;
    padding-bottom: 40px;
  }
  /*Post*/
  #crp_widget-2 {
    font-size: 31px;
    font-weight: 600;
  }
  .crp-list {
    margin-top: 22px;
    padding: 0;
  }
  .crp-list img {
    width: 100%;
    height: 293px !important;
    object-fit: cover;
    border-radius: 8px;
  }
  li.crp-list-item {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .crp-list-item-title a {
    text-decoration: none;
    font-weight: 600;
    font-size: 25px;
  }
  .crp-list-item-title {
    margin-top: 29px;
  }
  body.archive.category nav.meloria-taxonomy-menu {
    padding-top: 50px;
  }
  .single-post figure.wp-block-image img {
    padding: 40px 0 40px 0;
  }
  .single-post p {
    margin-bottom: 40px !important;
  }

  /*single team resource*/
  article.type-store .entry-footer {
    display: flex;
    padding-top: 24px;
  }
  .human-resource .btn-quaternary {
    margin-right: 3rem;
  }
  #human_resource_stores .card {
    margin-bottom: 3rem;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
  }
  #human_resource_stores .card .card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  /*end*/
  /*Reviews*/
  .reviews .card {
    min-height: 232px;
    padding: 40px;
  }
  /*End*/
  /*Risultati*/
  .tab-risultati .tab-nav::before {
    content: "";
    position: absolute;
    width: 30%;
    border-radius: 29px;
    height: 51px;
    background-color: #f1f4f5;
  }
  /*End*/
  #exampleModal .modal-content {
    padding: 60px;
  }
  #exampleModal .col-md-6 > div {
    height: 391px;
  }
  /*FAQ*/
    /*Bundle*/
    .post-type-archive-bundle #loops-wrapper {
      display: grid;
      grid-template-columns: 1fr;
      align-items: start;
    }
    .bundle-name {
      font-size: 20px;
    }
    /*End*/
  /*Testimonial*/
  .swiper-slide.testimonial {
    padding: 40px;
  }
  .post-type-archive #loops-wrapper {
    padding-top: 25px;
  }
  /*End*/

  /*Blog*/
  body:not(.post-type-archive) #loops-wrapper {
    padding-top: 40px;
  }
  /*End*/

  /**
     * 8.6 - Sidebar
     * ----------------------------------------------------------------------------
     */

  /**
     * 8.7 - Footer
     * ----------------------------------------------------------------------------
     */
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Medium devices (tablets, less than 992px) */
  /**
     * 8.1 - Commons
     * ----------------------------------------------------------------------------
     */

  /**
     * 8.2 - Repeatable Patterns
     * ----------------------------------------------------------------------------
     */

  /**
     * 8.3 - Basic Structure
     * ----------------------------------------------------------------------------
     */
  h1 {
    font-family: Manrope;
    font-size: 35px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h2:not(.name) {
    font-family: Manrope;
    font-size: 25px !important;
    font-weight: 400 !important;
    line-height: 125%;
    padding-bottom: 24px;
  }
  h3 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 125%;
    margin-bottom: 32px;
  }
  h4 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h5,
  .entry-table-of-contents span {
    font-family: "Manrope" !important;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 134% !important;
  }
  .py-5 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
  .pt-5 {
    padding-top: 80px !important;
  }
  .pb-5 {
    padding-bottom: 80px !important;
  }
  .px-custom {
    padding-left: 90px;
    padding-right: 90px;
  }
  /**
     * 8.4 - Header
     * ----------------------------------------------------------------------------
     */

  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    width: 100%;
    height: 100%;
    background-color: var(--header-bg);
  }

  .navbar-collapse.collapsing {
    left: -100%;
    transition: height 0s ease;
  }
  .navbar-collapse.show {
    left: 0;
    transition: left 300ms ease-in-out;
    z-index: 5;
  }

  .navbar-toggler.collapsed ~ .navbar-collapse {
    transition: left 500ms ease-in-out;
  }

  .navbar-toggler {
    position: relative;
    transition: 0.5s ease-in-out;
  }
  .toggler-container {
    border: 1px solid var(--btn-pink);
    width: 40px;
    height: 40px;
    position: relative;
  }
  .navbar-toggler,
  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  .navbar-toggler span {
    margin: 0;
    padding: 0;
  }
  .navbar-toggler-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
  }
  .toggler-icon {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: #592923;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }
  .close-icon {
    position: absolute;
    right: 24px;
    top: 24px;
    cursor: pointer;
  }
  body:not(.single-human-resource) .entry-header,
  body :not(.single-human-resource) .category-header {
    min-height: 450px;
  }
  /* {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 92px;
    position: relative;
  } */
  .single-treatment .entry-header,
  .single-post .entry-header,
  .single-service .entry-header,
  .post-type-archive-human-resource .archive-header,
  .category .archive-header,
  .post-type-archive-testimonial .archive-header,
  .post-type-archive-meloriatheme_faq .archive-header,
  .page-template-default .entry-header,
  .post-type-archive .archive-header,
  .tax-meloriatheme_faq-topic .archive-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 92px;
    position: relative;
  }
  .single-treatment h1 {
    position: relative;
    z-index: 2;
  }
  /* .single-treatment .entry-header::before,
  .single-post .entry-header::before,
  .single-service .entry-header::before {
    position: absolute;
    content: "";
    opacity: 0.69;
    background: linear-gradient(
      90deg,
      #000 0%,
      #252525 36.05%,
      rgba(102, 102, 102, 0) 100%
    );
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    left: 0;
    width: 100%;
  } */
  .single-treatment .entry-header h1,
  .single-post .entry-header h1,
  .single-service .entry-header h1 {
    color: #fff;
  }
  .step-image {
    width: 200px;
    height: 200px;
    border-radius: 6px;
  }
  #masthead > .container-fluid {
    padding: 0rem 1rem;
  }
  /**
   * 8.5 - Content
   * ----------------------------------------------------------------------------
   */

  .swiper-slide .card {
    width: 300px;
    height: 300px;
  }

  .swiper-button-next.why,
  .swiper-button-prev.why,
  .swiper-button-prev,
  .swiper-button-next,
  .swiper-button-next.testimonial,
  .swiper-button-prev.testimonial {
    display: none;
  }
  .swiper-pagination.why,
  .swiper-pagination.testimonial {
    position: static;
    display: flex;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
  }
  .swiper.slider-trattamenti {
    max-width: 600px;
  }
  /* .single-chart-1::after,
  .single-chart-2::after {
    content: "";
    position: absolute;
    height: 69%;
    top: 50%;
    margin-left: 33%;
    width: 1px;
    background-color: #afc3ce;
  }*/

  .counter-background {
    padding: 6px 15px;
    background-color: #ffe2df;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
  }
  .treatments-class label {
    margin-bottom: 8px;
  }
  .stripe-prenotazione .first-card,
  .stripe-prenotazione .second-card {
    height: 350px;
  }
  .treatments-class label {
    margin-bottom: 8px;
  }
  body:not(.single-human-resource) .entry-header,
  body :not(.single-human-resource) .category-header {
    min-height: 400px;
  }
  .single-treatment .entry-subtitle {
    color: #fff;
    position: relative;
    z-index: 3;
    font-size: 16px;
    padding-bottom: 40px;
  }
  /*Post*/
  #crp_widget-2 {
    font-size: 31px;
    font-weight: 600;
  }
  .crp-list {
    margin-top: 22px;
    padding: 0;
  }
  .crp-list img {
    width: 100%;
    height: 293px !important;
    object-fit: cover;
    border-radius: 8px;
  }
  li.crp-list-item {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .crp-list-item-title a {
    text-decoration: none;
    font-weight: 600;
    font-size: 25px;
  }
  .crp-list-item-title {
    margin-top: 29px;
  }
  
  body.archive.category nav.meloria-taxonomy-menu {
    padding-top: 80px;
  }
  .single-post figure.wp-block-image img {
    padding: 40px 0 40px 0;
  }
  .single-post p {
    margin-bottom: 40px !important;
  }
  /*single team resource*/
  article.type-store .entry-footer {
    display: flex;
    padding-top: 24px;
  }
  .human-resource .btn-quaternary {
    margin-right: 3rem;
  }
  #human_resource_stores .card {
    margin-bottom: 3rem;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
  }
  #human_resource_stores .card .card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
  }
  #human_resource_stores .store-container {
    margin-right: 20px;
  }
  #human_resource_search {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  /*end*/
  /*Reviews*/
  .reviews .card {
    padding: 14px;
    min-height: 495px;
  }
  /*End*/
  /*Risultati*/
  .tab-risultati .tab-nav::before {
    content: "";
    position: absolute;
    width: 30%;
    border-radius: 29px;
    height: 51px;
    background-color: #f1f4f5;
  }
  /*End*/
  /*Testimonial*/
  .swiper-slide.testimonial {
    padding: 40px;
  }
  .post-type-archive #loops-wrapper {
    padding-top: 25px;
  }
  /*End*/
  #exampleModal .modal-content {
    padding: 60px;
  }
  #exampleModal .col-md-6 > div {
    height: 391px;
  }
  /*FAQ*/
  /*Bundle*/
  .post-type-archive-bundle #loops-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .bundle-name {
    font-size: 20px;
  }
  /*End*/
  /*Blog*/
  body:not(.post-type-archive) #loops-wrapper {
    padding-top: 50px;
  }
  /*End*/

  /**
   * 8.6 - Sidebar
   * ----------------------------------------------------------------------------
   */

  /**
     * 8.7 - Footer
     * ----------------------------------------------------------------------------
     */
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Large devices (desktops, less than 1200px) */
  /**
     * 8.1 - Commons
     * ----------------------------------------------------------------------------
     */

  /**
     * 8.2 - Repeatable Patterns
     * ----------------------------------------------------------------------------
     */

  /**
     * 8.3 - Basic Structure
     * ----------------------------------------------------------------------------
     */
  h1 {
    font-family: Manrope;
    font-size: 45px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h2:not(.name) {
    font-family: Manrope;
    font-size: 39px !important;
    font-weight: 400 !important;
    line-height: 125%;
    padding-bottom: 24px;
  }
  .single-treatment h2:not(.name) {
    padding-bottom: 16px !important;
    font-size: 31px !important;
  }
  .single-post h2 {
    padding-top: 40px;
  }
  h3 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 31px !important;
    font-weight: 600 !important;
    line-height: 125%;
    margin-bottom: 32px;
  }
  h4 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h5,
  .entry-table-of-contents span {
    font-family: "Manrope" !important;
    font-size: 20px !important;
    font-weight: 600;
    line-height: 134% !important;
  }
  .py-5 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
  .pt-5 {
    padding-top: 80px !important;
  }
  .pb-5 {
    padding-bottom: 80px !important;
  }
  .px-custom {
    padding-left: 90px;
    padding-right: 90px;
  }

  /**
     * 8.4 - Header
     * ----------------------------------------------------------------------------
     */
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    width: 100%;
    height: 100%;
    background-color: var(--header-bg);
  }

  .navbar-collapse.collapsing {
    left: -100%;
    transition: height 0s ease;
  }
  .navbar-collapse.show {
    left: 0;
    transition: left 300ms ease-in-out;
    z-index: 5;
  }

  .navbar-toggler.collapsed ~ .navbar-collapse {
    transition: left 500ms ease-in-out;
  }

  .navbar-toggler {
    position: relative;
    transition: 0.5s ease-in-out;
  }
  .toggler-container {
    border: 1px solid var(--btn-pink);
    width: 40px;
    height: 40px;
    position: relative;
  }
  .navbar-toggler,
  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  .navbar-toggler span {
    margin: 0;
    padding: 0;
  }
  .navbar-toggler-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
  }
  .toggler-icon {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: #592923;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }
  .close-icon {
    position: absolute;
    right: 24px;
    top: 24px;
    cursor: pointer;
  }
  #masthead nav {
    height: 90px;
  }

  .single-treatment .entry-header,
  .single-post .entry-header,
  .single-service .entry-header,
  .post-type-archive-human-resource .archive-header,
  .category .archive-header,
  .post-type-archive-testimonial .archive-header,
  .post-type-archive-meloriatheme_faq .archive-header,
  .page-template-default .entry-header,
  .post-type-archive .archive-header,
  .tax-meloriatheme_faq-topic .archive-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 92px;
    position: relative;
  }
  .page-template-default .entry-header {
    padding-left: 92px;
  }
  .single-treatment h1,
  .single-post h1,
  .single-service h1 {
    position: relative;
    z-index: 2;
  }
  /* .single-treatment .entry-header::before,
  .single-post .entry-header::before,
  .single-service .entry-header::before {
    position: absolute;
    content: "";
    opacity: 0.69;
    background: linear-gradient(
      90deg,
      #000 0%,
      #252525 36.05%,
      rgba(102, 102, 102, 0) 100%
    );
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    left: 0;
    width: 100%;
  } */
  /*Reviews*/
  .reviews .card {
    padding: 40px;
  }
  /*End*/
  .single-treatment .entry-header h1,
  .single-post .entry-header h1,
  .single-service .entry-header h1 {
    color: #fff;
  }
  .step-image {
    width: 200px;
    height: 200px;
    border-radius: 6px;
  }

  /* Bootstrap NavBar */

  #DemetraNavBar li.dropdown-toggle::after,
  #DemetraNavBar .sub-menu a.dropdown-toggle::after {
    display: none !important;
  }

  #DemetraNavBar > ul > li.menu-item-has-children:hover > .sub-menu {
    display: block !important;
  }

  #DemetraNavBar > ul > #menu-item-4484:hover > .sub-menu {
    display: inline-flex !important;
  }

  #menu-item-4484 ul.sub-menu > li {
    position: initial !important;
    width: fit-content !important;
    display: initial !important;
  }

  #menu-item-4484 ul.sub-menu > li .sub-menu > li {
    position: initial !important;
    width: 100% !important;
    display: block !important;
  }

  #menu-item-4484 .sub-menu .sub-menu {
    position: initial !important;
    display: block !important;
    width: 100%;
  }

  #menu-item-4484 > .sub-menu {
    width: auto !important;
  }
  #masthead > .container-fluid {
    padding: 0rem 3rem;
  }
  body:not(.single-human-resource) .entry-header,
  body :not(.single-human-resource) .category-header {
    min-height: 450px;
  }

  /**
   * 8.5 - Content
   * ----------------------------------------------------------------------------
   */

  .swiper-slide .card {
    width: 300px;
    height: 300px;
  }
  .swiper-button-next.why,
  .swiper-button-prev.why,
  .swiper-button-next.testimonial,
  .swiper-button-prev.testimonial {
    position: absolute;
    top: 86%;
  }
  .swiper-button-prev.why {
    left: 38% !important;
  }
  .swiper-button-prev.testimonial{
    left: 50%!important;
  }
  .swiper-button-next.why{
    right: 48% !important;
  }
  .swiper-button-next.testimonial{
    right: 28%!important;
  }

  .swiper-pagination.why,
  .swiper-pagination.testimonial {
    position: static;
    display: flex;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
  }
  .swiper-container.testimonial .swiper-slide {
    min-height: 400px;
  }

  /* .single-chart-1::after,
  .single-chart-2::after {
    content: "";
    position: absolute;
    height: 69%;
    top: 50%;
    margin-left: 33%;
    width: 1px;
    background-color: #afc3ce;
  }
  .counter {
    position: relative;
    top: 20%;
    text-align: center;
    font-size: 40px;
  } */

  .swiper.slider-trattamenti {
    max-width: 800px;
  }
  #meloria-common-part-46 .swiper-button-next,
  #meloria-common-part-46 .swiper-button-prev {
    top: 60% !important;
  }
  #treatment-steps .single-step:not(:last-child) .timeline {
    height: 150%;
    width: 3px;
    position: absolute;
    background-color: #d5dfe0;
  }
  .counter-background {
    position: absolute;
    padding: 6px 15px;
    background-color: #ffe2df;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
  }
  .treatments-class label {
    margin-bottom: 8px;
  }
  .stripe-prenotazione .first-card,
  .stripe-prenotazione .second-card {
    height: 350px;
  }
  .treatments-class label {
    margin-bottom: 8px;
  }
  body:not(.single-human-resource) .entry-header,
  body :not(.single-human-resource) .category-header {
    min-height: 400px;
  }
  .single-treatment .entry-subtitle {
    color: #fff;
    position: relative;
    z-index: 3;
    font-size: 16px;
    padding-bottom: 40px;
  }
  /*Post*/
  #crp_widget-2 {
    font-size: 31px;
    font-weight: 600;
  }
  .crp-list {
    margin-top: 22px;
    padding: 0;
  }
  .crp-list img {
    width: 100%;
    height: 293px !important;
    object-fit: cover;
    border-radius: 8px;
  }
  li.crp-list-item {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .crp-list-item-title a {
    text-decoration: none;
    font-weight: 600;
    font-size: 25px;
  }
  .crp-list-item-title {
    margin-top: 29px;
  }
  body.archive.category nav.meloria-taxonomy-menu,
  .meloria-taxonomy-menu-tag {
    padding-top: 80px;
  }
  main nav.meloria-taxonomy-menu-tag ul {
    display: flex;
  }
  main nav.meloria-taxonomy-menu-tag li a {
    font-size: 13px;
  }
  .single-post figure.wp-block-image img {
    padding: 40px 0 40px 0;
  }
  .single-post p {
    margin-bottom: 40px !important;
  }
  /*single team resource*/
  article.type-store .entry-footer {
    display: flex;
    padding-top: 24px;
  }
  .human-resource .btn-quaternary {
    margin-right: 3rem;
  }
  #human_resource_stores .card {
    margin-bottom: 3rem;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
  }
  #human_resource_stores .card .card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
  }
  #human_resource_stores .store-container {
    margin-right: 20px;
  }
  #human_resource_search {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  /*end*/
  /*Prenotation modal*/
  #exampleModal .modal-dialog {
    min-width: 950px;
  }
  #exampleModal .modal-content {
    padding: 60px;
  }
  #exampleModal .col-md-6 > div {
    height: 391px;
  }
  /*End*/
  /*Reviews*/
  .reviews .card {
    padding: 12px;
    min-height: 489px;
  }
  /*End*/
  /*Risultati*/
  .tab-risultati .tab-nav::before {
    content: "";
    position: absolute;
    width: 19%;
    border-radius: 29px;
    height: 51px;
    background-color: #f1f4f5;
  }
  /*End*/
  /*Testimonial*/
  .swiper-slide.testimonial {
    padding: 40px;
  }
  .post-type-archive #loops-wrapper {
    padding-top: 25px;
  }
  /*End*/
  /*Bundle*/
  .post-type-archive-bundle #loops-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .bundle-name {
    font-size: 20px;
  }
  /*End*/
  /*Blog*/
  body:not(.post-type-archive) #loops-wrapper {
    padding-top: 50px;
  }
  #loops-wrapper .img-fluid {
    min-height: 300px;
  }
  /*End*/

  /*Blog*/
  body:not(.post-type-archive) #loops-wrapper {
    padding-top: 50px;
  }
  /*End*/
  /*FAQ*/
  .post-type-archive-meloriatheme_faq .meloria-taxonomy-menu {
    padding-top: 48px;
    padding-bottom: 23px;
  }
  /*End*/

  /**
   * 8.6 - Sidebar
   * ----------------------------------------------------------------------------
   */

  /**
     * 8.7 - Footer
     * ----------------------------------------------------------------------------
     */
  footer .top-footer,
  footer .colphon {
    padding: 0 66px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  /* X-Large devices (large desktops, less than 1400px) */
  /**
     * 8.1 - Commons
     * ----------------------------------------------------------------------------
     */

  /**
     * 8.2 - Repeatable Patterns
     * ----------------------------------------------------------------------------
     */

  .swiper-slide .card {
    width: 300px;
    height: 300px;
  }
  .swiper-button-next.why,
  .swiper-button-prev.why {
    position: absolute;
    top: 85%;
  }
  .swiper-button-next.testimonial,
  .swiper-button-prev.testimonial {
    position: absolute;
    top: 90%;
  }
  .swiper-button-prev.why {
    left: 39% !important;
  }
  .swiper-button-next.why {
    right: 48% !important;
  }
  .swiper-button-prev.testimonial {
    left: 58% !important;
  }
  .swiper-button-next.testimonial {
    right: 30% !important;
  }

  .swiper-pagination.why,
  .swiper-pagination.testimonial {
    position: static;
    display: flex;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
  }
  .swiper-container.testimonial .swiper-slide {
    min-height: 400px;
  }
  /* .single-chart-1::after,
  .single-chart-2::after {
    content: "";
    position: absolute;
    height: 69%;
    top: 50%;
    margin-left: 33%;
    width: 1px;
    background-color: #afc3ce;
  }
  .counter {
    position: relative;
    top: 20%;
    text-align: center;
    font-size: 40px;
  } */

  /*Post*/
  #crp_widget-2 {
    font-size: 31px;
    font-weight: 600;
  }
  .single-post #crp_widget-2 {
    font-size: 31px;
    font-weight: 600;
    margin-top: 63px;
  }
  .swiper-scrollbar-drag:before {
    left: -122vh;
    width: 123vh;
}
.single-post figure{
  max-width: 50%!important;
}
  .crp-list {
    margin-top: 22px;
    padding: 0;
  }
  .crp-list img {
    width: 100%;
    height: 293px !important;
    object-fit: cover;
    border-radius: 8px;
  }
  li.crp-list-item {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .crp-list-item-title a {
    text-decoration: none;
    font-weight: 600;
    font-size: 25px;
  }
  .crp-list-item-title {
    margin-top: 29px;
  }
  .single-post figure.wp-block-image img {
    padding: 40px 0 40px 0;
  }
  .single-post p {
    margin-bottom: 40px !important;
  }
  /**
     * 8.3 - Basic Structure
     * ----------------------------------------------------------------------------
     */
  h1 {
    font-family: Manrope;
    font-size: 45px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h2:not(.name) {
    font-family: Manrope;
    font-size: 39px !important;
    font-weight: 400 !important;
    line-height: 125%;
    padding-bottom: 24px;
  }
  .single-treatment h2:not(.name) {
    padding-bottom: 16px !important;
    font-size: 31px !important;
  }
  .single-post h2 {
    padding-top: 40px;
  }
  h3 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 31px !important;
    font-weight: 600 !important;
    line-height: 125%;
    margin-bottom: 32px;
  }
  h4 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h5,
  .entry-table-of-contents span {
    font-family: "Manrope" !important;
    font-size: 20px !important;
    font-weight: 600;
    line-height: 134% !important;
  }
  .py-5 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
  .pt-5 {
    padding-top: 80px !important;
  }
  .pb-5 {
    padding-bottom: 80px !important;
  }
  .px-custom {
    padding-left: 90px;
    padding-right: 90px;
  }

  /**
     * 8.4 - Header
     * ----------------------------------------------------------------------------
     */
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    width: 100%;
    height: 100%;
    background-color: var(--header-bg);
  }

  .navbar-collapse.collapsing {
    left: -100%;
    transition: height 0s ease;
  }
  .navbar-collapse.show {
    left: 0;
    transition: left 300ms ease-in-out;
    z-index: 5;
    width: 80%;
  }

  .navbar-toggler.collapsed ~ .navbar-collapse {
    transition: left 500ms ease-in-out;
  }

  .navbar-toggler {
    position: relative;
    transition: 0.5s ease-in-out;
  }
  .toggler-container {
    border: 1px solid var(--btn-pink);
    width: 40px;
    height: 40px;
    position: relative;
  }
  .navbar-toggler,
  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  .navbar-toggler span {
    margin: 0;
    padding: 0;
  }
  .navbar-toggler-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
  }
  .toggler-icon {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: #592923;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }
  .close-icon {
    position: absolute;
    right: 24px;
    top: 24px;
    cursor: pointer;
  }
  #masthead nav {
    height: 90px;
  }
  #masthead nav {
    height: 90px;
  }

  .single-treatment .entry-header,
  .single-post .entry-header,
  .single-service .entry-header,
  .post-type-archive-human-resource .archive-header,
  .category .archive-header,
  .post-type-archive-testimonial .archive-header,
  .post-type-archive-meloriatheme_faq .archive-header,
  .page-template-default .entry-header,
  .post-type-archive .archive-header,
  .tax-meloriatheme_faq-topic .archive-header,
  .archive.tag .archive-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 92px;
    position: relative;
  }
  .page-template-default .entry-header {
    padding-left: 92px;
  }
  .single-treatment h1,
  .single-post h1,
  .single-service h1 {
    position: relative;
    z-index: 2;
  }
  /* .single-treatment .entry-header::before,
  .single-post .entry-header::before,
  .single-service .entry-header::before {
    position: absolute;
    content: "";
    opacity: 0.69;
    background: linear-gradient(
      90deg,
      #000 0%,
      #252525 36.05%,
      rgba(102, 102, 102, 0) 100%
    );
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    left: 0;
    width: 100%;
  } */
  .single-treatment .entry-header h1,
  .single-post .entry-header h1,
  .single-service .entry-header h1 {
    color: #fff;
  }
  .step-image {
    width: 200px;
    height: 200px;
    border-radius: 6px;
  }

  /* Bootstrap NavBar */

  #DemetraNavBar li.dropdown-toggle::after,
  #DemetraNavBar .sub-menu a.dropdown-toggle::after {
    display: none !important;
  }

  /* #DemetraNavBar > ul > li.menu-item-has-children:hover > .sub-menu {
    display: block !important;
  } */

  #DemetraNavBar > ul > #menu-item-4484:hover > .sub-menu {
    display: inline-flex !important;
  }

  #menu-item-4484 ul.sub-menu > li {
    position: initial !important;
    width: fit-content !important;
    display: initial !important;
  }

  #menu-item-4484 ul.sub-menu > li .sub-menu > li {
    position: initial !important;
    width: 100% !important;
    display: block !important;
  }

  #menu-item-4484 .sub-menu .sub-menu {
    position: initial !important;
    display: block !important;
    width: 100%;
  }

  #menu-item-4484 > .sub-menu {
    width: auto !important;
  }
  #masthead > .container-fluid {
    padding: 0rem 3rem;
  }

  body:not(.single-human-resource) .entry-header,
  body :not(.single-human-resource) .category-header {
    min-height: 400px;
  }
  body.home .entry-header{
    min-height: 600px;
    justify-content: center!important;
  }
  .single-treatment .entry-subtitle {
    color: #fff;
    position: relative;
    z-index: 3;
    font-size: 16px;
    padding-bottom: 40px;
  }
  /*.post-type-archive-meloriatheme_faq .entry-header {
    padding-left: 90px;
  }*/

  /**
   * 8.5 - Content
   * ----------------------------------------------------------------------------
   */
  .swiper.slider-trattamenti {
    max-width: 1100px;
  }
  #meloria-common-part-46 .swiper-button-next,
  #meloria-common-part-46 .swiper-button-prev {
    top: 60% !important;
  }
  #treatment-steps .single-step:not(:last-child) .timeline {
    height: 150%;
    width: 3px;
    position: absolute;
    background-color: #d5dfe0;
  }
  .counter-background {
    position: absolute;
    padding: 6px 15px;
    background-color: #ffe2df;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
  }
  .treatments-class label {
    margin-bottom: 8px;
  }
  .stripe-prenotazione .first-card,
  .stripe-prenotazione .second-card {
    min-height: 350px;
  }
  .treatments-class label {
    margin-bottom: 8px;
  }
  body.archive.category nav.meloria-taxonomy-menu,
  body.archive.tag nav.meloria-taxonomy-menu-tag {
    padding-top: 80px;
  }
  /*single team resource*/
  article.type-store .entry-footer {
    display: flex;
    padding-top: 24px;
  }
  .human-resource .btn-quaternary {
    margin-right: 3rem;
  }
  #human_resource_stores .card {
    margin-bottom: 3rem;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
  }
  #human_resource_stores .card .card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
  }
  #human_resource_stores .store-container {
    margin-right: 20px;
  }
  #human_resource_search {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  /*end*/

  /*Prenotation modal*/
  #exampleModal .modal-dialog {
    min-width: 950px;
  }
  #exampleModal .modal-content {
    padding: 60px;
  }
  #exampleModal .col-md-6 > div {
    height: 391px;
  }
  /*End*/
  /*Risultati*/
  .tab-risultati .tab-nav::before {
    content: "";
    position: absolute;
    width: 19%;
    border-radius: 29px;
    height: 51px;
    background-color: #f1f4f5;
  }
  /*End*/
  /*Reviews*/
  .reviews .card {
    padding: 16px;
  }
  /*End*/
  /*Testimonial*/
  .swiper-slide.testimonial {
    padding: 40px;
  }
  .post-type-archive #loops-wrapper {
    padding-top: 25px;
  }
  /*End*/
  /*Bundle*/
  .post-type-archive-bundle #loops-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .bundle-name {
    font-size: 14px;
  }
  .post-type-archive-bundle #loops-wrapper article {
    min-height: 108px;
    display: flex;
    align-items: center;
}
  /*End*/
  /*Blog*/
  body:not(.post-type-archive) #loops-wrapper {
    padding-top: 50px;
  }
  #loops-wrapper .img-fluid {
    min-height: 258px;
  }
  /*End*/
  /*FAQ*/

  .post-type-archive-meloriatheme_faq .meloria-taxonomy-menu,
  .tax-meloriatheme_faq-topic .meloria-taxonomy-menu {
    padding-top: 48px;
    padding-bottom: 23px;
  }

  /*End*/

  /**
     * 8.6 - Sidebar
     * ----------------------------------------------------------------------------
     */

  /**
     * 8.7 - Footer
     * ----------------------------------------------------------------------------
     */
  footer .top-footer,
  footer .colphon {
    padding: 0 66px;
  }
}

@media (min-width: 1400px) {
  /* XX-Large devices (larger desktops) */
  /**
     * 8.1 - Commons
     * ----------------------------------------------------------------------------
     */
  .py-5 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
  .pt-5 {
    padding-top: 80px !important;
  }
  .pb-5 {
    padding-bottom: 80px !important;
  }
  .px-custom {
    padding-left: 90px;
    padding-right: 90px;
  }
  /*Post*/
  #crp_widget-2 {
    font-size: 31px;
    font-weight: 600;
    margin-top: 63px;
  }
  .swiper-scrollbar-drag:before {
    left: -122vh;
    width: 123vh;
}
.single-post figure{
  max-width: 50%!important;
}
  .crp-list {
    margin-top: 22px;
    padding: 0;
  }
  .crp-list img {
    width: 100%;
    height: 293px !important;
    object-fit: cover;
    border-radius: 8px;
  }
  li.crp-list-item {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .crp-list-item-title a {
    text-decoration: none;
    font-weight: 600;
    font-size: 25px;
  }
  .crp-list-item-title {
    margin-top: 29px;
  }
  span.term-name {
    font-size: 14px !important;
  }
  .single-post .entry-tags span {
    font-size: 25px;
    font-weight: 600;
  }
  .single-post figure.wp-block-image img {
    padding: 40px 0 40px 0;
  }
  .single-post p {
    margin-bottom: 40px !important;
  }

  /**
     * 8.2 - Repeatable Patterns
     * ----------------------------------------------------------------------------
     */

  .swiper-slide .card {
    width: 300px;
    height: 300px;
  }
  .swiper-button-prev.why {
    left: 40% !important;
  }
  .swiper-button-next.why {
    right: 48% !important;
  }
  .swiper-button-prev.testimonial {
    left: 58% !important;
  }
  .swiper-button-next.testimonial {
    right: 30% !important;
  }

  .swiper-button-next.why,
  .swiper-button-prev.why {
    position: absolute;
    top: 85%;
  }
  .swiper-button-next.testimonial,
  .swiper-button-prev.testimonial {
    position: absolute;
    top: 90%;
  }

  .swiper-pagination.why {
    position: static;
    display: flex;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
  }
  .swiper-container.testimonial .swiper-slide {
    min-height: 400px;
  }

  /**
     * 8.3 - Basic Structure
     * ----------------------------------------------------------------------------
     */
  h1 {
    font-family: Manrope;
    font-size: 45px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h2:not(.name) {
    font-family: Manrope;
    font-size: 39px !important;
    font-weight: 400 !important;
    line-height: 125%;
    padding-bottom: 24px;
  }
  .single-post h2 {
    padding-top: 40px;
  }
  .single-treatment h2:not(.name) {
    padding-bottom: 16px !important;
    font-size: 31px !important;
  }
  h3 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 31px !important;
    font-weight: 600 !important;
    line-height: 125%;
    margin-bottom: 32px;
  }
  h4 {
    color: var(--Grey-dark, #222);
    font-family: Manrope;
    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: 125%;
  }
  h5,
  .entry-table-of-contents span {
    font-family: "Manrope" !important;
    font-size: 20px !important;
    font-weight: 600;
    line-height: 134% !important;
  }

  /**
   * 8.4 - Header
   * ----------------------------------------------------------------------------
   */
  #masthead nav {
    height: 90px;
  }
  /* */

  .single-treatment .entry-header,
  .single-post .entry-header,
  .single-service .entry-header,
  .post-type-archive-human-resource .archive-header,
  .category .archive-header,
  .post-type-archive-testimonial .archive-header,
  .post-type-archive-meloriatheme_faq .archive-header,
  .page-template-default .entry-header,
  .post-type-archive .archive-header,
  .tax-meloriatheme_faq-topic .archive-header,
  .archive.tag .archive-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 92px;
    position: relative;
  }
  .page-template-default .entry-header {
    padding-left: 92px;
  }
  .single-treatment h1,
  .single-post h1,
  .single-service h1 {
    position: relative;
    z-index: 2;
  }
  #meloria-common-part-46 .swiper-button-next,
  #meloria-common-part-46 .swiper-button-prev {
    top: 60% !important;
  }

  /* .single-treatment .entry-header::before,
  .single-post .entry-header::before,
  .single-service .entry-header::before {
    position: absolute;
    content: "";
    opacity: 0.69;
    background: linear-gradient(
      90deg,
      #000 0%,
      #252525 36.05%,
      rgba(102, 102, 102, 0) 100%
    );
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    left: 0;
    width: 100%;
  } */
  .single-treatment .entry-header h1,
  .single-post .entry-header h1,
  .single-service .entry-header h1 {
    color: #fff;
  }
  .step-image {
    width: 200px;
    height: 200px;
    border-radius: 6px;
  }

  /* Bootstrap NavBar */

  #DemetraNavBar li.dropdown-toggle::after,
  #DemetraNavBar .sub-menu a.dropdown-toggle::after {
    display: none !important;
  }

  #DemetraNavBar > ul > li.menu-item-has-children:hover > .sub-menu {
    display: block !important;
  }

  #DemetraNavBar > ul > #menu-item-4484:hover > .sub-menu {
    display: inline-flex !important;
  }
  #DemetraNavBar li.nav-item {
    margin-right: 16px;
  }

  #menu-item-4484 ul.sub-menu > li {
    position: initial !important;
    width: fit-content !important;
    display: initial !important;
  }

  #menu-item-4484 ul.sub-menu > li .sub-menu > li {
    position: initial !important;
    width: 100% !important;
    display: block !important;
  }

  #menu-item-4484 .sub-menu .sub-menu {
    position: initial !important;
    display: block !important;
    width: 100%;
  }

  #menu-item-4484 > .sub-menu {
    width: auto !important;
  }

  body:not(.single-human-resource) .entry-header,
  body:not(.single-human-resource) .category-header {
    min-height: 400px;
  }
  body.home .entry-header{
    min-height: 600px;
    justify-content: center!important;
  }
  #masthead > .container-fluid {
    padding: 0rem 3rem;
  }
  /**
   * 8.5 - Content
   * ----------------------------------------------------------------------------
   */
  .swiper.slider-trattamenti {
    max-width: 1300px;
  }
  #treatment-steps .single-step:not(:last-child) .timeline {
    height: 150%;
    width: 3px;
    position: absolute;
    background-color: #d5dfe0;
  }
  .counter-background {
    position: absolute;
    padding: 6px 15px;
    background-color: #ffe2df;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
  }
  .treatments-class label {
    margin-bottom: 8px;
  }
  .single-treatment .entry-subtitle {
    color: #fff;
    position: relative;
    z-index: 3;
    font-size: 16px;
    padding-bottom: 40px;
  }
  body.archive.category nav.meloria-taxonomy-menu,
  body.archive.tag nav.meloria-taxonomy-menu-tag {
    padding-top: 80px;
  }

  /*single team resource*/
  article.type-store .entry-footer {
    display: flex;
    padding-top: 24px;
  }
  .human-resource .btn-quaternary {
    margin-right: 2rem;
  }
  /* .human-resource .btn {
    padding: 15px !important;
  } */
  #human_resource_stores .card {
    margin-bottom: 3rem;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
  }
  #human_resource_stores .card .card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
  }
  #human_resource_stores .store-container {
    margin-right: 20px;
  }
  #human_resource_search {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  /*end*/
  /*Bundle*/
  .post-type-archive-bundle #loops-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
  }
  .bundle-name {
    font-size: 17px;
  }
  .post-type-archive-bundle #loops-wrapper article {
    min-height: 108px;
    display: flex;
    align-items: center;
}
  /*End*/
  /*Prenotation modal*/
  #exampleModal .modal-dialog {
    min-width: 950px;
  }
  #exampleModal .modal-content {
    padding: 60px;
  }
  #exampleModal .col-md-6 > div {
    height: 391px;
  }
  /*End*/
  /*Risultati*/
  .tab-risultati .tab-nav::before {
    content: "";
    position: absolute;
    width: 19%;
    border-radius: 29px;
    height: 51px;
    background-color: #f1f4f5;
  }
  /*End*/
  /*Reviews*/
  .reviews .card {
    padding: 40px;
  }
  /*End*/
  /*Testimonial*/
  .swiper-slide.testimonial {
    padding: 40px;
  }
  .post-type-archive #loops-wrapper {
    padding-top: 25px;
  }
  /*End*/
  /*Blog*/
  body:not(.post-type-archive) #loops-wrapper {
    padding-top: 50px;
  }
  #loops-wrapper .img-fluid {
    min-height: 300px;
  }
  /*End*/

  /*FAQ*/
  .post-type-archive-meloriatheme_faq .meloria-taxonomy-menu {
    padding-top: 48px;
    padding-bottom: 23px;
  }
  /*End*/
  /**
   * 8.6 - Sidebar
   * ----------------------------------------------------------------------------
   */

  /**
     * 8.7 - Footer
     * ----------------------------------------------------------------------------
     */
  footer .top-footer,
  footer .colphon {
    padding: 0 66px;
  }
}

/**
   * 9.0 Print
   * ----------------------------------------------------------------------------
   */