html, body {
	margin: 0;
	padding: 0;
	color: white;
	font-family: Arial, sans-serif;
}

body {
	font-size: 62.5%;
}

.theme-grey #page {
	background: transparent  url(/img/gallery/page2.jpg) no-repeat center top;
}

.theme-metal #page {
	background: transparent  url(/img/gallery/page3.jpg) no-repeat center top;
}

.theme-metal #header {
	background: #222 url(/img/gallery/header-metal.jpg) no-repeat left top;
}


p#logo {
	margin: 0;
	padding: 0;
	width: 120px;
	height: 28px;
	background: #222 url(/img/gallery/adxxl.gif) no-repeat;
	float: right;
}

#styleswitch {
	list-style: none;
	margin: 0;
	float: right;
	height: 22px;
	width: 88px;

}

#styleswitch li, #styleswitch a {
	width: 22px;
	height: 22px;
	padding: 0;
	margin: 0;
	float: left;
	display: block;
}

#styleswitch span {
	display: none;
}

#style1 {
	background: transparent url(/img/gallery/styles.gif) left top;
}

#style2 {
	background: transparent url(/img/gallery/styles.gif) -22px top;
}

#style3 {
	background: transparent url(/img/gallery/styles.gif) -44px top;
}

#style4 {
	background: transparent url(/img/gallery/styles.gif) -66px top;
}

#identity {
	width: 162px;
	height: 60px;
	display: block;
	float: right;

}

p#logo a {
	width: 120px;
	height: 28px;
	display: block;
	float: left;
}

p#logo span {
	display: none;
}

#page {
	width: 810px;
	margin: 0 auto;
	padding: 0 30px;
	
}

#page.videoenabled {
	width: 640px !important;
}

#header {
	width: 800px;
	margin: 0;
	padding: 15px 5px 0;
	min-height: 60px;
	height: 60px;
	background: #222;
	overflow: hidden;
}

.clear {
	display: block;
	float: none;
}

.videoenabled #header {
	width: 630px !important;
}

#header h1 {
	font-weight: normal;
	font-size: 2em;
	color: #fff;
	margin: 0 0 5px;
}

#header h2 {
	font-weight: bold;
	font-size: 1.1em;
	color: #ccc;
	margin: 0 0 0;
	padding: 0 0 10px;
}

#zoom {
	min-height: 400px;
	width: 800px;
	margin: 0;
	padding: 5px;
}

#toolbar {
	width: auto;
	padding: 1px;
	height: 26px;
	background: #000 url(/img/gallery/toolbar.gif) repeat-x;
}

#toolbar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 26px;
	float: left;
}

#toolbar li {
	float: left;
	display: block;
	height: 26px;
	padding: 0;
	margin: 0;
}


#toolbar a {
	font-size: 11px;
	float: left;
	display: block;
	height: 17px;
	padding: 3px 15px 6px 25px;
	border-right: 1px solid #000;
	border-left: 1px solid #555;
	border-bottom: 1px solid #000;
	border-top: 0px none;
	font-weight: bold;
	text-decoration: none;
	background-repeat: no-repeat;
	background-image: url(/img/gallery/icons.gif);
	background-color: transparent;
}

#toolbar p {
	float: right;
	display: block;
	width: 90px;
	height: 16px;
	padding: 5px 10px 5px 5px;
	margin: 0;
	text-align: right;
}

#toolbar a:link, #toolbar a:visited {
	color: #eee;
}

#toolbar a:hover {
	text-decoration: underline;
	color: #ccc;
	background-repeat: no-repeat;
	background-image: url(/img/gallery/iconsover.gif);
	background-color: #000;
}

#toolbar a.on {
	text-decoration: none;
	background-image: url(/img/gallery/iconsover.gif);
	background-color: #000;
}

#toolbar #tbprev {
	background-position: left -1px;
}

#toolbar #tbnext {
	background-position: left -27px;
}

#toolbar #tbshow {
	background-position: left -53px;
}

#toolbar #tbsave {
	background-position: left -79px;
}

#toolbar #tbsend {
	background-position: left -105px;
}

#toolbar #tbcontact {
	background-position: left -131px;
}

#toolbar #tblink {
	background-position: left -157px;
}


#thumbs {
	margin: 0;
	padding: 5px 0 0;
	width: 810px;
}

#thumbs ul {
	list-style: none;
	margin: 0;
	padding: 0 0 5px 5px;
}

#thumbs li {
	margin: 0;
	display: block;
	float: left;
	height: 77px;
	padding: 0 5px 5px 0;
	height: auto;
}

