/*
Theme Name: Fondazione Levi
Theme URI: https://www.wetoo.it/wp-themes/levi
Author: Alvise Rabitti
Author URI: www.wetoo.it
Description: This theme is being developed for the Fondazione Ulgo e Olga Levi in Venice.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: Levi

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.
*/

/*
 * Web Fonts from fontspring.com
 *
 * All OpenType features and all extended glyphs have been removed.
 * Fully installable fonts can be purchased at http://www.fontspring.com
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Fontspring. The fonts are protected under domestic and international trademark and 
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2010-2015 Fontspring
 *
 *
 *
 *
 * The fonts included are copyrighted by the vendor listed below.
 *
 * Vendor:      FontSite Inc.
 * License URL: http://www.fontspring.com/licenses/fontsite/webfont
 *
 *
 */
 
 @font-face {
    font-family: 'franklin_gothic_fsdemi';
    src: url('fonts/FranklinGothic-Demi-webfont.eot');
    src: url('fonts/FranklinGothic-Demi-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/FranklinGothic-Demi-webfont.woff2') format('woff2'),
         url('fonts/FranklinGothic-Demi-webfont.woff') format('woff'),
         url('fonts/FranklinGothic-Demi-webfont.ttf') format('truetype'),
         url('fonts/FranklinGothic-Demi-webfont.svg#franklin_gothic_fsdemi') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'franklin_gothic_fsbook';
    src: url('fonts/FranklinGothic-Book-webfont.eot');
    src: url('fonts/FranklinGothic-Book-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/FranklinGothic-Book-webfont.woff2') format('woff2'),
         url('fonts/FranklinGothic-Book-webfont.woff') format('woff'),
         url('fonts/FranklinGothic-Book-webfont.ttf') format('truetype'),
         url('fonts/FranklinGothic-Book-webfont.svg#franklin_gothic_fsbook') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'franklin_gothic_fsbook_italic';
    src: url('fonts/FranklinGothic-BookIt-webfont.eot');
    src: url('fonts/FranklinGothic-BookIt-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/FranklinGothic-BookIt-webfont.woff2') format('woff2'),
         url('fonts/FranklinGothic-BookIt-webfont.woff') format('woff'),
         url('fonts/FranklinGothic-BookIt-webfont.ttf') format('truetype'),
         url('fonts/FranklinGothic-BookIt-webfont.svg#franklin_gothic_fsbook_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'franklin_gothic_fsdemi_italic';
    src: url('fonts/FranklinGothic-DemiIt-webfont.eot');
    src: url('fonts/FranklinGothic-DemiIt-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/FranklinGothic-DemiIt-webfont.woff2') format('woff2'),
         url('fonts/FranklinGothic-DemiIt-webfont.woff') format('woff'),
         url('fonts/FranklinGothic-DemiIt-webfont.ttf') format('truetype'),
         url('fonts/FranklinGothic-DemiIt-webfont.svg#franklin_gothic_fsdemi_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'unna';
    src: url('fonts/Unna-Regular.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'unna';
    src: url('fonts/Unna-Bold.otf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'unna';
    src: url('fonts/Unna-Italic.otf');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'unna';
    src: url('fonts/Unna-BoldItalic.otf');
    font-weight: bold;
    font-style: italic;
}

/**
 * Table of Contents
 *
 * 1.0 - Reset
 */


/**
 * 1.0 - Reset
 *
 * 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/
 * and Blueprint http://www.blueprintcss.org/
 */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	/* font-family: 'Old Standard TT', serif; */
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

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

body {
	/* background: #f1f1f1; */
	background: #C1C1C1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

article li {
    margin-top:.5em;
}

article li:before {
    content: "";
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

a:focus {
	outline: 2px solid #c1c1c1;
	outline: 2px solid rgba(51, 51, 51, 0.3);
}

a:hover,
a:active {
	outline: 0;
}

a img {
	border: 0;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

/**
 * main definitions
 * 
 */

#page {
	max-width:	1024px;
	background-color:	white;
	margin-left:	auto;
	margin-right:	auto;
	/* box-shadow:	0px 0px 10px black; */
	border:			1px solid black;
	border-top:		0px;
	border-bottom:	0px;
}

/*
 * 	HEADER PART
 */
 
#main-header {
	display:	block;
	width:		100%;
	height:		155px;
}

#main-header #left-half {
	width:		50%;
	float:		left;
}

#main-header #right-half {
	width:		50%;
	float:		right;
	height:		100%;
}

#main-header #logo {
	margin-top:		2em;
	margin-left:	4em;
}

#main-header #header-sidebar {
	height:			1rem;
	float:			right;
	width:			100%;
	margin-top:		10px;
}

#main-header #header-sidebar aside {
	display:		inline-table;
}

