/*
Theme Name: Sensei X
Theme URI: https://www.simonebaldassin.com/senseis2-theme/
Author: Simone Baldassin
Author URI: https://simonebaldassin.com
Description: Sensei X - A starter theme for WordPress
Version: 1.0.0
Tested up to: 6.8
Requires PHP: 8.2
Text Domain: sensei-x
*/

/* WordPress core */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.wp-block-button.aligncenter {
  display: inline-block;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid var(--grey);
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Accessibility act reader */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gutenberg */
.wp-block-button {
  display: inline-block;
}

.header .button {
    padding: 8px 20px !important;
    font-size: 12px !important;
}

/* CSS Starter */
@font-face {
  font-display: swap;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/plus-jakarta-sans-v8-latin-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/plus-jakarta-sans-v8-latin-700.woff2") format("woff2");
}

:root {
  --primary: #ee7405;
  --secondary: #b95322;
  --light: #ffffff;
  --dark: #111111;
  --black: #1d1d1d;
  --grey: rgba(217, 217, 217, 0.3);
  --p: rgba(255, 255, 255, 0.7);
  --input: #111111;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

:focus {
  outline: 1px solid var(--primary);
  border-radius: 0;
  transition: outline 0.2s ease-in-out;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 1px solid var(--primary);
  border-radius: 0;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.bento img,
.bento-cover {
  border-radius: 30px;
}

.bento-cover {
  padding: 0 30px;
}

a:not(.brand) img {
  margin-bottom: 20px;
}

input:-webkit-autofill {
  box-shadow: inset 0 0 0 9999px white;
  -webkit-box-shadow: inset 0 0 0 9999px white;
}

input:-webkit-autofill:focus {
  box-shadow: 0 0 0 50px white inset;
  -webkit-box-shadow: 0 0 0 50px white inset;
}

body,
input,
textarea,
select,
button {
  font-family: "Plus Jakarta Sans", sans-serif;
}

body {
  background-color: var(--dark);
}

.content {
  width: 1160px;
  margin: 0 auto;
}

.container {
  padding: 0 30px;
}

.wrapper {
  max-width: 60%;
  margin: 0 auto;
}

.divider {
  padding: 20px 0;
}

.spacer {
  padding: 95px 0;
}

.responsive img {
  width: 100%;
  height: auto;
}

.center {
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  word-wrap: break-word;
}

a {
  text-decoration: none;
  -webkit-transition: 0.3s all ease-out;
  transition: 0.3s all ease-out;
}

main a:not(header a, .wp-block-cover a) {
  color: var(--primary);
}

main a:not(header a, .wp-block-cover a):hover {
  color: var(--secondary);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: var(--dark) !important;
}

.bento-cover h3 a {
  color: var(--light) !important;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
.bento-cover h3 a:hover {
  color: var(--primary) !important;
}

.shadow img {
  box-shadow: 0 3rem 2rem -1rem rgb(0 0 0 / 25%);
}

.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}
.max-900 {
  max-width: 850px;
  width: 100%;
  margin: auto;
}
.p20 {
  padding: 20px;
}

.p40 {
  padding: 40px;
}

.pt70 {
  padding-top: 70px;
}

.pt120 {
  padding-top: 120px;
}

.b80 {
  border-radius: 80px;
  padding: 12px 30px;
  background-color: var(--primary);
}

.b80 h3 {
  margin-bottom: 0;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--dark);
}

.bt-grey {
  border-top: 1px solid var(--grey);
}

.b-grey {
  border-bottom: 1px solid var(--grey);
  padding-top: 40px;
}

.p-relative {
  position: relative;
}

.p-absolute {
  position: absolute;
  top: 60px;
  right: 0;
  width: 60%;
  z-index: 99990;
}

.parallax {
  background: url("img/orange-icon.png") no-repeat center center;
  min-height: 350px;
  border-top: 1px dashed var(--grey);
}
.no-border {
  border: none !important;
}

.l-arrow a {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--light) !important;
  position: relative;
}

.l-arrow a:hover {
  color: var(--primary) !important;
}

.l-arrow a::after {
  content: " \f062";
  font-family: FontAwesome;
  transform: rotate(40deg);
  display: inline-block;
  font-size: 20px;
  position: absolute;
  right: -18px;
  bottom: -3px;
}

.area-riservata h1 {
  font-size: 64px;
  max-width: 750px;
  margin-bottom: 0;
}
/* Grid System */
.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.col-1 {
  width: 8.33333%;
}

.col-2 {
  width: 16.6666%;
}

.col-3 {
  width: 25%;
}

.col-4 {
  width: 33.33333%;
}

.col-6 {
  width: 50%;
}

.col-8 {
  width: 66.666666%;
}

.col-10 {
  width: 83.3333%;
}

/* Button */
.button,
[type="submit"],
[type="reset"],
[type="button"],
.wp-block-button__link,
.is-style-outline > .wp-block-button__link {
  display: inline-block;
  padding: 14px 30px !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  color: var(--dark);
  text-transform: uppercase;
  border: 1px solid var(--primary) !important;
  border-radius: 30px !important;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  background-color: var(--primary);
}

[type="submit"] {
  color: var(--dark);
  cursor: pointer;
}

input[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
}

.button:hover,
[type="submit"]:hover {
  color: var(--dark);
  background-color: var(--secondary);
  border-color: var(--secondary) !important;
}

.wp-block-button__link,
.is-style-outline .wp-block-button__link {
  color: var(--dark) !important;
  min-width: 200px;
}

.wp-block-cover .wp-block-button__link,
.wp-block-cover .is-style-outline .wp-block-button__link {
  color: var(--dark) !important;
}

.wp-block-button__link:hover,
.is-style-outline .wp-block-button__link:hover {
  color: var(--dark) !important;
  background-color: var(--secondary);
  border-color: var(--secondary) !important;
}

/* Whatsapp */
.whatsapp {
  width: 52px;
  height: 52px;
  font-size: 24px;
  background-color: #21d561;
  color: var(--light);
  text-align: center;
  line-height: 52px;
  border-radius: 50%;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99997;
}

.whatsapp a {
  color: var(--light);
  text-decoration: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--light);
  font-weight: 700;
  margin-bottom: 20px;
}

