@font-face {
font-family: 'roboto_condensedregular';
src: url('robotocondensed-regular-webfont.eot');
src: url('robotocondensed-regular-webfont.eot?#iefix') format('embedded-opentype'),
 url('robotocondensed-regular-webfont.woff') format('woff'),
 url('robotocondensed-regular-webfont.ttf') format('truetype'),
 url('robotocondensed-regular-webfont.svg#roboto_condensedregular') format('svg');
font-weight: normal;
font-style: normal;

}

@font-face {
font-family: 'robotoitalic';
src: url('roboto-italic-webfont.eot');
src: url('roboto-italic-webfont.eot?#iefix') format('embedded-opentype'),
 url('roboto-italic-webfont.woff') format('woff'),
 url('roboto-italic-webfont.ttf') format('truetype'),
 url('roboto-italic-webfont.svg#robotoitalic') format('svg');
font-weight: normal;
font-style: normal;

}

@font-face {
font-family: 'robotolight';
src: url('roboto-light-webfont.eot');
src: url('roboto-light-webfont.eot?#iefix') format('embedded-opentype'),
 url('roboto-light-webfont.woff') format('woff'),
 url('roboto-light-webfont.ttf') format('truetype'),
 url('roboto-light-webfont.svg#robotolight') format('svg');
font-weight: normal;
font-style: normal;

}

@font-face {
font-family: 'robotolight_italic';
src: url('roboto-lightitalic-webfont.eot');
src: url('roboto-lightitalic-webfont.eot?#iefix') format('embedded-opentype'),
 url('roboto-lightitalic-webfont.woff') format('woff'),
 url('roboto-lightitalic-webfont.ttf') format('truetype'),
 url('roboto-lightitalic-webfont.svg#robotolight_italic') format('svg');
font-weight: normal;
font-style: normal;

}

@font-face {
font-family: 'robotobold';
src: url('roboto-bold-webfont.eot');
src: url('roboto-bold-webfont.eot?#iefix') format('embedded-opentype'),
 url('roboto-bold-webfont.woff') format('woff'),
 url('roboto-bold-webfont.ttf') format('truetype'),
 url('roboto-bold-webfont.svg#robotobold') format('svg');
font-weight: normal;
font-style: normal;

}
body {font-family: 'robotolight', 'Helvetica Neue', Verdana, Arial, sans-serif; font-size: 1.6em;}
em, i {font-family: 'robotolight_italic', 'Helvetica Neue', Verdana, Arial, sans-serif;}
strong, b {font-family: 'robotobold', 'Helvetica Neue', Verdana, Arial, sans-serif;}
small {font-family: 'robotolight', 'Helvetica Neue', Verdana, Arial, sans-serif;}

h1, h2, h3, h4, h5, h6 {font-family: 'roboto_condensedregular', 'Helvetica Neue', Verdana, Arial, sans-serif;}
h5, h6 {font-size: 1.1em;}

h1#heading {min-height: 64px; padding-left: 56px; background: transparent url("../resources/logo.png") top left no-repeat;}

