
/* -----------------------------------------------
layout & typo */

html {
	height: 100.1%;
}

body {
	background-color: #222;
	color: #ccc;
	font-family: Arial, Verdana, Trebuchet MS;
	font-size: 10pt;
	margin: 0;
	padding: 0 0 1em 0;
}

div#menu {
	height: 67px;
	background-color: #000;
	background-image: url( head-bg.png );
	background-repeat: repeat-x;
	background-position: bottom left;
}


div.adminMenu {
	float: right;
	font-size: 90%;
	margin: 30px 30px 0 0;
}


div.userMenu {
	float: right;
	font-size: 90%;
	margin: 30px 30px 0 0;
}

div.search {
	position: relative;
	float: left;
	font-size: 70%;
	margin: 30px 30px 0 30px;
}

div.menuItems {
	position: relative;
	float: left;
	font-size: 90%;
	margin: 30px 10px 0 0;
}

div.menuItems a {
	margin-left: 2px;
	margin-right: 2px;
}

div.search input {
	font-size: 100%;
}

input.search {
	background-image: url(search.png);
	background-repeat: no-repeat;
	background-position: 2px 2px;
	color: #ff942b;
	text-align: right;
	width: auto;
	padding-left: 14px;
}

input.color {
	background-image: url(color.png);
	background-repeat: no-repeat;
	width: 18px;
}

img#logo {
	float: left;
}

img { 
	border: 0; 
}

div#content {
	margin: 0.3em;
}


div#footer {
	color: #444;
	text-align: right;
	margin: 0.2em 2em;
}

span.love {
	color: #7b0043;
}

h1 {
	color: #30afce;
	font-size: 80%;
	font-weight: bold;
}

h2 {
	margin-top: 3em;
	color: #30afce;
	font-size: 110%;
	font-weight: bold;
}

a {
	color: #ff942b;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

div.article {
	margin-left: 3em;
	width: 40em;
}

div.userInfo {
	margin: 1em;
	border: 1px solid #555;
	background-color: #333;
	color: #fff;
	position: relative;
}

div.imageInfo {
	margin: 1em;
	border: 1px solid #555;
	background-color: #333;
	color: #fff;
	position: relative;
}


img.avatar {
	float: left;
	margin-right: 1em;
	position: relative;
}

img.thumb{
	float: left;
	margin-right: 1em;
	position: relative;
}


div.name {
	margin-top: 0.1em;
	font-size: 130%;
}

div.date {
	position: absolute;
	right: 1em;
	top: 1em;
	font-style: italic;
}

ul {
	list-style-type: square;
        text-align: left;
}

div.cleaner {
    clear: both;
}

/* -----------------------------------------------
prev next bars */

a.next, a.prev, div.noPrev, div.noNext {
	text-indent: 16px;
	color: #fff;
	width: 12px;
	height: 100%;
	overflow: hidden;
	display: block;
	text-align: center;
	position: absolute;
}

a.prev {
	background-color: #4bbed5;
	background-image: url(prev.png);
	background-position: -12px 0;
	left: 0;
	top: 0;
}

	a.prev[href]:hover {
		background-image: url(prev.png);
		background-position: -24px 0;
	}


a.next {
	background-color: #4bbed5;
	background-image: url(next.png);
	background-position: -12px 0;
	right: 0;
	top: 0;
}

	a.next[href]:hover {
		background-position: 0 0;
	}

div.noPrev {
	background-image: url(prev.png);
	background-position: 0 0;
	left: 0;
	top: 0;
}

div.noNext {
	background-image: url(next.png);
	background-position: -24px 0;
	right: 0;
	top: 0;
}




/* -----------------------------------------------
grid view */

div#images {
	position: relative;
}

	div#imageGrid {
		margin: 0 13px;
		left: 0;
		top: 0;
		position: relative;
	}

		#imageGrid div {
			position: absolute;
			overflow: hidden;
		}
		
			.b0 {
				width: 192px;
				height: 288px;
			}
			.b1 {
				width: 128px;
				height: 192px;
			}
			.b2 {
				width: 128px;
				height: 96px;
			}
			.b3 {
				width: 64px;
				height: 96px;
			}

		a.thumb {
			display: block;
			border: 1px solid #222;
		}

		a.thumb:hover {
			border: 1px solid #fff;
		}





/* -----------------------------------------------
single image view */

div#viewer {
	position: relative;
	border: 1px solid #333;
}

	div#imageContainer {
		margin: 0 14px;
		overflow: auto;
	}

		img#image {
			display:block;
			border: 1px solid #444;
			margin: 1em auto;
			cursor: move;
		}

			img.scaled {
				max-width: 90%;
				max-height: 500px;
			}

			img.full {
				max-width: none;
				max-height: none;
			}
div.center {
	text-align: center;
}
div.center span, div.center a {
	margin: 0 0.5em;
}

div#imageInfo_wrapper{
    width: 530px;
    margin: auto;
}

@media (min-width: 896px) {
    div#imageInfo_wrapper{
        width: 848px;
    }
}

div#imageInfo {
	width: 500px;
	margin: 1em auto;
	overflow: hidden;
	background-color: #1a1a1a;
	padding: 1em;
	position: relative;
    float: left;
}

div.teaser {
	margin: 1em 0;
}


.hidden {
	display: none;
}
.visible {
	display: block;
}

/* MyFavorites
---------------------------------------------------------*/
div#favUserList_wrapper{
    width: 48%;
    float: left;
}

