/*
	
Theme Name: Galleria Piero della Francesca - Child
Theme URI: https://www.appare.net
Author: Appare
Author URI: https://www.appare.net
Version: 2.3.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: galleria-piero-della-francesca-child
Template: galleria-piero-della-francesca

*/

.hidden {
	display: none;
}

.woocommerce .quantity .qty {
	display: none !important;
}

.displayGTM{
	display:none;
}

.only-mobile {
	display: none !important;
}

html[lang="en-US"] body > p:first-child {
	display: none;
}

.pum-open div.pum {
	display: block !important;
}

.pum-open div.pum .pum-container {
	display: block !important;
}

/* Font */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Playfair Display';
	color: #111;
}

p,span {
	font-family: 'Poppins';
}

p {
	font-weight: 300;
	line-height: 30px;
	font-size: 14px;
	text-align: justify;
}

p a {
	text-decoration: underline !important;
	color: #111 !important;
}

/* WPForms newsletter */
body .wpforms-container {
	margin: 0 !important;
}

form.wpforms-form {
	position: relative !important;
}

form.wpforms-form .wpforms-field-container .wpforms-field {
	padding: 0;
}

form.wpforms-form .wpforms-field-container .wpforms-field.wpforms-field-email {
	padding: 0 0 24px !important;
}

form.wpforms-form .wpforms-field-container .wpforms-field.wpforms-field-email input {
	color: #666666;
	background-color: #fafafa;
	border-color: #cccccc;
	border: 1px solid #ccc;
	border-radius: 0;
	padding: 10px 15px;
	box-sizing: border-box;
	max-width: 100%;
	font-weight: 400;
	text-transform: none;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.5;
}

form.wpforms-form .wpforms-field-container .wpforms-field.wpforms-field-email input:focus {
	box-shadow: none !important;
	border: 1px solid #ccc !important;
}

form.wpforms-form .wpforms-field-container .wpforms-field.wpforms-field-checkbox label {
	line-height: 1.3;
	font-size: 11px;
	display: inline-block;
	width: calc(100% - 30px);
	vertical-align: top;
	font-family: 'Poppins';
	color: #8c8c8c;
}

form.wpforms-form .wpforms-field-container .wpforms-field.wpforms-field-checkbox label a {
	text-decoration: underline !important;
	color: #111 !important;
}

form.wpforms-form .wpforms-field-container .wpforms-field-gdpr-checkbox {
	display: none !important;
}

form.wpforms-form .wpforms-submit-container {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0 !important;
}

form.wpforms-form .wpforms-submit-container button {
	background: #111 !important;
	font-family: 'Playfair Display' !important;
	font-weight: 300 !important;
	font-size: 14px !important;
	letter-spacing: 0.5px;
	transition: 0.4s !important;
	color: #ffffff !important;
	border: 1px solid transparent;
	border-radius: 0 !important;
	cursor: pointer !important;
	-webkit-appearance: button;
	padding: 10px 20px !important;
	height: 43px !important;
}

div.wpforms-container-full .wpforms-form .wpforms-submit-container .wpforms-submit-spinner {
	display: none !important;
}

div.wpforms-container-full .wpforms-form label.wpforms-error,
div.wpforms-container-full .wpforms-form em.wpforms-error {
	font-size: 13px !important;
	margin-top: 5px !important;
}

div.wpforms-container-full .wpforms-confirmation-container-full {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}

/* New page */

.page-id-3186 .entry-content,
.page-id-3195 .entry-content{
	padding: 80px 0px;
}

@media screen and (max-width: 991px) {

	.page-id-3186 .entry-content,
	.page-id-3195 .entry-content{
		padding: 0px 0px 40px;
	}
	
	.page-id-3186 .entry-content .elementor-column ,
	.page-id-3195 .entry-content .elementor-column {
		margin-bottom: 40px;
	}
	
	.page-id-3186 .entry-content .elementor-column h2,
	.page-id-3195 .entry-content .elementor-column h2{
		margin-bottom: 20px;
	}
	
}


.home-sections-nav .elementor-cta__bg-overlay {
	background-color: rgba(0,0,0,0.3);
}

.elementor-cta:hover .elementor-cta__bg-overlay {
	background-color: rgba(0,0,0,0.6);
}

.home-sections-nav h3 {
	font-size: 28px !important;
	margin-top: 20px;
}


/* Footer */


.legacy-link a,
.legacy-link a:visited {
	color: #a7a7a7;
}

.legacy-link a:hover {
	color: #fff;
}

.footer-menu li a {
	font-size: 14px;
	letter-spacing: 1px;
	color: #fff !important;
	font-weight: 300;
	font-family: 'Poppins';
	text-transform: uppercase;
}

.footer-menu ul {
	list-style: none;
	margin-left: 0px;
}

.footer-menu li {
	display: inline-block;
	margin-right: 4.25rem;
}

.footer-menu li:last-child {
	margin-right: 0px;
}

.footer-menu .wpml-ls-item {
	display: none;
}

.elementor-section-wrap .elementor-button {
	background-color: transparent;
}

#backtotop .elementor-button-text{
	font-family: 'Poppins';
	font-weight: 300;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 1px;
	cursor: pointer;
}

.filter-btn img {
	max-width: 20px;
	vertical-align: middle;
	margin-left: 10px;
}

.artist label {
	margin-left: -4px;
}

.elementor-icon-list-item .day {
	display: inline-block !important;
	min-width: 110px;
	font-style: italic;
	margin-left: 30px;
}

