#all{background: url('/img/body_bg.gif') repeat-x top}

.photo_page h1{margin:0px;padding:0px;font-weight:normal;font-size:1.5em;color:#333}
h1.nick{clear:none; font-size:1.5em; margin-top:0px; padding-top:0px; text-transform:none; line-height:1.1em; }
h1.nick:first-letter {text-transform:none;  line-height:1em; font-size:1em;}
h1.nick span.country {font-size:.6em}
#header {margin-bottom:2em;background:#000 url(/img/2009/header_bg.jpg) no-repeat bottom;height:114px;position:relative;}
#flash_header {width:299px; height:79px;float:left; }
#logo {position:absolute; right:555px; width:445px;height:70px;text-align:right}
#logo a{display:block; width:100%; height:100%;}

form.search_photos {margin-top:3px;}
.main_menu {position:absolute; left:30px; top:89px }
div.tabbed {width:858px}
.tabbed .leftsidebar {width:330px;border-right: #eeeeee 1px solid; padding-right:25px;}
.tabbed .main_right {width:470px; }
div.tabbedgallery {border-right:1px solid #dedede;border-left:1px solid #dedede;border-bottom:1px solid #dedede;margin:0px; padding:15px 10px 60px 10px;position:relative;}
div.withTower {min-height:600px;}
div.tabbedgallery h2,
div.tabbedgallery h3 {clear:left;}
ul.tabbed {background:url(/img/ul_tabbed_bg.gif) no-repeat left bottom; }
.content>.usersubdomain {text-align:center; margin:0px auto; padding:2em 0 0;color:#999}

.photo_nav{text-align:center;height:2em; padding-top:4px;}
.photo_nav img {padding:0 4px;}

.paginator_gallery {text-align:center; font-size:.85em}
.paginator_gallery a{color:#333333; padding:0 1.5em;}
.paginator_gallery a:hover, .paginator_gallery a:active {color:#0077d2;}
.paginator_gallery span {color:#a0a6a7; padding:0 1.5em;}
.paginator_gallery span.paginator_gallery_current {padding:2px 7px; color:#ffffff; background-color:#a5b813; font-weight:bold}
.paginator_gallery span.paginator_of_photos {padding:0px; color:#a0a6a7;}

.paginator_gallery_limit {text-align:left; font-size:.85em;margin:1em 170px 3em 0;}
.paginator_gallery_limit a {padding:0 6px 0 11px;}
.paginator_gallery_limit a.limit_10 { background:url(/img/icon_display_10.gif) no-repeat left 50%;}
.paginator_gallery_limit a.limit_20 { background:url(/img/icon_display_20.gif) no-repeat left 50%;}
.paginator_gallery_limit a.limit_50 { background:url(/img/icon_display_50.gif) no-repeat left 50%;}
.paginator_gallery_limit a.limit_100 { background:url(/img/icon_display_100.gif) no-repeat left 50%;}

.gallery{padding-top:30px}
div.withTower .gallery,
div.withTower .small_gallery {width:748px;position:relative;}
.gallery .photo_box {width:160px; height:210px; float:left;margin:0 28px 40px 0; position:relative;font-size:.85em;line-height:1em;}
.small_gallery .photo_box {width:100px;min-height:170px;_height:170px; float:left;margin:0 10px 10px 0; position:relative;font-size:.85em;line-height:1em;}

div.tabbedgallery .photo_box{margin-right:22px}
.gallery a.photo  {display:block;width:160px; height:160px; text-align:center;  margin-bottom:6px;vertical-align:bottom;position:relative;}
.gallery a.photo img{position:absolute; bottom:0px;left: -2px}
.small_gallery a.photo {display:block;width:100px; height:100px; text-align:center; vertical-align:middle; margin:0 0 5px;}
.small_gallery a.photo img{position:absolute;top:0px;left: -2px}

.small_gallery img.icoOldWinner{border:0px;position:absolute; top:88px; left:-4px;}
.gallery img.icoOldWinner {border:0px;position:absolute; top:144px; left:-4px;}

.add_to_favs img {border:0px; padding:0px; margin:0px;}
.gallery  .add_to_favs,
.small_gallery .add_to_favs { float:right; display:block; width:13px; height:11px; overflow:hidden;}
.photo_page .add_to_favs{float:right;font-size:.9em}
.photo_page .add_to_favs{color:#999}


.gallery div.vote {float:right;}
.gallery .photo_title, .small_gallery .photo_title,
.gallery .photo_comment,.small_gallery .photo_comment {display:block;}


.photo_comment {float:right;clear:right;text-align:right; color:#a3a3a3; font-size: .8em; line-height:2em;padding-right:13px; background:url(/img/ico_comment.gif) no-repeat right 50%;}

.nick{float:left; font-size:1.1em; font-weight:bold}

.bigphoto {position:relative; text-align:center; margin:0 0 4px 0}
.bigphoto img{ padding:1px;border:1px solid #e9e9e9; margin:0px auto;}
 .bigphoto div.vote { margin-right: 2em; }

.photoDescribed {float: left; clear: left; margin:0 30px 3em 0; width:365px; text-align:right;}
.photoDescribed img{  padding:1px; border:1px solid #e9e9e9; }

.sidebar .photo {float:left;}

.vote { background:#a5b813; padding:1px 4px 2px; margin:1px 0 2px 0px; float:right; clear:right}
.vote a{color:#ffffff; text-transform:lowercase;}

/*comments*/
.comments {width:600px;padding-top:60px; clear:left;}
div.comment_box { padding:0 0 5px; margin:0px 0 1em;border-bottom:1px solid #f3f3f3;clear:left;width:600px;float:left;}
.comment_box .avatar_wrap{float:left;}
.comments img.avatar {width:40px; }
div.comment_box div.comment_text {float:left; clear:none; width:540px;  margin:0px;}
.autocomment {font-weight:bold;}
.time {color:#7e7e7e; font-size:.85em}
.comment_box span.user_name{font-size:.85em;}
.comment_box .from{color:#7e7e7e; font-size:.85em}
.send_to_moderator {display:block; width:100%; text-align:right;}

.help {padding-top:2em; font-size:.9em; color:#666}
.help dl {
	border-bottom:0px;
border-top:1px solid #eee;
}

dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
.help dd {
	
	margin-top: 0em;
line-height:1.5em;
	
}
.statistics dl {border-bottom:0px;}
.statistics dt {width:414px; text-align:right; border-bottom:1px solid #eee; padding-top:.5em}
.statistics dt:first-letter{text-transform:uppercase;}
.statistics dd {margin-left:440px; border-bottom:1px solid #eee; width:4em}

/* Tables */
table {
	background-color: #fff;
	border-top: 0px solid #ccc;
	border-left: 0px solid #eee;
	border-bottom: 1px solid #ccc;
	clear: both;
	color: #666666;
	margin-bottom: 10px;
	width: 100%;
}
th {
	background-color: #f2f2f2;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right:0px;
	border-bottom: 1px solid #bbb;
	text-align: center;
}
th a {
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a:hover {
	background-color: #fcf8e8;
	color: #666666;
	text-decoration: none;
}
table tr td {
	background: #fff;
	border-right: 1px solid #eee;
	padding: 4px;
	
	vertical-align: top;
}
td a {color:#666;}
table tr.altrow td {
	background: #f4f4f4;
}
table.message th{text-align:right; vertical-align:top; border:0px; background:none;}
td.actions {
	text-align: center;
	white-space: nowrap;
}
td.actions a {
	display: inline;
	margin: 0px 6px;
}
td.tiny { white-space:nowrap }
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

/* Paging */
div.paging {
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;

	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/*Forms*/

.sidebar form div.submit {margin-left:0px;}
label {
	float: left;
	font-size: 95%;
	padding-right: 1em;
	width: 200px;
	clear: none;
text-align:right;
}



.copy_this { width:300px; float:none; display:block; }


form.message {font-size:.95em;}
form.message legend{font-size:1.5em}
form.message label{width:6em;text-align:left;color:#7e7e7e;}
form.message .submit {margin-left:7em;}
form.message input[type=text],
form.message textarea {width:330px;}



form .photoDescription { float: left; width: 500px; clear: none; }
.photoDescription  label  { width: 100px; }
.photoDescription  input[type=text] { width: 300px; }
.photoDescription fieldset {border:0px; background:none;}
.photoDescription fieldset fieldset {margin:0px; padding:0px;}
.photoDescription  fieldset label, .photoDescription  fieldset legend, .photoDescription  fieldset input, .photoDescription  fieldset select{color:#777; font-size:90%}



.content>form.choose_gallery h4 {margin-bottom:0px; font-weight:normal;}
.content>form.choose_gallery {color:#6c6c6c}
.content form.choose_gallery div.change_gallery_input{display:inline; white-space:nowrap;line-height:2em;}
.sidebar form.choose_gallery div.change_gallery_input{display:block; }
form.choose_gallery label,form.choose_gallery  select,form.choose_gallery  input {display: inline;float:none;}
form.choose_gallery  select {margin-right:2em;}
form.choose_gallery input[type=submit], form.choose_gallery input[type=button] {border:1px solid #547406;background:#4b7c06 url(/img/submit_bg.gif) repeat-x bottom;color:#d6dade; font-size:.85em}

.comment_selector_wrap{float:left;width:220px;}
form.message .comment_selector_wrap label{width:220px;float:none;}
	#comment_selector{
				overflow: auto;
				height: 10.3em;
				width: 220px;
				padding: 0;
margin:.4em 0 0 0;


			}
			#comment_selector ul{
				list-style-type: none;
margin:0px; padding:0px;
width:195px; display:block;
			}
			#comment_selector a{
				text-decoration: none;
				cursor: pointer;
			}
			#comment_selector a:hover{
				background-color: #eee;
			}
.comment_field{float:left;width:345px; overflow:hidden;clear:none;}
.comment_field label{padding-top:2em}

.add_comment_icos {width:40%; float:left; padding:0.5em; text-align: right; clear:left}
.add_comment_butons { width:20%; float:left; padding:0.5em; text-align: center; clear:none;}
.add_comment_text {width:30%; float:left; padding:0.5em; text-align: left; clear:none;}
.add_comment_icos input, .add_comment_butons input, .add_comment_text input {float:none;}





/* Notices and Errors */
div.message {
	clear: both;
	color: #900;
	font-size: 110%;
	font-weight: bold;
	margin: 1em 0;
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 110%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background-color: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 110%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background-color: green;
	color: #FFF;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 0 0 0;
	padding-right: 1em;
	padding-left: 1em;
	white-space: nowrap;
	border-left: 1px solid #003d4c;
}
div.actions ul li a {
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 100%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 100%;
	line-height: 120%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 10px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #FFFF00;
	padding: 4px;
}


blockquote {padding:0px; margin:3em 0 1em 0;}
blockquote img {float:left; margin:0 .7em .5em 0;}

#winners div blockquote {margin-top:1.5em;color:#777}

/* ENTER COMPETITION > THEMES */
#competitionThemes {text-align:center;}
#competitionThemes h2 {font-size:1.4em; font-weight:lighter;color:#666;margin-bottom:10px;}
#competitionThemes h3 {color:#92a500; font-size:1.5em; font-weight:lighter;margin:0px; padding:0 0 5px;}
#competitionThemes .competitionThemesBox {float: left; margin:5px 20px; width:230px;height:160px; padding:10px 20px;background:url('/img/competitionThemesBox.png') no-repeat top left;}
#competitionThemes .competitionThemesImg {float: left; width: 64px; height: 64px;  margin: 5px 5px 10px;padding:0px; background:#fff url('/img/competitionThemesImgBg.png') no-repeat 50% center}
#competitionThemes .competitionThemesAddPhoto {font-size:1.7em; display:block;clear:left;}
#competitionThemes .competitionThemesDescribePhoto {}

/* ENTER COMPETITION > UPLOAD */
#competitionUpload {text-align:center;}
#competitionUpload p.small{display:block; width:100%; text-align:center; padding:30px 0 15px;}
#competitionUpload input#btnStart {margin:0px auto;float:none;}
#divSWFUploadUI {width:350px; margin:0px auto;}
#competitionUpload .competitionThemesImg{float: left; width: 24px; height: 24px;  margin: -3px 4px 30px 0px;padding:0 0 0 20px; clear: none}
#competitionUpload .competitionThemesImg img {width:20px; height:20px}
#competitionUpload form {width:200px; margin:0px auto;padding:20px 0;}
#competitionUpload form#selectedPhotos {width:600px;margin:0px auto;}
#competitionUpload .submit {margin:15px 0px auto;}
/* BANNERS */
#banner_tower {float:right; width:160px;}

