/*
 Theme Name:     Cube Child
 Theme URI:      http://flothemes.com
 Description:    Cube Child Theme
 Author:         Flothemes
 Author URI:     http://flothemes.com
 Template:       cube
*/

/* LAYOUT */
@media screen and (max-width: 768px){
  body.home{
    background-color: transparent !important;
  }
}
.flo-post p {
	margin-bottom: 1.35rem;
}
p a, .wedding-info a {
	text-decoration: underline;
}
.page-template-default .section-text-content__title, .page-template-default .flo-contact-block-1__page-title {
	margin-top: 2.5rem;
}


/* LOGO */
body:not(.home) .flo-header.flo-header--menu-right img, body:not(.home) .flo-header-mobile__logo img, body.home .flo-mobile-menu.flo-mobile-menu--visible img {
	display: none;
}
body:not(.home) .flo-header.flo-header--menu-right img:last-child, body:not(.home) .flo-header-mobile__logo img:last-child, body.home .flo-mobile-menu.flo-mobile-menu--visible img:last-child {
	display: block;
	position: relative;
	opacity: 1;
}
body:not(.home) .flo-header-mobile__logo img:last-child, body.home .flo-mobile-menu.flo-mobile-menu--visible img:last-child {
	top: 0;
	left: 0;
	transform: none;
}

/* LANGUAGE MENU */
#menu-top-1 .lang-item, 
#menu-top-eng-1 .lang-item {margin-top: -1px;}

#menu-top-1 .lang-item:last-child, 
#menu-top-eng-1 .lang-item:last-child {margin-left: 1rem;}

/* SLIDESHOW */
.flo-block-slideshow-1__arrow--prev, .flo-block-slideshow-1__arrow--next { 
	z-index: 999999;
}

/* HOME */
.home .flo-block-image-links__link-overlay{
	width: 100%;
}
.home .flo-listing-grid-3 {
	padding-bottom: 0px !important;
}
.home .flo-listing .flo-listing-grid-3__item:not(:nth-child(3n)) {
	margin-right: 3.124rem !important;
}
.home .flo-listing-grid-3 .flo-listing-grid-3__title {
	width: 100%;
}
.home .flo-listing-grid-3 .flo-listing-grid-3__date-and-category {
	width: 100%;
	text-align: left;
	text-transform: uppercase;
}
.home .flo-header-mobile {
	margin-top: 0rem;
}

/* ABOUT PAGE */
.flo-about-block__section {
	padding-bottom: 0px !important;
}
.flo-information-block__featured-item-block {
	margin-top: 0 !important;
}

/* GALLERY PAGE */
.gallery-template-default .flo-post-title-wrap {
	width: 100%;
}
.gallery-template-default .flo-post-title-wrap__left-wrap {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.gallery-template-default .flo-post-title-wrap__left-wrap .flo-post-title-wrap__title > span {
	display: block;
	font-size: 0.68em;
}
.gallery-template-default .flo-gallery-content h3 {
	margin-bottom: 1em;
}
.gallery-template-default .flo-section--portfolio-grid-images {
	margin-top: 2em;
}
.gallery-template-default .flo-portfolio-grid__thumbnail {
	pointer-events: none !important;
}
.wedding-info {
	padding-top: 4em;
}

/* CONTACTS PAGE */
.flo-contact-block-1__title-area {
	max-width: 37.563rem !important;
}
.flo-contact-block-1__text {
	padding-right: 2.375rem !important;
	margin-top: 3.75rem !important;
}
.flo-contact-block-1__contact-blocks {
	max-width: 15.5rem !important;  
}
.flo-contact-block-1__contact-block-content p {
	margin-bottom: 0.7rem !important;
}
.flo-contact-block-1__contact-block-content a {
	font-style: normal !important;
}
.flo-contact-block-1__form {
	margin-top: 3.563rem;
}
form label {
	font-size: 0.8rem !important;
}
.app-flo-forms .form-preview .form-group.required > label::after {
	font-size: 1.6rem !important;
}
.app-flo-forms .form-preview .form-group textarea {
	background-color: transparent !important;
}
.flo-contact-block-1 .flo-form__custom-form {
    max-width: 36.125rem !important;
}
.flo-response .success p {
	font-family: FogtwoNo5;
	font-size: 1.5rem !important;
	letter-spacing: 0em;
	word-spacing: 0em;
	line-height: 1.2em;
}
.fid_7307249 .field-wrap, .fid_9361875 .field-wrap {
	margin-top: -4px;
}
.fid_4502077 .list-row {
	width: 100%;
}
input[type]:not([type="submit"]) {
	font-size: 0.825rem !important;
    color: #181818 !important;
	line-height: 0 !important;
}
input[type="submit"] {
	font-family: FogtwoNo5;
	font-size: 0.75rem;
	letter-spacing: 0.25em;
	word-spacing: 0em;
	line-height: 1.45em;
	color: #181818;
	text-transform: none;
	font-weight: normal;
}

/* FOOTER */
.menu-bottom-eng-container,
.menu-bottom-ita-container {
	display: inline-block;
}

#menu-bottom-eng a,
#menu-bottom-ita a {
	padding-left: 0px;
	padding-right: 10px;
}

.flo-footer__flothemes-logo.flo-footer__copyrights-flo i {
	display: none;
}
.flo-footer__flothemes-logo.flo-footer__copyrights-flo {
	position: relative;
	display: inline-block;
	width: 41px;
	height: 70px;
	background-image: url(https://www.slowpicturestudio.it/wp-content/uploads/2019/10/logo_footer_nobg.png);
	background-size: contain;
	background-repeat: no-repeat;
}
.flo-footer-b__addons {
	padding-top: 50px;
}

/* MEDIA QUERY */
@media screen and (min-width: 768px) {
	.flo-header__logo-image--sticky, .flo-header__logo-image--light { 
		top: 10% !important;
	}
	.page-template-default .section-text-content__title, .page-template-default .flo-contact-block-1__page-title {
		margin-top: 0;
	}
	.flo-contact-block-1__contact-block:first-child {
		margin-bottom: 10.8rem !important;
	}
 	.flo-footer__flothemes-logo.flo-footer__copyrights-flo {
		top: 20px;
		margin-right: 1em;
	}
}

@media screen and (min-width: 1024px) {
	.gallery-template-default .gallery-left {
		width: 45%;
		float: left;
		margin-right: 5%;
	}
	.gallery-template-default .gallery-right {
		width: 45%;
		float: right;
		margin-left: 5%;
	}
}

@media screen and (min-width: 48em) {
	.flo-about-block__item-text {
		max-width: 60% !important;
	}
	.flo-about-block__text {
		max-width: none !important;
	}
	.flo-portfolio-grid__thumbnail:hover:after {
    	visibility: hidden !important;
	}
}