body {
   background: #fff;
   font-family: 'Open Sans', Verdana, Tahoma, Arial, Sans Serif;
   color: #222;
}

html {
  font-size: 16px;
}

a {
  color: #810010;
}

a:hover {
	color: #a40014	text-decoration:none;
}

p a{
	text-decoration:underline;
}

h1 {
	font-size:3em;
}
h2 {
	font-size:1.7em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1em;
}

p,div,ul,ol {
	font-size: 15px;
	line-height: 22px;
}

.colore_footer {
	background:#222;
	color:#fff;
}

h1,h2,h3,h4,h5,h6 {
	color:#810010;
	font-family: 'Merriweather', Georgia , Times New Roman, Serif;
}

.img-center {
	margin:0 auto;
}

img {
	max-width:100%;
	height:auto;
}

.fondino {
	background:#eee;
}

.fondino_colore2 {
	background:#810010;
}

.clear_after:after {
	display:block;
	content:"";
	clear:both;
}

img.alignright {
  float: right;
  margin-left: 20px;
}

img.alignleft {
  float: left;
  margin-right: 20px;
}

/********* PADDING *************/

/* PADDING bottom e top 30px */
.p-bt-30 {
	padding-bottom:30px;
	padding-top:30px;
}

.p-bt-10 {
	padding-bottom:10px;
	padding-top:10px;
}

.p-t-30 {
	padding-bottom:0px;
	padding-top:30px;
}

.p-b-30 {
	padding-bottom:30px;
	padding-top:0px;
}

/******** MENU **********/
.menu_1 {
	background-color:none;
	margin-top:38px;}
.menu_1 a {
	color:#000;
}

.menu_1 a:hover {
	color:#000;
	background-color:#eee;
}

.menu_2 {
	background-color:#810010;
}

.menu_2 a {
	color:#fff;
	}

.menu_2 a:hover {
	color:#000;
	background-color:#ddd;
}

.menu_2 li, .menu_1 li {
	display: inline-block;
}

/*MENU*/
.btn-navbar {
	display:none;
}

.collapse {
	display: block;
	visibility: visible;
}

.btn-navbar {
	top: 34px;
	right: 0px;
	color: #810010;
	font-size: 25px;
	text-align: right;
}


/**** Slider ***/

#myCarousel {
	height: 400px;
	width:100%;
}

.carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.carousel .fill {
	width: 100%;
	height: 400px;
	background-position: center;
	background-size: cover;
}

.carousel .item {
	display:none;
}

.carousel .item.active {
	display:block;
}

.carousel-caption {
	width: 100%;
	right: 0px;
	left: 0px;
	padding-bottom: 20px;
	bottom: 0px;
	background: rgba(0, 0, 0, 0.6);
}

.carousel-caption a {
	background: #810010;
	text-shadow:none;
	color: #fff;
	padding: 6px 10px;
	display: inline-block;
	text-decoration:none;
}

.carousel-caption a:hover {
	background: #c50018;
	color: #fff;
	text-decoration:none;
}

.carousel-control {
	opacity:1;
	color:#fff;
}

/** News e Pagine **/
.date {
	color:#666;
	display:block;
	padding-bottom: 10px;
}

.categories {
	display:block;
	margin-bottom:5px;
}

.widget {
  list-style: none;
}

.date_event {
	font-size: 17px;
	display: block;
	padding-bottom: 10px;
	font-weight: bold;
}

.riassunto {
	margin-bottom:20px;
}

.pulsante {
	background: #810010;
	text-shadow:none; 
	color: #fff;
	padding: 6px 10px;
	display: inline-block;
	margin-top:15px;
}

.pulsante:hover {
	background: #c50018;
	color: #fff;
	text-decoration:none;
}

.pulsante2 {
	background: #00427f;
	text-shadow:none; 
	color: #fff;
	padding: 6px 10px;
	display: inline-block;
	margin-top:15px;
}

.pulsante2:hover {
	background: #006bcf;
	color: #fff;
	text-decoration:none;
}


/*sidebar*/ 
.figli_sidebar li {
	display:block;
}
.figli_sidebar li li {
	display:none;
}
.figli_sidebar .current_page_ancestor li, .figli_sidebar .current_page_item li  {
	display:block;
}

a.pagina_padre {
  font-size: 20px;
  margin-bottom: 13px;
  display: block;
  margin-top: 20px;
}

#menu_sidebar a:hover {
	text-decoration:none;
	opacity:0.7;
}

#menu_sidebar ul ul li a {
	display:block;
	padding-top:5px;
	padding-bottom:5px;
	color:#000;
}

