/*
Theme Name: Template LSD
Theme URI: http://underscores.me/
Author: Stefano Bologna
Author URI: http://www.stefanobologna.com
Description: Template originale per Libri Senza Data v1.0
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: template-lsd
Tags:

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.

Template LSD is based on Underscores http://underscores.me/, (C) 2012-2015 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 http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links 
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries

# MIO CSS
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.grecaptcha-badge {
	visibility:hidden !important;
	display: none !important;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
.navbar-toggle {
	margin-right: 16px;
	margin-top: 16px;
}

.navbar > .container-fluid .navbar-brand {
	display: block;
	float: none;
	margin-left: 8px;
}

.navbar > .container-fluid .navbar-brand img {
	display: block;
	width: 100px;
	height: auto;
	vertical-align: top;
}
@media screen and (min-width: 768px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
	.navbar > .container-fluid .navbar-brand img {
		width: 214px;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	/*border-radius: 3px;*/
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*
 * Global add-ons
 */

.sub-header {
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
	border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
	display: none;
}
@media (min-width: 768px) {
	.sidebar {
		position: fixed;
		top: 145px;
		bottom: 0px;
		left: 0;
		z-index: 1000;
		display: block;
		padding: 0 20px;
		background-color: #fff;
		text-align: right;
		overflow: visible;
		/*border-bottom: 60px solid #fff;*/
	}
}

/* Sidebar navigation */
.nav-sidebar {
	margin-right: -21px; /* 20px padding + 1px border */
	margin-bottom: 20px;
	margin-left: -20px;
}
.nav-sidebar > li > a {
	padding-right: 20px;
	padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
	color: #fff;
	/*background-color: #eee;*/
}

/*
 * Main content
 */

.main {
	/*  padding: 10px;
*/
}
p {
	font-size: 15px;
}
@media (min-width: 768px) {
	.main {
		padding-right: 40px;
		padding-left: 40px;
	}
	p {
		font-size: 14px;
	}
}
.main .page-header {
	margin-top: 0;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
	margin-bottom: 30px;
	text-align: center;
}
.placeholders h4 {
	margin-bottom: 0;
}
.placeholder {
	margin-bottom: 20px;
}
.placeholder img {
	display: inline-block;
	border-radius: 50%;
}

/*
  ========== MIO CSS ==========
*/
.header-stampa {
	display: none;
}

/*
	  ===========GENERAL===========
	*/
html {
	position: relative;
	min-height: 100%;
}
/* Move down content because we have a fixed navbar that is 50px tall */
body {
	/*padding-top: 50px;*/
	/* Margin bottom by footer height */
	margin-bottom: 80px;
	font-size: 1.2em;
	font-family: "Lato", Sans-Serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}
body.home.page.page-id-2.page-template-default {
	margin-bottom: 39px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Raleway", Sans-Serif;
	font-weight: bold;
}
h3 {
	margin-top: 0px;
}
h3.page-title {
	margin-top: 20px;
}
hr {
	border-top: 1px solid #000;
}
/*--- per nascondere la barra di amministrazione quando si visualizza
			il sito essendo loggati eliminare il commento ---*/
/*.logged-in .navbar-fixed-top {
		top: 32px;
	}*/
@media (min-width: 470px) {
	body {
		font-size: 14px;
	}
}
a,
a:hover {
	color: #000;
}
.page-header {
	padding-bottom: 0px;
	margin: 40px 0 0px;
	border-bottom: none;
}

.site-description {
}
.media-right {
	padding-left: 0px;
}
@media (min-width: 768px) {
	.site-description {
		text-align: right;
		color: #fff;
		margin-bottom: 16px;
		padding: 36px 0 0;
		width: 170px;
		margin-left: 15px;
		z-index: 1032;
	}
	.annuncio-home {
		position: absolute;
		top: 300px;
		left: 500px;
		color: black;
		background-color: green;
		z-index: 10;
		padding: 10px 20px;
	}
}
.row-wr {
	margin-bottom: 50px;
}
.ls-layer {
	height: unset !important;
}

/*
	* === NAVBAR ===
	*/
