/*

	movinggalleries.org Screen Styles
	Authored by: Jonathan Poh
	Contact: me@jonathanpoh.com
	Modified by: Yin Zheng
	Contact: yinzheng@gmail.com

	Table of Contents:

	Common
	Typography and Colours
	Layout
	Images
	Forms
	Miscellaneous		
	Sections
	Header
	Image Replacement
	Navigation
	Sidebar
	Content
	Footer					
	Page-specific
	Homepage


*/

/* Typography and Colours
--------------------------------------------- */

body {
	color: #333;
	background: url('css/images/bg_moving_gallery.jpg');
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 62.5%; /* Resets 1em to 10px */
}

h1, h2, h3, h4 {
	margin: 0;
	color: #000;
	font-style: italic;
}

h1 {

}

h2 {
	font-size: 1.8em;
	text-decoration: underline;

}

h3 {
	margin-top: 0.5em;
	font-size: 1.6em;
}

h4 {
	margin-top: 0.5em;
	margin-bottom: 0;
	font-size: 1.2em;
	color: #333;
}

a:link, 
a:visited {
	color: #000;
	font-style: italic;
	text-decoration: none;
}

a:hover, 
a:active {
	color: #000;
	text-decoration: underline;
}
input,
textarea {
	color: #584B3C;
	font-family:  Georgia, "Times New Roman", Times, serif;
	font-size: 1em;
}

img,
.fade {
	behavior: url(iepngfix.htc); 
}

#outer {
	background: #acacac;
}

#header {
	background: #000;
}

.artwork_header,
.rooku_header{
	background: #F5F5F5;
}

#content {
	color: #333;	
	background: #F5F5F5;
}

#content p,
#content li,
#content td {
	font-size: 1.2em;

}
.clear { 
	clear: both; 
}

.intro {
	font-size: 1.2em;
	font-weight: bold;
	color: #333;
}

.byline {
	font-size: 16px;
	padding-top: 0.5em;
	padding-bottom: 2em;
}

.byline p{
	font-size: 16px !important;
	font-style: italic;
}

.artwork_thumbnail {
	margin: 15px 12px 0px 0px; 
	display: block; 
	width: 190px;
	height: 250px; 
	padding: 5px;
	float: left;
	position: relative; 
	background: #fff; 
}

.artwork_thumbnail .artwork{
	width: 190px;
	height: 190px;
	overflow: hidden;
}

.artwork_thumbnail .artwork img{	
	margin: 0 auto;
}
.artwork_thumbnail:hover {
}
.artwork_thumbnail .byline {
	font-size: 15px;
	padding-top: 0.5em;
	/*	border-top: 1px solid #000;*/
}

.artwork_thumbnail .artwork_author {
	font-size: 14px;
	margin-left: 5px;
	color: #000;
	/*	border-top: 1px solid #000;*/
}

.artwork_thumbnail .postinfo {
	font-size: 1em;
	color: #666;
	background: #FFF;
	width: 110px; 
	position: absolute; bottom: 5px; left: 5px; 
	/*	border-bottom: 1px solid #CCC;*/
}

.artwork_thumbnail .postinfo a:link, 
.artwork_thumbnail .postinfo a:visited {
	
	text-decoration: none;
}


.artwork_thumbnail .postinfo a:hover,
.artwork_thumbnail .postinfo a:active {
	text-decoration: underline;
}

.merchandise { 
	padding: 0px; 
	margin: 0px; 
}
.merchandise li { 
	list-style-type: none;
	background: #fff;
	padding: 10px;  
	margin: 0px 10px 10px 0px; 
	width: 150px; 
	float: left;
	display: inline-block;
}
.merchandise h2 { 
	font-size: 14px; 
	font-weight: bold; 
	text-transform: none;
}
.merchandise a.view_product {
	padding-top: 10px;
	display: block; 
	border-top: 1px dotted #ccc;
}

.credit {
	color: #CCC;
}

.credit a:link,
.credit a:visited {
	color: #CCC;
	text-decoration: none;
}

.credit a:hover,
.credit a:active {
	color: #666;
	text-decoration: underline;
}

.small {
	font-size: 10px;
}



/* Layout
--------------------------------------------- */

html {
	height: 100%;
	margin: 0;
	margin-bottom: 1px;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
}

