/* Layout
 ------------ */
* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
	margin-bottom: 1px;
}
body {
	font-size: 10px;
	background: #0e6e94 url('http://www.kazanlife.com/images/fon.png');
	margin:0;
	font-family: "Tahoma", Verdana, Helvetica, Arial, sans-serif;
	color: #ffffff;
}
img { border: none; }
a img { border:none; }

a:link, a:visited {
	text-decoration: none;
	color: #0e6e94;
}
a:hover {
	color: #06637d;
	text-decoration: none;
}

#wrapper {
	width: 985px;
	margin: 50px auto 0px;
	color: #505050;
}

#content {
	float: left;
	width: 985px;
	min-height: 300px;
	background-color: #F2F2F2;
	border: 1px solid #c2c2c2;
	padding-bottom: 20px;
}

#header {
	float: left;
	width: 985px;
	height: 90px;
}
#logo {
	float: left;
	width: 300px;
	min-height: 67px;
	margin: 15px 0px 0 35px;
}
#ads {
	float: right;
	width: 468px;
	height: 60px;
	margin: 15px 20px 0px 0px;
}

#menu {
        float: left;
        width: 945px;
        height: 29px;
        margin: 0px 20px 0px 20px;
        background-color: #000;
	overflow: hidden;
}
#navbarleft {
	width: 700px;
	float: left;
	margin: 0px;
}
	
#navbarright {
	width: 245px;
	float: right;
	margin: 0px;
}
#search_area {
        margin: 5px 15px 0 0px;
        float: right;
        width: 220px;
        height: 25px;
}
#search_form {
        float: left;
        display: block;
        margin-left: 30px;
}
#s {
        border: 1px solid #e6e6e6;
        float: left;
        margin: 4px 0px 0px 0px;
        padding: 2px 3px 0px 30px;
        width: 170px;
        height: 17px;
        outline: 0;
        color:#666;
        font-size:14px;
        font-weight: bold;
        background: #fff url(http://www.kazanlife.com/images/search.png) no-repeat 3px 2px;
}

#main_menu {
	float: left;
}
#main_menu ul {
	float: left;
	margin: 1px 0px 0px 8px;
	padding: 0px;
	list-style-type: none;
}
#main_menu ul li {
	float: left;
	font-size: 11px;
	color: #dee8f6;
	display: inline;
	margin: 0px;
	padding: 0px;
}
#main_menu li a {
	text-align: center;
	padding: 1px 12px 0px;
	color:#FFFFFF;
	text-decoration: none;
	text-transform: uppercase;
	display: block;
	height: 26px;
	line-height: 25px;
	float: left;
	font-weight: bold;
	margin: 0px 2px 0px 2px;
}
#main_menu li a:hover {
	background-color: #226ba2;
	color: #FFFFFF;
}

#wrapcentre {
	margin: 15px 20px 0 20px;
}

.forumrules {
	background-color: #F9CC79;
	border: 1px solid #BB9860;
	padding: 4px;
	font: normal 1.1em "Tahoma", Verdana, Arial, Helvetica, sans-serif;
}
.forumrules h3 {
	color: red;
}
#poll { }
#postrow { }
#postdata { }
/*  Text
 --------------------- */
h1 {
	color: 4D4D4D;
	font: bold 1.8em "Tahoma", "Trebuchet MS", Verdana, sans-serif;
	text-decoration: none;
}

h2 {
	font: bold 1.5em Arial, Helvetica, sans-serif;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font: bold 1.3em Arial, Helvetica, sans-serif;
	line-height: 120%;
}

h4 {
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0;
	float: left;
	color: 4D4D4D;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.breadcrumbs {
	margin: 0;
	float: left;
	color: 4D4D4D;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}

.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
	margin-bottom:5px;
} 

p.searchbarreg {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding: 4px 10px;
}

p.topicauthor {
	margin: 1px 0;
}

p.topicdetails {
	margin: 1px 0;
}

.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
	margin: 1px 0;
	color: red;
	font-weight:bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
	color: green;
	font-weight:bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
}