.bigger {
	font-weight: 500;
	color: #111;
}

.footer-text p {
	line-height: 23px;
}

.elementor-location-footer .wpml-ls-item-it  {
	display: none;
}

/* Header */

.elementor-widget-theme-site-logo div,
.elementor-widget-theme-site-logo a {
	width: 100%;
}

.elementor-nav-menu--main .elementor-nav-menu a,
.elementor-nav-menu--main .elementor-nav-menu a:visited {
	color: #111;
}

.minicart-button .eicon-cart-light:before {
	display: none !important;
}

.minicart-button .eicon-cart-light {
	width: 24px;
	height: 24px;
	background: url(https://www.galleriapierodellafrancesca.com/wp-content/uploads/2019/10/cart.svg);
	background-size: contain;
	background-position: center;
}

/* Global */

/* Slider artisti */

.header-page.slider-active {
	margin-bottom: 0;
}

.slider-container {
	margin-bottom: 60px;
	display: block !important;
}


span.copy {
	font-size: 18px;
	vertical-align: top;
	margin-top: -8px;
	display: inline-block;
}

.descrizione-artista a.read-more-btn {
	font-family: 'Playfair Display';
    display: table !important;
	width: auto !important;
	border-bottom: 1px solid #111;
}

.descrizione-artista a.btn {
	color: #fff !important;
	text-decoration: none;
	background-color: #111;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	
	margin-bottom: 30px;
}

.single_opera .descrizione-artista {
	float: left;
	width: 100%;
	text-align: center;
	margin-top: 50px;
}

.single_opera .descrizione-artista a.btn {
	float: none;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
}

.descrizione-artista p + [data-readmore-toggle], .descrizione-artista p[data-readmore] {
	color: #111 !important;
}

.inside-article {
	padding: 0px !important;
}

.site-main {
	margin: 0px !important;
}

/* Pulsanti */

.btn {
	font-family: 'Playfair Display';
	color: #111 !important;
	display: table;
	border-bottom: 1px solid;
}

/* Popup form opere */

.form-opere {
	padding: 10px;
    border: 1px solid #000;
    display: block !important;
    width: auto;
    white-space: nowrap;
	font-family: 'Playfair Display';
	max-width: 205px;
	text-align: center;
	cursor: pointer;
	margin-top: 30px;
}

.form-opere img {
	max-width: 25px;
	vertical-align: middle;
	
}

.popup-open .popup-form {
	display: flex !important;
}

.popup-form {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	top: 0;
	left: 0;
	align-items: center;
	justify-content: center;
	z-index: 999;
}

.popup-form .popup-form-wrap {
	background: #fff;
	width: 100%;
	max-width: 800px;
	padding: 40px;
	overflow-Y: scroll;
	max-height: 80%;
	position: relative;
}

.popup-form .popup-form-wrap h3 {
	font-size: 30px;
	margin-bottom: 0px;
}

.popup-form .close-btn {
	position: absolute;
	right: 20px;
	top: 20px;
	text-transform: uppercase;
	width: 20px;
	height: 20px;
	line-height: 20px;
	cursor: pointer;
	outline: none;
	box-shadow: none;
}

.popup-form .header-popup {
	border-bottom: 1px solid #111;
}

.popup-form .variable-name {
	display: block;
	padding: 30px 0px;
}

.popup-form .variable-name span {
	font-family: 'Playfair Display';
	font-size: 25px;
	display: block;
}

.popup-form .variable-name span.opera-name {
	font-size: 16px;
}

.popup-form input[type="text"],
.popup-form input[type="email"],
.popup-form input[type="tel"],
.popup-form textarea {
	background: none;
	border-color: #eaeaea;
	border-width: 0px 0px 1px;
	padding-left: 0;
	box-shadow: none;
	outline: none;
	color: #111;
	width: 100%;
}

.popup-form textarea {
	max-height: 120px;
}

.popup-form .wpcf7-form-control-wrap {
	margin-bottom: 15px;
	display: inline-block;
	width: 100%;
}

.popup-form .wpcf7-form-control-wrap:not(.messaggio) {
	width: 49%;
}

.popup-form .wpcf7-form-control-wrap.acceptance,
.popup-form .wpcf7-form-control-wrap.newsletter{
	width: 100%;
	font-size: 12px;
	margin-bottom: 0;
}

.popup-form .wpcf7-form-control-wrap.acceptance input,
.popup-form .wpcf7-form-control-wrap.newsletter input {
	display: inline-block;
	margin-right: 5px;
}

.popup-form .wpcf7-form-control-wrap[data-name="messaggio"],
.popup-form .wpcf7-form-control-wrap[data-name="acceptance"],
.popup-form .wpcf7-form-control-wrap[data-name="newsletter"]{
	width: 100%;
}

.popup-form span.wpcf7-list-item {
	margin-left: 0;
}

.popup-form input[type="submit"] {
	margin-top: 30px;
	float: right;
	background-color: #111;
}

.popup-form .nome-opera,
.popup-form .nome-artista {
	display: none;
}

.opera-title-name .artist-name {
	display: block;
	font-size: 20px;
	font-family: 'Playfair Display';
	text-transform: none;
}

@media screen and (max-width: 1024px) {
	
	.scroll-filter .category-filter {
		position: absolute;
		top: 0;
		flex-wrap: wrap;
		justify-content: center;
		display: flex;
		width: 100%;
		left: 0;
	}
	
	.scroll-filter .category-filter a {
		width: 51%;
		margin-bottom: 15px;
		text-align: center;
		margin-right: 0 !important;
	}
	
	.scroll-filter .category-filter a:after {
		display: none;
	}
	
	.scroll-filter .category-filter a.active {
		text-decoration: underline;
	}
	
	.page-template-template-artisti .reorder-desk {
		padding-top:  248px !important;
	}
	
	.reorder-desk {
		position: relative;
		padding-top:  120px;
		margin-top: 40px;
	}
	
	.popup-form {
		padding-top: 95px;
		height: calc(100% - 95px);
	}
	
	.popup-form .popup-form-wrap {
		max-width: 80%;
		padding: 20px;
	}
	
	.popup-form .wpcf7-form-control-wrap:not(.messaggio) {
		width: 100%;
	}
	
	.popup-form .close-btn {
		position: fixed;
		top: 105px;
		right: 17px;
		background-color: #fff;
		text-align: center;
		width: 40px;
		height: 40px;
		line-height: 40px;
		border: 1px solid #fff
	}
	
	.popup-form .wpcf7-response-output {
		margin-left: 0;
		margin-right: 0;
		padding: 0px;
	}
	
	.elementor-location-header .elementor-container .elementor-column:first-child {
		order: 2;
	}
	
	.elementor-location-header .elementor-container .elementor-column:nth-child(2) {
		order: 1;
	}
	
	.elementor-location-header .elementor-container .elementor-column:nth-child(3) {
		order: 3;
	}
}

/* Homepage */

.header-page .container {
	max-width: 1140px;
}

.container {
	max-width: 1208px;
	margin-left: auto;
	margin-right: auto;
}

.first-section {
	min-height: 600px;
	background: url('https://galleriapierodellafrancesca.com/wp-content/uploads/2019/10/Slide-1.jpg');
	background-size: cover;
	background-position: center;
	position: relative;
}

.first-section .claim {
	position: absolute;
	bottom: 40px;
	background: #f5f5f5;
	padding: 10px 20px;
	left: 50%;
	transform: translateX(-50%);
}

.first-section .claim h2 {
	margin-bottom: 0px;
	color: #111;
	font-size: 25px;
}

section:not(.elementor-section):not(.no-pd) {
	padding: 80px 0px;
}

.section-title {
	font-size: 28px;
	color: #111;
	text-align: center;
	position: relative;
}


.small-section {
	overflow: hidden;
	margin-top: 60px;
}

.artisti-container a {
	width: 100%;
	height: 100%;
	display: block;
	overflow: hidden;
}

.artista-wrapper {
	float: left;
	width: calc(25% - 20px);
	padding: 0px 10px;
	margin-bottom: 30px;
	height: 330px;
}

.artista-wrapper h4 {
	text-align: center;
	color: #111;
	font-size: 18px;
}

.owl-nav {
	display: block !important;;
}

body.home section.artisti-section {
	padding: 40px 0px 0px 0px !important;
}

/* Artista */

.archive {
	background-color: #fff;
}

.no-pd {
	padding: 0px !important;
}

.no-bd {
	border: none !important;
}

.no-mg {
	margin: 0px !important;
}

.header-page {
	background: #f5f5f5;
	padding: 30px 0px;
	margin-bottom: 60px;
}

.header-page h1 {
	margin-bottom: 0px;
	color: #111;
	font-size: 30px;
	text-align: center;
}

.single_opera {
	margin-bottom: 80px;
	overflow: hidden;
	width: 100%;
}

.note {
	margin-top: 30px;
}

.note span {
	display: block;
	margin-bottom: 5px;
}

.single_opera:not(:last-child) {
	border-bottom: 1px solid #eaeaea;
	padding-bottom: 80px;
}
.single_opera .opera-images {
	width: 60%;
	float: left;
}

.single_opera .opera-images ul {
	list-style: none;
	margin: 0px auto;
}

.single_opera .opera-images img {
	max-width: 100%;
	margin: 0 auto;
	display: block;
	width: 100%;
}

.single_opera .opera-info {
	float: left;
	width: 40%;
}

.single_opera .opera-info .info-wrapper {
	padding-left: 40px;
	padding-top: 40px;
}

.single_opera .opera-info .info-wrapper h3 {
	color: #111;
	font-size: 30px
}

.single_opera .opera-info .info-wrapper .opera-details {
	padding-left: 20px;
	color: #111;
	font-size: 16px;
}

.single_opera .opera-info .info-wrapper .opera-details .dimension {
	margin-bottom: 20px;
}

.single_opera .opera-info .info-wrapper .opera-details > div > span:not(#dimension_value) {
	font-style: italic;
	font-size: 16px;
	font-weight: 300;
	min-width: 150px;
	display: inline-block;
}

.single_opera .opera-info .info-wrapper .opera-details > div > span.details-tecnique {
	font-style: normal !important;
	font-weight: 400 !important;
}

.single_opera .close-lightbox,
.single_opera .lightbox {
	display: none;
}

.single_opera .lightbox .owl-stage-outer {
	width: 100%;
	height: 100%;
}

.opera-gallery .owl-nav button {
	background: #111 !important;
	margin: 2px 2px 0px 0px;
	width: 40px;
	height: 40px;
	position: relative;
}

#elementor-lightbox {
	display: none !important;
}

