* {
	padding:0;
	margin:0;
}

html {
	height:100%;
	background:#F1FEFE url("../images/top_bg.gif") repeat-x top;
}

body {
	position:relative;
	min-height:100%;
	background:url("../images/bottom_bg.gif") repeat-x bottom;
	color:#959595;
	font:0.7em Verdana;
	min-width:1000px;
}

/* Основные элементы */

a {
	color:#51A3C2;
	text-decoration:none;
}

a:hover {
	text-decoration:underline;
}

img {
	border:0;
}

h1 {
	color:#85C60A;
	font-weight:normal;
	font:1.6em Verdana;
	border-bottom:1px solid #ccc;
	margin-bottom:2px;
	padding-bottom:2px;
}

h2 {
	color:#00BFF3;
	font:1.6em Arial;
	font-weight:normal;
	overflow:hidden;
	padding:30px 0 0 5px;
	height:34px;
	line-height:34px;
}

h3 {
	color:#00BFF3;
	font:1.6em Arial;
	font-weight:normal;
	overflow:hidden;
	padding:0 0 0 5px;
	height:34px;
	line-height:34px;
}

h4 {
	color:#00BFF3;
	font:1.6em Arial;
	font-weight:normal;
	overflow:hidden;
	padding:0 0 0 100px;
	height:20px;
	line-height:20px;
}

.titleblock  {
	border-top: 1px solid #DFDFDF;
	border-right: 1px solid #DFDFDF;
	border-bottom: 4px solid #DFDFDF;
	border-left: 1px solid #DFDFDF;
	background: url(http://gods-sex.com/templates/1/images/title_rvf.jpg) repeat;
	text-indent: 12px;
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #757575;
}
.blocdown  {
	font: bold 11px Arial, Helvetica, sans-serif;
	color: #757575;
}
.news  {
	padding: 12px;
	font: 11px Arial, Helvetica, sans-serif;
	text-align: justify;
	color: #FFFFFF;
	border-right: 1px solid #DFDFDF;
	border-bottom: 4px solid #DFDFDF;
	border-left: 1px solid #DFDFDF;
}

/* Элементы форм */

.textbox {
	border:1px solid #ccc;
	background:#fff;
}

.button {
	color:#fff;
	font:1em Verdana;
	background:#5CB2E0;
	border:1px solid #88C8E9;
	padding:0 3px;
}

/* Структура */

#wrapper {
	padding-bottom:50px;
	min-width:1000px;
}

#container {
	width:100%;
	float:left;
	margin-right:-216px;
}

#content {
	margin-right:216px;
	margin-top:-30px;
}

/* Верх сайта */

#top {
	padding:0 25px;
	height:37px;
}

#top form {
	padding-top:10px;
	height:27px;
	background:url("../images/authorization.gif") no-repeat left;
	padding-left:30px;
}

#top label {
	margin-left:10px;
}

#top p {
	padding:5px 15px 0 0;
	float:right;
}

#top p a {
	background:url("../images/cross.gif") no-repeat left;
	padding-left:12px;
}

#top .textbox {
	width:100px;
}

#top table {
	margin-top:4px;
}

#top table td {
	padding-right:30px;
}

/* Верхнее меню */

#top li {
	float:right;
	list-style:none;
	padding:0 10px 0 11px;
	border-right:2px solid #636363;
	margin-right:-1px;
	margin-top:10px;
}

#top li a {
	font-size:1.1em;
	color:#636363;
	font-weight:bold;
}

#top .noborder {
	border:none;
}

/* Шапка */

#header {
	background:url("../images/bg.jpg") repeat-x bottom;
}

#header .inside2 {
	background:url("../images/header_left.jpg") no-repeat left;
	height:160px;
	zoom:1;
}

.logo {
	position:absolute;
	top:42px;
	left:4px;
}

.slogan {
	position:absolute;
	top:90px;
	left:285px;
}

/* Боковые блоки */

.block1 {
	background:url("../images/block1.gif") no-repeat bottom;
}

.block1 img {
	float:left;
}

.block2 {
	padding-bottom:8px;
	background:url("../images/block2.gif") no-repeat bottom;
	margin-bottom:10px;
}

.block3 {
	background:#fff;
	padding:5px 15px;
}

.center {
	text-align:center;
}

.center img {
	margin-bottom:5px;
}

/* Боковое меню */

#menu {
	margin:0 -15px;
	list-style:none;
}

#menu li {
	background:none;
}

#menu li a {
	color:#959595;
	font-size:1.1em;
	font-weight:bold;
	display:block;
	padding:0 30px;
	line-height:2em;
	zoom:1;
}

#sidebar #menu li a {
	background:none;
}

#sidebar #menu li a:hover, #sidebar #menu li .current {
	background:#00BFF3;
	color:#fff;
	text-decoration:none;
}

/* Цетральная колонка */

#main {
	padding:30px 20px 0;
}

.date {
	float:right;
	background:#fff;
	height:24px;
	line-height:24px;
	color:#88B536;
	font-size:1.2em;
	font-weight:bold;
	padding:0 5px;
}

