/*!
Theme Name: Sperling 2022
Theme URI: http://underscores.me/
Author: Fincons Group
Author URI: https://www.finconsgroup.com
Description: Description
Version: 1.2
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sperling-2022
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Sperling 2022 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Document
	 ========================================================================== */

/* FIXME: Da tenere ? */
.footer-nav.-primary li:nth-child(n+4) {
	display: list-item;
}

.video {
	width: 100%;
	height: auto;
	margin: 80px auto;
}

.dropdown.edition.active .dropdown-c a {
	color: #000;
}
/* necessario per visualizzare correttamente la paginazione numerata */
.libri-pagination .nav-links {
    display: flex;
}

/*CONTATTI*/
.container-contatti {
	position: relative;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 60px;
    padding-bottom: 130px;
    display: flex;
    flex-direction: column;
}
.container-contatti div.big {
	font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    text-align: left;
    color: #000;
}
.container-contatti h1.title60 {
	padding-left: 30px;
}
@media (max-width: 767px) {
	.container-contatti h1.title60 {
		padding-left: 20px;
	}
}
.container-contatti div.bordertop:before {
	height: 0px;
}
.container-contatti div.home-about {
	padding-top: unset;
}
/*CHI SIAMO*/
.container-about {
	position: relative;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 60px;
    padding-bottom: 130px;
    display: flex;
    flex-direction: column;
}
.container-about div.big {
	font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    text-align: left;
    color: #000;
}
.container-about h1.title60 {
	padding-left: 30px;
}
@media (max-width: 767px) {
	.container-about h1.title60 {
		padding-left: 20px;
	}
	.section-header-image {
	    margin: 20px auto -30px auto;
	    width: 35%;
	}
}
.container-about div.bordertop:before {
	height: 0px;
}
.container-about div.home-about {
	padding-top: unset;
}

.templatesearch-item-img {
    display: flex;
    justify-content: center;
}

.search-page .libri-pagination nav a {
	background-color: #ececec;    
}

.search-page .libri-pagination nav span {
	background-color: #000000;
	color: #ececec;
}

.search-page .libri-pagination span.page-numbers.current {
	margin-left: 10px;
}
#page-404 h1 {
	font-weight: 400;
	text-align: center;
}
.header {
	z-index: 10;
}


/* AMAU*/