.opera-gallery .owl-nav button img,
.single_opera .lightbox .owl-nav button img {
	width: 20px;
	height: 20px;
	position: absolute;
	top: 50%;
	margin-left: -10px;
	margin-top: -10px;
	left: 50%;
}

.single_opera .lightbox {
	position: fixed;
	z-index: 999;
	width: calc(100% - 80px);
	height: calc(100% - 160px);
	top: 0;
	left: 0;
	background: #fff;
	padding: 80px 40px;
}

.single_opera .lightbox .owl-nav {
	position: fixed;
	bottom: 0;
}

.single_opera .lightbox .owl-nav button {
	background: #111 !important;
	margin: 2px 2px 0px 0px;
	width: 40px;
	height: 40px;
	position: relative;
}

.single_opera .close-lightbox {
	position: fixed;
	width: 40px;
	height: 40px;
	top: 38px;
	right: 40px;
	z-index: 999999;
	background: #111;
	color: #fff;
}

.single_opera .close-lightbox:after {
	content: '';
	height: 20px;
	width: 1px;
	background: #fff;
	position: absolute;
	transform: rotate(-45deg);
	left: 20px;
	top: 10px;
}

.single_opera .close-lightbox:before {
	content: '';
	height: 20px;
	width: 1px;
	background: #fff;
	position: absolute;
	transform: rotate(45deg);
	left: 20px;
	top: 10px;
}

