 
 /* COLORI giallo: #f7ca02 rosso #e4011c giallo opaco #e5d49e
 1) #e4011c - DOVE - page-header background, link #navbar, icona menu mobile, link prefooter, footer background, bordo superiore region-postcontent-full, form placeholder, bordo giorno evento calendario 
 2) #e5d49e - DOVE - sfondo post-content e prefooter, riga mesi calenadario
 3) #851013	- DOVE - titoli, menu hover, link
 4) #c5383c - DOVE - colore più chiaro del principale
 5) #8e8e8e - DOVE - bottoni
 6) #333333 - DOVE - tutti testi neri normali
 */
 
 /* dimensione immagini
 
home slider 1920x676 che diventa 1140x400
pagine: foto larga (come slider) con titolo sopra
immagini pagine articoli e eventi: 800x400
iconcina: 264x132 

*/
  
 
body {
  font-family: Raleway, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}
p,li,a {
  font-family: Raleway, sans-serif;
}

a {
  color: #851013;/* oppure a75f5b */
  text-decoration: underline;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
a:hover,a:focus {
  color: #e5d49e;
  text-decoration: underline;
}

h2 a, h3 a,.nav a, .nav a:hover, .nav a:focus{text-decoration: none;}

h1,h2,h3,h4 {
	font-family: 'PT Sans Narrow', sans-serif;
	font-weight: 700;
	line-height: 1.2;
	color: #e4011c;
	border-bottom: 0px;
	margin: 40px 0 20px;
	padding-bottom: 9px;
}
h1,h2 {
  margin-top: 45px;
  margin-bottom: 11px;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 36px;
}
h3 {
	font-family: 'PT Sans Narrow', sans-serif;
	line-height: 1.2;
	color: #851013;
	font-weight: 600;
	text-transform: uppercase;
	margin: 10px 0 5px;
	font-size: 18px;
}
h4 {
	font-family: 'PT Sans Narrow', sans-serif;
	line-height: 1.2;
	color: #c5383c;
	font-weight: normal;
	text-transform: none;
	margin: 5px 0;
	font-size: 24px;
	font-style:italic;
}
h5 {
	font-family: Raleway, sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.6;
	color: #c5383c;
	text-transform: uppercase;
	margin: 10px 0 5px 20px;
}

/* regioni */

@media (min-width: 768px) {
  .region-top-header-form > nav {
    width: auto;
    align-content: center;
  }
}	
.region-top-header-form > div {
  width: auto;
  align-content: center;
}

/* preheader*/
@media screen and (max-width: 768px){
#navbar-top .menu--main {
    display: none;
}
}	
@media screen and (min-width: 768px){
#navbar-main .menu--main {
    display: none;
}
}	

#navbar-top .navbar-form.ms-auto {
  margin-left: 0 !important;
}
#navbar-top{
	background-color: #88a083;
	border-bottom: 2px solid #e7e7e7;
	padding: 0;
}
#navbar-top .nav-link {
    color: #fff;
	line-height: 1;
	padding: 7px 15px;
	height:37px;
}
#navbar-top .nav-link:hover,#navbar-top .nav-link:focus,#navbar-top .nav-link.active{
	background-color: #c1d0bc;
	color: #536345;
}
#navbar-top ul.nav {
	background-image: url('images/granara-simbolo.png');
	padding-left: 30px;
	background-repeat: no-repeat;
	background-position: 0 10px;
}
#navbar-top ul.nav li{
	height:37px;
}
@media (min-width: 768px) {
  .navbar-nav {
    flex-direction: row;
  }
}

/* blocco lingua */
.block-language {
  padding-top: 5px;
  margin-right: 10px;
}
.block-language h2{
	color: #eee;
	float: left;
	margin: 5px 5px 0 0;
	border: none;
	font-weight: normal;
	font-size: 12px;
	text-transform: none;
}
.block-language a{
  color: #fff;
}
.block-language nav{
	list-style: none;
	margin:0;
	padding:0px;
	font-size: 14px;
}
#navbar-top .block-language nav .nav-link{
	border-radius: 0px;
	padding:7px 5px;
	text-align: center;
	color:#fff;
	font-size: 12px;
}
#navbar-top .block-language .nav-link:hover,#navbar-top .block-language .nav-link:focus,#navbar-top .block-language .nav-link.active{
	background: none;
	color: #536345;
}

.block-language a:hover, .block-language a:focus{
	border-bottom: 2px solid #FFF;
	color:#FFF;
}
.block-language a.is-active{
	border-bottom: 2px solid #FFF;
	font-weight: bold;
	color:#FFF;
}
@media(max-width:767px){
.navbar-collapse .block-language nav{
	margin-top:20px;
}
}

/* social barra menu*/
a.social {
	color: #fff;
	line-height: 1;
	text-decoration: none;
	font-size: 18px;
}

/* social sharehis */

.sharethis-wrapper span {
    display: inline-block;
	 font-family: "FontAwesome";
	color:#851013;
	 font-size: 22px;
    padding: 0 12px;
	cursor:pointer;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
   
}
.sharethis-wrapper span:hover {
    color:#c5383c;
    
}

.sharethis-wrapper span:last-child{
	padding: 0 0 0 8px;
	}
	
.st_facebook_custom::before {
  content: "\f09a";
}

.st_pinterest_custom::before {
  content: "\f231";
}

.st_twitter_custom::before {
  content: "\f099";
}

.st_googleplus_custom::before {
  content: "\f0d5";
}

.st_sharethis_custom::before {
  content: "\f1e0";
}

/* Search block */
header #search-block-form {
  margin: 0;
  padding: 0px;
  font-size: 14px;
  line-height: 1;
  position:relative;
}
header #search-block-form > div{
  margin: 0 !important;
  padding: 0px;
  
}
header .form-search, header .form-submit{
	border-radius: 0px;
}
#search-block-form .form-control {
  border: 0;
  box-shadow: none;
  background-color: transparent;
  width: 130px;
  padding: .3rem;
  height: 30px;
  margin-top: 4px;
}
#search-block-form .form-control:focus {
  border-bottom: 1px solid #dfdfdf;
}
#search-block-form input[type="submit"] {
  color: transparent;
  width: 30px;
  height: calc(2.25rem + 2px);
}
#search-block-form #edit-actions::before {
	font-family: "Font Awesome 5 Free";
	font-size: 22px;
	font-weight: 900;
	content: "\f002";
	position: absolute;
	display: block;
	top: 8px;
	left: 130px;
	pointer-events: none;
}



/* logo e slogan */
.navbar-header p.lead{
	clear: left;
    font-size: 16px;
    margin: 0;
}

