/*
Theme Name: Enfold Child
Description: Enfold x MDC
Version: 1.0
Author: Housedada
Author URI: https://housedada.com
Template: enfold
*/

/*Rotazione titolo homepage*/
.av-rotator-container .av-rotator-text-single-1, .av-rotator-text-single-2, .av-rotator-text-single-3, .av-rotator-text-single-4, .av-rotator-text-single-5, .av-rotator-text-single-6, .av-rotator-text-single-7 {
 background-color: transparent !important;
}

/*Progetti*/
.project-container ul {
	margin:0 0 100px !important;
	padding:0px !important;
	border-top:1px solid;
	border-left:0px solid;
	border-right:0px solid;
}
.project-container ul li {
	border-bottom:1px solid;
	padding:0px;
	position:relative;
	cursor:pointer;
}
.project-container ul li a {
	display:block;
	padding:1em 100px 1em 0em;
	position:relative;
}
.project-container ul li:hover {
	background-color:#f9f9f9;
}
.project-container ul li .container:before {
	content:'\f055';
	font-family:'Font Awesome 6 Pro';
	font-weight:300 !important;
	font-size:25px;
	line-height:1em;
	position:absolute;
	width:26px;
	height:26px;
	top:50%;
	right:50px;
	margin-top:-12px;
	opacity:0.33;
}
.project-container ul li .project-featured-image {
	display:none;
	position:fixed;
	width:50%;
	height:50vh;
	left:25%;
	top:25%;
	border:1px solid;
	background-color:white;
	background-size:contain;
	background-position:50%;
	background-repeat:no-repeat;
	box-shadow:15px 15px 0px 0px rgba(0,0,0,0.06);
	z-index:9999;
}
.project-container ul li:hover .project-featured-image {
	display:block;
}
.project-container ul li .project-meta-container {
	font-size:0.8em;
	line-height: 1.5em;
	color:var(--enfold-main-color-primary);
}
.project-container .project-year-term {
	font-weight:500;
}
.project-container ul li .project-meta-container span {
	margin-right:5px;
}
.project-featured-image {
	margin:0px !important;
	padding:0px !important;
}

/*Text*/
.custom-subheading p {
	font-size: 20px !important;
	line-height: 1.76em;
	font-weight: 400;
	font-style: italic;
	color: #768E80;
}

.custom-underline strong {
	text-decoration: underline;
	font-weight: 500;
}

.custom-list ul li {
	display: inline-block;
	border: 1.5px solid #768E80;
	border-radius: 3px;
	padding: 5px 10px 5px 10px;
  margin: 5px;
	margin-left: -5px;
  font-size: 18px;
}

.custom-list-2 ul li {
	display: block;
	border-top: 1px solid #768E80;
	padding: 10px 10px 10px 10px;
  margin: 5px;
	margin-left: -5px;
  font-size: 27px;
}

.custom-list-2 li:last-child {
	border-bottom: 1px solid #768E80;
}

.custom-list-bigger ul li {
	display: block;
	font-size: 36px !important;
	margin-left: -5px;
	line-height: 1.6em;
}

.avia_textblock {
	line-height:1.76em;
}

.text-bigger {
	font-size: 30px !important;
	line-height: 1.6em;
	font-weight: 400;
}

.text-smaller {
	font-size: 20px !important;
	line-height: 1.9em;
	font-weight: 400;
}

.custom-text-highlight {
	font-size: 26px !important;
	line-height: 1.76em;
	font-weight: 500;
}

.custom-data {
	font-size: 18px !important;
	border-left: 1px solid #768E80;
	padding-left: 30px;
}

/*Pulsanti*/
.avia-button {
	opacity: 1 !important;
}

/*Accordion*/
.custom-list-accordion ul li {
	display: inline-block;
	padding-right: 50px;
  margin: 5px;
	margin-left: -5px;
  font-size: 20px;
	font-weight: 400;
	justify-content: center !important;
}

.toggler {
	font-size: 30px !important;
	font-weight: 500;
}

.custom-list-accordion a {
	color: #ffffff;
	background-color: #000000;
	border: 1px solid #000000;
	border-radius: 30px;
	padding: 10px 15px 10px 15px;
}

.custom-list-accordion a:hover {
	color: #ffffff;
	background-color: #768E80;
	border: 1px solid #000000;
	border-radius: 30px;
	padding: 10px 15px 10px 15px;
}

/*Grid*/
.av-border-cells {
	border-bottom: 1px solid #000000 !important;
}

.custom-grid {
	border-top: 1px solid #000000 !important;
}

/*Footer*/
.footer-img {
	max-width: 15%;
}

/*Template*/
@media screen and (max-width: 500px) {
.project-container ul li:hover .project-featured-image {
	display:none;
}
.project-container .project-tag-term	{
	display:none;
}
.project-container ul li .container:before {
	right:0px;
 }
}

@media screen and (max-width: 780px) {
.project-container ul li .container:before {
	right:50px;
}
}


