/*
Theme Name:   	Storefront Child Theme
Theme URI:    	https://github.com/stuartduff/storefront-child-theme
Author:       	Stuart Duff
Author URI:     http://stuartduff.com
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	1.0.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/
/*
 * Add your own custom css below this text.
 */

/* HOME */
h1.titulo {
  font-size: 46px !important;
  font-weight:700 !important;
  font-family:"Cormorant Garamond", sans-serif;
  padding-bottom:0 !important;
}

p.intro-libri{margin-top:15px !important;
font-size:14px !important;
font-family:"Source Sans 3", sans-serif !important;}

.container-primary-home p span{font-family:"Cormorant Garamond", Georgia, serif !important;
font-size:16px !important;}

.et-db #et-boc .et-l .et_pb_module a.bt-libri-home:not(.wc-forward){padding-bottom:5px !important;}

@media screen and (max-width:767px) {
	
	h1.titulo {
  		font-size: 36px !important;
	}
}

body, button, input, textarea {

    font-family: "Source Sans 3", Helvetica, Arial, sans-serif !important;
    line-height: 1.618 !important;
    text-rendering: optimizeLegibility !important;
    font-weight: 400 !important;
}


.menu-menu-new-container a{font-size:15px;}

.menu-menu-new-container a:hover{opacity:0.8;}

.et-db #et-boc .et-l .et_pb_module a:not(.wc-forward){padding-bottom:0 !important;}

.et-db #et-boc .et-l .et-pb-controllers a{width:10px !important;
height:10px !important;}


.container-title{ position: relative; /* Necessario per mantenere il contenuto posizionato correttamente */
    z-index: 1 !important; /* Garantisce che il contenuto resti sopra il colore di sfondo */
	background:#ededed !important;
}

.container-title::before {
    content: ''; /* Crea un elemento pseudo per il background */
    position: absolute; /* Posiziona l'elemento pseudo */
    top: 0;
      left: 50%; /* Centra lo pseudo-elemento */
    right: 50%; /* Centra lo pseudo-elemento */
    width: 100vw; /* Larghezza uguale alla viewport */
    height: 100%; /* Altezza del contenitore */
    bottom: 0;
    background-color: #ededed !important; /* Colore di sfondo esteso */
    z-index: -1 !important; /* Manda il background dietro il contenuto */
	transform: translateX(-50%); /* Corregge la posizione */
	
}

@media screen and (min-width:768px)
{  
	
	header .col-full {
		display: flex; /* Attiva Flexbox */
		justify-content: space-between; /* Distribuisce uniformemente */
	 	padding-bottom:10px !important;
		gap: 5px; /* Spazio tra i div (opzionale) */
	}

	 header .col-full > .site-branding,
	 header .col-full > .site-search {
		width:auto !important;
		margin-right:0 !important;
		flex: 1; /* Ogni colonna si adatta proporzionalmente */
	}

	 header .col-full > .secondary-navigation {
		width:auto !important;
		flex: 3; /* Occupa più spazio rispetto agli altri div */
		display: flex;
		align-items: center; /* Centra verticalmente i contenuti */
		justify-content: center; /* Centra il menu orizzontalmente */
		margin-right:0 !important;
		margin-bottom:0 !important;
	}
	
	
}

@media screen and (max-width:768px)
{
	#mysticky-nav.wrapfixed{position:relative !important;
	opacity:1 !important;
	background:#aec2b0 !important;}
	
	#mysticky-nav.wrapfixed .myfixed{background:#aec2b0 !important;}
	
	.search.active .site-search{width:98vw !important;}
}


.nolabel label,
.quform-label-1_7,
.quform-label-2_35{display:none;}
 
.quform-input-1_7 .quform-option-text{font-size:14px !important;}

.quform-input-1_7 .quform-option-text a{text-decoration:underline !important;}

.titolo-form-prenota h3{font-size:24px !important;
font-weight:bold;
line-height:120% !important;}