/* menu */
.nav span.menutitle {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
}
.nav span.menusub {
    text-transform: none;
    font-weight: normal;
	font-size:12px;
	display: block;
}
.navbar-header:after {
    clear: none;
}
.navbar-header {
    margin-top: 10px;
}
#navbar-main  ul.navbar-nav {  margin-bottom:20px;}
#navbar-main  li a {
	padding-bottom: 7px;
	padding-top: 11px;
	display:block;
    color: #88a083;
    border-bottom: 1px solid #88a083;
	font-weight: bold;
	margin:0
}
#navbar-main .menu--menu-menu-secondario ul li a {

    color: #e4011c;
    border-bottom: 4px solid #e4011c;
	margin:0 0 0 5px;
}

#navbar-main  li a:hover, #navbar-main .menu--menu-menu-secondario ul li a:hover,#navbar-main .menu--menu-menu-secondario ul li a.active {
    color: #851013;
    border-bottom: 4px solid #851013;
}
#navbar-main  li a.active {
    color: #851013;
    border-bottom: 4px solid #851013;
}


.nav, .navbar { 
  font-family: Raleway, sans-serif;
  font-weight: normal;
  line-height: 1.2;
  color: #ffffff;
  font-size:14px;
}

.navbar { 
background-color: #FFF;
border-color: #FFF;
}

#navbar-main .menu--menu-menu-secondario ul li  ul.dropdown-menu li a {
    border-bottom: 0;
	margin:0;
}

.dropdown-menu {
    background-color: #ffffff;
    border: none;
    border-radius: 0px;
    font-size: 14px;
    margin: 4px 0 0;
    min-width: 140px;
    padding: 5px 0;
	left: 5px;
  font-family: Raleway, sans-serif;
  font-weight: 700;
  border-bottom: 4px solid #851013;
}


.dropdown-menu  li{clear: both;  display:block; border-bottom: 1px solid #c5383c; width: 100%;}

.dropdown-menu  li:last-child{ border-bottom:none; }

.dropdown-menu > li > a {
    clear: both;
    color: #e4011c;
    display: block;
    font-weight: 700;
    line-height: 1.42857;
    padding: 7px 20px;
    white-space: nowrap;
    width: 100%;	
}
.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus  {
    background-color: #ffffff;
    color: #851013;
    text-decoration: none;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-color: #ffffff;}

/* menu mobile */
@media(max-width:767px){
		#page-header .block-menu {display:none;}
		#block-search-form {
		width: 100px;
	}
	.navbar-default .navbar-toggle .icon-bar {
		background-color: #e4011c;
	}
	.navbar-collapse.in {
		overflow-y: visible;
	}
	.pull-left {
		float: none !important;
	}
	.navbar-default .navbar-collapse, .navbar-default .navbar-form {
		border-color: #fff;
	}


	.navbar-collapse nav li {
		display: block;
		position:relative;
		float: none;
		height: auto;
		margin-left: 0;
	}

	.navbar-collapse nav ul {
		display: block;
		height: 100%;
		margin-left: 0;
		overflow: hidden;
		position: relative;
		width: 100%;
		margin-right:10px;
	}
	#navbar-main .navbar-collapse .menu--secondary-menu li a{
		display: block;
		color: #b87340;
		border-bottom: 1px solid #b87340;
		font-weight: bold;
		margin: 0;
		padding: 11px 7px 11px 0;
	}
	#navbar-main .navbar-collapse .menu--secondary-menu li a:hover,#navbar-main .navbar-collapse .menu--secondary-menu li a:focus,#navbar-main .navbar-collapse .menu--secondary-menu li a.active{
		color: #7c3e3d;
		border-bottom: 1px solid #7c3e3d;
	}

	/* biscotto */
	.navbar-default .navbar-toggle {
		border: 0px;
		padding: 4px;
	}
	.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
		background-color: #ffffff;
	}
	.navbar-toggle .icon-bar {
		background-color: #FFF;
		display: block;
		height: 3px;
		width: 28px;
	}
	#navbar-main .menu--menu-menu-secondario ul li a {
		color: #851013;
		border-bottom: 1px solid #851013;
			padding-bottom: 20px;
		padding-top:20px;
		margin:0;
	}



	#navbar-main  li a:hover, #navbar-main  li a.active, #navbar-main .menu--menu-menu-secondario ul li a:hover,#navbar-main .menu--menu-menu-secondario ul li a.active {
		color: #7c3e3d;
		border-bottom: 1px solid #7c3e3d;
	}


	#navbar-main .menu--menu-menu-secondario ul li ul.dropdown-menu li:last-child a{ border-bottom: 1px solid #c5383c; }

	#navbar-main .menu--menu-menu-secondario ul li ul.dropdown-menu  li:last-child a:hover, #navbar-main .menu--menu-menu-secondario ul li ul.dropdown-menu  li:last-child a.active{ border-bottom: 1px solid #c5383c; }

}


/* Medium devices (desktops, 992px and up) */
@media (min-width: 768px) {
#navbar-main  li a {
    padding-bottom: 7px;
    padding-top:11px;
	display:block;
    color: #b87340;
    border-bottom: 4px solid #b87340;
	font-weight: bold;
	margin:0 0 0 5px;
}
#navbar-main  li a:hover {
    color: #7c3e3d;
}
#navbar-main  li a.active {
    color: #7c3e3d;
    border-bottom: 4px solid #7c3e3d;
}
#navbar-main  ul.navbar-nav { border-bottom: 0; margin-bottom:0px;}

#navbar-main  .menu--menu-menu-secondario ul  li a {
    border-bottom: 4px solid #e4011c;
}
}



/* home */

.view-id-slideshow_home .carousel-caption h3 {
    position: absolute;
	left: 8%;
    background-color: transparent;
    color: #fff;
	font-size: 50px;
    font-weight: bold;
    text-transform: none;
    width: 84%;
    bottom: 20%;
    text-align: center;
	text-shadow: 0px 0px 18px rgba(0, 0, 0, 0.5);
}

.view-id-slideshow_home .carousel-caption h3 a{
	color:#fff;
	text-decoration:none;
	font-weight: bold;
	text-transform: none;
	letter-spacing: normal;
}
.view-id-slideshow_home .carousel-caption h3 .small{
	font-size: 30px;
}
.view-id-slideshow_home .carousel-caption h3 a:hover{
	color:#ccc;
	text-decoration:none;
}
.block-spiega .block-title{
    font-family: 'PT Sans Narrow', sans-serif;
	font-weight: 700;
	color: #c5383c;
	padding: 0;
}
.blocco-temi .block-title{
	font-weight: 700;
	text-transform: uppercase;
	font-size: 18px;
	color: #000;
	padding: 0;
}
.blocco-temi ul.menu li a{
    font-family: 'PT Sans Narrow', sans-serif;
	font-size: 24px;
	font-style:italic;
    padding: 0 10px 0 0;
    line-height: 1.2;    
    color: #777;
}
.blocco-temi ul.menu li a:hover{
    color: #851013;;
}
.blocco-temi ul.menu li a:after{
    content: ",";
    display: inline;
}
.blocco-temi ul.menu li:last-child a:after{
    content: "";
}
#block-system-main{
	clear:both;
}
.view-id-frontpage{
	margin:0 0 20px 0;
}

