* {
  margin: 0;
  padding: 0;
}

form fieldset { border: 0; }
form input.text, form select { font-size: 1em; color: #4F5253; }
form input.text { padding: 1px 3px 2px 3px; border: 1px solid #7A8187; border-right: 1px solid #CFD1D3; border-bottom: 1px solid #CFD1D3; }


body {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: #222;
  font-family: Arial;
  font-size: 0.8em;
  background: #d5f2f6 url('/media/img/body.jpg') repeat-x center top;
}

a {
  color: #656565;
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}

h1 {
  font-size: 1.6em;
}
h2 {
  font-size: 1.4em;
}
h3 {
  font-size: 1.2em;
}
h4, h5, h6 {
  font-size: 1em;
}

p {
  padding: 6px 0;
}

#canvas_wrapper {
  position: relative;
  margin: 30px auto;
  width: 990px;
  height: auto;
  background: #fff;
}
#canvas {
  position: relative;
  margin: 0px auto;
  width: 930px;
}

#header {
  position: relative;
  width: 100%;
  height: 145px;
}
#header_logo {
  position: absolute;
  top: 15px;
  left: -30px;
}
#header_logo span{
  position: absolute;
  top: 62px;
  left: 27px;
  font-family: "Trebuchet MS";
  font-size: 1.0em;
}
#header_logo span a{
	text-decoration: none;
	color: #999;
}
#header_menu {
  position: absolute;
  top: 18px;
  right: 0;
  width: 625px;
}
#header_menu ul {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid #D4D4D4;
  font-family: "Trebuchet MS";
  font-size: 1.3em;
}
#header_menu ul li {
  list-style: none;
  display: inline;
  margin: 0;
  padding: 0 10px 0 0;
  position: relative;
}
#header_menu ul li a {
  color: #000;
  text-decoration: none;
  padding: 2px 12px 2px 0px;
/*   border: 1px solid green; */
}
#header_menu ul li a span{
  padding: 2px 0 2px 12px;
/*   border: 1px solid red;  */
}
#header_menu ul li a:hover, #header_menu ul li.active a {
  color: #FFF;
  background: #fcadb5 url('/media/img/menu-right-bg.gif') no-repeat right top;
}
#header_menu ul li a:hover span, #header_menu ul li.active a span{
  background: #fcadb5 url('/media/img/menu-left-bg.gif') no-repeat left top; 
}
#header_menu ul li ul{
  position: absolute;
  z-index: 1;
  display: block;
  top:0px;
  left:5px;
  display: none;

  border: 1px solid #D4D4D4;
  background: #fff;

  width: 120px;
  margin: 20px 0 0 0;
  padding: 6px;
  
  list-style: none;
  font-size: 0.7em;  
}
#header_menu ul li ul li{
  text-align: center;
  display: block;
}
#header_menu ul li ul li a{
  padding: 5px;
  width: 100%;
  display: block;
}
#header_menu ul li ul li a:hover{
  background: #fcadb5 none;
  color: #000;
  padding: 5px;
}

#header_phone {
  position: absolute;
  top: 80px;
  right: 0;
  color: #A1A1A1;
}
#header_phone big {
  color: #505050;
  font-size: 1.3em;
  font-family: Tahoma;
}

#body {
  position: relative;
  padding-bottom: 145px;
}

#footer_wrapper {
  position: relative;
  margin: -67px auto 0 auto;
  width: 990px;
  height: 67px;
  background: #F2F2F2;
}
#footer {
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  padding: 20px 0 10px 0;
  height: 67px;
  width: 930px;
}
#footer_contacts {
  font-size: 0.9em;
}
#footer_contacts .caption {
  font-size: 1.3em;
}
#footer_contacts table {
  margin: 6px 0;
  padding: 0;
  width: 100%;
  border-collapse: collapse;
  border: 0;
}
#footer_contacts table td {
  vertical-align: top;
  padding: 0 20px;
  border-right: 1px solid #D4D4D4;
  border-left: 1px solid #D4D4D4;
}
#footer_contacts table td.first {
  padding-left: 0;
  border: 0;
}
#footer_contacts table td.last {
  padding-right: 0;
  border: 0;
}
#footer_contacts table td .label {
  float: left;
  width: 140px;
  color: #000;
  font-weight: bold;
}
#footer_contacts table td .details {
  margin-left: 140px;
}
p#footer_copyrights {
  color: #939291;
}
p#footer_copyrights a {
  color: #686868;
}

.c_black {
  color: #000;
}
.c_gray {
  color: #828282;
}
.c_blue {
  color: #0A0A96;
}

.bg_white {
  background: #fff;
}
.bg_gray {
  background: #E6E6E6;
}

