/* ! base style */
/* ----------------------------------------------------------------------------------- */
body, html{ font-size: 16px; font-family: 'Rubik', Arial, sans-serif;background: var(--beige);}
body{padding: 0 2%;}
a{color:var(--blue);}
p{line-height: 1.3;}

/* ! Title System */
/* ----------------------------------------------------------------------------------- */
h1, h2, h3, .black strong{font-family: 'Rubik'; font-weight: 900;}
h4, h5, h6{font-family: 'Rubik', Arial, sans-serif;}

.big-text{font-size: 5.625rem;}
.text-0{font-size: 3.75rem;}
.home h1{font-size: 8rem;}
h1, .text-1, .header .site-title{font-size: 3.4rem;}
.box-card .text-1{font-size: 3rem;}
h2, .text-2{font-size: 2.2rem;}
h3, .text-3{font-size: 1.87rem;}
h4, p, .text-4{font-size: 1.25rem;}

footer h3{font-weight: 500;}
footer p {line-height: 1.8;}
h1, h2, h3, h4, p, ol, ul{margin-bottom: 1rem;}

.subtitle{font-size: 1.625rem;font-weight: 700;}

.number{font-family: 'Rubik';font-weight: 900;}
.semibold{font-weight: 500!important;}
.regular{font-weight: 400!important;}

/* portrait */
@media only screen
  and (min-width: 768px)
  and (max-width: 1180px)
  and (orientation: portrait)
  /* and (hover: none)
  and (pointer: coarse)  */
  {
 
    .text-1{font-size: 2.6rem;}
h2, .text-2 {font-size: 1.9rem;}
.big-text{font-size: 4rem;}
}

/* landscape */
@media only screen
  and (min-width: 768px)
  and (max-width: 1180px)
  and (orientation: landscape)
  /* and (hover: none)
  and (pointer: coarse)  */
  {
.number{font-size: 2.7rem!important;}
.big-text{font-size: 4rem;}
.text-0 { font-size: 3rem;}
.text-1{font-size: 2.6rem;}

h4, p, .text-4 {font-size: 1.1rem;}

.box-card .text-1{font-size: 2rem;}
.box-card .text-2{font-size: 1.49rem;}

}


@media (max-width: 767px) {
  .text-0,
  .number{font-size: 2.5rem}
   .page-template-page-template .text-0{font-size:1.56rem}
  .text-1{font-size: 1.87rem;}
.box-card .text-1,
.accordion--price-card .text-1{font-size: 2.8rem;}
  .subtitle{font-size: 1.62rem;font-weight: 700;}
.semibold{font-size: 1.56rem!important;}
  p{font-size: 1rem;}
  .excerpt{padding: 0 15px;}

  .home h1 {font-size: 4rem;}

   footer h3{font-size: 1.43rem;}
  footer p{font-size: 1rem;}
}

/* ! color */
/* ----------------------------------------------------------------------------------- */

.has-rosewood-background-color{background: var(--rosewood);}
.has-vivid-sky-blue-background-color{background: var(--sky-blue);}
.has-cerulean-background-color{background: var(--cerulean);}
.has-mustard-background-color{background: var(--mustard);}
.has-eerie-black-background-color{background: var(--black);}
.has-beige-background-color{background: var(--beige);}
.has-coral-background-color{background: var(--coral);}
.has-white-to-eerie-black-gradient-background{background: var(--gradient);}

.has-rosewood-color{color: var(--rosewood);}
.has-vivid-sky-blue-color{color: var(--sky-blue);}
.has-cerulean-color{color: var(--cerulean);}
.has-mustard-color{color: var(--rosewood);}
.has-eerie-black-color{color: var(--black);}
.has-beige-color{color: var(--beige);}
.has-coral-color{color: var(--coral);}

.term-spazio-culturale{background: var(--cerulean);color: var(--beige);}
.term-laboratorio{background: var(--mustard);color: var(--black);}

/* ! Button system */
/* ----------------------------------------------------------------------------------- */
.button,
.wp-block-button__link{font-size: 1.25rem; padding: 13px 25px!important;display: inline-block!important;border-radius: 5px; text-decoration: none !important;}