#outer {
	margin: 0 auto;
	padding: 10px 10px 70px 20px;
	/*	width: 780px;*/
	/* width: 100%; */
	border: none;
	/*	clear: both;*/
	/*	overflow: auto;*/
	width: 980px;
}

#inner {
	width: 75em;
}


/* Images
--------------------------------------------- */

img {
	border: 0px;
	padding: 0;
	margin: 0;
	display: block;
}

p img {
	padding: 0;
	max-width: 100%;
}

/*	Using 'class="alignright"' on an image will (who would've
thought?!) align the image to the right. And using 'class="centered',
will of course center the image. This is much better than using
align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

/* Forms
--------------------------------------------- */

label {

}

form br {

}

form p {
	margin-bottom: 0;
}


.searchinput input {
	width: 160px;
	margin-bottom: 10px;
	font-size: 1.1em;
	border: 1px solid #ccc;
	padding: 3px;
	color: #333;
	float: left;
}


.textinput input {
	width: 152px;
	margin-bottom: 10px;
	font-size: 1.1em;
	padding: 3px;
	color: #333;
	border: 1px solid #ccc;
}

.cr {
	display: block;
	float: left;
	width:18.3em;
	padding: 0 0 1em 0.5em;
}

.cr label {
	display: inline;
}

.messageinput {
	margin: 0;
	clear: both;
	padding-top: 1em;
}

.messageinput textarea {
	width: 548px;
	margin: 0;
	border: 1px solid #584B3C;
	padding: 2px;
}

.submit {
	float: right;
	margin-right: 0em;
	font-family:  Georgia, "Times New Roman", Times, serif;
}

.submit input {
	margin-bottom: 10px;
	border: 1px solid #636363;
	font-size: 1.2em;
	padding: 1px;
	text-transform: uppercase;
	font-style: italic;	
	background: #636363;
	color: #fff;
}

#sidebar .sidebarblock .submit p{
	margin: 0 0 15px;
	font-size: 1em;
}
.submit a{

	border: 1px solid #636363;
	font-size: 1.2em;
	padding: 2px;
	text-transform: uppercase;
	text-decoration: none;
	font-style: italic;	
	color: #fff;
	font-size: 1em;	
	background: #636363;
}


/* Miscellaneous
--------------------------------------------- */

.clear {
	clear: both;
}


.alignright {
	float: right;
}

.alignleft {
	float: left
}

.smallcaps {
	text-transform: uppercase;
	font-size: 8px;
}

/* Header
--------------------------------------------- */

#header {
	padding: 0;
	margin: 0 0 7px 265px;
	width: 705px;
	/*	float: left;*/
	overflow: hidden;	
	position: relative;
	height: 140px;
}

#header p{
	margin: 0;
	padding: 0;
	font-size: 1.2em;
}

.artwork_header,
.rooku_header{
	margin: 0;
	padding: 0;
	font-style: italic;
}

#header ul.slider {
	position: absolute;
	list-style: none;
	padding: 0;
	margin: 0;
	}
	
#header ul.slider li{
	float: left;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border-right: 1px solid #ddd;
}

#header .artwork_header .artwork{
	height: 140px;
}

#header .artwork_header .artwork img{	
	margin: 0 auto;
	height: 140px;
}


#header .rooku_link a {
	height: 140px;
	width: 200px;
}

#header .artwork_header{
	position: relative;
}

#header .rooku_header{
	position: relative;
	height: 140px;
	width: 170px;
	padding: 7px 15px;
}

#header .rooku_title{
	color: #000;
	font-size: 1.4em;
	display: block;
}

#header .rooku_author{
	color: #000;
	font-size: 1.2em;
	display: block;
	margin: 2px 0;
}

#header .artwork_link a,
#header .rooku_link a{
	position: absolute;
	top: 0;
	left: 0;
}

#home #header{
	height: 230px;
}

#home .artwork_header .artwork{
	height: 230px;
}

#home .artwork_link a,
#home .rooku_link a,
#home .artwork_header{
	height: 230px;
}

#home .artwork_header .artwork img{
	height: 230px;
}

#home .rooku_header{
	height: 240px;
	width: 145px;
	padding: 15px;
}




/* Image Replacement
--------------------------------------------- */

.replaced {
	text-indent: -5000px;
	display: block;
}

h1#logo {
	background: url(css/images/logo-movinggalleries.gif) no-repeat 100% 100%;
	height: 123px;
	width: 160px;
	margin: 0 auto;
}

