@import url('normalize.css');

@import url('main.css');

@import url('social.css');

@import url('widgets.css');

@import url('superfish.css');

@import url('nivo-slider.css');

@import url('entry-content.css');

@import url('forms.css');

@import url('comments.css');

@import url('shortcodes.css');

/*-----------------------------------------------------------------------------------*/
/*	Import other CSS
/*-----------------------------------------------------------------------------------*/
/* === fontawesome === */
@import url('font-awesome.css');
@import url('fontawesome.css');
@import url('brands.css');

/*--------- font --------*/

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

}
@font-face {
    font-family: 'open_sansbold';
    src: url('../font/OpenSans-Bold-webfont.eot');
    src: url('../font/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/OpenSans-Bold-webfont.woff') format('woff'),
         url('../font/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('../font/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;

}




/* controllare *************************/
@import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,700,900&display=swap');





/*--------------------------*/
/*    Cambio colore arancione da #f05e2e (ocra preso dal vecchio logo) a #f05e2e (arancione + carico come ogo attuale) */
/*----------------------------*/


/*-----------------------------------------------------------------------------------*/
/*	General Layout
/*-----------------------------------------------------------------------------------*/
body {
  font-family: 'Lato', 'open_sansregular', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  color: #0a3052;/* precedente #3c6f9c;*/ /* prova blu scuro tipo locandine #003859;  prova blu scuro mio #00507f;*/
  background-color: #fff;
}
a {
	color: #0a3052;
}
.wrapper {
  /*width: 90%;*/ /*1000px;*/
  margin: auto;
 /* margin: 30px auto 80px auto;*/
  background: #fff;
 /* -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);*/
}
#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6 {
  font-family: 'Lato', sans-serif;
  line-height: 1.3em;
  text-transform: uppercase;
  border-bottom: 1px solid #0a3052;
  margin-bottom: 30px;
  font-weight: 800;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 18px;
}
h5, #main h5 {
  font-size: 16px;
  font-weight: 400;
  border: 0;
  margin: 0;
}
h6 {
  font-size: 14px;
}

b, strong {
    /*font-size: 1.2em;*/
}

.line-heading {
  overflow: hidden;
  margin: 30px 0px;
  font-family: 'Lato',sans-serif;
  font-weight: 700;
  line-height: 48px;
  font-size: 18px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 1);
  background-color: #f1f0ee;
  border-bottom: 1px solid #e0dfdf;
  border-top: 1px solid #e0dfdf;
  padding-left: 10px;
}
.line-heading a {
  float: right;
  font-family: 'Lato', serif;
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
  color: #6b3b25;
}
.action-button {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 30px;
  text-decoration: none;
  color: #fff;
  padding: 0px 13px 3px 10px;
  background: #f05e2e;
  border: #f6a201 solid 3px;
  border-bottom: #c88401 solid 3px;
  border-right: #c88401 solid 3px;
  border-bottom: none;
  border-right: none;
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.3);
}
.action-button:hover {
  border: #f05e2e solid 3px;
  border-bottom: #f6a201 solid 3px;
  border-right: #f6a201 solid 3px;
  border-bottom: none;
  border-right: none;
  box-shadow: none;
}
.chirp p {
  padding-left: 30px;
  background: url(../img/twitter.png) no-repeat 0px 5px;
}
.chirp .meta {
  display: block;
  padding-left: 30px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #76655d;
}
.chirp .meta:last-child {
  border: none;
}
/*-----------------------------------------------------------------------------------*/
/*	LAYOUTS
/*-----------------------------------------------------------------------------------*/
.one-third-col {
  float: left;
  margin-left: 30px;
  margin-bottom: 60px;
  width: 300px;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}
