/*
title: textpattern.ru :: screen media
author: nickolay abdrafikov <nicck@gmail.ru>
update: 17 oct 05
*/

/* ----[ layout ]---------------- */

* {
	padding: 0; margin: 0;
}

#bgbar {
	height: 50px;
}

#warp {
	position: relative;
	top: -50px;
	width: 768px;
	margin: 0 auto;
	margin-bottom: -50px;
/*	padding-bottom: -50px;*/
}

#slide {
	width: 122px;	
	float: left;
}
#slide div.adsense {
	width: 120px;
	border: 1px solid;
	margin-bottom: 1px;
}
#slide div.adsense h2 {
	border-bottom: 1px solid;
	padding:.5ex;
}

#page {
	margin-left: 122px;
	clear: right;
}
#main {
	float: left;
	width: 100%;
	overflow: visible;
}

div.clean {
	clear: both;
	font-size: 1px;
	line-height: 1px;
	height: 0;
	margin: 0;
	padding: 0;
}

#foot {
	height: 35px;
	margin: 10px 0 0 0;
}
#foot p {
	position: absolute;
	height: 30px;
	padding: 5px 0 0 0;
	margin: 0;
	width: 100%;
}

div.box {
	border: 1px solid;
	margin: 1px;
	padding: 1ex;
}
div.box h2.title {
	border-bottom: 1px solid;
	margin: -1ex -1ex 1ex -1ex;
	padding: .5ex 1ex;
}

/* ---- nav ----------------*/
#vnav {
	padding: 0; margin: 0;
	width: 120px;
	list-style: none;
	border-style: solid;	
	border-width: 0 1px 1px 1px;
	margin-bottom:1px;
	line-height: 2.5em;
}
#vnav a {
	display: block;
	border-top: 1px solid;
	text-decoration: none;
}
#vnav a:hover {
	border-top: 1px solid;
}
#home {
	width: 120px;
	border-style: solid;	
	border-width: 1px 1px 0 1px;
	margin: 0;
}
#home a {
	line-height: 1em;
	display: block;
	border: none;
	height: 10px;
	padding: 100px 0 10px 0;
}
#home a:hover {
	border: none;
}

#gnav {
	padding: 0; margin: 0;
	list-style: none;
	height: 50px;
}
#gnav li {

	float: right;
	padding-left: 2px;
	white-space: nowrap;
}
#gnav a {
	display: block;
	border-top: 5px solid;
	padding: 0 .7ex;
	height: 45px;
}
/* ----[ a ]---------------- */
a img {
	border: none;
}
#foot a,
#page a {
	text-decoration: none;
}
#foot a:hover,
#page a:hover {
	border-bottom: 1px solid;
}
#foot a:active,
#page a:active {
	border-bottom: 1px solid;
}

/* ----[ text ]---------------- */

body {
	font-family: verdana, sans-serif;
	font-size: small;
}
#slide div.adsense h2 {
	text-align: center;
	font-size: 90%;
}
#vnav {
	font-family: Tahoma, sans-serif;
	font-weight: bold;
	font-size: 70%;
	text-transform: uppercase;
	text-align: center;
}
#home a {
	font-size: 10px;
	font-weight: normal;
	font-family: Tahoma, sans-serif;
	text-transform: lowercase;
	text-align: center;
	text-decoration: none;
}
#gnav a {
	font-family: Tahoma, sans-serif;
	font-weight: bold;
	text-decoration: none;
}
#foot p {
	font-size: 75%;
	text-align: center;
}
div.box h2.title {
	font-size: 100%;
}
div.info {
	font-size: 80%;
}
ins {
font-style: italic;
text-decoration: none;
}
/* ----[ other ]---------------- */
p, dl, ul, ol, blockquote, hr, form
{
	margin: 1em 0;
}
h1,h2,h3,h4,h5,h6 {
	margin: 1ex 0;
}
ul, ol {
	padding-left: 2em;
}
ul {
	list-style: square;
}
ol {
	list-style: decimal;
}
dl dt {
	margin: 1ex 0;
}
dl dd {
	margin-left: 2em;
}
dl p {
	margin: 0;
}
p.note,
blockquote {
	margin-left: 2em;
	font-style: italic;
	font-family: "Trebuchet MS", serif;
	font-style: italic;
}
code {
	font-size: 100%;
}

