* {
	margin: 0;
	padding: 0;
}

.cfx:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }
.cfx { zoom:1; }


img {
	border: 0;
}
body {
	background: url('../images/gradient.gif') repeat-x;
}
#container {
	width: 891px;
	margin: 0 auto;
}
#header {
	width: 100%;
	margin-top:15px;
}
#header_left {
	width: 175px;
	float: left;
	margin-top: 30px;
}
#header_center {
	width: 500px;
	float: left;
	margin-left: 20px;
}

#header_right {
	width: 175px;
	float: right;
	margin-top: 0px;
}
#header_image {
	background: url('../images/header_image.png') no-repeat;
	width: 500px;
	height: 205px;
	margin-top: 30px;
}
#lang {
	float: right;
}
#lang ul {
	list-style: none;
}
#lang li {
	margin-left: 5px;
	float: left;
}
#menu_left {
	float: left;
	position: relative;
}
#menu_right {
	/*float: right;*/
	margin-left: 5px;
	position: relative;
}
#outer_left, #outer_right {
	width: 100%;
	height: 205px;
	overflow: hidden;
	position: relative;
}
#outer_left[id], #outer_right[id] {
	display: table;
	position: static;
}
#middle_left, #middle_right {
	position: absolute;
	top: 50%;
}
#middle_left[id], #middle_right[id] {
	display: table-cell;
	vertical-align: middle;
	position: static;
}
#inner_right {
	position: relative;
	top: -50%;
	border: 1px solid #f0f;
}
#menu_left, #menu_right, #account_menu {
	list-style:none;
	margin-top: -5px;
}

.big_a_href {
	font-size: 15px;
	font-weight: bold;
	text-decoration: underline;
}