.bio-wrapper {
	padding: 60px 0px;
	border-top: 1px solid #eaeaea;
	display: flex;
	align-content: center;
	align-items: center;
}

.bio-wrapper .thumb-artista {
	flex: 0 0 30%;
}

.bio-wrapper .thumb-artista img {
	width: 100%;
}

.bio-wrapper .descrizione-artista {
	flex: 0 0 60%;
	padding-left: 10%;
}

.bio-wrapper .descrizione-artista p {
	font-weight: 300;
	line-height: 30px;
	font-size: 14px;
	text-align: justify;
}

.opera-info a {
	margin-top: 30px;
}

.description .read-more {
	display: none;
}

.single_opera .opera-info .info-wrapper .opera-details .tecnique .details-tecnique {
	color: #111;
    font-size: 16px;
	font-style: normal;
	font-weight: 400;
	display: inline-block;
	width: calc(100% - 150px);
	vertical-align: top;
}

.status span {
	color: #111;
}

.status.red-status {
	color: #d80000;
}

.status.green-status {
	color: #5bbe40;
}

.status.yellow-status {
	color: #dce152;
}

.note.empty {
	display: none;
}

.opera-details .descrizione-artista {
	text-align: left;
	margin-top: 0px;
}

.opera-details .descrizione-artista .btn {
	margin-left: 0 !important;
	margin-top: 30px;
}

.opera-details .informazioni {
	display: table;
}

.opera-details .informazioni a {
	padding: 10px;
	border: 1px solid #000;
	display: table;
	width: 100%;
	white-space: nowrap;
}

@media screen and (max-width: 991px) {
	.opera-details .descrizione-artista .btn { 
		margin-left: auto !important;
	}
}



/* Mostre */

.mostre-passate .small-section .single-mostra:first-of-type,
.mostre-passate .small-section .year-label:first-of-type{
	display: none;
}

.year-label {
	margin-top: 50px;
	margin-bottom: 10px;
	color: #aaa;
	display: block;
}

.year-label:first-child {
	margin-top: 0px;
}

.mostre-passate .single-mostra  h3 {
	font-size: 18px;
}

.mostre-container .container {
	max-width: 800px;
}

.ultima-mostra {
	padding-bottom: 80px;
	margin-bottom: 80px;
	border-bottom: 1px solid #eaeaea;
}