div#favImageGrid_wrapper{
    width: 48%;
    float: left;
   
}

/* Comments
---------------------------------------------------------*/
div.comments h3 {
	font-size: 10pt;
}

form.addComment {
	margin-top: 10px;
}

textarea {
	font-family: Arial, Verdana, Trebuchet MS;
	font-size: 10pt;
	border: 1px solid #333;
	background-color: #000;
	color: #fff;
	margin-bottom: 3px;
	width: 100%;
}

textarea:focus {
	border: 1px solid #c8ec70;
}

div.comment {
	background-color: #000;
	padding: 2px 5px;
	border-left: 2px solid #444;
	margin: 10px 0;
}

div.commentHead {
	color: #888;
	font-style: italic;
	margin-bottom: 2px;
}
img.avatarSmall {
	height:16px;
	width:16px;
	vertical-align:bottom;
}



/* image rating
---------------------------------------------------------*/
div.rating {
	font-weight: bold;
	margin-bottom: 0.5em;
	position: relative;
}

	div.rating span {
		display: block;
		padding-top: 2px;
	}

	div.ratingBase {
		position: relative;
		float: left;
		margin-right: 0.5em;
		width: 102px;
		height: 20px;
		background-image: url( star-base.png );
	}

		div.ratingCurrent {
			position: absolute;
			top: 0;
			left: 0;
			height: 20px;
			background-image: url( star-current.png );
		}

		div.ratingRate {
			position: absolute;
			top: 0;
			left: 0;
			width: 102px;
			height: 20px;
			background-image: url( star-rate.png );
			background-repeat: no-repeat;
			background-position: -100px 0;
		}

			div.ratingRate a {
				display: block;
				height: 20px;
				width: 20px;
				float: left;
			}

			div.ratingRate a:hover {
				background: transparent;
			}

	div.load {
		background-image: url( loading.gif );
		background-repeat: no-repeat;
		float: left;
		margin-top: 3px;
		width: 14px;
		height: 14px;
		display: none;
	}


/* UserList
---------------------------------------------------------*/

table.userList {
	width: 100%;
	border: 0;
	margin-bottom: 2em;
}

table.userList tr:hover, table.userList tr.odd:hover {
	background-color: #333;
}

table.userList tr.odd {
	background-color: #2a2a2a;
}

table.userList tr.head {
	background-color: #252525;
}

table.userList th {
	color: #30afce;
	font-size: 80%;
	font-weight: bold;
}

table.userList td {
	border: 0;
	padding: 0 0.4em;
}

td.number {
	width: 7em;
	text-align: right;
}

td.date {
	width: 7em;
	text-align: center;
}

a.textPrev, div.textNoPrev {
	display: block;
	float: left;
}

a.textNext, div.textNoNext {
	display: block;
	float: right;
}

/* Forms
---------------------------------------------------------*/

div.warn {
	background-color: #7a0d00;
	padding: 0.1em 0.4em;
	border: 1px solid #fd5c6a;
	color: #fff;
	margin: 1em 0;
}

input {
	background-color: #000;
	border: 1px solid #666;
	color: #fff;
/*	width: 12em; */
}

input.button {
	background-color: #111;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
	width: auto;
}

input.check {
	width: auto;
}

input.login, input.register {
	margin-top: 1em;
	padding: 0 1em;
}

input:focus, input.button:focus {
	border: 1px solid #c8ec70;
}

dl.form dd {
	margin: 0.4em 0;
}

dl.form dt {
	margin-right: 0.5em;
	padding: 0.4em 0 0 1em;
	width: 14em;
/*	height: 1em; */
	text-align: right;
	display: block;
	float: left;
	font-style: italic;
	text-transform: uppercase;
	color: #eee;
	font-size: 80%;	
}

dl.form dd input.text{
	width: 15em;
}

fieldset {
	width: 40em;
	border: 1px solid #555;
        text-align: left;
}
	
	legend {
		color: #ff942b;
		font-size: 80%;
		font-weight: bold;
	}


pre {
	font-family: Bitstream Vera Sans Mono, Courier New, Lucida Console, monospace; 
	font-size: 9pt;
	border-top: 1px solid #444;
	border-bottom: 1px solid #333;
	padding: 0.4em;
	color: #fff;
}




/* colorpicker
---------------------------------------------------------*/

div#colorpicker {
	position: absolute;
	top: 16px;
	left: 0;
	width: 80px;
	height: 76px;
	background-color: #333;
	border: 1px solid #777;
	z-index: 10;
}
div#colorpickerSV {
	background-color: #f00;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 64px;
	height: 64px;
	background-image: url(colorpicker-sv.png);
}

div#colorpickerH {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 14px;
	height: 64px;
	background-image: url(colorpicker-h.png);
	background-repeat: no-repeat;
}

div#colorpickerSVSelect {
	position: absolute;
	top: -4px;
	left: -4px;
	width: 9px;
	height: 9px;
	background-image: url(colorpicker-select-sv.png);
}

div#colorpickerHSelect {
	position: absolute;
	top: -2px;
	right: 1px;
	width: 3px;
	height: 5px;
	background-image: url(colorpicker-select-h.png);
}

div#colorpickerCurrent {
	background-color: #fff;
	position: absolute;
	top: 2px;
	left: 1px;
	width: 8px;
	height: 8px;
}
div#colorpickerValue {
	font-size: 9px;
	font-family: arial;
	color: #fff;
	position: absolute;
	top: 0;
	left: 12px;
	height: 8px;
}