#amau-request-form fieldset label{
	font-size: 20px;
	font-weight: bold;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.3;
	letter-spacing: normal;
	text-align: left;
	color: #000;
	margin-bottom:0px;
}
#amau-request-form fieldset label.error {
	font-size: 13px;
	margin-left: 0;
	line-height: 1.4;
	padding-top: 4px;
	color: #8a1f11;
	display: inline-block;
	margin-left: 1.5em;
}
span.amau-info {
	font-size: 20px !important;
	font-weight: 300;
	font-stretch: normal;
	font-style: normal !important;
	line-height: 1.3;
	letter-spacing: normal;
	text-align: left;
	color: #000;
	margin-bottom: 15px;
}
#authorName, #bookTitle, #bookIsbn {
	padding: 10px 20px;
	border-radius: 50px;
	background-color: #fff;
	border: none;
	font-size: 20px;
	color: #000;
	margin-top: auto;
}
@media (min-width: 1024px){
	#amau-starting-here .freetext {
		width: 100%;
		margin-left: 0px;
	}
}
#amau-starting-here .wizard {
	margin: 100px auto;
	max-width: 1525px;
}
.intro-text {
	font-size: 20px;
	font-weight: 300;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.3;
	letter-spacing: normal;
	text-align: left;
	color: #000;
	margin-bottom: 60px !important;
}
.wizard > .steps li.current a {
	text-shadow: none !important;
	padding: 24.5px 35px;
	color: #000;
	font-size: 30px;
	font-weight: bold;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.13;
	letter-spacing: normal;
	text-align: left;
	background: #fdcb50;
	cursor:pointer;
}
.wizard > .steps li.current a:hover,
.wizard > .steps li.done a:hover  {
	background-color:#fdcb50;
	color: #000;
}
.wizard > .steps li.disabled a,
.wizard > .steps li.done a  {
	text-shadow: none !important;
	padding: 24.5px 35px;
	color: #a5a5a5;
	font-size: 30px;
	font-weight: bold;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.13;
	letter-spacing: normal;
	text-align: left;
	background: rgb(236, 236, 236) ;
	cursor:pointer;
}
#authorBooksLoader span {
	font-size: 20px;
}
#amau-request-form fieldset  legend:first-child{
	height: 0px;
	padding: 0px !important;
	border: 0px;
	text-shadow: none;
	color: rgb(238, 238, 238);
}
#amau-request-form fieldset .full-left{
	margin-bottom: 60px ;
	padding-bottom: 60px;
	border-bottom: 1px solid #000;
}
#amau-request-form fieldset .left-33.mt-20{
	margin-top: 0px;
}
#amau-request-form fieldset select {
	margin-top:15px;
	font-size: 20px;
	font-weight: 300;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.3;
	letter-spacing: normal;
	text-align: left;
	color: #000;
	font-family: "Silka";
	background-image: none;
	appearance: auto;
	border-radius: 50px;
	width: auto;
	border: none;
}
#amau-request-form fieldset label.error {
	font-size: 18px;
	font-weight: normal;
}
#amau-done p {
	font-weight: 400 !important;
	font-size: 20px;
	font-family: 'Silka';
	margin-top: 20px;
}
a#amau-summary-print-button {
	border-radius: 40px !important;
	padding: 20px !important;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	border: 3px solid #bf3322;
}
#amau-request-form fieldset input[type=text], #amau-request-form fieldset input[type=number], #amau-request-form fieldset input.datepicker {
	padding: 10px 20px;
	border-radius: 50px;
	background-color: #fff;
	border: none;
	font-size: 20px;
	color: #000;
	border: none;
	line-height:normal;
}
#amau-request-form fieldset textarea {
	margin-top: 25px;
	width: 100%;
	padding: 20px;
	border-radius: 20px;
	background-color: #fff;
	border: none;
	font-size: 20px;
	color: #000;
	min-height: 280px;
	width:100%;
}
#amau-request-form fieldset #opac-link {
	margin-top: 50px !important;
}
#amau-request-form fieldset input[type=checkbox]{
	padding: 10px ;
	width: 0px !important;
	border-radius: 50px;
	background-color: #fff;
	border: none;
	font-size: 20px;
	color: #000;
	margin-left:15px;
}
#amau-request-form fieldset input[type=checkbox]:checked{
	padding: 6px !important;
	border: 4px solid white !important;
	width: 0px !important;
	border-radius: 50px;
	background-color: #000;
	border: none;
	font-size: 20px;
	color: #000;
	margin-left:15px;
}
#amau-request-form fieldset #opac-link .link{
	display: none;
}
#amau-request-form fieldset .amau-info{
	height:50px;
}
#amau-request-form fieldset  hr.sep{
	border-top: 1px solid #000 !important;
	margin-top: 60px !important;
	margin-bottom: 60px !important;
}
#amau-request-form fieldset  hr.sep + legend{
	display:block !important;
	color: #000 ;
	text-shadow: none;
	border-bottom: none;
	padding-bottom: 0px !important;
	font-family: "Silka";
	font-size: 20px;
	font-weight: bold;
}
#selected-items  {
	min-height: 240px !important;
	background-color: #fff !important;
	border: none;
	border-radius: 20px !important;
}
.wizard > .steps .number {
	font-size: unset !important;
}
.wizard > .content > .body{
	padding:60px !important;
}
#form-master-container, #user-data-container {
	background-color: #ececec  !important;
	padding: 60px !important;
	border: none !important;
}
#amau-request-form-p-1, #amau-request-form-p-2{
	padding:0px !important;
	position: unset !important;
}
#amau-request-form-p-1 .edition-header{
	margin-top: 0px !important;
}
.step2_container{
	border: none !important;
	margin-bottom:0px !important;
}
.step2_container select, .step2_container input, .step3_container select, .step3_container input {
	max-width: 100% !important;
	width:100% !important;
	margin-top: 15px !important;
	margin-bottom: 10px !important;
}
#amau-request-form-p-2 .outro-text, #amau-request-form-p-2 .asterisk, #amau-request-form-p-2 small{
	display:none;
}
#special_fields{
	border:none !important;
	padding: 0px !important;
}
#amau-request-form .actions{
	margin-top:25px;
}
#amau-request-form .actions ul li a{
	width: fit-content;
	padding: 14px 25px;
	background-color: #000;
	font-size: 20px;
	font-weight: normal;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.25;
	letter-spacing: normal;
	text-align: left;
	color: #fff;
	border-radius: 50px;
	margin-left: 45px ;
}
#amau-request-form .actions ul li:first-child a{
	background-color: #ececec !important;
	color: #000 !important;
}
#amau-request-form .actions ul li a:hover,
#amau-request-form .actions ul li:first-child a:hover{
	background-color: #fdcb50 !important;
}
.gfx-container-multi .gfx-choices li.search-choice {
	border-radius: 30px !important;
	padding: 15px !important;
}
.gfx-container-multi .gfx-choices li.search-choice span {
	vertical-align: middle;
}
.gfx-container-multi .gfx-choices li.search-choice span {
	font-family: "Silka";
	font-size: 20px !important;
}
.ebook-viewall {
	float: right;
	margin-bottom: 40px;
}