a, p, span, div, td, input, select, textarea {
	font-family: Arial, sans-serif;
	font-weight: normal;
}
a {
	font-size: 12px;
	color: #176cad;
	/*color: #cc9900;*/
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
p, span, div, td {
 	font-size: 12px;
	color: #4c4b4b;
}
.label {
	color: #717171;
	width: 250px;
	vertical-align: top;
}
.label2 {
	color: #717171;
	width: 160px;
	vertical-align: top;
}
#menu_left li, #menu_right li, #account_menu li, #menu_left a, #menu_right a, #account_menu a {
	font-size: 14px;
}
#menu_left a, #menu_right a, #account_menu a {
	/*color: #176cad;
	color: #cc9900;*/
	color: #996600;
}
#menu_left a.active, #menu_right a.active, #account_menu a.active {
	color: #4c4b4b;
}
#menu_left li, #menu_right li, #account_menu li {
	margin-top: 5px;
}
#content {
	width: 100%;
	float: left;
}
.clear {
	clear: both;
}
#content_left {
	width: 695px;
	float: left;
}
#content_right {
	width: 145px;
	float: right;
}
h1, h2 {
	font-family: Tahoma, sans-serif;
	/*color: #4c4b4b;*/
	color: #717171;
	margin-top: 10px;
	margin-bottom: 8px;
	clear: both;
}
h1 {
	font-size: 17px;
	font-weight: normal;
}
h2 {
	font-size: 12px;
}
#h_registration a {
	font-family: Tahoma, sans-serif;
	font-size: 14px;
	font-weight: normal;
	color: #cb4832;
}
.red {
	font-size: 14px;
	color: #cb4832;
}
#h_registration img, .popular img, .popular2 img, .actions img, .actions4 img {
	margin-right: 5px;
}
.actions {
	margin-top: 15px;
	line-height: 1.0;
}
.actions div {
	margin-top: 5px;
}
.star {
	font-size: 14px;
	color: #f00;
}
#icon {
	text-align: center;
}
#icon img {
	margin: 3px 0;
}
.h_contacts {
	/*margin-bottom: 5px;*/
}
.h_popular {
	margin-bottom: -2px;
}
p, #inner_left, #copyright {
	line-height: 1.4;
}
.news, .note, .popular, .popular2 {
	margin-top: 10px;
}
.date, #date2 {
	color: #a3a2a2;
}
#name {
	font-size: 14px;
}
#content_left2 {
	width: 352px;
	float: left;
}
#content_right2 {
	width: 342px;
	float: right;
}
#content_sc {
    margin-top: 50px;
}
.popular, .popular2 {
	font-size: 12px;
	float: left;
	margin-left: -10px;
}
.popular {
	width: 100%;
}
.popular2 {
	width: 705px;
}
.popular div, .popular2 div {
	width: 166px;
	float: left;
	padding-left: 10px;
}
.photo img {
	margin-bottom: 3px;
}
.few {
	margin-bottom: 5px;
}
.sex {
	margin: 0 5px;
}
#login div {
	padding-top: 10px;
}
#login {
	/*height: 170px;*/
	text-align: center;
	/*line-height: 1.0;*/
}
#login img {
	margin: 0;
	padding: 0;
}
#inner_left label{
	position: relative;
	display: block;
	float: left;
}
.email, .password {
	width: 122px;
	position: relative;
	float: right;
	border: 1px solid #7f9db9;
}
.sendemail {
	width: 122px;
	border: 1px solid #7f9db9;
}
.sendemailtable {
	width: 350px;
}
.sendemaillink {
	cursor: pointer;
}
ul.nNav {
	position: relative;
	font-size: 11px;
	list-style: none;
	float: right;
}
.nNav li {
	float: left;
	display: inline;
	margin-left: 5px;
	text-align: center;
}
#footer {
	width: 100%;
	height: 60px;
	float: left;
	margin-top: 60px;
}
#copyright {
	width: 175px;
	float: left;
}
#banners {
	text-align: center;
	width: 510px;
	float: left;
	margin-left: 30px;
}
#banners img {
	margin-right: 10px;
}
#links {
	width: 175px;
	float: right;
	line-height: 1.0;
}
#links a {
	font-size: 11px;
	color: #a3a2a2;
	text-decoration: none;
}
#account_left {
	width: 175px;
	float: left;
}
#account_right , #shop_right {
	width: 695px;
	float: right;
}
.goods-row {
	margin-top: 10px;
}
#shop_right {
	padding-top: 28px;
	/*border: 1px solid #f0f;*/
}
#profile_left {
	width: 210px;
	float: left;
}
#profile_right {
	width: 475px;
	float: right;
}
.few_friends {
	text-align: center;
	line-height: 1.0;
	width: 60px;
	float: left;
	margin-right: 10px;
}
.few_friends a {
	font-size: 11px;
}
.few_friends .surname {
	font-size: 10px;
}
.few {
	width: 100%;
	margin-top: 10px;
}
.few p {
	width: 200px;
}
.primary, .new_comment {
	width: 100%;
}
input.text, select, textarea, .age {
	font-size: 12px;
	width: 250px;
	border: 1px solid #7f9db9;
}
textarea {
	height: 70px;
}
select {
	width: 252px;
}
input:focus, textarea:focus, select:focus {
	background-color: #f7f7f7;
}
.birthday {
	width: 82px;
}
.age {
	width: 25px;
}
.top5px {
	margin-top: 5px;
}
.profile, .messages {
	margin-top: -5px;
}
.friends {
	margin-top: -10px;
}
.profile td, .messages td {
	padding-top: 5px;
}
input.upload {
	margin: 5px 0;
	width: 200px;
}
.button {
	margin: 5px 0 5px -5px;
	text-align: left;
}
.button input{
	margin-left: 5px;
}
.h_options {
	margin-bottom: -12px;
}
table {
	width: 100%;
	border-spacing: 0;
}
.friends td, .books td {
	padding-top: 10px;
}
.actions2 a {
	margin-bottom: 5px;
	display: block;
}
.actions3 {
	/*margin-top: 5px;*/
}
.tab {
	list-style: none;
	margin-bottom: 20px;
	float: left;
}
.tab li {
	float: left;
	display: block;
	padding: 4px 4px;
	margin-right: 5px;
	background-color: #f7f7f7;
}
#h_upload_photo {
	margin-top: 0;
}
.user_picture_a {
	text-align: center;
	width: 200px;
}
table td {
	vertical-align: top;
}
.top3px {
	margin-top: 3px;
}
.new_comment textarea {
	width: 340px;
	height: 200px;
}
.new_comment .text {
	width: 340px;
}
.photos2 {
	width: 410px;
}
.logo {
	margin-bottom: 5px;
}
.upload2 {
	margin-top: 5px;
	margin-bottom: 5px;
}
.messages td {
	vertical-align: middle;
	padding-left: 5px;
}
.friends td, .books td {
	padding-left: 5px;
}
td.first_col {
	padding-left: 0px;
}
h3 {
	margin-top: 2px;
	color: #717171;
	line-height: 1.0;
}
h3, h3 a {
	font-family: Tahoma, sans-serif;
	font-size: 14px;
	font-weight: normal;
	/*color: #996600;*/
}
h3.subject, .library h3 {
	margin-top: 0;
}
.news2 #full_text {
	width: 575px;
	float: left;
}
.news2 #images {
	width: 100px;
	float: right;
}
.news2 #images img {
	margin-bottom: 10px;
}
.gallery {
	margin-top: -10px;
}
.row, .library {
	margin-left: -10px;
	margin-top: 10px;
	float: left;
}
.thumb, .library div {
	width: 130px;
	float: left;
	margin-left: 10px;
}
.books div {
	float: right;
	margin-left: 5px;
}
.actions4 {
	margin-bottom: 20px;
	margin-left: -15px;
	line-height: 2.0;
}
.actions4 img {
	margin-left: 15px;
}
#menu td {
	/*vertical-align: middle;*/
}
#box {
	position: absolute;
	display: none;
}
#box2 {
	position: absolute;
	background-color: #f7f7f7;
	padding: 30px 30px 0;
	text-align: center;
}
#close {
	margin-top:5px;
	height: 25px;
}
#pagination {
	margin-top:20px;
	margin-left: -8px;
}
#pagination div {
	margin-left: 5px;
	padding: 0 3px;
	height: 15px;
	float: left;
	/*border: 1px solid #a3a2a2;*/
}
#h_news {
	margin-bottom: -2px;
}
#h_news2 {
	font-weight: bold;
	margin-bottom: 15px;
}
#date2 {
	margin-top: -15px;
	margin-bottom: 15px;
}
.author {
	margin-bottom: 5px
}
.links img {
	margin-top: 5px;
}
.chat .text {
	width: 605px;
}
.chat table td {
	vertical-align: middle;
}
.chat input {
	vertical-align: middle;
}
#messages, #users {
	height: 300px;
	overflow-y: auto;
}
#messages {
	padding: 5px;
	margin-bottom: 20px;
	border-left: 1px solid #717171;
}
#messages p {
	margin-top: 5px;
}
#users .sex {
	margin-left: 0;
}
#help {
	margin-top: 20px;
}
.email_l {
	font-size: 11px;
}
.online {
	color: #83c124;
}
#meet_photos {
	float: left;
	width: 100%;
	margin-top: 10px;
	margin-bottom: 20px;
}
.result {
	/*margin-bottom: 20px;*/
}
.result p {
	font-size: 12px;
}
#welcome_text a {
	color: #4c4b4b;
}
#welcome_text a:hover {
	text-decoration: none;
}
#footlnk {
	font-size: 10px;
	color: #000;
	text-decoration: none;
}