.one-third-col .line-heading {
  margin: 0px 0px 20px 0px;
}
.two-third-col {
  float: left; /*right;*/
  margin-right: 30px;
  margin-left: 30px;
  margin-bottom: 60px;
  width: 70%;/*570px;/*620px;*/
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}
.two-third-col .line-heading {
  margin: 0px 0px 20px 0px;
}
.recent-posts li {
  border-bottom: 1px solid #6b3b25;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
.recent-posts .title {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 21px;
  line-height: 1.3em;
  font-weight: 700;
  color: #6b3b25;
  text-decoration: none;
}
.recent-posts .date,
.recent-posts .author {
  font-family: 'Arvo', serif;
  font-size: 14px;
  text-decoration: none;
  color: #c78301;
}
/*-----------------------------------------------------------------------------------*/
/*	HEADER
/*-----------------------------------------------------------------------------------*/
header {
  /*background: #f1f0ee;/*url(../img/header.png);*/
  min-height: 140px; /*155px;*/
}
header #logo {
  margin-top: 22px;
  margin-bottom: 20px;
  float: left;
}
header #logo:hover, header #como:hover {
  opacity: 0.8;
}
header #logo img {
  display: block;
  width: 80%;
  /*margin: 0 0 0 30px;*/
}
/*header #como {
  margin-top: 22px;
  margin-bottom: 20px;
  float: right;
  position: absolute;
  top: 50px;
  left: 55%;
}*/
header #como {
			right: 0;/*5%;*/
			position: absolute;
			top: 10px;
			text-align: right;
}
header #como .culla {
			margin-left: 20px;
			margin-top: 15px;
			width: 15%;/*25%;*/
}
/*-----------------------------------------------------------------------------------*/
/*	Nav
/*-----------------------------------------------------------------------------------*/
nav {
  /*background: url(../img/nav__.png) no-repeat 0 0 / 100% 100% rgba(0, 0, 0, 0);
  height: 65px;
  width: 103%; /* 105%*//*1038px;
  margin-left: -20px;*/
  background-color: #f1f0ee;
  font-family: 'Lato';
  font-size: 15px;
  font-weight: normal;
  border-bottom: 1px solid #e0dfdf;
  border-top: 1px solid #e0dfdf;
}
nav #menu-icon {
  display: none;
  background: red;
  width: 40px;
  height: 40px;
}
nav #nav {
  display: block;
  margin: auto;
  text-align: center !important;
 /* margin-left: 35px;
  /* substract 15 from the link padding */

}
nav #nav > li {
  display: block;
  float: left;
  /* Subnavigation ----------------------------------------------------*/
}
nav #nav > li:hover a,
nav #nav > li.current-menu-item a,
nav #nav > li.current_page_item a {
  background: #00507f;/* precedente #3c6e9b;*/
  /*text-shadow: 0px 2px 0px #444;*/
  color: #fff;
}
nav #nav > li > a {
  display: block;
  line-height: 65px;
  padding-left: 13px;
  padding-right: 13px;
  text-decoration: none;
  color: #0a3052;
  text-transform: uppercase;
}
nav #nav > li > a:hover {
  color: #fff;
}
nav #nav > li.important a {
  color: #ffe09f;
}
nav #nav > li ul {
  margin-top: 25px;
  background: #3c6e9b;
}
nav #nav > li ul li {
  border-bottom: 1px solid #fff;
}
nav #nav > li ul li:last-child {
  border-bottom: none;
}
nav #nav > li ul a {
  display: block;
  color: #fff;
  text-decoration: none;
  line-height: 1.5em;
  padding: 15px;
}
nav #nav > li ul a:hover {
  color: #ffd29e; /*#e7b235;*/
}
/*-----------------------------------------------------------------------------------*/
/*	MAIN
/*-----------------------------------------------------------------------------------*/
#main {
  min-height: 700px;
}
#main .tagline {
  font-family: 'Lato';
  line-height: 1.3em;
  font-size: 36px;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  text-align: center;
  margin: 25px;
}

.testo-container {
	margin-bottom: 35px;
	text-align: justify;
	clear: both;
	width: 90%;
	margin: auto;
}
.testo-container p {margin: 1em 0;
}
.btn-home:before, .btn-home:after {
    content: " ";
    display: table;
}
.btn-home:after {
    clear: both;
}
.btn-home {
	text-align: center;
}
.btn-home img{
	/*margin-right: 5%;*/
	border-radius: 5px;
}
.btn-home li {
    display: block;
    float: left;
    /*margin-bottom: 30px;
	margin-left: 8px;
    width: 33%;*/
	width: 50%;
}
.thumb {
	text-decoration: none;
}
.btn-home span{
    font-family: "Lato","nerislight";
    font-size: 20px;
    text-shadow: 1px 1px #fff;
	margin-left: 10px;
	display: block;
}
.btn-home span:hover, .btn-home a:hover{
    color: #f05e2e ;
}