h1 {
  font-size: 80px;
  line-height: 72px;
}

h2 {
  font-size: 60px;
}

h3 {
  font-size: 36px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 13px;
  font-weight: 400;
  color: var(--light);
}

h6 {
  font-size: 13px;
}

p {
  color: var(--p);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 20px;
}

ul,
ol:not(.wp-block-latest-comments) {
  color: var(--p);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  padding-bottom: 20px;
  padding-left: 1rem;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--p);
}

blockquote {
  font-size: 32px;
  font-weight: 700;
  color: var(--light);
  padding: 10px 0 10px 30px;
  line-height: 32px;
  margin-bottom: 20px;
  position: relative;
}

blockquote::before {
  content: "";
  border-left: 8px solid var(--primary) !important;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(20deg);
}

blockquote h2 {
  font-size: 32px;
  line-height: 36px;
  margin-bottom: 0;
}

.wp-block-quote {
  border: none;
  margin: 0;
}

.hero-quote {
  margin-left: 1em;
}
.hero-quote h2 {
  max-width: 350px;
}

.home-hero .wp-block-cover__inner-container {
  margin-top: 100px !important;
}

@media (max-width: 992px) {
  .hero-quote h2 {
    font-size: 1.2rem;
  }
}
@media (max-width: 767px) {
  .hero-spacing {
    height: 0 !important;
  }
}

.wp-block-pullquote blockquote {
  border-left: none;
  /* border-top: 5px solid var(--grey);
  border-bottom: 5px solid var(--grey); */
  padding: 30px;
}

figcaption {
  color: var(--p) !important;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 28px;
  font-style: italic;
}

.blocks-gallery-item__caption {
  color: var(--light) !important;
}

fieldset {
  border: 1px solid var(--primary);
  padding: 15px;
}

legend {
  color: var(--dark);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: none !important;
  padding: 14px !important;
}

td {
  font-weight: 400;
  font-size: 16px;
}

tbody th {
  font-weight: 400;
  text-align: left;
  color: var(--light);
}

tr:nth-child(even) {
  background: var(--light);
}

