@import url(http://fonts.googleapis.com/css?family=Play);
@import url(font-awesome.min.css);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700,600,300);

body{
	font-family: 'Open Sans', sans-serif;
}

/* PATCH CORNICI SU CLICK O FOCUS */
a, a:hover, a:focus, a:active {
   outline: 0;
}
/*FINE PATCH*/

#blocco0{
background: #1F1F1F;
color: #FFFFFF;

}
.blu{
	color:#184793;
}

.verde{
	color: #55a123;
}

.marginTop20{
	margin-top: 20px;
}

.marginBottom60{
	margin-bottom: 60px;
}

.nascondi{
	display: none;
}

h1{
	color:#55A123;
}
#blocco0 .col-xs-12{

}
a{
	transition: all 0.35s;
}
.riga{
	border-bottom: 4px solid #ececed;

	padding-top: 45px;
	margin-bottom: 48px;
	padding-bottom: 45px;
}
/*CAROUSEL*/
.carousel-control.left, .carousel-control.right{
	background-image: none;
}
/*FINE CAROUSEL*/

/* Galleria */

a.fancybox:hover{
	text-decoration: none;
}

.thumbnail{
	display: inline;
}

a.fancybox img{
	margin: 25px;
	max-width: 100%;
}

.itemg a{
	opacity: 0.5;
	transition: all 300ms ease-out; 
}
        
.itemg a:hover {
    opacity: 1;
}
	
.itemg {
	text-align:center;
	float:left;
	margin:2%;
	position:relative;			
}

.itemg,
.itemg-hover,
.itemg-hover .mask,
.itemg-img,
.itemg-type-move .itemg-info {
	width: 360px;
	height: 260px;						
}

.itemg-hover,
.itemg-hover .mask,
.itemg-img { 
	position:absolute;
	top:0;
	left:0;			
}			

.itemg-type-move .itemg-hover {	
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;	
	opacity:0;
	cursor:pointer;		
	z-index:100;
}

	.itemg-type-move .itemg-info {
		z-index:10;
		color:#ffffff;
		position:relative;
		z-index:5;			
		overflow:hidden;			
	}

	.itemg-type-move .itemg-info .headline,
	.itemg-type-move .itemg-info .date {
		width: 100%;
		position:absolute;
		-webkit-transition: all 300ms ease-out;
		-moz-transition: all 300ms ease-out;
		-o-transition: all 300ms ease-out;
		transition: all 300ms ease-out;		
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;	
		padding:0 10px;															
	}				

	.itemg-type-move .itemg-info .headline {
		font-size:18px;			
		top:10px;							
	}
	
	.itemg-type-move .itemg-info .date {
		font-size:14px;
		font-style:italic;
		bottom:10px;																		
	}
					
	.itemg-type-move .itemg-info .line {
		 height:1px;
		 width:85%;
		 margin:10px auto 0 auto;
		 background-color:#ffffff;		 
	}				
	
	.itemg-type-move .itemg-hover .mask {
		background-color:#000;
		opacity:0.5;
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
		filter: alpha(opacity=50);					
		z-index:0;
	}
	
	.itemg-type-move .itemg-hover:hover {
		opacity:1;
	}				

	.itemg-type-move .itemg-hover:hover .itemg-info .headline {
		top:35%;
	}				

	.itemg-type-move .itemg-hover:hover .itemg-info .date {
		bottom:35%;
	}
	

	
.itemg-img {			
	background-color:#7a548f;
	z-index:0;			
}

@media (max-width: 768px){
	a.fancybox img{
	margin: 25px 0px;
	max-width: 100%;
}
.itemg-img {			
	max-width: 100%;		
}
.itemg{
	margin: 20px 0px;
}
}
/* Galleria */
/*LISTA FRECCIA */
ul.list li {
  background: rgba(0, 0, 0, 0) url("/amici/image/marker1.png") no-repeat scroll 0 5px;
  padding-left: 16px;
}

ul.list {
  list-style: outside none none;
  margin: 0;
  padding: 0;
}
/*LISTA FRECCIA */
/* SCROLL SU */
#toTop {
  display: none;
  position: fixed;
  right: 60px;
  bottom: 50px;
  color: #1E58B7;
  width: 46px;
  height: 46px;
  text-align: center;
  padding: 0px;
  z-index: 999;
    -ms-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