/*Project - Single */
.single-project #main {
  padding-top: 0px !important;
}
.single-project #header .header_bg {
  background-color: transparent !important;
}

.height-100 .row {
  height: 100vh;
}
.height-100 .flex-mid {
  display: flex;
  flex-wrap: wrap;
  min-height: 100%;
}

#project-head {
  border-bottom: 1px solid;
}
#project-head .row {
  margin-bottom: 0px !important;
}
#project-head .col-no-padding {
  padding: 0px !important;
}
.project-head-content {
  justify-content: center !important;
  align-content: center !important;
  padding: 60px 8%;
}
.project-head-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: cyan;
}

.project-title,
.project-subheading,
.project-excerpt,
.project-year,
.project-tag {
  display: block;
  width: 100%;
}

.project-breadcrumbs {
  display: block;
  width: 100%;
  margin:0 5px;
}
.project-breadcrumbs div {
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em;
}

.project-title {
  margin-bottom: 0.3em !important;
  font-size: 66px !important;
  line-height: 1em;
  position: relative;
  left: -3px;
}
.project-subheading {
  font-size: 26px !important;
  line-height: 1.4em;
  margin-bottom: 1.5em;
}
.project-excerpt {
  margin-bottom: 25px;
}
.project-year {
  font-size: 19px;
  line-height: 1em;
  color:var(--enfold-main-color-primary) !important;
}
.project-tag {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
}
.project-tag span {
  display: inline-block;
  border:1px solid #e1e1e1;
  padding: 14px 12px;
  margin: 0 4px 4px 0;
  font-size: 14px;
  font-style: italic;
  text-transform: lowercase;
  line-height: 1em !important;
}

.padding-default {padding: 100px 0;}
.padding-small {padding: 60px 0;}
.border-default {border-bottom:1px solid;}

#project-numbers .row {
  margin-bottom: 0px !important;
}
.project-numbers-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.project-numbers-container .numbers-item {
  flex:1;
  text-align: center;
  padding: 20px 30px;
}
.project-numbers-container .number-value {
  font-size: 52px !important;
  font-weight: 500 !important;
  margin-bottom: 0.36em;
}
.project-numbers-container .number-label {
  font-size: 25px !important;
  font-weight: 300 !important;
  line-height: 1.2em !important;
  text-transform: uppercase;
}
.project-details {
  padding: 0 30px 50px 0;
}
.project-details h4 {
margin: 0 0 6px 0 !important;
}
.project-details ul {
  margin: 0px !important;
}
.project-details ul li {
 display: block;
 border-bottom: 0.25px solid #f1f1f1;
 line-height: 1.5em;
 margin: 0px !important;
 padding: 14px 0px;
}
.project-details span {
 display: block;
 text-transform: uppercase;
 font-size: 13px;
 line-height: 1em;
 margin-bottom: 6px;
 color: var(--enfold-main-color-primary) !important;
}

/*Project - Single - Carousel*/
#project-carousel {
  margin-bottom: 100px;
}
.flickity-button {
  background-color: transparent !important;
}
.flickity-button svg {
  color:white !important;
  width: 75% !important;
  height: 75% !important;
}
.flickity-prev-next-button.previous {
  left: 24px !important;
}
.flickity-prev-next-button.next {
  right: 24px !important;
}
.flickity-page-dots {
  bottom: -24px !important;
}
.flickity-page-dots .dot {
  margin: 0 5px !important
}
.main-carousel .image-overlay {
  display: none !important;
}
.carousel-cell a {
  transition: all ease-in-out 0.5s;
}
.carousel-cell a:hover {
  opacity: 0.8;
}

/**/
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


@media screen and (max-width: 1199px) {
  #project-head .row {
    display: block !important;
    height: auto !important;
  }
  .flex-mid {
    min-height: auto !important;
  }
  .project-head-img {
    min-height: 50vh !important;
  }
  .project-head-content {
    justify-content: center !important;
    align-content: center !important;
    padding: 50px 8% !important;
  }

  .project-numbers-container {
  }
  .project-numbers-container .numbers-item {
    width: 50%;
    min-width: 50% !important;
  }
  .project-numbers-container .number-label {
    font-size: 23px !important;
  }
}

@media screen and (max-width: 768px) {
  .single-project #main {
    padding-top: inherit !important;
  }
  .single-project #header .header_bg {
    background-color: white !important;
  }

  .padding-small {
    padding: 40px 0 !important;
  }
  .padding-default {
    padding: 50px 0 !important;
  }
  .project-head-img {
    min-height: 33vh !important;
  }
  .project-head-content {
    padding: 50px 10% !important;
  }
  .project-details {
    padding: 0 0 50px 0;
  }

  .project-numbers-container .number-label {
    font-size: 21px !important;
  }
}

@media screen and (max-width: 480px) {
  .project-numbers-container .number-value {
    font-size: 60px !important;
  }
  .project-numbers-container .number-label {
    font-size: 19px !important;
  }

  .flickity-button {
    display: none !important;
  }
}