.sidebar {
	border-right: 1px solid #000;
	/* margin-top: 30px;*/
}
.home .sidebar {
	border: none;
	/* margin-top: 30px;*/
}
/*.page-id-12922 .sidebar {
		margin-top: 0px;
		padding-top: 30px;
	}*/
.menu-menu-principale-container {
	margin-top: 35px;
}
ul#menu-menu-principale-1 {
	margin-top: -16px;
}
.nav-sidebar > li {
	font-size: 16px;
	line-height: 16px;
}

.navbar-inverse .navbar-nav > li.current_page_item a,
.navbar-inverse .navbar-nav > li.current-menu-item a,
.navbar-inverse .navbar-nav > li.current_page_parent a {
	background-color: #eee;
	color: #000;
	font-weight: bold;
}

.nav-sidebar > li.current_page_item {
	margin-right: -8px;
	/*background-color: #000;*/
}
.nav-sidebar > li.current_page_item a:hover,
.nav-sidebar > li.current_page_item a:focus {
	color: #000;
	/*background-color: #ccc;*/
	font-weight: bold;
}
/*.nav-sidebar > li.current_page_item a:after {
	    font-size: 2em;
	    content: "|";
	}*/
.nav > li > a:focus,
.nav > li > a:hover {
	background-color: transparent;
}

.nav-sidebar > li.current_page_item a,
.nav-sidebar > li.current_page_parent a {
	/*background-color: #eee;*/
	color: #fff;
	font-weight: bold;
}
.nav-sidebar > li.menu-item a span {
	line-height: 1.4em;
}

.nav-sidebar > li.menu-item:hover {
	margin-right: -8px;
}

.nav-sidebar > li.menu-item:hover a span {
	background-color: gray;
	color: white;
	padding: 2px 8px;
}
.nav-sidebar > li.current-menu-item {
	margin-right: -8px;
}
.nav-sidebar > li.current_page_item span.lsd-vox-menu,
.nav-sidebar > li.current-menu-item span.lsd-vox-menu {
	background-color: black !important;
	color: white;
	padding: 2px 8px;
}

.menu-superiore {
	display: block;
}

.navbar-brand {
	padding: 0px;
	margin-left: -7px;
}
.navbar-inverse {
	background-color: #000;
	border: none;
}

.site-description {
	display: none;
}
.media-left,
.media-right {
	vertical-align: top;
	width: 50%;
	text-align: right;
	display: table-cell;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
	border-color: #101010;
	background-color: #000;
}

.navbar-fixed-top {
	height: 90px;
}

.media {
	height: 75px;
	margin-left: 15px;
}
@media (min-width: 768px) {
	.navbar-fixed-top {
		height: 145px;
	}

	.media {
		margin-left: 0;
		height: 130px;
		position: absolute;
		right: 40px;
	}
}
/*
	* === MAIN CONTENT ===
	*/
@media (min-width: 340px) {
	.media-body {
		/*width: 50%;*/
	}
}
@media (min-width: 768px) {
	.media-body {
		vertical-align: top;
		display: table-cell;
	}
}
/*
	* === MAIN CONTENT ===
	*/
.responsive-video {
	background-color: rgba(0, 0, 0, 1);
	color: white;
	padding: 20px;
	line-height: 1.4em;
	font-size: 1.2em;
	margin-top: 30px;
	height: 190px;
}

.responsive-video iframe,
.responsive-video object,
.responsive-video embed {
	position: absolute;
	width: 85%;
	height: 70%;
	top: 20px;
	left: 20px;
}
p.video-descr {
	position: absolute;
	bottom: 0px;
	padding-left: 5px;
}
@media (min-width: 480px) {
	.responsive-video {
		height: 240px;
	}
	.responsive-video iframe,
	.responsive-video object,
	.responsive-video embed {
		left: 30px;
	}
}
@media (min-width: 640px) {
	.responsive-video {
		height: 300px;
	}
	.responsive-video iframe,
	.responsive-video object,
	.responsive-video embed {
		left: 40px;
		height: 80%;
	}
}
@media (min-width: 960px) {
	.responsive-video iframe,
	.responsive-video object,
	.responsive-video embed {
		left: 45px;
	}
}
@media (min-width: 992px) {
	.responsive-video {
		height: 250px;
	}
	.responsive-video iframe,
	.responsive-video object,
	.responsive-video embed {
		left: 25px;
		height: 75%;
	}
}
div#primary.container-fluid {
	/*margin-top: 15px;*/
}
.main {
	/*margin-top: 115px;*/
}
.home div#primary .main {
	margin-top: 90px;
	padding-left: 0px !important;
}
div#primary .main {
	margin-top: 105px;
}
.contenuti-home {
	background-color: rgba(0, 0, 0, 1);
	color: white;
	padding: 20px;
	line-height: 1.4em;
	font-size: 1.2em;
	margin-top: 30px;
}
@media (min-width: 768px) {
	div#primary .main {
		margin-top: 155px;
	}
	.home div#primary .main {
		margin-top: 128px;
		padding-left: 0px !important;
	}
	.menu-superiore {
		display: none;
	}
}

