/* disabilitazione "footer-area" in tutte le pagine tranne la home */
.fusion-footer-widget-area {
	display: none;
}
.home .fusion-footer-widget-area {
	display: block;
}

ul {
	margin: 0;
	padding: 0;
}
ul li {
	margin: 0 0 0 25px;
	padding: 0;
}

#main {
	padding-bottom: 20px;
	padding-top: 20px;
}

.post {
	margin-bottom: 45px;
}

.more {
	margin-top: 5px;
}


/* liste */
.post-content ul.list-icon.circle-yes.list-icon-arrow li:before {
	color:#FFFFFF !important;
}
.rtl .post-content ul.list-icon.circle-yes.list-icon-arrow li:after {
	color:#FFFFFF !important;
}


/* header */
.fusion-secondary-header {
	border: none;
}
.fusion-secondary-header .fusion-contact-info {
	line-height: 20px;
}
.fusion-secondary-header .fusion-social-links-header {
	margin-right: 15px;
}
/*.fusion-secondary-header .follow {
	margin-top: 13px;
}*/
.fusion-header {
	height: 65px !important;
}
.fusion-logo {
	background-color: #FFF;
	margin-top: -53px !important;
	position: absolute;
	top: 10px;
	z-index: 9999;
}
.fusion-logo img {
	height: 100px;
}
.fusion-header.fusion-sticky-shadow .fusion-logo {
	margin-top: 1px !important;
	top: 3px;
}
.fusion-main-menu {
	margin-top: 7px;
}
.fusion-is-sticky .fusion-main-menu {
	margin-top: 0;
}
#members {
	margin-right: 45px;
	margin-top: 12px;
}
#newsletter {
	margin-left: 0;
	margin-right: 0;
	margin-top: 12px;
}
#search {
	display: none;
	/*margin-left: 0;*/
	margin-top: 12px;
}
#members i, #newsletter i, #search i {
    background-color: #67b7e1;
    height: 26px;
    font-size: 16.5px;
    width: 26px;
    
    -webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
}
#members:hover, #newsletter:hover, #search:hover {
	opacity: 0.8;
}


/* menu */
/*#nav > ul > li > a,
#nav ul li.current-menu-ancestor > a {
	height: 47px;
	line-height: 37px;
	margin-top: 20px;
}
#wrapper #nav ul li ul li a {
	margin-top: 0;
}*/


/* menu laterale */
/* DECIDERE SE SERVE CHE IL PARENT ABBIA COLORE COME IL FIGLIO SELEZIONATO */
#wrapper #sidebar .current-page-ancestor a,
#wrapper #sidebar .current-page-ancestor a:before,
#wrapper #sidebar .current-page-ancestor a:after {
	color: #67b7e1 !important;
}
#wrapper #sidebar .current-menu-item ul.sub-menu li a,
#wrapper #sidebar .current-menu-item ul.sub-menu li a:before,
#wrapper #sidebar .current-menu-item ul.sub-menu li a:after {
	color: #333333 !important;
}


/* footer */
.fusion-footer-widget-area .banner-partner img {
	max-width: 19.1%;
}


/* paginazione */
.woocommerce-pagination {
	font-size: 12px;
}
.woocommerce-pagination .page-numbers {
	border-color: #e0dede;
}
.woocommerce-pagination .page-numbers.current,
.woocommerce-pagination .current {
	border-color: #67b7e1;
}
.woocommerce-pagination .current {
	background-color: #67b7e1;
}
.woocommerce-pagination.types {
	margin-bottom: 15px;
	margin-top: 15px;
}
.woocommerce-pagination.types .prev,
.woocommerce-pagination.types .next {
	border: none;
}


