html,body{
	font-family: 'Open Sans', sans-serif;
	font-size:12px;
	color:#777;
	background: #fff;
	margin:0px;
	height:100%;
	width:100%;
	position:relative;
	}
@font-face {
    font-family: ma;
    src: url('font/ma.ttf');
}

A:link 			{text-decoration: none; color:#666;}
A:visited 		{text-decoration: none; color:#666;}
A:active 		{text-decoration: none; color:#666;}
A:hover 		{text-decoration: none; color:#dc4f63;}

h1	{
	margin:0;
	font-size:20px;
	font-weight:normal;
	}	
div{
	position:relative;
	}
[contentEditable=true]:empty:not(:focus):before{
    content:attr(data-text)
}

.pag0{
	height:100%;
	min-height:600px;
	width:100%;
	}
.header{
	width:100%;
	min-width: 600px;
	height:200px;
	border-bottom:3px solid #eee;
	text-align:center;
	box-sizing: border-box;
	z-index:3;
	background: #fff;
	}

.header .icon{
	display: inline-block;
	background-size: 70%;
	background-position: center;
	background-repeat: no-repeat;
	background-color:rgba(220,79,99,0.5);
	min-height: 120px;
	width: 120px;
	position: absolute;
	left:50%;
	margin-top: 30px;
	margin-left:-60px;
	border-radius: 50%;
	overflow: hidden;
	box-sizing: border-box;
    box-shadow: 0 1px 6px 1px rgba(102, 102, 102, .15);
	border:3px solid #eee;
	-webkit-transition: 200ms ease;
	-moz-transition: 200ms ease;
	-ms-transition: 200ms ease;
	-o-transition: 200ms ease;
	transition: 200ms ease;
	}

.header .p2{
	background-image: url('../img/icon2.png');
	}
.header .p3{
	background-image: url('../img/icon4.png');
	}
.header .p4{
	background-image: url('../img/icon1.png');
	}
a.aug{
	display: inline-block;
	width: 200px;
	height: 185px;
	text-align:center;
	position:relative;
	-webkit-transition: 200ms ease;
	-moz-transition: 200ms ease;
	-ms-transition: 200ms ease;
	-o-transition: 200ms ease;
	transition: 200ms ease;
	}
a.aug:hover .icon{
	min-height: 140px;
	width: 140px;
	border-radius: 140px;
	margin-left:-70px;
	margin-top:20px;
	}
.header .tit{
	font-size:11px;
	text-transform: uppercase;
	position: absolute;
	width: 100%;
	bottom: 0px;
	}
.contP{
	overflow:hidden;
	width:100%;
	min-width: 600px;
	height:calc(100% - 200px);
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	background-image: url('../img/weddingAeM.jpg');
	text-align: center;
	color:#fff;
	z-index:1;
	opacity:attr(data-state);
	}
.contP .cont, .stay{
	overflow: auto;
	width:100%;
	position: relative;
	min-width: 600px;
	height:100%;
	background: -moz-linear-gradient(top,  rgba(150,115,0,0.16) 0%, rgba(149,114,0,0.16) 1%, rgba(45,44,0,0.79) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(150,115,0,0.16) 0%,rgba(149,114,0,0.16) 1%,rgba(45,44,0,0.79) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(150,115,0,0.16) 0%,rgba(149,114,0,0.16) 1%,rgba(45,44,0,0.79) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	-webkit-transition: 200ms ease;
	-moz-transition: 200ms ease;
	-ms-transition: 200ms ease;
	-o-transition: 200ms ease;
	transition: 200ms ease;
	}
.cont{
	height: calc(100% - 200px);
	}
.stay .nomi{
	font-family: ma;
	font-size:60px;
	display: inline-block;
	width:100%;
	height: calc(100% - 200px);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url('../img/marta_e_alessio.png');
	}
.stay .data{
	width:100%;
	text-align:center;
	}
.stay .data div{
	width:300px;
	display:inline-block;
	background:rgba(220,79,99,0.9);
	border:1px solid #eee;
	padding:10px;
	border-radius:100%;
	}
.countdown{
	position: absolute;
	bottom:20px;
	min-width: 600px;
	width:100%;	
	}
.countdown_item{
	display:inline-block;
	text-align: center;
	position:relative;
	}
.countdown_item canvas{
	position:absolute;
	z-index:2;
	transform: rotate(-160deg);
	}
.countdown_item .label{
	position:absolute;
	z-index:2;
	display: inline-block;
	width:100%;
	text-align:center;
	bottom:10%;
	left:0px;
	}
.digits{
	display: inline-block;
	width: 100%;
	height: 100%;
	border-radius: 100%;
	box-sizing:border-box;
	}
.digits::before{
	content:'';
	vertical-align: middle;
	display: inline-block;
	height: 100%;
	}
.digits p{
	vertical-align: middle;
	display: inline-block;
	line-height: normal;
	text-align: center; 
	border: 0px;
	margin:0;
	}

.contAgenzia{
    position:absolute;
    opacity:1;
    z-index:10000;
    top:25%;
    height:0.1%;
    width:100%;
    text-align:center;
	}
.agenzia{
    display: inline-block;
    max-width:80%;
    max-height: 60000%;
    width: 500px;
    background-color:rgba(0,0,0,0.7);
    color:#fff;
    border-radius:3px;
    text-align:left;
    font-size:15px;
    overflow-y: auto;
    box-shadow: 0 1px 6px 1px rgba(102, 102, 102, .15);
	}
.agenzia .d1{
    padding:15px;
	background-color:#dc4f63;
    text-align:center;
	font-weight:bold;
	}
.agenzia .d2{
    padding:15px;
	background-color:#fff;
	color:#666;
	}
.pag1{
	height: 100%;
	width:100%;
	overflow: visible;
	}
.pag1 .contIntP1{
	width:100%;
	overflow-x:hidden;
	z-index: 4;
	}
.pag1 .p1d1, .p1d2, .p1d3{
    display: inline-block;
    margin-top:120px;
    width:33.33%;
	vertical-align:top;
	-webkit-transition: 1000ms ease;
	-moz-transition: 1000ms ease;
	-ms-transition: 1000ms ease;
	-o-transition: 1000ms ease;
	transition: 1000ms ease;
	}
.pag1 .sepPag{
	border-bottom:1px solid #ccc;
	width:90%;
	margin-left: 5%;
	font-size:50px;
	line-height:50px;
	text-align:center;
	padding: 50px 0px ;
	color:#000;
	font-family: ma;
	}
.pag1 .sepPag .contInit{
	width:120px;
	background:#fff;
	position:absolute;
	margin: 0px 0px -17.5px -60px;
	display:inline-block;
	color:#fff;	
	bottom:0px;
	}
.pag1 .sepPag .init{
	width: 80px;
	height: 40px;
	display: inline-block;
	background: rgba(220, 79, 99, 0.9);
	border: 1px solid #eee;
	font-size: 15px;
	line-height: 15px;
	border-radius: 100%;
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url('../img/MA.png');
	}
.d2 .d2a{
	display:inline-block;
	color: #aaa;
	width:30%;
	margin:10px 0px;
	box-sizing:border-box;
	vertical-align:top;
	}
.d2 .d2b{
	display:inline-block;
	width:70%;
	margin:10px 0px;
	border-left:1px solid #ccc;
	padding-left: 10px;
	box-sizing:border-box;
	vertical-align:top;
	}
.d2 .map{
	text-align:center;
	}
.d2 .ast{
	font-size:12px;
	line-height:15px;
	color:#000;
	}
.d2 .map a{
	color:#dc4f63;
	}
.pag1 .p1d4, .p1d5{
    display: inline-block;
    width:50%;
    overflow:auto;
	box-sizing:border-box;
	vertical-align:top;
	padding:40px;
	-webkit-transition: 1000ms ease;
	-moz-transition: 1000ms ease;
	-ms-transition: 1000ms ease;
	-o-transition: 1000ms ease;
	transition: 1000ms ease;
	}
.pag1 .tit{
	font-size:50px;
	line-height:100px;	
	}
.pag1 .foto{
    display: inline-block;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	min-height: 500px;
	width: 400px;	
	vertical-align:top;
	}

.pag1 .ale{
	background-image: url('../img/ale.jpg');
	}
.pag1 .testo{
    display: inline-block;
	vertical-align:top;
	box-sizing:border-box;
	width:calc(100% - 200px);
	padding:20px;
	font-size:20px;
	line-height:40px;	
	}
.pag1 .marta{
	background-image: url('../img/marta.jpg');
	}
.gallery{
    text-align:center;
    }
.gallery::before{
	content:'';
	vertical-align: middle;
	display: inline-block;
	height: 100%;
	}
.gallery .button{
	vertical-align: middle;
	display: inline-block;
	line-height: normal;
	text-align: center; 
	border: 0px;
	margin: 115px 0px;
	padding:20px;
	cursor:pointer;
	border-radius:10px;
	background-color:#dc4f63;
	display:inline-block;
	font-size:25px;
	position:relative;
	color:#fff;
	}
.footer{
	background-color:#dc4f63;
    text-align:center;
    height:300px;
    color:#fff;
	}
.footer::before{
	content:'';
	vertical-align: middle;
	display: inline-block;
	height: 100%;
	}
.footer a{
	vertical-align: middle;
	display: inline-block;
	line-height: normal;
	text-align: center; 
	border: 0px;
	margin:0;
	display:inline-block;
	font-size:20px;
	position:relative;
	color:#fff;
	}
.footer a:hover {
	color:#fff;
	}
.footer a .line{
	width:0%;
	position:absolute;
	bottom:0px;
	border-bottom:1px solid #fff;
	-webkit-transition: 200ms ease;
	-moz-transition: 200ms ease;
	-ms-transition: 200ms ease;
	-o-transition: 200ms ease;
	transition: 200ms ease;
	}
.footer a:hover .line{
	width:100%;
	}
.footer .autore{
	position:absolute;
	bottom:20px;
	color:#fff;
	font-size:14px;
	width:100%;
	left:0px;
	text-align:center;
	}

.divDialog{
    display: inline-block;
    max-width:60%;
    max-height: 30000%;
    width: 300px;
    background-color:rgba(0,0,0,0.7);
    color:#fff;
    border-radius:10px;
    padding:15px;
    text-align:left;
    font-size:15px;
    overflow-y: auto;
    box-shadow: 0 1px 6px 1px rgba(102, 102, 102, .15);
	border: 1px solid #d6dce1;
	}    
.divDialog a{
	color:#fff;
	text-decoration: underline;
	}
.contDivDialog{
    position:fixed;
    opacity:1;
    z-index:10000;
    top:45%;
    height:0.1%;
    width:100%;
    text-align:center;
    -webkit-transition: 1500ms ease;
    -moz-transition: 1500ms ease;
    -ms-transition: 1500ms ease;
    -o-transition: 1500ms ease;
} 
.divDialog .annulla{
	display:inline-block;
	margin:5px 5px 5px 0px;
	padding:5px;
	font-size:12px;
	background-color:#fff;
	color:#000;
	border-radius:3px;
	cursor:pointer;
	}  
.divDialog .conferma{
	display:inline-block;
	margin:5px;
	padding:5px;
	font-size:12px;
	background-color:#dc4f63;
	color:#fff;
	border-radius:3px;
	cursor:pointer;
	box-shadow: 0px 0px 2px 1px #fff;
	}
input[type='text'].insert{
	text-align: left;
	font-size:14px;
	color:#666;
	-moz-border-radius:3px; 
	-webkit-border-radius: 3px; 
	-khtml-border-radius: 3px; 
	border-radius: 3px;
	background:#ffffff; 
	border: 1px solid  #aaa; 
	box-shadow: 0 0 0px 1000px #fff inset;						
	padding:2px;
	margin: 0px 0px 10px 0px;
	width:100%;
	height:30px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding-left:15px;	
	}
/*	\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\		CSS per gallery		///////////////////////////////	*/
.contThumbsG{
	position:relative;
	-webkit-transition: 0.5s ease;
	-moz-transition:0.5s ease;
	-o-transition:0.5s ease;
	transition:0.5s ease;
	overflow: hidden;
	width: 90%;
	margin:50px 0px;
	text-align: center;
	display: inline-block;
	}
.thumbs{
	background-color:#fff;
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
	width: 33.33%;
	box-sizing:border-box;
	cursor:pointer;
	height:400px;
	display:inline-block;
	-webkit-transition: 200ms ease;
	-moz-transition: 200ms ease;
	-ms-transition: 200ms ease;
	-o-transition: 200ms ease;
	transition: 200ms ease;
	}
img.dontShow{
	position:fixed;
	bottom:-100px;
	opacity:0;
	width:50px;
	}	
.thumbs .zoom{
	opacity:0;
	font-weight:bold;
	font-size:30px;
	line-height:40px;
	color:#fff;
	background: -moz-linear-gradient(top,  rgba(150,115,0,0.16) 0%, rgba(149,114,0,0.16) 1%, rgba(45,44,0,0.79) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(150,115,0,0.16) 0%,rgba(149,114,0,0.16) 1%,rgba(45,44,0,0.79) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(150,115,0,0.16) 0%,rgba(149,114,0,0.16) 1%,rgba(45,44,0,0.79) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	display: block;
	box-sizing: border-box;
	padding: 170px 0px 0px;
	text-align: center;
    width:100%;
    height:100%;
	-webkit-transition: 200ms ease;
	-moz-transition: 200ms ease;
	-ms-transition: 200ms ease;
	-o-transition: 200ms ease;
	transition: 200ms ease;
	}
.thumbs:hover .zoom{
	opacity:0.8;
	}
.thumbs:hover{
	}
.contPages .page{
	display: inline-block;
	margin: 3px;
	padding: 0px 3px;
	background-color: #dc4f63;
	border-radius:2px;
	color:#fff;
	cursor:pointer;
	font-size:16px;
	min-width: 30px;
	}
	

.left{
	position: absolute; 
	left: 20px;
	top: 50%;
	width: 30px;
	height: 30px;
	background-color: #fff;
	color: #000;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 16px;
	padding: 7px 2px 0px 0px;
	border-radius: 50%;
	cursor: pointer;
	-webkit-transition: 200ms ease;
	-moz-transition: 200ms ease;
	-ms-transition: 200ms ease;
	-o-transition: 200ms ease;
	transition: 200ms ease;
	}
.left:hover{
	background-color:#000;
	color:#fff;
	}	
.right{
	position: absolute; 
	right: 20px;
	top: 50%;
	width: 30px;
	height: 30px;
	background-color: #fff;
	color: #000;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 16px;
	padding: 7px 0px 0px 2px;
	border-radius: 50%;
	cursor: pointer;
	-webkit-transition: 200ms ease;
	-moz-transition: 200ms ease;
	-ms-transition: 200ms ease;
	-o-transition: 200ms ease;
	transition: 200ms ease;
	}	
.right:hover{
	background-color:#000;
	color:#fff;
	}

.divSlider{
	-webkit-transition: 0.5s ease;
	-moz-transition: 0.5s ease;
	-o-transition: 0.5s ease;
	transition: 0.5s ease;	
	text-align: left;
    height:100%;
	}
.divSliderInt{
	display:inline-block;
	text-align: center;
	vertical-align: top;
	overflow:auto;
	}

.closeSubPage{
	position: absolute;
	right: 20px;
	top: 20px;
	width: 19px;
	min-height: 19px;
	border-radius: 19px;
	font-size: 20px;
	cursor: pointer;
	color: #fff;
	display: none;
	}
.downloadImg{
	position:absolute;
	bottom:20px;
	right:20px;
	padding:10px;
	background-color:#fff;
	color:#999;
	font-size:16px;
	border-radius:3px;
	}
.imgGallery{
	background-repeat:no-repeat;
	background-size:contain;
	background-position:center center;
	width: 100%;
	box-sizing:border-box;
	height:100%;
	}
.contV{
	position:relative;
	width:95%;
	height:0;
	padding-bottom:56.25%;
	}
.ifrV{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	}











	
	
	
	
	