/*
 Theme Name: Solarplus
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/

.slider-realisations .the-slide {
  position: relative;
  width: 30%;
  background-size: cover;
  background-position: center;
}

.slider-realisations .the-slide::after {
  content: " ";
  display: block;
  padding-bottom: 100%;
}

.main-container-cta {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.main-container-cta .left {
  background-size: cover;
  background-position: center center;
  width: 50%;
  color: #FFF;
  padding: 50px;

}

.main-container-cta .left h2 {
  color: #FFF;
  font-size: 36px;
  margin-bottom: 20px;
}

.main-container-cta .right {
  width: 50%;
  display: flex;
  flex-direction: column;
  border-left: 2px solid #FFF;
  box-sizing: border-box;
}

.main-container-cta .left p {
  font-size: 16px;
  line-height: 1.9em;
}

.main-container-cta .right .block-top,
.main-container-cta .right .block-bottom {
  height: 50%;
  display: flex;
  align-items: center;
  padding: 20px 50px;
  background-size: cover;
  background-position: center center;
}

.main-container-cta .right .block-top h3,
.main-container-cta .right .block-bottom h3 {
  color: #FFF;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 0;
  padding-bottom: 5px;

}

.main-container-cta .right .block-top p,
.main-container-cta .right .block-bottom p {
  font-size: 12px;
  color: #FFF;
  margin-bottom: 20px;
}

.main-container-cta .right .block-bottom {
  background-color: #F5AB28;
}

.main-container-cta .right .block-top {
  background-color: #064A92;
  color: #FFF;
  border-bottom: 2px solid #FFF;
  box-sizing: border-box;
}

.main-container-cta .action {
  display: flex;
  align-items: center;
}

.main-container-cta .action img {
  margin-right: 10px;
  height: 30px;
  width: auto;
}

.main-container-cta .action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  height: 30px;
  border: 2px solid #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #FFF;
  box-sizing: border-box;
}

/** didascalia realizzazioni **/
.realisations-details {
  display: table;
}

.realisations-details .realisation-element {
  display: table-row;

}

.realisation-element h3 {
  font-weight: 600;
  font-size: 14px !important;
  display: table-cell;
  padding-right: 30px;
  line-height: 1.9em;
}

.realisation-element p {
  display: table-cell;
  font-size: 14px !important;
  line-height: 1.9em;
}

/** galleria realizzazioni **/

#realisations-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#realisations-gallery .element-photo {
  aspect-ratio: 4/3;
  display: block;
  overflow: hidden;
  width: 33%;
  padding: 5px;
}

#realisations-gallery {
  display: flex;
  flex-wrap: wrap;
}

@media only screen and (max-width:992px) {
  #realisations-gallery .element-photo {
    width: 50%;
  }
}


@media only screen and (max-width:768px) {
  #realisations-gallery .element-photo {
    width: 100%;
  }
}


/** archivio realizzazioni **/
.archive-realisations-filters {
  display: flex;
  flex-wrap: wrap;
}

.archive-realisations-filters a {
  display: inline-flex;
  margin: 5px 10px 5px 0;
  text-transform: uppercase;
  font-size: 16px;
  color: #064a92;
  border: 1px solid #064a92;
  padding: 5px 10px;
  border-radius: 50px;
}

.archive-realisations-filters a.active {
  font-weight: 600;
  color: #FFF;
  background-color: #064a92;
}

.short-description-archive-realisations {
  padding: 30px 0;
  font-size: 16px;
  line-height: 1.9em;
}

.archive-realisations .the-block {
  background-size: cover;
  background-position: center;
  position: relative;
}

.archive-realisations {
  padding: 30px 0;
  display: flex;
  flex-wrap: wrap;
}

.archive-realisations .inner-block {
  width: 33.3%;
  padding: 5px;
  display: block;
}

.archive-realisations .the-block::after {
  padding-bottom: 100%;
  display: block;
  content: ' ';
}

.archive-realisations .floating-block {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: end;
  padding: 20px;
  z-index: 10;
}

.archive-realisations .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.4);
}

.archive-realisations .floating-block h3 {
  font-size: 18px;
  font-weight: 600;
  color: #FFF;
}

.archive-realisations .floating-block p {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: 0;
}

@media only screen and (max-width:992px) {
  .archive-realisations .inner-block {
    width: 50%;
  }
}

@media only screen and (max-width:768px) {
  .archive-realisations .inner-block {
    width: 100%;
  }
}