.box-card .button,
.box-card .wp-block-button__link{padding: 13px 15px!important;}

.link-icon a {color: #fff;text-decoration: none;position: relative; display: inline-block;}

.link-icon a::before {content: "";position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background-color: currentColor; transition: width 0.3s ease;}
.link-icon a:hover::before {width: 100%;}

.link-icon::after {content: "";display: inline-block; width: 25px; height: 25px;
  background-image: url('data:image/svg+xml,<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="30" height="30" rx="15" fill="%23F5F3F8"/><path d="M15.6154 8L23 15L15.6154 22M21.9744 15H7" stroke="%234600CC" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat; background-size: contain; background-position: center; margin-left: 0.5em; vertical-align: middle;}

/* portrait */
@media only screen
  and (min-width: 768px)
  and (max-width: 1180px)
  and (orientation: portrait)
  /* and (hover: none)
  and (pointer: coarse)  */
  {


}

  @media only screen
  and (min-width: 768px)
  and (max-width: 1180px)
  and (orientation: landscape)
  /* and (hover: none)
  and (pointer: coarse)   */
  {
.box-card .button,
.box-card .wp-block-button__link{padding: 13px 5px!important;font-size: .9rem;}
  }  

/* ! Cover */
.cover{height: 80vh; position: relative;width: 100%; margin: 130px 0px 50px 0;}

.cover--intro{overflow: hidden;}
.cover__bg{position: absolute;top: 0px;left: 0;width: 0;height: 100%;z-index: 0;border-radius: 20px;overflow: hidden; will-change: width;}

.intro__title,
.intro__sub,
.intro__excerpt {background-color: var(--beige); z-index: 1; position: relative;}

.intro__title{width: fit-content; padding: 20px 20px 0px 20px;}

.single-progetti .intro__title{text-transform: uppercase;}

.intro__sub{width: fit-content; top: -16px; padding: 20px; border-radius: 0 24px 24px 0px;}

.intro__sub .subtitle,
.intro__excerpt p{margin: 0;}

.intro__excerpt {padding: 20px;width: 100%; max-width: 700px; position: absolute; right: 0; bottom: 0; border-radius: 24px 0 0 0;}

.intro__title:after, 
.intro__title:before,
.intro__sub:before,
.intro__excerpt:before,
.intro__excerpt:after,
.project-nav__intro-title:before,
.project-nav__intro-title:after {content: ""; width: 70px; height: 70px; display: flex;
    background-image: url('data:image/svg+xml,<svg width="60" height="57" viewBox="0 0 60 57" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M60 5L30 5C16.1929 5 5 16.1929 5 30L5 57" stroke="%23FFFCE6" stroke-width="10"/></svg>');
    background-size: cover; position: absolute;}

.intro__title:before {right: -58px;top: -12px;}

.intro__title:after {top: 114px; right: -58px; transform: rotate(270deg);}

.intro__sub:before { left: -12px; bottom: -58px;}

.intro__excerpt:before { top: -58px;  right: -12px; transform: rotate(180deg);}

.intro__excerpt:after{bottom: -12px; left: -58px; transform: rotate(180deg);}

.page-template-page-template .intro__title{border-radius: 0 0 24px 0;}
.page-template-page-template .intro__title:after {top: 115px; left: -12px; transform: none; right: 0;}

.post-type-archive-progetti .intro__title,
.single-progetti .intro__title{width: fit-content; padding: 20px 20px 5px 20px;border-radius: 0 0 24px 0;}
.post-type-archive-progetti .intro__title:after,
.single-progetti .intro__title:after{top: 136px; right: auto; left: -13px; transform: none;}

.page-template-custom-template .cover__content h1{text-transform: uppercase;text-align: right;margin: 0;}

.page-template-custom-template .cover__content .excerpt{text-align: left;padding: 0; max-width: 55%; margin: 0;}

.page-template-custom-template [class*='col-']{padding: 1%;}

@media screen and (width >= 1800px) {

}

/* ----------- Non-Retina Screens ----------- */
@media screen 
  and (min-device-width: 1280px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 1) { 
.cover {height: 78vh; margin: 90px 0px 50px 0;}

  }

/* ----------- Retina Screens ----------- */
@media screen 
  and (min-device-width: 1280px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 
.cover {height: 78vh; margin: 90px 0px 50px 0;}

}

/* portrait */
@media only screen
  and (min-width: 768px)
  and (max-width: 1180px)
  and (orientation: portrait)
  /* and (hover: none)
  and (pointer: coarse)  */
  {
    .cover{height: 76vh; margin: 100px 0px 50px 0;}
 .intro__excerpt { max-width: 600px;}
.page-template-page-template .intro__title:after {top: 160px;}

.post-type-archive-progetti .intro__title{ max-width: 400px;}
.post-type-archive-progetti .intro__title:after{top: 256px;}

.single-progetti .intro__title{width: fit-content; }
.single-progetti .intro__title:after { top: 181px; left: -13px;}

}

/* landscape */
@media only screen
  and (min-width: 768px)
  and (max-width: 1180px)
  and (orientation: landscape)
  /* and (hover: none)
  and (pointer: coarse)  */
  {
.page-template-page-template .intro__title:after {top: 84px;}
.post-type-archive-progetti .intro__title:after, .single-progetti .intro__title:after { top: 105px; left: -12px;}
}

@media (max-width: 767px) {

.cover{margin: 90px 0 0 0;}
.page-template-page-template .cover h1,
.archive .cover h1{font-size: 3.12rem;}
.single-progetti .cover h1{font-size: 2.5rem;}
.cover{height: 72vh;}
.cover__bg{height: 50vh;}
.intro__sub{width: 300px;}

.intro__title:after {top: 39px;right: -58px;}

.intro__excerpt{padding:45px 0 0px 0;background: transparent;height: 100%;bottom: auto; top: 0;}
.intro__excerpt p{position: relative; padding: 0;top: calc(100% - 155px)}

.intro__excerpt:before, 
.intro__excerpt:after{content: none;}

.page-template-page-template .intro__title{    padding: 20px 20px 1px 20px;}
.page-template-page-template .intro__title:after {top: 143px;}

.archive .intro__title:after{top: 205px;}

.archive .intro__title{width: 270px;}

.single-progetti .intro__title:after {top: 123px; right: auto; left: -12px;}

}

/* ! Layout */
/* ----------------------------------------------------------------------------------- */

/* Nested border */
.nested-border-r,
.nested-border-r-link{overflow: hidden;position: relative;}

.nested-border-r img,
.border-radius,
.nested-border-r-link img,
.nested-border-r-link .post-thumbnail-list{border-radius: 24px;}

.nested-border-r-link img{height: 250px;object-fit: cover;}

.nested-border-r-span-1,
.nested-border-r-span-2,
.nested-border-r-span-3,
.nested-border-r-link-span{position: relative;display: block; width: 100%;height: 100%;}

.nested-border-r-span-1{position: absolute; top: -32px;left: -5px; max-width: 167px;height: 270px;border-radius: 0 0 24px 0;}
.nested-border-r-span-2{position: absolute; top: -2px;right: -1px; max-width: 163px;height: 127px;border-radius: 0 0 0 24px;}
.nested-border-r-span-3{position: absolute; bottom: -2px;right: -1px; max-width: 254px;height: 120px;border-radius: 24px 0 0 0;}

.alt .nested-border-r-span-1,
.alt .nested-border-r-span-2{max-width: 120px;height: 140px;top: -32px;left: 93px;}
.alt .nested-border-r-span-1 { border-radius: 0 0 24px 0;}
.alt .nested-border-r-span-2 {top: auto;bottom: -32px; border-radius: 0 24px 0 0;}
.alt .nested-border-r-span-3{max-width: 98px;height: 100%;top: 0;left: 0;}

.alt-2 .nested-border-r-span-2{max-width: 230px;height: 120px;top: 0px;left: calc(50% - 115px);border-radius: 0 0 24px 24px;}
.alt-2 .nested-border-r-span-1,
.alt-2 .nested-border-r-span-3{display: none;}

.alt-2.alt-2__invert .nested-border-r-span-2{max-width: 230px;height: 120px;top: auto;bottom: 0; left: calc(50% - 115px);border-radius: 24px 24px 0 0;}

.nested-border-r-link-span{position: absolute; bottom: -2px;right: -1px; max-width: 85px;height: 85px;border-radius: 24px 0 0 0;transform: translateY(100%);transition: all 1s cubic-bezier(.215, .61, .355, 1);}

.is-style-full-link:hover .nested-border-r-link-span,
.wp-block-post-featured-image:hover .nested-border-r-link-span,
.wp-block-post:hover .nested-border-r-link-span,
.post-list-item:hover .nested-border-r-link-span,
.project-nav__prev:hover .nested-border-r-link-span,
.project-nav__next:hover .nested-border-r-link-span{transform: translate(0);} 
 
.post-list-item:hover .post-thumbnail-list{border-radius: 24px 24px 0 24px;}

.nested-border-r-link-span{background: var(--beige);}

.bg-white .nested-border-r-span-1,
.bg-white .nested-border-r-span-2,
.bg-white .nested-border-r-span-3{background-color: var(--white);}

.bg-beige .nested-border-r-span-1,
.bg-beige .nested-border-r-span-2,
.bg-beige .nested-border-r-span-3{background-color: var(--beige);}

.nested-border-r-span-1:before,
.nested-border-r-span-1:after,
.nested-border-r-span-2:before,
.nested-border-r-span-2:after,
.nested-border-r-span-3:before,
.nested-border-r-span-3:after,
.nested-border-r-link-span:before,
.nested-border-r-link-span:after {content: ""; width: 75px; height: 75px; display: flex; background-size: cover; position: absolute;}

.bg-white .nested-border-r-span-1:before,
.bg-white .nested-border-r-span-1:after,
.bg-white .nested-border-r-span-2:before,
.bg-white .nested-border-r-span-2:after,
.bg-white .nested-border-r-span-3:before,
.bg-white .nested-border-r-span-3:after{background-image: url('data:image/svg+xml,<svg width="60" height="57" viewBox="0 0 60 57" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M60 5L30 5C16.1929 5 5 16.1929 5 30L5 57" stroke="%23FFFFFF" stroke-width="10"/></svg>');}    

.bg-beige .nested-border-r-span-1:before,
.bg-beige .nested-border-r-span-1:after,
.bg-beige .nested-border-r-span-2:before,
.bg-beige .nested-border-r-span-2:after,
.bg-beige .nested-border-r-span-3:before,
.bg-beige .nested-border-r-span-3:after{background-image: url('data:image/svg+xml,<svg width="60" height="57" viewBox="0 0 60 57" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M60 5L30 5C16.1929 5 5 16.1929 5 30L5 57" stroke="%23FFFCE6" stroke-width="10"/></svg>');} 

.nested-border-r-link-span:before,
.nested-border-r-link-span:after{background-image: url('data:image/svg+xml,<svg width="60" height="57" viewBox="0 0 60 57" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M60 5L30 5C16.1929 5 5 16.1929 5 30L5 57" stroke="%23FFFCE6" stroke-width="10"/></svg>');}

.nested-border-r-span-1:before{top: 19px;right: -62px;}
.nested-border-r-span-1:after{bottom: -62px;left: -8px;}

.nested-border-r-span-2:before{top: -11px;left: -62px;transform: rotate(90deg);}
.nested-border-r-span-2:after{bottom: -62px;right: -12px;transform: rotate(90deg);}

.nested-border-r-span-3:before{top: -62px;right: -12px;transform: rotate(180deg);}
.nested-border-r-span-3:after{bottom: -11px;left: -62px;transform: rotate(180deg);}

.nested-border-r-link-span:before{top: -62px; right: -12px;transform: rotate(180deg);}
.nested-border-r-link-span:after{bottom: -11px; right: 72px;transform: rotate(180deg);}

.alt .nested-border-r-span-2:before {top: -62px;left: -8px; transform: rotate(270deg);}
.alt .nested-border-r-span-2:after {bottom: 19px;right: -62px; transform: rotate(270deg);}

.alt .nested-border-r-span-3:before {top: 0px;left: 0px;}
.alt .nested-border-r-span-3:after {display: none;}

.alt-2 .nested-border-r-span-2:before {top: -14px;right: auto;left: -62px; transform: rotate(90deg);}
.alt-2 .nested-border-r-span-2:after {top: -13px;bottom: auto;right: -62px;transform: rotate(0deg);}

.alt-2.alt-2__invert .nested-border-r-span-2:before {top: auto;bottom: -14px;left: -62px; transform: rotate(180deg);}
.alt-2.alt-2__invert .nested-border-r-span-2:after {top: auto;bottom: -14px;right: -62px;transform: rotate(-90deg);}

.icon-link{position: absolute;top: calc(50% - 34px);left: calc(50% - 34px); width: 60px; height: 60px;transform: rotate(-45deg); background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="31" height="30" viewBox="0 0 512 512"><path fill="none" stroke="%23242424" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M268 112l144 144-144 144M392 256H100"/></svg>');background-repeat: no-repeat;background-position: center center;background-size: contain;}

/* TiLT team */
.tilt-team figure,
.tilt-team img{width: 200px;height: 247px;}
.tilt-team img {object-fit: cover;border-radius: 15px;}
.tilt-team figcaption{text-align: center;font-size: 14px;margin-top: 20px;}

.object-list .wp-block-group { width: fit-content !important;}

.object-list .wp-block-column{flex-basis: fit-content!important;}

/* Price card */
.price-card{position: relative;z-index: 6;}

.price-card a{text-decoration: underline;}

.price-card__bottom p,
.price-card__bottom ul{font-size: 1rem;margin-bottom: 0;margin-top: 15px;}

.price-card__top:before,
.price-card__top:after,
.price-card__bottom:before,
.price-card__bottom:after{background-image: url('data:image/svg+xml,<svg width="60" height="24" viewBox="0 0 60 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 19L36 19C46.4934 19 55 10.4934 55 -2.51698e-06" stroke="%23FFFCE6" stroke-width="10"/></svg>');}

.price-card__top:before,
.price-card__top:after,
.price-card__bottom:before,
.price-card__bottom:after{content: " "; width: 60px; height: 24px; display: flex; background-size: cover; position: absolute;background-repeat: no-repeat;z-index: 9;}

.price-card__top:before{top: calc(50% - 2px); right: -28px; transform: rotate(270deg) scaleX(-1);}
.price-card__top:after { bottom: -10px; right: 105px;}

.price-card__bottom:before{top:-10px;right: 108px;transform: scaleX(-1) rotate(180deg);}
.price-card__bottom:after{top: 113px; right: -28px; transform: rotate(270deg);}

.price-card__price{z-index: 9;font-weight: 900;font-size: 45px;text-align: center;}
.price-card__price.has-background { z-index: 9;font-weight: 900; position: absolute; right: -90px; top: -105px; padding: 30px; height: 190px; width: 190px; border-radius: 100%; display: flex; align-items: center; justify-content: center; box-shadow: 0px 0px 0px 20px rgba(255,252,230,1);-webkit-box-shadow: 0px 0px 0px 20px rgba(255,252,230,1);-moz-box-shadow: 0px 0px 0px 20px rgba(255,252,230,1);}

.price-card__simple .wp-block-cover{max-width: 439px;}
.price-card__simple .price-card__price.has-background {right: calc(50% - 95px);padding: 10px;}

.price-card__simple .price-card__bottom:before {right: auto; left: 13%;}
.price-card__simple .price-card__bottom:after {top: -10px;right: 13%; transform: rotate(180deg);}

/* Project navigation */
.project-navigation {position: relative; width: 100%; display: flex; flex-wrap: wrap; flex-direction: row; align-content: center; justify-content: center; align-items: center;overflow: hidden;}

.project-nav__content{position: relative;}

.project-nav__intro-title{position: absolute;top: 0;left: 0; width: fit-content; padding: 5px 10px;background: var(--beige); border-radius: 0 0 10px 0;z-index: 9;text-transform: uppercase;}

.project-nav__intro-title:before,
.project-nav__intro-title:after{content: ""; width: 30px; height: 30px; display: flex; background-size: cover; position: absolute;z-index: 9;}

.project-nav__intro-title:before{right: -25px; top: -5px;}
.project-nav__intro-title:after{left: -5px;top: 40px;}

.project-nav__image {width: 500px;height: 270px;border-radius: 10px;}

.box-card{border-radius: 20px;margin-bottom: 30px;}
.page .spacer-page{height: 70px;}
footer a{color: var(--white);text-decoration: underline;}

/* portrait */
@media only screen
  and (min-width: 768px)
  and (max-width: 1180px)
  and (orientation: portrait)
  /* and (hover: none)
  and (pointer: coarse)  */
  {
.nested-border-r-span-1 { max-width: 140px;height: 240px;}
.nested-border-r-span-2 {max-width: 130px;height: 120px;}

.alt .nested-border-r-span-1, 
.alt .nested-border-r-span-2 {left: 60px;}
.alt .nested-border-r-span-3{display: none;}

.is-style-full-link .nested-border-r-link-span,
.wp-block-post-featured-image .nested-border-r-link-span,
.wp-block-post .nested-border-r-link-span,
.post-list-item .nested-border-r-link-span,
.project-nav__prev .nested-border-r-link-span,
.project-nav__next .nested-border-r-link-span{transform: translate(0);}   

.price-card {max-width: 75%;}

.box-column {display: flex;overflow-x: scroll;overflow-y: hidden;-webkit-overflow-scrolling: touch; width: 100%; scrollbar-width: thin;scrollbar-color: rgba(0,0,0,0.3) rgba(0,0,0,0.1);}

.box-column::-webkit-scrollbar {height: 8px;}
.box-column::-webkit-scrollbar-track {background: rgba(0,0,0,0.1); border-radius: 4px;}
.box-column::-webkit-scrollbar-thumb {background: rgba(0,0,0,0.3); border-radius: 4px;}

.box-column.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:first-child {flex: 0 0 205px !important;}
.box-column.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {flex-basis: auto !important; flex-grow: 0 !important;}

.box-column > *:nth-child(n + 2) { flex: 0 0 auto;}

.partner img{object-fit: contain!important;}

footer{margin-top: 3em!important;text-align: center;}
.home footer{margin-top: 7em!important;}

.footer-stuff p {margin-bottom: 0; line-height: 1;}

.project-nav__content.mr-3{margin-right: 1rem!important;}
.project-nav__image {width: 360px; height: 250px;}
.project-nav__intro-title:after {top: 74px;}
}

  @media only screen
  and (min-width: 768px)
  and (max-width: 1180px)
  and (orientation: landscape)
  /* and (hover: none)
  and (pointer: coarse)   */
  {
    .nested-border-r-span-1 { max-width: 90px; height: 190px;}
.nested-border-r-span-2 {max-width: 120px; height: 100px;}
.nested-border-r-span-3 { max-width: 190px; height: 80px;}

.alt .nested-border-r-span-1, .alt .nested-border-r-span-2 {left: -5px;}
.alt .nested-border-r-span-3{display: none;}

.nested-border-r.alt img{height: 420px!important;}
.price-card .wp-block-column{flex-basis: 60%!important;}

.vision .wp-block-column{flex-basis: 75%!important;}

.home footer{margin-top: 7em!important;}
.partner img{object-fit: contain!important;}
  }

@media (max-width: 767px) {

.is-style-full-link .nested-border-r-link-span,
.wp-block-post-featured-image .nested-border-r-link-span,
.wp-block-post .nested-border-r-link-span,
.post-list-item .nested-border-r-link-span,
.project-nav__prev .nested-border-r-link-span,
.project-nav__next .nested-border-r-link-span{transform: translate(0);}   

.nested-border-r-link-span {max-width: 70px; height: 70px;}
.nested-border-r-span-1{max-width: 85px;height: 150px;}
.nested-border-r-span-2{max-width: 74px; height: 70px;}
.nested-border-r-span-3{max-width: 128px;height: 67px;}

.nested-border-r.alt img{height: 326px!important;}
.alt .nested-border-r-span-1,
.alt .nested-border-r-span-2{max-width: 88px;height: 110px;top: -32px;left: -5px;}
.alt .nested-border-r-span-2 {top: auto;bottom: -32px; border-radius: 0 24px 0 0;}

.wp-block-image.alt {margin-top: 2em;margin-left: 20px; margin-right: 20px; text-align: center;}

.nested-border-r.alt-2 img{height: 319px!important;}

.alt-2 .nested-border-r-span-2 {max-width: 150px; height: 70px; top: 0px; left: calc(50% - 75px);}

.alt-2.alt-2__invert .nested-border-r-span-2 {max-width: 150px; height: 70px; top: auto; bottom: 0; left: calc(50% - 75px);}

.nested-border-r-link-span:before {top: -43px;right: -8px;}
.nested-border-r-link-span:after {bottom: -7px; right: 61px;}

.nested-border-r-span-1:before,
.nested-border-r-span-1:after,
.nested-border-r-span-2:before,
.nested-border-r-span-2:after,
.nested-border-r-span-3:before,
.nested-border-r-span-3:after,
.nested-border-r-link-span:before,
.nested-border-r-link-span:after{width: 52px;height: 52px;}

.nested-border-r-span-1:before {top: 23px; right: -43px;}
.nested-border-r-span-1:after {bottom: -43px;left: -4px;}

.nested-border-r-span-2:before {top: -7px; left: -43px;}
.nested-border-r-span-2:after {bottom: -43px; right: -8px;}

.nested-border-r-span-3:before {top: -43px;right: -8px;}
.nested-border-r-span-3:after {bottom: -7px;left: -43px;}

.alt .nested-border-r-span-2:before {top: -43px; left: -4px;}
.alt .nested-border-r-span-2:after{ bottom: 23px; right: -43px;}

.alt-2 .nested-border-r-span-2:before {top: -9px; right: auto; left: -43px;}
.alt-2 .nested-border-r-span-2:after {top: -9px; bottom: auto; right: -43px;}

.alt-2.alt-2__invert .nested-border-r-span-2:before {top: auto; bottom: -9px; left: -43px;}
.alt-2.alt-2__invert .nested-border-r-span-2:after {top: auto;bottom: -9px; right: -43px;}

.alt .nested-border-r-span-3{display: none;}

.icon-link {top: calc(50% - 25px); left: calc(50% - 25px); width: 50px; height: 50px;}

.object-list .wp-block-group { width: auto !important;}

.price-card{overflow: hidden;}
.price-card h2{font-size: 1.56rem;text-align: center;}
.price-card .is-layout-flex{justify-content: center;} 
.price-card .subtitle{font-size: 1.25rem;}
.price-card__price{font-size: 2.5rem;}

.price-card__price.has-background {right: calc(50% - 70px); top: -80px; padding: 10px; height: 140px; width: 140px; border-radius: 100%;}

.price-card__bottom {padding-top: 85px;}

.price-card__top:before,
.price-card__top:after,
.price-card__bottom:before,
.price-card__bottom:after{content: none;}

.project-nav__content.mr-3{margin-right: 0!important;margin-bottom: 4em;}
.project-nav__intro-title:after {top: 75px;}
.project-nav__image{width: 350px;height: 240px;}

.accordion--price-card .box-card {border-radius: 15px;margin-bottom: 0;transition: border-radius .2s ease;}

.accordion--price-card.open .box-card {border-radius: 15px 15px 0 0;}

.accordion__content{margin-top: -20px;}
.accordion__content .wp-block-group{border-radius: 0 0 15px 15px;}

footer{margin-top: 6em!important;}

.footer-1 .wp-block-cover {padding: 50px 30px 100px 30px;}

.footer__logo .custom-logo { width: 150px; height: 150px; top: calc(50% - 60px); left: calc(50% - 75px); border: 15px solid #fffce6;}
.footer-2 { margin-top: 24px;text-align: center;}

.footer-2 .wp-block-cover{padding: 100px 20px 0 20px;}

.footer-2 .has-text-align-right{text-align: center;}
}

@media screen and (width >= 1800px) {

}

label{font-size: 1rem;}

input[type=text], 
input[type=email], 
input[type="tel"],
select, 
textarea { border: 3px solid var(--cerulean); border-radius: 15px; padding: 10px; font-family: 'Rubik', Arial, sans-serif;  font-size: 1.1rem; width: 100%; background: var(--beige); color: var(--black);}

input[type=submit] {cursor: pointer; border-radius: 15px;margin: 20px 0; padding: 10px;width: 100%;font-size: 1.6rem;text-transform: uppercase;font-weight: 900;border: none;background: var(--rosewood);color: var(--beige);}

.wpcf7-not-valid-tip,
.wpcf7 label{width: 98%;height: 10px;}

/* .wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7-response-output {height: 45px;color:#FDFAFF;} */

/* .wpcf7-spinner{display: none;} */

/* ! Slider */
/* ----------------------------------------------------------------------------------- */
.slider-carousel .splide__slide img {border-radius: 15px!important;height: 350px;object-fit: cover;}
.slider-carousel figcaption {text-align: center;font-size: 14px;margin-top: 20px;}

.slider-carousel-simple .splide__slide img{border-radius: 15px!important;height: 450px;}

.splide__pagination__page{width: 15px!important;height: 15px!important;background: var(--black)!important;opacity: .5;}
.splide__pagination__page.is-active {background: var(--black)!important; transform: scale(1.2); z-index: 1;opacity: 1;}
.splide__pagination li {margin-right: 10px!important;}

.slider-carousel-simple .splide__pagination {bottom: 2em !important;}

.splide-arrows {position: absolute;top: calc(50% - 47px);left: 0;right: 0; z-index: 10; display: flex; justify-content: space-between; pointer-events: none; width: 100%; margin: 0 auto;}

.slider-carousel-simple .splide-arrows {top: calc(50% - 17px); width: 70%;}
.slider-carousel-simple .splide__pagination__page.is-active {background: var(--beige)!important;}
.slider-carousel-simple .splide__pagination__page{background: var(--beige)!important;}

.custom-prev, 
.custom-next {background: var(--black); cursor: pointer;pointer-events: auto; padding: 0.5rem; transition: opacity 0.3s ease; border-radius: 100%; border: 0;}
.custom-prev svg,
.custom-next svg {display: block;width: 20px;height: 18px;}
.custom-prev {left: calc(0% - 100px);position: relative;}
.custom-next {right: calc(0% - 100px);position: relative;}

.slider-carousel-simple .custom-prev, 
.slider-carousel-simple .custom-next {background: var(--beige);}
.slider-carousel-simple .custom-prev svg,
.slider-carousel-simple .custom-next svg{filter: invert(1);}

.slider-carousel-logo .splide__slide {display: flex; justify-content: center; align-items: center; height: 100px; padding: 0;}
.slider-carousel-logo .splide__slide figure {display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; margin: 0;}
.slider-carousel-logo .splide__slide img {max-height: 100%; max-width: 100%; height: auto; width: auto; object-fit: contain;opacity: .6;}

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

.splide-arrows { width: 93%;}
  }

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

.splide-arrows { width: 93%;}
}


/* portrait */
@media only screen
  and (min-width: 768px)
  and (max-width: 1180px)
  and (orientation: portrait)
  /* and (hover: none)
  and (pointer: coarse)  */
  {
.splide-arrows { top: auto;  display: flex;  width: 10%;  bottom: -80px;}

}

  @media only screen
  and (min-width: 768px)
  and (max-width: 1180px)
  and (orientation: landscape)
  /* and (hover: none)
  and (pointer: coarse)   */
  {
.splide-arrows { top: auto; display: flex; width: 10%; bottom: -80px;}
  }


@media (max-width: 767px) {
.slider-carousel .splide__slide img {height: 200px;}
	
.slider-carousel-simple .splide__slide img { height: 290px;}	
	
.slider-carousel-simple .custom-prev, 
.slider-carousel-simple .custom-next {width: 40px; height: 40px;}

.splide-arrows{top: auto;bottom: -60px;}
	
.slider-carousel-simple .splide-arrows {top: auto; width: 90%; bottom: 25px;}
	
.custom-prev {left: 0;}
.custom-next{right: 0;}
  
}

/* animation
--------------------------------------------------------- */
.fade-in{opacity: 0;transform: translateY(1rem);}
.text-reveal{transform: translateY(1rem);clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);}

.fade-up{opacity: 0;transform: translateY(3rem);}

.slide-down {opacity: 0; transform: translateY(-1rem);}

.wp-block-contact-form-7-contact-form-selector [class*='col-'] {padding: 1%;}