/* contenuto */
.main-container {
   margin-top:30px;
}

.front .main-container {
   margin-top:15px;
   margin-bottom:15px;
}

.node .field-name-field-immagine img{
	margin:0 auto;
}
.node{
    max-width: 700px;
    margin:10px auto;
}
.node.node-sticky{
    max-width: 100%;
    margin:0;
}
.sidebar-contents .node {
    margin: 0;
    max-width: auto;
}
.node .field-name-body h2{
    color: #851013;
	font-weight: 500;
	text-transform: none;
	clear:both;
}
.node .field-name-field-data{
	font-family: 'PT Sans Narrow', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: #851013;
    margin: 10px 0;
    padding-bottom: 9px;
    text-transform: uppercase;
}
.node .field-type-taxonomy-term-reference{
    color: #851013;
    font-size: 12px;
    padding:10px 0 0 10px;
    float: right;
    line-height: 1.2;
}
.node .field-name-field-file-allegati{
    padding:10px 0;
}


.sidebar-contents .node .field-name-body h2 {
    margin-top: 0;
}



.node .field-name-body h3{
    color: #851013;
	margin-top: 15px;
	margin-bottom: 0;
	font-weight: 600;
	text-transform: uppercase;
}

img.destra{
    float:right;
    width: 400px !important;
    height:auto ! important;
	margin-right: -100px;
	margin-left: 1.5em;
	margin-bottom: 0.5em;
}
img.centro{
    float:none;
    width:100% !important;
    height:auto ! important;
}
img.sinistra{
    float:left;
    width: 400px !important;
    height:auto ! important;
	margin-left: -100px;
	margin-right: 1.5em;
	margin-bottom: 0.5em;
}
a.approfondisci{
    padding: 0;
    line-height: 1.2;
    color: #851013;
    font-size: 12px;
    text-decoration: none;
    display: block;
}
a.approfondisci:hover,a.approfondisci:focus {
  color: #851013;
}
/*postcontent */
.featured-bottom{
    border: 0;
    margin: 0;
    padding: 0;
	background-color: #e5d49e;
}
.featured-bottom .block{
    padding-top: 20px;
    padding-bottom: 20px;
}
.featured-bottom .block-title,.featured-bottom h2{
	color: #851013;
	font-weight: 700;
	text-transform: uppercase;
}
.featured-bottom .view .views-field-title.views-field-title a{
	color: #fff;
    font-family: 'PT Sans Narrow', sans-serif;
	font-weight: 700;
	font-size: 24px;
}
.featured-bottom .view .views-field-title.views-field-title a:hover{
	color: #851013;
}
.featured-bottom .view .views-field-field-data,.featured-bottom .views_slideshow_main .views-field-field-data{
	color: #fff;
	text-transform: lowercase;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 18px;
	float:none;
}
.featured-bottom .view-footer a{
	color: #851013;
    font-family: 'PT Sans Narrow', sans-serif;
	font-size: 24px;
	text-decoration:none;
}
.featured-bottom .view-footer a:hover,.featured-bottom a:hover{
	color: #ffffff;
}

/*featured-bottom2 */
.postcontent_full{
	clear:both;
}
.postcontent_full .block{
    margin: 0;
	clear:both;
	background-color: #fff;
}
.postcontent_full .block-content{
	padding: 20px 15px;
    margin: 0 auto;
}
.postcontent_full h2.block-title{
	padding: 0;
    margin: 20px 0 0 0;
}
.postcontent_full .full{
	margin: 0;
    padding: 0;
    max-height: 600px;
    overflow: hidden;
}
.postcontent_full .full  .block-content{
	padding: 0;
    margin: 0;
    width:100%;
}
.postcontent_full .full  p{
	padding:0;
	margin:0;
}
.postcontent_full .full  img{
	width: 100%;
}

.site-footer {
  padding:0;
  background: #e5d49e;
}
/*prefooter */
.featured-bottom{
	background-color: #93a685;
}
.site-footer__top {
  padding:0;
  background: #e5d49e;
}

.site-footer_first{
	background-color: #fff;
    border: 0;
    margin: 0;
    padding: 0;
}
.site-footer_second{
	background-color: #fff;
    border: 0;
    margin: 0;
    padding: 0;
}
.site-footer__top .site-footer_second p{
    margin: 0;
    padding: 0;
}
.site-footer .site-footer_second .block{
    margin: 0;
    padding: 0;
}
.site-footer_third{
	background-color: #fff;
    border: 0;
    margin: 0;
    padding: 0;
	font-size: 16px;
}

.site-footer .block {
  margin: 10px 0;
  padding: 10px;
}
.site-footer .content {
  color: #333333;
  font-size: 16px;
}
.site-footer .content a{
	color: #b77982;
}
.site-footer .content a:hover,.site-footer .content a:focus {
	color: #7c3e3d;
} 

.site-footer .site-footer_third .content {
	font-size: 18px;
}
.site-footer .site-footer_third .content a {
	text-decoration: underline;
}

.site-footer_fourth{
    border: 0;
    margin: 10px 0 0 0;
    padding: 10px 0 0;
	font-size: 16px;
}
.site-footer_fourth h2,.site-footer_third h2 {
	border-bottom: 0px;
	margin: 10px 0;
	padding-bottom: 9px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 20px;
	font-family: 'Raleway', sans-serif;
	line-height: 1.2;
	color: #3c342f;
	text-align: left;
}

.site-footer_fourth a:hover, .site-footer_fourth a:focus{
	color:#e4011c;
}
.site-footer_fourth .block,.site-footer_fourth .block{
	padding: 10px 15px;
	margin:0;
}
.site-footer_fourth .block-title, .site-footer_fourth .block-title {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 20px;
}
.site-footer_fourth  .nav > li > a {
	padding: 0 8px;
}

