/* SECTION VIDEO */
.clip {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background-color: #000;
	background-size: cover;
	background-position: center;
}
.clip video {
	width: 100%;
	height: 100%;
	z-index: 0;
	object-fit: cover;
	object-position: center;
}
.clip:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	opacity: 0;
	pointer-events: none;

	background-position: center;
	background-repeat: no-repeat;
	background-size: 400px;
	background-color: rgba(0, 0, 0, .4);

	-webkit-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
}
.clip.paused:after {
	opacity: 1;
}
@media (max-width: 767px) {
	.clip {
		height: 400px;
	}
}


/* SECTION ACCORDION */
.accordion {
	position: relative;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 3px;
  box-shadow: 0px 2px 10px rgb(0 0 0 / 15%);
}
.accordion .accordion-label {
  cursor: pointer;
  font-weight: bold;
}
.accordion .accordion-label:after {
	content: '';
	position: absolute;
	top: .5rem;
	right: .5rem;

	height: 34px;
	width: 34px;

	background-image: url(../img/icons/arrow-down.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px;

	-webkit-transition: .2s linear;
	transition: .2s linear;
}
.accordion .accordion-content {
  max-height: 0;
  opacity: 0 !important;
  overflow: hidden;
}
.accordion:hover .accordion-label,
.accordion.active .accordion-label {
  color: #03A9F4;
}
.accordion.active .accordion-label:after {
	transform: scaleY(-1);
}
.accordion.active .accordion-content {
  max-height: initial;
  padding-top: 1rem;
  opacity: 1 !important;

  -webkit-transition: .4s linear !important;
  transition: .4s linear !important;
}


/* SECTION TABS */
.wrap-tabs {
	overflow: hidden;
}
.tabs {
  display: block;
  margin-bottom: 1rem;
}
.tabs ul.tabs-label {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
}
.tabs ul.tabs-label li {
  display: block;
  cursor: pointer;
  padding: 1rem;
  text-align: center;
	line-height: 1.3;
	font-weight: 400;
	white-space: nowrap;
}
.tabs ul.tabs-label li span {
	display: block;
	text-transform: uppercase;
	color: #aaa;
	font-size: .6em;
	font-weight: bold;
}
.tabs ul.tabs-label li span.venduto {
	color: var(--red);
}
.tabs ul.tabs-label li.current {
  font-weight: bold;
  border-bottom: 2px solid var(--red);
}
.tabs .tabs-content {
	width: 100%;
	min-height: 300px;
	padding: 1rem 0;

  border-radius: 3px;
  -webkit-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.1);
}
.tabs .tabs-content .tab-content {
  display: none;
}
.tabs .tabs-content .tab-content.current {
  display: flex;
}
@media (max-width: 767px) {
  .tabs .tabs-content .tab-content.current {
    display: block;
  }
  .tabs .tab-content {
    padding: 1rem 0;
  }
  .tabs ul.tabs-label li span {
    display: none;
  }
}


/* SECTION SWAP */
.swap-wrap {
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.swap-wrap.swap-even {
	-webkit-box-orient: horizontal !important;
	-webkit-box-direction: reverse !important;
	-ms-flex-direction: row-reverse !important;
	flex-direction: row-reverse !important;
}
.swap-img {
	display: block;
	min-height: 400px;
	height: 50vh;
	border-radius: 3px;
	box-shadow: 0px 2px 10px rgb(0 0 0 / 15%);

	background-color: #eee;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.swap-txt {
	padding: 1rem;
	max-width: 500px;
	margin: 0 auto;
}
.swap-txt h3 {}
@media (max-width: 767px) {
	.swap-img {
		height: 400px;
	}
}


/* SECTION CAROUSEL */
.swiper-carousel {
	position: relative;
	overflow: hidden;
	margin: 1rem;
}
.swiper-carousel .swiper-slide {
	width: calc(25% - .75rem);
	margin: 0 1rem 0 0;
	height: 400px;
	overflow: hidden;

	background-color: #eee;
	background-image: url(../img/icons/spin1.svg);
  background-repeat: no-repeat;
  background-size: 60px;
  background-position: center;
}
.swiper-carousel .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
@media (max-width: 1240px) {
	.swiper-carousel .swiper-slide {
		width: calc(33.33% - .66rem);
		height: 400px;
	}
}
@media (max-width: 991px) {
	.swiper-carousel .swiper-slide {
		width: calc(50% - .5rem);
		height: 400px;
	}
}
@media (max-width: 767px) {
	.swiper-carousel .swiper-slide {
		width: calc(80% - 1rem);
		height: 400px;
	}
}

/* SECTION PLANIMETRIA */
.swiper-planimetria {
	position: relative;
	overflow: hidden;
}
.swiper-planimetria .swiper-slide {
	width: calc(25% - .75rem);
	margin: 0 1rem 0 0;
	height: 550px;
	overflow: hidden;

	background-color: #fff;
	background-image: url(../img/icons/spin1.svg);
	background-repeat: no-repeat;
	background-size: 60px;
	background-position: center;
}
.swiper-planimetria .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}
.swiper-planimetria .swiper-pagination-fraction {
	color: #444;
    text-align: right;
    padding: 10px 20px;
    font-weight: 500;
    bottom: auto;
    top: 0;
}
@media (max-width: 767px) {
	.swiper-planimetria {
		margin-top: 40px;
	}
	.swiper-planimetria .swiper-slide {
		height: 300px;
	}
}


/* SECTION ARTICLE */
.grid-article {}
.grid-article .brick-article,
.grid-article .brick-article:hover {
	position: relative;
	display: block;
	text-decoration: none;
	border-radius: 4px;
	color: initial;
}
.grid-article .brick-article {
  box-shadow: 0px 2px 10px rgba(0,0,0,.15);
  -webkit-transition: all .15s ease-in-out;
  transition: all .15s ease-in-out;
}
.grid-article .brick-article:hover {
  box-shadow: 0px 5px 20px rgba(0,0,0,.2);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}
.grid-article .brick-article-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.grid-article .brick-article-title {
	margin: 1rem;
}
.grid-article .brick-article-date {
  margin: 1rem;
  font-size: .8rem;
}


/* SECTION PRODUCT */
.grid-product {}
.grid-product .brick-product,
.grid-product .brick-product:hover {
	position: relative;
	display: block;
	text-decoration: none;
	border-radius: 4px;
	color: initial;
}
.grid-product .brick-product {
  box-shadow: 0px 2px 10px rgba(0,0,0,.15);
  -webkit-transition: all .15s ease-in-out;
  transition: all .15s ease-in-out;
}
.grid-product .brick-product:hover {
  box-shadow: 0px 5px 20px rgba(0,0,0,.2);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}
.grid-product .brick-product-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.grid-product .brick-product-title {
	margin: 1rem;
}
.grid-product .brick-product-price {
	margin: 0 1rem 1rem 1rem;
  font-size: .8rem;
  font-weight: 600;
}
.grid-product .brick-product-sale {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #000;
	color: #fff;
	font-size: .7rem;
	padding: 2px 7px;
	border-radius: 3px;
}