.ultima-mostra .single-mostra {
	display: flex;
	align-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.ultima-mostra .single-mostra .thumb-mostra {
	flex: 0 0 100%;
}

.ultima-mostra .single-mostra .info-mostra {
	flex: 0 0 100%;
}

.ultima-mostra .single-mostra h3 {
	font-size: 30px;
	text-align: center;
}

.single-mostra h3 a {
	color: #111;
}

.ultima-mostra .data-mostra {
	font-style: italic;
	font-size: 14px;
	display: block;
	margin-bottom: 40px;
	text-align: center;
}

.info-mostra .btn {
	margin-left: auto;
	margin-right: auto;
	display: table;
}

.mostre-passate .single-mostra {
	
	padding: 0px 15px;
	margin-bottom: 20px;
}

.mostre-passate {
	text-align: center;
}

.mostre-passate h3 {
	margin-top: 0px;
	margin-bottom: 5px;
}

.mostre-passate .data-mostra {
	font-size: 14px;
	font-style: italic;
	color: #aaa;
	font-weight: 300;
}



/* Contact page */

.contact-icon svg {
	height: 40px;
}

.wpcf7-form br {
	display: none;
}

.inputs-wrapper .single-input {
	float: left;
	width: 50%;
	padding: 0px 10px;
	margin-bottom: 20px;
}

.inputs-wrapper input,
textarea{
	background: #fff;
}

.wpcf7-form label {
	display: block;
	margin-bottom: 5px;
}

.textarea-input {
	float: left;
	width: 100%;
	padding: 0px 10px;
}

.acceptance-wrapper {
	float: left;
	width: 100%;
	padding: 0px 10px;
	margin-top: 10px;
	margin-bottom: 20px;
}

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

.acceptance-wrapper .acceptance-text {
	font-size: 12px;
	display: inline-block;
	width: calc(100% - 30px);
	vertical-align: top;
}

.acceptance-wrapper .acceptance-text a {
	text-decoration: underline;
}

.submit-wrapper {
	float: left;
	width: 100%;
	padding: 0px 10px;
	text-align: right;
}

div.wpcf7 .ajax-loader {
	position: absolute;
	left: 0;
}

input[type="submit"] {
	background: #111;
	font-family: 'Playfair Display';
	font-weight: 300;
	font-size: 14px;
	letter-spacing: 0.5px;
	transition: 0.4s;
}

input[type="submit"]:disabled {
	opacity: 0.7;
}

.wpcf7-response-output {
	border: none !important;
	float: left;
	font-size: 14px;
	text-align: center;
	font-weight: 300;
	text-decoration: underline;
	width: 100%;
}

span.wpcf7-not-valid-tip {
	font-size: 11px;
}

.acceptance-wrapper .wpcf7-list-item {
	vertical-align: top;
}

.acceptance-wrapper input {
	vertical-align: top;
}

.newsletter-block {
	background: #f5f5f5;
}

.newsletter-block .container {
	display: flex;
	align-content: center;
	align-items: center;
}

.newsletter-block .heading {
	flex: 0 0 40%;
	padding-right: 80px;
}

.newsletter-block .heading p {
	margin-bottom: 0px;
	line-height: 20px;
}

.newsletter-block .form-newsletter {
	flex: 0 0 60%;
}

.newsletter-block .form-newsletter input[type="email"] {
	background: transparent;
	border-color: #000;
	color: #111;
	outline: none;
	height: 43px;
	line-height: 43px;
}

.newsletter-block .form-newsletter input[type="email"]::placeholder {
	font-family: 'Playfair Display';
	color: #111;
}

.informazioni a img {
	max-width: 25px;
	vertical-align: middle;
	margin-bottom: 3px;
}

.informazioni a {
	margin-top: 30px;
	display: block;
	color: #111;
	font-family: 'Playfair Display';
}


.subfooter-copy a {
	color: #fff !important;
}

#main a, 
#main a:visited,
.artist-page a,
.artist-page a:visited {
	color: #111;
}

.gallery-wrapper {
	list-style: none;
	overflow: hidden;
	padding: 30px 0px 0px;
	margin: 0px;
}

.gallery-wrapper li {
	float: left;
	width: calc(100% - 30px);
	padding: 0px 15px;
	margin-bottom: 40px;
}

.gallery-wrapper li a {
	margin-bottom: 10px;
	display: block;
	width: 100%;
	position: relative;
}

.gallery-wrapper li  span {
	display: block;
	min-height: 30px;
	font-size: 13px;
	font-style: italic;
}

.gallery-wrapper li a img {
	width: 100%;
	height: 100%;
}

.intro {
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 30px;
}

.hidden-desktop {
	display: none;
}

.artist-page .header-page h2 {
	text-align: center;
	margin-bottom: 10px;
}

.artist-page .header-page h1 {
	font-size: 25px;
}

.descrizione-artista a.btn {
	float: right;
	margin-top: 20px;
}

@media screen and (max-width: 767px) {
	
	.only-mobile {
		display: block !important;
	}
	
	.gallery-wrapper li {
		float: left;
		width: 100%;
		padding: 0px;
		margin-bottom: 40px;
	}
	
	.gallery-wrapper li a img {
		object-fit: none;
		width: 100%;
		height: 100%;
		position: relative;
	}
	
	.gallery-wrapper li a {
		height: auto;
	}
	
	body.home section.artisti-section {
		padding: 20px 0px 0px !important;
	}
	
	.single_opera:not(:last-child) {
		padding-bottom: 30px;
	}
	
	.single_opera {
		margin-bottom: 30px;
	}
	
	.bio-wrapper {
		padding-top: 30px;
	}
	
	.single_opera .descrizione-artista a.btn {
		margin-left: 0 !important;
	}

}

/* Dimensioni immagini opera */

.xxxsmall-opera {
	width:40%; 
	display:block; 
	margin-left:auto; 
	margin-right:auto;
}

.xxsmall-opera {
	width:45%; 
	display:block; 
	margin-left:auto; 
	margin-right:auto;
}

.xsmall-opera {
	width:53%; 
	display:block;
	margin-left:auto; 
	margin-right:auto;
}

.small-opera {
	width:60%; 
	display:block; 
	margin-left:auto; 
	margin-right:auto;
}

.medium-opera {
	width:65%; 
	display:block; 
	margin-left:auto; 
	margin-right:auto;
}

.large-opera {
	width:70%; 
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.xlarge-opera {
	width:75%;
	display:block;
	margin-left:auto; 
	margin-right:auto;
}

.xxlarge-opera {
	width:85%; 
	display:block; 
	margin-left:auto; 
	margin-right:auto;
}

.xxxlarge-opera {
	width:92%; 
	display:block; 
	margin-left:auto; 
	margin-right:auto;
}

/* Filter */

.filter-btn {
	position: fixed;
	width: 100%;
	bottom: 0;
	left: 0;
	color: #fff;
	background-color: #111;
	font-family: 'Playfair Display';
	padding: 10px;
	text-align: center;
	z-index: 3;
}

.filter-wrap {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999999;
	background-color: rgba(0,0,0,0.9);
	width: 100%;
	height: auto;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-align: center;
	display: none;
}

.filter-wrap.active {
	display: flex;
}

.filter-wrap .title {
	font-family: 'Playfair Display';
	font-size: 25px;
}

.filter-wrap .letters-wrap {
	padding: 20px;
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	justify-content: center;
}

.filter-wrap .letter {
	text-transform: uppercase;
	font-size: 20px;
	padding: 10px 15px;
	color: #fff !important;
}

.close-filter {
	position: absolute;
	top: 15px;
	right: 15px;
}

.scroll-filter {
	display: none;
}

.anchor {
    display: block;
    height: 110px;
    margin-top: -110px;
    visibility: hidden;
}


/* View on room */

.room-in {
	overflow: hidden;
}

.single-opera .single_opera:not(:last-child),
.single-product .single_opera:not(:last-child) {
	border: none;
	padding-bottom: 0;
}

.viewonroom {
	position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
	opacity: 0;
}

.room {
	position: absolute;
    width: 6578px;
    height: 1368px;
    top: 50%;
    left: 50%;
	margin-top: -684px;
    margin-left: -3289px;
    background: #dfdbd8 url(/wp-content/themes/galleria-piero-della-francesca-child/images/pavimento-cotto-p03.jpg) bottom center no-repeat;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    -ms-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.room-in .viewonroom {
	opacity: 1;
	z-index: 9999;
}

.viewonroom .artwork {
	position: absolute;
	width: 100%;
}

.viewonroom .artwork img {
	box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.viewonroom .close {
	position: absolute;
	right: 20px;
	top: 20px;
	background-color: #111;
	width: 40px;
	height: 40px;
	color: #fff;
	text-align: center;
	line-height: 40px;
	cursor: pointer;
}

.measurement-wrap {
	display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: box;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -o-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    height: 100%;
}

.measurement-wrap .measurement {
	opacity: 1;
    -ms-filter: none;
    filter: none;
	z-index: 1;
}

.measurement .measurement-mt {
    text-align: center;
    font-style: italic;
	color: #111;
	height: 18px;
}

.measurement .measurement-bar {
    height: 9px;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: box;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -o-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.measurement .measurement-line {
    width: 100%;
    height: 0;
    border-top: 1px solid #666;
}

#viewonroom_btn {
	background-color: #fff;
	color: #111;
	padding: 0;
	margin: 30px auto;
	text-align: center;
	display: table;
	cursor: pointer;
}

#viewonroom_btn img {
	max-width: 24px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 15px;
}

.elementor-menu-cart__product-remove:before {
	display: none !important;
}

.elementor-menu-cart__product-remove:after {
	transform: none !important;
	background: url(https://www.galleriapierodellafrancesca.com/wp-content/themes/galleria-piero-della-francesca-child/icons/global/trash.svg) !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	width: 16px !important;
	height: 16px !important;
	top: 0 !important;
	left: 0 !important;
}

.elementor-menu-cart__product-remove,
.elementor-menu-cart__product-remove:hover {
	border: none !important;
	border-radius: 0px !important;
}

.moredetails-btn {
	margin: 20px 0px;
	font-style: italic;
	font-family: 'Poppins';
	font-weight: 300;
}

ul.opera-gallery:not(.owl-carousel) li:not(:first-child) {
	display: none;
}

/**/
#custom_header > .elementor-container {
	justify-content: space-between;
}

@media screen and (max-width: 1024px) {
	#custom_header > .elementor-container {
		justify-content: unset;
	}	
}

@media screen and (max-width: 991px) {
	.scroll-filter[data-wpr-lazyrender] {
		content-visibility: visible;
	}
	
	.scroll-filter {
		display: block;
	}

	.single_opera .opera-info .info-wrapper .opera-details {
		padding-left: 0px;
	}
	
	.elementor-menu-toggle {
		margin-left: 0px !important;
		margin-right: 0 !important;
	}

	.elementor-location-header .elementor-row .elementor-widget-container {
		align-content: center;
		align-items: center;
	}

	.first-section .claim {
		width: 80%;	
	}

	.artista-wrapper {
		width: calc(50% - 30px);
		padding: 0px 15px;
		height: 420px;
	}

	.container {
		padding-left: 15px;
		padding-right: 15px;
	}

	.artista-wrapper h4 {
		font-size: 20px;
	}

	.single_opera .opera-images {
		float: none;
		width: 100%;
	}

	.single_opera .opera-info {
		width: 100%;
	}

	.single_opera .opera-info .info-wrapper {
		padding-left: 0px;
	}


	.newsletter-block .container {
		flex-wrap: wrap;
		display: block;
	}

	.newsletter-block .heading,
	.newsletter-block .form-newsletter {
		flex: 0 0 100%;
		padding: 0px;
	}

	.newsletter-block .form-newsletter {
		margin-top: 20px;
	}

	.newsletter-block .form-newsletter input[type="submit"] {
		margin-top:20px;
	}

	.bio-wrapper {
		display: block;
	}

	.bio-wrapper .descrizione-artista {
		padding: 0px;
		margin-top: 40px;
	}

	.inputs-wrapper .single-input,
	.textarea-input{
		width: 100%;
		float: none;
		padding: 0px;
	}

	.elementor-nav-menu__container {
		position: fixed;
		width: 100%;
		top: 53px;
		right: 0;
		z-index: 9999;
	}

	.acceptance-wrapper {
		padding: 0px;
		float: none;
		margin: 20px 0px;
	}
}

@media screen and (max-width: 767px) {
	.artista-wrapper {
		width: 70%; 
		padding: 0; 
		height: 100%; 
		float: none; 
		margin: 0 auto;
	}
	
	.small-section {
		margin-top: 20px;
	}
	
	.footer-menu ul {
		text-align: center;
	}
	
	.elementor-nav-menu--dropdown.elementor-nav-menu__container {
		top: 84px !important;
	}
	
	.artista-wrapper .artista-image img {
		width: 100%;
	}
	
	.footer-menu li {
		margin-right: 15px;
	}
	
	.footer-menu li:nth-child(5) {
		margin-right: 0px;
	}
	
	.footer-menu li a { 
		font-size: 12px;	
	}
	
	.legacy-link a {
		display: block;
	}
	
	.first-section {
		min-height: 90px;	
	}
	
	.elementor-nav-menu--dropdown .menu-item:not(.current-menu-item) a {
		color: #111 !important;
	}
	
	.hidden-mobile {
		display: none;
	}
	
	.hidden-desktop {
		display: block;
	}
	
	.slide-artisti .elementor-swiper-button {
		display: none;
	}
	
	.elementor-location-header {
		height: 95px;
	}
	
	.elementor-location-header .elementor-section-wrap{
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background: #fff;
		z-index: 9999;
	}
	
	#custom_header .elementor-row .menu-col {
		order: -1;
	}
	
	.filter-wrap {
		height: 100%;
	}
	
	.page-template-template-artisti .views {
		display: flex !important;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
		width: 100%;
		padding-top: 45px;
	}
	
	.page-template-template-artisti .views .title {
		color: #111;
		font-size: 16px;
		position: relative;
		font-weight: 600;
		flex: 0 0 100%;
		margin-bottom: 15px;
		text-align: center;
	}
	
	.page-template-template-artisti .views > div img {
		width: 18px;
		margin-right: 10px
	}
	
	.page-template-template-artisti .views > div {
		margin: 0 15px;
		display: flex;
		align-items: center;
		cursor: pointer;
	}
	
	.page-template-template-artisti .views > div span {
		font-weight: 600;
		font-size: 14px;
	}
	
	.page-template-template-artisti .views > div:not(.active) {
		opacity: .5;
	}
	
	.page-template-template-artisti.grid-active .artista-wrapper {
		max-width: 50%;
		flex: 0 0 50%;
		padding: 0 15px;
	}
	
	.page-template-template-artisti.grid-active .artisti-container {
		margin-left: -15px;
		margin-right: -15px;
		display: flex;
		flex-wrap: wrap;
	}
	
	.artista-wrapper h4 {
		font-size: 16px;
	}

	.header-page {
		padding: 15px 0px;
	}
	
	.header-page h1 {
		font-size: 24px;
	}
	
	.page-template-template-artisti .header-page,
	.page-template-template-art-contemporanei .header-page,
	.page-template-template-art-secolo .header-page {
		margin-top: 40px !important;
	}
}

