body {
	margin: 0px;
	padding: 0px;
	font-family: Arial,Verdana,sans-serif;
	font-size: 0.8em;
	color: #000;
	min-width: 950px;
	background-color: #e8e8e8;
}
table, td {
	margin: 0px;
	padding: 0px;
	border-collapse: collapse;
}
td {
	vertical-align: top;
}

a, a:visited {
	text-decoration: underline;
	color: #0381fe;	
	cursor: pointer;
}
a:hover {
	color: #003399;	
}

img {
	border: 0px ;
	margin: 0px;
	padding: 0px;
}
h1 {
	margin: 0px;
	padding: 0px;
	line-height: 36px;
	font-size: 50px;	
	font-weight: normal;
	color: #0381fe;
}
.h1_long {
	font-size: 20px;
}


h2, h3 {
	margin: 0 25px;
	padding: 0px;	
	font-size: 1.4em;
	font-weight: normal;
	color: #000;		
}
h3 {
	margin: 0;	
}
input, textarea {
	border: 1px solid #ccc;	
}
	.inputradio {
		border: none;	
		vertical-align: middle;
	}

/* main blocks */
.pageheader {
	height: 113px;
	background: url("/tpl/img/topfon.gif") repeat-x bottom ;
}
	.logo {
		margin: 32px 0 0 30px
	}
.topline {
	background-color: #d8d8d8;
	height: 36px;
}
	.sel_resolution {
		float: left;
		height: 36px;
		font-size: 20px;
		line-height: 36px;
		color: #fff;
		width: 230px;
		text-align: center;
		background: #666 url("/tpl/img/menufon.gif") repeat-x;
	}	
	
	#cur_resolution {
		cursor: pointer;
	}
	#aviable_resolution {
		position: absolute;
		z-index: 99;
		display: none;	
		background-color: #999;	
		border: 1px solid #000;	
		height: 300px;
		overflow:scroll;		
		overflow-x:hidden;		
			
	}
		.aviable_resolution_group {
			padding: 5px;
		}
		.change_res {
			display: block;
			width: 230px;
			height: 25px;
			color: #fff;
			background: #666 url("/tpl/img/menufon.gif") repeat-x;
			border: 0px;			
			cursor: pointer;
		}
	
.content {
	min-height: 500px;	
	padding-bottom: 20px;
}
.footer {		
	border-bottom: 1px solid #fff;	
}
	.copy {
		padding: 15px 20px;
		color: #666;
		float: right;
	}

/* gallery and image preview */
.gal_desc {
	background: none !important;
	float: none !important;
	height: auto !important;
	margin: 0 -5px 0 30px;
}
		
.gallery {		
	float: left;
	margin: 10px 0px 10px 25px;		
	position: relative;
}
	.gallery div {
		margin: 0 !important;
		float: none !important;
	}				
	.gallery_name {						
		position: absolute;
		bottom: 15px;
		left: 14px;			
		padding: 5px 10px 0 0;
		background-color: #fff;		
	}


.item_normal {
	background:  url("/tpl/img/img_normal.gif") no-repeat;
	width: 296px;
	height: 232px;
	margin-top: 2em;
}
	.item_normal img {
		padding: 15px 14px;		
	}
	
.item_wide {
	background: url("/tpl/img/img_wide.gif") no-repeat;
	width: 328px;
	height: 216px;	
	margin-top: 2em;
}
	.item_wide img {
		padding: 12px 14px;
	}
	
.item_name {
	text-align: center;
	color: #666;
}
	
.cat_items {
	text-align: center;
	margin: 0 0 0 -1%;
}
.cat_item {
	text-decoration: none;
	vertical-align: top;
	text-align: left;
	display: -moz-inline-box;
	display: inline-block;
	margin: 0 0 0 1%;
}	

/* wallpaper page */
.wallpaper_img {	
	padding: 5px;
	border: 1px solid #ccc;
	background-color: #fff;
	cursor: pointer;
}
.wallpaper_info {
	max-width: 510px;
	margin-bottom: 25px;
	background-color: #fffcdf; 
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	padding: 10px;
}
.wallpaper_txtarea {		
	color: #666;
	font-size: 1em;
	background-color: #fff;
	border: 1px dotted #ccc;
	padding: 5px;	
}

/* adv blocks */		
#keft {
	max-width: 510px;
	margin-bottom: 25px;
	background: #2c5b3b url('/tpl/keft/green-fon.gif'); 	
	padding: 10px;
	text-align: center;
	display: none;
	border: 1px solid #fff;
}
	.keft_a {
		color: #B3FFB3 !important;
		text-decoration: none !important;
		font-size: 1.5em;		
	}
	
/* additional blocks */		
.cl {
	clear: both;
	height: 30px;
}
.sendform dt {	
	float: left;	
}
.sendform dd {
	margin: 0 0 20px 80px;
}
.tags_info {
	margin: 30px 25px 0 25px; 
	width: 400px; 
	padding: 10px; 
	background-color: #fffcdf; 
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	float: right;
}
.tags_obl {
	margin: 20px 25px 0 25px;
	line-height: 35px;
	text-align:justify;
}
.error {
	padding: 25px;
	margin: 50px 30%;
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

/* pager lister */
.pager_lister {
	margin: 20px 0;
	font-size: 1.4em;
	text-align: center;	
}
	.pager_lister span {		
		margin: 0 3px;
	}
	.pager_lister a {
		padding: 0 5px;			
	}
	.pager_lister_ar_next {
		text-decoration: none !important;
	}
	.pager_lister_b {
		padding: 0 5px;	
		font-weight: bold;
	}