tr:nth-child(odd) {
  background: var(--grey);
}

dl {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--p);
}

dt {
  font-size: 16px;
  font-weight: 400;
}

dd {
  padding-left: 16px;
}

address,
kbd {
  font-size: 16px;
  font-weight: 400;
  color: var(--p);
}

address {
  margin-bottom: 20px;
}

code {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-style: italic;
}

pre {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  margin-bottom: 20px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

strong {
  color: var(--primary);
}

/* Header */
header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99998;
  padding: 20px 0;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.sticky-menu {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  padding: 5px 0;
}

.brand img {
  width: 170px;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 99998;
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu {
  list-style: none;
  display: flex;
  flex-direction: row;
  padding-bottom: 0;
}

.menu li {
  font-size: 16px;
  font-weight: 700;
  color: var(--light);
  letter-spacing: 1px;
  position: relative;
}

.menu .menu-item-has-children > a::after {
  content: " \f062";
  font-family: FontAwesome;
  transform: rotate(40deg);
  display: inline-block;
  font-size: 11px;
  margin-left: 5px;
}

.menu .sub-menu .menu-item-has-children > a::after {
  content: "" !important;
}

.menu a {
  display: inline-block;
  padding: 18px;
  text-decoration: none;
  color: var(--light);
}

.menu a:hover,
.current-menu-item > a {
  color: var(--primary);
}

.menu .menu-item-has-children .sub-menu {
  list-style: none;
  flex-direction: column !important;
  position: absolute;
  top: 60px;
  left: -30px;
  z-index: 99998;
  background: var(--light);
  visibility: hidden;
  opacity: 0;
  padding: 10px 0;
  border: 1px solid var(--light);
  -webkit-transition: 0.5s;
  transition: 0.5s;
  border-radius: 30px;
}

.menu .menu-item-has-children:hover .sub-menu,
.menu .menu-item-has-children:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  top: 50px;
}

.sub-menu li {
  width: 240px;
  font-size: 13px;
}

.sub-menu a {
  padding: 5px 30px;
  color: var(--dark);
  width: 100%;
}

.sub-menu a:hover {
  color: var(--primary);
}

.sub-menu .current-menu-item > a {
  color: var(--primary);
}

.navbar {
  cursor: pointer;
  margin-right: 10px;
  position: relative;
  width: 25px;
  height: 25px;
  display: none;
  z-index: 99998;
  background-color: transparent;
  border: none;
}

.icon-bar {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--light);
  position: absolute;
  transition: all 0.3s cubic-bezier(0.26, 0.1, 0.27, 1.55);
}

.first-icon {
  top: 7px;
  left: calc(50% - 11px);
}

.second-icon {
  top: 14px;
  left: calc(50% - 11px);
}

.navbar.close .first-icon {
  transform: rotate(45deg);
  top: 10px;
}

