/*--------- stili personali del sito --------------*/

.selection_color {
  background: #1d76e4;
  color: #ffffff;
  text-shadow: none;
}
::-moz-selection {
  background: #1d76e4;
  color: #ffffff;
  text-shadow: none;
}
::selection {
  background: #1d76e4;
  color: #ffffff;
  text-shadow: none;
}

body {
  line-height: 23px;
  color: #6b6e80;
  font-family: 'Raleway', "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  background: url('images/bg-body.jpg') repeat-x #FFF;
}



h1{	font-size: 1.7em;}
h2{	font-size: 1.5em;}
h3{	font-size: 1.4em;}
h4{	font-size: 1.3em;}
h5{	font-size: 1.2em;}
h6{	font-size: 1.1em;}


/*
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #4761B5;
  margin-top: 0;
  font-family: 'Raleway', "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #4761B5;
}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: #4761B5;
}
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
  color: #1d76e4;
}
h1,
h2,
h3 {
  margin-bottom: 20px;
}
h4,
h5,
h6 {
  margin-bottom: 15px;
}

*/

a {
  color: #AB1A0F;
  text-decoration: none;
}
a:hover {
  color: #AB1A0F;
  text-decoration: none;
}
a:focus {
  outline: none;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
p {
  margin-bottom: 15px;
}

.btn-primary{
	background: #4761B5;
	border: none;
	
	-webkit-transition: all .3s ease-in;
	-moz-transition: all .3s ease-in;
	-ms-transition: all .3s ease-in;
	-o-transition: all .3s ease-in;
	transition: all .3s ease-in;
}
.btn-primary:hover{
	
}



.main-logo{
	display: inline-block;
	margin:10px 10px;
}


.header-menu{
	margin-bottom: 0 !important;	
	/*-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;	*/
	
	-webkit-border-bottom-left-radius: 0;
	-moz-border-bottom-left-radius: 0;
	-ms-border-bottom-left-radius: 0;
	-o-border-bottom-left-radius: 0;
	border-bottom-left-radius: 0;
	
	-webkit-border-bottom-right-radius: 0;
	-moz-border-bottom-right-radius: 0;
	-ms-border-bottom-right-radius: 0;
	-o-border-bottom-right-radius: 0;
	border-bottom-right-radius: 0;
	
	position: relative;
	z-index: 3;
}

.header-menu .menu-label{
	color:#FFF;
	margin: 15px 0 0 15px;
}

.footer{
	background:url('images/bg-footer.jpg') repeat-x;
	color: #444;
	padding:20px 0;
}

.footer-sub{
	background: #AAA8A8;
	color: #FFFFFF;
	padding: 20px 0;
}

.header-menu a,
.footer a{
	color:#35B0B0;
}

.footer a{
	color: #AB1A0F;
	text-decoration: underline;
}
.footer a:hover{
	color: #AB1A0F;
	text-decoration: none;
}

.footer-sub a{
	color: #FFFFFF;
}
.footer-sub a:hover{
	color: #1F4C73;
	text-decoration: underline;

}

.footer .title,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
  color: #6E6E6E;
  font-weight: normal;
}

.footer h3{
	font-size: 22px;
	color: #910011;
	padding:10px 0;
	border-bottom: 1px solid #DDD;
	text-shadow: 1px 1px 1px #DDD;
	margin: 0;
	margin-bottom: 10px;
}

.footer-menu li{
	margin-bottom: 10px; 
}
.footer-menu p{
	padding: 15px 0 !important; 
}


/*slider home*/