.testo-immagine {
border: 3px solid #fff; float: right; margin-left: 10px;
}

.pagine{
	/*font-size: 14px;*/
	line-height: 1.5em;
    font-family: 'Lato', 'open_sansregular';
}
.pagine li{
	/*font-size: 14px;*/
    font-family: 'Lato', 'open_sansregular';
	padding: 3px;
	list-style: inside disc none;
	font-weight: 600;
}
.pagine li a{
	font-weight: 300;
}
.pagine a:link{
	/*color: #3c6f9c;*/
	text-decoration: none;
}
.pagine a:hover{
	color: #fff;
	background-color: #0a3052;
	text-decoration: none;
}
.pagine h4{
	font-size:20px;
	font-weight: bold;
	border-bottom: 1px dotted #0a3052;
	margin: 30px 0 0;
}
.icone {
	margin-right: 10px;
}

.divisioni {
	border-bottom: 1px dotted #0a3052;
	padding-bottom: 10px;
	min-height: 90px;
}
.divisioni img{
	float: right;
	
}

.btnmusica {
	margin-bottom: 35px;
}
.btnmusica li{
	float: left;
}
.btnmusica img{
	margin-left: 1%;
}

.pagine iframe{ 
	text-align: center;
	margin: 0 auto;
	width: 100%;
	height: auto;
	min-height: 415px;
}

.pagine table {
    background-color: #fff;
    margin: auto;
    width: 95%;
	border-spacing: 2px;
	border-collapse: separate;
	text-align: left;
}
.pagine caption {
    display: none;
}
.pagine th {
    background-color: #f5f5f5;
    color: #f05e2e;
    padding: 6px;
	text-align: left;
}
.pagine tr.grigio {
    background-color: #f5f5f5;
}
.pagine tr.grigio2 {
    background-color: #e0e0e0;
}
.pagine td {
    /*font-size: 12px;*/
    padding: 2px;
}
.pagine td.simboli {
   text-align: center;
}
.pagine td img {
margin-bottom: 2px;
}

.footer-divider {
  background: #f05e2e;
  border-top: 1px solid #644d42;
 /* border-bottom: 1px solid #523f35;
  height: 4px;*/
  width: 100%;
}
/* PAGE CONTENT ----------------------------------------------------*/.page-content {
  position: relative;
 /* margin: 20px 30px 80px 30px;*/
 margin: auto;
 width: 90%;
}
.page-content .heading {
  margin-top: 0;
}
.page-content #map {
  /* Google map */

  height: 350px;
  width: 100%;
  margin-bottom: 20px;
}

.pagine.asp {
	margin: 0 auto;
	background-color: #fff;
}


/*****************
********** HOME MEZZA COLONNA TESTO INTRODUTTIVO **********
****************/

.mezzaColonna { width: 47.7%;  float: left;
  margin-right: 2.1276%;
  position: relative;}
  
a.btnIscrizioni { 
	display: block;
	padding: 20px;
	border: 1px solid #e0dfdf;
	margin-top: 50px;
	text-align: center;
	text-decoration: none;
	font-family: 'Lato';
	font-weight: 400;	
	font-size: 18px;
	
	}
.anno { 
	color: #fff;
	background-color: #f05e2e;
	transition: all 0.9s ease 0s;
  -moz-transition: all 0.9s ease 0s;
  -webkit-transition: all 0.9s ease 0s;
  -o-transition: all 0.9s ease 0s;
	}
.anno:hover { 
	color: #f05e2e;
	background-color: #f1f0ee;
	}
.culla  { 
	color: #f05e2e;
	background-color: #f1f0ee;
	transition: all 0.9s ease 0s;
  -moz-transition: all 0.9s ease 0s;
  -webkit-transition: all 0.9s ease 0s;
  -o-transition: all 0.9s ease 0s;
	}
.culla:hover  { 
	color: #f1f0ee;
	background-color: #f05e2e;
	}

	
/*************************
********* Home NEWS ******
**************************/
.news-container {
    overflow: hidden;
}
.news-container img{
	width: 100%;
}


/*************************
********* Home DOCENTI ******
**************************/

#portfolio_page {
  margin-top: 115px;
  padding-bottom: 0;
}

.portfolio-items, 
.portfolio-filter {
  list-style: none outside none;
  margin: 0 0 40px 0;
  padding: 0;
}