.site-footer_fourth  .nav > li {
	clear:both;
	text-align:center;	
	display:inline-block;
}
.site-footer_fourth  .nav > li > a,.site-footer .site-footer_fourth .content a {
color: #88a083;
}
.site-footer_fourth  .nav > li > a:hover, .site-footer_fourth  .nav > li > a:focus, .site-footer .site-footer_fourth .content a:hover,.site-footer .site-footer_fourth .content a:focus {
    background-color: unset;
    text-decoration: none;
	color: #7c3e3d;
} 

.site-footer_fourth nav{
	width: 100%;
}
.site-footer_fourth .nav{
	justify-content: center;
}


/*footer */
.site-footer__bottom {
	border: 0;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 13px;
	background-color: #88a083;
	color: #fff;
}
.site-footer__bottom .region-footer-fifth{
	border:0;
    margin: 0;
    padding: 10px;
}
.site-footer__bottom .block {
  margin: 0;
  border: 0;
  padding: 0;
}
.site-footer__bottom .content {
	text-align: center;
	font-size: 13px;
	color: #fff;
}
.site-footer__bottom p {
  margin-bottom: 0;
}

.site-footer__bottom .content a{
  color: #fff;
}
.site-footer__bottom .content a:hover{
	color: #7c3e3d;
}

/*************** GENERALI ***********/
/* accordion */

.panel-group .panel {
    border-radius: 0;
    margin-bottom: 0;
}
.panel-default {
    border-color: #fff;
}
.panel {
    background-color: #fff;
    border-bottom: 1px solid #851013;
    border-radius: 0px;
    box-shadow: 0 ;
    margin-bottom: 20px;
}

.panel-default > .panel-heading {
    background-color: #fff;
    border-color: #851013;
    color: #851013;
	padding: 10px 0;
}

.panel-title {
    color: #851013;
    font-size: 24px;
    margin-bottom: 0;
    margin-top: 0;
	font-style: normal;
}
.panel-title a{
	text-decoration:none;
}
.panel-title a:before{
	content:">";
}

.panel-title a:hover, .panel-title a:focus{
	color:#851013;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
    border: 0;
}

.panel-body {
    padding: 0 0 10px;
}

.views-bootstrap-accordion-plugin-style{border-top: 1px solid #851013; max-width:800px;}

.views-bootstrap-accordion-plugin-style .views-field-body {padding:15px 0 0;}

@media screen and (min-width: 768px){
.panel-title {
    font-size: 36px;
    text-decoration: none;
}

.views-bootstrap-accordion-plugin-style .views-field-body {padding:30px 30px 15px;}

.panel-body {
    padding: 0 15px 15px;
}
}

/* carousel */
.carousel-control.left, .carousel-control.right {background-image: none;}

/** slideshow 4 colonne **/
.view .col img, .views_slideshow_main .views-row img, .jcarousel-skin-default .views-row img{
	border:1px solid #dfdfdf; width:100%; height:auto;
}
.view .views-field-type, .views_slideshow_main .views-field-type, .jcarousel-skin-default .views-field-type{
	font-family: 'PT Sans Narrow', sans-serif;
	color: #851013;
	text-transform: lowercase;
	float:left;
}
.view .views-field-field-data, .views_slideshow_main .views-field-field-data, .jcarousel-skin-default .views-field-field-data{
	font-family: 'PT Sans Narrow', sans-serif;
	color: #851013;
	text-transform: lowercase;
	float:right;
}
.view .views-field-field-immagine, .views_slideshow_main .views-field-field-immagine, .jcarousel-skin-default .views-field-field-immagine{
	clear:both;
}
.view .views-field-title, .views_slideshow_main .views-field-title, .jcarousel-skin-default .views-field-title{
	color: #851013;
	padding: 10px 0;
	font-size:24px;
	/*min-height: 100px;*/
}
.view .views-field-title a, .views_slideshow_main .views-field-title a, .jcarousel-skin-default .views-field-title a{
	color: #c5383c;
	text-decoration:none;
}
.view .views-field-title a:hover, .views_slideshow_main .views-field-title a:hover, .jcarousel-skin-default .views-field-title a:hover {
    color: #851013;
}
.view .views-field-body, .views_slideshow_main .views-field-body, .jcarousel-skin-default .views-field-body{
	padding: 10px 0;
	line-height: 1.2;
	text-decoration:none;
	overflow:hidden;
}
.view .views-field-view-node a, .views_slideshow_main .views-field-view-node a, .jcarousel-skin-default .views-field-view-node a{
	padding: 0;
	line-height: 1.2;
    color: #c5383c;
	font-size:12px;
	text-decoration:none;
}
.view .views-field-view-node a:hover, .views_slideshow_main .views-field-view-node a:hover, .jcarousel-skin-default .views-field-view-node a:hover{
    color: #c5383c;
}
.views_slideshow_main .views-row {
	display:block;
    width: 100%;
	max-width:500px;
	height:540px;
	margin: 0 auto 20px;
	padding-bottom: 20px;
}
.views-slideshow-cycle-main-frame{
  position: relative !important;
  width: 100% !important;
  height:2280px;
}
.views-slideshow-cycle-main-frame-row{
  width: 100% !important;
}
.views-slideshow-controls-text {
    position: relative;
    height: 50px;
    z-index: 10;
    margin-top: 20px;
}
.views-slideshow-controls-text-next {
    background: url('images/right.png') right top no-repeat;
    float: right;
    margin-right: 10px;
}
.views-slideshow-controls-text-pause {
    display: none;
}
.views-slideshow-controls-text-previous {
    background: url('images/left.png') left top no-repeat;
    margin-left: 10px;
}
.views-slideshow-controls-text-next, .views-slideshow-controls-text-previous {
    text-indent: -999px;
    display: inline-block;
    width: 18px;
    height: 30px;
    overflow: hidden;
    opacity: 1;
    -webkit-transition: opacity 0.25s;
    -moz-transition: opacity 0.25s;
    -o-transition: opacity 0.25s;
    transition: opacity 0.25s;
}
.views-slideshow-controls-text-next:hover, .views-slideshow-controls-text-previous:hover {
    opacity: 0.7;
}

/** jcarousel responsive h:400px **/
.jcarousel-skin-default .jcarousel-container-horizontal {
    height: 450px;
    padding: 0;
    margin:0;
}
.jcarousel-skin-default .jcarousel-item {
    height: 400px;
    border: 0;
    width: 264px;
    text-align: left;
    margin: 0 20px 20px 0;
    padding: 0;
}
.jcarousel-skin-default .jcarousel-next-horizontal {
    position: absolute;
    bottom: 0;
    right: 10px;
    background: url('images/right.png') right top no-repeat;
}
.jcarousel-skin-default .jcarousel-prev-horizontal,.jcarousel-skin-default .jcarousel-next-horizontal {
    position: absolute;
    top: 420px;
    width: 18px;
    height: 30px;
}
.jcarousel-skin-default .jcarousel-prev-horizontal {
    left: 0;
    background: url('images/left.png') left top no-repeat;
}
.jcarousel-skin-default .jcarousel-next-horizontal {
    right: 0;
    background: url('images/right.png') right top no-repeat;
}
.jcarousel-skin-default .jcarousel-prev-horizontal:hover,.jcarousel-skin-default .jcarousel-next-horizontal:hover {
    opacity: 0.7;
    background-position: 0;
}

/* blocchi */
.region-postcontent-full .block-views .block-content {
    margin-top:20px;
    border-top: 1px dotted #e4011c;
    padding-top:10px;
}

.front .region-postcontent-full .block-views .block-content {
    border-top: 0;
}

.region-postcontent-full .block-views  .block-title{
padding:20px 0 30px;
}

/* campi titoli */
h1.title {
	font-family: 'PT Sans Narrow', sans-serif;
	font-weight: 700;
	line-height: 1.2;
	color: #851013;
	border-bottom: 0px;
	margin: 10px 0;
	padding-bottom: 9px;
	font-size: 48px;
	text-transform: capitalize;
}
.block-title,h2 {
	font-family: 'Raleway', sans-serif;
	font-weight: normal;
	line-height: 1.2;
	color: #851013;
	border-bottom: 0px;
	margin: 10px 0;
	padding-bottom: 9px;
	font-size: 24px;
}
.views-field-title { 
  font-family: 'PT Sans Narrow', sans-serif;
	font-weight: 700;
	line-height: 1.2;
	color:#851013;
	margin:0;
	padding:15px;
	min-height: 40px;
}
.field-type-datetime{
	margin:-10px 0 20px;
}

.sidebar_second h2{
font-size:16px;
font-weight:bold;
text-transform:uppercase;
}
.sidebar_second .block {
  border:0;
  padding: 5px;
  margin: 30px 0;
}
.sidebar_second h2 {
  border: 0;
}
.sidebar_second .block .content {
  font-size: 16px;
  line-height: 1.6;
}
/******* in fondo: media screen ***********/
/* desk */
@media screen and (min-width: 768px){
.main-container {
   margin-top:50px;
}
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1164px;
  }
}
.front .main-container {
   margin-top:30px;
   margin-bottom:30px;
}



	#navbar-main ul.menu.nav.navbar-nav {display:none;}
	#navbar-main .menu--menu-menu-secondario ul {  margin: 20px 0 10px 0;height: auto;}
	#navbar-main .navbar-collapse {padding: 0;}
	.carousel-indicators {bottom: 0;}
	.views_slideshow_main .views-row {
		float:left;
		width: 340px;
		height:500px;
		margin: 0 40px 20px 0;
		padding-bottom: 20px;
	}
	.views_slideshow_main .views-row:nth-of-type(2n+2){
		margin-right:0px;
	}
	.views-slideshow-cycle-main-frame{
	  position: relative !important;
	  width: 100% !important;
	  height:1040px;
	  
	}
	.views-slideshow-cycle-main-frame-row{
	  width: 100% !important;
	}
	.postcontent_full .block-content{
		width: 750px;
	}
}

