/*template */

body {
	background:#a3a5a7;
	color: #dfdfdf;

}

form table td {
	vertical-align:top;
}

a {
	text-decoration:none;
	color: #ffffff;
}

#everything {
	padding-top:15px;
	width: 950px;
	margin:0 auto;
}

#logo {
	letter-spacing: 3px;
	font-size:1.2em;
	border-bottom: 2px solid #d0cfd3;
	padding-bottom:5px;
}

#logo a {
	color: #dfdfdf;
}
	
#logouttext {
}

#nav {
	float:right;
	position:relative;
	font-size:0.9em;
	}

#nav ul {
	list-style:none;
	margin:0;
	padding:0;
	margin-top:7px;
}

#nav li {
	display:inline;
	margin-left:14px;

}

#nav a {
	color: #ffffff;
}

#nav a:hover {
	text-decoration:underline;
}

#logoutlink {
	font-weight:bold;
}

#mainbody {
	clear:both;
	min-height:580px;
	height: auto!important;
	height:580px;
	font-size:0.8em;
	
}

#footer {
	color: #d0cfd3;
	border-top: 2px solid #d0cfd3;
	padding-top:3px;
	font-size: 0.8em;
}

#basicpagecontent {
	width:65%;
	margin-top: 50px;
	padding-top:25px;
}


.pagetitle {
	font-size:2em;
	color: #d0cfd3;
	letter-spacing:3px;
	border-bottom:1px solid;
}

#basicpagecontent a:hover {
	text-decoration:underline;
}

#basicpagecontent img {
	border:1px solid #d0cfd3;
}

#save {
	clear:both;
}

/* index.php */



#entrance {
	margin-top:250px;
	float:right;
	text-align:center;
	font-size:1.3em;
	letter-spacing: 3px;
	
}

#entrance img {
	border:2px solid #d0cfd3;
	display:block;
}

#entrance a:hover {
	text-decoration:underline;
}



/* home page */

#homepagecontentarea {
	
	text-align:center;
	margin-top:50px;
	padding-top:130px;
	width:90%;
	
}

#homepagecontentarea .pagetitle {
	text-align:left;
}

#homepagecontentarea img {
	border:2px solid #c8c8c8;
}


/* artworks.php (artworks menu/portal page) */


#artwork_list  {
	width:100%;
}

#artwork_list td {
	padding-bottom:10px;
	width: 110px;

}

#artwork_list td img {
	border: 2px solid #c8c8c8;
}


/* writing.php */

#list_of_writing li {
	margin-bottom:5px;
}



/*stillimages.php*/



#results_table table td{
	width:106px;
	height:80px;
	border: 2px solid grey;
	background:#c8c8c8;
	text-align:center;
	padding:0;
}

#results_table table td img{
	margin: 0 auto;
	display:block;
	border:0;
}
#page_nav ul {
	list-style:none;
	text-align:center;
}

#page_nav ul li {
	display:inline;

	
}


/*newartwork forms */



/* fullimage */

#fullsizeimage {
	text-align:center;
}

/*slideshow */

#fullsizeimage table {
	width:100%;
}

#fullsizeimage table td {
	vertical-align:top;
}

.slideshow_arrow {
	width:110px;
}

.slideshow_image {
	width:700px;
}

.slideshow_image img {
	border:2px solid #c8c8c8;
}


#artworktemplate {
	width:90%;


}

#slideshowtemplate {
	width:100%;

	padding-top:15px;
}
#artworktemplate a img {
	border:0;
}

#artworktemplate img {
	display:block;
	margin: 0 auto;
}

/*template1*/
#topleft1 {
	float:left;
	width:360px;
	margin-top:10px;
	text-align:center;

}

#topright1 {
	float:right;
	
	margin-right:75px;
}

#topleft1 img {
	border:1px solid #d0cfd3;
}
	
#topright1 table td{
	border: 1px solid #d0cfd3;
	width:106px;
	height:80px;
}

#topright1 table td img {
	display:block;
	margin:0 auto;
}


#bottomleft1 {
	clear:both;
	float:left;
	width:360px;
	text-align:justify;
}

#bottomright1 {
	margin-right:75px;

	float:right;
}

#bottomright1 table {
	margin-top:20px;
}
#bottomright1 table td {
	border: 1px solid #d0cfd3;	
	background: #c8c8c8;
	width:106px;
	height:80px;
	text-align:center;
}

#bottomright1 table td img {
	display:block;
	margin: 0 auto;
}
/*template2*/

#topleft2 {
	float:left;
	width:300px;
	text-align:justify;
	padding-right:1%;


}
#topmiddle2 {
	float:left;
	margin-top:5px;
	margin-left:15px;
	width:250px;
}

#topmiddle2 table td {
	border:1px solid #d0cfd3;
	width:106px;
	height:80px;	
	text-align:center;
}

#topmiddle2 table td img {
	display:block;
}
#topright2 {
	float: right;
	margin-top:5px;
	text-align:right;
}

#topright2 table td {
	border:1px solid #d0cfd3;
	width:240px;
	height:180px;
	text-align:center;	
}
#bottom2 {
	margin-left:-10px;
	clear:both;
}

#bottom2 table td {
	background: #c8c8c8;
	width:106px;
	height:80px;
	text-align:center;
}

#bottom2 table td img{
	display:block;
	margin: 0 auto;
}
/*template 3 */

#topleft3 {
	float:left;
	width: 30%;
}

#topleft3 table td {
	border:1px solid #d0cfd3;
	height:80px;
	width:106px;
	text-align:center;
}

#topright3 {
	float:right;
	width:69%;
	text-align:justify;
}

/*two medium images */
#topright3 #topright3_top td {
	border:1px solid #d0cfd3;
	width:240px;
	height:180px;
}

#topright3_middle {
	margin-left: 10px;
	margin-right:20px;
	width: 495px;
}


#topright3_bottom td {
	height:80px;
	width:106px;
	border: 1px solid #d0cfd3;	
	background: #c8c8c8;
}


/* template 4 */

#left4 {
	float:left;
	width:50%;
}

#left4 table {

}

#left4 table td{
background: #c8c8c8;
	width:106px;
	height:80px;
}

#topleft4 {
	height: 296px;
	text-align:justify;
	width: 350px;
	margin-left:10px;
}	

#bottomleft4 {
	padding:0;

}


#right4 {
	float:right;
}

#topright4 {
	height:310px;
}

#topright4 table td {
	height:270px;
	width: 360px;
	border:1px solid white;
}

#bottomright4 table td {
	height:80px;
	width:106px;
	border: 1px solid #d0cfd3;
}
/*classes*/

.thumbnail {
	margin-right:15px;
}


	
.righttext {
	clear:both;
	float:right;
}


.leftimage {
	float:left;
}
.rightimage {
	float:right;
}

.smalltext {
	font-size: 0.9em;
}

.create_button {
	font-size: 0.7em;
	letter-spacing:0.3em;
}

#editpagetextlink {
	font-weight:bold;
	float:right;
	color:black;
}


.pieceofwriting {
	margin-bottom:25px;
	border-bottom:1px solid #d0cfd3;
	width:90%; 
}

.writing_title {
	font-size: 1.2em;
}

.warningtext {
	color:red;
	font-weight:bold;
}

.lefttext {
	float:left;
}

.imagetoedit {
	margin-right:25px;
}