#main-header #header-sidebar aside.widget_text {
	padding-right: 4rem;
	text-transform: uppercase;
	float: right;
}

#main-header #header-sidebar aside.widget_text a {
	color:			#373737;
	text-decoration:	none;
}

#main-header #header-sidebar input {
	border:			1px solid black;
	width:			10em;
}

#main-header #biblioteca_link {
	margin-top:		5px;
	font-size:		13pt;
	font-family:	'franklin_gothic_fsbook', Arial, sans-serif;
	font-weight:	bold;
	font-style:		normal;
	margin-right:	2em;
	padding-bottom:	5px;
}

#main-header #biblioteca_link a {
	color:				#cd4015;
	text-decoration:	none;
}

#main-header #biblioteca_link a:hover {
	color:		#B3AFAF;
}

#main-header #site-navigation {
	margin-top:		85px;
	font-size:		13pt;
	font-family:	'franklin_gothic_fsbook', Arial, sans-serif;
	font-weight:	normal;
	font-style:		normal;
	margin-right:	2em;
	padding-bottom:	5px;
	border-bottom:	1px solid black;
}

#main-header #site-navigation li {
	display:		inline;
	text-transform:	uppercase;
	border-left:	1px solid black;
	padding-right:	.2em; /* era: .3em */
	padding-left:	.3em; /* era: .5em */;
	color:			#373737;
}

#main-header #site-navigation  .current-menu-item, #main-header #site-navigation .current-page-ancestor {
	color:			#34013A;	
	font-weight:	bold;
}

#main-header #site-navigation li:first-of-type {
	border-left:	0px;
	padding-left:	0px;
}

#main-header #site-navigation li:last-of-type {
	text-align:		right;
	border-right:	0px;
	padding-right:	0px;
}

#main-header #site-navigation li a {
	text-decoration:	none;
	color:				#818181;
}

#main-header #site-navigation li a:hover {
	color:		#B3AFAF;
}

#menu-side-menu>li, #menu-biblioteca-laterale>li {
	border-bottom:		1px solid #9A82A4;
	padding-top:		1rem;
	padding-bottom:		1rem;
}

#menu-side-menu>li:first-child, #menu-biblioteca-laterale>li:first-child {
	border-top:		1px solid #9A82A4;
	margin-top:		1rem;
}

.header-image {
	width:		100%;
}

#breadcrumbs {
	width:			100%;
	height:			1.5rem;
	padding-left:	1rem;
	font-family:	'franklin_gothic_fsbook';
	font-size:		10pt;
}

#breadcrumbs a {
	text-decoration:	none;
	color:				#818181;
}

#biblio-header-menu {
	background-color:	#85acd5;
	width:				100%;
}

#biblio-header-menu #site-navigation {
	font-size:		13pt;
	font-family:	'franklin_gothic_fsbook', Arial, sans-serif;
	font-weight:	normal;
	font-style:		normal;
	padding-top:	5px;
	padding-bottom:	5px;
	padding-left:	4rem;
	background-color:	#85acd5;
	color:			white;
}

#biblio-header-menu #site-navigation li {
	display:		inline;
	text-transform:	uppercase;
	border-left:	1px solid black;
	padding-right:	.5em;
	padding-left:	.5em;
	color:			white;
}

#biblio-header-menu #site-navigation  .current-menu-item, #biblio-header-menu #site-navigation .current-page-ancestor {
	color:			#5890c3;	
	font-weight:	bold;
}

#biblio-header-menu #site-navigation li:first-of-type {
	border-left:	0px;
	padding-left:	0px;
}

#biblio-header-menu #site-navigation li:last-of-type {
	text-align:		right;
	border-right:	0px;
	padding-right:	0px;
}

#biblio-header-menu #site-navigation li a {
	text-decoration:	none;
	color:				inherit;
}

#biblio-header-menu #site-navigation li a:hover {
	color:		#B3AFAF;
}



#bib-navigation-l1 {
	font-size:		13pt;
	font-family:	'franklin_gothic_fsbook', Arial, sans-serif;
	font-weight:	normal;
	font-style:		normal;
	padding-top:	5px;
	padding-bottom:	5px;
	margin-top:		35px;
	border-bottom:	1px solid black;
}

