/* Structure */
html{
	background: #eee;
	background-image: url("../images/background.jpg");
}
body {
  padding: 0px;
  color: #333;
  margin: 0 auto;
  max-width: 1040px;
  font-family: 'Lato', sans-serif;

  }

a {
  color: #B1B1B1;
}

header {
	height: 60px;
}

header h1{
	margin-bottom: 0;
}

header h1 span{
	display: inline;
	color: rgba(255,255,255,.4);
}

header span{
	display: block;
	color: rgba(255,255,255,.2);
/*	font-weight: 300; */
	margin-bottom: 1.6em
}

header nav{
	float: right;
	text-align: right
}
header nav div{
	font-size: .8em;
}
header nav div a {
/*	font-weight: 300; */
	padding: .3em .5em;
}
header nav a{
	color: #fff;
	display: inline-block;
	padding: .3em .8em
}

header nav a:hover, header nav a:focus{
	color: #004E83;
}


[role=main]{
	padding:1.5em 3em;
}

article{
/*	background: #fff; */
	padding: 2em;
	padding-bottom: 0.8em;
/*	padding: 1em 4em 1em 1em; */
/*	border: 1px solid red; */
	min-height: 310px;
	color: #8f8f8f;
	font-size: 1.1em;
	background-position: top right;
	overflow: visible;
	padding-left: 5%;
}
footer{
	height: 60px;
}

.photo {
	background-image: url("../images/slidershadow.png");
	background-position: center top;
	padding: 0;
	text-align: right;
	min-height: 0px;
	height: auto;
	padding-bottom: 40px;

}

.one {
	background-image: url("../images/paper.png");
}

.two {
	background-image: url("../images/paperflip.png");
}

.location {
	background-image: url("../images/papercut.png");
	min-height: 340px;
	background-repeat: no-repeat;	
}

.husband {
	color: #004E83;
}


/* Typography */

p{
	/* font: 1em/1.5 Palatino, "Palatino Linotype", Georgia, Times, "Times New Roman", serif; */
}


img{
	max-width: 100%;
	height: auto;
}


.logo {
	width: 454px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-top: 35px;
	padding-left: 40px;
	z-index: 99;
	position: relative;
}


blockquote{
	float: left;
	margin: 1em 3em;
}
blockquote p{
/*	font-size: 1.4em; */
	line-height: 1.2;
/*	font-weight: 700; */
	font-style:italic;
}
a{
/*	font: 700 1em/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; */
	text-decoration: none
}
a:hover, a:focus{
	color: #004E83;
}
a:active{
	position: relative;
	top:1px;
}



iframe {
	width: 420px;
	height: 250px;

}

.slides_container {
	height: 349px;	
	width: 916px;
}



.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: right;
  }

.rslides img {
  display: block;
  height: auto;
  float: right;
  width: 100%;
  border: 0;
  }



/* Media queries */ 


@media screen and (min-width:1025px)
{
	.photo {padding-left: 27px;}

}


@media screen and (min-width:900px)
{
	body{font-size: 1em;}

/*	.photo {	
		padding-left: 0px;
	}
*/


}



@media screen and (max-width:767px)
{
	.photo {	
		padding-left: 0px;
	}

iframe {
	width: 220px;
	height: 250px;
/*	padding-right: 30px;*/
}

}


@media screen and (max-width:600px)
{

	.photo {	
		padding-left: 0px;
	}


}
@media screen and (max-width:480px)
{
	blockquote{
	float: none;
	}

	header nav a{
		padding:.7em .8em
	}
	header nav{
		float: none;
		margin: -.5em -3em 0;
		background: #000;
		overflow: hidden;
		text-align: left
	}
	header nav a{
		border-right: 1px solid #222
	}
	[role=main]{
	padding:1.5em 2em;
	}
	header nav div{
	display: none;
	}

	iframe { display : none;}
		
	#findus > a {font-size: 0.8em}
	#findus {width: 250px;}

	.logo {
			padding-top: 20px;
			padding-left: 0px;
	}
	.photo {	
		padding-left: 0px;
		padding-bottom: 10px;		
	}

	.photoframe {
		padding-bottom: 25px;
	}

}


@media only screen and (max-width: 767px) { 

	iframe { display: none;}

	.logo { padding-left: 0px; }

}
	

	
