body {
	font: 62.5%/1.8em arial, Helvetica, sans-serif;
	color: #3d3533;
	text-align: center;
	background: #d5cfc8 url("img/bkg.jpg") repeat-x top;
	}
	
	html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

*	{margin:0; padding:0;}

a, a:visited {
	text-decoration: none;
	}

a:hover {
	text-decoration: none;
	}

ul{
	list-style: none;
	}

a img,:link img,:visited img{
	border:none
	}

#wrap { 
	text-align: left; 
	margin: 0 auto; 
	position: relative; 
	background: #fdfdfc;
	}
	
#innerwrap{
	max-width: 800px;
	margin: 0 auto; 
}

img.block{
	display:block;
	border:none
	}
	
img { 
	max-width: 100%;
	height: auto;
}
	
	/*--------------------------------
		HEADWRAP
	 --------------------------------*/

#brand h1 a {
 		color:#3d3533;
	}

#brand h1 a span {
	xdisplay: none;
	}
	
#brand h1 {
	font-size:2.2em;
	font-weight:lighter;
	font-family:Georgia, "Times New Roman", Times, serif;
	text-align: center;
	line-height: 1.2em;
	padding: 20px
	}

#quote{
	background: #59bacd url(img/quotebkg.gif);
	z-index:3;
	/* for IE */
  	filter:alpha(opacity=80);
  	/* CSS3 standard */
  	opacity:0.80;
    position: absolute;
    top: 250px;
    z-index: 3;
    overflow: hidden;
    width: 100%;
	}

#quote p{
	font-size:2em;
	line-height:1.2em;
	color:#fff;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	font-weight:100;
	text-align: center;
	padding: 20px;
	}
	/*--------------------------------
		NAV
	 --------------------------------*/
#nav {
	background:#3d3533;
	z-index:4;
	}
	
#nav li{
	height:45px;
	line-height:45px;
	text-transform:uppercase;
	letter-spacing:2px;
	width: 50%;
	float: left
	}
	
#nav li.move{
	}

#nav a, #nav a:visited {
	color:#59bacd;
	font-size:1.4em;
	display:block;
	padding-left:30px;
	background:url(img/nav.gif) no-repeat 10px center;
	border-bottom: 1px dotted white;
	}
	
#nav a:hover{
	color:#fff;
	}
	
	/*--------------------------------
		CONTENT
	 --------------------------------*/
#content{
	padding:0 20px 20px 20px;
	}	

#content h2{
	font-size:2.8em;
	line-height:1em;
	padding:42px 0 15px 0;
	margin-bottom:15px;
	border-bottom:#59bacd dashed 1px;
	color:#59bacd;
	letter-spacing:-1px;
	font-weight:lighter
	}

#content h3{
	font-size:1.8em;
	line-height:1em;
	padding:12px 0 8px 0;
	xletter-spacing:-1px
	}
	
#content h3.line{
	border-top:#59bacd 1px dashed;
	margin-top:30px
	}

#content p{
	font: 1.4em/1.6em "Lucida Grande", Arial, Verdana;
	padding-bottom:14px;
	}	
	
#content em.test {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:1.3em;
	color:#59bacd
	}

#content a, #content a:visited{
	border-bottom: 1px dotted #59bacd;
	color:#59bacd
	}

#content a:hover{
	border-bottom: 1px dotted #af4602;
	color:#af4602
	}	

#content a.no {
	border-bottom:none
	}
	
#content ul {
	list-style:square;
	padding:0 0 14px 24px
	}
	
#content li {
	padding-left:10px;
	font: 1.2em/2em "Lucida Grande", Arial, Verdana;
	}
	
img.size{
	width:800px;
	height:490px;
	background-color:#3d3533
	}	
	
#content p img.right{
	float:right;
	padding:8px;
	background-color:#fff;
	margin-left:10px;
	border:1px solid #d5cfc8
	}
	
#content p img.left{
	float:left;
	padding:8px;
	background-color:#fff;
	margin-right:10px;
	border:1px solid #d5cfc8
	}
	
#content p img.border{
	padding:8px;
	background-color:#fff;
	border:1px solid #d5cfc8
	}
	
	/*--------------------------------
		FOOTER
	 --------------------------------*/
#footer{
	height:160px;
	background: #d5cfc8 url(img/footer.jpg) no-repeat;
	}

#footer li{
	float: left;
	padding:0 10px;
	border-right:1px solid #fff;
	margin-top:40px;
	text-align: center;
	}

#footer li.first{
	
	}

#footer li.last{
	border-right:none;
	}

#footer a, #footer a:visited {
	color:#a09c8a;
	font-size:1.1em;
	display:block
	}

#footer a:hover{
	color:#af4602
	}	

.clearfix:after {
 	content: ".";              
 	display: block;         
 	height: 0;                  
	 clear: both;               
 	visibility: hidden;	     
	}
/* alsett ckearing method */
.clearfix {display: inline-block;}   /* a fix for IE Mac */
/* next a fix for the dreaded Guillotine bug in IE6 */
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}

@media only screen and (min-width: 450px) {
	
			
#quote p{
	font-size:2.6em;
	line-height:1.4em;
	}
	
	#brand h1 {
	font-size:2.6em;
	line-height: 1.5em;
	}
}

@media only screen and (min-width: 760px) {
	
	#content{
	padding:0 60px 40px 60px;
	}	
		
#quote p{
	font-size:3.6em;
	padding: 20px 60px;
	line-height:1.6em;
	}
	
#quote{
	right: 0px;
	left: 0px;
	height: 172px;
 width: auto;
	}

	
div#wedding{
	background-color: #3d3533;
    clear: both;
    display: block;
    height: 490px;
    position: relative;
    z-index: 2;	}
	
	#nav{
		text-align: center;
	}
	
	#nav li{
	 width: auto;
	 margin-right: 20px;
	 float: none;
	 display: inline-block;
	 	}
	 	
#nav a, #nav a:visited {
	border-bottom: none;
	}
	
	}
	

@media only screen and (min-width: 920px) {
	
	#content{
	padding:0 80px 40px 80px;
	}	
	
	#wrap, #footer { 
	max-width: 920px;
	}
	
	x#quote{
	position:relative;
	top:270px;
	height:172px;
		}
#quote{
		right: 60px;
		left: 60px
	}

		
	
}