body {
	margin: 0;
	padding: 0;
}

h1 {
	font: 100 18pt "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #8c827d;
	}

h2 {
	margin: 20px 0px 0px;
	font: 100 14pt "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
	text-transform: uppercase;
	color: #716965;
}

h3 {
	margin: 30px 0px 0px;
	font: 100 12pt/30px "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
	text-transform: uppercase;
	color: #5b5451;
}

h4 {
	margin: 15px 0px 0px;
	font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
	font-weight: 100;
	color: #514b48;
}

a {
	text-decoration: none;
	color: #000;
	font-weight: 200;
	font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
	border-style: none;
}

a:link {
	color: #000;
	text-decoration: none;
	border: none;
}

a:visited {
	color: #8c827d;
	text-decoration: none;
	border: none;
}

a:hover {
	text-decoration: underline;
	border: none;
}

a:active {
	color: #000;
	text-decoration: none;
	border: none;
}

a h1 {	
font: 100 18pt "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #8c827d;
	border: none;
}

p {
	margin: 0 0;
	font: 200 small "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
}

ul {
	margin: 0px 0px 0px 10px;
	padding: 0px 0px;
	list-style-type: none;
}

li {
	font: 200 small "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
}

#wrapper {
	margin: 0 auto;
	width: 1000px;
}


/*index*/

#index {
	margin: 0px 0px;
}

#index a:hover {
	text-decoration: none;
	border: none;
}

#index h1 {
	margin: 30px 0px 0px 500px;
	width: 250px;
}

#index h1 a {
	font: 100 18pt "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	border: none;
}

#index img {
	margin: 0px 200px 0px;	
}

#index ul {
	width: 600px;
	height: 20px;
	margin: 0px 240px 0px;
}

#index li {
	float: left;
	margin-right: 55px;
}

#index #copyright {
	margin: 20px 20px;
}


/*nav*/

#nav {
	margin: 0px 0px;
	padding: 30px 0px 0px;
	position: fixed;
	display: block;
	top: 0px;
	width: 960px;
	height: 65px;
	background-color: #fff;
	border-bottom: 1px solid #8c827d;
}

#nav a {
	text-decoration: none;
	color: #000;
	font-weight: 200;
	font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
	border: none;
}

#nav h1 {
	margin: 0px 0px;
	padding: 0 0;
	color: #8c827d;
}

#nav h1 a {
	font: 100 18pt "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #8c827d;
	border: none;
}

#nav ul{
	margin: 10px 0px;
	padding: 0 0;
	width: 600px;
}

#nav li {
	margin: 0px 30px 0px 0px;
	padding: 0px 0px;
	float: left;
	list-style-type: none;
}


/*content*/

#content {
	margin: 120px 40px 0px;
	padding: 0 0;
	width: 960px;
}


/*thumbnail gallery*/

ul.gallery {
	display: inline-block;
	margin: 0px 0px;
}

ul.gallery li {
	margin: 20px 20px 0px 0px;
	height: 100px;
	width: 100px;
	float: left;
}

ul.gallery li img {
	height: 100px;
	width: 100px;
	border-style: none;
}


/*quote thumbnails*/

ul.quotegallery {
	display: inline-block;
	margin:  0 0;
}

ul.quotegallery li {
	margin: 30px 30px 0px 0px;
	height: 450px;
	width: 450px;
	float: left;
}

ul.quotegallery li img {
	height: 450px;
	width: 450px;
    border: none;
    /*border:  1px solid #d7d1cf;*/	
}


/*quote pages*/

#quote {
	margin: 300px 0 200px;
	padding: 0 0;
	width: 960px;
}

p.quotes{
	margin: 10px 0px 30px;
	color: black;
	font: italic 16pt "Optima", "Palatino", "Book Antiqua", "Didot", "Times New Roman", Times Georgia, serif;
	text-align: center;
	letter-spacing: 1px;
}

p.author{
	padding-bottom: 10px;
	color: black;
	font: 12pt "Optima", "Palatino", "Book Antiqua", "Didot", "Times New Roman", Times Georgia, serif;
	text-align: right;
	letter-spacing: 1px;
	/*border-bottom-style: solid;
	border-bottom-width: 1px;*/
}

img.quotes {
	margin: 20px 230px 0px;
	height: 500px;
	width: 500px;
}


/*counter*/

#counter {
	margin: 0px 40px;
	text-align: center;
}


/*copyright*/
#copyright {
	margin: 50px 0px 50px 40px;
	border-bottom: 1px solid #8c827d;
}

#copyright p {
	text-align: right;
	font: 200 x-small "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
	color: #8c827d;
}

#linklist {
	background-image: url(../images/links.jpg);
	background-repeat: no-repeat;
	background-position: top right;
}

#linklist h2 {
	padding: 15px 0px 0px 0px ;
}

#linklist ul {
	width: 950px;
	height:  550px;
	padding: 70px 0px 0px 0px;
}

#linklist a {
	line-height: 30px;
	padding-left: 20px;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
} 
html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}

@media only screen and (max-device-width: 480px) {
	
	#wrapper {
	margin: 0 auto;
	width: 480px;
	}
	
	#nav {
	display: none;
	}
	
	#content {
	width: 480px;
	}
	
	#quote {
	width: 460px;
	margin: 10 0;
	}
	
	p.quotes{
	margin: 10px 0px 30px;
	color: black;
	text-align: center;
	letter-spacing: 1px;
	font: italic 50px "Optima", "Palatino", "Book Antiqua", "Didot", "Times New Roman", Times;
}

	p.author{
	padding-bottom: 10px;
	color: black;
	font: 40px "Optima", "Palatino", "Book Antiqua", "Didot", "Times New Roman", Times Georgia, serif;
	text-align: right;
	letter-spacing: 1px;
	}
	
	#counter {
	width: 460px;
	}
	
	#copyright {
	display: none;
	}

}


