/*
    copyright (c) 2008 Picsviewr Team
*/
* {margin:0;padding:0;} 

/* must declare 0 margins on everything, also for main layout components use padding, not 
vertical margins (top and bottom) to add spacing, else those margins get added to total height 
and your footer gets pushed down a bit more, creating vertical scroll bars in the browser */

html, body, #wrap {height: 100%;}

body > #wrap {height: auto; min-height: 100%;}

#main {padding-bottom: 79px;}  /* must be same height as the footer */
body{background:#ddd url("../images/slide/bg_page.jpg") repeat-x 0 0; margin:0; padding:0; font:small Verdana, Sans-serif; color:#333; }
a,a:visited{color:#258; text-decoration:none;outline:none; }
a:hover,a:active{color:#933; border-color:#b55; }
p{margin:0 0 .75em; }

#toolbar{height: 30px; width: 100%; background:#000000; color:white; font-weight:bold; border-bottom:3px solid white; font-size:12px;line-height:24px; font-family:Georgia,"Times New Roman",Times,serif;}
#toolbar a{color:#FFFFFF; font-size:1em; height:24px; line-height:24px; display:block; text-decoration:none}
#toolbar a:hover{text-decoration:underline;}
#left{position: absolute; top: 3px; left: 3px; }
#right{position: absolute; top: 3px; right: 3px; }
#center{ width:600px; margin: 0 auto 0 auto; text-align: center; padding-top:3px}

#latest_label{padding-left:28px;  background:url(../images/latest.png) bottom left no-repeat;  }
a#latest_label {text-decoration: underline;}
#albums_label{}
#tags_label{ margin-left: 13px; }
#change_label{padding-left:28px; background:url(../images/change.png) bottom left no-repeat;}

#content{position:relative; margin:1em 0 0; padding:26px 15px 15px; font-size:85%; line-height:1.6; }
h1{margin:0 0 3px; padding:0 0 .35em; border-bottom:1px solid #ddd; font:200% "Gill Sans", "Trebuchet MS", Verdana, Sans-serif; line-height:1.2em; text-align:center; text-transform:uppercase; letter-spacing:.15em; }
h1 a,h1 a:hover{border-style:none; }
h1 em{margin-left:.25em; padding-left:.5em; border-left:1px solid #aaa; font:66% Verdana, Sans-serif; color:#666; }
h1 img{display:block; }
.galleryinfo{clear:left; float:left; width:14%; margin:0; line-height:1.4em; }
.galleryinfo h1{margin:0 1em .5em 0; text-align:left; text-transform:none; letter-spacing:0; }
.thumb{background:url("../images/slide/bg_slide.gif") 0 0 no-repeat; display:block; float:left; margin:0; padding:0 3px 3px 0; }
html>body .thumb{background-image:url("../images/slide/bg_slide.png"); }
.thumb span{background-repeat:no-repeat; background-position:50% 104px; display:block; }
.thumb em{background-repeat:no-repeat; background-position:50% 50%; display:block; }
.thumb a,.thumb a:link,.thumb a:visited{background:none !important; display:block; width:120px; height:120px; border:none; text-indent:-9999px; font-size:1px; line-height:1px; }
.slideset{float:right; position:relative; width:86%; margin:0 0 15px; padding:0; list-style:none; line-height:1.4em; }
.slideset .thumb{float:left; margin:0 10px 10px 0; }
span.invisible{display:none;}

div.loading{clear:both; margin:100px auto;background:transparent url(../images/slide/loading.gif) no-repeat center;width:32px;height:32px;}
#pagination{text-align:center;clear:both;float:none;margin:0px;padding-top:25px;padding-bottom:15px;font-size:1.2em;width:84%}
#pagination a{border:1px solid #999; margin:0 4px 0 4px; padding:2px 6px; font-family:arial, helvetica, sans-serif; text-decoration:none; color:#9A9A9A;}
#pagination a:hover{border:1px solid #666;background:#FFF;}
#pagination a.selected{border:1px solid #666;background:#FFF; cursor:Default;}

.adhere {
border: 1px solid rgb(204, 204, 204); padding: 20px 0pt; background: rgb(231, 231, 231) none repeat scroll 0% 0%; color: rgb(102, 102, 102); font-weight: bold; font-size: 12px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: center; display: block; font-family: verdana; text-decoration: none; width: 234px; float:left; margin-right:2px;
}

.adhere:hover {
color: #E7E7E7;
background: #666;
border: 1px solid rgb(204, 204, 204);
}

#footer {
	display:none;
	position: relative;
	margin-top: -79px; /* negative value of footer height */
	height: 79px;
	clear:both;
	margin-left:auto;
	margin-right:auto;
	width:952px;
	text-align:center;
} 

/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