#bib-navigation-l2 {
	font-size:		13pt;
	font-family:	'franklin_gothic_fsbook', Arial, sans-serif;
	font-weight:	normal;
	font-style:		normal;
	padding-top:	5px;
	padding-bottom:	5px;
}

#bib-navigation-l1 li, #bib-navigation-l2 li {
	display:		inline;
	text-transform:	uppercase;
	border-left:	1px solid black;
	padding-right:	.5em;
	padding-left:	.5em;
}

#bib-navigation-l1  .current-menu-item, #bib-navigation-l1 .current-page-ancestor, #bib-navigation-l2  .current-menu-item, #bib-navigation-l2 .current-page-ancestor {
	color:			#5890C3;	
	font-weight:	bold;
}

#bib-navigation-l1 li:first-of-type, #bib-navigation-l2 li:first-of-type {
	border-left:	0px;
	padding-left:	0px;
}

#bib-navigation-l1 li:last-of-type, #bib-navigation-l2 li:last-of-type {
	text-align:		right;
	border-right:	0px;
	padding-right:	0px;
}

#bib-navigation-l1 li a, #bib-navigation-l2 li a {
	text-decoration:	none;
	color:				inherit;
}

#bib-navigation-l1 li a:hover, #bib-navigation-l2 li a:hover {
	color:		#B3AFAF;
}

nav.navigation.pagination {
  margin-left: 5%;
  font-size: 14pt;
}

/*
 *	CONTENTS PARTS
 */

#left-column {
	float:		left;
	width:		20%;
	min-height:	30rem;
	margin-top:	1rem;
	display:	inline-block;
	font-family: 'Signika', sans-serif;
}



#content-column {
	width:			55%;
	border-left:	1px solid black;
	border-right:	1px solid black;
	margin-top:		1rem;
	display:		inline-block;
	color:			#373737;
	font-family:	'unna';
}

.home #content-column {
	width:			100%;
	border:			0px;
}

.entry-content iframe {
  width: 100%;
  height:310px;
}

/* HOME PAGE SPECIFIC VALUES */

.home-event {
	margin-top:		0.1em;
	width:			100%;
	/* display:		table; */
	font-family:	'unna';
	font-size:		24pt;
	/*! border-top: 1px solid blue; */
}

.home header {
	margin-top:		1rem;
	margin-left:	1%;
}

.home header a, .home-event a {
	color:	inherit;
	text-decoration: inherit;
}

.home-event h3 {
	font-size:		22pt;
	color:			#cd4015;
}

.home-event .big-thumb {
	width:			47%;
	display:		inline-block;
	overflow:		hidden;
	height:			300px;
	background-size: cover;
	background-position: center;
	margin-left:	1%;
}

.home-event .content {
	width:			50%;
	display:		inline-block;
	vertical-align:	top;
	font-size:		12pt;	
	margin-right:	1%;
}

.home-event:first-of-type .content {
	width:			24%;
}

.home-event .small-thumb {
	width:			24%;
	display:		inline-block;
	vertical-align:	top;
	height:			300px;
	overflow:		hidden;
	float:			right;
	margin-right:	1%;
}

.home-event .small-thumb img {
	max-width:		256px;
}

/* second event row in homepage, FIXME using a class instead of ID */

.home-event {
	border-top: 2px solid #5890C3;
	padding-top: .5em;
	padding-bottom: .5em;
}

.home-event:first-of-type {
	border-top: 0px;
	padding-top: 0em;
}

.home-event:nth-of-type(2n) .small-thumb {
  float: left;
}

.home-event:nth-of-type(2n) .big-thumb {
  float: right;
  margin-right: 1%;
  margin-left: 0%;
}

.home-event:nth-of-type(2n) .content {
	width:			48%;
	display:		inline-block;
	vertical-align:	top;
	font-size:		12pt;	
	margin-left:	1%;
	height: 300px;
}

.home header h1 {
	font-size:		22pt;
	color:			#CD404C;
}

#home-news {
	margin-top:		1rem;
	font-size:		12pt;
	/* border-top: 	2px solid #5890C3; */
	padding-top: 	1em;
	margin-bottom:	2rem;
}

.home .column-50 {
	width:			50%;	/* was 48% */
	float:			left;
	padding-left:	1%;
	padding-right:	1%;
	border-top:		2px solid #5890C3;
	padding-top: 	2rem;	/* there was none */
}

#home-news .column-50:first-of-type {
	border-right:	1px solid black;
}

