body {
	padding:0;
	margin:0;
	border:0;
	width:100%;
	height:100%;
	background-color:#fff;
	font-family:Arial, Tahoma, Verdana, sans-serif;
	font-size:14px;
}

a:link {
	text-decoration:underline;
	color:#0C569C;
}

a:visited {
	text-decoration:underline;
	color:#9c009c;
}

a:hover, a:active {
	text-decoration:none;
	color:#9c0000;
}

a img {
	border:0;
}

table {
	border:0;
}

h1 {
	text-align:left;
	font-size:20px;
	color:#000;
    padding:0;
    margin:40px 0 0.3em 0;
}

h2 {
	text-align:left;
	font-size:16px;
	color:#000;
    margin:2em 0 0.4em 0;
    padding:0;
}

fieldset {
	border:1px solid #e0e0e0;
	padding:0em;
	margin:0em;
}
	fieldset div {
		padding:0em 0.5em 0.5em 1.8em;
	}

legend {
	color:#333;
	font-weight:normal;
	margin-left:1em;
}

abbr {
	border-bottom:1px dashed gray;
}

p.top_menu	{
	margin:1em 0em 1em 0em;
	padding:0;
}

td {
	font-family:Arial, Tahoma, Verdana, sans-serif;
	font-size:14px;
}

input, textarea {
	font-family:Arial, Tahoma, Verdana, sans-serif;
	font-size:14px;
}

.clear {clear:both;}
.a {position:absolute;}
.r {position:relative;}
.full-width {width:100%;}
span.mdash {
	position:absolute;
	margin-left:-1.35em;
}

ul.float {
	margin:0;
	padding:0;
	float:none;
}
	ul.float li {
		list-style-type:none;
		margin:0;
		padding:0;
		padding-bottom:1em;
		margin-right:1em;
		float:left;
	}


pre {
	padding:1em;
	background-color:#FFFFF0;
}

#content  {
	position:absolute;
	height:100%;
	width:100%;
}

#work-table li {
	position:relative;
	left:0;
	top:0;
}

.version {color:gray; font-size:90%;}

body div.toperror404 {
	padding-top:1em;
	margin-left:70px;
	font-size:30px;
	text-align:left;
	white-space:nowrap;
}

div.error404 {
	padding:20px 2em 2em 80px;
}

img.logo {
	width:293px;
	height:78px;
	margin:20px 0px 0px 0px;
	border:0;
}

img.main_page {
	margin-top:4em;
	width:400px;
	height:55px;
	border:0;
}

div.mainblock {
	padding-top:1em;
	clear:both;
}

table.main {
	width:100%;
	height:100%;
	border:0;
}

div.pagelogo {
	font-size:30px;
	padding:30px 50px 20px 70px;
	white-space:nowrap;
}

div.pagemiddle {
	padding:0em 2em 2em 5em;
	line-height:1.5em;
}

div.pagebottom {
	padding:2em 0em 0em 0em;
}

div.pagecopy {
	float:left;
	width:40%;
	padding-left:4.3em;
	padding-bottom:3em;
}

div.pageadr {
	float:left;
	width:40%;
	padding-bottom:3em;
}

#icq {
	line-height:1.5em;
	color:#999;
	visibility:hidden;
}

.time {
	color:gray;
	font-size:10px;
}

a.big {
	font-weight:normal;
	font-size:16px;
}

img.portfolio {
	border:1px solid #ccc;
	margin:0em 1.5em 1.5em 0;
}

.description {
	background-color:#eee;
	padding:1em;
}

.small {	font-size:12px;}
.big {	font-size:16px;}
.gray {color:gray;}
.right {text-align:right;}
.fleft {float:left;}
.fright {float:right;}
.left {text-align:left;}
.right {text-align:right;}
.center {text-align:center;}
.top {vertical-align:top;}
.middle {vertical-align:middle;}
.bottom {vertical-align:bottom;}

.columns {clear:both;}
.column2 {float:left; width:40%;}
	.column2 ul {
		margin:1em 0 2em 0;
		padding:0;
	}
	
	.column2 li {
		margin:0 1em 1em 0.5em;
		padding:0;
		list-style-type:none;
	}
		.column2 li.new {
			font-size:1.5em;	
		}
		
		.column2 li.old1 {
			font-size:0.95em;	
		}		

		.column2 li.old2 {
			font-size:0.9em;	
		}		

		.column2 li.old3 {
			font-size:0.8em;	
		}		