.body {
  padding: 20px 0;
}
.body .leftcol {
  overflow: hidden;
  float: left;
  width: 280px;
}
.body .rightcol {
  float: left;
  margin-left: 25px;
  width: 615px;
  /*margin-left: 310px;*/
}
.body_index .leftcol {
  float: left;
  width: 445px;
}
.body_index .rightcol {
  width: 460px;
  /*margin-left: 480px;*/
}

.content_box {
  float: right;
  padding: 0 0 20px 40px;
  width: 225px;
}
.content_box .item {
  padding: 4px 0;
  border-bottom: 1px solid #d4d4d4;
}

.listing { position: relative; padding: 2px 13px; }
.listing .listing_left { margin-left: -21px;}
.listing .listing_right { margin-right: -21px; }
.listing p, .listing form { margin: 0; padding: 0;}
.listing form select {width : 80px; }

p.pagination {
  padding: 0;
  color: #AFAFAF;
  font-size: 1.1em;
}
p.pagination a,
p.pagination span {
  float: left;
  margin-right: 2px;
  padding: 4px 9px;
  border: 1px solid #D3D3D3;
}
p.pagination a {
  color: #0A0A96;
}
p.pagination span.dotted {
  border-color: #fff;
}
p.pagination span.active {
  background: #F2F2F2;
}

.tabs {
  margin-bottom: 14px;
  height: 40px;
  border-bottom: 1px solid #D4D4D4;
  overflow: hidden;
}
.tabs a.tab {
  float: left;
  margin: 0 3px 0 0;
  padding: 11px 15px 12px 15px;
  background: #F8F8F8;
  border-top: 1px solid #F8F8F8;
  border-bottom: 1px solid #D4D4D4;
  font-size: 1.1em;
  font-family: "Trebuchet MS";
  text-decoration: none;
}
.tabs a.tab:hover {
  color: #999;
  text-decoration: none;
}
.tabs a.tab_active {
  background: #fff;
  border: 1px solid #D4D4D4;
  border-bottom-color: #fff;
}

.caption {
  margin: 0;
  padding: 12px 0;
  color: #505050;
  font-family: "Trebuchet MS";
  font-weight: normal;
  font-style: normal;
}
.caption_line {
  margin-bottom: 12px;
  border-bottom: 1px solid #D4D4D4;
}

.news_list .news {
  padding: 6px 0;
  color: #2E2E2E;
}
.news_list .news .date {
  font-size: 0.9em;
}

.gallery {
  position: relative;
  padding: 6px 0;
  height: 112px;
}
.gallery .gallery_photos_wrapper {
  overflow: hidden;
  margin: 0 35px;
  height: 112px;
  width: 535px;
}
.gallery .gallery_photos {
  white-space: nowrap;
  margin-left: 0;
  width: 100%;
}
.gallery .gallery_photos a {
  margin-right: 7px;
}
.gallery_arrow {
  cursor: pointer;
  position: absolute;
  top: 39px;
  width: 43px;
  height: 43px;
}
.gallery_arrow_left {
  left: -16px;
  background: url('/media/img/left.jpg') no-repeat 0 0;
}
.gallery_arrow_right {
  right: -5px;
  background: url('/media/img/right.jpg') no-repeat 0 0;
}

.calendar {
  margin-top: 35px;
  margin-right: 30px;
  padding: 0 20px 20px 20px;
  background: #E6E6E6;
  font-size: 0.9em;
}
.calendar strong.caption {
  display: block;
  padding: 10px 5px;
  color: #000;
  font-family: Arial;
  font-weight: bold;
}
.calendar table.switcher {
  width: 100%;
  border-collapse: collapse;
  border: 0;
}
.calendar table.switcher td {
  vertical-align: middle;
  padding: 3px 5px;
  background: #fff;
  border: 1px solid #fff;
  border-top: 1px solid #E6E6E6;
  text-align: center;
}
.calendar table.switcher td.arrow {
  width: 10px;
}
.calendar table.switcher td.arrow_back {
  border-left: 1px solid #E6E6E6;
}
.calendar table.switcher td.arrow_next {
  border-right: 1px solid #E6E6E6;
}
.calendar table.switcher td.month {
  color: #FF7200;
  font-size: 1.2em;
  font-weight: bold;
}
.calendar table.month {
  width: 100%;
  border-collapse: collapse;
  border: 0;
}
.calendar table.month th {
  padding: 5px 2px;
  background: #E6E6E6;
  border: 1px solid #fff;
  border-bottom: 1px solid #D3D3D3;
  text-align: center;
  color: #000;
}
.calendar table.month td {
  padding: 5px 2px;
  border: 1px solid #fff;
  text-align: center;
}

.news_list .news strong.date {
  color: #000;
  font-size: 1.1em;
}
.news_list .news strong.name a{
  color: #000;
  font-size: 1.5em;
  text-decoration: none;
}
.news_list .news strong.name a:hover{
  text-decoration: underline;
}
.news_list .news .thumb {
  float: left;
}
.news_list .news .text {
  margin-left: 200px;
}