/* medio */
@media screen and (min-width : 992px) {
	.views_slideshow_main .views-row {
		float: left;
		width: 214px;
		height:440px;
		margin-right:28px;
		padding-bottom: 0px;
	}
	.views_slideshow_main .views-row:nth-of-type(2n+2){
		margin-right:28px;
	}
	.views_slideshow_main .views-row:nth-of-type(4n+4){
		margin-right:0px;
	}
	.views-slideshow-cycle-main-frame{
		height: 440px;
	}
	.postcontent_full .block-content{
		width: 970px;
	}
	.view-id-slideshow_home .carousel-caption h3 {
		font-size: 50px;
	}
	
}
/* largo */
@media screen and (min-width : 1200px) {
	.views_slideshow_main .views-row {
		width: 264px;
	}
	.postcontent_full .block-content{
		width: 1170px;
	}
	.view-id-slideshow_home .carousel-caption h3 {
		font-size: 72px;
	}
}

/* mobile */

@media screen and (max-width:767px){
	
	.view-id-slideshow_home .carousel-caption h3 {
		font-size: 40px;
		line-height: 1;
		padding: 10px;
	}
	.carousel-indicators {bottom: 0;margin-bottom: 0;}
}

/* cellulare */
@media screen and (max-width:480px){
	
	.view-id-slideshow_home .carousel-caption h3 {
		font-size: 32px;
		line-height: 1;
		padding: 5px 0;
	}
	.carousel-indicators {bottom: 0;margin-bottom: 0;}
}
/* dimensione minima slider per mobile */
.testata .container {
    padding-right: 0px;
    padding-left: 0px;}

.carousel-inner .img-responsive {
    display: block;
    height: 100%;
    max-height: 269px;
    max-width: unset;
    width: auto;
}

/* dimensione normale slider per desktop */
@media (min-width: 768px){
.carousel-inner .img-responsive {
    display: block;
    height:  auto;
    max-height: unset;
    max-width: 100%;
    width: 100%;
}	
.testata .container {
    padding-right: 15px;
    padding-left: 15px;}
	
	}
	
/* fine dimensione slider */

/** fine media screen in fondo **/

/* ****** */



#navbar{
	width:100%;
	 border-radius: 0px;
	 border:0px;
	 padding: 0;
	 margin: 0 0 15px;
}
	 


.breadcrumb {
    border-radius: 0px;
    list-style: none outside none;
    margin-bottom: 0;
    padding: 9px 15px;
  font-family: Raleway, sans-serif;
	font-size:14px;
	
}



/**** giucas consigli ****/
.dl-horizontal dt {
	width: 200px;
}
.dl-horizontal dd {
	margin-left: 220px;
}
img {
	max-width: 100%; 
	height: auto;
}
span.icon-bar {
	width: 29px;
}
body.node-type-article .field-name-field-image img {
  float: left;
  margin: 0 20px 20px 0;
}
.views-field-field-image img {
  float: left;
  margin: 0 20px 14px 0;
}
/*** fine giucas consigli ****/


/*******************************************/
.navbar.container{
  margin-top:0px;
}

@media(max-width:767px){

.navbar-collapse .navbar-nav {
  margin-left: 0px;
}

.navbar-collapse .navbar-nav li{
	height:auto;
	margin-left: 0px;
	display:block;
}
}
.region-navigation {float:right;}

.facebook, .twitter, .youtube{margin-right:10px;}

.navbar {
    border: 1px solid transparent;
    margin-bottom: 10px;
    min-height: 30px;
    position: relative;
}


