/* 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, .85);

	-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 {
  margin-bottom: 1rem;
  padding: 1rem;
  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);
}
.accordion .accordion-label {
  cursor: pointer;
  font-weight: bold;
}

.accordion .accordion-label:after {
	content: '';
	display: block;
	float: right;
	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 */
.tabs {
  display: block;
}
.tabs ul.tabs-label {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tabs ul.tabs-label li {
  display: block;
  cursor: pointer;
  padding: 1rem;
  text-align: center;
  border-radius: 3px 3px 0 0;
}
.tabs ul.tabs-label li.current {
  font-weight: bold;
  border-bottom: 2px solid #398177;
}
.tabs .tabs-content {
	width: 100%;
	min-height: 300px;
}
.tabs .tabs-content .tab-content {
  display: none;
  -ms-flex-direction: column;
	flex-direction: column;
}
.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;
  }
  .tabs ul.tabs-label li {
    padding: .5rem;
    font-size: .9rem;
  }
}
.tab-intervento {
	display: block;
	padding: 1rem;
	margin-bottom: 1rem;
	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);
}
.tab-intervento-title {
	display: flex;
	font-weight: bold;
}
.tab-intervento-title span {
	font-weight: normal;
	margin-left: auto;
	color: var(--red);
	white-space: nowrap;
}
.tab-intervento-intro {
	color: #888;
	font-size: .9em;
}
@media (max-width: 767px) {
	.tab-intervento-title {
		display: block;
	}
	.tab-intervento-title span {
		display: block;
		margin: 10px 0 0 0;
	}
}



/* SECTION SWAP */
.swap-wrap {
	margin-bottom: .5rem;
  margin-top: .5rem;
  perspective: 1500px;
}
.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 5px 20px rgba(0,0,0,.3);

  background-color: #eee;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  will-change: transform;

  -webkit-transition: transform 0.5s ease-in-out;
	transition: transform 0.5s ease-in-out;
}
.swap-wrap.swap-odd .swap-img {
	transform: rotate3d(0, 1, 0, 15deg);
}
.swap-wrap.swap-even .swap-img {
	transform: rotate3d(0, -1, 0, 15deg);
}
.swap-img:hover {
	transform: rotate3d(0, 0, 0, 0deg) !important;
}
.swap-txt {
	padding: 1rem;
	max-width: 500px;
	margin: 0 auto;
}
.swap-txt h3 {}
@media (max-width: 767px) {
	.swap-img {
		height: 400px;
	}
}


/* SECTION SWIPER */
.swiper-wrap {
	position: relative;
  margin: 0 .5rem;
  padding: 0 .5rem;
  overflow: hidden;
}
.swiper-wrap .swiper-slide {
	width: calc(33.33% - .66rem);
	margin-right: 1rem;
	min-height: 100px;
	overflow: hidden;
}
.swiper-relatori .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 3px;
}
@media (max-width: 991px) {
	.swiper-wrap .swiper-slide {
		width: calc(50% - .5rem);
	}
}
@media (max-width: 767px) {
	.swiper-wrap .swiper-slide {
		width: calc(80% - 1rem);
	}
}

/*
width: calc(25% - .75rem);
width: calc(33.33% - .66rem);
width: calc(50% - 5rem);
width: calc(80% - 1rem);
*/


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



/* SECTION FIX */
.fix-wrap {}
.col-fix-txt {
	padding: 20vh 1rem;
}
.fix-txt {
	max-width: 500px;
    margin: 0 auto 40vh auto;
}

.fix-img-sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	width: 100%;
	height: 100vh;
	background-color: #eee;
}
.fix-img-sticky .fix-img {
	position: absolute;
	display: block;
    width: 100%;
    height: 100%;
    opacity: 0;

    background-position: center;
    background-color: #aaa;
    background-size: 400px;
    background-repeat: no-repeat;
}
.fix-img-sticky .fix-img.current {
	opacity: 1;
}