h1#logo a {
	display: block;
	height: 123px;
	width: 160px;
}


/* Sidebar
--------------------------------------------- */

#sidebar {
	float: left;
	/*position: absolute;
	top: 0;
	left: 0; */
	width: 250px;
	margin: 0;
	padding: 0;
	display: inline;

	/*	clear: left;*/
}


#sidebar .sidebarblock {
	padding: 10px 20px;
	clear: both;
	width: 210px;
	background: #f5f5f5;
	margin-bottom: 5px;
	position: relative;
}

#sidebar .sidebarlogo {
	padding: 5px 20px 20px;
	clear: both;
	width: 210px;
	background: #f5f5f5;
}

#sidebar .sidebarblock p {
	font-size: 1.2em;
}

#sidebar ul#logos {
	list-style: none;
	margin: 0;
	padding: 0;
}

#sidebar ul#logos li {
	display: block;
	margin: 0 auto;
	padding: 1em 0;
	text-align: center;	
}

#sidebar ul#logos li img {
	display: inline;
	border: none;
}

#sidebar ul#logos li a:link,
#sidebar ul#logos li a:visited  {
	text-decoration: none;
	color: #333;
}

#sidebar .sidebarblock #username{
	width: 200px;	
}

#sidebar .sidebarblock #password{
	width: 130px;	
}


#sidebar .sidebarblock form p{
	margin: 0;
	padding: 0;
}

#sidebar .member_login .submit{
	position: absolute;
	top: 80px;
	right: 30px;
}

#sidebar .member_login .title{
	color: #000;
	font-style: italic;
}


/* Navigation
--------------------------------------------- */

#navigation {
	margin: 0;
	padding: 0;
	font-size: 1em;
}	

#navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#navigation li {
	margin: 0;
	padding: 0.5em 0;
	list-style: none;
}

#navigation li a:link,
#navigation li a:visited {
	color:#333; 
	background:transparent; 
	font-size: 1.3em;
	font-weight: bold;
	text-decoration: none;
	font-style: normal;
}

#navigation li a:hover,
#navigation li a:active {
	color: #000;
	border-bottom: 1px solid #000;
	font-style: italic;
}

/* Content
--------------------------------------------- */

#content {
	margin: 0 0 0 265px;
	padding: 20px 30px 20px 30px;
	/*	float: left;*/
	width: 645px;
	/*	display: inline;*/
	overflow: auto;
}

.post {
	margin: 0 0 2em 0;
	display: block;
	float:none; 
}

.postinfo {
	color: #333;
	margin: 0;
	padding: 0.5em;
	background: #FFF;
	text-decoration: none;
}

.postinfo a:link,
.postinfo a:visited {
	color: #000;
	font-style: italic;
	text-decoration: underline;
}


/* Footer
--------------------------------------------- */

#footer {
	margin: 0;
	background: #fff;
	padding: 0em;
	clear: both;
	overflow: hidden;
	width: 100%;
	position: fixed;
	bottom: 0;
	border-top: 1px solid #666;
	/*	float: left;*/

}

.fade {
	display: none;
}


#footer p {
	margin: 1em;
}

#footer .copyright {
	float: left;
	color: #333;
	/*	height: 19px;*/
	font-size: 1.1em;
	padding: 0;
	/*	line-height: 0;*/
}

#footer a img {
	border: none;
	margin: 0;
	padding: 0;
}

#footer .sponsor{
	float: right;
	color: #333;
	font-size: 1.4em;
	font-style: italic;
	margin: 0 10px;
	padding: 0;
	width: 550px;
}

#footer .sponsor p{
	float: left;
}

#footer ul#logos{
	list-style: none;
	float: left;
	margin: 0;
	padding: 0;
}

#footer ul#logos li{
	float: left;
	margin: 5px 7px;
	padding: 0;
}

#footer ul#logos img{
}


/* Homepage
--------------------------------------------- */
h2#moving_galleries{
	background: url('css/images/txt_movingmelb_large.gif') no-repeat;
	height: 47px;
	width: 599px;
}

#banner {
	margin: 0 0 0 265px;
	/*	float: left;*/
	width: 705px;
	/*	display: inline;*/
	overflow: hidden;
}