.navbar.close .second-icon {
  transform: rotate(-45deg);
  top: 10px;
}
@media screen and (max-width: 1024px) {
  header nav .button-desktop {
    display: none;
  }
}
.menu .menu-spacer {
  display: inline-flex;
  padding: 13px 13px 0 13px;
  border-top: #333 1px solid;
  width: 100%;
  font-size: 13px;
  color: #666;
}
@media screen and (min-width: 1025px) {
  .menu li.menu-item-type-custom {
    display: none !important;
  }
  .menu .menu-spacer {
    display: none;
  }
}
/* Breadcrumbs */
.breadcrumbs p {
  font-size: 13px !important;
  color: var(--light);
  word-spacing: 2px;
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs a:hover {
  color: var(--light) !important;
}

/* Page */
.wp-post-image {
  margin-bottom: 20px;
}

.main {
  width: 100%;
  padding: 350px 0 50px 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

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

.search-result-null {
  height: 768px;
}

/* Sidebar */
aside h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

aside ul {
  list-style: none;
  padding-left: 0;
}

aside li {
  margin-bottom: 12px;
  line-height: 28px;
}

aside a {
  color: var(--p);
}

aside a:hover {
  color: var(--primary);
}

.widget {
  margin-bottom: 20px;
}

.wp-block-latest-comments footer {
  background-color: transparent;
  padding: 0;
}

/* Footer */
footer {
  width: 100%;
  padding: 70px 0;
  background: var(--dark);
  border-top: 1px dashed var(--grey);
}

footer ul {
  padding-left: 0;
  list-style: none;
}

footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
  color: var(--primary);
}

footer h4 {
  padding-top: 40px;
  padding-bottom: 41px;
}

footer p,
footer li {
  font-size: 14px;
  color: var(--light);
  line-height: 28px;
}

footer a {
  color: var(--light);
  font-weight: 700;
}

footer a:hover {
  color: var(--primary);
}

.footer-column {
  padding-right: 40px;
}

footer .fa-arrow-up {
  transform: rotate(40deg);
  display: inline-block;
  font-size: 11px;
  margin-right: 5px;
}

footer .fa-brands {
  display: inline-block;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  font-size: 16px;
}

.social-icon {
  display: flex;
  gap: 20px;
}

.credits {
  border-top: 1px solid var(--grey);
  padding-top: 20px;
}

/* Blog */
.flex-gap {
  gap: 5%;
}

.card {
  width: 30%;
  margin-bottom: 20px;
}

.card h2 {
  font-size: 28px;
}

.card-img {
  aspect-ratio: 16/9;
  margin-bottom: 20px;
}

.view {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.view img {
  display: block;
  position: relative;
  transition: all 0.2s linear;
  transform: scale(1);
}

.view img:hover {
  transform: scale(1.1);
}

span.post-date {
  display: block;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Pagination */
.pagination {
  padding: 70px 0;
}

.pagination-list {
  list-style-type: none;
  display: flex;
  gap: 5px;
  padding-left: 0;
}

.page-numbers {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--primary);
  text-decoration: none !important;
  color: var(--dark) !important;
  font-size: 14px;
  text-transform: uppercase;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  margin-bottom: 5px;
}

a.page-numbers:hover {
  background: var(--primary);
  color: var(--light) !important;
}

.current {
  background: var(--primary);
  color: var(--light) !important;
}

.dots {
  border: none;
}

/* 404 */
.error404 main {
  min-height: 900px;
}

/* Form */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
input[type="file"],
textarea {
  color: var(--light);
  background: var(--dark);
  background-image: -webkit-linear-gradient(
    rgba(17, 17, 17, 0),
    rgba(17, 17, 17, 0)
  );
  border: 1px solid var(--input);
  display: block;
  border-radius: 30px;
  padding: 20px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 1px 4px 2px -3px rgba(0, 0, 0, 0.7) inset,
    -1px -3px 3px -2px rgba(255, 255, 255, 0.2) inset;
}

input[type="number"] {
  -webkit-appearance: initial;
  appearance: initial;
}

select {
  color: var(--dark);
  background: var(--light);
  background-image: -webkit-linear-gradient(
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0)
  );
  border: 1px solid var(--input);
  display: block;
  border-radius: 0;
  padding: 1em;
  width: 100%;
}

textarea {
  padding-top: 20px;
  padding-bottom: 20px;
  height: 180px;
  resize: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: var(--primary);
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  color: var(--grey);
  border-radius: 6px;
  border: 2px solid var(--dark);
  background-color: var(--dark);
  box-shadow: 1px 4px 2px -3px rgba(0, 0, 0, 0.7) inset,
    -1px -3px 3px -2px rgba(255, 255, 255, 0.2) inset;
  display: grid;
  place-content: center;
  float: left;
  margin-right: 10px;
}

input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--primary);
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

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

::placeholder {
  color: var(--p);
}

.wpcf7-list-item.first,
.wpcf7-acceptance span.wpcf7-list-item {
  margin-left: 0;
}

.wpcf7-quiz-label {
  padding-left: 20px;
}