.portfolio-filter > li {
  display: inline-block;
  margin-top: 7px;
}

.portfolio-filter > li a {
  background: none repeat scroll 0 0 #fff; /*#efab28 ;*/
  color:#0a3052;
  font-size: 14px;
  font-weight: 400;
  margin-right: 20px;
  text-transform: uppercase;
  transition: all 0.9s ease 0s;
  -moz-transition: all 0.9s ease 0s;
  -webkit-transition: all 0.9s ease 0s;
  -o-transition: all 0.9s ease 0s;
  border: 1px solid #0a3052;
  outline: none;
  border-radius: 5px;
  padding: 5px;
  text-decoration: none;
  font-family: "Lato",sans-serif;
}

.portfolio-filter > li a:hover,
.portfolio-filter > li a.active{
  color:#fff;
  background: #0a3052;
  /*border: 1px solid #3c6f9c;*/
  box-shadow: none;
  -webkit-box-shadow: none;
}

.portfolio-items > li {
  float: left;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.portfolio-item {
  margin: 0;
  padding:0;
}

.portfolio-item .overlay {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.9);
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 0;
    transition: opacity 300ms ease 0s;
	-webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  -o-transition: opacity 300ms;
  transition: opacity 300ms;
    vertical-align: middle;
    width: 100%;
}
.overlay .preview {
    display: inline-block;
    margin-top: -20px;
    position: relative;
    top: 50%;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

#recent-works{
    padding-bottom: 70px;
	background-color: #efefef;
}

.recent-work-wrap {
  position: relative;
  margin: 10px;
}

.recent-work-wrap img{
  /*width: 100%;*/
  border-radius: 5px;
}

.recent-work-wrap .recent-work-inner{
  top: 0;
  background: transparent;
  opacity: .8;
  width: 100%;
  border-radius: 0;
  margin-bottom: 0;
}

.recent-work-wrap .recent-work-inner h3{
  margin: 10px 0;
}

.recent-work-wrap .recent-work-inner h3 a{
	 /*font-size: 16px; MODIFICATO in 12*/
  font-size: 12px;
  color: #fff;
  font-family: "Lato", "nerislight", sans-serif;
  padding: 5px;
  text-decoration: none;
}
.recent-work-wrap .recent-work-inner h3 a:hover{
  color: #0a3052;
  text-decoration: none;
}
.recent-work-wrap span{
  color: #fff;
  position: absolute;
  top: 53px;
  right: 10px;
  font-family: "Lato", "nerislight";
  font-size: 20px;
  text-shadow: 1px 1px #003859;
}

.recent-work-wrap .overlay {
  position: absolute;
  top: 0;
  left: 0;
  /*width: 100%;*/
  height: 100%;
  opacity: 0;
  border-radius: 5px;
  background: #f05e2e;
  color: #fff;
  vertical-align: middle;
  -webkit-transition: opacity 500ms;
  -moz-transition: opacity 500ms;
  -o-transition: opacity 500ms;
  transition: opacity 500ms;  
  /*padding: 30px;*/
}

.recent-work-wrap .overlay .preview {
  bottom: 0;
  display: inline-block;
  height: 35px;
  line-height: 35px;
  border-radius: 0;
  background: transparent;
  text-align: center;
  color: #fff;
}

.recent-work-wrap:hover .overlay {
  opacity: 1;
}

/* Start: Recommended Isotope styles */
/**** Isotope Filtering ****/
.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/
.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
  -moz-transition-duration: 0.8s;
  -ms-transition-duration: 0.8s;
  -o-transition-duration: 0.8s;
  transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  -ms-transition-property: height, width;
  -o-transition-property: height, width;
  transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  -ms-transition-property: -ms-transform, opacity;
  -o-transition-property: -o-transform, opacity;
  transition-property: transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
  -moz-transition-duration: 0s;
  -ms-transition-duration: 0s;
  -o-transition-duration: 0s;
  transition-duration: 0s;
}

/* End: Recommended Isotope styles */
/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
}



