@charset "UTF-8";
/* CSS Document */

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-width : 320px)
and (max-width : 480px) {


	.main-picture, .main-content, .mezza-sx, .mezza-dx, .quarto-sx, .quarto-dx {
		display:block;
		width:100%;
		margin:0;
		padding-bottom: 0;
		margin-bottom: -0;
	}

	.quarto-sx img{
		height: 100%;
		overflow:hidden;
	}

	.main-picture {
		height:200px;
	}

	.main-picture img{
		width:100%;
		min-height:50%;
	}

	.hist-item-dx-txt {
		width:100%;
		text-align:center;
	}

	.hist-item-sx-txt {
		width:100%;
		text-align:center;
	}

	#foto-menu {
		display:block;
		width:100%;
		height:125px;
		background-color:#dadada;
		position:relative;
		text-align:center;
		padding-top:125px;
		font-size:40px;
	}

	#video-menu {
		display:block;
		width:100%;
		height:125px;
		background-color:#e3e3e2;
		position:relative;
		text-align:center;
		padding-top:125px;
		font-size:40px;

	}

	.gallery-menu {
		background-color:#f2f2f2;
		height:628px;
	}

	.album-row li {
		padding:5px;
	}

	.album-row li img {
		width:180px;
	}

	.video-gallery-item {
		width:300px;
		height:169px;
		margin-bottom:20px;
	}

	.hide-small {
		display: none;
	}

	.info {
		width:100%;
		background-color:#ffffff;
	}

	#form_contatti label, .dati, #invia {
			color:#505050;
		}

	.bg-sfondo-contatti .titolo-pg {
					color:#505050;
				}

	input, textarea {
		width:240px;
	}

	.bt {
		width:50%;
	}

	.equal-img img {
		width:100%
		height:200px;
		overflow:hidden;
	}

	#header {
		padding-bottom:1em;
	}

	.hide-small {
		display:none;
	}

	.img-side-tablet {
		padding-top:30px;
		display:block;
		clear:both;
		position:relative;
	}

	.lang {
		display:none;
	}


	#bg-home {
		border: none;
		height: 700px;
		left: -350px;
		position: fixed;
	}


	.img-mobile {
		display:block;
		width:100%;
		padding-top: 20px;
		}

	.main-picture {
		display:none;
		}

		.row-bot {
			height:100%;
		}

		h3 {
			padding-top:1.4em;
		}

}


/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
	.main-picture, .main-content, .quarto-sx, .quarto-dx  {
		display:block;
		width:100%;
		margin:0;
		padding-bottom: 0;
		margin-bottom: -0;
	}

	.main-picture {
		height:350px;
		overflow:hidden;
	}

	.main-picture img{
		min-width:100%;
		overflow:hidden;
	}

	.libro-sx img, .libro-dx img{
		padding-top:60px;
		padding-bottom:50px;
	}

	.libro-sx p, .libro-dx p{
		padding-bottom:40px;
	}

	#foto-menu, #video-menu {
		font-size:60px;
		padding-top:350px;
		padding-bottom: 1000em;
		margin-bottom: -1000em;
	}

	.gallery-menu {
		background-color:#f2f2f2;
		height:920px;
		padding-bottom: 1000em;
		margin-bottom: -1000em;
		overflow:hidden;
	}

	.album-row li {
		padding:5px;
	}

	.album-row li img {
		width:200px;
	}

	.video-gallery-item {
		width:560px;
		height:315px;
		margin-bottom:20px;
	}

	.hide-small {
		display:none;
	}


	.img-mobile {
		display:block;
		width:100%;
		padding-bottom:10px;
		}

	.main-picture {
		display:none;
		}

	.info {
			width:100%;
			background-color:#ffffff;
		}

	#form_contatti label, .dati, #invia {
			color:#505050;
		}

	#invia {
				margin-bottom:50px;
			}

	.bg-sfondo-contatti .titolo-pg {
				color:#505050;
			}

}

@media only screen
and (min-width : 769px)
and (max-width : 2215px) {

#bg-home {
		border: none;
		height: 100%;
		left: -350px;
		position: relative;
	}

}

@media only screen
and (min-width : 481px)
and (max-device-width : 768px)
and (orientation : portrait) {
	#bg-home {
			border: none;
			height: 968px;
			left: -150px;
			position: relative;
		}
}

@media only screen
and (min-width : 481px)
and (max-device-width : 1024px)
and (orientation : landscape) {
	#bg-home {
			border: none;
			height: 712px;
			left: -150px;
			position: relative;
		}
}

/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1224px) {
	.mezza-dx {
		padding-bottom: 0;
	}

	.main-picture img {
		margin: 0;
		min-height: 50%;
		overflow: hidden;
		padding: 0;
		width: 100%;
	}

	.libro-sx img, .libro-dx img{
		padding-top:70px;
		padding-bottom:60px;
	}

	.libro-sx p, .libro-dx p{
		padding-bottom:70px;
	}

	.gallery-menu {
		background-color:#f2f2f2;
		/*height:920px;*/
		height:100%;
		overflow:hidden;
	}


	#foto-menu, #video-menu {
		font-size:60px;
		padding-top:350px;
		padding-bottom: 0;
		margin-bottom: 0;
		height:1000px;
	}

	.video-gallery-item {
		width:560px;
		height:315px;
		margin-bottom:20px;
	}


}





/* visibilità elementi ----------- */
@media only screen
and (max-width : 380px) {
	.show-medium, .show-large {
		display:none;
	}

	.equal-txt {
		width:100%;
	}

}

@media only screen
and (min-width : 381px) and (max-width : 980px) {
	.show-small, .show-large {
		display:none;
	}

	.equal-txt {
		width:100%;
	}
}

@media only screen
and (min-width : 981px)  {
	.show-small, .show-medium {
		display:none;
	}

	.equal-txt {
		float:left;
		padding-left:1%;
		width:60%;
	}
}


@media only screen
and (min-width : 1500px)  {
	p {
		font-size:1.4em;
	}
}
