body {
	background-color: gray;
	width: 80%;
	margin: auto;
	font-family: sans-serif;
}

#toprec {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	background: gray;
	z-index: 500;
}

#pageheader {
	position: absolute;
	top: 20px;
	left: 0;
	width: 100%;
	height: 130px;
	padding: 5px 0 5px 0;
	background: url("../media/paint-corner.png") no-repeat right top;
	background-color: #141414;
	z-index: 999;
}

#headerlogo {
	position: relative;
	margin-left: 10px;
	left: 0;
	float: left;
	text-align: center;
}

#navigation {
	position: relative;
	right: 0;
	top: 48px;
	margin-right: 30px;
	float: right;
	border-bottom: 0;
	padding: 0;
	overflow: visible;
}

#navigation ul {
	padding: 0;
	margin: 0;
}

#navigation li {
	padding: 0 20px 0 20px;
	float: left;
	list-style: none;
}

#navigation a {
	padding: 0;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 19px;
	display: inline-block;
}

#navigation a:hover {
	text-decoration: underline;
}

/* For single column pages */
#contentheader p {
	margin: 175px 0 20px 0;
	font-size: 24px;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
	color: white;
}

#contentbody {
	margin-top: 20px;
	margin-bottom: 50px;
	margin-left: auto;
	margin-right: auto;
	width: 700px;
	color: white;
}

/* For double column pages */
#contentleft {
	background: gray;
	position: absolute;
	float: left;
	top: 160px;
	left: 0;
	width: 55%;
}

#contentlefthead {
	font-size: 24px;
	margin: 15px 10px 10px 0;
	padding: 0;
	text-align: right;
	text-transform: uppercase;
	color: white;
}

#leftbody {
	margin: 20px 20px 0 80px;
}

#contentrightback {
	background-color: #AAAAAA;
	position: fixed;
	top: 0;
	right: 0;
	width: 45%;
	height: 100%;
}

#contentright {
	position: absolute;
	float: right;
	right: 0;
	width: 45%;
	height: 100%;
}

#rightbody {
	margin: 219px 0 30px 30px;
}

.painting {
	margin: 10px 10px 10px 10px;
	text-decoration: none;
	display: inline-block;
}

#contentbody figure {
	float: right;
}

#contentbody figcaption {
	text-align: center;
}

#copyrightgallery {
	margin: 150px 0 20px 0;
	color: white;
	margin-left: -42%;
}

#copyright {
	margin: 150px 0 20px 0;
	color: white;
	text-align: center;
}


/************************************************/
/*************** Media queries ******************/
/************************************************/
@media (max-width: 950px) and (min-width: 641px) {

	#headerlogo {
		float: none;
	}

	#pageheader {
		height: 170px;
	}

	#navigation {
		position: relative;
		left: 0;
		top: 10px;
		float: none;
		text-align: center;
		border-bottom: 0;
		padding: 0;
		overflow: visible;
		background: #141414;
		width: 100%;
		padding: 10px 0 10px 0;
	}

	#navigation li {
		float: none;
		display: inline-block;
	}

	#contentheader p {
		margin-top: 215px;
	}

	#contentleft {
		top: 200px;
	}

	#rightbody {
		margin-top: 259px;
	}

	#contentbody {
		width: 550px;
	}

}

@media (max-width: 640px) and (min-width: 451px) {

	body {
		width: 100%;
	}

	#headerlogo {
		float: none;
	}

	#headerlogo img {
		width: 100%;
		max-width: 474px;
	}

	#pageheader {
		height: 170px;
	}

	#navigation {
		position: absolute;
		left: 0;
		top: 142px;
		float: none;
		text-align: center;
		border-bottom: 0;
		padding: 0;
		overflow: visible;
		background: #141414;
		width: 100%;
		padding: 10px 0 10px 0;
	}

	#navigation li {
		float: none;
		display: inline-block;
	}

	#contentheader p {
		margin-top: 215px;
	}

	#contentlefthead {
		text-align: center;
	}

	#contentleft {
		top: 200px;
		float: none;
		position: relative;
		width: 80%;
		margin: auto;
	}

	#leftbody {
		margin: auto;
	}

	#contentright {
		float: none;
		width: 100%;
		position: static;
		background: #AAAAAA;
		margin: 0 0 0 0;
	}

	#contentrightback {
		display: none;
	}

	#rightbody {
		margin: auto;
		margin-top: 210px;
		padding-top: 10px;
		width: 80%;
	}

	#contentbody {
		width: 400px;
	}

	#contentbody figure {
		float: none;
		text-align: center;
		margin: 0;
	}

	#contentbody ul {
		margin-top: 0;
	}

	#copyrightgallery {
		margin-left: 0;
		text-align: center;
	}
}

@media (max-width: 450px) {
	body {
		width: 100%;
		min-width: 300px;
	}

	#headerlogo {
		float: none;
	}

	#headerlogo img {
		width: 100%;
		min-width: 290px;
	}

	#pageheader {
		height: 170px;
		min-width: 300px;
	}

	#navigation {
		position: relative;
		left: 0;
		top: 10px;
		float: none;
		text-align: center;
		border-bottom: 0;
		padding: 0;
		overflow: visible;
		background: #141414;
		width: 100%;
		min-width: 300px;
		padding: 10px 0 10px 0;
	}

	#navigation li {
		float: none;
		display: block;
	}

	#contentheader p {
		margin-top: 265px;
	}

	#contentlefthead {
		text-align: center;
	}

	#contentleft {
		top: 250px;
		float: none;
		position: relative;
		width: 90%;
		margin: auto;
	}

	#leftbody {
		margin: auto;
	}

	#contentright {
		float: none;
		width: 100%;
		position: static;
		background: #AAAAAA;
		margin: 0 0 0 0;
	}

	#contentrightback {
		display: none;
	}

	#rightbody {
		margin: auto;
		margin-top: 260px;
		padding-top: 10px;
		width: 90%;
	}

	#contentbody {
		width: 80%;
	}

	#contentbody figure {
		float: none;
		text-align: center;
		margin: 0;
	}

	#copyrightgallery {
		margin-left: 0;
		text-align: center;
	}
}