h1 {margin: 0px; padding: .5em 0em;}
h2 {margin: 0px; padding: .5em 0em;}

.chead{cursor:pointer;}
.cnormal{cursor:default;}

li.listheader {
	margin: 0px;
	padding: 0px;
	font-size: x-small;
	font-weight: bold;
	list-style-type:none;
}

.hidden { background-color: #FFEEEE; }
.even { background-color: #EFEFEF; }
.odd { background-color: #FFFFFF; }

dl.comments {text-align:left; padding:0px 5px 0px 5px}

dl.comments dt {
	border-top: 1px solid #CCCCCC;
	font-size: x-small;
	padding: 10px 10px 5px 5px;
	margin: 0px;
}
dl.comments dd {
	font-size: small;
	padding: 10px 10px 5px 15px;
	margin: 0px;
}
.signatureBox {
	font-style: italic;
	font-size: xx-small;
	border-top: 1px solid #999999;
    margin-top: 10px;
    padding: 5px 10px 0px 0px;
}

ul.smallerList { margin:20px 0 20px 0; padding:0 0 0 5px; list-style-type:none; }
ul.smallerList li { font-size:8pt; margin:5px 0; padding:0; }

.photoInfoLeft
{
	border-bottom: 1px solid #CCCCCC;
	text-align: right;
    font-size: x-small; font-size: 10px;
}

.photoInfoRight
{
	text-align: left;
    font-size: x-small; font-size: 10px;
    padding-left: 1em;
	white-space:nowrap;
}

.photoMarkButton
{
	font-size: 10px;
	padding: 0 15px;
}

.photoMarkPanel
{
	border: 1px solid #DEDEDE;
	margin: 0px;
	padding: 3px;
}

table.show_mark_panel { /* стили блока ссылкой ключить панель */
	padding:0px;
	height:28px;
	line-height:28px;
}


.photoMarkExistsFrame
{
	font-size: x-small;
	padding: 3px;
	margin:0px;
}

.galleryBox {border:1px solid #DEDEDE; padding:0px; margin-bottom:10px;}
.galleryBox H2 {background-color:#EEEEEE; margin:0px; padding: .1em .5em .1em .5em;}
.galleryBox UL {margin:.5em;}


.headerBg {margin:0px 0px 10px 0px;padding:3px; background-color:#DEDEDE;}

UL.galleryCategoriesCols {font-size:x-small; margin:0px; padding:0px 0px 20px 10px; list-style-type:none; }
UL.galleryCategoriesCols LI {margin:0px 0px 4px 0px; padding:0px 0px 2px 5px; border-bottom: 1px solid #EEEEEE;border-right: 1px solid #EEEEEE;}
UL.galleryCategoriesCols LI.upc {text-transform:uppercase; margin:5px; padding:1px;}


TABLE.photosList { background-color:#DEDEDE; }
TABLE.photosList CAPTION { margin-top: 10px; margin-bottom: 5px; }
TABLE.photosList TH { font-size: 9px; background-color: #e8e8e8/* было EFEFEF*/; color: #000000; }
TABLE.photosList TH A:link, TABLE.photosList TH A:visited, TABLE.photosList TH A:active { color: #000000; text-decoration:underline; }
TABLE.photosList TH A:hover { color: #0000CC; text-decoration:none; }

TABLE.photosList TD { font-size: 9px; }
TABLE.photosList TD.font12 { font-size:12px;}
TABLE.photosList TD.rowL { background-color: #FFFFFF; }
TABLE.photosList TD.rowR { background-color: #FCFCFC; }
TABLE.photosList TD.rowM { background-color: #EEEEEE; }
TABLE.photosList TR.rowL { background-color: #FFFFFF; }
TABLE.photosList TR.rowR { background-color: #FAFAFA; }
TABLE.photosList TR.rowM { background-color: #EEEEEE; }

TABLE.photosList_footer { border:1px solid #DEDEDE; border-top:0px;}
TABLE.photosList_footer td { font-size:10px; }

/* Эта запись уже есть в файле club.css, который загружается всегда. Add by Kloun 18.11.2008.
a.todayLink:link,a.todayLink:active,a.todayLink:visited,a.todayLink:hover {color:#CC3300;}
a.yesterdayLink:link,a.yesterdayLink:active,a.yesterdayLink:visited,a.yesterdayLink:hover {color:#669933;}
*/


#header { padding:0px; }
#container { width: 100%; float: left; margin-right: -250px; }
#content { background: #FFFFFF; /*margin-right: 250px; */}
#sidebar { width: 240px; float:right; border: 0px solid #000;}

.userbutton {
	margin: 5px;
	padding: 2px;
	border-bottom: 1px solid #BBBBBB;
	border-right: 1px solid #BBBBBB;
	border-top: 1px solid #EEEEEE;
	border-left: 1px solid #EEEEEE;
}

/*
** h3.contestName
** Убрано: white-space:nowrap; от 22.09.2008 (Причина: распирала среднею колонку на 1024)
*/
h3.contestName { margin-bottom:0; margin-top:7px;}
h3.contestName a:link, h3.contestName a:visited, h3.contestName a:active, h3.contestName a:hover { color:#006699; }



/* для photo_view.php */
#loading { padding:50px; display:block; }
#loading DIV { padding:20px; width:400px; background-color:#FFFFCC; border:1px solid #A3A382; color:#A3A382; font-size:small; font-weight:bold; }
#mainfotodiv { /*position:absolute;*/ display:none; padding-top:20px; }

.gm1 {height:215px; float:left; border:solid 1px #DEDEDE; margin: -1px 0 0 -1px; padding: 1px 0 0 1px;}
.gm11 {height:322px; float:left; border:solid 1px #DEDEDE; margin: -1px 0 0 -1px; padding: 1px 0 0 1px; }
.gm2 {width:187px; overflow:hidden; text-align:center; color:#666666;}
.gm22 {width:235px; overflow: hidden; text-align:center; color:#666666;}
.gm3 {height:12px; overflow:hidden;}
.gm4 {height:290px; float:left; border:solid 1px #DEDEDE; margin: -1px 0 0 -1px; padding: 1px 0 0 1px;}
.gm41 {height:375px; float:left; border:solid 1px #DEDEDE; margin: -1px 0 0 -1px; padding: 1px 0 0 1px;}

/* стиль заголовка статей под лучшими товарами на странице фотографии */
table.block_name {
	border-collapse:collapse; 
	border:0px;
	width:100%;
	margin-top:8px;
	border-left:solid 1px #DEDEDE
}

table.block_name th {
	background-color:transparent;
	margin:0px;
	padding:5px 5px 1px 8px;
}
table.block_name td {
	padding:2px;
}

table.block_name th.line {
	background-color:transparent;
	margin:0px;
	padding:4px 5px 1px 8px;
	font-size:10px;
}

/* стиль заголовка статей под лучшими товарами на странице фотографии */
table.article_name {
	border-collapse:collapse; 
	border:0px;
	width:94%;
	margin:10px 0 10px 5px;
}
table.article_name th, table.article_name td {
	background-color:transparent;
	margin:0px;
	padding:0px;
	font-weight:bolder;
	font-size:10px;
}

table.article_name td {
	background-color:#e7e7e7;
	width:100%;
}


/* Стиль названия галереи в новом дизайне лазарева */
.gray_gallery_name h1, .gray_gallery_name h1 a {
	position:relative; 
	cursor:default; cursor:pointer;
	color:#663333; 
	display:inline; 
	font-size:12px; 
	padding:0 5px 0 0;
	padding:0;
	text-decoration:none;
}

.mar_gallery_name h1 {
	color:#663333; 
	font-size:12px; 
	font-weight:bold;
	padding:4px 0 0 0;
}

/* стиль дива для всплывающей подсказки о запрете ставить рекомендации */
#rec_warning {
	width:235px;
	padding:20px 10px 0 20px;
	color:red;
	text-align:center;
	height:81px;
	background: transparent url('/images/gallery/rec1_info_no.gif') no-repeat;
}

/* Всплывающий блок с разными ссылками на фотографию */
#insertCodes1, #insertCodes2 {
	position : absolute;
	width : 520px;
}
.insertCodes {
	margin : 0px;
	padding : 0px;
	font-size : 11px;
}
.insertCodes input {
	width : 96%;
	margin-bottom: 5px;
	color : gray;
	font-size : 11px;
}
#insertCodes1 span.close, #insertCodes2 span.close {
	position : absolute;
	right : 15px;
	top : 0px;
	color : #990000;
	cursor : pointer;
	font-size : 10px;
}
a.insertCodes_links {
	color : #01219E;
	position : absolute;
	cursor : pointer;
	text-decoration : none;
}
a.insertCodes_links span {
	font-family : monospace;
}

.insertCodes_button {
	color:#666;
	cursor:pointer;
	margin-right:3px;
	font-size : 10px;
	position:relative;
}
.insertCodes_tire {
	right:0px;
	text-align:center;
	padding:0 5px;
}
.insertCodes_button, 
.insertCodes_tire {
	height:24px;
	line-height:24px;
	overflow:hidden;
}

.insertCodes_icons {
	float:left;
	border:1px solid #dedede;
	background: url("/images/rama_bg.gif") repeat scroll 0 -1px transparent;
	height:28px;
	overflow1:hidden;
	font-family:arial;
	font-size:12px;
	position:absolute;
	left:365px;
}
.insertCodes_icons div {
	float:left;
	border-left:1px solid #dedede;
	margin:3px 0;
	padding:0 6px;
	height:24px;
}

/** Всплывающий блок доп сервисов публикаций */
.pop_over_serv {
	left:365px;
	border:1px solid #DEDEDE;
	position:absolute;
	width:243px;
	width:178px;
	z-index:100;
	background-color:#FFF;
	padding:0px 3px 0px 3px;
}

.pop_over_serv a {
	display:block;
	/*float:left;*/
	width:118px;
	height:16px;
	line-height:16px;
	font-size:12px;
	color:#000;
	text-decoration:underline;
	margin:6px 0 6px 3px;
}

.pop_over_serv a img {
	float:left; margin-right:6px;
}

.insertCodes_icons .over_serv {
	cursor:pointer;
}

div.facebook_like, div.vkontakte_like {
	padding:0; padding:0;
	float:left;
	margin:3px 0;
	height:24px; width:160px;
}
div.facebook_like div {
	border:medium none !important; margin:0; padding:0;
}
/** блок для фрейма фейсбука */
.fb_iframe_widget {
	margin-top:1px;
	padding:0 6px 0 0;
}
/** блок для фрейма вконтакте */
div#vk_like {
	border:medium none !important;
	margin:0;
	padding:0;
	width:180px;
}

.insertCodes_icons div.serv_ico {
	padding:0 3px;
}

.insertCodes_icons div.serv_ico a {
	padding:0 3px;
}

.insertCodes_icons b {
	display:block;
	height:28px;
	line-height:28px;
	float:left;
	margin-right:6px;
}
.insertCodes_icons img.rec_user {
	padding:2px 6px 0 2px;
	vertical-align:middle;
	float:left;
}

/* Медали и кубки */
.award_cup {
	position : relative;
}
.award_cup {
	margin-top : 5px;
	border : 0px solid green;
	/*position : absolute;  Для списка */
}
td.font12 div.award_cup {
	/*position : absolute;  Для матрицы */
	border : 0px solid green;
}
div.award_cup img {
	vertical-align : middle;
}
div.awards_cup {
	border : 1px solid red;
	position : absolute;
	width : 200px;
	z-index : 99999;
	top : 300px;
	left : 100px;
}

#mac_cursor_left {
	height : 20px;
	width : 26px;
	position : absolute;
	margin : -19px 0 0 30px;
	z-index : 2000;
	background-repeat : no-repeat;
	background-position : left top;
}

#mac_cursor_right {
	height : 20px;
	width : 26px;
	position : absolute;
	margin : -19px 0 0 150px;
	z-index : 2000;
	background-repeat : no-repeat;
	background-position : left top;
}

#medals_and_cup_text {
	text-align : center;
	font-size : 11px;
}
/* ---------------- */


#medal_list {
	padding:20px;
	text-align: center;
}
#medal_list td {
	text-align: center;
}
#medal_list td div {
	position:relative; 
	text-align: right;
	padding-left:45px;
	bottom:30px; 
	font-size:11px;
	font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;
	color:black;
	text-align:center;
}
#medal_list td div.medal {
	padding-left:63px;
}

/* */
fieldset.mini_competitions {
	position:relative;
	border:1px solid #b7b7b7;
	margin:0; padding:0;
	width:100%;
	text-align:center;
	display:block;
}

fieldset.mini_competitions h4 {
	text-align:center;
	line-height:16px;
	padding:8px 0; margin:0px;
	font-size:12px;
}
fieldset.mini_competitions h4 a {
	color:black;
	text-decoration:none;
}
fieldset.mini_competitions h4 img {
	vertical-align: top;
	padding-right:8px;
}
fieldset.mini_competitions div {
	font-size:11px;
	line-height:16px;
	text-align:center;
	padding:5px 10px 5px 10px;
}
fieldset.mini_competitions div img {
	margin-bottom:4px;
}

.mini_competitions span.br1, .mini_competitions span.br2, .mini_competitions span.br3, .mini_competitions span.br4 {
	position:absolute;
	display:block;
	width:10px;
	height:10px;
	font-size:1px; line-height:10px;
}

.mini_competitions span.br1 {
	background: #FFF url('/images/glory_hall/hall_of_fame_border1.gif') no-repeat top left;
	left:-1px; top:-1px;
}

.mini_competitions span.br2 {
	background: #FFF url('/images/glory_hall/hall_of_fame_border1.gif') no-repeat top right;
	right:-1px; top:-1px;
}

.mini_competitions span.br3 {
	background: #FFF url('/images/glory_hall/hall_of_fame_border1.gif') no-repeat bottom right;
	right:-1px; bottom:-1px; /*_bottom:-2px;*/
}

.mini_competitions span.br4 {
	background: #FFF url('/images/glory_hall/hall_of_fame_border1.gif') no-repeat bottom left;
	left:-1px; bottom:-1px; /*_bottom:-2px;*/
}


/** Блок подписки на рассылку новых фотоконкурсов */
.sub_photo_contests {overflow:hidden; height:66px;}
.sub_photo_contests div {border:1px solid #CCC; margin:15px 0 0 5px; padding:8px;}
.sub_photo_contests .but_input {margin-left:5px; padding:5px; cursor:pointer;}
.sub_photo_contests img.gm {margin-right:8px;}
.sub_photo_contests i {padding-right:4px;}

/** иконки сервисов публикации */
.vkontakte {background: transparent url('/images/icons/vkontakte.gif') no-repeat bottom right;}
.livejournal {background: transparent url('/images/icons/livejournal.gif') no-repeat bottom right;}
.yandex {background: transparent url('/images/icons/yandex.gif') no-repeat bottom right;}
.facebook {background: transparent url('/images/icons/facebook.gif') no-repeat bottom right;}
.twitter {background: transparent url('/images/icons/twitter.gif') no-repeat bottom right;}
.liveinternet {background: transparent url('/images/icons/liviinternet.gif') no-repeat bottom right;}


.row_author_comment .contest_gift {
	width:100%;
	border-collapse:collapse;
	border-spacing:0;
	}
.row_author_comment .contest_gift td { margin:0; padding:0; }
.row_author_comment .contest_gift .title {
	margin:12px 0;
	padding:0;
	background-color:#3893c5;
	height:109px;
	width:100%;
	border-bottom:1px solid #6eb4d8;
	border-collapse:collapse;
	border-spacing:0;
	}
.row_author_comment .contest_gift .title td {
	color:#FFFFFF;
	font-size:17px;
	line-height:24px;
	text-align:center;
	}
.row_author_comment .contest_gift .left_col { background: transparent url('/images/paid_contests/left_col.gif') no-repeat top right; min-width:133px; max-width:800px; }
.row_author_comment .contest_gift .right_col { background: transparent url('/images/paid_contests/right_col.gif') no-repeat top left; min-width:133px; max-width:800px; }
.row_author_comment .contest_gift .center_col { min-width: 400px; max-width: 400px; }
.row_author_comment .contest_gift .section { border:1px solid #cdcdcd; border-width:1px 0; padding-bottom:20px; }
.row_author_comment .contest_gift .section .info {
	width:100%;
	border-collapse:collapse;
	border-spacing:0;
	}
.row_author_comment .contest_gift .section .info th {
	background-color:transparent;
	width:20px;
	}
.row_author_comment .contest_gift .section .info th,
.row_author_comment .contest_gift .section .info td {
	vertical-align:top;
	padding:0;
	margin:0;
	font-weight:normal;
	}
.row_author_comment .contest_gift .section .info .img {
	width:100px;
	padding-right:20px;
	}
.row_author_comment .contest_gift .section .info .line {
	padding:0;
	margin:0;
	height:20px;
	line-height:20px;
	width:100%;
	}
.row_author_comment .contest_gift .section .info hr {
	width:100%;
	margin:15px 0 !important;
	height:1px;
	color:#cdcdcd;
}