/*
	* === LAYERSLIDER ===
	*/
.testo-df {
	background-color: #000000 !important;
}
.home .ls-layer a {
	color: white;
	font-weight: bold;
}
.lsd-home-slider {
	/*margin-right: -40px;*/
}
.ls-borderlessdark .ls-nav-prev,
.ls-borderlessdark .ls-nav-next {
	top: 96% !important;
	z-index: 100 !important;
}
.ls-borderlessdark .ls-nav-next {
	/*right: 48px!important;*/
}
.ls-borderlessdark .ls-nav-prev {
	/*left: 22px!important;*/
}
a.ls-nav-prev {
	background: url("assets/img/prevImg-mini.png") !important;
	width: 30px !important;
	height: 30px !important;
}

a.ls-nav-next {
	background: url("assets/img/nextImg-mini.png") !important;
	width: 30px !important;
	height: 30px !important;
}

#top .avia-layerslider .ls-nav-prev:before,
#top .avia-layerslider .ls-nav-next:before {
	content: "" !important;
}

span.acquis-fiori {
	float: right;
}
span.acquis-fiori form {
	margin-top: -2px;
}
input.acquis-fiori {
	background: #000;
	border: none;
	font-weight: bold;
}
.ls-wrapper .ls-in-out {
	width: 60% !important;
}
#ls-home-content {
	background-color: #000;
	padding: 10px;
}


a.anteprima-df {
	color: white;
	font-size: 1rem !important;
	font-weight: bold;
	background: #000;
}
@media (min-width: 768px) {
	.ls-borderlessdark .ls-nav-next {
		/*right: 55px!important;*/
	}
	.ls-borderlessdark .ls-nav-prev {
		/*left: 255px!important;*/
	}
	.home .ls-layer a {
		text-decoration: none;
	}
	a.ls-nav-prev {
		background: url("assets/img/prevImg.png") !important;
		background-size: 100% 100% !important;
		width: 60px !important;
		height: 60px !important;
	}

	a.ls-nav-next {
		background: url("assets/img/nextImg.png") !important;
		background-size: 100% 100% !important;
		width: 60px !important;
		height: 60px !important;
	}
	.ls-borderlessdark .ls-nav-prev,
	.ls-borderlessdark .ls-nav-next {
		top: 72% !important;
		z-index: 100 !important;
	}
	
	
}

/*
	* === SEARCH RESULTS ===
	*/
.search-res h5 {
	background-color: #000;
	padding: 5px;
	color: #fff;
	font-size: 12px;
	text-align: center;
}
.col-eq-height {
	padding: 10px;

	margin: 0 10px;
}
.row-eq-height {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}
.thumb-arg {
	max-width: 80px;
	float: right;
}
.argum-list {
	/*border-bottom: 1px solid #000;
	margin: 0px;*/
	margin: 0px;
	border-bottom: 0;
	background-color: #fafafa;
	margin-bottom: 6px;
}
@media (min-width: 470px) {
	.search-res h5 {
		background-color: #000;
		padding: 10px;
		color: #fff;
		padding: 10px;
		color: #fff;
		font-size: 14px;
		text-align: center;
	}
}
/*
	* === PAGE LIBRERIA ===
	*/
.thumbnail,
img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
	margin-bottom: 0;
	margin-top: 25px;
	width: 100%;
}
.thumbnail {
	padding: 0px;
	border: none;
}
img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
	/*border-radius: 5px;*/
}
p.descr-libreria {
	background-color: #000;
	color: #fff;
	/*font-size: 64%;*/
	text-align: center;
	padding: 5px 0;
}
@media (min-width: 992px) {
	p.descr-libreria {
		/*font-size: 85%;*/
		font-size: 15px;
	}
}
/*
	* === PAGE DESIDERATA ===
	*/
