/*
Theme Name: Andrea Fondelli (Child)
Theme URI: https://www.appare.net
Author: Appare
Author URI: https://www.appare.net
Version: 2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: andreafondelli-child
Template: andreafondelli

*/

.sb_instagram_header {
	display: none !important;
}

/* Loading */

#wptime-plugin-preloader svg {
	position: absolute;
	z-index: 9999;
	top: 50%;
	left: 50%;
	width: 260px;
	height: 200px;
	margin-left: -50px;
	margin-top: -50px;
}

#wptime-plugin-preloader {
	background: #fff !important;
	width: 100%;
	height: 100%;
}

#wptime-plugin-preloader {
	background-image: none !important;
}


#wptime-plugin-preloader svg text{
  	font-size: 150px;
	font-family: "ivymode",sans-serif;
}

/* Body */

.no-cover-img .gallery-icon img {
	width: 100%;
	height: 100%;
}


.no-cover-img .owl-dots {
	bottom: 30px;
	width: 800px;
    text-align: center;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.no-cover-img .owl-nav {
	margin-top: -30px;
}

body,
.gallery-lightbox-progetti .elementor-column-wrap {
	background-color: #f5f5f5 !important; 
}

#header_site {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
}

#header_site img {
	width: 100%;
	max-width: 150px;
}

body.single-progetti .not-in-home {
	display: none;
}

body:not(.single-progetti) .elementor-widget-theme-site-logo {
	display: none;
}

.not-in-home {
	margin: 0px !important;
}

body:not(.single-progetti) #header_site{
	position: relative;
}

body:not(.single-progetti) .elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item{
	color: #111 !important;
}

body:not(.single-progetti) .elementor-menu-toggle{
	color: #111 !important;
}

/* Homepage */
.site-content {
	padding: 0px !important;
}

.owl-dots {
    counter-reset: dots;
}

.owl-dot:before {
    counter-increment:dots;
    content: counter(dots);
}

.owl-nav {
	position: relative;
	max-width: 1200px;
	margin: -20px auto 0;
}

.gallery-carousel .owl-item .gallery-item .gallery-caption {
	position: absolute;
	bottom: 60px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 6px;
	font-size: 11px;
	line-height: 30px;
	width: 100%;
	opacity: 0.6;
}

.owl-nav .owl-prev,
.owl-nav .owl-next {
	display: inline-block;
	max-width: 60px;
	position: absolute;
}

.owl-dots {
	position: absolute;
	width: 100%;
	text-align: center;
	bottom: 25px;
}

.owl-dots .owl-dot {
	display: inline-block;
	margin: 0px 10px;
	font-size: 12px;
	position: relative;
	color: #aaa;
}

.owl-dots .owl-dot.active {
	color: #fff;
}

.owl-nav .owl-prev {
	left: 0;
	bottom: 0;
	z-index: 999;
}

.owl-nav .owl-next {
	right: 0;
	bottom: 0;
	z-index: 999;
}

.script-carousel .elementor-element,
script-carousel .elementor-widget-html {
	margin: 0px !important; 
}

.full-height-gallery .gallery-icon {
	height: 100vh;
}

gallery-carousel:not(.no-cover-img) .gallery-icon img {
	object-fit: cover;
	width: 100% !important;
  	height: 100% !important;
}

.elementor-widget-theme-site-logo img {
	position: relative;
	z-index: 1234;
}

@media screen and (min-width: 1025px) {
	.elementor-location-header .elementor-nav-menu--main .elementor-nav-menu .menu-item a {
		padding: 0 15px;
	}
	
	.elementor-location-header .elementor-nav-menu--main .elementor-nav-menu .menu-item.ig-icon a {
		padding-right: 10px;
		border-right: 1px solid #d5d5d5;
	}
	
	.elementor-location-header .elementor-nav-menu--main .elementor-nav-menu .wpml-ls-item a {
		padding-left: 10px;
	}
	
	.elementor-location-header .elementor-nav-menu--main .elementor-nav-menu .ig-icon a:after {
		background-image: url(https://www.andreafondelli.com/wp-content/uploads/2019/06/instagram.svg);
	}
}

html body .elementor-location-header .elementor-column .elementor-widget-wrap .elementor-widget-nav-menu .elementor-widget-container nav ul li.social-icon a {
	color: transparent !important;
}

.elementor-location-header .elementor-nav-menu .social-icon a:after {
	content: '';
	display: inline-block;
	background-color: transparent !Important;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 16px;
	width: 16px;
	height: 16px;
	opacity: 1 !important;
}

@media screen and (max-width: 1024px) {
	.elementor-location-header .elementor-nav-menu .social-icon a:after {
		background-image: url(https://www.andreafondelli.com/wp-content/uploads/2019/06/instagram-white.svg);
	}
}

/* Header mobile */

#loading_section {
	height: 0px;
	display: block;
}

#loading_section .elementor-column-wrap {
	padding: 0px;
}