.navbar > li > a  {
    line-height: 1.2em;
}

.navbar-nav > li > a {
    line-height: 1.2em;
}

	
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background-color: transparent;
    color: #e4011c;
	border-bottom: 4px solid #851013;
}


.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #e5d49e;
  border-bottom: 4px solid #e5d49e;
  background-color: transparent;
	}
	
/* menu non principale */
ul.menu li {
  float: left;
}

.views-field.views-field-field-immagine img, .field-name-field-immagine img {
  border: 0px;
}
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: #ffffff;
    border-color: none;
}

.nav > li > a:hover, .nav > li > a:focus {
    background-color: #ffffff;
    text-decoration: none;
}

.caret {
    border-color: #000 transparent -moz-use-text-color;
    border-style: solid solid dotted;
    border-width: 4px 4px 0;
    display: inline-block;
    height: 0;
    margin-left: 2px;
    margin-top: 3px;
    vertical-align: top;
    width: 0;
}

.nav .caret, .nav a:hover .caret, .nav .open > a .caret, .nav .open > a:hover .caret, .nav .open > a:focus .caret  {
    border-bottom-color: #e4011c;
    border-top-color: #e4011c;
}





/*form */

.form-control, input[type="email"] {
  display: block;
  width: 100%;
  height: 36px;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #e4011c;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #e5d49e;
  border-radius: 0px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

@media (min-width: 769px) {


.resizable-textarea textarea {
	width: 80%;
}


}

.form-control:focus,  input[type="email"]:focus {
  border-color: #ffffff;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 102, 102, 0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 102, 102, 0.6);
}

.form-control::-moz-placeholder,  input[type="email"]::-moz-placeholder {
  color: #e4011c;
  opacity: 1;
}
.form-control:-ms-input-placeholder,  input[type="email"]::-ms-input-placeholder {
  color: #e4011c;
}
.form-control::-webkit-input-placeholder, input[type="email"]::-webkit-input-placeholder {
  color: #e4011c;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  background-color: #8e8e8e;
  opacity: 1;
}

.resizable-textarea textarea {
    border-radius: 0;
	background:#ffffff;
}

.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
    float: left;
    /*margin-left: 0px;*/
	margin-right: 10px;
}

.resizable-textarea .grippie { background-color: #FFF; 
margin-bottom:20px;
width: 80%;
border:0;
}

/*button */

.btn {
  display: inline-block;
  margin: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: Raleway, sans-serif;
  font-weight: 700;
  text-transform:uppercase;
  border-radius: 0px;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn:hover,
.btn:focus,
.btn.focus {
  color: #ffffff;
  text-decoration: none;
}
.btn:active,
.btn.active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
}
a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}
.btn-default {
  color: #ffffff;
  background-color: #8e8e8e;
  border-color: #8e8e8e;
}
.btn-default:focus,.btn-default.focus ,.btn-default:hover,.btn-default:active,.btn-default.active,.open > .dropdown-toggle.btn-default {
  background-color: #851013;
}
.btn-default:active:hover,
.btn-default.active:hover,
.open > .dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open > .dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open > .dropdown-toggle.btn-default.focus {
  color: #ffffff;
  background-color: #851013;
  border-color: #851013;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  background-image: none;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
  background-color: #e5d49e;
  border-color: #e5d49e;
}
.btn-default .badge {
  color: #e5d49e;
  background-color: #ffffff;
}
.btn-primary {
  color: #ffffff;
  background-color: #8e8e8e;
  border-color: #8e8e8e;
}
.btn-primary:focus,
.btn-primary.focus {
  background-color: #851013;
}
.btn-primary:hover {
  background-color: #851013;
  border-color: #851013;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-color: #851013;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
  color: #ffffff;
  background-color: #851013;
  border-color: #851013;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: #851013;
  border-color: #851013;
}
.btn-primary .badge {
  color: #ffffff;
  background-color: #851013;
}
.btn-success {
  color: #ccc;
  background-color: #78c271;
  border-color: #78c271;
}
.btn-success:focus,
.btn-success.focus {
  color: #ccc;
  background-color: #56b34d;
  border-color: #56b34d;
}
.btn-success:hover {
  color: #ccc;
  background-color: #56b34d;
  border-color: #56b34d;
}
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
  color: #ccc;
  background-color: #56b34d;
  border-color: #56b34d;
}
.btn-success:active:hover,
.btn-success.active:hover,
.open > .dropdown-toggle.btn-success:hover,
.btn-success:active:focus,
.btn-success.active:focus,
.open > .dropdown-toggle.btn-success:focus,
.btn-success:active.focus,
.btn-success.active.focus,
.open > .dropdown-toggle.btn-success.focus {
  color: #ccc;
  background-color: #78c271;
  border-color: #78c271;
}
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
  background-image: none;
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled.focus,
.btn-success[disabled].focus,
fieldset[disabled] .btn-success.focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
  background-color: #78c271;
  border-color: #78c271;
}
.btn-success .badge {
  color: #78c271;
  background-color: #ffffff;
}
.btn-info {
  color: #666;
  background-color: #851013;
  border-color: #851013;
}
.btn-info:focus,
.btn-info.focus {
  color: #ccc;
  background-color: #ababab;
  border-color: #848484;
}
.btn-info:hover {
  color: #ccc;
  background-color: #ababab;
  border-color: #a5a5a5;
}
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
  color: #ccc;
  background-color: #ababab;
  border-color: #a5a5a5;
}
.btn-info:active:hover,
.btn-info.active:hover,
.open > .dropdown-toggle.btn-info:hover,
.btn-info:active:focus,
.btn-info.active:focus,
.open > .dropdown-toggle.btn-info:focus,
.btn-info:active.focus,
.btn-info.active.focus,
.open > .dropdown-toggle.btn-info.focus {
  color: #ccc;
  background-color: #999999;
  border-color: #848484;
}
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
  background-image: none;
}
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
  background-color: #851013;
  border-color: #851013;
}
.btn-info .badge {
  color: #851013;
  background-color: #ffffff;
}
.btn-warning {
  color: #ccc;
  background-color: #f0ad4e;
  border-color: #f0ad4e;
}
.btn-warning:focus,
.btn-warning.focus {
  color: #ccc;
  background-color: #ec971f;
  border-color: #b06d0f;
}
.btn-warning:hover {
  color: #ccc;
  background-color: #ec971f;
  border-color: #eb9316;
}
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
  color: #ccc;
  background-color: #ec971f;
  border-color: #eb9316;
}
.btn-warning:active:hover,
.btn-warning.active:hover,
.open > .dropdown-toggle.btn-warning:hover,
.btn-warning:active:focus,
.btn-warning.active:focus,
.open > .dropdown-toggle.btn-warning:focus,
.btn-warning:active.focus,
.btn-warning.active.focus,
.open > .dropdown-toggle.btn-warning.focus {
  color: #ccc;
  background-color: #d58512;
  border-color: #b06d0f;
}
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
  background-image: none;
}
.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled.focus,
.btn-warning[disabled].focus,
fieldset[disabled] .btn-warning.focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
  background-color: #f0ad4e;
  border-color: #f0ad4e;
}
.btn-warning .badge {
  color: #f0ad4e;
  background-color: #ffffff;
}
.btn-danger {
  color: #ccc;
  background-color: #d9534f;
  border-color: #d9534f;
}
.btn-danger:focus,
.btn-danger.focus {
  color: #ccc;
  background-color: #c9302c;
  border-color: #8b211e;
}
.btn-danger:hover {
  color: #ccc;
  background-color: #c9302c;
  border-color: #c12e2a;
}
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
  color: #ccc;
  background-color: #c9302c;
  border-color: #c12e2a;
}
.btn-danger:active:hover,
.btn-danger.active:hover,
.open > .dropdown-toggle.btn-danger:hover,
.btn-danger:active:focus,
.btn-danger.active:focus,
.open > .dropdown-toggle.btn-danger:focus,
.btn-danger:active.focus,
.btn-danger.active.focus,
.open > .dropdown-toggle.btn-danger.focus {
  color: #ccc;
  background-color: #ac2925;
  border-color: #8b211e;
}
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
  background-image: none;
}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
  background-color: #d9534f;
  border-color: #d9534f;
}
.btn-danger .badge {
  color: #d9534f;
  background-color: #ffffff;
}
.btn-link {
  color: #ffffff;
  font-weight: normal;
  border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link.active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  border-color: transparent;
}
.btn-link:hover,
.btn-link:focus {
  color: #851013;
  text-decoration: none;
  background-color: transparent;
}
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
  color: #777777;
  text-decoration: none;
}
.btn-lg,
.btn-group-lg > .btn {
  padding: 10px 16px;
  font-size: 16px;
  line-height: 1.3333333;
  border-radius: 0px;
}
.btn-sm,
.btn-group-sm > .btn {
  padding: 5px 10px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 0px;
}
.btn-xs,
.btn-group-xs > .btn {
  padding: 1px 5px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 0px;
}
.btn-block {
  display: block;
  width: 100%;
}
.btn-block + .btn-block {
  margin-top: 5px;
}