p.pul {
	margin-bottom:0;
}

ul.pul,
ul.pul2 {
	margin-top:0;
	padding-left:0;
	margin-left:1em;
}

ol.pul {
	margin-top:0;
}

ul.pul li {
	list-style-type:none;
	margin-left:0;
	padding-left:0;
	padding-top:0.15em;
}

ul.pul2 li {
	list-style-type:square;
	margin-left:0;
	padding-left:0;
	padding-top:0.15em;
}


p.html_path {
	padding:0em 1em 1em 1em;
	margin:0;
	margin-left:-4em;
	font-size:10px;
}

ul.main_news {
	padding:0;
	margin:0;
	width:100%;
}

ul.main_news li {
	list-style-type:none;
	font-size:12px;
	margin-top:1em;
}

div.news {
	margin-top:2em;
}

#games {
	position:relative;
	width:90%;
	left:0.5em;
	height:200px;
}

#game-15 {
	width:140px;
	text-align:center;
}

#game-twinz {
	width:150px;
	text-align:center;
	position:absolute;
	left:200px;
	top:0;
}


/* Контактная информация */
div.contacts {
	background-color:#eee;
	border:1px solid #ddd;
	padding:0.3em 1em 0.3em 2em;
}

div.contacts p {padding:0; margin:0.7em 0;}

input.contacts {width:20em;}
textarea.contacts {width:30em; height:20em;}

/* Быстрая верстка таблиц */
div.fasttable {
	clear:both;
	padding-top:2em;
}

div.fasttable table {
	border:1px solid #aaa;
	margin:0em 1em 1em 0em;
}

div.fasttable table td {
	border:1px solid #ccc;
	padding:0.3em;
}

textarea.fasttable {
	width:100%;
	height:20em;
}

/* Подсветка синтаксиса кода */
span.comment {color:green; font-size:90%;}
span.comment a:link, 
span.comment a:visited, 
span.comment a:hover, 
span.comment a:active {color:green; text-decoration:underline;}

span.magicnum {color:red;}
span.operator {font-weight:bold; color:#009;}
span.text {color:#666;}

span.tag {color:blue;}
span.attr {color:red;}

span.attr-value {color:#8000ff; font-weight:bold;}
span.attr-value a:link, 
span.attr-value a:visited, 
span.attr-value a:hover, 
span.attr-value a:active {color:#8000ff; font-weight:bold; text-decoration:underline;}


span.value {color:black; font-weight:bold;}
span.equal {color:black;}

.ps {line-height:1.5em;}

span.ajax {
	color:#0C569C;
	border-bottom:1px dotted #0C569C;
	cursor:pointer;
	line-height:1.55em;
}

body span.selected {
	color:#000;
	cursor:default;
	border-bottom:1px dotted #fff;
}

pre code {
  display: block; padding: 0.5em;
}

pre code,
pre .tag .title {
  color: black;
}

pre .string,
pre .title,
pre .constant,
pre .parent,
pre .tag .value,
pre .rules .value,
pre .rules .value .number,
pre .preprocessor,
pre .instancevar,
pre .aggregate,
pre .template_tag,
pre .addition,
pre .flow,
pre .stream {
  color: #800;
}

pre .comment,
pre .annotation,
pre .template_comment,
pre .diff .header,
pre .chunk {
  color: #888;
}

pre .number,
pre .date,
pre .regexp,
pre .literal,
pre .go .constant,
pre .change {
  color: #080;
}

pre .label,
pre .javadoc,
pre .decorator,
pre .filter .argument,
pre .localvars,
pre .array,
pre .attr_selector,
pre .important,
pre .pseudo,
pre .pi,
pre .doctype,
pre .deletion,
pre .envvar,
pre .shebang,
pre .input_number {
  color: #88F
}

pre .css .tag {
  font-weight: bold;
}

pre .keyword,
pre .id,
pre .title,
pre .built_in,
pre .aggregate {
  font-weight: bold;
}

pre .xml .css,
pre .xml .javascript {
  opacity: 0.5;
}