.postfooter {
	margin-bottom:10px;
}

.user a {
	color:#F26C4F;
}

.news  {
	padding: 12px;
	font: 11px Arial, Helvetica, sans-serif;
	text-align: justify;
	color: #333;
	border-right: 1px solid #DFDFDF;
	border-bottom: 4px solid #DFDFDF;
	border-left: 1px solid #DFDFDF;
}

.news img {
	margin:0 5px;
}

.bottomanchor {
	margin:10px 0;
	border-bottom:3px solid #BBE6F7;
	padding-bottom:10px;
}

.bottomanchor a {
	color:#127893;
	font-size:1.2em;
	font-weight:bold;
	margin-left:30px;
	text-decoration:underline;
}

.bottomanchor a:hover {
	text-decoration:none;
}

/* Правая колонка */

#sidebar {
	width:212px;
	float:right;
	margin-right:4px !important;
	margin-right:2px;
	margin-top:-20px;
}

#sidebar li {
	list-style:none;
}

#sidebar li a {
	color:#7d7d7d;
	background:url("../images/arrow.gif") no-repeat left top;
	padding-left:10px;
}

/* Подвал сайта */

#footer {
	position:absolute;
	bottom:0;
	width:100%;
	height:45px;
	background:url("../images/footer.gif") repeat-x bottom;
	min-width:1000px;
	text-align:center;
}

#footer p {
	float:right;
	width:200px;
	text-align:left;
	color:#004A80;
	font-size:1.2em;
	margin-top:6px;
}

#footer a {
	font-weight:bold;
	color:#004A80;
}

#footer ul {
	margin:15px 0 0 200px;
}

#footer li {
	list-style:none;
	border-right:1px solid #fff;
	display:inline;
	padding:0 10px;
}

#footer .noborder {
	border:none;
}

#footer li a {
	color:#fff;
	font-weight:bold;
	font-size:1.2em;
}

/* Дополнительные классы */

.clearer {
	clear:both;
	font-size:0px;
	overflow:hidden;
}

/* Добавление комментариев */

.addcomment {
	width:462px;
	border-collapse:separate;
	margin-bottom:10px;
	vertical-align:top;
	text-align:left;
}

.addcomment th {
	padding:4px;
	background:#3FB8E4;
	color:#fff;
	text-align:center;
}

.addcomment textarea {
	width:99%;
	border:none;
	height:100px;
}

.textform {
	border:1px solid #ddd;
	background:#fff;
}

.commentform {
	line-height:25px;
	width:24%;
}

.center {
	text-align:center;
	width:100%;
}

.center .addcomment {
	margin:0 auto 5px;
	border:1px solid #ccc;
}

/* Стили для комментариев */

.answer {
	width:99%;
	margin:10px 0;
	border-collapse:separate;
}

.answer td {
	padding:0;
}

.answer th {
	background:#3FB8E4;
	color:#fff;
	font-weight:normal;
	padding:4px;
	text-align:left;
}

.answer th a {
	color:#fff;
	text-decoration:underline;
	font-weight:bold;
}

.answer .comment_user_info {
	background:#eee;
	width:20%;
	padding:5px;
	font-size:0.9em;
	vertical-align:top;
}

.answer .user_comment {
	background:#f9f9f9;
	padding:5px 10px;
	vertical-align:top;
}

.comment_bottom td {
	background:#3FB8E4;
	padding:3px 5px;
	color:#fff;
	font-size:0.9em;
}

.comment_bottom td a {
	color:#fff;
	text-decoration:underline;
}

.comment_bottom td a:hover {
	text-decoration:none;
}

/* Добавление новости */

.addnews {
	width:99%;
}

.addnews td {
	padding:3px;
}

.addnews textarea {
	width:100%;
	height:100px;
}

.addnews .textbox {
	width:200px;
}

/* Обратная связь */

.feedback {
	width:99%;
}

.feedback td {
	padding:3px;
}

.feedback textarea {
	width:100%;
	height:100px;
}

/* Восстановление забытого пароля */

.lostpassword td {
	padding:3px;
}

/* Персональные сообщения */

.pm {
	width:95%;
	border-collapse:separate;
}

.pm td {
	padding:3px;
}

.pm textarea {
	width:100%;
	border:0;
	height:100px;
}

/* Регистрация */

.registration td{
	padding:5px;
}

.registration .button1 {
	margin-bottom:0;
}

.registration .textbox {
	width:150px;
}

/* Информация о пользователе */

.userinfo {
	width:99%;
	margin-bottom:10px;
}

.userinfo td {
	padding:3px;
	vertical-align:top;
}

.userinfo textarea {
	width:100%;
	height:80px;
}

.userinfo .textbox {
	width:200px;
}

/* Статистика */

.stats {
	width:99%;
	border-collapse:separate;
	margin-bottom:10px;
}

.stats td {
	vertical-align:top;
	padding:3px;
}

/* Класс для других новостей */ 

.other ul {
	margin-left:30px;
}

/* Рейтинг */

.rating {
	float:right;
	margin-top:6px;
}