.read-more-btn {
	cursor: pointer;
}

.read-more-btn span {
	color: #111;
	font-family: 'Playfair Display';
}

.bio-wrapper .descrizione-artista .art-p {
	max-height: 384px;
	overflow: hidden;
}

.bio-wrapper .read-more-btn .less,
.bio-wrapper .descrizione-artista.show .all{
	display: none;
}

.bio-wrapper .descrizione-artista.show .art-p {
	max-height: 100%;
}

.bio-wrapper .descrizione-artista.show .less {
	display: inline;
}

.descrizione-artista a.hidden {
	display: none !important;
}


.opera-details .description p.longdesc {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.opera-details .description p.longdesc.show {
	white-space: inherit;
}

.readmore-desc:after {
	content: 'Leggi tutto';
	cursor: pointer;
	font-family: 'Playfair Display';
	border-bottom: 1px solid #111;
	font-size: 16px;
}

.opera-details .description p.longdesc.show .readmore-desc:after {
	content: 'Chiudi';
}

html[lang="en-US"] .readmore-desc:after {
	content: 'Read more'
}

html[lang="en-US"]  .opera-details .description p.longdesc.show .readmore-desc:after {
	content: 'Close';
}

/* Filtri desktop */

@media screen and (min-width: 992px) {
	
	.elementor-location-footer .elementor-widget-wrap .elementor-section:first-child .elementor-row .elementor-column:first-child {
		width: 90%;
	}
	
	.home .reorder-desk .scroll-filter {
		display: none
	}
	
	.reorder-desk {
		display: flex;
		flex-wrap: wrap;
	}
	
	.reorder-desk .artisti-container {
		order: 1;
		flex: 0 0 100%;
	}
	
	.scroll-filter {
		display: block;
		flex: 0 0 100%;
	}
	
	.scroll-filter .filter-btn {
		display: none;
	}
	
	.scroll-filter .filter-wrap {
		display: block;
		position: relative;
		background-color: #fff;
		justify-content: flex-end;
		color: #222;
	}
	
	.scroll-filter .close-filter {
		display: none;
	}
	
	.scroll-filter .filter-wrap .letters-wrap .letter {
		color: #222 !important;
		font-size: 16px;
		padding: 0 8px;
		font-weight: 500;
	}
	
	.scroll-filter .filter-wrap .filter-content {
		display: flex;
		align-items: center;
		justify-content: center !important;
		justify-content: flex-end;
	}
	
	.scroll-filter .filter-wrap .filter-content .title {
		font-family: 'Poppins';
		font-size: 14px;
	}
	
	.artisti-container {
		display: flex;
		flex-wrap: wrap;
	}
	
	.artisti-container .artista-wrapper {
		float: none;
	}
	
	.page-template-template-artisti .filter-wrap {
		margin-top: 20px;
	}
	
	.page-template-template-artisti .artisti-container {
		margin-top: 0px;
	}
}

@media screen and (min-width: 992px) {

	.scroll-filter {
		display: flex;
		align-items: center;
	}
	
	.template-filtered .filter-wrap {
		margin-top: 40px;
	}
	
	.template-filtered  .artisti-container {
		   margin-top: 0;
	}
	
}

.scroll-filter .category-filter {
	display: flex;
	align-items: center;
	flex: 0 0 45%;
}

.scroll-filter .category-filter a {
	color: #111;
	font-size: 16px;
	position: relative;
	margin-right: 30px;
	font-weight: 600;
}

.scroll-filter .category-filter a:after {
	content:'';
	width: 0%;
	height: 1px;
	background-color: #111;
	position: absolute;
	bottom: 0;
	left: 0;
	transition: 0.4s;
}

.scroll-filter .category-filter a.active:after,
.scroll-filter .category-filter a:hover:after{
	width: 100%;
}

.scroll-filter .category-filter a:last-child {
	margin-right: 0;
}

/* Cart */

.woocommerce-cart #main.site-main,
.woocommerce-checkout #main.site-main,
.woocommerce-account #main.site-main {
	max-width: 1140px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 15px;
	padding-right: 15px;
}