.postauthor {
	color: #4D4D4D;
	font-size: 13px;
}

.postdetails {
	color: #4D4D4D;
}

.postbody {
	font-size: 1.3em;
	line-height: 1.4em;
	font-family: "Tahoma", "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	background-color: yellow;
}

.pagination {
	padding: 4px;
	color: 4D4D4D;
	font-size: 1em;
	font-weight: bold;
}

.cattitle {

}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.titles {
	font: 1.3em bold "Tahoma", Helvetica, Arial, sans-serif;
	text-decoration: none;
}

a.titles:link { color: #4D4D4D }
a.titles:visited { color: #4D4D4D }
a.titles:hover { color: #4388AE }
a.titles:active { color: #4D4D4D }


.error {
	color: red;
}


/* Tables
 ------------ */
th {
	height: 23px; 
	color: #4D4D4D;
	font-size: 10px;
	font-weight : bold; 
	background-color: #E7F1F6;
	white-space: nowrap;
	padding: 0px 10px 0px 10px;

}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}

.tablebg {
	background-color: #c2c2c2;
}

.cat {
	height: 28px;
	margin: 0;
	padding: 0;
	background-color: #DAE9F1; border-top: 1px #f5fafd solid; border-left: 1px #f5fafd solid;
	text-indent: 4px;
}

.row	{ background-color: #E7F1F6; border-top: 1px #f5fafd solid; border-left: 1px #f5fafd solid; padding:6px 6px 6px 20px }

.row1	{ background-color: #DAE9F1; border-top: 1px #f5fafd solid; border-left: 1px #f5fafd solid; padding:6px }

.row2	{ background-color: #E7F1F6; border-top: 1px #f5fafd solid; border-left: 1px #f5fafd solid; padding:6px }

.row3	{ background-color: #EFF7FB; border-top: 1px #f5fafd solid; border-left: 1px #f5fafd solid; padding:6px }


.spacer {
	background-color: #9CC8E0;
}

hr {
	height: 1px;
	border-width: 0;
	background-color: #D1D7DC;
	color: #D1D7DC;
}

.legend {
	text-align:center;
	margin: 0 auto;
	background-color: #9CC8E0;
}

/* Links
 ------------ */

a.forumlink {
	color: #4D4D4D;
	font-weight: bold;
	font-family: "Tahoma", Helvetica, Arial, sans-serif;
	font-size: 1.4em;
}
a.forumlink:visited { color: #4D4D4D }
a.forumlink:hover { color: #4388AE }
a.forumlink:active { color: #4D4D4D }

a.topictitle {
	color: #4D4D4D;
	margin: 1px 0;
	font-family: "Tahoma", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}

a.topictitle:visited { color: #4D4D4D }
a.topictitle:hover { color: #4388AE }
a.topictitle:active { color: #4D4D4D }

th a,
th a:visited {
	color: #4D4D4D !important;
	text-decoration: none;
}

th a:hover {
	color: #4388AE;
	text-decoration: none;
}


/* Form Elements
 ------------ */
form {
	margin: 0;
	padding: 0;
	border: 0;
}

option {
	padding: 0 1em 0 0;
}

option.disabled-option {
	color: 505050;
}

.rtl option {
	padding: 0 0 0 1em;
}

input.radio {
	border: none;
	background-color: transparent;
}

.post {
	background-color: white;
	font-size:13px;
	border: 1px solid #c2c2c2;
}

.btnbbcode {
	color: #4D4D4D;
	font: 1.1em normal "Tahoma", Verdana, Helvetica, sans-serif;
	background-color: #EAF2F6;
	border: 1px solid #9CC8E0;
}

.btnmain {
	font-weight: bold;
	background-color: #226ba2;
	border: 1px solid #A9B8C2;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
	color: #FFFFFF;
}

.btnlite {
	font-weight: normal;
	background-color: #226ba2;
	border: 1px solid #A9B8C2;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
	color: #FFFFFF;
}

.btnfile {
	font-weight: normal;
	background-color: #ECECEC;
	border: 1px solid #A9B8C2;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: #E7F0F5;
	border-style: none;
	color: #4D4D4D;
}


/* BBCode
 ------------ */
.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding: 4px;
	border: 1px solid #9CC8E0;
	color: #4D4D4D;
	background-color: #9CC8E0;
	font-size: 0.85em;
	font-weight: bold;
}

.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #9CC8E0;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	line-height: 1.4em;
	font: 1em normal "Tahoma", "Trebuchet MS", Helvetica, Arial, sans-serif;
	background-color: #E7F0F5;
	color: #4D4D4D;
}

.attachcontent {
	font-size: 0.85em;
}

.codetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border: 1px solid #9CC8E0;
	color: #4D4D4D;
	background-color: #9CC8E0;
	font-family: "Tahoma", Verdana, Helvetica, Arial, sans-serif;
	font-size: 0.8em;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #9CC8E0;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: #4D4D4D;
	font-size: 0.85em;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #E7F0F5;
}

.syntaxbg {
	color: #FFFFFF;
}

.syntaxcomment {
	color: #FF8000;
}

.syntaxdefault {
	color: #0000BB;
}

.syntaxhtml {
	color: #000000;
}

.syntaxkeyword {
	color: #007700;
}

.syntaxstring {
	color: #DD0000;
}


/* Private messages
 ------------------ */
.pm_marked_colour {
	background-color: #000000;
}

.pm_replied_colour {
	background-color: #A9B8C2;
}

.pm_friend_colour {
	background-color: #007700;
}

.pm_foe_colour {
	background-color: #DD0000;
}


/* Misc
 ------------ */
.sep {
	color: 4D4D4D;
	background-color: #FFA34F;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: bold;
}

/* Icon images
---------------------------------------- */
.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
.icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search{
	background-position: 0 50%;
	background-repeat: no-repeat;
	background-image: none;
	padding: 1px 0 0 17px;
}

.rtl .sitehome, .rtl .icon-faq, .rtl .icon-members, .rtl .icon-home, .rtl .icon-ucp, .rtl .icon-register, .rtl .icon-logout,
.rtl .icon-bookmark, .rtl .icon-bump, .rtl .icon-subscribe, .rtl .icon-unsubscribe, .rtl .icon-pages, .rtl .icon-search{
	background-position: 100% 50%;
	padding: 1px 17px 0 0;
}

ul.linklist li.rightside, p.rightside {
	float: right;
	margin-right: 0;
	margin-left: 5px;
	text-align: right;
}

.catmain {
	background: #226ba2 url('./images/cellpic.gif') top repeat-x;
	width:100%;
}

.cattext {
	font-size:12px;
	font-weight:bold;
	color:#FFFFFF;
	height: 28px;
	margin: 0;
	padding-left: 20px;
	border: 0;
	text-indent: 4px;
}

.cattext a:link { color: #FFFFFF; text-decoration: none }
.cattext a:visited { color: #FFFFFF; text-decoration: none }
.cattext a:hover { color: #191919; text-decoration: none }
.cattext a:active { color: #FFFFFF; text-decoration: none }

.linkinav {
	float:left;
	font-size:11px;
	font-weight:bold;
	color: #F5FAFD;
}

.linkinav a:link { color: #F5FAFD; text-decoration: none }
.linkinav a:visited { color: #F5FAFD; text-decoration: none }
.linkinav a:hover { color: #91E5FF; text-decoration: bold }
.linkinav a:active { color: #F5FAFD; text-decoration: none }

.saps {
	display: none;
}
#pageheader {
	font-size: 13px;
padding: 10px 15px;
font-weight: bold;
float: right;
}
#footer_credit {
	float:left;
	width: 935px;
	margin: 10px 19px 25px 17px;
	padding: 7px 0px 40px 7px;
	text-align: center;
	font-size: 11px;
	color: #FFFFFF;
}
#footer_credit a {
	color:#FFFFFF;
	font-weight: bold;
	text-decoration:none;
}
#footer_credit a:hover {
	color:#FFFFFF;
	text-decoration:none;
}