.tags_cloud p { margin-top:0px; line-height: 18px; text-align: center; border:1px solid #f4f4f4;}
.tags_cloud p a { text-decoration: none; }
.tags_cloud p a:hover { text-decoration: underline; }
.tags_cloud p .size_0 { font-size: 0.6em;}
.tags_cloud p .size_1 { font-size: 0.8em; }
.tags_cloud p .size_2 { font-size: 1.0em; }
.tags_cloud p .size_3 { font-size: 1.2em; }
.tags_cloud p .size_4 { font-size: 1.4em; }
.tags_cloud p .size_5 { font-size: 1.6em; }
.tags_cloud p .size_6 { font-size: 1.8em; }
.tags_cloud p .size_7 { font-size: 2.0em; }
.tags_cloud p .size_8 { font-size: 2.5em; }

.sections p { margin-top:0px; line-height: 18px; text-align: center; border:1px solid #f4f4f4;}

/* Forum */

table.forum { border-collapse: collapse; width: 100%; }
table.forum a { color: #1B202D; }
table.forum th, 
table.forum td { padding: 10px 5px; }
table.forum th { color: #042745; font-size: 0.9em; font-family: Tahoma; font-weight: bold; text-align: left; border-top: 1px solid #CBCBCB; border-bottom: 1px solid #CBCBCB; }
table.forum td { color: #462B3E; border-bottom: 1px solid #E6E6E6; }
table.forum td.icon { padding-left: 0; }
table.forum td.icon img { position: relative; top: 2px; }
div.add_post input{width:98%;}
div.add_post textarea{width:95%; height: 150px;}

/* Register */

form.register sup { color: red; font-weight: bold; }
form.register label { display: block; padding-bottom: 3px; }
form.register p.head { padding: 10px 17px 5px 17px; border-bottom: 1px solid #CBCBCB; }
form.register .long, 
form.register .short { padding: 10px 17px; }
form.register .short .col { float: left; width: 49.9%; }
form.register .description { padding-top: 5px; color: #765A6D; font-size: 0.9em; }
form.register .long input.text1, 
form.register .long select { width: 97.5%; }
form.register .long textarea { width: 97.5%; }
form.register .short input.text1, 
form.register .short select { width: 95%; }
html:first-child form.register .short input.text1, 
html:first-child form.register .short select { width: 99%; }
form.register input.submit { margin-left: 17px; }
form.register .rules { padding: 10px 17px; color: #A8A8A8; font-size: 0.9em; }
form.register p.register_place { padding: 10px 17px; color: #765A6D; font-size: 0.9em; }
form.register div.error {border:1px solid #eee; padding:10px; background-color:#FFEEEE;}


#tab_forum a{display: block; font-weight: bold; color: #000; font-size: 1.5em; margin-top:5px;margin-bottom: 3px; text-decoration: none; padding-left: 40px;background: url('/media/img/forum-icon1.gif') no-repeat left top;}
#tab_forum a:hover{ text-decoration: underline;}
#tab_forum small {color:#222; padding-left: 40px;}

.peoples { position: relative; }
.peoples h4 { font-size: 2em; }
.peoples .bg { position: absolute; top: -29px; right: 1px; background:url(/media/img/peoples-bg.gif) no-repeat 0 0; width: 177px; height: 55px; }
.peoples .list { padding: 0 10px; }
.peoples .list .row { position: relative; border-bottom: 1px dashed #CBCBCB; }
.peoples .list .row a.name_m, 
.peoples .list .row a.name_w { position: absolute; top: 4px; left: 13px; font-weight: bold; }
.peoples .list .row a.name_m { color: #3A58AF; }
.peoples .list .row a.name_w { color: #AF3A87; }
.peoples .list .row .people { overflow: hidden; position: relative; float: left; font-size: 0.9em; width: 49.9%; height: 84px; }
.peoples .list .row .people img { position: absolute; top: 22px; left: 13px; }
.peoples .list .row .people .rating { position: absolute; top: 22px; left: 69px; color: #000; font-weight: bold; }
.peoples .list .row .people .rating span { color: #A8A8A8; font-weight: normal; }
.peoples .list .row_yellow { background: #FFFAD7; }
.peoples .list .row_white { background: #fff; }
.peoples .list .row_last { border: 0; }

.lastforum { padding: 0; }
.lastforum p.message { padding: 8px 0; font-size: 0.9em; border-bottom: 1px dashed #CBCBCB; }
.lastforum p.message span.date { color: #A8A8A8; }
.lastforum p.message a.message { font-weight: bold; }
.lastforum p.last { border: 0; }
.lastforum p.btn { margin-left: 0; }