#toTop:hover {
  color: #5BAC26;
  cursor: pointer;
  -ms-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

#toTop span {
  font-size: 34px;
  line-height: 46px;
  margin-left: 3px;
}

/* FINE SCROLL SU */
.blu{
	color: #1E58B7;
}

.verde{
	color: #5BAC26;
}

.bianco{
	color: #FFFFFF;
}

/*NAVBAR */

.language{
	text-align: right;
	position: absolute;
	right: 30px;
}

.language a{
	margin-left: 10px;
}

@media(max-width: 768px){
	.language{
	text-align: center;
	position: relative;
	right: 0;
}

	.language a{
		margin: 10px;
	}
}

.navbar-amici{
	background-color: #1a1a1a;
	border-color: #000000;
	margin-bottom: 0;
	font-family: 'Open sans', sans-serif;
}

.navbar-nav{
	margin-top: 78px;
}
.navbar-amici .navbar-nav > li > a{
	font-size: 22px;
	line-height: 8px;
	color: #FFFFFF;
}
.navbar-amici .navbar-nav > li > a:hover, .navbar-amici .navbar-nav > li > a:active{	
	color: #3B82E5;
}

.navbar-amici .navbar-nav > .active > a,
.navbar-amici .navbar-nav > .active > a:focus, 
.navbar-amici .navbar-nav > .active > a:hover{
	color: #3B82E5;
	background-color: #1A1A1A;
}
.navbar-amici .navbar-collapse, .navbar-amici .navbar-form{
	border: none;
}

.navbar-amici .navbar-collapse{
	box-shadow: none;
}
.navbar{
	min-height: 140px;
	border-radius: 0;
	border-bottom: 2px solid #184793;
}

/*FINE NAVBAR */

/* HOME */
#blocco1{

}
#blocco1 div#home1{
	width: 100%;
}

div#home1 img{
	width: 100%;
}
#blocco2{
	background: #1F1F1F;
	border-top: 2px solid #55a123;
	border-bottom: 2px solid #184793;
}

#blocco2 h3{
	color: #FFFFFF;
}

#blocco3{
	background: #1F1F1F;
}

h2.titolo{
	color: #55a123;
	border-bottom: 1px solid #184793;
}
h1.titolo{
	color: #55a123;
	border-bottom: 1px solid #184793;
}
.hometitle h1{
	font-size: 44px;
	color: #184793;
}
.hometitle h2{
	font-size: 34px;
	color: #55A123;

}

.boxHome{
	text-align: center;
	margin-bottom: 45px;
	color: #FFFFFF;
}
.boxHome h3{
	border-top: 1px solid green;
	border-bottom: 1px solid green;
	padding: 5px 0;
	color: #FFFFFF;
}

.boxHome a{
	color: #FFFFFF;
}

.boxHome a:hover{
	color: #DDDDDD;
	text-decoration: none;
}
.mainTitle{
	max-width: 164px;
	display: block;
	margin:auto;
}
.boxImg{
	background: #1E58B7;
	padding-bottom: 10px;

}
.boxHome img{
	margin: auto;
	max-width: 100%;
}

.boxHome p{	
	font-size: 18px;
	line-height: 170%;
}

/*HOME */
/*AZIENDA*/
#blocco0{
	padding-bottom: 45px;
}
div.titlecnt{
	text-align: center;
}
#blocco0 span{
	margin:auto;
	text-align: center;
	display: inline-block;
}

.colDx img{
	margin: 25px 0;
}

/*AZIENDA*/
/*ARTICOLI*/
p.articolo{
	line-height: 180%;
	font-size: 16px;
	border-left: 2px solid #55a123;
	padding-left: 5px;
}

ul.articolo{
	border-left: 2px solid #55a123;
	font-weight: bold;
}

/*FINE ARTICOLI */
/*CONTATTI */

#formContatti{
	margin-top: 25px;
}

div.contatti{
	padding-left: 20px;
}

/*FINE CONTATTI */
/*FOOTER*/
footer{
	color: #999999;
}

.social{
	display: inline-block;
	margin: 20px auto;
	font-size: 30px;
}
#blocco4{
	background: #000000;
}
/*FOOTER */

/*GOOGLE MAPS PATCH*/
.google-maps {
position: relative;
height: 325px;
padding: 15px;
overflow: hidden;
}
.google-maps iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 300px !important;
}
/*GOOGLE MAPS PATCH FINE*/