#thumbs a, a.tn {
	display: block;
	float: left;
	height: 67px;
	height: auto;
	padding: 4px 5px 6px;
	overflow: hidden;
}

a.tn {
	width: 100px;
}


#imageloading {
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	z-index: 3;
	padding: 5px 0;
	background: #000;
}

#thumbs p {
	display: block;
	height: 12px;
	padding: 3px 0px;
	float: none;
	clear: both;
	margin: 0 0 10px;
}

#thumbsloading {
	width: 800px;
	margin: 0;
	padding: 15px 5px 45px;
	text-align: center;
}

#nojs {
	width: 800px;
	margin: 0;
	padding: 5px;
	background: #ffc;
	text-align: center;
	color: #900;
	font-size: 12px;
}

#thumbs p {
	margin: 0;
	padding: 0;
	color: #aaa;
	font-size: 1em;
	text-align: center;
}

#thumbs img {
	border-width: 0;
	border-style: none;
}

#recommend, #copylink {
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 800px;
	padding: 50px 0;
	z-index: 7;
}

#imagedarker {
	width: 800px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 6;
	background: #000;
}


#recommend form, #copylink form {
	padding: 5px;
	background: #333;
	width: 400px;
	margin: 0 auto;
	font-size: 11px;
}

#status {
	margin: 0;
	padding: 0;
	background: #555;
	width: auto;
}

#status p {
	padding: 5px;
	margin: 0;
	display: block;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
}

#recommend label {
	float: left;
	width: 130px;
	padding-right: 10px;
	padding-top: 5px;
	text-align: right;
}

#copylink label {
	float: left;
	width: 60px;
	padding-right: 10px;
	padding-top: 5px;
	text-align: right;
}

.closediv {
	color: #ccc;
	font-weight: bold;
	text-decoration: underline;
	background: #333 url(/img/gallery/close.gif) no-repeat 59px 6px;
	height: 11px;
	font-size: 10px;
	padding: 6px 21px 6px 4px;
	display: block;
	width: 50px;
	margin-left: 535px;
	text-decoration: none;
}


.closediv:hover {
	color: #fff;
	background-color: #555;
}

#recommend div, #copylink div {
	float: none;
	clear: both;
	padding: 0 0 3px;
	margin: 0 0 3px;
}

input, textarea {
	background: #000;
	color: #fff;
	padding: 5px;
	border: 1px solid #444;
	font-family: Verdana;
	font-size: 11px;
}

input:focus, textarea:focus {
	background:#222;
}

#recommend input, #recommend textarea {
	width: 220px;
}

#copylink input, #copylink textarea {
	width: 270px;
}

textarea {
	overflow: auto;
}

#commit {
	width: 100px !important;
	font-weight: bold;
	margin-left: 140px;
	background-color: #555 !important;
}

#notfound {
	padding: 100px;
	font-weight: bold;
	font-size: 11px;
	text-align: center;
	color: #fc0;
}

#toolbar a:active, #toolbar a:hover,
#thumbs a:active, #thumbs a:hover {
  outline: none;
}

:focus{ -moz-outline-style: none; }

hr {
	visibility: hidden
}

.tn span {
 width: 100px;
 height: 67px;
 display: block;
}

#imgprev, #imgnext {
	display: block;
	position: absolute;
	width: 100px;
	height: 100px;
	z-index: 2;
	top: 0;
	left: 0;
	color: white;
}

#imgprev span, #imgnext span {
	display: none;
}

#gallery_list {
	float: left;
}

#gallery_list strong {
	
}

#gallery_list ul {
 list-style: none;
 margin: 0;
 padding: 5px;
}

#gallery_list a img {
 border-width: 0;
}

#gallery_list li {
 float: left;
 width: 389px;
 padding: 5px;
 min-height: 80px;
 
}

#gallery_list img {
 float: left;
}

#gallery_list a {
 font-size: 13px;
}

#gallery_list a:hover {
 text-decoration: none;
}


#gallery_list p {
 font-size: 11px;
 margin: 0;
 padding: 0;
}

.clear {
 clear: both;
 float: none;
}

#footer {
	clear: both;
	float: none;
	margin: 10px 0 20px;
}

#toggleimage, #togglevideo, #downloads {
	display: block;
	padding: 3px 0;
	font-weight: bold;
	text-align: center;
	font-size: 11px;
	margin: 0;
}

#toggleimage:link, #togglevideo:link, #downloads:link,
#toggleimage:visited, #togglevideo:visited, #downloads:visited {
 text-decoration: underline;
}

#toggleimage:hover, #togglevideo:hover, #downloads:hover {
 text-decoration: none;
}