h2.search_engine {border-bottom: 1px solid #eeeeee;}

h3.media-heading small {text-transform: uppercase;}

form.navbar-right {padding-right: 1.6em;}

section {padding-bottom: 1em;}
article a {text-decoration: underline;}
footer {padding: 1em 0;}
footer a {text-decoration: underline;}

nav ul#navmenu {margin: 0; padding: 0; list-style-type: none;}
nav ul#navmenu li {margin-bottom: 0.4em; list-style-type: none;}

button#aiuto_ricerca {vertical-align: middle; margin: 0.55em;}

a.btn {font-size: 1.1em;}

a#to_top {position: fixed; bottom: 8px; right: 8px;}

ul.media-list {margin: 2em 0;}

ul#photos {list-style-type: none; padding: 0; margin: 0;}
ul#photos li {list-style-type: none; display: inline; padding: 0; margin-right: 0.3em;}

img.pull-left {margin: 0 1em 1em 0;}
img.pull-right {margin: 0 0 1em 1em;}

img.middle {margin-top: 0; margin-bottom: 0;}

img.media-object {margin-top: 4px;}

li.media img.media-object {width: 200px; height: 150px;}

div.center {text-align: center; margin: 1em 0;}

ul.sections_list {margin: 0; padding: 0; list-style-type: none; width: 100%; display: block;}
ul.sections_list li {margin-bottom: 0.4em; list-style-type: none; width: 100%; display: block;}
ul.sections_list li a {border-radius: 4px; width: 100%; padding: 0.4em; text-decoration: none; font-size: 1.2em; display: block;}
ul.sections_list li a:link{color: #254A6F; background: #fff; border: 1px solid #254A6F;}
ul.sections_list li a:visited{color: #254A6F; background: #fff; border: 1px solid #254A6F;}
ul.sections_list li a:hover{color: #254A6F; background: #fff; border: 1px solid #ab7930;}
ul.sections_list li a:active{color: #254A6F; background: #fff; border: 1px solid #ab7930;}
ul.sections_list li a:focus{color: #254A6F; background: #fff; border: 1px solid #ab7930;}
ul.sections_list li a span {padding-right: 1em;}

.complementare {color: #000; background: #EEDABE; border: 1px solid #CAB9A2; padding: 0.4em; border-radius: 4px;}
.triadico {color: #000; background: #EACEC0; border: 1px solid #C7AFA3; padding: 0.4em; border-radius: 4px;}
.analogico {color: #000; background: #B8DCD0; border: 1px solid #9CBBB1; padding: 0.4em; border-radius: 4px;}

tr.success {background-color: #DFF0D8;}
td.success {background-color: #DFF0D8;}
tr.info {background-color: #D9EDF7;}
td.info {background-color: #D9EDF7;}
tr.warning {background-color: #FCF8E3;}
td.warning {background-color: #FCF8E3;}
tr.danger {background-color: #F2DEDE;}
td.danger {background-color: #F2DEDE;}

tr.verde {background-color: #DFF0D8;}
td.verde {background-color: #DFF0D8;}
tr.azzurro {background-color: #D9EDF7;}
td.azzurro {background-color: #D9EDF7;}
tr.giallo {background-color: #FCF8E3;}
td.giallo {background-color: #FCF8E3;}
tr.rosso {background-color: #F2DEDE;}
td.rosso {background-color: #F2DEDE;}

td.alert {padding: 0.4em;}

/*___liste___*/
ol.alpha {list-style-type: lower-alpha;}

/*___video___*/
iframe.video {border: 0; width: 100%; margin: 0 auto;}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}
.embed-responsive-4by3 {
  padding-bottom: 75%;
}

@media print {
	h1#heading {padding: 0; background: transparent;}
	
	/* Don't print link hrefs */
	@media print {
	  .breadcrumb a[href]:after {
		content: " /";
	  }
	}
}

/*___cookies___*/
#cookie-message 
{ 
display:block; 
width: 100%; 
padding: 2em;
background-color: #1f3d5c; 
color:#fff; 
z-index:9999; 
text-align:center; 
position: fixed;
bottom:0; 
left:0; 
} 
#cookie-message a { 
	text-decoration:underline;
	color: #fff;
} 

#cookie-chiudi 
{ 
border: solid 2px #fff;
border-radius: 3px;  
display: inline-block;
margin-left: 1em; 
cursor: pointer; 
padding:4px;
color: #fff;
background: #254a6f;
}

/*___modifiche bozza homepage___*/
#heading a {
	text-decoration: none;
	color: inherit;
}

ul.nav>li:hover, ul.nav .open>a{
	background-color: #cccccc !important;
}
ul.nav>li:hover{
	background-color: #cccccc;
}
ul.nav>li>a {
	margin: 0;
	padding: 15px;
	display: block;
}

.notizia {
	padding: 0 5px 10px 5px;
	position: relative;
}
.notizia .btn {
	position: absolute;
	bottom: 10px;
	left: 10px;
}

.notizia .media {
	border: 1px solid #9AC0D8;
	border-radius: 7px;
	position: relative;
}
.notizia .media p{font-size: 0.9em;}
.notizia .media h3{font-size: 22px;}
.notizia .media img {
	margin: 0;
	display: block;
	width: 100%;
}
.notizia .media>.media-content {
	padding: 5px;
}
.notizia .media>.media-overlay {
	display: block;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	color: white;
	position: absolute;
	bottom: 0;
}
.notizia .media>.media-overlay h3 {
	padding: 0;
	margin: 0.4em;
	font-size: 1.2em;
	text-align: center;
}
.notizia .media>.media-overlay a {
	color: white;
	display: block;
	width: 100%;
}

.notizia .syndication {
	min-height: 26em;
}

ul#navmenu {
	margin-top: 20px !important;
}

a.btn {
	background-color: #f8f8f8;
	border: 1px solid #cccccc;
	color: #444444;
}
a.btn:hover {
	background-color: #cccccc;
	border: 1px solid #cccccc;
	color: #444444;
}
.btn-primary:active, .btn-primary:focus {
	color: #444444;
	background-color: #9AC0D8;
	border-color: #9AC0D8;
}

.video-responsive {
	height: 0;
	overflow: hidden;
	padding-bottom: 56.25%;
	padding-top: 30px;
	position: relative;
}
.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/*___form per donazioni___*/

fieldset {border: 1px solid #c0c0c0; padding: 1em 2em; margin: 1.6em 0;}
fieldset legend {border: 1px solid #c0c0c0; padding: 0.3em; border-radius: 4px;}
p.help-block {font-size: 0.8em;}
form#form-donazioni input {max-width: 21em;}
form#form-donazioni select {max-width: 8em;}
input#donazioni_ccv2 {width: 8em;}

/*_fine form per donazioni___*/

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

	ul.nav {
		text-align: left;
	}
	
	.notizia {
		padding: 5px 15px;
	}
	.notizia .media h3 {
		padding: 0.2em 1em;
	}
	.notizia .media p {
		margin: 0.5em 1em;
	}
	.notizia .media img {
		display: block;
		margin: auto !important;
		clear: both;
		float: none !important;
	}

	.notizia .btn {position: static;}
}
/*___aggiunte___*/
.no-video .media-body p {min-height: 4em;}

.no-video h3.media-heading {min-height: 3.6em;}
	
.no-video {min-height: 28em;}

.media-overlay-top {
	display: block;
	width: 100%;
	color: white;
	text-transform: uppercase;
	position: absolute;
	top: 0;
	background-color: rgba(0, 0, 0, 0.6);
	background: -moz-linear-gradient(top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0) 100%);
}
.media-overlay-top p {
	padding: 5px 10px;
	margin-bottom: 0;
	text-shadow: 1px 1px 5px black;
}
.media-overlay-top a {
	color: white;
}
.fb-like.fb_iframe_widget span{
	vertical-align: baseline !important; /* riallinea tasti facebook e twitter */
}

article ol {
	list-style-position: inside;
}

/*___modifiche 22 marzo 2018___*/

section.homepage .media-content {
	background-color: white;
	width: 100%;
	-webkit-transition: -webkit-transform 0.5s ease-in-out;
	-o-transition: -o-transform 0.5s ease-in-out;
	-moz-transition: -moz-transform 0.5s ease-in-out;
	transition: transform 0.5s ease-in-out;
}
section.homepage .media-link {
	text-decoration: none;
	color: black;
}
section.homepage .media-link:hover {text-decoration: none;}
section.homepage .media-link:hover .media-title {color: #005080;}
section.homepage .media-title {margin-top: -5px;}
section.homepage .media-body {display: none; padding-bottom: 0;}
@media (max-width: 767px) {
  section.homepage .media-body {display: block;}
}
