/*
Theme Name: 	Studio Comba Canale
Description: 	Responsive WordPress Theme based on Locomotive scroll.
Version:     	1.0.0
Author:     	AlessandroAntonio Panariello - AAP design
Author URI:   http://aap.design
Site:         http://aap.design
Text Domain: 	scc
Domain Path: 	/languages
Tags:        	grid-layout, blog, custom-menu, featured-images, right-sidebar
License:    	GNU General Public License v3.0
License URI:	http://www.gnu.org/licenses/gpl-3.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/*GUARDA QUA e qua*/

body, html { margin: 0; padding: 0; height: 100vh;}
body.admin-bar .navbar-fixed-top { position: fixed; top: 32px; z-index: 1000;}

@media (max-width: 767px) {
  html {
    /* margin-top: 20px !important; */
}
}


/* -------------------------------------------------------------------------------- */
/* ! Base */
/* -------------------------------------------------------------------------------- */

html, body{height: 100vh;}
body{background-color: #FFFDEE; color: rgb(26, 43, 67);line-height: 1;margin: 0; padding: 0; font-size: 16px; font-family: 'Manrope', Arial, Helvetica, sans-serif; transition: all 1s cubic-bezier(.215, .61, .355, 1);}
section{transition: all 1s cubic-bezier(.215, .61, .355, 1);z-index: 9999;}

/* ! Transitions */
.transition-fade {  transition: 0.1s;  opacity: 1; }
html.is-animating .transition-fade { opacity: 0;  }

.container{ margin: 0 auto; max-width: 1200px;}

/* Color */
.has-prussian-blue-color{color: #1A2B43!important;}
.has-prussian-blue-background-color{background-color: #1A2B43!important;}

.has-ivory-color,
.ivory{color: #FFFDEE!important;}
.has-ivory-background-color{background-color: #FFFDEE!important;}

.has-black-color{color: #000000!important;}
.has-black-background-color{background-color: #000000!important;}

.has-white-background-color{background-color: #ffffff!important;}
.has-white-color,
.white{color: #ffffff!important;}

/* ! Typography */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul { margin: 0 0 1rem 0; padding: 0;}
h1 {font-weight: 700;font-size: 5rem;padding-bottom: 20px;}

h2 {font-size: 5.563rem;font-weight: 800;}
.light{font-weight: 200;line-height: 1.2;}

h3 {font-size: 2rem;}

h4 {font-size: 1.25rem;font-weight: 400;}

h5 {font-size: 1rem;}

h6 {font-size: 0.8rem;}
ol,
ul { padding-left: 20px; line-height: 1.5;}
a {text-decoration: underline}

p {font-size: 1.313rem;line-height: 1.6;}
.subtitle{font-size: 20px;}
.headline {line-height: 1.3;}

/* ----------- Non-Retina Screens ----------- */
@media screen 
  and (min-device-width: 1600px) 
  and (max-device-width: 2000px) 
  and (-webkit-min-device-pixel-ratio: 1) {

}

/* ----------- Retina Screens ----------- */
@media screen 
  and (min-device-width: 1600px) 
  and (max-device-width: 2000px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 

}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
   h2{font-size: 2.8rem;}
}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
h2{font-size: 2.8rem;}
  }

@media (max-width: 767px) {

p,
.splide__slide .wp-element-caption{font-size: 0.813rem!important;}

}

/* ! Buttons */
.button{text-decoration: none;}

.abs-button .wp-block-button{padding: 15px;}

.button--scc{  display: inline-block; padding: 12px 40px; text-decoration: none; background: rgb(26, 43, 67); color: #FFFDEE; margin-top: 15px; text-align: center; position: relative; transition: all 0.3s cubic-bezier(.215, .61, .355, 1); font-size: 1rem; border-radius: 4px;}
.header__menu li.button--scc{padding: 12px 40px;}
.header__menu li.button--scc a {color: #FFFDEE;}

@media (max-width: 767px) {
  .button--scc-sma{background: #fffdee;width: 100%;margin-top: 2em;padding: 0;}
  .button--scc-sma a{color: #1A2B43!important;font-weight: 800!important;}

  .abs-button {position: absolute;top: 37em; z-index: 99999;}

}

/* ! Header */
.fixed{position: fixed;z-index: 10;width: 100%;}
.fixed:after{content: " ";position: absolute; top:0;left: 0;width: 100%;height: 95px;z-index: -1;background: #FFFDEE;;transition: all 0.3s cubic-bezier(.215, .61, .355, 1);  opacity: 0;}

.scroll-down .fixed:after{opacity: 1;height: 70px;box-shadow: 0px 0px 14px 4px rgba(0,0,0,0.75);
  -webkit-box-shadow: 0px 0px 14px 4px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 0px 14px 4px rgba(0,0,0,0.75);}

.header{position: relative; display: flex; justify-content: space-between;align-items: center; width: 100%;top:0; margin: 0 auto;padding: 0 15px;}
.header__content { width: 100%; height: 125px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;transition: height 0.3s ease-in-out, max-height 0.3s ease-in-out;}

.scroll-down .header__content{max-height: 57px;height: 57px;}

.header__menu {padding: 0; margin: 0;text-align: right;}
 .header__menu li {display: inline-block; padding-right: 4rem;}
 .header__menu li a {color: rgb(26, 43, 67); font-weight: 400; display: block; font-size: 1rem; text-decoration: none;text-transform: uppercase;}
 .header__logo,
 .custom-logo-link,
 .header__quick{display: flex; align-items: center;text-align: center;transition: all .3s linear;}

 .header__logo img,
 .custom-logo-link img{width: 225px;height: auto; margin-right: 20px;}
 .scroll-down .custom-logo-link{transform: scale(0.8);}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .header__icon {display: block; z-index: 99; position: absolute; top: 40px; right: 20px; background: #FDFAFF; padding: .8em; transition: right 1s cubic-bezier(.215, .61, .355, 1);}
.scroll-down .header__icon{top: 10px;}

    .header__menu {position: absolute;top: 0;left: 0;width: 100%;height: 100vh;text-align: left; background: #1A2B43;transform: translateX(-100%);transition: all 1s cubic-bezier(.215, .61, .355, 1);z-index: 10;line-height: 1.8; padding: 8em 1em 0 1em;}
  
    .header__menu--open {transform: translateX(0%);}
  
    .header__menu--open ~ .header__icon {right: calc(50% - 30px);}
  
    .header__menu li {display: block;padding: 1rem 0;}
  
    .header__menu li a {font-size: 34px; color: #fffdee;font-weight: 400;}
  
    .icon-hamburger {width: 30px;height: 20px;position: relative;}
  
    .icon-hamburger span {height: 2px;width: 100%; position: absolute; background: #1A2B43; top: 50%; right: 0;transform: translateY(-50%); transition: all 0.2s ease-in-out;}
  
    .icon-hamburger span:before,
    .icon-hamburger span:after {height: 2px; width: 100%; position: absolute;background: #1A2B43; content: ''; margin-top: -8px; transition: all 0.3s cubic-bezier(.215, .61, .355, 1);}
  
    .icon-hamburger span:after {margin-top: 8px;}
  
    .icon-hamburger--open span {background: transparent !important;}
  
    .icon-hamburger--open span:before {transform: rotate(45deg);margin-top: 0;}
  
    .icon-hamburger--open span:after {transform: rotate(-45deg);margin-top: 0;}
  
    .scroll-down .icon-hamburger span,
    .scroll-down .icon-hamburger span:before,
    .scroll-down .icon-hamburger span:after {background: #1A2B43;}
  
    .logo {width: 100%; overflow: hidden;}
  
    .header__menu--open ~ .header__content .header__logo {display: none;}

    .button--scc-sma{background: #fffdee;width: 100%;margin-top: 2em;padding: 0;}
    .button--scc-sma a{color: #1A2B43!important;font-weight: 800!important;}
  }

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .header__icon {display: block; z-index: 99; position: absolute; top: 40px; right: 20px; background: #FDFAFF; padding: .8em; transition: right 1s cubic-bezier(.215, .61, .355, 1);}
.scroll-down .header__icon{top: 10px;}

    .header__menu {position: absolute;top: 0;left: 0;width: 100%;height: 100vh;text-align: left; background: #1A2B43;transform: translateX(-100%);transition: all 1s cubic-bezier(.215, .61, .355, 1);z-index: 10;line-height: 1.8; padding: 8em 1em 0 1em;}
  
    .header__menu--open {transform: translateX(0%);}
  
    .header__menu--open ~ .header__icon {right: calc(50% - 30px);}
  
    .header__menu li {display: block;padding: 1rem 0;}
  
    .header__menu li a {font-size: 34px; color: #fffdee;font-weight: 400;}
  
    .icon-hamburger {width: 30px;height: 20px;position: relative;}
  
    .icon-hamburger span {height: 2px;width: 100%; position: absolute; background: #1A2B43; top: 50%; right: 0;transform: translateY(-50%); transition: all 0.2s ease-in-out;}
  
    .icon-hamburger span:before,
    .icon-hamburger span:after {height: 2px; width: 100%; position: absolute;background: #1A2B43; content: ''; margin-top: -8px; transition: all 0.3s cubic-bezier(.215, .61, .355, 1);}
  
    .icon-hamburger span:after {margin-top: 8px;}
  
    .icon-hamburger--open span {background: transparent !important;}
  
    .icon-hamburger--open span:before {transform: rotate(45deg);margin-top: 0;}
  
    .icon-hamburger--open span:after {transform: rotate(-45deg);margin-top: 0;}
  
    .scroll-down .icon-hamburger span,
    .scroll-down .icon-hamburger span:before,
    .scroll-down .icon-hamburger span:after {background: #1A2B43;}
  
    .logo {width: 100%; overflow: hidden;}
  
    .header__menu--open ~ .header__content .header__logo {display: none;}

    .button--scc-sma{background: #fffdee;width: 100%;margin-top: 2em;padding: 0;}
      .button--scc-sma a{color: #1A2B43!important;font-weight: 800!important;}
  }

@media (max-width: 767px) {
  .header{background-color: #fff;position: absolute;top: 0; bottom:0;height: 65px;}
  .header__content{justify-content: flex-start;}
  .header__logo img,
  .custom-logo-link img {width: 100px; margin-right: 0; margin-left: 0px;}

  header.sma-fixed-bottom {position: fixed !important;transform: none!important;opacity: 1 !important;pointer-events: fill!important; }

  /* Hamburger menu */

  .header{top: 0;}

  /* .scroll-down .header {padding-bottom: 30px;} */

.scroll-down .custom-logo-link{transform: none;}


  .header__logo{top: 18px;left: 18px;position: relative;}
  .header__logo img{width: 130px;object-fit: contain;}
  .header__icon {display: block; z-index: 99; position: absolute; top: 10px; right: 20px; background: #FDFAFF; padding: .8em; transition: right 1s cubic-bezier(.215, .61, .355, 1);}

  .header__menu {position: absolute;top: 0;left: 0;width: 100%;height: 100vh;text-align: left; background: #1A2B43;transform: translateX(-100%);transition: all 1s cubic-bezier(.215, .61, .355, 1);z-index: 10;line-height: 1.8; padding: 4em 1em 0 1em;}

  .header__menu--open {transform: translateX(0%);}

  .header__menu--open ~ .header__icon {right: calc(50% - 30px);}

  .header__menu li {display: block;padding: 1rem 0;}

  .header__menu li a {font-size: 34px; color: #fffdee;font-weight: 400;}

  .icon-hamburger {width: 30px;height: 20px;position: relative;}

  .icon-hamburger span {height: 2px;width: 100%; position: absolute; background: #1A2B43; top: 50%; right: 0;transform: translateY(-50%); transition: all 0.2s ease-in-out;}

  .icon-hamburger span:before,
  .icon-hamburger span:after {height: 2px; width: 100%; position: absolute;background: #1A2B43; content: ''; margin-top: -8px; transition: all 0.3s cubic-bezier(.215, .61, .355, 1);}

  .icon-hamburger span:after {margin-top: 8px;}

  .icon-hamburger--open span {background: transparent !important;}

  .icon-hamburger--open span:before {transform: rotate(45deg);margin-top: 0;}

  .icon-hamburger--open span:after {transform: rotate(-45deg);margin-top: 0;}

  .scroll-down .icon-hamburger span,
  .scroll-down .icon-hamburger span:before,
  .scroll-down .icon-hamburger span:after {background: #1A2B43;}

  .logo {width: 100%; overflow: hidden;}

  .header__menu--open ~ .header__content .header__logo {display: none;}

}

/* ! Locomotive Scroll  */
[data-scroll-section]{position: relative; display: block;}
/* ! Transitions */
.transition-fade {  transition: 0.1s;  opacity: 1; }
html.is-animating .transition-fade { opacity: 0;  }

.preloader {background: rgb(26, 43, 67) url('img/Logo_Studio_Comba_Icona_bianco.svg') no-repeat center center; background-size: 500px; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; transition: opacity 0.1s ease; opacity: 1;}
body.loading .preloader {opacity: 0; pointer-events: none;}

.scroll-container{overflow:hidden;}
.container{ margin: 0 auto; max-width: 1200px;}

/* ----------- Non-Retina Screens ----------- */
@media screen 
  and (min-device-width: 1280px) 
  and (max-device-width: 1496px) 
  and (-webkit-min-device-pixel-ratio: 1) { 
    h1{font-size: 4rem;}
    .subtitle{font-size: 1rem;}
   
}

/* ----------- Retina Screens ----------- */
@media screen 
  and (min-device-width: 1280px) 
  and (max-device-width: 1496px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 
    h1{font-size: 4rem;}
    .subtitle{font-size: 1rem;}
   
}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
    h1{font-size: 4rem;}
    .subtitle{font-size: 1rem;}

  }

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
    h1{font-size: 4rem;}
    .subtitle{font-size: 1rem;}
    .intro{height: 84vh;}

  }

  @media (max-width: 767px) {
    h1{font-size: 2.125rem;margin: 0 0 0.5rem 0;}
    .subtitle{font-size: 1rem}

  }

.img-abs{position: relative;}  

.img-abs img {position: absolute;width: 500px; bottom: -114px;}

/* ! Masonry */
.masonry:where(.wp-block-columns.is-layout-flex){gap:24px;margin-bottom: 12px;}
.mw-container{max-width: 1500px;margin: 0 auto;}

/* ! Accordion */
.accordion-item {position: relative; background-color: transparent; margin-bottom: 1rem;padding:.7rem 1.125rem; font-weight: 700; border-radius: 1rem;user-select: none; transition: all 0.2s linear;}
.accordion-item:hover,
.accordion-item.active{cursor:pointer;}

.accordion-title {display: flex; flex-direction: row; justify-content: space-between; align-items: center; text-transform: uppercase; font-size: 1.56rem; color: #FFFDEE;text-decoration: none;}
.accordion-title:hover{}
.accordion-title:hover,
.accordion-item:hover .accordion-title {cursor: pointer;}

.accordion-title .question{color: #000; text-align: center;}
.accordion-content {height: 0;overflow: hidden;transition: max-height 0.3s ease-in-out;}

.accordion-item.active .accordion-content {height: 100%;user-select: none;}

.accordion-item.active{user-select: none;}
.accordion-content p{text-decoration: none;color: #FFFDEE;font-weight: 400;}

.accordion-item .question {display: flex;justify-content: center;align-items: center; position: relative; background-color: transparent; border-radius:25px;border:1px solid #FFFDEE; transition: all 0.2s linear;}
.accordion-item .question img {color: #000;position: relative;width: 21px; height: 21px;filter: invert(0); transition: all 0.2s linear;}
.accordion-item:hover .question,
.accordion-item.active .question{}

.accordion-item.active img{color: #fff; transform: rotate(-45deg);}

.question{ width: 28px; height: 28px;}

.panel__img img {width: 100%;height: 648px;object-fit: contain;}

.panel-bg .panel--text-right{color: #FFFDEE;}
.panel__text {padding: 20px 0;}

.box-team {border-radius: 5px;}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {

    .accordion-title{font-size: .8rem;}
    .accordion-item.active .accordion-content { max-height: 120px;}
    .service-title,
    .service-description,
    .accordion,
    .accordion__image {grid-area: auto;}

.accordion-title{font-size: 1rem;} 
   
.img-abs img{position: relative;width: auto;bottom: 0;}

#servizi .wp-block-columns {gap: 0;}

#servizi figure{margin-bottom: 0;}
  }

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {

    .accordion-title{font-size: .8rem;}
    .accordion-item.active .accordion-content { max-height: 120px;}
    .service-title,
    .service-description,
    .accordion,
    .accordion__image {grid-area: auto;}
    .accordion-title{font-size: 1rem;} 
    .service__img img{height: 402px;}
    .service__img img:first-child {height: 430px;}
     
    .img-abs img{position: relative;width: auto;bottom: 0;}

    #servizi .wp-block-columns {gap: 0;}

    #servizi figure{margin-bottom: 0;}
  }

  @media (max-width: 767px) { 
    h2{font-size: 1.563rem;}
    .accordion-title{font-size: .8rem;}
    .accordion-item.active .accordion-content { max-height: 150px!important;}
    .service-title,
    .service-description,
    .accordion,
    .accordion__image {grid-area: auto;}
    .service__img img,
    .service__img img:first-child {height: 210px;}
    .question{ width: 20px; height: 20px;  }

    .panel__img img {height: 300px;}
  .wp-container-core-group-is-layout-10 {grid-template-columns: repeat(2, minmax(0, 1fr))!important;grid-template-rows: repeat(2, auto);}
.masonry .wp-block-cover {min-height: 197px !important;}
.masonry:where(.wp-block-columns.is-layout-flex) {margin-bottom: 0;}
.box-team p {padding: 0 5px;}

.accordion-title:focus,
.accordion-title:active,
.accordion-item:focus,
.accordion-item:active,
.accordion-content:focus,
.accordion-content:active {outline: none !important;box-shadow: none !important;background: transparent !important;}

.accordion-title {-webkit-tap-highlight-color: transparent;}

.accordion-content,
.accordion-title,
.accordion-item {user-select: none!important;}
a.accordion-title:focus,
a.accordion-title:active {outline: none !important;box-shadow: none !important; background-color: transparent !important; -webkit-tap-highlight-color: transparent !important;}

a.accordion-title::-moz-focus-inner {border: 0;}

  }

.wpcf7 {font-family: 'Manrope', Arial, Helvetica, sans-serif;background: rgba( 255, 255, 255, 0.35 ); backdrop-filter: blur( 3.5px ); -webkit-backdrop-filter: blur( 3.5px );padding: 32px 24px;}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {background: rgba( 42, 26, 31, 0.35 ); backdrop-filter: blur( 4.5px ); -webkit-backdrop-filter: blur( 4.5px ); border: 1px solid #fff;padding: 16px 24px;font-size: 1.31rem;width: 100%;color: #fff;}

.wpcf7 textarea{min-height: 150px;}

.wpcf7 p label {font-weight: 200; margin-bottom: 20px; color:#000;}

.wpcf7 .privacy p label{color:#fff;}

.wpcf7 p{margin: 0;}

.wpcf7-form-control-wrap{overflow: hidden;}
.wpcf7-not-valid-tip {width: 98%; height: 0px;}

.wpcf7 form .wpcf7-response-output {height: 27px;}

.wpcf7-submit {background: transparent; border: 1px solid white; color: inherit; cursor: pointer; font-size: 17px; text-transform: uppercase; font-family: 'Manrope'; font-weight: 700; border-radius: 5px; padding:  10px 30px;}


@media (max-width: 767px) {
  .wpcf7-not-valid-tip {height: 5px;}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {height: 50px;}

} 

/* ! Footer */
footer{position: relative!important;background: #000;}
.footer{color:#fffdee; margin-top: 100px;padding-bottom: 50px;font-size: 0.8125em;height: 25vh;}

.footer__menu a {font-family: 'Manrope', sans-serif; text-decoration: none;line-height: 1.6; font-size: 1.2em; color: #fffdee;font-weight: 700; letter-spacing: 1px;}

.footer__menu li { text-align:center;}
.footer__menu li{list-style-type:none;}

ul.privacy-link {list-style-type: none;text-align: center; padding-left: 0;}

.post-footer .grid{align-items:center;}
#polylang-2 {text-align: center!important;}

@media (max-width: 768px) {
  footer{text-align: center;}
  .footer__line{margin: 0 1.75em!important}
}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {

    .footer{margin-top: 0;}

}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .footer{margin-top: 0;}

}

/* ----------- Non-Retina Screens ----------- */
@media screen 
  and (min-device-width: 1600px) 
  and (max-device-width: 2000px) 
  and (-webkit-min-device-pixel-ratio: 1) {
      .footer{margin-top: 0;}

}

/* ----------- Retina Screens ----------- */
@media screen 
  and (min-device-width: 1600px) 
  and (max-device-width: 2000px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 
      .footer{margin-top: 0;}

}

@media (max-width: 767px) {
.footer{margin-top: 0px;height: auto;}
.post-footer {text-align: left;}
}

/* --------------------------------------------------------------------------------------------------------------------------- */
/* ! Splide Slider */
/* --------------------------------------------------------------------------------------------------------------------------- */
.slider-wrapper { position: relative;}
	  .slider-wrapper .wp-block-columns{
    position: absolute;
    top: 0;
    height: 78vh;
    width: 100%;
    z-index: 11;
}

.abs-intro-slider {max-width: 1500px; width: 100%; position: absolute; z-index: 999; top: calc(50% - -10em); left: 50%; transform: translateX(-50%); user-select: none; pointer-events: none;}

.slider-carousel-hero {position: relative;}

.slider-carousel-hero::before {content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #FFFDEE; opacity: 0.7;z-index: 9; pointer-events: none;}

.slider-carousel-hero img {width: 100%; height: 84vh; object-fit: cover; object-position: bottom; position: relative;}

.slider-carousel-staff .splide__arrows {position: absolute; top: -125px; right: 80px;}
.slider-carousel-staff .splide__arrow--next {right: -3em;}

.slider-carousel-staff .splide__arrow--prev {left: -3em;}

.splide__slide .wp-element-caption {background: #535f6e;color: #FFFDEE; text-align: center; padding: 20px 0; max-width: 273px; margin-top: 0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;text-transform:uppercase;}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .slider-wrapper .wp-block-columns {
        position: absolute;
        top: -4em;
        height: 83vh;
        width: 100%;
        z-index: 9999;
    }
  .slider-wrapper img {display:none;}

.slider-wrapper .wp-block-column,
#staff .wp-block-column,
#studio .wp-block-column{padding: 0 15px;}
.slider-carousel-hero img{height: 83vh;}

.splide__arrows {top: 94%;position: absolute;}
.splide__arrow--prev {left: 470px;}
.splide__arrow--next {right: -600px;}
.slider-carousel-staff .splide__arrows {top: -225px;}

.slider-carousel img {width: 100vw;height: 50vh; object-fit: cover;}
.slider-carousel .splide__arrow--prev {left: 0;}
.slider-carousel .splide__arrow--next {right: 30px;}

.slider-carousel .splide__arrows {bottom: 15px;position: absolute; top: auto;width: 100%;}

.slider-carousel .splide__pagination__page.is-active{background: #1A2B43;}
}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
  .slider-wrapper img {display:none;}

.slider-wrapper .wp-block-column,
#staff .wp-block-column,
#studio .wp-block-column{padding: 0 15px;}
.slider-carousel-hero img{height: 700px;}

.splide__arrows {top: 94%;position: absolute;}
.splide__arrow--prev {left: 470px;}
.splide__arrow--next {right: -600px;}

.slider-carousel-staff .splide__arrows {top: -165px;}

#myModal .wp-block-column {padding:0;}
.slider-carousel img {width: 100vw;height: 65vh; object-fit: cover;}
.slider-carousel .splide__arrow--prev {left: 0;}
.slider-carousel .splide__arrow--next {right: 30px;}

.slider-carousel .splide__arrows {bottom: 15px;position: absolute; top: auto;width: 100%;}

.slider-carousel .splide__pagination__page.is-active{background: #1A2B43;}
}

@media (max-width: 767px) {
	.slider-wrapper .wp-block-columns {top: -5em;height: 97vh;}
  .slider-wrapper img {height: 150px!important;object-fit: contain;position: relative;left: calc(50% - 51px);}
.slider-carousel-hero img {height: 90vh;}

.slider-carousel-staff .splide__arrows {position: absolute;top: 350px;right: 50%;}

.splide__arrows {top: 240px; position: absolute;}
.splide__arrow--next {right: -370px;}

.slider-carousel img {width: 100vw;height: 50vh; object-fit: cover;}
.slider-carousel .splide__arrow--prev {left: 0;}
.slider-carousel .splide__arrow--next {right: -360px;}

.slider-carousel .splide__arrows {bottom: 15px; position: absolute; top: auto;}

.slider-carousel .splide__pagination__page.is-active{background: #1A2B43;}
}

/* --------------------------------------------------------------------------------------------------------------------------- */
/* ! WordPress */
/* --------------------------------------------------------------------------------------------------------------------------- */

#light-box .wp-block-cover__background {pointer-events: none;}

/* Pagination */
.pagination { margin: 40px 0 40px 0; padding: 0; width: 100%; }
.pagination span,
.pagination a { float: left; margin: 0 10px 10px 0; padding: 14px 19px; border: 1px solid #ddd; }

/* Gallery */
.gallery { float: left; margin: 20px 0 20px 0; width: 103.55%; }
.gallery-item { float: left; width: 33.333333%; text-align: center; }
.gallery img { margin: 0 10% 0 0; width: 90%; height: auto; border: none!important; }
.gallery-caption { width: 90%;margin:10px 0 0 0;}

/* Image */
.alignleft { float: left; margin-right: 20px; margin-bottom: 10px; max-width: 97%; height: auto; }
.alignright { float: right; margin-bottom: 10px; margin-left: 20px; max-width: 97%; height: auto; }
.aligncenter { display: block; margin: 0 auto; max-width: 97%; height: auto; }
.alignnone { max-width: 97%; height: auto; }

/* img responsive */
.img-res{width: 100%;height: auto;}

/* video responsive */
.video-container {position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0;}
.video-container iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

/* Table */
table {border-collapse: collapse;margin: 40px 0; width:100%;}
table, th, td {border: 1px solid #ddd;padding:10px; font-size: 18px;text-transform: capitalize;}
table  tr:first-child td {font-weight: 900; text-transform: uppercase; background: #eee; padding:12px 8px;}

/* Image Caption */
.wp-caption { margin-top: 1.5rem;margin-bottom: 0px; padding: 10px; max-width: 97%; border: 1px solid #ddd; text-align: center; }
.wp-caption img { margin: 0; padding: 0; width: 100%!important; height: auto; border: 0 none; }
.wp-caption p.wp-caption-text { margin: 0; padding: 8px; font-size: 1em; line-height: 17px; }

/* Stiky */
.sticky { border-right: 3px solid #eee; border-bottom: 3px solid #ddd; }

/* Search */
.search-form {background: #fff;border-bottom:1px solid #333; margin-bottom: 40px;}
.search-form input[type=text]{ width: 80%; color: #333; background: #fff;}
.search-form button{float:right;border: none; background: none;padding: 3px;}

.icon-search{width: 30px;height: 30px;display: block;background: url(img/icons/search.svg) no-repeat center center;}

/* Comments */
.comment-form-author,
.comment-form-email,
.comment-form-url { float: left; margin-top: 20px; margin-right: 3%; width: 30.3333333%; }
.comment-form-author input,
.comment-form-email input,
.comment-form-url input { width: 100%; }

ol.commentlist { margin: 0 0 1em; padding: 0; list-style: none; text-indent: 0; }
ol.commentlist li.comment { padding: 1em; border-top: 1px solid #eee; }
ol.commentlist li.comment div.vcard cite.fn { text-transform: uppercase; font-size: 14px; }
ol.commentlist li.comment div.vcard img.avatar { float: left; margin: 6px 1em 1em 0; border-radius: 50px; }
ol.commentlist li.comment div.comment-meta { font-size: 12px; }
ol.commentlist li.comment ul { margin: 0 0 1em 2em; }
ol.commentlist li.comment div.reply { margin-left: 80px; font-size: 11px; }
ol.commentlist li.comment div.reply a { font-weight: bold; }
ol.commentlist li.comment ul.children { margin: 1em 0 0; list-style: none; text-indent: 0; }
ol.commentlist li.comment ul.children li.depth-2 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.comment ul.children li.depth-3 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.comment ul.children li.depth-4 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.even { background: #fff; }
ol.commentlist li.parent { border-left: 1px solid #eee; }
ol.commentlist li.bypostauthor .fn { font-weight: bold; }
ol.commentlist li img{max-width: 97%;}

/* reCAPTCHA */

.grecaptcha-badge {box-shadow: none!important;    z-index: -9999;}
.rc-anchor {display: none!important;box-shadow: none!important;}
.grecaptcha-logo {display: none!important;}

/* Calendar Widget */
#wp-calendar { width: 100%; }
#wp-calendar a { padding: 0; border: none; }
#wp-calendar caption,
.screen-reader-text { padding-bottom: 10px; color: #000; text-align: left; text-transform: uppercase; font-weight: 700; font-size: 14px; }
#wp-calendar thead { font-size: 10px; }
#wp-calendar thead th { padding-bottom: 10px; }
#wp-calendar tbody { color: #aaa; }
#wp-calendar tbody td { padding: 8px; border: 1px solid #fff; background: #f5f5f5; text-align: center; }
#wp-calendar tbody td:hover { background: #fff; }
#wp-calendar tbody .pad { background: none; }
#wp-calendar tfoot #next { text-align: right; text-transform: uppercase; font-size: 10px; }
#wp-calendar tfoot #prev { padding-top: 10px; text-transform: uppercase; font-size: 10px; }

/* functional stuff */

.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0;}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/* ! Grid System */

.grid { margin: 0 auto; max-width: 1200px; display: flex; flex-flow: row; flex-wrap: wrap;}
.grid--center{justify-content: center;}
.grid .grid{margin-left: -15px; margin-right: -15px;}

.page-template-custom-blocks .grid {max-width: 1440px;}

.col-10{width: 10%;}
.col-20{ width: 20%; }
.col-25{ width: 25%; }
.col-30{ width: 30%; }
.col-33{ width: 33.33%; }
.col-40{ width: 40%; }
.col-50{ width: 50%; }
.col-60{ width: 60%; }
.col-70{ width: 70%; }
.col-80{ width: 80%; }
.col-90{ width: 90%; }
.col-100{ width: 100%; }

@media (max-width: 991px) {

  .tab-20 { width: 20%; }
  .tab-25 { width: 25%; }
  .tab-33 { width: 33.33%; }
  .tab-50 { width: 50%; }
  .tab-100 { width: 100%; }
}

@media (max-width: 768px) {
  [class*='col-'] { width: 100%;}
  .sma-20 { width: 20%; }
  .sma-25 { width: 25%; }
  .sma-33 { width: 33.33%; }
  .sma-50 { width: 50%; }
  .sma-100 { width: 100%; }

  .sma-hide{display:none}
}

/* ----------- Non-Retina Screens ----------- */
@media screen 
  and (min-device-width: 1600px) 
  and (max-device-width: 2000px) 
  and (-webkit-min-device-pixel-ratio: 1) {
  .page-template-custom-blocks .grid {max-width: 1670px;}
}

/* ----------- Retina Screens ----------- */
@media screen 
  and (min-device-width: 1600px) 
  and (max-device-width: 2000px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 
  .page-template-custom-blocks .grid {max-width: 1670px;}
}

.col{ flex: 1;}

[class*='col-'] { position: relative;padding: 0 15px;}

:where(.wp-block-columns.is-layout-flex) {gap: 9em;}
.small-gap:where(.wp-block-columns.is-layout-flex) {gap: 24px;}
/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
  :where(.wp-block-columns.is-layout-flex) {gap: 2em;}
}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
  :where(.wp-block-columns.is-layout-flex) {gap: 2em;}
}

@media (max-width: 767px) {
  :where(.wp-block-columns.is-layout-flex) {gap: 1em;}

.panel--text-right .grid {flex-direction: column-reverse;}

#contatti.wp-block-cover{padding: 0;}

#contatti [class*='col-'] {padding: 0;}

.slider-wrapper .wp-block-columns,
#servizi h2,
#staff h2,
#staff p,
#studio,
#contatti h2,
#contatti p {padding: 0 15px;}
.grid .grid {margin-left: -25px;margin-right: -25px;}
}

/* ! Animations */
.fade-up {opacity: 0;transition: all 1s cubic-bezier(.215, .61, .355, 1);transform: translateY(30%);transition-delay: 0.5s}

.fade-up.is-inview {opacity: 1;transform: translateY(0px)}
.reveal-left {width: 0;overflow: hidden;transition: all 1s cubic-bezier(.215, .61, .355, 1);transition-delay: 0.5s;}
.reveal-left.is-inview {width: 100%;}

.text-reveal{overflow: hidden;display: block;width: 100%;}
.text-reveal b,
.text-reveal strong{display: inline-block;will-change: transform; transform: translate3d(0,100%,0); transition: all 1s cubic-bezier(.4, .0, .0, 1);}
.text-reveal.is-inview b,
.text-reveal.is-inview strong{transform: none;}

.text-reveal-title{opacity:0; will-change: opacity;transition: all .3s linear;}
.text-reveal-title.is-inview{opacity: 1;}

.delay-1{transition-delay: .1s!important}
.delay-2{transition-delay: .2s!important}
.delay-3{transition-delay: .3s!important}
.delay-4{transition-delay: .4s!important}
.delay-5{transition-delay: .5s!important}
.delay-6{transition-delay: .6s!important}
.delay-7{transition-delay: .7s!important}
.delay-8{transition-delay: .8s!important}
.delay-9{transition-delay: .9s!important}
.delay-10{transition-delay: 1s!important}
.delay-11{transition-delay: 1.1s!important}
.delay-12{transition-delay: 1.2s!important}
.delay-13{transition-delay: 1.3s!important}
.delay-14{transition-delay: 1.4s!important}
.delay-15{transition-delay: 1.5s!important}
.delay-16{transition-delay: 1.6s!important}
.delay-17{transition-delay: 1.7s!important}
.delay-18{transition-delay: 1.8s!important}
.delay-19{transition-delay: 1.9s!important}
.delay-20{transition-delay: 2s!important}

/* ! Helpers */
.m-0 { margin: 0 !important; }
.m-1 { margin: 20px; }
.m-2 { margin: 50px; }
.m-3 { margin: 100px; }
.m-4 { margin: 180px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 20px; }
.mt-2 { margin-top: 50px; }
.mt-3 { margin-top: 100px; }
.mt-3__5{margin-top: 80px}
.mt-4 { margin-top: 180px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 20px; }
.mb-2 { margin-bottom: 50px; }
.mb-3 { margin-bottom: 100px; }
.mb-4 { margin-bottom: 180px; }
.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 20px; }
.ml-2 { margin-left: 50px; }
.ml-3 { margin-left: 100px; }
.ml-4 { margin-left: 180px; }
.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 20px; }
.mr-2 { margin-right: 50px; }
.mr-3 { margin-right: 100px; }
.mr-4 { margin-right: 180px; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 20px; }
.p-2 { padding: 50px; }
.p-3 { padding: 100px; }
.p-4 { padding: 180px; }
.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 10px; }
.pt-2 { padding-top: 50px; }
.pt-3 { padding-top: 100px; }
.pt-3__5{padding-top: 80px}
.pt-4 { padding-top: 180px; }
.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 20px; }
.pb-2 { padding-bottom: 50px; }
.pb-3 { padding-bottom: 100px; }
.pb-4 { padding-bottom: 180px; }
.pl-0 { padding-left: 0; }
.pl-1 { padding-left: 20px; }
.pl-2 { padding-left: 50px; }
.pl-3 { padding-left: 100px; }
.pl-4 { padding-left: 180px; }
.pr-0 { padding-right: 0; }
.pr-1 { padding-right: 20px; }
.pr-2 { padding-right: 50px; }
.pr-3 { padding-right: 100px; }
.pr-4 { padding-right: 180px; }

.spacer-logo-hero{height:160px;}
.top-spacer{margin-top:7em;}

.img-res{width: 100%;}
.padding-all{padding: 20px;}
.page-min-height{min-height: 101vh}
.display-none,
.d-none{display: none;}
.max-width{max-width: 600px; margin: 10px auto;}
.text-center{text-align: center;}
.m-auto{margin:0 auto;}
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white p{color:#fff}

.text-white .button{color:#fff; border-color: #fff}

.text-center h1,
.text-center h2,
.text-center h3,
.text-center h4,
.text-center p{text-align: center;}

.only-sma,
.only-tab,
.only-sma-tab{display: none!important;}

/* ----------- Non-Retina Screens ----------- */
@media screen 
  and (min-device-width: 1500px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 1) { 
    .spacer{display: none;}
  .mt-4{margin-top:110px;}

}

/* ----------- Retina Screens ----------- */
@media screen 
  and (min-device-width: 1500px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 
    .spacer{display: none;}
  .mt-4{margin-top:110px;}

}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .mt-4{margin-top: 100px;}
.mb-4{margin-bottom: 100px;}
    .mt-3__5{margin-top: 20px}
.spacer,
.no-tab{display: none;}
.only-desktop{display: none!important;}

.tab-pl-1{padding-left: 15px!important;}

.only-tab,
.only-sma-tab{display: block!important;}
.spacer-tab{height: 240px!important;}
.spacer-tab-2{height: 100px!important;}
.spacer-tab-3{height: 50px!important;}

  }

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .mt-4{margin-top: 100px;}
    .mb-4{margin-bottom: 100px;}
    .mt-3__5{margin-top: 20px}
    .spacer,
    .no-tab{display: none;}
    .only-desktop{display: none!important;}

    .tab-pl-1{padding-left: 15px!important;}

    .only-tab,
    .only-sma-tab{display: block!important;}
      
  }

  @media (max-width: 767px) {
    .mt-3__5{margin-top: 15px}
    .mt-4{margin-top: 40px;}
    .mb-4{margin-bottom: 20px;}
    .spacer{height: 200px;}
    .top-spacer{margin-top:20px;}
  }
@media (max-width: 767px) {
  .m-4 { margin: 100px; }
  .ml-4 { margin-left: 100px; }
  .mr-4 { margin-right: 100px; }

  .mt-sma-0{margin-top: 0;}
  .mt-sma-1{margin-top: 20px;}
  .mt-sma-2{margin-top: 50px;}
  .mt-sma-3{margin-top: 80px;}

  .mb-sma-0{margin-bottom: 0;}
  .mb-sma-1{margin-bottom: 20px;}
  .mb-sma-2{margin-bottom: 40px;}
  .mb-sma-3{margin-bottom: 80px;}

  .only-desktop{display: none!important;}
  .spacer-sma{height: 240px!important;}
  .spacer-sma-2{height: 90px!important;}
  .spacer-sma-3{height: 50px!important;}

  .social-sma{justify-content: center;}
.only-sma,
.only-sma-tab{display: block!important;}
}

/* ----------- Non-Retina Screens ----------- */
@media screen 
  and (min-device-width: 1600px) 
  and (max-device-width: 2000px) 
  and (-webkit-min-device-pixel-ratio: 1) {
  .mt-4 {margin-top: 3em;}
  .page-template-default .mt-4{margin-top:10em;}
}

/* ----------- Retina Screens ----------- */
@media screen 
  and (min-device-width: 1600px) 
  and (max-device-width: 2000px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 
  .mt-4 {margin-top: 3em;}
  .page-template-default .mt-4{margin-top:10em;}
}


@media (1440px <= width <= 1700px) {
	.header__content{height:75px;}	
	    h2 {font-size: 4.8rem;}
  p{font-size:1rem;}
	.slider-wrapper img{height:230px!important;}
	.slider-wrapper .wp-block-column {padding:0 40px;}
	.top-spacer {margin-top: 5em;}
	.footer {margin-top: 0;}
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
