/*!
 *
 * File generale del sito 
 *
 * Copyright 2014 SpoonDesign di Cattorini Davide
 * Tutti i diritti riservati - All rights reserved
 * http://www.spoondesign.it - info@spoondesign.it
 *
 */
html * {
	outline: 0 !important;
}
p {
	margin: 8px 0;
}
img {
	border: 0;
}
hr {
	width: 60%;
	height: 1px;
	margin: 15px auto;
	#margin: 5px auto;
	padding: 0;
	text-align: center;
	border: 0px none; 
	border-top: 1px dotted #999;
}
acronym, abbr { 
	cursor: help; 
	border-bottom: #666 1px dashed;
}
sup {
	font-size: xx-small; 
	vertical-align: top;
}
sub {
	font-size: xx-small; 
	vertical-align: bottom;
}
blockquote p {
	font: inherit;
}

mark {
	padding: 0 4px;
	background: #F0EEA6;
}

.align_center {
	text-align: center;
}
.align_right {
	text-align: right;
}
.img_right {
	float: right;
	margin: 9px 8px 0 10px;
}
.img_left {
	float: left;
	margin: 9px 10px 0 8px;
}
.hide, .element-invisible, .visually-hidden {
	position: absolute; 
	top: -10000px; 
	left: -10000px;
}
.clear, .clear_both {
	clear: both;
}

/* ALERT */

.alert div {
	margin: 0 !important;
}
.alert-error {
	text-align: center;
}
joomla-alert .joomla-alert--close, joomla-alert .alert-heading, .alert span {
	display: none;
	visibility: hidden;
}

/* PAGE HEADER */

.page-header {
	margin: 0;
	padding: 0;
	border: 0;
}

/* BLOG */

.blog-items {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.blog-items * {
	box-sizing: border-box;
}
.blog-items .blog-item {
	width: 100%;
	margin: 1rem 0;
}
.blog-items.columns-2::after {
	width: 46%;
	height: 0;
	content: "";
}
.blog-items.columns-3::after {
	width: 31%;
	height: 0;
	content: "";
}

.blog-items .item-image, .blog-items .item-image img {
	width: 100%;
	margin: 0;
}

.item-content .page-header h2 {
	padding: 0.7rem 0;
	font-size: 1.3rem;
	line-height: 1.5rem;
	text-align: left;
}

.item-content .page-header + ul {
	margin-top: 13px;
}

@media (min-width: 800px) {
	.blog-items.columns-2 .blog-item {
		width: 46%;
	}
}
@media (min-width: 900px) {
	.blog-items.columns-3 .blog-item {
		width: 31%;
	}
}

.com-content-article div[itemprop="articleBody"] {
	width: 100%;
	clear: both;
}

/* LISTA ARTICOLI */

.com-content-category__table .list-edit {
	display: none;
	visibility: hidden;
}

/* PAGINAZIONE */

.counter {
	text-align: center;
}

.pagination {
	text-align: center;
	margin: 0;
	padding: 0;
	clear: both;
}
.pagination ul {
	margin: 0;
	padding: 0;
	box-shadow: none;
}
.pagination .pagenav {
	background: none;
	border: 0;
	margin: 0;
	padding: 0 5px;
}
.pagination .pagenav:hover {
	background: none;
}
.pagination a, .pagination span {
	background: none;
	border: 0;
}

.com-content-category-blog__counter {
	padding-top: 20px;
	text-align: center;
}
nav.pagination__wrapper ul.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	list-style: none;
	padding-bottom: 20px;
}
nav.pagination__wrapper ul.pagination li {
	padding: 0 7px;
}
nav.pagination__wrapper a {
	text-decoration: none;
} 

nav.pagination__wrapper .disabled {
	color: grey;
}
nav.pagination__wrapper .active {
	font-weight: bold;
}
nav.pagination__wrapper a, nav.pagination__wrapper span {
	background: none;
	border: 0;
}

/* INFO ARTICOLI */

.article-info {
    font-size: 14px;
    line-height: 15px;
}
.article-info dd {
    margin-left: 0;
}
.article-info span[itemprop="name"] {
	font-weight: bold;
}

/* LEGGI TUTTO */

.readmore {
	text-align: right;
}
.readmore a {
	text-decoration: none;
}
.readmore span {
	display: none;
	visibility: hidden;
}

/* TAGS */

.tags {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin-top: 1rem;
	margin-left: 0;
}
.tags li span {
	border-radius: 3px !important;
	margin: 3px 5px 3px 0;
	padding: 3px 6px;
    font-weight: bold;
    font-size: 13px;
    line-height: 14px;
    color: #fff;
    white-space: nowrap;
    box-shadow: none !important;
    background-image: none !important;
    background-color: #3a87ad !important;
}
.com-tags-tag form {
	display: none;
	visibility: hidden;
}

