/* Common */
html, body {
    height: 100%;
	margin: 0; padding: 0;
	color: #333;
}

a { color: #0033CC; }
table { border: none; border-collapse: collapse; }
tr, th, td { margin: 0; padding: 0; }

hr {
	border-style: solid;
	border-color: #515151;
	border-width: 0 0 1px 0;
}

h2 { margin: 1em; }
h3, h4 { margin: 1em 0; }

/* Menu */
#main-menu {
	width: 100%;
	height: 40px;
	background: url(menu_bgr.gif) repeat-x #646464;
}

#main-menu th { width: 50px; font: 90% Arial, Sans-serif; }
#main-menu th a { color: #FFF; text-decoration: none; padding: 3px 5px; }
#main-menu th a:hover { color: #f4b30d; }
#main-menu th a.glamour { color: #FF9; }
#main-menu th a.glamour:hover { color: #FF3; }
#main-menu th span.link { color: #FFF; text-decoration: none; padding: 3px 5px; cursor: pointer; }
#main-menu th span.link:hover { color: #f4b30d; }
#main-menu td { width: 10%; }

span.link {
	color: #0033CC;
	text-decoration: underline;
	cursor: pointer;
}

/* Advertisements */
#ad-canvas {
	background: url(ads/canvas.png) repeat-x 0 100% #d6d6d6;
}
.ad-content {
	display: block;
	height: 60px;
	font: 24px/59px Arial, sans-serif;
	color: #333;
	text-align: center;
	text-decoration: none;
}

/* Chatcity */
#right {
	width: 100%;
	height: 100%;
	background-image: url("http://www.chat30.ru/bg.jpg");
}

#logo {
	height: 150px;
	text-align: center;
}

td.h-news {
	text-align: center;
	font-family: sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #333;
	background-color: #CCC;
	padding: 2px;
}

td.news {
	padding: 5px;
	padding-bottom: 15px;
	font-size: 12px;
	font-family: sans-serif;
	vertical-align: top;
	height: 100%;
}

table.t-news { width: 100%; }
table.t-news td { text-align: center; font-size: 12px; padding: 5px; }

td#copyright {
	height: 12px;
	text-align: center;
	font-family: sans-serif;
	font-size: 12px;
}

#chatcity {
	height: 0px;
	font-size: 1px;
	visibility: hidden;
}

#google-f {
	text-align: center;
}

td.counter {
	padding: 0;
	margin: 0;
	text-align: center;
	vertical-align: middle;
}

td.counter ul {
	list-style-type: none;
	margin: 0; padding: 0;
}

td.counter li {
	padding: 5px 0;
}

acronym {
	cursor: help;
}

* {
    margin: 0;
    padding: 0;
}

img { border: none; }

#forum-last-comment {
    background: #999;
    height: 36px;
    font-family: Sans-Serif;
    font-size: 12px;
    overflow: hidden;
}
.forum-last-l,
.forum-last-r,
.forum-last-bgr {
	background: url(forum-last.gif) no-repeat;
}
.forum-last-l {
	position: relative; top: 5px;
	margin: 0 10px;
	background-position: 0 -40px;
	background-color: #e5e5e5;
}
.forum-last-r {
	background-position: 100% -80px;
}
.forum-last-bgr {
	background-repeat: repeat-x;
	height: 26px;
	margin: 0 10px;
	line-height: 26px;
	overflow: hidden;
}
#forum-last-comment .arrow {
	font-size: 14px;
}

#forum-last-comment a.forum-user-link { }
#forum-last-comment a.forum-topic-link { }
#forum-username {font-weight: bold;}

#forum-post-text {
	color: #333;
	text-decoration: none;
}
#forum-post-text:focus {
	outline:none;
}

p { margin: 1em 0; }

/* Pages */
#page-all {
	min-width: 1000px;
    min-height: 100%;
    margin-bottom: -30px;
	background: url(bg.jpg) repeat;
}

* html #page-all {
    height: 100%;
}

#page-empty {
    height: 100px;
    clear: both;
}

#page-header {
    height: 50px;
    padding-left: 25px;
    line-height: 50px;
    font-size: x-large;
}

#page-content {
    margin: 0 20%;
    padding: 70px 0 20px;
}

#page-left {
	width: 210px;
	margin: 70px 0px 20px 40px;
	float: left;
}

#page-center {
	margin: 0 270px 0 250px;
	padding: 70px 0 20px;
}

#page-center h3 { margin: 10px 0; }
#page-center h3 a { color: #333; text-decoration: none; }
#page-center h3 a:hover { color: #03C; text-decoration: underline; }
#page-center img.help { padding: 20px; }

#page-right {
	width: 230px;
	margin: 70px 0px 20px 20px;
	float: right;
}

#page-footer {
    height: 30px;
    line-height: 30px;
    padding: 0 15px;
    color: #FFF;
	background-color: #515151;
	font-family: sans-serif;
	font-size: 12px;
}

#page-footer a { color: #FFF; text-decoration: none; }
#page-footer a:hover { color: #f4b30d; }

div#copyright {
	float: right;
	text-align: right;
}

/* Lists */
ul.links { padding: 0; font-size: 11px; font-family: sans-serif; }
ul.links li { margin: 0 20px 8px 20px; list-style-type: none; }
ul.links li.active-link { font-weight: bold; }

ul#users li { padding-left: 18px; margin-left: 0; }
ul#users li.userinfo { background: url(user.gif) no-repeat 0 2px; }
ul#users li.userinfo span {
	color: #0033CC;
	text-decoration: underline;
	cursor: pointer;
}

ol.users { padding: 0 50px; }
ol.users li { padding: 0.5em; }
ol.users li span {
	color: #0033CC;
	text-decoration: underline;
	cursor: pointer;
}