.woocommerce-cart .woocommerce-message {
	display: none;
}

.woocommerce-cart .inside-article,
.woocommerce-checkout .inside-article,
.woocommerce-account .inside-article{
	background: transparent;
}

.subtotal-info,
.product-quantity {
	display: none !important;
}

#ship-to-different-address-checkbox {
	margin-right: 10px;
}

.woocommerce-MyAccount-navigation ul {
	margin-left: 0;
}

.woocommerce-cart section:not(.elementor-section):not(.no-pd),
.woocommerce-checkout section:not(.elementor-section):not(.no-pd),
.woocommerce-account section:not(.elementor-section):not(.no-pd) {
	padding: 0;
}


*, :after, :before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.price-block .price {
	font-size: 24px;
	font-weight: 500;
}

.price-block {
	margin-top: 30px;
}

.stock {
	display: none !important;
}

.buttons-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.buttons-wrap form.cart {
	flex: 0 0 35%;
	margin-right: 10px;
}

.buttons-wrap form.cart button[name="add-to-cart"],
.buttons-wrap form.cart button[name="add-to-cart"]:hover {
	color: #fff;
	font-weight: 500;
	border-radius: 0px;
	height: 46px;
	text-decoration: none;
	background-color: #111;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	width: 100%;
	text-transform: uppercase;
}