.home .column-50:nth-of-type(3n) {
  clear: left;
  border-right: 1px solid black;
}

#home-news h3 {
	font-weight:	bold;
	font-size:		16pt;
}

/* END OF HOME PAGE SPECIFIC VALUES */

#right-column {
	float:		left;
	width:		25%;
	min-height:	30rem;
	margin-top:	1rem;
	display:	inline-block;
	float:		right;
	font-family:	"franklin_gothic_fsbook";
	font-size:		20pt;
}

header > h1.entry-title {
	color:		#5890c3;
	font-size:	24pt;	 /* K: 36pt */
	font-family:	'unna';
}


#header-sidebar form.searchandfilter input[type=submit] {
	display: none;
}

.searchandfilter div, .searchandfilter {
  display: inline;
}

footer {
	width:		100%;
	clear:		both;
	height:		155px;
	border-top:2px solid #5890C3;
}

.search article {
	padding-bottom:	1rem;
	border-bottom:	1px solid #D2D2D2;
	margin-bottom:	1rem;
}

.search header h1 {
	font-size:		16pt !important;
	margin-left:	5%;
	margin-bottom:	2rem;
}

#content-column article {
	margin-top:		1em;
	margin-left:	5%;
	margin-right:	5%;
	font-size:		16pt;	 /* K: 24pt */
}

#content-column article a {
	text-decoration:	none;
	color:				#5c3b66;
}

#content-column article a:visited {
	color:				#9a82a4;
}

#content-column article .entry-content {
	margin-top:		1rem;
	font-size:		16pt;	 /* K: 24pt */
}

#context-navigation {
	font-size:		1.5rem;
	margin-left:	1rem;
	margin-right:	1rem;
	line-height:	2.2rem;
	text-transform:	uppercase;
}

#context-navigation .sub-menu li {
	margin-top:	1.5rem;
}

#context-navigation a {
	text-decoration:	none;
	color:				#818181;
	font-family: 		'franklin_gothic_fsdemi', sans-serif;
}

#context-navigation a:hover {
	color:				black;
}

#context-navigation li.current_page_item > a {
	color:			#5890c3;	
	font-weight:	bold;
}

#context-navigation .sub-menu {
	display:	none;
}

#context-navigation li.current-page-parent > ul.sub-menu, #context-navigation li.current-page-ancestor > ul.sub-menu, #context-navigation li.current_page_item > ul.sub-menu {
	display:		block;
	padding-left:	1rem;
}

/* RIGHT COLUMN */

#right-column aside {
	margin-left:	1rem;
	margin-right:	1rem;
	font-size:		14pt;
	color:			#373737;
}

#right-column aside .widget-title {
	font-size:		10pt;
	font-family:	"franklin_gothic_fsdemi";
	margin-bottom:	1rem;
}

#right-column aside.widget {
	margin-top:		1rem;
	font-size:		10pt;
}

#right-column aside.widget img {
	height:			auto;
}

#right-column aside .textwidget {
	font-size:		10pt !important;
	font-family:	"franklin_gothic_fsbook";
}

#right-column aside li {
    margin-top:		1em;
}

/*
 * FOOTER MENU
 */
 
#menu-footer-menu li a {
	color:				inherit;
	text-decoration:	none;
	text-transform:		uppercase;
}

#menu-footer-menu li {
	margin-bottom:		.8em;
}

/* CUSTOM PRODUCT VISUALIZATIONS */

ul#editoria {
	font-family:	'unna';
}

#editoria li {
  width:100%;
  clear:both;
  margin-top:1em;
  display:	table-row;
  margin-bottom:	2em;
}

#editoria li div {
  vertical-align: top;
  display:	table-cell;
  padding-top: 2em;
  padding-left: 1em;
}

#editoria img {
  display: inline-block;
  width:	150px;
  height:	150px;
  display:	table-cell;
  margin-top: 2em;
}

#editoria a img {
	border: 1px solid black;
}

#editoria li h3 {
	font-family:	'unna';
	font-size:		15pt;
	color:			#C7002B;
}

#editoria a {
	text-decoration:	none;
	color:				inherit;
}

#editoria li p {
	font-family:	'unna';
	font-size:		15pt;
}

footer {
	margin-top:		3em;
	background-color: #ece9e4;
	font-family:	'franklin_gothic_fsbook';
	font-size:		12pt;
}

.biblioteca footer {
	background-color: #5890c3;
}

