@import url(http://fonts.googleapis.com/css?family=Raleway:500,100,400,200,300);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600);

/*================= GENERALE ====================*/

body {
	font-family: 'Open Sans', sans-serif;
	margin: 0px;
	color:#9e9ea0;
}

.clr{
	clear:both;
}

h1 {
	color: #6ea535;
	border-bottom: 1px dotted #9e9ea0;
	padding-bottom: 5px;
	font-weight: 300;
}

h2{
	color:#6ea535;
	font-weight: 300;
}

/*================= SIDEBAR ====================*/

.sidebar {
	float: left;
	min-height: 1580px;
	width: 17.5%;
	padding: 30px 30px 0px 30px;
	background-image: url('../img/sidebar-bg.png');
	background-repeat: no-repeat;
	background-position: bottom left;
	background-size: contain;
	border-right: 1px dotted #9e9ea0;
}

.logo h1 {
	text-indent: -9999px;
	background-image: url('../img/my-logo.jpg');
	background-repeat: no-repeat;
	height: 395px;
	width: 100%;
	margin: 0px;
	background-size: contain;
	border-bottom:none;
}

.sidebar p {
	margin: 5px 0;
}

.sidebar h2 {
	margin-bottom: 0px;
	border-bottom: 1px dotted #9e9ea0;
}

.sidebar h2 a{
	text-decoration:none;
	color: #6ea535;
}

a.social {
	display: inline-block;
	margin-top: 15px;
	margin-right: 20px;
}

.sidebar ul {
	-webkit-padding-start: 20px;
	margin-top: 10px;
}

.sidebar ul li a {
	text-decoration:none;
	color: #9e9ea0;
}

/*================= HEADER ====================*/


/*================= TOP-MENU ====================*/

.top-menu ul {
	float: right;
	margin: 0px;
}

.top-menu li{
	display:inline-block;
	font-size: 22px;
}

.top-menu li:after{
	content: "//";
	margin: 0 15px;
}

li.last:after {
	content: none;
}

.top-menu li a{
	text-decoration:none;
	color:#6ea535 !important;
}

#header {
	margin: 30px 30px 0px 0px;
	float: left;
	width: 70%;
	padding-left: 30px;
}

ul{
	-webkit-padding-start: 0px;
}

/*================= OFFSIDE MENU ====================*/

#mobile-header {
    display: none;
}

#normal-header{
    display: block;
}

a#responsive-menu-button {
	position: fixed;
	right: 15px;
	top: 15px;
}

div#mobile-header {
	width: 100%;
	padding: 0px;
	background-color: #FFFFFF;
	height: 60px;
	border-bottom: 1px dotted;
	z-index: 2;
}

@media(max-width:1001px){
    #mobile-header {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
	}
    
    #normal-header{
   		display: none;
	}
}

/*================= MAIN ====================*/

.main {
	margin: 0px 30px 30px 0px;
	float: left;
	width: 70%;
	padding-left: 30px;
}

/*================= CHI-SONO ====================*/
p.chi-siamo-text {
	width: 75%;
	text-align: justify;
	float: left;
	margin-right: 30px;
}

section.chi-sono img {
	float: left;
	width: 20%;
}
/*================= PORTFOLIO ====================*/

.portfolio h2{
	margin: 0px;
}

.portfolio a{
	text-decoration:none;
	color:#FFFFFF;
	display:block;
}

article.website {
	width: 49%;
	float: left;
	height: 305px;
	background-image:url('../img/portfolio/website.jpg');
	background-size:cover;
	background-repeat: no-repeat;
	background-position: 50%;
	margin: 0 5px 0 0;
}

.website h2 a{
	padding: 27.6%;
	text-align: center;
}

article.grafica {
	float: left;
	width: 50%;
	height: 150px;
	background-image:url('../img/portfolio/grafica.jpg');
	background-size:cover;
	background-repeat: no-repeat;
	background-position: 50%;
	margin: 0 0 5px 0;
}

article.grafica h2 a{
	padding: 11.6%;
	text-align: center;
}

article.illustrazione {
	float: left;
	width: 50%;
	height: 150px;
	background-image:url('../img/portfolio/illustration.jpg');
	background-size:cover;
	background-repeat: no-repeat;
	background-position: 50%;
}

article.illustrazione h2 a{
	padding: 11.6%;;
	text-align: center;
}


/*================= SERVIZI ====================*/

.servizi h1 {
	text-align: center;
}

article.servizio {
	float: left;
	width: 33%;
	margin: 10px 0px;
}