/* in evidenza */
.avada-row.featured {
	margin-bottom: 20px;
	position: relative;
}
#in-evidenza {
	display: block;
	height: 200px;
	list-style: none;
	margin: 0;
	overflow: hidden;
	padding: 0;
}
#in-evidenza li.slide {
	background-color: #FFFFFF;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
	display: block;
	height: 200px;
	float: left;
	margin: 0;
	padding: 0;
	width: 260px;
}
#in-evidenza .text {
	background: #000000;
	color: #FFFFFF;
	display: block;
	height: 100%;
	width: 56%;
	padding: 15px 15px 15px 35px;
	opacity: 0.7;
}
#in-evidenza .text .evidenza-title {
	display: inherit;
	font-family: "Antic Slab",Arial,Helvetica,sans-serif !important;
	font-weight: bold; 
	margin-bottom: 5px;
}
.in-evidenza-pagination {
	margin-top: -20px;
	position: absolute;
	text-align: center;
	width: 100%;
	/*z-index: 1000;*/
}
.in-evidenza-pagination a {
	width: 11px;
	height: 11px;
	display: inline-block;
	background: #666;
	background: rgba(0,0,0,0.5);
	cursor: pointer;
	margin: 0 5px 0 0;
	text-indent: -9999px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-o-border-radius: 20px;
	border-radius: 20px;
	box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
}
.in-evidenza-pagination a.selected {
	background: #000;
	background:	rgba(0,0,0,0.9);
	cursor: default;
}
.in-evidenza-pagination a span {
	display: none;
}
a.in-evidenza-prev,
a.in-evidenza-next {
	width: 30px;
	height: 30px;
	position: absolute;
	top: 70px;
}
a.in-evidenza-prev {
	background: url(images/btn-prev-slider.png) no-repeat 0 0;
	left: -1px;
}
a.in-evidenza-next {
	background: url(images/btn-next-slider.png) no-repeat 0 0;
	right: -1px;
}
a.in-evidenza-prev span,
a.in-evidenza-next span {
	display: none;
}


/* box aree attività */
#main .columns h2 {
	font-size: 17px !important;
}


/* carousel (multimedia, pubblicazioni-risorse, news) */
.carousel li.slide {
	border-bottom: 1px solid #E8E6E6;
	list-style: none;
	padding-bottom: 15px;
	margin-bottom: 10px;
	margin-left: 0;
	margin-right: 0;
}
.carousel .image  {
	max-width: 100px;
}
.carousel .text .evidenza-title {
	color: #333333;
	font-family: "Antic Slab",Arial,Helvetica,sans-serif !important;
	margin-bottom: 5px;
}


/* eventi */
#upcoming-events {
	list-style-type: none;
	padding-left: 0;
}
#upcoming-events li {
	margin-left: 0;
}
.event-calendar {
	width: 70px;
}
.event-month {
	display: block;
	text-align: center;
	font-size: .9em;
	font-weight: normal;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	text-transform: uppercase;
	background: #67b7e1;
	color: #fff;
	border: 1px solid #ddd;
	border-bottom: none;
	padding: 5px;
}
.event-day {
	display: block;
	text-align: center;
	font-size: 2.0em;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	background: #fff;
	border: 1px solid #ddd;
	border-top: none;
	color: #000;
	padding: 5px;
}


/* icone social */
.fusion-icon-facebook:before,
.fusion-icon-flickr:before,
.fusion-icon-twitter:before,
.fusion-icon-youtube:before,
.fusion-icon-googleplus:before {
	content: ""
}
.fusion-icon-facebook {
	background-image: url(images/facebook.png) !important;
	width: 24px;
	height: 24px;
	-webkit-background-size: 24px 24px !important;
	-moz-background-size: 24px 24px !important;
	-o-background-size: 24px 24px !important;
	background-size: 24px 24px !important;
}
.fusion-icon-flickr {
	background-image: url(images/flickr.png) !important;
	width: 24px;
	height: 24px;
	-webkit-background-size: 24px 24px !important;
	-moz-background-size: 24px 24px !important;
	-o-background-size: 24px 24px !important;
	background-size: 24px 24px !important;
}
.fusion-icon-twitter {
	background-image: url(images/twitter.png) !important;
	width: 24px;
	height: 24px;
	-webkit-background-size: 24px 24px !important;
	-moz-background-size: 24px 24px !important;
	-o-background-size: 24px 24px !important;
	background-size: 24px 24px !important;
}
.fusion-icon-youtube {
	background-image: url(images/youtube.png) !important;
	width: 24px;
	height: 24px;
	-webkit-background-size: 24px 24px !important;
	-moz-background-size: 24px 24px !important;
	-o-background-size: 24px 24px !important;
	background-size: 24px 24px !important;
}
.fusion-icon-googleplus {
	background-image: url(images/googleplus.png) !important;
	width: 24px;
	height: 24px;
	-webkit-background-size: 24px 24px !important;
	-moz-background-size: 24px 24px !important;
	-o-background-size: 24px 24px !important;
	background-size: 24px 24px !important;
}