/*-----------------------------------------------------------------------------------*/
/*	FEATURED and WORK LIST
/*-----------------------------------------------------------------------------------*/
.nav-categories {
  display: block;
  margin: 20px 30px 20px 30px;
  font-family: 'Lato', sans-serif;
  line-height: 48px;
  font-size: 14px;
  border-top: 4px solid #6b3b25;
  border-bottom: 1px solid #6b3b25;
}
.nav-categories li {
  display: block;
  float: left;
  margin-right: 20px;
}
.nav-categories li a {
  line-height: 1.5em;
  color: #6b3b25;
  text-decoration: none;
}
.nav-categories li a:hover {
  color: #f05e2e;
}
.nav-categories li.current a {
  color: #f05e2e;
  font-weight: bold;
}
.feature,
.work-list {
  display: block;
  margin-bottom: 30px;
  margin-left: 10px;
}
.feature li,
.work-list li {
  display: block;
  float: left;
  width: 300px;
  margin-left: 20px;
  margin-bottom: 40px;
}
.feature li .thumb,
.work-list li .thumb {
  position: relative;
  display: block;
  line-height: 0em;
  color: #dedad3;
  margin-bottom: 22px;
  background: #6b3b25;
  border: 5px solid #fff;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
.feature li .thumb:after,
.work-list li .thumb:after {
  position: absolute;
  bottom: -22px;
  left: 0px;
  content: '';
  background: url(../img/stacked-paper.png) no-repeat right bottom;
  width: 100%;
  height: 17px;
}
.feature li .thumb:hover .img-overlay,
.work-list li .thumb:hover .img-overlay {
  display: block;
}
.feature li .thumb:hover img,
.work-list li .thumb:hover img {
  opacity: 0.1;
}
.feature li .thumb img,
.work-list li .thumb img {
  max-width: 100%;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.feature li .thumb .img-overlay,
.work-list li .thumb .img-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  width: 119px;
  margin-left: -59.5px;
  margin-top: -19px;
  color: #fff;
  font-size: 12px;
  line-height: 30px;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  background: #f05e2e;
  text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.3);
  border: #f6a201 solid 3px;
  border-bottom: #c88401 solid 3px;
  border-right: #c88401 solid 3px;
}
.feature li .title,
.work-list li .title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1em;
  color: #6b3b25;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.feature li .categories,
.work-list li .categories {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}
.feature li .categories a,
.work-list li .categories a {
  color: #bb7e26;
  text-decoration: none;
}
.feature li .categories a:hover,
.work-list li .categories a:hover {
  text-decoration: underline;
}
.feature li .excerpt,
.work-list li .excerpt {
  display: block;
  font-size: 16px;
  font-family: 'Arvo', serif;
  margin-top: 10px;
  margin-bottom: 15px;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}
/* PAGER ------------------------------------------------------------*/
.pager {
  overflow: hidden;
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 400;
  margin: 0px 30px 60px 30px;
  border-top: 4px solid #6b3b25;
  border-bottom: 1px solid #6b3b25;
  padding-top: 10px;
}
.pager li {
  display: block;
  margin-right: 5px;
  margin-bottom: 10px;
  float: left;
}
.pager li a:hover,
.pager li.active a {
  background: #f05e2e;
  color: #fff;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
.pager li a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
  width: 20px;
  line-height: 20px;
  color: #62493d;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.pager .paged {
  float: right;
  font-style: italic;
  background: none;
  box-shadow: none;
  color: #6b3b25;
}
/*-----------------------------------------------------------------------------------*/
/*	BLOG
/*-----------------------------------------------------------------------------------*/
#posts-list {
  position: relative;
  width: 620px;
  margin-top: 30px;
  margin-left: 30px;
  margin-bottom: 40px;
  float: left;
}
#posts-list article {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #6b3b25;
}
#posts-list article:last-child {
  border: none;
}
#posts-list article .feature-image {
  position: relative;
  line-height: 0px;
  border: 5px solid #fff;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}
#posts-list article .feature-image:after {
  position: absolute;
  bottom: -22px;
  left: 0px;
  content: '';
  background: url(../img/stacked-paper.png) no-repeat right bottom;
  width: 100%;
  height: 17px;
}
#posts-list article .feature-image img {
  max-width: 100%;
}
#posts-list article .meta {
  color: #c78301;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  font-family: 'Arvo', serif;
  font-size: 14px;
  margin-bottom: 14px;
}
#posts-list article .meta a {
  color: #c78301;
  text-decoration: none;
}
#posts-list article .entry-title {
  color: #6b3b25;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}