#footlnk a{
	font-size: 10px;
	color: #000;
	text-decoration: none;
}

td.comments_yellow { padding:10px 10px 10px 0px; }

.div_fulltext {
	background:#f7fff7;
	border:1px solid #ddffdd;
	padding:10px 10px 10px 10px;
	color: #00aa00;
}
.div_fulltext_title {
	background:#e1ffed;
	border:1px solid #ddffdd;
	padding:2px 2px 2px 2px;
	font-size: 12px;
	color: #00aa00;
	font-weight:bold;
	text-decoration: none;
}
.div_search {
	background:#f7f7f7;
	border:1px solid #dddddd;
	padding:10px 10px 10px 10px;
}
.div_search_title {
	background:#e1e7ed;
	border:1px solid #dddddd;
	padding:2px 2px 2px 2px;
	font-size: 12px;
	color: #0000aa;
	font-weight:bold;
	text-decoration: none;
}
.div_error {
	background:#fff7f7;
	border:1px solid #ffdddd;
	padding:10px 10px 10px 10px;
	color: #ff0000;
}
.div_error_title {
	background:#ffe7ed;
	border:1px solid #ffdddd;
	padding:2px 2px 2px 2px;
	font-size: 12px;
	color: #aa0000;
	font-weight:bold;
	text-decoration: none;
}

div.pilgrimages_last {
	margin: 40px 0 0;
}
div.pilgrimages_last img {
	float: left;
	margin: 5px;
}
div.pilgrimages_last span {
	color: #A3A2A2;
}