/*blocchi */

.thumbnail {
    background-color: #ffffff;
    border: 0px;
    border-radius: 0px;
    display: block;
    height: auto;
    line-height: 1.42857;
    margin-bottom: 20px;
    max-width: 100%;
    padding: 0px;
    transition: all 0.2s ease-in-out 0s;
}



/* pagination */
.nav-pagination {
text-align:center;
}
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 22px 0;
  border-radius: 0px;
}
.pagination > li {
  display: inline;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857143;
  text-decoration: none;
  font-family: Raleway, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #333333;
  background-color: #ffffff;
  border: 0px;
  margin-left: -1px;
  
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #851013;
    border-color: #851013;
}
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    z-index: 3;
    color: #ffffff;
    background-color: #851013;
    border-color: #851013;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-bottom-right-radius: 0px;
  border-top-right-radius: 0px;
}
.pager {
  padding-left: 0;
  margin: 22px 0;
  list-style: none;
  text-align: center;
}
.pager li {
  display: inline;
}
.pager li > a,
.pager li > span {
  display: inline-block;
  padding: 5px 14px;
  background-color: #ffffff;
  border: 1px solid #e4011c;
  border-radius: 15px;
}
.pager li > a:hover,
.pager li > a:focus {
  text-decoration: none;
  background-color: #e5d49e;
}
.pager .next > a,
.pager .next > span {
  float: right;
}
.pager .previous > a,
.pager .previous > span {
  float: left;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #e5d49e;
  background-color: #ffffff;
  cursor: not-allowed;
}

/*gallery*/
.galleryformatter h3{
	color:#c5383c;
}

.node .field-name-field-gallery-image {
    max-width:500px;
    margin: 30px auto;
}
.galleryformatter-greenarrows .gallery-thumbs .arrow {
    bottom: 18px;
    display: block;
    height: 46px;
    position: absolute;
    text-indent: -9999px;
    width: 46px;
}
.galleryformatter-greenarrows .slide-button {
    background-image: url("images/next-prev.png");
}
.galleryformatter-greenarrows .gallery-thumbs .wrapper {
    border-bottom: 0px;
}
.galleryformatter-greenarrows .gallery-thumbs .arrow, .galleryformatter-greenarrows .gallery-thumbs .wrapper, .galleryformatter-greenarrows .gallery-thumbs li.active a, .galleryformatter-greenarrows .gallery-thumbs li a:hover, .galleryformatter-greenarrows .view-full {
	background-image:url("images/sprite.png");
}
.galleryformatter-greenarrows .gallery-thumbs .back {
    background-position: -4px -102px;
    left: 0;
}
.galleryformatter-greenarrows .gallery-thumbs .back:hover {
    background-position: -4px -156px;
}
.galleryformatter-greenarrows .gallery-slides {
    height: 312px !important;
}
/* responsive*/
.galleryformatter-responsive {
    background: transparent;
	padding-bottom: 80%;
    max-height: 400px;
}
.galleryformatter-responsive .gallery-slides {
    width: 100% !important;
    max-width:500px;
    height: 312px !important;
}
.galleryformatter-responsive .slide-button {
    background-image: url("images/next-prev.png");
}
.galleryformatter-responsive .gallery-thumbs {
    max-width:500px;
	width:auto !important;
}
.galleryformatter-responsive .gallery-slides .panel-overlay {
    position: relative;
    margin-top: -30px;
	background-color: rgba(0,0,0,0.7);
}
@media(max-width:430px){
	.galleryformatter-responsive {
		padding-bottom: 87%;
	}
}