.titolo-form-prenota strong{font-size:21px;
line-height:120%;
color:#008080;}

.quform-popup-link .btn-success{
	width: 100%;
    text-align: center;
    font-size: 18px;
    background: #008080;
}

.quform-popup-link .btn-success:hover{
	
    background: #aec2b0;
}

@media screen and (min-width:768px)
{
.quform-fancybox-2-popup{width:580px !important;}
	.quform-fancybox-2-popup .fancybox-inner{width:550px !important;}
}


.link-contatti a{background: #555;
    border-radius: 5px;}

.link-contatti a:hover{background: #777;
    border-radius: 5px;}


.link-contatti ul li a{background: transparent !important;
    border-radius: 0 !important;}

.link-contatti span{background:transparent;}

@media screen and (max-width:767px)
{
	.link-contatti a{background:transparent !important;
	padding-left:5px !important;}
	.link-contatti span{background: #555;
    padding: 5px !important;
    margin-left: -5px;}
}

.quform, .quform * {
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

.quform-theme-light .quform-field-captcha, .quform-theme-light .quform-field-date, .quform-theme-light .quform-field-email, .quform-theme-light .quform-field-multiselect, .quform-theme-light .quform-field-password, .quform-theme-light .quform-field-select, .quform-theme-light .quform-field-text, .quform-theme-light .quform-field-textarea, .quform-theme-light .quform-field-time, .quform-theme-light .select2-container--quform .select2-selection, .quform-theme-light.quform-timepicker.k-list-container.k-popup {
    border: 2px solid #ddd !important;
    background-color: #fff !important;
    border-radius: 5px !important;
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, .1) !important;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .1) !important;
    color: #666 !important;
    -webkit-transition: color .1s ease-in-out !important;
    transition: color .1s ease-in-out !important;
}

.quform .quform-field-captcha, .quform .quform-field-date, .quform .quform-field-email, .quform .quform-field-file, .quform .quform-field-multiselect, .quform .quform-field-password, .quform .quform-field-select, .quform .quform-field-text, .quform .quform-field-textarea, .quform .quform-field-time, .quform .select2-container--quform .select2-selection {
    margin: 0 !important;
   min-width: 10px !important;
   max-width: 100% !important;
    width: 100% !important;
    padding: 8px !important;
    height: auto !important;
    line-height: 1.5 !important;
    /* font-size: 1em; */
    border: 1px solid #e3e3e3 !important;
}

.quform-spacer {
    padding: 0 0 10px 0 !important;
    margin: 0 0 5px 0 !important;
}


.quform-element-column, .quform-options-columns>.quform-option {

    padding: 0 10px !important;

}

.quform-option .quform-option-label {

    padding-left: 8px !important;
font-size:14px !important;
}

.quform-error>.quform-error-inner {
    padding: 3px 15px !important;
    margin: 4px !important;
    background-color: #f2dede !important;
    color: #b94a48 !important;
    border-left: 5px solid #c73412 !important;
    max-width: 100% !important;
}


.quform-loading.quform-loading-position-left, .quform-loading.quform-loading-position-over-button, .quform-loading.quform-loading-position-right {
   
    text-align: center !important;
    padding: 9px 6px !important;
    line-height: 0 !important;
    vertical-align: inherit !important;
}

.quform-loading-type-spinner-1 .quform-loading-spinner {
    position: relative !important;
    display: inline-block !important;
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    min-height: 21px !important;
    border: 3px solid #ededed !important;
    border-radius: 50% !important;
    -webkit-animation: qspinstyle .65s infinite linear !important;
    animation: qspinstyle .65s infinite linear !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}
.quform-loading-spinner {
    display: none;
    opacity: 0;
    -webkit-transition: opacity .6s ease-in-out !important;
    transition: opacity .6s ease-in-out !important;
}

.quform .form-text{font-size:14px;
line-height:125% !important;
background:#e1fbf9 !important;
padding:10px !important;
	margin-bottom:20px !important;
}

.quform .form-text.nobg{background:transparent !important;}


.quform .form-text.mtop15{margin-top:15px !important;}

.quform .form-text .quform-spacer{padding-bottom:0 !important;}

.quform textarea{min-height:250px !important;}

.quform-inner-2_35{margin-top:-15px !important;}

.quform-upload-button{background: #aec2b0 !important;
    padding: 10px !important;
    margin-bottom: 10px !important;
}

.quform-description{margin-top:8px !important;}

.container-form-preordine{background:#f0f0f0 !important;
padding:15px !important;}

.quform-success-message {
    background-color: #cef4a9 !important;
    border-left: 5px solid #85c14b !important;
    color: #000 !important;
    padding: 5px 15px !important;
    margin: 15px 0 10px 0 !important;
  }

.form-contatti-container .quform-success-message-has-icon .quform-success-message-content {
    padding-left: 24px !important;
}

.form-contatti-container .quform-success-message-icon{
	position:absolute !important;
	top:3px !important;
}