/*
 Theme Name: Etna Productions Child Theme
 Theme URI: https://www.aquadzign.com/
 Description: A Child Theme for Divi
 Author: Aqua IT Consulting
 Author URI: https://www.aquadzign.com/
 Template: Divi
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Add your custom styles below */

#page-container #main-header.et-fixed-header {
    -webkit-box-shadow: 0 0 7px rgba(0,0,0,0.1) !important;
    box-shadow: 0 0 7px rgba(0,0,0,0.1) !important;
}

#page-container { 
	overflow: hidden !important;
}

#page-container #main-header a {
	font-weight: 500 !important;
}

#page-container .light_hover .et_pb_text_inner h3 {
    background: transparent !important;
    padding: 10px;
	color: #fff !important;
	font-weight: 400 !important;
	text-shadow: 0em 0.1em 0.1em rgba(0,0,0,0.3)
}

#page-container .light_hover .et_pb_text_inner {
	padding: 0px 4px;
}

@media only screen and (max-width: 980px)  {
	.et_header_style_left #logo {
		max-width: 70% !important;
		width: 265px;
	}
}

/****************************/
.fg-pile-item:nth-child(2),
.fg-pile-item:nth-child(3),
.fg-pile-item:nth-child(4) {
	transform: none !important;	
}

.foogallery-stack-album .fg-pile-item {
    border: none;
    box-shadow: none;
    background-color: transparent;
	padding: 5px !important;
    
}

ul.fg-pile {
    padding: 0 !important;
}

.fg-item-inner:hover .light_hover .et_pb_text_inner h3 {
	opacity: 0 !important
}

.foogallery.fg-hover-external .fg-caption-inner:before, .foogallery.fg-hover-external .fg-image-overlay:before {
    background-image: url('./img/icons.svg#video-default-light') !important;
}


.foogallery-album-gallery-list .foogallery-pile .foogallery-pile-inner {
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.foogallery-album-gallery-list .foogallery-pile:before, 
.foogallery-album-gallery-list .foogallery-pile:after {
    display: none !important;
}

.foogallery-album-gallery-list .foogallery-pile h3 {
    background: rgba(247,144,65,0.6) !important;
}

.foogallery-album-gallery-list .foogallery-pile h3 {
    color: #fff !important;
	opacity: 1;
	padding: 10px;
    font-size: 19px;
    letter-spacing: 1px;
    font-weight: 400;
}

.foogallery-pile-inner h3 span {
    display: none !important;
}

.foogallery-album-gallery-list li {
    text-align: center;
}

@media only screen and (min-width: 900px) {
	.foogallery-album-gallery-list li {
		width: 25% !important;
		float: left
	}
}

@media only screen and (max-width: 899px) and (min-width: 480px)  {
	.foogallery-album-gallery-list li {
		width: 50% !important;
		float: left
	}
}

@media only screen and (max-width: 479px) {
	.foogallery-album-gallery-list li {
		width: 100% !important;
	}
}


/********************* STACKED ALBUM*****************************/
.fg-pile {
    position: relative !important;
    float: left !important;
}

.fg-piles {
    width: 100% !important;
    height: auto !important;
	display: block;
}

ul.fg-pile {
    display: flex !important;
    height: 400px !important;
    left: unset !important;
    overflow: hidden;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    top: unset !important;
}

@media only screen and (min-width: 900px)  {
	ul.fg-pile {
		width: 25% !important;
	}

}


@media only screen and (max-width: 899px) and (min-width: 480px)  {
	ul.fg-pile {
		width: 50% !important;
	}
	
	ul.fg-pile.fg-expanded {
		grid-template-columns: auto auto !important;
	}
}

@media only screen and (max-width: 479px) {
	ul.fg-pile {
		width: 100% !important;
	}
	
	ul.fg-pile.fg-expanded {
		grid-template-columns: auto !important;
	}
}

ul.fg-pile.fg-expanded {
    overflow: visible;
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto auto auto;
    width: 100% !important;
    height: auto !important;
    z-index: 9999;
}

.fg-pile.fg-hidden {
	display: none !important
}

ul.fg-pile.fg-expanded .fg-pile-item {
    left: unset !important;
    overflow: hidden;
    top: unset !important;
}

.fg-pile-item {
    position: relative !important;
    width: 100% !important;
    height: 400px !important
}

.fg-pile-item-image {
    height: 400px !important;
}

.fg-pile-cover-count {
    display: none;
}

.fg-pile-cover {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    top: unset;
	bottom: 10px;
}

.fg-pile-cover-content {
    width: 93%;
}

.fg-pile-item-caption {
	display: none;
}

#home_showcase .fg-header-title {
	display:none !important;
}

#home_showcase .fg-has-active .fg-header {
	opacity: 1;
	height: auto;
}

#home_showcase .fg-header {
    height: 0;
    opacity: 0;
}

#home_showcase .fg-header-back {
    background: #F79041;
	color: #fff;
}