#posts-list article .entry-title .post-heading {
  color: #6b3b25;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 700;
}
#posts-list article .excerpt {
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  margin-bottom: 21px;
}
#posts-list.single-post article {
  border: none;
}
/*-----------------------------------------------------------------------------------*/
/*	PAGE NAVIGATION
/*-----------------------------------------------------------------------------------*/
#posts-list .page-navigation {
  position: relative;
  left: 50%;
  display: block;
  margin-bottom: 100px;
  float: left;
}
#posts-list .page-navigation div {
  position: relative;
  right: 50%;
}
#posts-list .page-navigation div span {
  margin-bottom: 15px;
  display: inline-block;
}
#posts-list .page-navigation div:hover a {
  color: #6b3b25;
}
#posts-list .page-navigation a {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #fff;
  display: block;
  font-size: 12px;
  line-height: 41px;
  width: 112px;
  text-decoration: none;
  text-align: center;
}
#posts-list .page-navigation .nav-next {
  float: left;
  margin-right: 20px;
  background: url(../img/pagination.png) no-repeat 0px 0px;
}
#posts-list .page-navigation .nav-previous {
  float: right;
  background: url(../img/pagination.png) no-repeat right -59px;
}
/*-----------------------------------------------------------------------------------*/
/*	PROJECT PAGE
/*-----------------------------------------------------------------------------------*/
#project-gallery {
  width: 620px;
  float: left;
  margin-top: 30px;
  margin-left: 30px;
  margin-bottom: 40px;
}
#project-gallery .thumb {
  border: 5px solid #fff;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  line-height: 0em;
  margin-bottom: 20px;
}
#project-gallery .thumb img {
  max-width: 100%;
}
#project-info {
  margin-top: 30px;
  width: 255px;
  float: right;
  margin-right: 30px;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}
#project-info #project-title {
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 700;
  border-top: 4px solid #6b3b25;
  border-bottom: 1px solid #6b3b25;
  line-height: 1.3em;
  padding: 7px 0px;
  margin-bottom: 20px;
}
#project-info blockquote {
  margin: 0px 0px 20px 0px;
  padding: 0px;
  font-size: 21px;
  line-height: 1.5em;
}
#project-info #project-sheet {
  font-size: 14px;
  margin-top: 30px;
}
#project-info #project-sheet strong {
  font-weight: bold;
}
#project-info #project-sheet p {
  line-height: 1.3em;
}
#project-info #project-sheet .action-button {
  margin-top: 20px;
}
#project-info #project-sheet:before {
  content: '';
  display: block;
  width: 60px;
  border-top: 5px solid #6b3b25;
  margin-bottom: 30px;
}
/*-----------------------------------------------------------------------------------*/
/*	RELATED PROJECTS
/*-----------------------------------------------------------------------------------*/
.related-projects {
  margin: 30px 30px 40px 30px;
}
.related-projects .related-heading {
  border-top: 4px solid #6b3b25;
  border-bottom: 1px solid #6b3b25;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 56px;
  margin-bottom: 20px;
}
.related-projects .related-list li {
  float: left;
  width: 300px;
  margin-right: 20px;
  margin-bottom: 30px;
}
.related-projects .related-list li:nth-child(3n) {
  margin-right: 0px;
}
.related-projects .related-list li .thumb {
  display: block;
  border: 5px solid #fff;
  margin-bottom: 10px;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
.related-projects .related-list li .thumb img {
  max-width: 100%;
  height: auto;
  line-height: 0;
}
.related-projects .related-list li .heading {
  color: #6b3b25;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
/*-----------------------------------------------------------------------------------*/
/*	SIDEBAR
/*-----------------------------------------------------------------------------------*/
#sidebar {
  position: relative;
  width: 22%;/*250px; /*255px;*/
  /*margin-right: 30px;
  margin-top: 30px;*/
  margin-bottom: 30px;
  float: left;/*right;*/
}
#sidebar li{
	text-align: center;
}
#sidebar h5{
	margin-bottom: 0;
    margin-top: 0;
}
#sidebar .info, #sidebar .news{
	border-bottom: 1px solid;
    line-height: 1.3em;
    margin-bottom: 5px;
    padding-bottom: 15px;
    text-align: justify;
}
#sidebar .info:last-child, #sidebar .news:last-child{
	border-bottom: 0px solid;
}

 #sidebar .news i{
	color: #f05e2e;
}
#sidebar .block {
  font-size: 14px;
  margin-bottom: 30px;
  font-family: 'Lato', sans-serif;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}