/* lista categorie corsi */
ul.cat-corsi {
	margin-left: 40px !important;
}
ul.cat-corsi > li > a {
	font-family: "Antic Slab", Arial, Helvetica, sans-serif !important;
}
ul.children {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.children li.cat-item {
	margin: 5px 0;
}


/* lista custom post types */
.list-row {
	clear: both;
}
.list-row .label {
	float: left;
	width: 20%;
}
.list-row .text {
	float: left;
	width: 80%;
}


/* dettaglio custom post types */
#main .post .date {
	margin-bottom: 10px;
}
.info-item {
	margin-bottom: 10px;
}
.toggle-content .info-item {
	margin-left: 40px;
}
.info-item .caption {
	display: inline-block;
	font-weight: bold;
}


/* pagina di errore */
#post-404page {
	color: #000000;
	font-size: 16px;
}
#post-404page .error-title {
	font-size: 30px;
	/*font-weight: bold;*/
	margin-bottom: 15px;
}
#post-404page a {
	color: #3366ff;
}
#post-404page .error-entry {
	font-size: 20px;
	/*font-weight: bold;*/
}
#post-404page .error-search {
	font-size: 24px;
	margin-top: 20px;
}


/* selettore lingua (https://wpml.org/forums/topic/language-switcher-in-header-avada-theme/) */
#lang_sel ul li li {
	margin-top: -10px !important;
}



@media only screen and (max-width: 800px) {
	/*#main {
		padding-bottom: 0 !important;
	}*/
	
	.fusion-header {
		height: auto !important;
	}
	/*.fusion-mobile-menu-design-classic.fusion-header-v2 .fusion-header {
		
	}*/
	.fusion-header-wrapper .fusion-mobile-menu-design-classic.fusion-header-v2 .fusion-mobile-nav-holder {
		margin-top: 0;
	}
	.fusion-header-wrapper .fusion-mobile-menu-design-classic.fusion-header-v2 .fusion-logo {
		margin-top: -115px !important;
	}
	.fusion-logo img {
		height: 40px;
		margin-top: 10px;
	}
	.fusion-secondary-header .fusion-contact-info .alignleft {
		width: 100%;
	}
	/*
	.fusion-secondary-header .fusion-social-links-header {
		float: right;
		margin-right: 20px;
		text-align: right !important;
		width: 50% !important;
	}
	*/
	.fusion-secondary-header .fusion-social-links-header .fusion-social-networks {
		margin-bottom: 5px;
		margin-top: 5px;
	}
	/*
	.fusion-secondary-header .fusion-social-links-header a {
		margin: 0 0 0 5px !important;
	}
	*/
	/*.fusion-secondary-header .follow {
		display: none;
	}*/
	#newsletter {
		margin-left: -10px;
		margin-right: 5px;
		text-align: left;
		width: auto;
	}
	#search {
		display: block;
		margin-left: 5px;
		margin-right: -10px;
	}
	#members {
		display: none;
	}
	
	.fusion-footer-widget-area .fusion-columns .fusion-column {
		margin-bottom: 0;
	}
	#footer-1, #footer-2 {
		margin-bottom: 20px !important;
	}
	#footer .fusion-one-third img {
		float: none;
	}
}
