
.base p {padding: 0px; margin: 0px;}

a { color: #3980bb; text-decoration: none; }
a:hover { text-decoration: underline; }

.cat_game a { color: #60798a; text-decoration: none; }

/*h1-h6*/
html, body, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, blockquote, fieldset, input {
	margin:0;
	padding:0;
}

h1, h2, h3, h4, h5, h6, pre, code, address, caption, cite, code {
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Tahoma, Verdana, Helvetica, sans-serif;
    margin: 0 0 0.2em 0;
	line-height: 1.1em;
}

/*Настройка заголовков*/
h1 { font-size:24px; font-weight:bold; line-height:36px; margin-bottom:18px; }
h2 { font-size:16px; font-weight:bold; line-height:18px; margin-bottom:18px; }
h3 { font-size:1em; font-weight:bold; line-height:18px; }
h4 { font-size:10px; font-weight:bold; line-height:18px; }

/*forms*/
input, textarea, select {
	font-size: 1em;
	font-family: Tahoma, Helvetica, sans-serif;
}


body {
	color: #60798a;
	background-color: #FFFFFF;
	font-family: Tahoma, Arial, Verdana, sans-serif;
	font-size:11px;
	font-size-adjust: none;
	font-stretch: normal;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height:15px;
}

.pagebg {
	padding: 0; margin: 0;
	background: #e5e9ee url(../images/pagebg.gif) repeat left top;
}

.pagebg-top {
	padding: 17px 0;
	background: transparent url(../images/pagebg_top.gif) repeat-x left top;
	text-align: center;
}

/*Other*/
p { margin-bottom: 18px; }
.clr { clear: both; }
img  { border:0 none; }
img.left { float: left; margin: 2px 20px 16px 0; }
img.right { float: right; margin: 2px 0 16px 20px; }
hr	{ border: 0 none; border-top: 1px solid #cfcfcf; }

table {
	border-collapse: collapse;
	border-spacing: 0; border: 0px;
}

table td { padding: 0px; }

/*UL, LI*/
ul {
	margin: 2px 0;
	padding: 0 0 0 5px;
}

/*
ul li {
	list-style-type: none;
	background: transparent url("../images/li.gif") no-repeat left 5px;
	margin-top: 2px;
	margin-bottom: 2px;
	padding-left: 14px;
}
*/

ol {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:decimal;
	margin-bottom:15px;
	margin-left:2.2em;
}

.wrapper {
	margin: 0 auto;
	width: 90%;
	min-width: 990px;
	text-align: left;
}

* HTML .wrapper {
	width: expression(document.body.clientWidth > 990 ? "90%" : "990px")
}

/*dleft, dright*/
.dleft, .dright { background-position: left; background-repeat: repeat-y; background-color: transparent; }
.dright { background-position: right; }

/* ===== HEADER ===== */
.header, .headerleft, .headerright { height: 190px; }
.header { background:#f1f5f9; width: 100%; }
.headerleft { padding-left: 247px; background: transparent url("../images/htl.png") no-repeat left top; }
/* Шапки
htl.png - стандарт
htl_halloween.png - halloween
htl_ng.png - новогодняя
 */
.headerright { padding-right: 48px; background: transparent url("../images/htr.png") no-repeat right top; }
.topmenu { height: 81px;position:absolute;}
.topmenu { background: url("../images/tm.png") no-repeat; width: 519px; margin-left:30% ;margin-top:-70px}


.headbl, .headbl .dleft, .headbl .dright { height: 137px; }
.headbl { position: relative; overflow: hidden; background: url("../images/hbg.png") repeat-x left top; width: 100%; }
.headbl .dleft { padding-left: 248px;padding-top:30px; background: transparent url("../images/hl.png") no-repeat left top; } 
.headbl .dright {margin-top:-28px; padding-right: 55px;}

.welcome, .welcome a { color: #ffffff; }
.welcome { padding-top: 4%; }

/* ===== LOGOTYPE ===== */
.ufoGXcom {
	position: absolute;
	padding-left: 17px;
	left: 3%; top: 16px;
}

/* ===== HEADTOOL (LOGIN & Music, Video, Games) ===== */
.headtool {
	background: transparent url("../images/headtool_bg.png") repeat-x left top;
	height: 66px;
}

.avgbar { float: left; width: 40%; }
.avgbar a { float: left; width: 32%; height: 66px; }
.avgbar a img { display: block; width: 100%; height: 66px; }
.avgbar a.music { background: transparent url("../images/music.png") no-repeat left top; }
.avgbar a.video { background: transparent url("../images/video.png") no-repeat left top; }
.avgbar a.games { background: transparent url("../images/games.png") no-repeat left top; }

.avgbar a:hover { background-position: left -66px; }

/* ===== TOOLBAR ===== */
.toolbar, .toolbar .dleft, .toolbar .dright { height: 44px}
.toolbar { overflow: hidden; background: #f1f5f9 url("../images/toolbar_bg.png") repeat-x left top; width: 100%; }
.toolbar .dleft { padding-left: 46px; background: transparent url("../images/toolbar_left.png") no-repeat left top; }
.toolbar .dright { padding-right: 46px; background: transparent url("../images/toolbar_right.png") no-repeat right top; }

/* ===== BUTTON ===== */
.toolbtn {float: left; padding-top: 9px; }
.toolbtn a { float: left; width: 32px; height: 19px; margin-right: 4px; }
.toolbtn a img { display: block; width: 32px; height: 19px; }

.toolbtn a.rss { background: #ef7c01 url("../images/rss_btn.png") no-repeat left top; }
.toolbtn a.tp {width:80px;text-align:center;color:#fff;text-decoration:none; background: #ef7c01 url("../images/kn.png") no-repeat left top; }
.toolbtn a.map { background: #68b649 url("../images/map_btn.png") no-repeat left top; }
.toolbtn a:hover { background-position: left -19px;  }
.searchform { float: right; }

/* ===== PAGE BODY ===== */
.pbt-top { background: #ffffff url("../images/pbt_top.png") repeat-x left top; }
.pbt-left { padding-left: 12px; background: transparent url("../images/pbt_left.png") no-repeat left top; }
.pbt-right { padding-right: 12px; background: transparent url("../images/pbt_right.png") no-repeat right top; }
.pb-left { background: transparent url("../images/pb_left.png") repeat-y left top; }
.pb-right { background: transparent url("../images/pb_right.png") repeat-y right top; }






/* ===== FORUM BODY ===== */
.pbt-top2 { background: #eaeff3 repeat-x left top; }
.pbt-left2 { padding-left: 12px; background: transparent no-repeat left top; }
.pbt-right2 { padding-right: 12px; background: transparent no-repeat right top; }
.pb-left2 { background: transparent url("../images/pb_left2.png") repeat-y left top; }
.pb-right2 { background: transparent url("../images/pb_right2.png") repeat-y right top; }

/* ===== FOOTBAR FORUM ===== */
.pbd-bottom2, .pbd-bottom .dleft, .pbd-bottom .dright { height: 28px; }
.pbd-bottom2 { overflow: hidden; background: #ffffff url("../images/pbd_bottom.png") repeat-x left top; width: 100%; }
.pbd-bottom2 .dleft { background: transparent url("../images/pbd_left.png") no-repeat left top; }
.pbd-bottom2 .dright { background: transparent url("../images/pbd_right.png") no-repeat right top; }









/* ===== STRUCTURE TABLE ===== */
table.structure { width: 100%; }

#leftcol { width: 218px; vertical-align: top; }
#rightcol { width: 220px; vertical-align: top; }
#maincol { width: 100%; vertical-align: top; padding-top: 12px; }

/* ===== FOOTBAR ===== */
.pbd-bottom, .pbd-bottom .dleft, .pbd-bottom .dright { height: 28px; }
.pbd-bottom { overflow: hidden; background: #ffffff url("../images/pbd_bottom.png") repeat-x left top; width: 100%; }
.pbd-bottom .dleft { background: transparent url("../images/pbd_left.png") no-repeat left top; }
.pbd-bottom .dright { background: transparent url("../images/pbd_right.png") no-repeat right top; }

/* ===== FOOTBAR ===== */
.footbar, .footbar .dleft, .footbar .dright { height: 52px; }
.footbar { overflow: hidden; background: #576f91 url("../images/footbar_bg.png") repeat-x left top; width: 100%; }
.footbar .dleft { padding-left: 46px; background: transparent url("../images/footbar_left.png") no-repeat left top; }
.footbar .dright { padding-right: 46px; background: transparent url("../images/footbar_right.png") no-repeat right top; }

/* ===== FOOTER ===== */
.footer, .footer .dleft, .footer .dright { height: 60px; }
.footer { overflow: hidden; background: #576f91 url("../images/footer_bg.png") repeat-x left top; width: 100%; }
.footer .dleft { padding-left: 46px; background: transparent url("../images/footer_left.png") no-repeat left top; }
.footer .dright { padding-right: 46px; background: transparent url("../images/footer_right.png") no-repeat right top; }


/*===COPYRIGHT===*/
.copyright {
	float: left;
	color: #656464;
	padding-top: 14px;
	white-space: nowrap;
}

.copyright, .copyright a { color: #ffffff; }
/*===СЧЕТЧИКИ===*/
div.count {
	float: right;
	display: inline;
	padding-top: 10px;
}

div.count span {
	display: block;
	float: left;
	height: 31px;
	margin-right: 2px;
}

div.count2 {
	float: left;
	display: inline;
	padding-top: 15px;
}

div.count2 span {
	display: block;
	float: left;
	height: 17px;
	margin-right: 2px;
}

/*AVATAR USERINFO.TPL*/
.avatar {
	background-repeat: no-repeat;
	background-position: 50% 50%
}

/*разбиение на страницы*/
.navigation {
	color:#666; 
	border:0px;
}

.navigation a {
	text-decoration:none;
	color: #636363;
	background-color: #F9F9F9;
	border:1px solid #e0e0e0;
	padding: 3px 6px;
	font-size:11px
}

.navigation a:hover {
	background-color: #3077b0;
	color:#FFFFFF;
	border-color: #3077b0;
}

.navigation span {
	text-decoration:none;
	background:#fff;
	padding:3px 6px;
	border:1px solid #E6E6E6;
	color:#ccc;
	font-size:11px;
}



/* Последние комментарии */

.lastcomm {
	border: 1px solid #f8fbf5;
	background: #f0f0f0f;
	cursor: hand;
	padding: 1px;
	padding-left: 2px;
	padding-right: 2px;
}

.lastcomm_over {
	border: 1px solid #dedede;
	background: #f5f5f5;
	cursor: hand;
	padding: 1px;
	padding-left: 2px;
	padding-right: 2px;
}

/* ui widget overlay
-------------------------------------------------------------- */
.ui-widget-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background-color: black;
    opacity: 0.5;
    filter: alpha(opacity=50);
    cursor: wait;
}

/*
 * jQuery UI Dialog
 */
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; background-color: #fff; border: 1px solid #6a8eb2; }
.ui-dialog .ui-dialog-titlebar {
    padding: .4em 1em; position: relative;
    height: 18px;
    background: #6a8eb2;
    color: #fff;
    font-size: 12px;
    font-weight: bold; 
}
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } 
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {}
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
.ui-dialog .ui-dialog-buttonpane {
    text-align: left; border-width: 1px 0 0 0;
    border-bottom: 1px solid #6a8eb2;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }

.ui-icon {
    background-image: url("../images/ui-icons.png");
    background-repeat: no-repeat;
    overflow: hidden;
    text-indent: -99999px;
}
.ui-icon-closethick {
    background-position: -96px -128px;
}