#sidebar .block a {
  text-decoration: none;
  color: #0a3052;
}
#sidebar .block a:hover {
  text-decoration: none;
}
#sidebar .block a.link, .testo-container a.link {
  text-decoration: none;
  color: #f05e2e;
  font-weight: bold;
   transition-property: color;
  transition-duration: 2s;
}
#sidebar .block a.link:hover, .testo-container a.link:hover {
  text-decoration: none;
  color: #0a3052;
  font-weight: bold;
  transition-property: color;
  transition-duration: 2s;
}
#sidebar .block .heading {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  line-height: 48px;
  font-size: 18px;
  border-top: 4px solid #0a3052;
  border-bottom: 1px solid #0a3052;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 1);
  margin-top: 0px;
}
#sidebar .ads img {
  margin-bottom: 10px;
  margin-right: 0px;
}
#sidebar .toggle-trigger, .toggle-senza {
  background-color: #ccc;
  color: #0a3052;
  font-size: 20px;
  -webkit-border-radius: 20px;
 -moz-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}
#sidebar .toggle-trigger i , .toggle-senza i {
	background-color: #0a3052;
	color: #fff;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
    border-radius: 15px;
    display: block;
    float: right;
	font-size: 20px;
    margin-right: 5px;
    padding: 7px;
	-webkit-box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}
.link-button.iscrizioni, #sidebar .block a.link-button.iscrizioni {
  background: #f05e2e;
  color: #fff;
  border: 1px solid #efab28;
  border-bottom: 1px solid #a97002;
  width: 90%;
  margin-top: 5px;
  margin-bottom: 20px;
  font-family: 'Lato',sans-serif;
  -webkit-transition-property: background-color, box-shadow;
  -webkit-transition-duration: 2s;
  -moz-transition-property: background-color, box-shadow;
  -moz-transition-duration: 2s;
  -o-transition-property: background-color, box-shadow;
  -o-transition-duration: 2s;
  transition-property: background-color, box-shadow;
  transition-duration: 2s;
}
.link-button.iscrizioni:hover, #sidebar .block a.link-button.iscrizioni:hover {
  background: #efab28;
  -webkit-box-shadow: -1px -1px 0 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: -1px -1px 0 0 rgba(0, 0, 0, 0.1);
  -o-box-shadow: -1px -1px 0 0 rgba(0, 0, 0, 0.1);
  box-shadow: -1px -1px 0 0 rgba(0, 0, 0, 0.1);
}
#sidebar img.newsimg  {
	width: 100%;
}

.sapernedipiu {
	font-family: "Lato",sans-serif;
	margin-bottom: 10px;
	width: 90%;
	color: #f05e2e;
	display: block;
	text-align: center;
	border-color: #fff;
    border-image: none;
    border-style: solid;
    border-width: 1px;
	border-radius: 3px;
	box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.1);
	font-size: 16x;
	padding: 8px 10px;
	margin-top: 15px;
}
.sapernedipiu:hover {
	border-color: #f1f0ee;
	border-width: 1px;
	box-shadow: 0px 0px 0 0 rgba(0, 0, 0, 0.1);
	background-color: #e3e3e3;
	color: #0a3052;
}


/*-------
INFO
/*------ */
#toTop {
	margin-top: 15px;
	margin-bottom: 10px;
	display: inline-block;
}
#toTop {
    background: url(../img/back-top-btn.png) no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    bottom: 55px;
    cursor: pointer;
    display: none;
    height: 47px;
    position: fixed;
    right: 20px;
    text-align: center;
    text-indent: -9999px;
    width: 47px;
    z-index: 12;
}
.nav-button{
  display: inline-block;
  margin-top: 10px;
  text-transform: uppercase;
  float: right;
}
#info {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,.8);
  z-index: 99999;
  text-align: center;
  display: none;
}
.main-nav {
  background-color: #fff;
  width: 400px;;
  display: inline-block;
  position: relative;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav ul li {
  display: block;  
  text-align: center;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  display: block;
  border-top: 1px solid #f5f5f5;
  padding-top: 20px;
  padding-bottom: 20px;
  font-weight: 700;
  font-size: 36px;
  color:#5e5e5e;
}

.main-nav ul li:first-child a {
  border-top: 0;
}

.main-nav ul li:hover a,
.main-nav ul li.active a {
  background-color: #333;
  color: #999;
}
#hidemenu {
  display: inline-block;
  position: absolute;
  top: -30px;
  right: -30px;
  color: #666;
}

