.wrapper {
	width: 980px;
	margin: 0 auto;
	float:none;
	clear: both;
	
	-webkit-transition: width 0.2s ease-in-out;
	-moz-transition: width 0.2s ease-in-out;
	-o-transition: width 0.2s ease-in-out;
	-ms-transition: width 0.2s ease-in-out;
	transition: width 0.2s ease-in-out;
}

.grid div {
	background-color:#f6f6f6; /* colore box grid */
	height:20px;
}

#content {
	text-align: justify;
}

.home-titolo, .home-image, .home-image, .home-text {
	width: 70%;
	margin: 0 auto;
	float: none;
}

.home-image img {
	width: 100%;
	height:auto;
}


/* HOME */
.home-logo {
	width: 100%;
	height: 90vh;
	background-image: url(images/logo-big.jpg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}
@media only screen and (max-width: 768px) {
	.wrapper-home,
	.home-logo {
		height: 200px !important;
	}
}


/* INVIEW FADEIN */
.fadeUp {
	-webkit-transform: translateY(50px);
	transform: translateY(50px);
	opacity: 0;
  
	-webkit-transition: .6s ease-out;
	transition: .6s ease-out;
  }
  .fadeUp.inView {
	-webkit-transform: translateY(0px);
	transform: translateY(0px);
	opacity: 1;
  }


/* SIDEBAR PAGE */

#sidebar-page {
	width: 64%;
}

#sidebar {
	width: 30%;
	margin-right: 4%;
	padding-right: 2%;
	
	-moz-box-shadow: 1px 0px 0px #eeeeee;
	-webkit-box-shadow: 1px 0px 0px #eeeeee;
	box-shadow: 1px 0px 0px #eeeeee;
}

.s-cat {
	margin-bottom: 20px;
}

.cat-imm {
	width: 70px;
	height: auto;
	margin-right:20px;
}

.cat-imm img {
	width:100%;
	height:auto;
}

.s-cat span {
	width:auto;
	font-size: 40px;
	color: #ddd;
	margin-top: 25px;
	display: block;
}


/* TUTTO IL FOOTER */

#footer {
	font-size: 0.7em;
	line-height: 1.3em;
	margin: 60px 0 20px 0;
	text-transform: uppercase;
	text-align: center;
	color: #999;
}

#footer a{
	color: #999;
}


/* SEZIONE BLOG */

.post {
    width: 48%;
    margin-right: 2%;
    height: 80px;
    padding-bottom: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eeeeee;
}

.post-titolo {
	margin:0;
	line-height: 120%;
	margin-bottom: 10px;
}

.post-image {
	width: 20%;
}

.post-image img {
	max-width: 100%;
	width: 100% !important;
	height: auto !important;
	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.post-text {
	text-align:left;
	font-size:13px;
}

.post-cat, .post-cat a {
	font-size: 11px;
	text-transform: uppercase;
	color: #aaa;
}

.post h2{
	margin: 0;
}

.post-content {
	width: 75%;
	margin-left: 5%;
}

.social-networks {
    width: 140px;
    height: 30px;
    margin: 40px auto;
    float: none;
}
.footer-flag {
	width: 240px;
    height: 30px;
    margin: 40px auto;
    float: none;
}

.white-bg {
	background-color: #fff;
	border-top: 5px solid #dd2122;
}

/* PAGINA SINGLE.PHP */

.single-data {
	text-transform:uppercase;
	font-size: 0.7em;
	margin: 15px 0;
	padding: 10px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.home-cat {
	display:none;
}

#flag-footer {
	clear: both;
	margin-bottom: 20px;
}

.mergeRow, #mc_display_rewards {
	display:none;
}

.mc_merge_var input {
	border: 1px solid #ccc;
	padding: 10px 3%;
	width: 100%;
}

.mc_signup_submit input {
	width: 100% !important;
	background-color: #dd2122;
	color: #fff;
	border: 0;
	margin: 0 !important;
	padding: 10px;
}


@media only screen and (max-width: 980px) { /* PER MONITOR MENO DI 1280 px */	
.wrapper {
	width: 90%;
}

.s-cat span {
	display:none;

}

#flag-footer {
	display:block;
	width: 340px;
	margin: 0 auto;
	height: 50px;
	float: none;
}

}

@media only screen and (max-width: 768px) {

}

@media only screen and (max-width: 480px) {

#sidebar-page {
	width: 100%;
}

#menu-item-542, #menu-item-541 {
	display:block !important;
}

#sidebar {
	display: none;
}

.home-cat {
	display:block;
	width:15%;
	margin:5%;
}

.home-cat img {
	width:100%;
	height:auto;
}

.post {
	width:100%;
	margin-right:0%;
	height: auto;
	padding-bottom: 10px;
	margin-bottom: 40px;
	border-bottom: 1px solid #eeeeee;
}

/*
#sidebar {
	width: 100%;
	margin: 60px 0 0 0;
	padding: 40px 0 0 0;
	-moz-box-shadow: 0px -1px 0px #eeeeee;
	-webkit-box-shadow: 0px -1px 0px #eeeeee;
	box-shadow: 0px -1px 0px #eeeeee;
}
*/
	
}