ol.rules { counter-reset: list; }
ol.rules li { list-style-type: none; padding: 5px; }
ol.rules li:before { counter-increment: list; }

ol.r1 li:before { content: "1." counter(list) ". "; }
ol.r2 li:before { content: "2." counter(list) ". "; }
ol.r3 li:before { content: "3." counter(list) ". "; }
ol.r4 li:before { content: "4." counter(list) ". "; }
ol.r5 li:before { content: "5." counter(list) ". "; }

#login {
  position: relative;
  color: #000;
  margin: 2em auto 2em;
  width: 425px;
  text-align: left;
}

#login form {
	padding: 0 50px 0;
}

#login p {
	font-family: sans-serif;
	font-size: 12px;
}

#login input {
	padding: 4px;
}
#login .input {
	font-size: 1.8em;
	margin-top: 3px;
	width: 97%;
}
#login p label { 
	font-size: 11px;
}

#login #submit {
	margin: 0;
	font-size: 15px;
}

form, label input {
	margin: 0;
	padding: 0;
}

input {
	background: #fff;
	border: 1px solid #686868;
}

li.topic-link {
	padding: 2px;
	font-size: 10px;
}

.submit input, .submit input:focus {
	border: 3px double #999;
	border-left-color: #ccc;
	border-top-color: #ccc;
	color: #333;
	padding: 0.25em;
}

.submit input:active {
	background: #f4f4f4;
	border: 3px double #ccc;
	border-left-color: #999;
	border-top-color: #999;
}

.submit {
	text-align: right;
}

.loginsubmit input, .loginsubmit input:focus {
	font-size: 15px;
	border: 3px double #999;
	border-left-color: #ccc;
	border-top-color: #ccc;
	color: #333;
	padding: 0.25em;
}

.loginsubmit input:active {
	font-size: 15px;
	background: #f4f4f4;
	border: 3px double #ccc;
	border-left-color: #999;
	border-top-color: #999;
}

/* Gallery */
#gallery { padding-top: 20px; overflow: hidden; }

#gallery table {
    text-align: center;
	float: left;
	width: 160px; height: 160px;
	margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

#foto { text-align: center; padding-top: 100px; }

/* SAPE */
.sape {
	color: #666;
	font-size: 10px;
	font-family: Sans-Serif;
	list-style-type: none;
	margin: 2em 0;
}

.sape li {
	padding-bottom: 10px;
}

#sape-left {
	padding-right: 30px;
}

#sape-right {
	padding-left: 20px;
	padding-right: 10px;
}

span.sl {
    color: #0033CC;
    cursor: pointer;
    text-decoration: underline;
}

div#buttons {
	text-align: center;
	padding-top: 20px;
	opacity: 0.5;
}

div#buttons ul {
	list-style-type: none;
	margin: 0; padding: 0;
}

div#buttons li {
	padding-bottom: 10px;
}

table#ratings {
	opacity: 0.5;
	text-align: center;
	width: 100%;
}

/* Calendar */
#calendar {
	margin: 0 0 20px;
}
#calendar h3 {
	margin: 20px 0 10px;
}
#calendar div {
	cursor: default;
}
#calendar div.hidden ul {
	display: none;
}
#calendar div.hidden h6 {
	cursor: pointer;
	border: 1px solid #999;
	font-weight: normal;
	margin: 0 0 2px;
}
#calendar h6 {
	width: 140px;
	margin: 0; padding: 3px 0;
	font: bold 11px, Tahoma, sans-serif;
	text-align: center;
	
}
#calendar ul {
	width: 142px; overflow: hidden;
	margin: 0;
	padding: 0 0 5px;
	list-style: none;
	font: 11px Tahoma, sans-serif;
}
#calendar li {
	float: left;
	width: 20px; height: 18px;
	text-align: center;
	line-height: 18px;
	color: #666;
}
#calendar a {
	cursor: pointer;
}

/* Table of content */
#table-of-content {
	padding: 10px 0 0 30px;
}

#table-of-content li {
	padding: 5px 0;
}

/* Timeline */
#timeline {
	width: 100%; overflow: hidden;
	margin: 10px 0 20px;
}
#timeline ul {
	width: 500px; height: 32px;
	margin: 0; padding: 0;
	list-style: none;
}
#timeline li {
	float: left;
	width: 20px;
}
#timeline li.first,
#timeline li.last {
	width: 21px;
}
#timeline li * {
	display: block;
	height: 32px; overflow: hidden;
	background: url(timeline.gif) no-repeat;
	line-height: 100px;
}
#timeline li.first * {
	background-image: url(timeline_left.gif);
}
#timeline li.last * {
	background-image: url(timeline_right.gif);
}
#timeline li a {
	background-position: 0 -50px;
	cursor: pointer;
}
#timeline li a:hover {
	background-position: 0 -100px;
}
#timeline strong {
	background-position: 0 -150px;
}
#timeline p {
	float: left;
	width: 120px; margin: 0;
	font: 11px Tahoma, sans-serif;
	color: #666; text-align: center;
}

/* Visitors */
#all-visitors {
	margin: 10px 0 20px 0;
	font-size: 110%; line-height: 1.4em;
	cursor: default;
}
#all-visitors a {
	margin-right: 5px;
	cursor: pointer;
	text-decoration: none;
	color: #333;
}
#all-visitors a:hover {
	color: #0033CC;
	text-decoration: underline;
}

/* Google */
#sbi {
	font-size: 24px;
}

#sbb {
	font-size: 24px;
}

/* Loveplanet */
div#loveplanet { margin-right: 50px; text-align: center; }
div#loveplanet div { padding: 10px 0 5px 5px; }

/* Registration */
input#commit-reg { margin-right: 10px; }
p#begin-reg { visibility: hidden; }