.banner {
	border: 1px solid #999;
	background: #fff;
	padding: 0;
	width: 343px;
	margin: 7px 0px 0;
	height: 160px;
	float: left;
	position: relative; 
	display: inline;
}

.banner img{
	margin: 0 auto;	
}

.rooku_banner {
	background: #F5F5F5;
	width: 315px;
	padding: 20px 10px 0px 20px;
	height: 140px;
	margin: 7px 0px 0;
	float: left;
	display: inline;
	position: relative; 
	font-style: italic;
}

.rooku_banner .rooku_title,
.rooku_banner .rooku_author{
	color: #000;
	font-size: 1.2em;
}

.rooku_banner span.rooku_link {
	font-size: 1.4em; 
}

.rooku_banner p {
	margin-top: 1em;
}

.rooku_banner span.rooku_link p {
/*	font-size: 16px; */
}

.artwork_banner {
	background: #F5F5F5;
	width: 345px;
	padding: 0;
	height: 160px;
	float: left;
	display: inline;
	position: relative;
	margin: 7px 0px 0;
	font-style: italic;
}
.artwork_banner .artwork{
	/*margin: 10px;*/
	width: 345px;
	height: 105px;
	background-position: 50% 40%;
	float: left;
}
.artwork_banner span.artwork_link {
	position: absolute;
	color: #000;
	display: block;
	font-size: 1.6em;
	text-decoration: none; 
	bottom: 10px;
	left: 20px;
}
a.view_in_full {
	font-size: 12px; 
	position: absolute;
	bottom: 10px;
	right: 10px; 
}
a.view_in_full:hover {
	text-decoration: underline;
}

.randomart {
	border: 1px solid #999;
	background: #fff;
	width: 231px;
	/*	height: 80px;*/
	padding: 10px;
	float: left;
	overflow: auto;
	position: relative;
	display: inline;
}

.gutter {
	margin-left: 14px;
}

.randomart img {
	float: left;
}

.randomart .artdescription {
	margin-left: 90px;
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 143px;
	color: #333;
}

.randomart .artdescription h3 {
	margin: 0;
	text-transform: none;
	font-size: 1.1em;
	color: #333;
}

.randomart .artdescription p {
	margin: 0;
}

.randomart .artdescription a:link,
.randomart .artdescription a:active {
	color: #333;
	text-decoration: none;
}

.randomart .artdescription a:hover {
	text-decoration: underline;
}


#heroimage {
	/*	float: left;*/
	margin: 3px 0 0 200px;
	background: #fff;
	height: 214px;
	border-top: 3px solid #e2e9eb;
	border-bottom: 3px solid #e2e9eb;
	display: block;
	position: relative;
	/*	width: 700px;*/
}

#heroimage img {
	display: inline;
	position: absolute;
	top: 0;
}

#heroimage img.photo {
	left: 0;
}

#heroimage img.text {
	left: 386px;
}

table td.logos {
	background: #fff;
	text-align: center;
	width: 110px;
	height: 50px;
}

table td.logos img {
	display: inline;
}

.rooku {
	margin-top: 2em;
	font-size: 16px;
	line-height: 1.5;
}

.rooku p {
	/*margin: 0;*/
}

.rooku_list {
	background: #fff;
	width: 175px;
	padding: 0px 10px 0px 20px;
	height: 250px;
	float: left;
	display: inline-block;
	position: relative; 
	margin: 10px 10px 0 0;
	font-style: italic;
}

.rooku_list span.rooku_link {
	
/*	font-size: 1.3em; */
}

.rooku_list .rooku_title{
	color: #000;
	font-size: 1.6em;
	display: block;
	margin-top: 14px;
}

.rooku_list .rooku_author{
	color: #000;
	font-size: 1.4em;
	display: block;
	margin: 2px 0;
}

.rooku_list span.rooku_link p {
	font-size: 1.4em !important; /* that is 14px */
	margin-top: 1em;
}

.about_rooku {
	margin: 1em 0 0 0;
}

.gallerylogo img {
	padding: 5px;
	border: 1px solid #999;
	background: #fff;
}

.paginate {
	padding: 2em 0;
	clear: both;
	font-size: 1.2em;
}

#nav-prevnext {
	width: 645px;
	background: #FFF;
	overflow: hidden;
}

#nav-prevnext a:link,
#nav-prevnext a:visited {
	padding: 0.5em 10px;
	display: block;
	text-decoration: none;
}

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