pre code
{
	font-size: 10pt;
	display: block;
	background-color: #f7f7f7;
	border: solid #d7d7d7;
	border-width: 1px;
	padding: 1ex;
}
hr {
	height: 1px;
	color: #d7d7d7;
	border-top: 1px solid #d7d7d7;
	border-width: 1px 0 0 0;
}

div.info {
	padding-left: 3em;
}
div.pager {
	text-align: right;
	height: 1em;
}
div.pager div {
	float: left;
}
p.to-forum {
	text-align:right;
font-size: 80%;
}

th {
	border-bottom: 1px solid #d7d7d7;
	text-align: left;
}
td, th {
	padding: 0 0 5px 5px;
}

/* ----[ contact form ]---------------- */
#contact label {
	display: block;
	margin: 1ex 0 1ex 10em;
	position: relative;
}
#contact label span {
	position: absolute;
	left: -10em;
	width: 9em;
	font-weight: bold;
/*	text-align: right;	*/
}
#contact input {
	width: 200px;
	border: 1px solid #d7d7d7;
}
#contact textarea {
	width: 400px;
	height: 200px;
	border: 1px solid #d7d7d7;
	overflow: auto;
}
#contact #send {
	width: 200px;
	font-family: verdana, sans-serif;
	font-weight: bold;
}

/* ----[ colors ]---------------- */
body {
	background-color: #fff;
}
#bgbar {
	background-color: #397e33;
}

#slide div.adsense {
	border-color: #d7d7d7;
}
#slide div.adsense h2 {
	border-color: #d7d7d7;
	background-color: #f7f7f7;
	color: #397e33;
}

#vnav {
	border-color: #d7d7d7;
}
#vnav a {
	color: #696969;
	border-color: #bebebe;
	background: url(/images/3.gif) repeat-x 0 0;
}
#vnav a:hover {
	background: url(/images/3.gif) repeat-x 0 -62px;
	border-color: #93be9a;
	color: #397e33;
}
#home {
	border-color: #d7d7d7;
}
#home a {
	background: #fff url(/images/2.gif) no-repeat 50% 5px;
	color: #bebebe;
}
#home a:hover {
	color: #397e33;
}

#gnav {
	color: #fff;
	background-color: #397e33;
}
#gnav a {
	color: #fff;
	border-color: #fff;
}
#gnav a:hover {
	border-color: #696969;
	background-color: #fff;
	color: #397e33;
}

#foot a,
#page a {
	color: #398f33;
}
#foot a:visited,
#page a:visited {
	color: #2a6c25;
}
#foot a:hover,
#page a:hover {
	border-color: #93be9a;
	background-color: #f4f9f5;
}
#foot a:active,
#page a:active {
	color: #93be9a;
	border-color: #93be9a;
}

#foot {
	background-color: #f7f7f7;
	color: #696969;
}

div.box {
	border-color: #d7d7d7;
}
div.box h2.title {
	border-color: #d7d7d7;
	background-color: #f7f7f7;
	color: #397e33;
}

/* ----[ misc ]---------------- */

div.adsense {
	display: block;
	text-align: center;
font-weight: bold;
color: gray;
margin-top: 1em;
}
div.adsense a:visited,
div.adsense a {
  color: gray;
}
div.adsense a:hover {
  color: black;
}
div.adsense small {
  display: block;
  padding: 1em .5em 1.5em .5em;
}

div#suxx {
text-align: center;
margin: 0 auto;
padding: 10px 0 5px 0;
}

#fn1, #fn2, #fn3, #fn4, #fn5, #fn6, #fn7, #fn8, #fn9, #fn10,
#fn11, #fn12, #fn13, #fn14, #fn15, #fn16, #fn17, #fn18, #fn19, #fn20
{
	font-size: 78%;
}

div.cleaner {
    padding: 0;
    margin: 0;
    font-size: 0;
    height: 1px; /* 4 fire fox */
    line-height: 0;
    visibility: hidden;
    clear: both;
}