.buttons-wrap .form-opere {
	margin-top: 0;
	display: inline-flex !important;
	align-items: center;
	max-width: 100%;
	white-space: normal;
	flex: 0 0 60%;
}

.single-product .form-opere img {
	margin-right: 15px;
}

.single-product .form-opere span {
	display: block;
	white-space: nowrap;
	flex: 0 0 calc(100% - 40px);
}

.single-product .descrizione-artista a.btn {
	background: none;
	color: #111 !important;
	border: none;
	padding: 0;
	text-decoration: underline;
	font-size: 14px;
}

.woocommerce .woocommerce-breadcrumb {
	text-align: center;
	padding: 15px;
	margin-bottom: 0;
	background-color: #111;
	color: #fff;
	font-size: 12px;
}

.woocommerce .woocommerce-breadcrumb a {
	color: #fff !important;
}

.facetwp-slider-wrap {
	flex: 0 0 100%;
}

.facetwp-facet-pagination .facetwp-pager {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.facetwp-facet-pagination .facetwp-pager .facetwp-page {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #111;
}

.facetwp-facet-pagination .facetwp-pager .facetwp-page.active {
	background-color: #111;
	color: #fff !important;
	font-weight: 400 !important;
}

@media screen and (max-width: 991px) {
	.buttons-wrap .form-opere {
		flex: 0 0 100%;
	}
	
	.buttons-wrap form.cart {
		flex: 0 0 100%;
		margin-bottom: 20px;
	}
}

/* Popup */

#pum-12974 {
	z-index: 9999 !important;
}

.pum.pum-overlay {
	background-color: rgba(0,0,0,.5) !important;
}

.pum .pum-container {
	padding: 0 !important;
}

.pum .newsletterpopup .image {
	display: flex;
}

.pum .newsletterpopup .content {
	padding: 40px;
}

.pum .newsletterpopup .content h3 {
	margin-top: 0;
	font-size: 24px;
	margin-bottom: 10px;
}

.pum .newsletterpopup .content > p {
	text-align: left;
	color: #111;
	line-height: 1.7;
}

.pum .newsletterpopup .content .form-wrapper > p {
	position: relative;
	margin-bottom: 0;
}

.pum .newsletterpopup .content .form-wrapper .wpcf7-submit {
	position: absolute;
	right: 0;
	top: 0;
}

.pum .newsletterpopup .content .form-wrapper > p input[type="email"] {
	width: 100%;
}

.pum .newsletterpopup .content .acceptance-wrapper {
	padding: 0;
	margin: 0;
}

.pum .newsletterpopup .content .acceptance-wrapper {
	margin-top: 0;
	float: none;
}

.pum .newsletterpopup .content .acceptance-wrapper > p {
	margin-bottom: 0;
	display: flex;
	align-items: flex-start;
}

.pum .newsletterpopup .content .acceptance-wrapper .acceptance-text {
	line-height: 1.3;
	font-size: 11px;
}

.pum button.pum-close,
.pum button.pum-close:hover{
	background-color: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	right: 20px !important;
	text-transform: uppercase !important;
	letter-spacing: 1px;
	top: 20px !important;
	line-height: 1 !important;
}
