body {
   background: #fff;
   font-family: 'Lato', sans-serif;;
   color: #222;

}

#h1_home {
	margin-left:-30000px;
	position:absolute;
}

a {
  color: #005c8a;
}

a:hover {
	color: #737373;
	text-decoration:none;
}

p a{
	text-decoration:underline;
}

h1 {
	font-size:2em;
line-height: 1.3em;
}
h2 {
	font-size:1.4em;
    line-height: 1.2em;
	margin-bottom: 2px;
}
h3 {
	font-size: 1.3em;
}
h4 {
	font-size: 1em;
}

p,div,ul,ol {
	font-size: 18px;
	line-height: 26px;
}
p{
	margin-block-start: 5px;
    margin-block-end: 5px;
}

.colore_footer {
	background:#222;
	color:#fff;
}

h1,h2,h3,h4,h5,h6 {
	color:#333;
	font-family: 'Lato', sans-serif;;
	font-weight:700;
}

#content_all {
	width:px;
	background:#fff;
	margin:0 auto;
}

.min_height_0 {
	min-height: 0px;
}

.text-right {
	text-align:right;
}

.text-center {
	text-align:center;
}

div#grid_page .col-sm-4 {
    margin-bottom: 60px;
}

.img-center {
	margin:0 auto;
}

img {
	max-width:100%;
	height:auto;
}

.fondino {
	background:#eee;
}

.fondino_colore2 {
	background:#333;
}

.clear_after:after, .clear_before:before {
	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-10 {
	padding-bottom:0px;
	padding-top:10px;
}

.p-b-10 {
	padding-bottom:10px;
	padding-top:0px;
}


.p-t-30 {
	padding-bottom:0px;
	padding-top:30px;
}

.p-b-30 {
	padding-bottom:30px;
	padding-top:0px;
}

/******** MENU **********/
.menu_1 {
	background-color:transparent;
	}
.menu_1 a {
	color:#000; 
	font-size:13px;
}

.menu_1 a:hover {
	color:#000;
	background-color:#f4f4f4;
}

.menu_2 {
	background-color:#333;
}

.menu_2 a {
	color:#fff;
	font-size:15px 
}

.menu_2 a:hover {
	color:#000;
	background-color:#666;
}

.menu_2 li, .menu_1 li {
	display: inline-block;
}

.menu_2 li ul li, .menu_1 li ul li{
	display: block;
}

/*MENU*/
.btn-navbar {
	display:none;
}

.collapse {
	display: block;
	visibility: visible;
}

.btn-navbar {
	top: 34px;
	right: 0px;
	color: #333;
	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: #737373;
	text-shadow:none;
	color: #fff;
	padding: 6px 10px;
	display: inline-block;
	text-decoration:none;
}

.carousel-caption a:hover {
	background: #aaa;
	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, .btn-primary, button {
	background: #737373;
	text-shadow:none; 
	color: #fff;
	padding: 13px 25px;
    font-size: 16px;
    display: inline-block;
    margin-top: 15px;
    border: 0px;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
}

.pulsante:hover, .btn-primary:hover {
	background: #aaa;
	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;
}
.figli_sidebar li li li a {
    padding-left: 40px;
}

.figli_sidebar li li a {
    padding-left: 20px;
}

a.pagina_padre {
  font-size: 20px;
  margin-bottom: 13px;
  display: block;
  margin-top: 20px;
  text-decoration: none;
}

#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;
    text-decoration: none;
    font-weight: bold;
}
.figli_sidebar .children li a {
    font-weight: normal !important;
}

#menu_sidebar ul ul li.page_item_has_children a {
    font-weight: normal !important;
}
#menu_sidebar ul ul li a:before {
	/*content: " ";*/
	padding-left: 10px;
	padding-right: 15px;
	font-size: 9px;
	color:#666;
}

#menu_sidebar ul ul li.page_item_has_children a:before {
	content: " ";
}

#menu_sidebar .page_item_has_children.current_page_item>a:before, #menu_sidebar .page_item_has_children.current_page_ancestor>a:before{
	content: " ";
}

#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 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:#005c8a;
}

/* ul glyphicons */

ul.glyphicons-lista li:before {
	color:#005c8a;
}

/**** 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: 23% !important;
    padding: 5px;
  /*width: 100%; */
  margin-bottom: 10px;

}
/*
.gallery-columns-3 {
    grid-template-columns: 1fr 1fr 1fr;
    display: grid;
    column-gap: 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;
}


a.no-decoration{
    text-decoration: none;
}
h3.title-sidebar{
    color: #005c8a;
}/*
ul.ul-sidebar{
    list-style: none;
    padding-left: 0;
}
ul.ul-sidebar a {
    color: #000;
    text-decoration: none;
    padding: 4px 0;
    display: block;
    border-bottom: 1px solid #eee;
    font-weight:bold;
}
ul.ul-sidebar a.current {
    color: #005c8a;
}
ul.ul-sidebar ul {
    list-style: none;
    padding: 0;
}
ul.ul-level2 li a, ul.ul-level3 li a{
    font-weight:normal;
}

ul.ul-level2 li a:before {
    content: " ";
	padding-left:20px;
}
ul.ul-level3 li a:before {
    content: " ";
	padding-left:40px;
}*/


.hide-screen-show-mobile {
	display:none !important;
}

.show-screen-hide-mobile {
	display: block !important;
}

@media (max-width:992px) {
	
	.hide-screen-show-mobile {
		display: block !important;
	}
	
	.show-screen-hide-mobile {
		display:none !important;
	}
	
	/*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 365px;
	}
	#myCarousel,  .carousel .fill{
		height: 365px;
		
	}
	.carousel-caption p, .carousel-caption a {
		font-size: 10px;
		line-height: 14px;
		padding: 0 50px;
	}

}

@media (max-width:768px) {
	
	table {
		overflow-x: auto;
        display: block;
        max-width: calc(100vw - 40px);
	}
	
    .gallery-item {
      width: 45% !important;
    }

	
}

@media (max-width:400px) {
	.accua-form .pfbc-label, .accua-form .pfbc-fieldwrap {
		width:95% !important;	
	}
}