form {
	margin-top: 10px;
}
.form-control {
	border: 1px solid #000;
	border-radius: 0;
}
textarea#contact-words {
	width: 100%;
	/*border-radius: 3px;*/
	padding: 13px;
}
.btn {
	border-radius: 0px;
}
.btn-info {
	color: #fff;
	background-color: #000;
	border-color: #333;
}
.btn-info:hover,
.btn-info:active,
.btn-info:focus {
	color: #fff;
	background-color: #333;
	border-color: #000;
}
.btn-info:active:focus {
	color: #fff;
	background-color: #333;
	border-color: #000;
}
.scheda {
	background-color: #000;
	padding: 10px;
	/*border-radius: 3px;*/
	color: #fff;
	margin-bottom: 30px;
}
.scheda-single-txt {
	margin-top: 20px;
	margin-bottom: 30px;
	background: url("assets/img/tile.jpg") repeat;
	min-height: 250px;
	padding: 20px;
	font-size: 1.2em;
}
.page-id-6 div.wpcf7 {
	margin: 0 1em;
}
/*
	* === FOOTER ===
	*/
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	/*height: 60px;*/
	background-color: #000;
	color: #fff;
	padding: 15px 20px 0;
	line-height: 1.2rem;
	font-size: small;
	z-index: 100;
}
.footer .text-center {
	line-height: 1.2em;
	margin: 0;
}
/*
	* === PAGE CONTATTI ===
	*/

.mappa {
	margin: 25px 0;
}

/*
	* === PAGINATION TAXONOMY ARGOMENTO ===
	*/
.pagination-taxonomy {
	text-align: center;
}
ul.page-numbers {
	list-style: none;
	display: inline-flex;
	margin-top: 50px;
}
ul.page-numbers > li {
	padding: 0 3px;
}
span.page-numbers.current {
	font-weight: bold;
	padding: 0 7px;
}
a.page-numbers {
	color: #666;
}
.page-id-13694 p a {
	font-weight: bold;
	text-decoration: underline;
}
.col-eq-height {
	padding: 10px 0;
}

.disattivo {
	background-color: rgba(0, 0, 0, 0.1);
}

.menu-logg {
	margin-top: 50px;
	border-top: 1px solid;
	padding-top: 15px;
}
.media-right {
	width: initial;
}

p.lsd_modifica_post {
	bottom: 0px;
	position: absolute;
	left: 0;
}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
	height: auto;
}

/*ELIMINARE LINKS DEL MENU DALLA STAMPA*/
@media print {
	a[href]:after {
		content: "";
	}
	/*=== HEADER PER STAMPA ===*/
	.header-stampa {
		display: block;
	}
}

.ls-wp-container + .site .main {
	margin-right: 0;
	padding-right: 0;
}

/* custom slider changes */
.ls-gui-element.ls-shadow {
	display: none !important;
}
.ls-borderlessdark .ls-nav-prev {
	left: 20px !important;
	top: 50% !important;
}
.ls-borderlessdark .ls-nav-next {
	right: 20px !important;
	top: 50% !important;
}
.ls-wp-container {
	height: calc(100vh - 205px) !important;
	overflow: hidden;
	min-height: 300px;
}
.ls-layers {
	/*overflow:hidden;*/
}

.ls-slide-backgrounds .ls-wrapper {
	top: 0% !important;
}
.ls-layer-popup {
	padding: 24px;
}
.ls-layer-popup:after {
	content: "";
	display: table;
	clear: both;
}

@media (max-width: 1023px) {
	.ls-layer {
		padding:12px !important;
	}
    .ls-layer a, input.acquis-fiori {
        font-size: 1.2rem!important;
        white-space: initial!important;
    }
}


.lsd-home-slider article {
	margin: 0;
}
.thumb-arg img {
	display: block;
	width: 100%;
	height: auto;
}

/* textarea */

.form-group__privacy .wpcf7-textarea {
	width: 100%;
	font-size: 11px;
}
