body { 
      background: url(../decoro.svg) no-repeat bottom right fixed;
  background-size: contain;
    color:#333366; 
    font-family: 'cac_champagneregular';
    font-size:20pt; 
            margin: 0;
            padding: 0;
}


@media screen and (max-device-width: 900px) {
    body {
        background-position: top center;
        background-size: 100vh;
    }
}
a { text-decoration: none; color:#fff;}
a:visited{ color:#fff;}
   
/*___MENU___*/
.nav{ background: rgba(51,51,102,1); 
    z-index: 9999; position: fixed; left: 0; top: 0; width: 100%;  margin: 0; padding: 0;} /* this make our menu fixed top */
    
    .nav  { list-style: none; margin 0; padding-left: 30px; text-align: center;}
    .nav  li{ margin: 0; padding-left: 30px; display: inline-block;}
    .nav  li:first-child{ padding-left: 0;}
    .nav  li a { text-decoration: none; color:#fff;}
    .nav  li a:visited{ color:#fff;}


/*Style 'show menu' label button and hide it by default*/
.show-menu {
	text-decoration: none;
	color: #fff;
	background: #333366;
	text-align: center;
	padding: 0px 0;
	display: none;
    height: 20%;
}


/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ .nav {
    display: block;
}

/*Responsive Styles*/

@media screen and (max-device-width: 900px){
	/*Make dropdown links appear inline*/
	.nav {
		position: static;
		display: none;
        width: 100%;
        padding: 0;
	}
	/*Create vertical spacing*/
	li {
		margin-bottom: 1px;
        border-bottom: 2px solid #fff;
        height: 15%;
        max-height: 50px;
        padding: 0;
	}
	/*Make all menu links full width*/
	ul li, li a {
		width: 100%;
        padding: 0;
	}
    	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
}




        
        .header-unit {
  height: 600px;
  position: relative;

            border:0;
}
#video-container {
	position: absolute;
}
#video-container {
	top:0%;
	left:0%;
	height:100%;
	width:100%;
	overflow: hidden;
}
video {
	position:absolute;
	z-index:0;
}
video.fillWidth {
	width: 100%;
}
@media screen and (max-device-width: 900px){
#video-container {
	background: url(../poster.jpg);
    background-size: cover;

}
}

    #header{
        position: absolute;
        text-shadow: 2px 2px 1px #333366;
        color: #fff;
        font-size: 4em;
        padding: 30px;
        right: 5%;
        bottom: 10%;
    }

#clock {
    background: #333366;
    text-align: center;
    color: #fff;    
}
#wedding{
 text-align: center;
}
    
.column {
 background: rgba(51,51,102,0.5);
    text-shadow: 2px 2px 1px #333366;
        color: #fff;
    
    width: 450px;
    padding: 35px;
    margin: 20px auto;
      -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

@media screen and (max-device-width: 900px) {
   .column { 
   width:80%;
       max-width: 450px;
       padding: 5%;
   }
}
    

#gmap{
    background: rgba(51,51,102,1);
    text-align: center;
    padding: 20px;  
}

#gmap span {
 display: none;   
}

@media screen and (max-device-width: 900px) {
    #gmap iframe{ display: none;}
    #gmap span {display: block;}
}
    
.error{
    text-align: center;
    background-color: #333366;
    color: #fff;
    border: #fbfbfb solid 4px;
    
}
    
#contatti{
	width:100%;
	float:left;
	padding-top:0px;
}

#form-div {
	background-color:rgba(51,51,102,0.4);
	padding-left:35px;
	padding-right:35px;
	padding-top:35px;
	padding-bottom:50px;
	width: 450px;
	float: left;
	left: 50%;
	position: absolute;
  margin-top:30px;
	margin-left: -260px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}
@media screen and (max-device-width: 900px) {
   #form-div { 
   width:90%;
       max-width: 450px;
   }
}

.feedback-input {
	color:#333366;
	font-family: Helvetica, Arial, sans-serif;
  font-weight:500;
	font-size: 18px;
	border-radius: 0;
	line-height: 22px;
	background-color: #fbfbfb;
	padding: 13px 13px 13px 54px;
	margin-bottom: 10px;
	width:100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
  border: 3px solid rgba(0,0,0,0);
}

.feedback-input:focus{
	background: #fff;
	box-shadow: 0;
	border: 3px solid #333366;
	color: #333366;
	outline: none;
  padding: 13px 13px 13px 54px;
}

.focused{
	color:#333366 ;
	border:#333366 solid 3px;
}

/* Icons ---------------------------------- */
#name{
	background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#name:focus{
	background-image: url(http://rexkirby.com/kirbyandson/images/name.svg);
	background-size: 30px 30px;
	background-position: 8px 5px;
  background-position: 11px 8px;
	background-repeat: no-repeat;
}

#email{
	background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

#email:focus{
	background-image: url(http://rexkirby.com/kirbyandson/images/email.svg);
	background-size: 30px 30px;
  background-position: 11px 8px;
	background-repeat: no-repeat;
}

#comment{
	background-image: url(http://rexkirby.com/kirbyandson/images/comment.svg);
	background-size: 30px 30px;
	background-position: 11px 8px;
	background-repeat: no-repeat;
}

textarea {
    width: 100%;
    height: 150px;
    line-height: 150%;
    resize:vertical;
}

input:hover, textarea:hover,
input:focus, textarea:focus {
	background-color:white;
}

#button-blue{
	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
	float:left;
	width: 100%;
	border: #fbfbfb solid 4px;
	cursor:pointer;
	background-color: #333366;
	color:white;
	font-size:24px;
	padding-top:22px;
	padding-bottom:22px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}

#button-blue:hover{
	background-color: rgba(0,0,0,0);
	color: #333366;
}
	
.submit:hover {
	color: #333366;
}
	
.ease {
	width: 0px;
	height: 74px;
	background-color: #fbfbfb;
	-webkit-transition: .3s ease;
	-moz-transition: .3s ease;
	-o-transition: .3s ease;
	-ms-transition: .3s ease;
	transition: .3s ease;
}

.submit:hover .ease{
  width:100%;
  background-color:white;
}


}