footer .container {
	margin-top:		6rem;
	background-color: #ece9e4;
}

footer .column {
	display:	inline-block;
	width:		25%;
	vertical-align:	top;
	padding-left:	1em;
	padding-right:	1em;
}

footer .column:nth-child(4) {
  padding-right: .5em;
  width: 23%;
}

footer .column strong {
	font-weight:	bold;
}

/* MODIFICHE ALLA VISUALIZZAZIONE DEGLI EVENTI */

#tribe-events-content a {
	text-decoration:	none;
	color:				#5c3b66;
}

#tribe-events-content a:visited {
	color:				#9a82a4;
}

#tribe-events-content {
	font-family:	'unna';
	font-size:		18pt;
	width:			100%;
}

#tribe-events-content h2 {
	color:		#5890c3;
	font-size:	30pt;	 /* K: 36pt */
	font-family:	'unna';
	margin-left:	5%;
}

#tribe-events-content div.tribe-events-content {
	margin-left:	5%;
	margin-right:	5%;
	margin-top:		1rem;
	font-size:		18pt;	 /* K: 24pt */
	width:			auto;
}

#tribe-events-content div.tribe-events-schedule {
	margin-left:	5%;
}

#tribe-events-content div.tribe-events-cal-links {
	margin-left:	5%;
}

#tribe-events .tribe-events-content p {
	line-height:	1em;
}

ul.ecs-event-list img {
  width: 96%;
  height: auto;
  margin-right: 1rem;
}

li.ecs-event {
  padding-bottom:2rem;
  margin-top:2rem;
  border-bottom: 1px solid lightblue;
}

li.ecs-event .ecs-excerpt {
  font-size: 12pt;
}

table.tribe-events-calendar {
  border: 1px solid black;
  font-size:10pt;
}

table.tribe-events-calendar thead {
  background-color: azure;
}

table.tribe-events-calendar td>div:first-of-type {
  background-color: lightgray;
}

table.tribe-events-calendar td div h3 {
  font-size: 8pt;
}

table.tribe-events-calendar td:nth-child(2n) {
  background-color: lightyellow;
}

.prevmonth {
	float:	left;
}

.nextmonth {
	float:	right;
}

.event-paginator {
	width:	100%;
	height:	1rem;
}

.event-paginator .prec {
	float:	right;
}

.event-paginator .succ {
	float:	left;
}

/* POST NAVIGATION */

.post-navigation {
	margin-top:			2rem;
}

.post-navigation a span {
	color:				black !important;
	text-decoration:	none;
}

.post-navigation .nav-next {
	background-image:	unset !important;
	float:				right;
	color:				black;
	font-size:			10pt;
	max-width:			50%;
}

.post-navigation .nav-previous {
	background-image:	unset !important;
	float:				left;
	color:				black;
	font-size:			10pt;
	max-width:			50%;
}

.multicolumn-2-cols {
	-moz-column-count: 2;
	column-count: 2;
	margin-bottom:2rem;
}

.multicolumn-2-cols li {
	margin-top: 0px;
}

/* MODIFIERS TO JETPACK BEHAVIOUR */

.jp-carousel-info {
	display:		none;
}

/* HACKS, da capire */

.dropdown-toggle {
	display:		none;
}

.screen-reader-text {
	display:		none;
}


#responsive-menu-switch {
	display:	none;
}

/*
h1.event-title:before {
  color: black;
  content: "prossimo evento: ";
} */

h1.event-title span.event-time {
  color: black;
}

/* la voce "biblioteca" nel menu di sinistra, accessibile solo da mobile */
li#menu-item-2816 {
	display: none;
}

#menu-item-8922 a {
  color: red !important;
}

.icon img {
	height: 2rem;
	vertical-align: middle;
	opacity: .5;
	margin-left: 1rem;
}

.icon img:hover {
	opacity: 1;
}

.error-404 h1 {
  font-size: 3rem !important;;
  text-align: center;
  padding-top: 5em;
}

.error-404 .page-content {
  text-align: center;
  padding-top:3em;
  padding-bottom: 10em;
  margin-bottom:-40em;
}

.tribe-events-sub-nav li a {
	background-color: transparent !important;
}

/* sistemano un bug nei tasti di navigazione della galleria */ 

#bwg_container1_0 #bwg_container2_0 .tablenav-pages_0 .first-page, #bwg_container1_0 #bwg_container2_0 .tablenav-pages_0 .prev-page, #bwg_container1_0 #bwg_container2_0 .tablenav-pages_0 a {
  padding: 0% 5% !important;
}