.script_carousel {
	margin: 0px !important;
}

@media screen and (max-width: 1024px) {
	#header_site,
	#menu_mobile {
		display: inline-block;
		max-width: 50%;
		width: 48%;
	}
	
	#menu_mobile {
		text-align: right;
		position: absolute;
		z-index: 9;
		right: 0;
		top: 15px;
	}
	
	#menu_mobile .elementor-menu-toggle {
		background: transparent !important;
	}
	
	#menu_mobile .elementor-nav-menu--dropdown {
		position: fixed;
		left: 0;
		top: 0;
		width: 60%;
		margin-top: 0px !important;
		background: #111;
		height: 100%;
		z-index: 99999;
		padding: 110px 0px;
		box-shadow: 0px 0px 4px rgba(0,0,0,0.2);
	}
	
	#menu_mobile .elementor-nav-menu--dropdown ul li a {
		font-size: 14px;
		text-transform: uppercase;
		letter-spacing: 4px;
		font-weight: 300;
		color: #fff;
	}
}

/* Griglia progetti */

.latest-wedding {
	overflow: hidden;
}

.single-wedding {
	float: left;
	width: 33%;
	position: relative;
	overflow: hidden;
	padding: 5px;
	min-height: 280px;
}

.single-wedding .wedding-thumb {
	display: flex;
}

.latest-wedding .elementor-post__text {
	position: absolute;
	left: 30px;
	width: calc(100% - 60px) !important;
	height: calc(100% - 80px);
	background: #fff;
	padding: 42px 30px;
	display: block;
	transform: translate(-0%,0);
    bottom: 100%;
    top: auto;
    transition: transform 1s,bottom 1s;
    transition-timing-function: cubic-bezier(0.25,0.46,10.45,0.94);
    text-align: center;
}

.latest-wedding .single-wedding:hover .elementor-post__text,
.latest-wedding .elementor-post:hover .elementor-post__text {
	transform: translate(0%,-50px);
    bottom: 0;
}

.latest-wedding .elementor-grid-item {
	position: relative;
}

.latest-wedding .location-text {
	text-transform: uppercase;
    color: #111;
    letter-spacing: 2px;
    font-size: 12px;
}

.latest-wedding h3 a{
	color: #111;
    font-family: "ivymode", -serif;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    display: block;
    margin: 0 auto;
}

.latest-wedding .elementor-post-date {
	font-family: 'Lato';
	text-transform: uppercase;
	letter-spacing: 4px;
	font-size: 8px;
}

.latest-wedding .elementor-post__read-more {
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #111;
	display: table;
	font-size: 12px;
	border-bottom: 1px solid #111;
	margin: 10px auto 0px;
}

.restrict-text {
    max-width: 66%;
    margin-left: auto;
    margin-right: auto;
}

/* Singolo progetto */

.featured-image IMG {
	width: 100%;
}

/* Archivio matrimoni */

.archive-matrimoni .elementor-post__thumbnail__link {
	margin-bottom: 15px !important;
}

/* Pagina contatti */

.inputs-block input,
.inputs-block textarea {
	background: transparent;
	width: 100%;
	margin-bottom: 20px;
	border-width: 0px 0px 1px 0px;
	border-color: #fff;
	padding: 0px 0px 15px;
	color: #fff;
	opacity: 1;
}

.inputs-block input:focus,
.inputs-block input:active,
.inputs-block textarea:focus,
.inputs-block textarea:active {
	background: transparent;
	outline: none;
	box-shadow: none;
	color: #fff;
}

.inputs-block textarea {
	height: 100px;
}

