/*
Theme Name: Divi Child
Theme URI: https://example.com/divi-child/
Description: Divi Child Theme
Author: webcoop
Author URI: https://webcoop.cat
Template: Divi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
.owl-carousel{
  max-width: 100vw;
  overflow: hidden;
}
.owl-carousel .owl-nav button.owl-next{
	position: absolute;
	right: 0;
}
.owl-carousel .owl-nav span{
	font-size: 70px
}

.owl-nav{
	position: absolute;
	z-index: 10;
	width: 100%;
	bottom: 50px;
	text-align: center;
  	margin: 0 auto;
	height: 50px;
	pointer-events: no;

}

.owl-dots {
  text-align: center;
  padding-top: 5px;
	padding-bottom: 0px;
	background: #F8DD19;
	position: absolute;
	width: 100%;
	bottom: 0;
	height: 50px;
}
.owl-dots button.owl-dot {
  width: 12%;
  height: 16px;
  display: inline-block;
  background: #fff;
  margin: 0 5px;
  border-radius: 2px;
	max-width: 250px;
}
.owl-dots button.owl-dot.active {
  background-color: #232324;
}
.owl-dots button.owl-dot:focus {
  outline: none;
}
.owl-carousel .owl-nav button.owl-prev{
	position: absolute;
	left: calc((100vw - 1280px) / 2);
}
.owl-carousel .owl-nav button.owl-prev span{
	content: 'ANTERIOR';
}
.owl-carousel .owl-nav button.owl-next{
	position: absolute;
	right: calc((100vw - 1280px) / 2);
}
.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next{
	pointer-events: all;
	font-family: 'ttnorms-bold';
	margin-top: 8px;
	top: 50px;
}

#section-slider.et_pb_section {
	padding-top: 0!important;
	padding-bottom: 0!important;
}
#section-slider .owl-stage .owl-item{
	padding: 24px 0 74px 0;
}
#section-slider .owl-stage .owl-item:nth-child(4n) {
	background-color: #00cddd!important;
}
#section-slider .owl-stage .owl-item:nth-child(4n + 2) {
	background-color: #ffe000!important;
}

#section-slider .owl-stage .owl-item:nth-child(4n + 1) {
	background-color: #e24457!important;
}

#section-slider .owl-stage .owl-item:nth-child(4n + 3) {
	background-color: #b7d33e!important;
}

.dv-masonry {
  display: flex;  
  flex-wrap: wrap;
}

.dv-masonry .et_pb_row{  
  flex-grow: 1;
  /* width: calc(100vw / 3)!important; */
  width: 33vw!important;
  height: 25vw;
	padding: 0;
}


.dv-masonry .et_pb_image_wrap {
  width: 100% !important;
  height: 25vw !important;
}

.dv-masonry .et_pb_image img {
  height: 25vw !important;
  width: 100% !important;
	max-width: 100%;
  object-fit: cover;
}



.gallery-img-container{
	position: relative;
	
	
}

.gallery-img-container:hover .et_pb_column{
	 /* transform: rotateY(180deg); */
}

.gallery-img-container .et_pb_text {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 25vw;
	background: #E24457;
	
	opacity: 0;
	padding-left: 2rem;
	padding-right: 2rem;
	text-align: center;
	color: #fff!important;	  
	transition: .5s;
	
}

.dv-masonry .et_pb_row.gallery-img-container:nth-child(5n+1) .et_pb_text {
	background-color: #7A405C!important;
}
.dv-masonry .et_pb_row.gallery-img-container:nth-child(5n+2) .et_pb_text {
	background-color: #E24457!important;
}
.dv-masonry .et_pb_row.gallery-img-container:nth-child(5n+3) .et_pb_text {
	background-color: #FFE000!important;
	color: #000!important;
}
.dv-masonry .et_pb_row.gallery-img-container:nth-child(5n+4) .et_pb_text {
	background-color: #B7D33E!important;
}
.dv-masonry .et_pb_row.gallery-img-container:nth-child(5n) .et_pb_text {
	background-color: #00C2DD!important;
}


.gallery-hover-text{
	font-size: 20px;
}
.gallery-hover-text2{
	font-size: 16px;
}
.gallery-hover-title{
	font-size: 28px;
	font-family: 'ttnorms-bold';
	font-weight: bold;
	text-transform: uppercase;
	margin-top: 30px;
}
.gallery-img-container .et_pb_text .et_pb_text_inner{
  position: relative;
  top: 50%;	
  transform: translateY(-50%);
}
.gallery-img-container:hover .et_pb_text {	
	opacity: 1;	
}


.mt-auto {
    margin-top: auto;
}
.masonry .grid__tag {
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  border-radius: 5px;
  padding: 5px 15px;
  margin-bottom: 5px;
}
@media only screen and (max-width: 600px) {
  .owl-nav {
    display: none;
  }
  .dv-masonry .et_pb_row{  
    flex-grow: 1;
    width: 100vw!important;
    height: 45vh;
	padding: 0;
  }

	.dv-masonry .et_pb_image_wrap {
	  height: 45vh !important;
	}

	.dv-masonry .et_pb_image img {
	  height: 45vh !important;
	}
	.gallery-img-container .et_pb_text{
		height: 45vh !important;
	}
	.gallery-hover-text {
    	font-size: 19px;
    	line-height: 22px;
	}	
	.gallery-hover-title{
	  margin-top: 20px;
	}
}