.dropdown.edition .p20 a {
	width: 100%;
}
.page-numbers.dots {
	background-color: unset;
}
.dropdown.product-main-about-con-priceselect.active .dropdown-c {
	max-height: 780px;
}

.thumb-post-image {
	overflow-y: hidden;
	max-height: 648px;
}
.newsletterpart {
	display: inline-block;
}

@media (min-width: 1348px) {
	.home-heroslider-item .title-book {
		font-size: 60px;
	}
	.home-heroslider-item .author {
		font-size: 50px;
	}
	.newsletterpart {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.newsletterpart .big {
		font-size: 40px;
		margin-bottom: 30px;
	}
}

div.defloater {
	clear: both;
}
a.btn.hasarrow.btn-showall {
	margin-top: 20px;
	float: right;
}
.templatesearch-item-img img {
	cursor: pointer;
}
.article-content img[class^='align'] {
	width: auto;
	margin: 0 40px 40px 0;
}
.article-content img.alignleft {
	float: left;
}
.article-content img.alignright {
	float: right;
}

.section-header-image {
	margin: 30px auto -20px auto;
}

/* Stile per il contenitore delle icone */
.icon-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px; /* Spazio tra le icone */
}

/* Stile per le icone */
.icon {
	width: 50px; /* Larghezza delle icone */
	height: 50px; /* Altezza delle icone */
	border-radius: 50%; /* Rende il contenitore rotondo */
	overflow: hidden; /* Nasconde l'eccesso dell'immagine fuori dal bordo */
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid #e2e2e2;
/*	flex: 0 0 50px;*/
}
.icon:hover {
	box-shadow: 0px 0px 10px 2px #015480;
	border-color: #01548085;
}
.icon a {
	border: 3px solid #fff;
}

/* Stile per le immagini all'interno delle icone */
.icon img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Assicura che l'immagine riempia il contenitore senza distorsioni */
	border-radius: 50%;
}

.swiper-slide-video,
.home-heroslider-item-video-container,
.home-heroslider-item-video {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.responsive-video {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
}

.responsive-video iframe,
.responsive-video img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.slide-img-large {
	margin: 0 auto;
}
#video-block {
	margin-top: 40px;
	position: relative;
	padding-bottom: 56.25%; /* Questo corrisponde a un rapporto 16:9 (9 / 16 = 0.5625) */
	height: 0;
	overflow: hidden;
	max-width: 100%; /* Questo garantisce che non superi la larghezza del contenitore */
	background: #000; /* Optional: per vedere il rettangolo prima che il video venga caricato */
}
#video-block iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.header.frassinelli {
	padding-top: 20px;
	padding-bottom: 20px;
}
.footer-top.frassinelli {
	padding-bottom: 40px;
}
.footer-top.frassinelli .footer-logo img {
	width: 260px;
}

@media (max-width: 767px) {
	.home-heroslider-item-content.hidden-item {
		display: none;
	}
}

@media (max-width: 849px) {
	.home-heroslider-item-video-container .home-heroslider-item-content {
		 padding: 60px 20px 40px 20px;
	}
	.home-heroslider-item-image, .home-heroslider-item-video {
		transform: translateY(60px);
		align-items: center;
		display: flex;
	}
	.swiper-slide-single .home-heroslider-item-image, .home-heroslider-item-video {
		transform: translateY(0px);
	}
}
@media (max-width: 949px) {
	.share.mobile-view {
		display: block;
	}
	.share.desktop-view {
		display: none;
	}
}
@media (min-width: 950px) {
	.share.mobile-view {
		display: none;
	}
	.share.desktop-view {
		display: block;
	}
}
