/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/
/*Add your own styles here:*/
#header {
  margin: 20px 0;
}
.avia_textblock p {
font-size: 24px!important;
line-height: 1.3em;
}
@media only screen and (max-width: 988px) {
.avia_textblock p {
font-size: 20px!important;
line-height: 1.2em;
}
}

.main_menu {
  left: 200px;
  background-color: #b2b2b2;
  /* clip-path: polygon(98% 0, 100% 10%, 100% 100%, 2% 100%, 0 90%, 0 0); */
  background-image: url("https://www.residenzasanlongino.it/wp-content/uploads/2024/10/angdxtop.png");
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: right -1px top -1px;
}

.avia-menu {
  background-image: url("https://www.residenzasanlongino.it/wp-content/uploads/2024/10/angsxdown.png");
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: left -1px bottom -1px;
  height: 200px;
  float: right;
  width: 100%;
}

#top #header_main>.container, #top #header_main>.container .main_menu .av-main-nav>li>a,
#top #header_main #menu-item-shop .cart_dropdown_link {
  height: 200px;
  line-height: 200px;
}

.responsive.html_mobile_menu_tablet #top #header_main>.container .main_menu .av-main-nav>li>a,
.responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container {
  height: 200px;
  line-height: 200px;
}

#avia-menu {
  float: right;
  margin-right: 20px;
}

.av-hamburger {
  transform: rotate(90deg);
}

.header_color .av-hamburger-inner,
.header_color .av-hamburger-inner::before,
.header_color .av-hamburger-inner::after {
  background-color: #000;
}

@media only screen and (max-width: 988px) {
  .responsive.html_mobile_menu_tablet #top #wrap_all #header {
    margin: 5px 0 !important;
    height: 200px
  }

  .responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container {
    height: 200px;
    line-height: 200px;
  }

  .responsive .logo img, .responsive .logo svg {
    max-height: 200px;
  }

  .responsive #top #wrap_all .main_menu {
    top: 0;
    height: 200px;
    left: 200px !important;
    right: 0;
    display: block;
    position: absolute;
  }
}

@media only screen and (max-width: 767px) {
  .responsive .logo img, .responsive .logo svg {
    max-height: 200px;
  }

  .responsive #top #wrap_all .main_menu {
    top: 0;
    height: 200px;
    left: 200px;
    right: 0;
    display: block;
    position: absolute;
  }
}

/* @media only screen and (min-width: 988px) {
.titolo-locali h2 {
font-size: 32px;
}
} */
.numero-area h6 {
  font-size: 82px;
  font-weight: normal;
}

.img-dx-bottom img {
  clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
}

.img-sx-top img {
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
}

.img-dx-top img {
  clip-path: polygon(80% 0, 100% 20%, 100% 100%, 0 100%, 0 0);
}

.img-sx-bottom img {
  clip-path: polygon(100% 0, 100% 100%, 20% 100%, 0 80%, 0 0);
}

.disattivare a {
  cursor: default;
  pointer-events: none;
}

.colonna-texture section:nth-child(2) {
margin-top: calc(100% - 200px);
}

/* @media only screen and (max-width: 988px) {
  @media screen and (-webkit-min-device-pixel-ratio:0) {
    .colonna-texture {
      width: 20vw;
      height: calc(26.5vw * 1/1);
      aspect-ratio: 1/1;
    }
  }

  @-moz-document url-prefix() {
    .colonna-texture {
      aspect-ratio: 1/1;
      width: auto !important;
      height: auto;
    }
  }
} */
@media only screen and (max-width: 988px) {
.colonna-texture {
  width: 100% !important;
    height: calc(26.5% * 1/1);
}
}
.pulsante a {
  padding: 20px 10px !important;
}

.pulsante span {
  text-transform: uppercase;
  font-size: 18px;
  line-height: 30px;
}

.fila-pulsanti .avia-button span {
  font-size: 30px;
}

.fila-pulsanti .avia-button span br {
  display: none;
}