/* widget per eventi */

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

#tribe-events-pg-template {
	width: 75%;
	float: left;
	padding-right: 0px;
	padding-top: 1rem;
	margin-right: 0px;
}

#tribe-events #left-column {
	width: 27%;
}

#tribe-events #right-column {
	width: 27%;
	margin-top: 3rem !important;
}


#tribe-events #content-column {
	width: 73%;
	display: inline-grid;
}

}

.textwidget input[type=text], .textwidget input[type=email]{
  width: 100%;
}

.textwidget textarea {
  width: 100%;
}

.textwidget input[type=submit] {
  width: 100%;
}

/* make video pages contents wider */
#content-column.levi-video {
  width: 100%;
  border: 0px;
}

#content-column.levi-video figure.wp-block-embed-youtube {
  margin: 0px;
}

#content-column.levi-video figure.wp-block-embed-youtube iframe {
 width: 100%;
 height: 510px;
}

#socialicons-top {
	width: 260px;
}

/*
 * RESPONSIVE PART
 */

@media screen and (max-width: 1024px) {
	#socialicons-top {
		width: unset;
	}
}

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

	#left-column {
	  display: block;
	  width: 100%;
	  margin-left: 0px;
	  margin-right: 0px;
	  min-height: 0px;
	}

	#right-column {
		min-height: 0px;
		width:	100%;
	}

	#content-column {
	  display: block;
	  width: 100%;
	  border: 0px;
	  margin-left: 0px;
	  margin-right: 0px;
	}

	#colophon .column {
	  width: 100%;
	  margin-top: 2rem;
	}

	#logo img {
	  width: 100%;
	}

	#header-sidebar, #header-menus {
	  display: none;
	}
	
	#main-header {
		height:	auto;
	}
	
	.header-image {
		margin-top:	2rem;
	}
	
	#responsive-menu-switch {
		display: block;
		margin-top: 2rem;
		float: right;
		margin-right: 3rem;
		cursor: pointer;
	}

	/* la voce "biblioteca" nel menu di sinistra, accessibile solo da mobile */
	li#menu-item-2816 {
		display: block;
	}

	.home-event .big-thumb {
		width: 100%;
	}

	
	.home-event .content {
		width: 100% !important;
	}
	
	.home-event:first-of-type .content {
		width: 100% !important;
	}

	.home-event .small-thumb {
		display: none;
	}

	
	#context-navigation {
		display: none;
		margin-bottom: 2rem;
	}

	#wds_container1_0 {
		padding-top: 12rem;
	}
}

@media screen and (max-width: 480px) {
	#wds_container1_0 {
		padding-top: 8rem;
	}

	#home-news .column-50 {
		width: 100%;
		border: 0px;
		border-top: 1px solid black;
		padding-top: 2rem;
		margin-bottom: 2rem;
	}
}
/*
 * STYLE FOR PRINT
 */

@media print {
	/* a[href]:after{content: "(" attr(href) ")"} */

	#page {
		width:	100%;
		max-width:	100%;
		page-break-inside:	auto;
	}

	#page .post-thumbnail {
		margin: 0px;
		padding: 0px;
		height:		8cm;
		display: none;
	}
	
	#left-column {
		display:	none;
		float:		none;
		page-break-inside:	auto;
	}

	#header-sidebar, #header-menus {
	  display: none;
	}
	
	h1, h2, h3, h4, h5, h6 {
		page-break-before:avoid;
	}
	
	img {
		page-break-inside:avoid; 
	}
	
	blockquote, table, pre {
		page-break-inside:avoid;
	}
	
	ul, ol, dl  {
		page-break-before:auto;
	}
	
	#page-content-area {
		page-break-inside:	auto;
	}
	
	#breadcrumbs {
		color:	blue;
		margin-bottom: 1px solid red;
	}
	
	div, article, main, header, nav, footer {
        page-break-inside: auto;
        page-break-after: auto;
    }
	
	#content-column {
		width:		100%;
		border:		0px;
		page-break-inside:	auto;
	}
	


	#primary, div.entry-content, #content-column article p {
		page-break-inside:	auto;
	}
	
	#right-column {
		width:		100%;
		float:		none;
		page-break-inside:	auto;
	}
	
	#right-column aside {
		clear:		both;
		width:		100%;
		page-break-inside:	auto;
	}
	
	div.gallery-row {
		display:	inline;
	}
	
	nav {
		display:	none;
	}
}
