/*
Theme Name: Laniakea Child
Template: laniakea
Author: Simone Buono
Description: WordPress Theme
Version: 1.0
Description: WordPress theme.
 */

 :root {
    --verde: #39a947;
    --rosso: #ff2d16;
    --bluscuro: #0e407d;
    --azzurro: #518cea;
    --beige: #f3e5a7;
    --verdechiaro: #85d58f;
    --grigiochiaro: #f6f6f6;
  }
  
  button#audiovid {
    position: absolute;
    top: 15px;
    z-index: 1;
    left: 10px;
    background: var(--rosso);
    border: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }
  
  img.ptd {
    width: 20px;
    margin-left: 8px;
    top: 3px;
    position: relative;
  }
  
  #main-header .pre-header .menu-item.social {
    padding-left: 0;
    margin: 0;
    width: 24px;
    font-family: "Font Awesome 6 Brands";
    vertical-align: middle;
    font-size: 16px;
    margin-left: 8px;
    font-weight: 400;
  }
  #movie_player {
    height: 80%;
  }
  #main-header .pre-header .menu-item.social a {
    padding-left: 0;
    line-height: 22px;
  }
  
  .social.fb a::after {
    content: "\f09a";
  }
  .social.insta a::after {
    content: "\f16d";
  }
  .swiper .card {
    background-color: var(--azzurro);
  }
  
  .swiper .card_inner {
    position: relative;
  }
  .swiper .card .card_caption {
    margin: 1em 0 0 0;
    justify-content: start !important;
    align-items: start !important;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 30px;
    line-height: 42px;
    text-align: left;
    padding: 1em 0 0 1em;
  }
  
  .servizio-item {
    position: relative;
    transition: all 0.4s ease-in;
  }
  .servizio-item:hover {
    transform: scale(1.05);
  }
  .servizi-loop-container .servizio-item {
    position: relative;
  }
  .servizi-loop-container .servizio-item .title {
    text-align: left;
    font-size: 35px;
    text-transform: uppercase;
    line-height: 42px;
    color: #fff;
    width: 100%;
    position: absolute;
    left: 16px;
    top: 16px;

    @media (max-width: 990px) {
      text-align: center;
    }
  }
  .servizi-loop-container .vc_btn3-container.vc_btn3-inline {
    position: absolute;
    bottom: 0;
    left: 16px;
  }
  .wpb_single_image.wpb_content_element.vc_align_center {
    margin-bottom: 0 !important;
  }
  .bg-gradient-green {
    background: linear-gradient(to left, white 5%, #39a947 5%, #39a947 79.5%, white 79.5%);

    @media (max-width: 992px) {
      background: linear-gradient(to bottom, white 40%, #39a947 40%);
    }

    @media (max-width: 500px) {
      background: linear-gradient(to bottom, white 20%, #39a947 20%);
    }
  }
  .w-80 {
    width: 80% !important;
  }
  .text-p {
    font-family: Raleway;
    font-size: 23px;
    line-height: 29px;
  }
  .text-p * {
    color: white !important;
  }
  .text-black,
  .text-black * {
    color: black !important;
  }
  .text-white,
  .text-white * {
    color: white !important;
  }
  .fs-20 {
    font-size: 20px !important;
    line-height: 24px !important;
  }
  .fs-25 {
    font-size: 25px !important;
  }
  .fs-35 {
    font-size: 35px !important;
  }
  .fs-95 {
    font-size: 95px !important;
  }
  
  .swiper .card .vc_btn3-container,
  .servizio-item .vc_btn3-container {
    bottom: 2em;
    left: 2em;
  }
  .swiper .card .vc_btn3-container a,
  .servizio-item .vc_btn3-container a {
    padding: 10px 30px;
  }
  
  /*media queries*/
  
  @media (max-width: 1440px) {
    .laniakea-pre-menu .sub-menu {
      left: -100px;
    }
  }
  
  @media (max-width: 992px) {
    .fs-md-35 {
      font-size: 35px !important;
    }
    .flex-md-column {
      flex-direction: column;
    }
    .justify-content-md-start {
      justify-content: flex-start !important;
    }
  
    .justify-content-md-end {
      justify-content: flex-end !important;
    }
  
    .justify-content-md-center {
      justify-content: center !important;
    }
  
    .justify-content-md-between {
      justify-content: space-between !important;
    }
  
    .justify-content-md-around {
      justify-content: space-around !important;
    }
  
    .justify-content-md-evenly {
      justify-content: space-evenly !important;
    }
  
    .align-items-md-start {
      align-items: flex-start !important;
    }
  
    .align-items-md-end {
      align-items: flex-end !important;
    }
  
    .align-items-md-center {
      align-items: center !important;
    }
  
    .align-items-md-baseline {
      align-items: baseline !important;
    }
  
    .align-items-md-stretch {
      align-items: stretch !important;
    }
  
    .order-md-1 {
      order: 1 !important;
    }
  
    .order-md-2 {
      order: 2 !important;
    }
  
    .order-md-3 {
      order: 3 !important;
    }
  
    .order-md-4 {
      order: 4 !important;
    }
  
    .order-md-5 {
      order: 5 !important;
    }
  
    .order-md-last {
      order: 6 !important;
    }
  }
  .h-banner-servizi {
    min-height: 400px !important;
  }
  
  @media (max-width: 1080px) {
    .fs-lg-35 {
      font-size: 35px !important;
    }
    .flex-lg-column {
      flex-direction: column;
    }
    .justify-content-lg-start {
      justify-content: flex-start !important;
    }
  
    .justify-content-lg-end {
      justify-content: flex-end !important;
    }
  
    .justify-content-lg-center {
      justify-content: center !important;
    }
  
    .justify-content-lg-between {
      justify-content: space-between !important;
    }
  
    .justify-content-lg-around {
      justify-content: space-around !important;
    }
  
    .justify-content-lg-evenly {
      justify-content: space-evenly !important;
    }
  
    .align-items-lg-start {
      align-items: flex-start !important;
    }
  
    .align-items-lg-end {
      align-items: flex-end !important;
    }
  
    .align-items-lg-center {
      align-items: center !important;
    }
  
    .align-items-lg-baseline {
      align-items: baseline !important;
    }
  
    .align-items-lg-stretch {
      align-items: stretch !important;
    }
  
    .order-lg-1 {
      order: 1 !important;
    }
  
    .order-lg-2 {
      order: 2 !important;
    }
  
    .order-lg-3 {
      order: 3 !important;
    }
  
    .order-lg-4 {
      order: 4 !important;
    }
  
    .order-lg-5 {
      order: 5 !important;
    }
  
    .order-lg-last {
      order: 6 !important;
    }
  }
  .vc_gitem-zone-mini .vc_btn3-container a {
    border-radius: 0 !important;
    background-color: #0e407d !important;
    font-family: Raleway;
  }
  .address {
    font-family: Raleway;
    font-style: normal;
    font-size: 18px;
    line-height: 29px;
  }
  .servizi-loop-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    justify-items: center;
  }
  .servizio-item {
    max-width: 500px;
  }
  .servizio-item .title {
    text-align: center;
    width: 100%;
    max-width: 70%;
    margin: 0.5rem 0 0 0;
    justify-content: start !important;
    align-items: start !important;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 35px;
    line-height: 42px;
    text-align: left;
    padding: 1em 0 0 0;
  }
  .servizio-item img {
    width: 100% !important;
  }
  
  @media (max-width: 990px) {
    .flex-md-column {
      flex-direction: column;
    }
  
    .lower-footer {
      flex-direction: column;
    }
    .laniakea-footer-menu,
    .ptd {
      display: inline-block;
    }
    #menu-footer-menu {
      display: flex;
      justify-content: center;
    }
    .text-md-left,
    .text-md-left * {
      text-align: left !important;
    }
  }
  /* bootstrap utils */
  .order-0 {
    order: 0 !important;
  }
  
  .order-1 {
    order: 1 !important;
  }
  
  .order-2 {
    order: 2 !important;
  }
  
  .order-3 {
    order: 3 !important;
  }
  
  .order-4 {
    order: 4 !important;
  }
  
  .order-5 {
    order: 5 !important;
  }
  
  .order-last {
    order: 6 !important;
  }
  
  .m-0 {
    margin: 0 !important;
  }
  
  .m-1 {
    margin: 0.25rem !important;
  }
  
  .m-2 {
    margin: 0.5rem !important;
  }
  
  .m-3 {
    margin: 1rem !important;
  }
  
  .m-4 {
    margin: 1.5rem !important;
  }
  
  .m-5 {
    margin: 3rem !important;
  }
  
  .m-auto {
    margin: auto !important;
  }
  
  .mx-0 {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  
  .mx-1 {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
  }
  
  .mx-2 {
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
  }
  
  .mx-3 {
    margin-right: 1rem !important;
    margin-left: 1rem !important;
  }
  
  .mx-4 {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important;
  }
  
  .mx-5 {
    margin-right: 3rem !important;
    margin-left: 3rem !important;
  }
  
  .mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
  }
  
  .my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .my-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  .my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
  }
  
  .my-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
  }
  
  .mt-0 {
    margin-top: 0 !important;
  }
  
  .mt-1 {
    margin-top: 0.25rem !important;
  }
  
  .mt-2 {
    margin-top: 0.5rem !important;
  }
  
  .mt-3 {
    margin-top: 1rem !important;
  }
  
  .mt-4 {
    margin-top: 1.5rem !important;
  }
  
  .mt-5 {
    margin-top: 3rem !important;
  }
  
  .mt-auto {
    margin-top: auto !important;
  }
  
  .me-0 {
    margin-right: 0 !important;
  }
  
  .me-1 {
    margin-right: 0.25rem !important;
  }
  
  .me-2 {
    margin-right: 0.5rem !important;
  }
  
  .me-3 {
    margin-right: 1rem !important;
  }
  
  .me-4 {
    margin-right: 1.5rem !important;
  }
  
  .me-5 {
    margin-right: 3rem !important;
  }
  
  .me-auto {
    margin-right: auto !important;
  }
  
  .mb-0 {
    margin-bottom: 0 !important;
  }
  
  .mb-1 {
    margin-bottom: 0.25rem !important;
  }
  
  .mb-2 {
    margin-bottom: 0.5rem !important;
  }
  
  .mb-3 {
    margin-bottom: 1rem !important;
  }
  
  .mb-4 {
    margin-bottom: 1.5rem !important;
  }
  
  .mb-5 {
    margin-bottom: 3rem !important;
  }
  
  .mb-auto {
    margin-bottom: auto !important;
  }
  
  .ms-0 {
    margin-left: 0 !important;
  }
  
  .ms-1 {
    margin-left: 0.25rem !important;
  }
  
  .ms-2 {
    margin-left: 0.5rem !important;
  }
  
  .ms-3 {
    margin-left: 1rem !important;
  }
  
  .ms-4 {
    margin-left: 1.5rem !important;
  }
  
  .ms-5 {
    margin-left: 3rem !important;
  }
  
  .ms-auto {
    margin-left: auto !important;
  }
  
  .p-0 {
    padding: 0 !important;
  }
  
  .p-1 {
    padding: 0.25rem !important;
  }
  
  .p-2 {
    padding: 0.5rem !important;
  }
  
  .p-3 {
    padding: 1rem !important;
  }
  
  .p-4 {
    padding: 1.5rem !important;
  }
  
  .p-5 {
    padding: 3rem !important;
  }
  
  .px-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  
  .px-1 {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
  }
  
  .px-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }
  
  .px-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  
  .px-4 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
  }
  
  .px-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
  }
  
  .py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  
  .py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  
  .py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  
  .py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .pt-0 {
    padding-top: 0 !important;
  }
  
  .pt-1 {
    padding-top: 0.25rem !important;
  }
  
  .pt-2 {
    padding-top: 0.5rem !important;
  }
  
  .pt-3 {
    padding-top: 1rem !important;
  }
  
  .pt-4 {
    padding-top: 1.5rem !important;
  }
  
  .pt-5 {
    padding-top: 3rem !important;
  }
  
  .pe-0 {
    padding-right: 0 !important;
  }
  
  .pe-1 {
    padding-right: 0.25rem !important;
  }
  
  .pe-2 {
    padding-right: 0.5rem !important;
  }
  
  .pe-3 {
    padding-right: 1rem !important;
  }
  
  .pe-4 {
    padding-right: 1.5rem !important;
  }
  
  .pe-5 {
    padding-right: 3rem !important;
  }
  
  .pb-0 {
    padding-bottom: 0 !important;
  }
  
  .pb-1 {
    padding-bottom: 0.25rem !important;
  }
  
  .pb-2 {
    padding-bottom: 0.5rem !important;
  }
  
  .pb-3 {
    padding-bottom: 1rem !important;
  }
  
  .pb-4 {
    padding-bottom: 1.5rem !important;
  }
  
  .pb-5 {
    padding-bottom: 3rem !important;
  }
  
  .ps-0 {
    padding-left: 0 !important;
  }
  
  .ps-1 {
    padding-left: 0.25rem !important;
  }
  
  .ps-2 {
    padding-left: 0.5rem !important;
  }
  
  .ps-3 {
    padding-left: 1rem !important;
  }
  
  .ps-4 {
    padding-left: 1.5rem !important;
  }
  
  .ps-5 {
    padding-left: 3rem !important;
  }
  .justify-content-start {
    justify-content: flex-start !important;
  }
  
  .justify-content-end {
    justify-content: flex-end !important;
  }
  
  .justify-content-center {
    justify-content: center !important;
  }
  
  .justify-content-between {
    justify-content: space-between !important;
  }
  
  .justify-content-around {
    justify-content: space-around !important;
  }
  
  .justify-content-evenly {
    justify-content: space-evenly !important;
  }
  
  .align-items-start {
    align-items: flex-start !important;
  }
  
  .align-items-end {
    align-items: flex-end !important;
  }
  
  .align-items-center {
    align-items: center !important;
  }
  
  .align-items-baseline {
    align-items: baseline !important;
  }
  
  .align-items-stretch {
    align-items: stretch !important;
  }
  
  /*FAQ */
  
  .vc_toggle .vc_toggle_title {
    color: white !important;
    padding: 1.5rem !important;
    background-color: #518cea !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .vc_toggle_title .vc_toggle_icon {
    position: static !important;
    order: 2 !important;
  }
  .vc_toggle .vc_toggle_icon::before,
  .vc_toggle_default.vc_toggle_active .vc_toggle_icon::after,
  .vc_toggle_default.vc_toggle_active .vc_toggle_icon::before,
  .vc_toggle .vc_toggle_icon::after {
    height: 28px !important;
    width: 4px !important;
  }
  .vc_toggle_size_lg.vc_toggle_default .vc_toggle_icon {
    width: 28px !important;
  }
  .vc_toggle_title .vc_custom_heading {
    word-wrap: break-word;
    width: 70%;
    margin-top: 0;
    position: static !important;
    order: 1 !important;
  }
  .form-contatto {
    width: 60% !important;
  }
  .flex-wrap {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .input {
    width: 40% !important;
  
    @media (max-width: 990px) {
      width: 100% !important;
    }
  }
  .input select {
    width: 100% !important;
  }
  .full-row {
    width: 100% !important;
  }
  
  .wpcf7 {
    max-width: 800px;
    margin: auto;
  }
  
  .wpcf7-form.init {
    text-align: center !important;
  }
  .wpcf7-form-control.wpcf7-submit {
    display: inline-block;
    margin-bottom: 3rem;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    background-color: #518cea !important;
    color: white;
    border: 1px solid transparent;
    box-sizing: border-box;
    word-wrap: break-word;
    -webkit-user-select: none;
    user-select: none;
    text-decoration: none;
    position: relative;
    top: 0;
    transition: all 0.2s ease-in-out;
    line-height: normal;
    box-shadow: none;
    font-size: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 0 !important;
  }
  .wpcf7-form-control.wpcf7-submit:hover {
    background-color: #333333 !important;
    color: #efefef !important;
  }
  .text-left {
    text-align: left !important;
  }
  .captcha-image {
    border: none !important;
  }
  .search_servizi-container {
    background: #fff;
    width: 250px;
    border-radius: 30px;
    height: 35px;
    position: relative;
  }
  
  .search_servizi-container form {
    width: 100%;
    height: 100%;
    display: flex;
    place-items: center;
  }
  
  .search_servizi-container input[name="servizi_key"] {
    border: 0;
    width: 80%;
    outline: none;
  }
  
  .search_servizi-container form i:first-child {
    margin-left: 10px;
    margin-right: 4px;
  }
  
  .search_servizi-container form i:last-child {
    margin-right: 12px;
    cursor: pointer;
  }
  
  @media (min-width: 990px) {
    .show_mobile {
      display: none !important;
    }
  
    .laniakea-menu {
      margin-top: 24px;
    }
  
    .laniakea-pre-menu > ul > li > a {
      text-transform: none;
    }
    .ms-md-5 {
      margin-left: 3rem !important;
    }
    .d-md-none {
      display: none !important;
    }
    .d-md-block {
      display: block !important;
    }
  }
  .d-none {
    display: none;
  }
  .d-block {
    display: block;
  }
  .video-banner {
    transform: translateY(-100%);
    z-index: 99999 !important;
  }
  /* aggiunto commento da remoto*/
  /*simone ha aggiunto i permessi di scrittura*/
  
  .card__inner:hover {
    transition: transform 0.3s ease;
  }
  .card__inner:hover .card_caption {
    animation: bounce 0.5s; /* Applica l'animazione di bounce su hover */
  }
  
  @keyframes bounce {
    0% {
      transform: translateY(0);
    }
    25% {
      transform: translateY(-30px);
    }
    50% {
      transform: translateY(0);
    }
    75% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(0);
    }
  }
  .fs-16 {
    font-size: 16px !important;
  }
  .social-icon {
    margin: 0;
    width: 24px;
    font-family: "Font Awesome 6 Brands";
    vertical-align: middle;
    font-size: 16px;
    color: black;
  }
  #popup {
    display: none;
    position: fixed;
    bottom: 0px;
    right: 0px;
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    transition: all 0.5s ease;
    z-index: 999;
  }
  #popup #chiudi-popup {
    padding: 0.25rem;
    margin: 0.25rem;
  }
  
  #popup #chiudi-popup:hover {
    cursor: pointer;
    border: 2px solid black;
    border-radius: 20%;
  }
  
  #popup.mostra {
    display: block;
    opacity: 1;
  }
  
  #popup.chiudi {
    opacity: 0;
    pointer-events: none;
  }
  #popup .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  #popup .part {
    text-align: center;
  }
  #popup .part .image img {
    max-height: 100px;
    margin: 0 auto;
    transition: all 0.5s ease-in-out;
    transform: scale(1);
  }
  #popup .part .image img:hover {
    transform: scale(1.1);
    max-height: 100px;
    margin: 0 auto;
    cursor: pointer;
  }
  #popup .part .text {
    color: var(--verde);
    font-family: Raleway;
    font-size: 20px;
    font-weight: 600;
    margin: 1rem 0;
  }
  #popup .part .text:hover {
    text-decoration: underline;
    color: var(--verdechiaro);
  }
  
  .swiper-button-next.swiper-button-disabled,
  .swiper-button-prev.swiper-button-disabled {
    opacity: 0 !important;
    cursor: auto;
    pointer-events: none;
  }
  .menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    vertical-align: middle;
    font-size: 70%;
    margin-left: 8px;
    font-weight: 900;
  }
  @media (max-width: 1400px) {
    .swiper .card .card_caption {
      margin: 1em 0 0 0;
      justify-content: start !important;
      align-items: start !important;
      text-transform: uppercase;
      font-weight: 200;
      font-size: 25px;
      line-height: 30px;
      text-align: left;
      padding: 1em 0 0 1em;
    }
  }
  @media (max-width: 680px) {
    .swiper .card .card_caption {
      margin: 1em 0 0 0;
      justify-content: start !important;
      align-items: start !important;
      text-transform: uppercase;
      font-weight: 200;
      font-size: 25px;
      line-height: 28px;
      text-align: left;
      padding: 1em 0 0 1em;
      overflow-wrap: break-word;
    }
  }
  @media (max-width: 350px) {
    .swiper .card .card_caption {
      margin: 1em 0 0 0;
      justify-content: start !important;
      align-items: start !important;
      text-transform: uppercase;
      font-weight: 200;
      font-size: 16px;
      line-height: 18px;
      text-align: left;
      padding: 1em 0 0 1em;
      overflow-wrap: break-word;
    }
  }
  @media (max-width: 480px) {
    .green-box {
      display: none;
    }
  }
  .pre-header > div.contained {
    max-width: none !important;
    margin-right: 5rem !important;
  }
  .green-box-row {
    position: relative;
  
    z-index: 99;
    transform: translateY(-200%);
  }
  .green-box {
    position: relative;
    background: var(--verde);
    padding: 1rem 3rem;
    z-index: 99;
  }
  .green-box .box-title {
    font-family: Raleway;
    font-size: 20px;
    color: white;
    overflow-wrap: normal;
  }
  .green-box a {
    font-family: Raleway;
    font-size: 20px !important;
    color: #000000 !important;
  }
  .copy {
    width: 100%;
  }
  .copy .copy-label,
  .copy .copy-input,
  .copy .copy-btn {
    font-family: Raleway;
    font-size: 20px !important;
    padding: 1rem;
  }
  
  .copy-btn {
    background: red;
    color: white;
    font-weight: 600;
    border-radius: 0 0;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in;
  }
  .copy-btn:hover {
    background: black;
  }
  .copy-input {
    border-radius: 0 0 0 0;
    border: none;
  }
  .copy-input:focus-visible {
    border: none;
  }
  .copy-input-group {
    width: fit-content;
    border-radius: 0;
    display: flex;
    border: 1px solid black;
  }
  #prestazioni p a:hover {
    opacity: 0.5;
  }
  .sub-menu .menu-item a {
    color: black !important;
  }
  .sub-menu .menu-item a:hover,
  .sub-menu .current-menu-item a {
    color: var(--rosso) !important;
  }
  
  .orari {
    margin-top: 2rem;
    border: 1px solid black;
    border-collapse: collapse;
  }
  .orari tr,
  .orari td,
  .orari th {
    border: 1px solid black;
  }
  .orari td,
  .orari th {
    padding: 0.5rem;
    text-align: left;
    font-size: 20px;
    font-family: Raleway;
  }
  #myVideo {
    width: 100vw;
  }
  @media (min-width: 960px) {
    #myVideo {
      height: calc(100% - 100px);
    }
  }
  #block-2{
    margin: 2rem 0;
  }
  #block-3 li{
    margin: 1rem 0;
  }
  #block-4{
    display: none;
  }
  .cv-modal-btn {

    display: inline;

    .show-btn {
        border: none;
        background-color: transparent;
        font-family: inherit;
        cursor: pointer;
        font-size: inherit;
        text-decoration: underline;

       
    }
}