#hidemenu:hover {
  color: #000;
}
.vertical-middle {
  height: 100%;
  width: 100%;
  display: table;
}


/*-----------------------------------------------------------------------------------*/
/*	PIE' di PAGINA
/*-----------------------------------------------------------------------------------*/
.piepagina {
	width: 100%;
	/*background-image: url(../img/widgets-shadow.png);
	background-repeat: repeat-x, repeat;
	background-position: left bottom, left bottom;
	background: #244b6d;*/
	background-image: linear-gradient(#0a3052, #082641); 
	border-top: 3px solid #f05e2e;
	margin-top: 95px;
}
a.footerIscrizioni {
  background: #fff;
  color: #0a3052;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 20px;
  font-family: 'Lato',sans-serif;
  -webkit-transition-property: background-color;
  -webkit-transition-duration: 2s;
  -moz-transition-property: background-color;
  -moz-transition-duration: 2s;
  -o-transition-property: background-color;
  -o-transition-duration: 2s;
  transition-property: background-color;
  transition-duration: 2s;
  border: 0;
  text-shadow: 0px !important;
  font-weight: 600;
}
a.footerIscrizioni:hover {
  background: #f05e2e;
  color: #fff;
}

/*-----------------------------------------------------------------------------------*/
/*	FOOTER
/*-----------------------------------------------------------------------------------*/
footer {
  position: relative;
  text-align: center;
  padding: 30px 30px 30px 30px;
  font-size: 13px;
  color: #0a3052; /*#7a540c;*/
  background-color: #e0e2e3;
}
footer:after {
  content: '';
  position: absolute;
  bottom: -46px;
  height: 46px;
  width: 95%;
  width: 940px\9;
  background: url(../img/main-shadow.png) no-repeat top center;
}
footer a {
    color: #0a3052;
    text-decoration: none;
}
footer a:hover {
  color: #fff;
  border-bottom: 1px dotted #fff;
}

.linkfarm{
  display:inline-block;
  padding-top:15px;
  width:90%;
  margin:auto;
}
/*-----------------------------------------------------------------------------------*/
/*	VALIDARE CAMPI FORM
/*-----------------------------------------------------------------------------------*/
input:required:invalid,
input:focus:invalid 
{
  background-image: url(../img/form_validation.png);
  background-position: right bottom;
  background-repeat: no-repeat;
}
 
input:required:valid
{
  background-image: url(../img/form_validation.png);
  background-position: right top;
  background-repeat: no-repeat;
}


/*-----------------------------------------------------------*/
/*  Nuovo menu x MOBILE 
/*-----------------------------------------------------------*/

#mobnav-btn {
  display: none;
  font-size: 20px;
  font-weight: bold;
  font-family: 'Lato';
  text-align: center;
  background-color: #00507f;
  color: white;
  padding: 10px;
  cursor: pointer;
}
.mobnav-subarrow {
  display: none;
}

@media only screen and (max-width: 780px) {
  #mobnav-btn {
    display: block;
  }
  .mobnav-subarrow {
    display: block;
	color: #fff;
    background-color: #00507f;
    /*opacity: .3;*/
    border-bottom: 1px solid white;
    border-top: 1px solid black;
    height: 20px;
    width: 30px;
    background-position: top left!important;
    position: absolute;
    top: 22px;
    right: 10px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
  }
  .sf-menu {
    width: 100%!important;
    display: none;
  }
  .sf-menu.xactive {
    display: block!important;
  }
  .sf-menu li {
    float: none!important;
    display: block!important;
    width: 100%!important;
  }
  .sf-menu li a {
    float: none!important;
  }
  .sf-menu ul {
    position: static!important;
    display: none!important;
  }
  .xpopdrop ul {
    display: block!important;
	visibility: visible !important;
	margin-top: 0 !important;
    width: 100%;
  }
}