.inputs-block input::placeholder,
.inputs-block textarea::placeholder {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.acceptance-wrapper span {
	display: inline-block;
	font-size: 11px;
	color: #fff;
	vertical-align: top;
}

.acceptance-wrapper span a,
.acceptance-wrapper span a:hover {
	color: #fff;
	text-decoration: underline;
}

.acceptance-wrapper .wpcf7-list-item {
	margin-left: 0px;
}

.acceptance-wrapper .acceptance {
	width: 20px;
	height: 20px;
	vertical-align: top;
}

.acceptance-wrapper span:last-child {
	width: calc(100% - 40px);
}

.wpcf7-form .wpcf7-submit {
	background: transparent;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 13px;
	float: right;
	margin-top: 20px;
	padding: 0px;
	border-bottom: 1px solid #fff;
}

.wpcf7-form .wpcf7-submit:hover {
	background: transparent;
}

div.wpcf7-response-output {
	border-color: #fff !important;
	border-width: 0px;
	padding: 0px;
	font-size: 12px;
	color: #fff;
	text-align: center;
	margin-top: 50px;
	text-decoration: underline;
}

span.wpcf7-not-valid-tip {
	color: #fff;
	font-size: 12px;
	position: absolute;
	top: -20px;
	width: 100%;
	left: 0;
}

#footer-custom a,
.subfooter-en a {
	color: #fff;
	text-decoration: underline !important;
}

.single-progetti #footer-custom,
.single-progetti .subfooter-en {
	margin-top: 60px;
}

.subfooter-en,
html[lang="en-US"] #footer-custom {
	display: none;
}

html[lang="en-US"] .subfooter-en {
	display: block;
}

/* Area privata */

.post-password-required {
	text-align: center;
	min-height: 650px;
}

.post-password-required form {
	margin-top: 120px;
}

.post-password-required form p {
	color: #111;
	letter-spacing: 1px;
	font-weight: 300;
}

.post-password-required form input {
	background: transparent;
	outline: none;
	box-shadow: none;
}

.post-password-required form input[type="submit"] {
	color: #fff;
	background: #111;
}

/* FAQ */

.faq_accordion .elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-left {
	float: none;
	display: inline-block;
	vertical-align: middle;
}

.faq_accordion .elementor-tab-title a {
	display: inline-block;
	vertical-align: middle;
	width: calc(100% - 50px);
}

.elementor-accordion-icon-closed:before {
	content: '+' !important;
	font-size: 22px !important;
}

.elementor-accordion-icon-opened:before {
	content: '-' !important;
	font-size: 22px !important;
}

.elementor-accordion-icon-opened i:before,
.elementor-accordion-icon-closed i:before {
	display: none !important;
}

/* Responsive */

@media screen and (min-width: 1650px) {
	.full-height-desktop {
		height: calc(100vh - 100px) !important;
		padding-bottom: 0px !important;
	}
	
	.full-height-desktop:not(.not-full-height-content) .elementor-container {
		height: calc(100vh - 100px) !important;
	}
}

@media screen and (max-width: 1200px) {
	.owl-nav {
		padding-left: 10px;
		padding-right: 10px;
		width: 100%;
	}
	
	.owl-nav .owl-prev {
		left: 15px;
	}
	
	.owl-nav .owl-next {
		right: 15px;
	}
}

@media screen and (max-width: 1024px) {
	
	.restrict-text {
		max-width: 100%;
	}
	
	.single-wedding {
		width: 100%;
		margin-bottom: 30px;
		padding: 0px;
		min-height: auto;
	}
	
	.latest-wedding .elementor-grid-item .elementor-post__text {
		background: none;
	}
	
	.latest-wedding .elementor-grid-item:hover .elementor-post__text {
		transform: translate(0%,0%);
	}
	
	.latest-wedding .elementor-post__text {
		position: relative;
		bottom: 0;
		width: 100% !important;
		height: 100%;
		padding: 40px 20px;
		left: 0;
	}
	
	.elementor-posts--skin-classic .elementor-post {
		margin-bottom: 30px;
	}
	
	#header_site .elementor-col-33 {
		width: 100%;
	}
	
	.elementor-grid-item.progetti {
		margin-bottom: 40px !important;
	}
	
	.owl-dots {
		display: none;
	}
	
	.gallery-icon {
		height: auto;
	}
	
	.gallery-carousel .owl-item .gallery-item .gallery-caption {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	#header_site img {
		max-width: 100px;
	}
	
	.full-height-gallery .gallery-icon {
		height: 100%;
	}
	
	.dialog-type-lightbox {
		display: none !important;
	}
}