#menu_sidebar ul ul li a:before {
	font-family: 'Glyphicons Halflings';
	content: "\e080";
	padding-left: 10px;
	padding-right: 7px;
	font-size: 9px;
	color:#666;
}

#menu_sidebar ul ul li.page_item_has_children a:before {
	content: "\e074";
}

#menu_sidebar ul ul ul li a:before {
	padding-left:20px;
}
#menu_sidebar ul ul ul ul li a:before {
	padding-left:30px;
}

#menu_sidebar .page_item_has_children.current_page_item>a:before, #menu_sidebar .page_item_has_children.current_page_ancestor>a:before{
	content: "\e114";
}

#menu_sidebar ul {
	list-style: none;
	padding: 0px;
}

#menu_sidebar ul li {
	border-bottom:1px solid #eee;
}
#menu_sidebar ul li:last-child {
	border-bottom:0px;
}

#menu_sidebar .current_page_item>a, #menu_sidebar .current_page_item>a:before {
	color:#810010;
}

/* ul glyphicons */

ul.glyphicons-lista li:before {
	color:#810010;
}

/**** EVENTI ***/ 
.evento_passato p,.evento_passato h2,.evento_passato h3, .evento_passato .date, .evento_passato span, .evento_passato img {
	opacity:0.5;
}
#map_canvas {
	width:100%;
	height:250px;
	background:#ddd;
}

/* Footer */ 
#footer ul {
	list-style:none;
	padding:0px;
}

#footer ul li {
	padding: 5px 0;
}

#footer ul li a {
	color:#fff;
}

/** Gallery **/
.gallery-item {
  float: left;
  margin-top: 0px;
  text-align: center;
  width: 31%;
  margin-bottom: 10px;
}

.thumb_video {
	position: relative;
    display: block;
}

.thumb_video .play-icon:before {
	font-size: 30px;
	text-decoration: none;
	color: #fff;
	width: 99px;
	height: 99px;
	overflow: hidden;
	margin: -49px 0 0 -49px;
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	content: " ";
	background:url("../i/youtube-play.png") no-repeat center center;
}
.privacy{
    margin-bottom: 25px;
    text-align: center;
}

.privacy a{
    color: #fff !important;
}
.progetti-realizzati a {
    background: #950010;
    padding: 15px;
    font-size: 17px;
    color: white;
    display: inline-block;
    margin-bottom: 25px;
}


@media (max-width:992px) {
	/*MENU*/
	.btn-navbar {
		display:block;
		overflow:hidden;
	}

	.collapse {
		visibility: hidden;
		display:none;
	}
	.nav-collapse, .nav-collapse > div {
		padding-top:0px;
		padding-bottom:0px;
		margin-top:0px;
		margin-bottom:0px;
	}
	.nav-collapse ul li {
		width:100%;
		border-top:1px solid #ddd;
	}
	.nav-collapse ul li:first-child {
		border-top:0px;
	}
	.carousel .fill { 
		background-size:1000px 210px;
	}
	#myCarousel,  .carousel .fill{
		height: 210px;
		
	}
	
	.carousel-control {
		z-index:30000;
	}
	.carousel-caption p, .carousel-caption a {
		font-size: 10px;
		line-height: 14px;
		padding: 0 50px;
	}
	.carousel-caption {
		padding-right:40px;
		padding-left:40px;
	}

}

@media (max-width:768px) {
	
	table {
		overflow-x: auto;
		display: block;
	}

	
}
.search-field {
	background-color: transparent;
	background-image: url("../i/search-red.png");
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	border: none;
	cursor: pointer;
	height: 20px;
	margin: 3px 0;
	padding: 0 0 0 34px;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition: width 400ms ease, background 400ms ease;
	width: 0;
	font-weight: 400;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}

.search-form .search-submit {
  display: none;
}

@media (min-width:998px) {
    .search-form {
        position: absolute;
        right: 10px;
        top: 73px;
    }
    /*
    .search-field:focus {
        background-color: #fff;
        border: 1px solid #c3c0ab;
        cursor: text;
        outline: 0;
        width: 230px;
    }*/
    .search-field:focus {
        background-color: #fff;
        border: 1px solid #c3c0ab;
        cursor: text;
        outline: 0;
        width: 142px;
        text-align: right;
        padding: 15px;
    }
}
@media (max-width:998px) {
    .search-field {
        background-color: #fff;
        border: 1px solid #c3c0ab;
        cursor: text;
        outline: 0;
        width: 100%;
        padding: 15px 45px;
    }
}