.wpcf7-quiz {
  width: 200px !important;
  margin-top: 10px;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  color: var(--p);
}
/* !---------
! PLUGIN PAID MEMBERS
! ---------*/
/*
* Form di Paid Membership
*
*/
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pms-form {
  width: 100%;
}
.pms-account-navigation {
  margin-bottom: 40px !important;
}
.pms-account-navigation ul {
  display: flex;
  gap: 12px;
  list-style: none;
}
.pms-account-navigation li.pms-account-navigation-link a {
  display: inline-block;
  padding: 14px 30px !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  color: var(--dark);
  text-transform: uppercase;
  border: 1px solid var(--primary) !important;
  border-radius: 30px !important;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  line-height: 17px;
  background-color: var(--primary);
}
.pms-account-navigation li.pms-account-navigation-link a:hover {
  background-color: var(--secondary);
  border-color: var(--secondary) !important;
  color: var(--dark);
}

/*tabella delle sottoscrizioni*/

.pms-account-subscription-details-table {
  border-radius: 8px;
  overflow: hidden;
}
.pms-account-subscription-details-table tbody tr:nth-child(odd),
.pms-account-subscription-details-table tbody tr:nth-child(even) {
  background-color: #333;
  color: var(--light);
  border-bottom: 1px solid #434343;
}
.pms-account-subscription-details-table tbody tr,
.pms-account-subscription-details-table tbody td {
  padding: 28px 30px !important;
  font-size: 12px !important;
  text-align: left;
}
/*tabella dei pagamenti*/
#pms-payment-history {
  border-radius: 8px;
  overflow: hidden;
}
.pms-table th,
.pms-table td,
.pms-table tr {
  background-color: #333 !important;
  color: var(--light) !important;
  border-bottom: 1px solid #434343 !important;
  padding: 28px 30px !important;
  font-size: 12px !important;
  text-align: left;
}
/* 
/* !---------
! CARICMENTO CERTIFICATO
! ---------*/

/* !---------
! AMELIA PAGE 
! ---------*/
.col-round {
  border-radius: 30px !important;
}
.wp-block-amelia-customer-cabinet-gutenberg-block {
  width: 100% !important;
  max-width: 100% !important  ;
}
.amelia-app-booking #am-cabinet .am-cabinet-dashboard {
  margin: 0 !important;
  max-width: 100% !important;
}
.amelia-v2-booking
  #amelia-container
  .am-input-wrapper
  .am-input
  .el-input__wrapper {
  width: 100% !important;
}
.amelia-v2-booking
  #amelia-container
  .am-input-wrapper
  .am-input
  .el-input__inner {
  max-width: 85% !important;
}
.amelia-v2-booking {
  max-height: 720px !important;
  overflow-y: auto !important; /* usa auto invece di scroll per nascondere la barra se non serve */
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #b6b6b6 #f0f0f0; /* Firefox (thumb / track) */
}

/* Chrome, Edge, Safari */
.amelia-v2-booking::-webkit-scrollbar {
  width: 10px; /* larghezza scrollbar verticale */
}

.amelia-v2-booking::-webkit-scrollbar-track {
  background: #f0f0f0; /* colore del "binario" */
  border-radius: 10px;
}

.amelia-v2-booking::-webkit-scrollbar-thumb {
  background-color: #b6b6b6; /* colore del "pollice" */
  border-radius: 10px;
  border: 2px solid #f0f0f0; /* distacco visivo dal track */
  transition: background-color 0.3s ease;
}

.amelia-v2-booking::-webkit-scrollbar-thumb:hover {
  background-color: #999; /* colore al passaggio del mouse */
}
.amelia-app-booking #am-cabinet .am-cabinet-dashboard {
  margin-bottom: 0 !important;
}
.amelia-v2-booking #amelia-container .am-button span {
  overflow: unset !important;
}
.amelia-v2-booking #amelia-container .el-form-item__content [type="button"] {
  padding: 0 !important;
  border: none !important;
}
/* Media queries */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .content {
    width: 90%;
    margin: 0 5%;
  }
}