/* LABELS AND BADGES */

a.label, .label a {
	text-decoration: none;
}

/* TASTO CON ICONE MODIFICA DA FRONTEND */

.icons .btn-group, .content_component .icons .float-end {
	display: none !important;
	visibility: hidden !important;
}

/* VIDEO YOUTUBE E VIMEO */

.sdshowyoutube_container, .sdshowvimeo_container {
	max-width: 500px;
	margin: 0 auto;
}
.sdshowyoutube, .sdshowvimeo {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}
.sdshowyoutube iframe, .sdshowyoutube object, .sdshowyoutube embed,
.sdshowvimeo iframe, .sdshowvimeo object, .sdshowvimeo embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* CORREZIONE MENU */

.dj-megamenu span.image-title:empty {
	margin: 0 !important;
}

/* JCE MEDIABOX */

.wf-mediabox-theme-shadow .wf-mediabox-container {
	border: 6px solid #FFF !important;
	border-radius: 4px !important;
}
.wf-mediabox-theme-shadow .wf-mediabox-numbers {
	margin-right: 0 !important;
}
.wf-mediabox-theme-shadow .wf-mediabox-caption h4, .wf-mediabox-theme-shadow .wf-mediabox-caption p {
	text-align: justify;
	padding-bottom: 10px;
}

/* PREVENT LINK TO BREAK MOBILE */

#content a, .content a {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* FORM */

input[type="checkbox"] {
	vertical-align: middle !important;
}
.well {
	border: 0 !important;
	padding: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.sdfe_content .calendar .input-group {
	position: relative;
}
.sdfe_content .calendar button.btn-primary {
	position: absolute;
	right: 0;
	background-image: linear-gradient(to bottom,#ffffff,#e6e6e6) !important;
	background-repeat: repeat-x !important;
	border: 1px solid #ccc !important;
	border-radius: 0 4px 4px 0 !important;
}
.sdfe_content .calendar button.btn-primary:hover, .sdfe_content .calendar button.btn-primary:active, .sdfe_content .calendar button.btn-primary:focus {
	background-image: linear-gradient(to bottom,#e6e6e6,#ffffff) !important;
	background-color: #e6e6e6 !important;
}
.sdfe_content .calendar .calendar-container a {
	text-decoration: none;
}
.sdfe_content .calendar .calendar-container button {
	margin: 0 !important;
	padding: 0 !important;
	color: #495057 !important;
	height: 30px !important;
	line-height: 30px !important;
	background-image: linear-gradient(to bottom,#ffffff,#e6e6e6) !important;
	background-repeat: repeat-x !important;
	border: 1px solid #ccc !important;
}
.sdfe_content .calendar .calendar-container button:hover {
	color: #495057 !important;
}
.sdfe_content .calendar .day-name {
	font-size: 11px;
}

/* RICERCA */

#search-form {
	margin: 3rem 0;
}
#search-form .form-inline {
	width: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}
#search-form label {
	display: none;
	visibility: hidden;
}
#search-form input {
	border-radius: 0;
}
#search-form .input-group {
	display: flex;
}

#search-results #search-query-explained {
	display: none;
	visibility: hidden;
}
#search-result-list {
	margin: 0;
}
#search-result-list .result__item {
	border: 0;
}
#search-result-list .result__title * {
	font-size: 1rem;
}
#search-result-list .result__title-text {
	font-weight: bold;
}
#search-result-list .result__title-url, #search-result-list .result__taxonomy {
	display: none;
	visibility: hidden;
}
#search-results .search-pages-counter {
	text-align: center;
}

#search-result-empty h2 {
	display: none;
	visibility: hidden;
}
#search-result-empty p {
	text-align: center;
}

/* BRICIOLE DI PANE */

#breadcrumb, #breadcrumb ul, .breadcrumb {
	background: none;
}
#breadcrumb li, #breadcrumb li .divider {
	line-height: 30px;
	color: inherit;
}
#breadcrumb .divider img {
	margin-top: -3px;
}

/* ULTIME NOTIZIE */

.newsflash .readmore {
	display: block;
	text-align: right;
}

/* MESSAGGI DI SISTEMA */

#system-message-container {
	text-align: center;
}

/* CORREZIONE FRECCIA MENU PER CLASSE MANCANTE */

.dj-megamenu-default.dj-fa-0 li ul.dj-submenu>li.parent>a .arrow:before {
	content: "\f105";
	display: inline-block;
	font: normal normal normal 12px/1 "FontAwesome";
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ACCESSIBILITA' */

.djacc__btn--read-mode {
	display: none;
	visibility: hidden;
}
.djacc__label, .djacc_btn-label, .djacc__size {
	color: #FFF !important;
}

/* SKIP */

#skip a {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
} 
#skip a:focus {
	position: static;
	width: auto;
	height: auto;
}