article.servizio h2{
	text-align:center;
	color:#9e9ea0;
	font-weight: 300;
	margin-top: 5px;
}

article.servizio img {
	margin: 0 auto;
	display: block;
	width:200px;
}

.first-servizio{
	margin-left:0px !important;
}


/*================= FOOTER ====================*/

footer#footer {
	float: left;
	width: 78%;
	height: 50px;
	overflow: hidden;
}

.main-bg {
	position: fixed;
	right: -150px;
	z-index: 1;
	bottom: -200px;
}

a.contattami {
	position: fixed;
	bottom: 40px;
	right: 11px;
	z-index: 2;
}


/*================= CONTATTI - PAGE====================*/

article.dati {
	float: left;
	width: 40%;
}

article.social {
	width: 40%;
}

article.map{
	float: right;
	width: 60%;
}

article.map img{
	width: 100%;
}

#contatti .sidebar {
	min-height: 1000px !important;
}

/*================= PORTFOLIO - PAGE ====================*/
#portfolio .sidebar {
	min-height: 1000px !important;
}

.portfolio-block {
	width: 224px;
	height:224px;
	float: left;
	display: block;
	margin: 10px;
	overflow: hidden;
}

.portfolio-block:hover img{  
  width:250px;
  height:250px;
  -webkit-filter: grayscale(100%);
}

.portfolio-block img{  
  width:224px;
  height:224px;
  
  -webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	-ms-transition: all 1s ease;
	transition: all 1s ease;
}


.category-verde{
	background: #6EA511;
	margin-left:0px;
	opacity: 0.8;
}

.category-grigio{
	background: #9e9ea0;
	margin-left:0px;
	opacity: 0.8;
}

.portfolio-block h2 {
	color: #FFFFFF;
	text-align: center;
	margin: 0px;
	padding: 35% 0px;
}

#portfolio-illustrazioni .sidebar{
	min-height: 1000px !important;
}

#portfolio-grafica .sidebar{
	min-height: 1000px !important;
}

#portfolio-website section > h2{
	font-style: italic;
	color:#9e9ea0;
	font-size:18px;
}

#portfolio-website a{
	text-decoration:none;
	color:#9e9ea0;
}

section.pescatore {
	margin-bottom: 150px;
}


/*================= MEDIA ====================*/

@media(max-width:1001px){
	.sidebar{
	width:90%;
	border: none;
	float: none;
	min-height: 750px;
	background-image: none;
	margin-top: 40px;	
}
	
	#portfolio-grafica .sidebar {
		min-height: 850px !important;
	}
	
	#portfolio-illustrazioni .sidebar {
		min-height: 850px !important;
	}

	.main{
		width:90%;
		margin: 0;
		padding: 0 30px;
	}
	
	#contatti .sidebar {
		min-height: 480px !important;
	}
	
	#portfolio .sidebar {
		min-height: 850px !important;
	}

}



@media(max-width:701px){

	article.dati {
		float: none;
		width: 100%;
	}
	
	article.social {
		float: none;
		width: 100%;
	}
	
	article.map {
		float: none;
		width: 100%;
	}
	
	p.chi-siamo-text {
		width: 100%;
		text-align: justify;
		float: none;
		margin: 0 0 20px 0;
	}
	
	section.chi-sono img {
		float: none;
		width: 70%;
		margin: 0 auto;
		display: block;
	}
	
	article.servizio {
		float: left;
		width: 50%;
		margin: 10px 0px;
	}
		
	footer{
		display: none;
	}

}

@media(max-width:570px){
	
	.logo h1 {
		background-position-x: center;
	}
	
	article.servizio {
		float: left;
		width: 100%;
		margin: 0 auto;
		margin-bottom: 10px;
	}
	
	article.website {
		width: 100%;
		float: none;
		height: 305px;
		margin: 0px;
		margin-bottom:5px;
	}
	
	.website h2 a {
		padding: 37.8%;
	}
	
	article.grafica {
		width: 100%;
		float: none;
		margin: 0px;
		margin-bottom:5px;
	}
	
	article.grafica h2 a {
		padding: 16.5%;
	}
	
	article.illustrazione  {
		width: 100%;
		float: none;
		margin: 0px;
		margin-bottom:5px;
	}
	
	article.illustrazione h2 a {
		padding: 16.5%;
	}

}

@media (max-width:550px){

	.portfolio-block {
		float: none;
		display: block;
		margin: 0 auto;
		margin-bottom:30px;
	}

}