/*-----------------------------------------------------------------------------------*/
/*  Header FlexSlider
/*-----------------------------------------------------------------------------------*/
.flexslider {
  border: 1px solid #AAA;
  background-color: #374158;
  width: auto;
  height: auto;
  margin: auto;
  position: relative;
  overflow: hidden;

}
.with-menu .flexslider{
	border-top:0;
}
.flexslider .slides {
  overflow: hidden;
  max-height:700px;
}
.flexslider img {
  width: 100%;
  display: block;
}
.flex-control-paging {
  top: 15px;
}
.flexslider a.directional-link {
  display: block;
  width: 35px;
  height: 50px;
  color: #FFF;
  position: absolute;
  top: 50%;
  margin-top: -25px;
  z-index: 150;
  cursor: pointer;
  background: #4761B5 !important;
  
  text-align: center;
  padding: 5px 7px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.flexslider a.directional-link:hover {
  background: #2F8ACC !important;  
}
.flexslider a.directional-link.next {
  right: 0;
  text-align: right;
}
.flexslider a.directional-link.prev {
  left: 0;
  text-align: left;
}


.flex-control-paging{
	position: absolute;
	top: auto;
	bottom: 10px;
	z-index: 10px;
	width: 100%;
	text-align: center;
}

.flex-control-paging li{
	display: inline-block;
	margin:0 3px;	
}

.flex-control-paging li a {
  text-indent: -9999px;
  width:12px;
  height: 12px;
  display: block;
  cursor: pointer;
  
  border:1px solid #CCC;
  
  background: #FFFFFF;
  
  -webkit-border-radius:6px;
  -moz-border-radius:6px;
  -ms-border-radius:6px;
  -o-border-radius:6px;
  border-radius:6px;  
  
}

.flex-control-paging li a:hover,
.flex-control-paging li a.flex-active{
	background: #AB1A0F;
}

.header-sub{
	margin-bottom: 20px;
}

.header-sub .header-widget{
	padding: 12px 20px;
	min-height: 310px;
	text-align: center;
	color:#EEE;
	position: relative;
}

.header-sub .header-widget .image-pres{
	position: absolute;
	width:308px;
	height:350px;
	bottom: 0;
	left:50%;
	margin-left: -154px;
	background: url(images/boy03.png) no-repeat center top;
	z-index: 0;
}

.header-sub .header-widget .ar-link-wrapper{
	position: absolute;
	bottom:90px;
	text-align: center;
	z-index: 1;
	width: 100%;
	
}



.header-sub .header-widget h3{
	font-size: 22px;
	margin-bottom: 5px;
	line-height: 30px;
	padding:15px 0;
	color: #DAD9E9;
	border-bottom: 1px solid #37374D;
}
.header-sub .header-widget h4{
	font-size: 16px;	
	margin-bottom: 0;
	line-height: auto;
	color: #FFF;
	padding:5px 0 15px 0;
}

.header-sub .header-widget ul{
	text-align: left;
	margin-bottom: 15px;
}

.header-sub .header-widget ul li.divider{
	margin-top: 5px;
}
.header-sub .header-widget ul li:not(.divider){
	margin-left: 10px;
}

.header-sub .header-widget p{
	color: #63647D;
	font-size: 14px;
}
.header-sub .header-widget p span{
	color: #DAD9E9;
}
.header-sub .header-widget .btn{
	margin-top: 0px;
}

.logo{
	display:block;
	margin: 15px auto;
	width:400px;
	height:65px;
}


/* sidebars */

.sidebar-menu,
.breadcrumb,
.center-column{
	
}

.breadcrumb{
  background: #EEE;
}

.center-column{
  background: #F8F8F8;
}

.sidebar-menu a:hover{	
	color:#4761B5;
}
.sidebar-menu a.active,	
.sidebar-menu a.active:hover{
	background: #F8F8F8;
	color: #AB1A0F;
	border-color:#EFEADE;	
	border-top: 1px solid #EEE;
}

/*menu sidebar espandibili  */

.expandible-menu .submenu-items-wrapper{
border:0;
margin:0;
height:0;
overflow: hidden;
-webkit-transition: height 3s;
-moz-transition: height 3s;
-ms-transition: height 3s;
-o-transition: height 3s;
transition: height 3s;
}
.expandible-menu .submenu-items-wrapper.opened{
border:0;
margin:0;
height:auto;
}

/*list*/

.article-list-item{
	border-bottom: 1px solid #DDD;
	padding-bottom: 15px;
}

.article-list-item h2{
	margin-bottom: 5px;
}

.list-item-info{
	margin-bottom: 10px;
}

.list-item-description p{
	padding: 5px 0;
}




/*articolo */
.article-images li{
	margin-right: 10px;
}


/*articolo singolo*/

.article-body{
	margin-top: 20px;
}

/* ricerca lista*/

.search-line{
	margin-bottom: 15px;
	padding-bottom:15px;
	border-bottom: 1px solid #DDD;
}

.search-info{
	margin-top: 8px;
}

/* pulsante archivio */
.archive-btn-wrapper{
	margin-left: 5px;
}

/*form di ricerca della sidebar*/

.search-form{
	margin:5px 5px 5px -5px;
}

/*messaggio nessun risultato ricerca globale*/

.no-global-search-results{
	margin:50px 0;
}


.pagination li a{
	color: #4761B5;
}
.pagination li.active a,
.pagination li.active a:hover{
	background: #4761B5;
	border: 1px solid #4761B5;
	color: #fff;
}


/* stili widget slider */

.news_slider_widget_wrapper {
  border: 1px solid #D1D1D1;
  background-color: #FFF;
  margin-bottom:10px;
  
  -webkit-border-radius:6px;
  -moz-border-radius:6px;
  -ms-border-radius:6px;
  -o-border-radius:6px;
  border-radius:6px;  
}

.news_slider_widget_wrapper h2 {
  font-size: 17px;
  background: #F8F8F8;
  padding:7px 10px;
  border-bottom: 1px solid #CCC;
  margin-bottom: 7px;
  color: #333;
  margin-top:0;
  
  -webkit-border-radius:6px 6px 0 0;
  -moz-border-radius:6px 6px 0 0;
  -ms-border-radius:6px 6px 0 0;
  -o-border-radius:6px 6px 0 0;
  border-radius:6px 6px 0 0;  
}

.news_slider_widget {
  width: auto;
  height: 150px;
  margin: auto;
  position: relative;
  overflow: hidden; 
}

.news_slider_widget .slides {
  overflow: hidden;
  height:150px;
  width:100%;
  top:0;
  left:0;
}

.news_slider_widget .slides a{
  display: block;
  height:150px;
  overflow: hidden;
  box-sizing: border-box;
  padding:10px;
  text-decoration: none;
  
  
  -webkit-border-radius:6px;
  -moz-border-radius:6px;
  -ms-border-radius:6px;
  -o-border-radius:6px;
  border-radius:6px; 
}
.news_slider_widget .slides a:hover{
	background: #FDFDFD;
}

.news_slider_widget.news_home,
.news_slider_widget.news_home .slides,
.news_slider_widget.news_home .slides a{
  height: 90px;
}

.news_slider_widget .slides a h3{
	font-size: 16px;
	margin-bottom: 7px;
	margin-top: 0;
}

.news_slider_widget .slides a p{
	font-size: 12px;
	color:#333;
}

.news_slider_widget .slides a:hover h3{
	text-decoration: underline;
}

#news_slider_widget_wrapper_sx_top{}
#news_slider_widget_wrapper_sx_bot{margin-bottom: 25px;}
#news_slider_widget_wrapper_dx_top{}
#news_slider_widget_wrapper_dx_bot{margin-bottom: 25px;}


/* stili widgetslider:FINE */


@media (max-width:767px) {
.navbar-brand img{
		height: 50px !important;
	}
}


@media (max-width:991px) {
	.header-sub .header-widget .image-pres{
		height:330px;
	}
}



/*modifica per restringere tutta l'area*/
/*
.main-custom-container{
	margin:0 auto;
}


@media (min-width:991px) {
	.main-custom-container{
		max-width:760px;
	}
}


@media (max-width:991px) {
	.main-custom-container{
		max-width:760px;
	}
}

@media (max-width:767px) {
	.main-custom-container{
		max-width:650px;
	}
}

@media (max-width:420px) {
	
}
*/