.fila-pulsanti .avia-button-wrap {
  min-width: 23%;
  margin-left: 2%;
  float: left;
}

.fila-pulsanti.fila-pulsanti-quattro .avia-button-wrap.primopulsante,
.fila-pulsanti.fila-pulsanti-quattro .avia-button-wrap.secondopulsante,
.fila-pulsanti.fila-pulsanti-quattro .avia-button-wrap.terzopulsante,
.fila-pulsanti.fila-pulsanti-quattro .avia-button-wrap.quartopulsante {
  min-width: 23%;
  margin-left: 2%;
  float: left;
}

/* .fila-pulsanti.fila-pulsanti-quattro .avia-button-wrap.quartopulsante {
min-width: 31%;
  margin-left: 1.7%;
  float: left;
} */
.fila-pulsanti a.avia-button {
  min-width: 100%;
  float: left;
  display: table;
  padding: 18px;
  margin: 0;
}

.fila-pulsanti .avia-button span {
  height: 100%;
  display: table-cell;
  visibility: unset;
  vertical-align: middle;
  text-align: center;
  font-size: 30px;
  line-height: 34px;
}

@media only screen and (max-width: 988px) {
  .fila-pulsanti .avia-button-wrap.primopulsante {
    margin-left: 0;
  }

  .fila-pulsanti .avia-button-wrap a {
    margin-left: 0 !important;
  }

  .fila-pulsanti .avia-button-wrap {
    min-width: 31.333%;
    margin-left: 3%;
  }

  .fila-pulsanti .avia-button {
    aspect-ratio: 1/1;
    min-width: 31%;
    float: left;
    display: table;
    margin-left: 3.5% !important;
  }
}
@media only screen and (max-width: 988px) {
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .fila-pulsanti .avia-button {
    width: 20vw;
    height: calc(26.5vw * 1/1);
    aspect-ratio: 1/1;
  }
}

@-moz-document url-prefix() {
  .fila-pulsanti .avia-button {
    aspect-ratio: 1/1;
    width: auto;
    height: auto;
  }
}
}
.fila-pulsanti .avia-button span {
  height: 100%;
  display: table-cell;
  visibility: unset;
  vertical-align: middle;
  text-align: center;
  font-size: 26px;
  line-height: 28px;
}

.fila-pulsanti .avia-button span br {
  display: block;
}

.fila-pulsanti .avia-button span &nbsp;

  {
  display: none;
}
}

@media only screen and (max-width: 400px) {
  .fila-pulsanti .avia-button-wrap {
    margin-left: 2.7%;
  }

  .fila-pulsanti .avia-button {
    margin-left: 2.5% !important;
  }
}

.pulsante.bordersxtop a:after {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url("https://www.residenzasanlongino.it/wp-content/uploads/2024/11/bordosxtop-1.png");
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: left 0px bottom 0px;
  display: block;
  position: absolute;
  top: -3px;
  left: -3.5px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .pulsante.bordersxtop a:after {
    top: -3px;
    left: -3.5px;
  }
}

@-moz-document url-prefix() {
  .pulsante.bordersxtop a:after {
    top: -3px;
    left: -3.5px;
  }
}

.pulsante.borderdxbottom a:after {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url("https://www.residenzasanlongino.it/wp-content/uploads/2024/11/angdxbottom.png");
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: right 0px bottom 0px;
  display: block;
  position: absolute;
  bottom: -2.5px;
  right: -3px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .pulsante.borderdxbottom a:after {
    bottom: -4px;
    right: -3.5px;
  }
}

@-moz-document url-prefix() {
  .pulsante.borderdxbottom a:after {
    bottom: -2.5px;
    right: -3px;
  }
}

.pulsante.borderdxbottom {
  margin-left: 4%;
}

.pulsante.borderdxbottom a span {
  height: 100%;
  width: 100%;
  display: block;
  visibility: unset;
  vertical-align: middle;
  text-align: center;
  font-size: 30px;
  line-height: 30px;
  text-transform: none;
}