/* calendario */
.view .date-nav-wrapper .date-heading {
	margin: 5px 0;
}
.view .date-nav-wrapper .pager{
	margin: 0;
	padding:0;
}
.view .date-nav-wrapper .date-heading h3 {
    font-family: Raleway, sans-serif;
    font-size: 24px;
    line-height: 1.4em;
	text-transform:lowercase;
	font-weight:normal;
}
.view .date-nav-wrapper .date-heading h3 a{
    color: #e4011c;
	text-decoration:none;
}
.view .date-nav-wrapper .date-heading h3 a:hover{
    color: #851013;
}
.view .date-nav-wrapper .date-nav { padding-bottom:0px; margin:0;}
.view .date-nav-wrapper .date-prev a, .view .date-nav-wrapper .date-next a {
    color: #851013;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    line-height: 2em;
    margin: 0;
    padding: 0 3px;
    text-decoration: none;
	border: 0px;
	border-radius: 0px;
	background-color: transparent;
}
.view .date-nav-wrapper .date-prev a:hover, .view .date-nav-wrapper .date-next a:hover, .view .date-nav-wrapper .date-prev a:focus, .view .date-nav-wrapper .date-next a:focus {
	color: #ffffff; 
}
.view .date-nav-wrapper .date-prev, .view .date-nav-wrapper .date-next {
    background-color: transparent;
    border-radius: 0;
    float: none;
    font-size: 12px;
    left: auto;
    padding: 0;
    position: relative;
	text-transform:lowercase;
}
.view .date-nav-wrapper .date-prev {
    float:left;
    right: 0;
}
.view .date-nav-wrapper .date-next {
    float:right;
}
.calendar-calendar .month-view .full .inner .monthview, .calendar-calendar .week-view .full .inner .weekview, .calendar-calendar .day-view .full .inner .dayview { 
border-radius: 0px;
}
.calendar-calendar .month-view .full td.single-day div.monthview, .calendar-calendar .week-view .full td.single-day div.weekview, .calendar-calendar .day-view .full td.single-day div.dayview {
    background: #e5d49e;
}
.calendar-calendar .month-view .full td.multi-day div.monthview, .calendar-calendar .week-view .full td.multi-day div.weekview, .calendar-calendar .day-view .full td.multi-day div.dayview {
    background: #e5d49e;
}
.calendar-calendar .month-view .full td.multi-day .inner .monthview .continues, .calendar-calendar .month-view .full td.multi-day .inner .monthview .cutoff, .calendar-calendar .week-view .full td.multi-day .inner .weekview .continues, .calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff {
    background: #e5d49e;
}
.calendar-calendar .week-view .header-body-divider, .calendar-calendar .week-view .single-day-footer, .calendar-calendar .day-view .single-day-footer, .calendar-calendar .day-view .header-body-divider {
    background: #e5d49e;
    border-left: 0;
    border-right: 0;
    font-size: 1px;
    height: 4px;
    line-height: 1px;
}
.calendar-calendar th.days {
	background-color: #e5d49e;
	border: 0px;
	color: #851013;
	font-weight: bold;
	font-family: Raleway, sans-serif;
	padding: 5px 0;
}
.year-view div.month-view div.date-nav {
	background-color: #e5d49e;
	border: 0px;
	color: #777;
	font-weight: bold;
	font-family: Raleway, sans-serif;
	padding: 8px 0;
}
.calendar-calendar table.mini tbody {
	border-top: 1px solid #e4011c;
	border-bottom: 1px solid #e4011c;
	background-color: #e5d49e;
}
.calendar-calendar table.mini tr,.calendar-calendar table.mini td.empty,.calendar-calendar table.mini tr td.today {
	background-color:transparent;
}
table .mini-day-on a {
    text-decoration: none;
	color: #851013;
}
table .mini-day-on a:hover {
    text-decoration: none;
	color: #ffffff;
}
.calendar-calendar td {
    text-align: center;
    width: 14%;
	border:0;
	border-bottom: 1px solid #e5d49e;
}
.calendar-calendar .mini-day-on {
	border-bottom: 3px solid #851013;
}
.calendar-calendar td.today .mini-day-on, .calendar-calendar td.today .mini-day-off {
	border-bottom: 3px solid #e4011c;
}
.calendar-calendar .mini-day-off, .calendar-calendar .mini-day-on {
	margin: 7px 10px;
	padding: 0;
	color:#e4011c;
}
.calendar-calendar td.mini, .calendar-calendar .calendar-empty { 
	padding: 0; 
}
.calendar-calendar table.mini td.today {border: 0;}
.calendar-calendar table.mini td.has-events {border: 0;}

.calendar-calendar .week-view .full div.single-day div.weekview, .calendar-calendar .day-view .full div.single-day div.dayview {
    background: #e4011c;
    border-color: #e4011c;
}
.calendar-calendar td.empty {
    background: #e5d49e;
    border-color: #e5d49e;
    color: #851013;
}
.calendar-calendar .month-view .full tr td.single-day.today {
	border: 0px;
    border-bottom: 1px solid #e5d49e;
}
.calendar-calendar .month-view .full td.date-box.today {
   border: 0px;
}
.calendar-calendar div.calendar {
}
.calendar-calendar .views-field-title {
    min-height: 0;
    font-size: 14px;
}
.calendar-calendar div.calendar {
    font-family: Raleway, sans-serif;
    font-size: 13px;
}
.calendar-calendar td .inner div.day a {
    color: #851013;
}
table td.mini a {
    font-size: 18px;
}
.calendar-calendar td.calendar-agenda-hour .calendar-hour {
    font-weight: normal;
    font-size: .8em;
}
.calendar-calendar th {
    font-weight: normal;
}

/* tooltip */
.bt-content ul{
   padding: 0 0 0 20px;
   margin-bottom:0px;
}


 .nav-tabs > li.active > a,  .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { 
 background-color: #FFF;
 border:0;
	border-bottom: 4px solid #e5d49e;
}

.nav-tabs {
    border-bottom: 0px;
}

 .nav-tabs > li > a,  .nav-tabs > li > a:hover, .nav-tabs > li > a:focus { 
	border-bottom: 4px solid #e5d49e;
}



.nav-tabs > li > a {
    border: 0;
    border-radius: 0;
    line-height: 1.42857;
    margin-right: 2px;
}

/** search result **/
.search-advanced.panel-default > .panel-heading + .panel-collapse > .panel-body{
	border: 1px solid #851013;
}
#imce-content, #imce-content input {
    position: relative;
}
fieldset .panel-heading a.panel-title {
	color: #851013;
	text-decoration: none;
	font-family: 'PT Sans Narrow', sans-serif;
}
fieldset .panel-heading a.panel-title:hover {
	color: #851013;
}

.node .field__label {
	font-weight: bold;
}
.node .field__label:after {
	content: ": ";
}
.views-exposed-form label,.views-exposed-form .fieldset-legend,.views-exposed-form legend {
  font-weight: bold;
  font-size: 1rem;
  margin:0;
  padding:0;
}
.views-exposed-form .form-select {
  float:left;
}
.views-exposed-form .form-actions {
  align-self: center;
}

/* newsletter */
.block-simplenews-subscription-block .btn.is-disabled{ 
display:none;
}