.cv-modal-wrapper{

    .cv-modal {
        border: none;
        padding: 2rem;
        width: 50%;
    
        .cv-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 2rem;
    
            .cv-modal-title {
                h3 {
                    margin: 0;
                }
            }
    
            button {
                cursor: pointer;
                border: none;
                background-color: transparent;
                transition: transform 0.2s ease-in-out;
                border-radius: 4px;
                padding: 0.3rem;
    
                &:hover {
                    transform: scale(150%);
                }
    
                &:active {
                    opacity: 0.7;
                }
    
    
            }
        }
    }
}
@media (max-width: 768px){
	.cv-modal{
		width: 80% !important;
		max-height: 80vh;
		.cv-modal-title h3{
			font-size: 18px !important;
			word-break: break-word;
		}
		.cv-modal-content{
			font-size: 15px !important;
		}
	}
}


[popover]:popover-open {
    opacity: 1;
    transform: scale(1);
}

[popover] {
    font-size: 1.2rem;
    padding: 10px;

    /* Final state of the exit animation */
    opacity: 0;
    transform: scale(0);


    transition: all 0.7s allow-discrete;
}

/* Needs to be after the previous [popover]:popover-open rule
  to take effect, as the specificity is the same */
@starting-style {
    [popover]:popover-open {
        opacity: 0;
        transform: scale(0);
    }
}

/* Transition for the popover's backdrop */

[popover]::backdrop {
    background-color: rgb(0 0 0 / 0%);
    transition:
        display 0.7s allow-discrete,
        overlay 0.7s allow-discrete,
        background-color 0.7s;
    /* Equivalent to
    transition: all 0.7s allow-discrete; */
}

[popover]:popover-open::backdrop {
    background-color: rgb(0 0 0 / 60%);
}

/* The nesting selector (&) cannot represent pseudo-elements
  so this starting-style rule cannot be nested */

@starting-style {
    [popover]:popover-open::backdrop {
        background-color: rgb(0 0 0 / 0%);
    }
}
  /*
  .link a {
    color: var(--azzurro);
    text-decoration: underline;
  }
  .link a:hover {
    opacity: 0.5;
  }
  .list ul, .post-content ul{
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
  }
  */