.fila-pulsanti .bordersxtop a:after {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url("https://www.residenzasanlongino.it/wp-content/uploads/2024/11/bordosxtop-1.png");
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: left 0px bottom 0px;
  display: block;
  position: absolute;
  top: -1px;
  left: -0.5px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .fila-pulsanti .bordersxtop a:after {
    top: -4px;
    left: -3.5px;
  }
}

@-moz-document url-prefix() {
  .fila-pulsanti .bordersxtop a:after {
    top: -1px;
    left: -0.5px;
  }
}

.fila-pulsanti .borderdxtop a:after {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url("https://www.residenzasanlongino.it/wp-content/uploads/2024/11/bordodxtop.png");
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: right 0px top 0px;
  display: block;
  position: absolute;
  top: -1px;
  right: -0.5px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .fila-pulsanti .borderdxtop a:after {
    top: -4px;
    right: -3.5px;
  }
}

@-moz-document url-prefix() {
  .fila-pulsanti .borderdxtop a:after {
    top: -1px;
    right: -0.5px;
  }
}

.fila-pulsanti .bordersxbottom a:after {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url("https://www.residenzasanlongino.it/wp-content/uploads/2024/11/angsxbottom.png");
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: left 0px bottom 0px;
  display: block;
  position: absolute;
  bottom: -1px;
  left: -0.5px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .fila-pulsanti .bordersxbottom a:after {
    bottom: -1px;
    left: -0.5px;
  }
}

@-moz-document url-prefix() {
  .fila-pulsanti .bordersxbottom a:after {
    bottom: -1px;
    left: -0.5px;
  }
}

.fila-pulsanti .borderdxbottom a:after {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url("https://www.residenzasanlongino.it/wp-content/uploads/2024/11/angdxbottom.png");
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: right 0px bottom 0px;
  display: block;
  position: absolute;
  bottom: 0px;
  right: -0.5px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .fila-pulsanti .borderdxbottom a:after {
    bottom: -3px;
    right: -3.5px;
  }
}

@-moz-document url-prefix() {
  .fila-pulsanti .borderdxbottom a:after {
    bottom: 0px;
    right: -0.5px;
  }
}

@media only screen and (max-width: 988px) {
  .pulsante.borderdxbottom {
    margin-left: 0;
  }
}

/* .fila-pulsanti .avia-button-wrap:hover,
.fila-pulsanti .avia-button-wrap:hover a
 {
background-image: none!important;
background-color: #000!important;

}
.fila-pulsanti .borderdxtop a:after:hover
 {
display: none!important;
background-image: none!important;
}
.fila-pulsanti .avia-button:hover .span
 {
color: #fff!important;
} */
.sezione-pulsanti {
  min-height: auto !important;
}

.sezione-pulsanti.sezione-pulsanti-desktop .fila-pulsanti .avia-button-wrap {
  min-width: 100%;
  margin-left: 0;
  float: left;
}
.sezione-pulsanti.sezione-pulsanti-desktop .fila-pulsanti.fila-pulsanti-quattro .avia-button-wrap {
  min-width: 100%;
  margin-left: 0;
  float: left;
}


.footer-dx {
  background-image: url("https://www.residenzasanlongino.it/wp-content/uploads/2024/11/angdxbottom-1.png");
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: right -1px bottom -1px;
}

.footer-sx {
  background-image: url("https://www.residenzasanlongino.it/wp-content/uploads/2024/11/angsxtop.png");
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: left -2px top -1px;
}

.footer-content .flex_column_table,
.footer-content .flex_column {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  text-align: center;
}

.footer-content p {
  font-size: 16px !important;
}

.footer-content .social-icon {
  width: 40px;
  height: 40px;
  display: inline-block;
  margin: 10px;
  text-align: center;
}
.footer-desktop.footer-content p {
  font-size: 16px !important;
  color: #000!important;
}