@media only screen and (max-width: 1024px) {
  .content {
    width: 90%;
    margin: 0 5%;
  }

  .wrapper {
    max-width: 60%;
  }

  .brand {
    margin-left: 10px;
  }

  .navbar {
    display: block;
  }

  .header .button {
    display: none;
  }

  .menu {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: 99997;
    padding: 50px;
    overflow-y: scroll !important;
    background: rgba(0, 0, 0, 1);
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  .menu::-webkit-scrollbar {
    display: none;
  }

  .wide {
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
  }

  .menu > li:first-child {
    padding-top: 100px;
  }

  .menu .menu-item-has-children .sub-menu {
    position: relative;
    display: block;
    visibility: visible !important;
    opacity: 1;
    top: -10px;
    padding: 0;
    left: 0;
    background: transparent;
    border: none;
  }
  .menu .menu-item-has-children .sub-menu li > a {
    font-size: 0.825rem;
    opacity: 0.82;
  }

  .menu .menu-item-has-children:hover .sub-menu,
  .menu .menu-item-has-children:focus-within > .sub-menu {
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
    top: -10px;
  }

  .menu li,
  .menu a {
    width: 100%;
    border: none;
    font-size: 16px;
  }

  .menu a {
    padding: 13px;
  }

  .sub-menu li:last-child {
    border-bottom: 1px solid #333;
  }

  .sub-menu a {
    color: var(--light);
  }

  .sub-menu a:hover {
    background: transparent;
    color: var(--primary);
  }

  h1 {
    font-size: 60px;
    line-height: 62px;
  }

  h2 {
    font-size: 38px;
  }

  h3 {
    font-size: 26px;
  }
}
@media only screen and (max-width: 992px) {
  .area-riservata h1 {
    font-size: 54px;
  }
}
@media only screen and (max-width: 840px) {
  .area-riservata h1 {
    font-size: 48px;
    line-height: 50px;
  }
}
@media only screen and (max-width: 768px) {
  .area-riservata h1 {
    font-size: 44px;
  }
  .wrapper {
    max-width: 85%;
  }

  .container {
    padding: 0 10px;
  }

  .m-center {
    text-align: center;
  }

  .p-absolute {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
  }

  .p40.m-center {
    padding-top: 0;
    padding-bottom: 0;
  }

  .parallax .p40 {
    padding: 0 0 40px 0;
  }

  .flex-container {
    flex-direction: column;
  }

  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-10 {
    width: 100%;
  }

  aside {
    padding-left: 0;
    padding-top: 70px;
  }

  h2 {
    font-size: 38px;
  }
}
@media only screen and (max-width: 680px) {
  .area-riservata h1 {
    font-size: clamp(33px, 3vw, 40px);
    line-height: 42px;
  }
}
@media only screen and (max-width: 390px) {
  h1 {
    font-size: 48px;
    line-height: 52px;
  }

  .wp-block-quote {
    margin-left: 10px;
  }

  blockquote h2 {
    font-size: 24px;
  }
}

@media only screen and (max-width: 320px) {
  h1 {
    font-size: 38px;
    line-height: 42px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }

  .wp-block-quote {
    margin-left: 10px;
  }

  blockquote h2 {
    font-size: 18px;
    line-height: 18px;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(60px);
  filter: blur(10px);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.in-page {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Varianti con delay per effetti staggered */
.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

/* Variante più veloce */
.fade-in-fast {
  transition-duration: 0.8s;
}

/* Variante da sinistra */
.fade-in-left {
  transform: translateX(-60px) translateY(20px);
}

.fade-in-left.in-page {
  transform: translateX(0) translateY(0);
}

/* Variante da destra */
.fade-in-right {
  transform: translateX(60px) translateY(20px);
}

.fade-in-right.in-page {
  transform: translateX(0) translateY(0);
}

/* Variante scale */
.fade-in-scale {
  transform: scale(0.9) translateY(40px);
}

.fade-in-scale.in-page {
  transform: scale(1) translateY(0);
}

.amelia-v2-booking #amelia-container.am-cap__wrapper {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
.amelia-v2-booking #amelia-container .am-fs__main {
  max-width: 100% !important;
}
@media screen and (max-width: 992px) {
  .col-account {
    flex-wrap: wrap !important;
  }
  .col-account > div {
    flex-basis: 100% !important;
  }

  .pms-account-navigation {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    width: 100%;
    scrollbar-width: auto;
  }
}
@media screen and (max-width: 520px) {
  .cert-status {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .mobile-pad {
    padding: 40px 10px !important;
  }
  .certificato-current,
  #form-certificato {
    padding: 15px !important;
  }
}
