/* ----- common styles ----- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  background: transparent;
  }

body {
  font: normal 10px Tahoma;
  color: #222;
  margin: 15px 20px 0px;  
  }

a {
  color: #a90000;
  text-decoration: underline;   
  }
  
a:hover {
  text-decoration: none;
  }  

div#main {
  min-width: 960px; 	
  width: auto !important; 
  font-size: 1.2em;
  padding-bottom: 10px;
  }

/* ----- header ----- */

div#center_header {  
  
  clear: both;
  width: 100%;
  height: 130px;
  }

div#top_nav a {
  font: bold 1.1em/42px Arial;
  color: #dadada;
  margin-right: -1px;
  padding: 0px 2.4%;
  background: url('/images/tn_dashline.gif') center right no-repeat;
  }

div#top_nav a:hover {
  color: #fff;
  }

div.tn_left {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 5px;
  height: 42px;
  background: #222 url('/images/tn_left.png') center no-repeat;
  }

div.tn_right {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 5px;
  height: 42px;
  background: #222 url('/images/tn_right.png') center no-repeat;
  }

div.tn_center {
  position: relative;
  width: 100%;
  height: 42px;
  background: #222 url('/images/tn_center.png') top left;
  }

div.nav {	
  text-align: center;	
  }

img.tn_dashline {
  width: 1px;
  height: 25px;
  margin: 8px 20px 0px;
  vertical-align: top;
  }

div#logo {
  float: left;
  clear:left;	
  margin: 15px 0px 0px 20px;
  }

div#logo a {
  display: block;
  width: 300px;
  height: 10px;
  font: normal 0.9em Tahoma;
  text-align: right;
  text-decoration: none;
  padding-top: 38px;
  background: url('/images/logo.png') top center no-repeat;
  }

div#search {
  float: right;
  clear:right;
  position: relative;
  width: 350px;
  height: 80px;
  margin: 0px 0px 0px 0px;
  background: #f1f1f1;
  }

input.search_field {
  width: 300px;
  height: 18px;
  font-size: 1.2em;
  margin: 6px 7px 3px;
  padding: 6px 5px 6px 30px;
  background: transparent url('/images/search_bg.png') center no-repeat;
  border: none;
  }

input.search_type {
  margin-left: 15px;
  }

span.radio_text {
  font-size: 0.9em;
  margin-left: 4px;
  vertical-align: 2px;
  }

a.more_search {
  position: absolute;	
  right: 0px;
  bottom: 0px;
  display: block;
  height: 14px;  
  font-size: 0.9em;
  margin-top: 6px;
  padding: 1px 0px 0px 10px;
  background: #fff url('/images/more_search_bg.png') top left no-repeat;
  }

/* ----- content ----- */

div#content {
  clear: both;	
  margin: 0px 0px 0px;
  border-top: 2px solid #f1f1f1;
  }

div#left_block {
  width: 230px;
  float: left; 
  margin: 10px 0px 20px; 
  }

h2.cat_title, h2.ad_title {
  width: 210px;
  height: 32px;
  color: #fff;
  padding-left: 20px;
  font: bold 1.4em/32px Arial;
  background: url('/images/cat_title.png') center no-repeat;
  }

div.cat_list {
  padding: 15px 10px 12px;	
  border: solid #dadada;
  border-width: 0px 1px;
  }

div.cat_list_bottom, div.ad_list_bottom {
  width: 230px;
  height: 6px;
  font-size: 0px;
  background: url('/images/cat_list_bottom.png') center no-repeat;
  }
  
div.cat_inside {
  width: 100%;
  padding: 6px 0px 5px;
  background: url('/images/dashed_line.gif') left bottom repeat-x;
  }  
  
div.cat_inside a, div.cat_inside b {  
  display: block;
  color: #222;
  padding-left: 25px;
  line-height: 140%;
  background: url('/images/red_marker.gif') 10px 6px no-repeat;
  }
  
div.cat_inside a:hover {
  color: #A90000;
  text-decoration: none;
  }

div.cat_move_up, div.cat_move_down {
  height: 22px;
  font-weight: bold;
  text-align: center;
  border-color: #DADADA;
  border-style: solid;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  }	
div.cat_move_up {
  border-width: 0 1px 1px 1px;
  background-image: url(/images/arrow1_up.gif);
  }
div.cat_move_down {
  border-width: 1px 1px 0 1px;  
  background-image: url(/images/arrow1_down.gif);
  }
  
/* h2.ad_title {
  background: url('/images/ad_title.png') center no-repeat;	
  } */  
  
div.ad_list_bottom {
  background: url('/images/ad_list_bottom.png') center no-repeat;  
  }

div#right_block {
  margin: 0px 0px 0px 235px;
  }

div.#right_center{
	margin:0px 0px 0px 0px;
}

div#legend {
  position: relative;
  height: 26px;
  padding: 0px 10px 0px 20px;
  background: #f1f1f1 url('/images/legend_left.png') top left no-repeat;
  }

div.legend_right {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 8px;
  height: 26px;
  background: url('/images/legend_right.png') top left no-repeat;
  }

div#legend a, div#legend span { 
  font: normal 0.9em/26px Tahoma;
  padding: 0px 8px 0px 12px;
  background: url('/images/orange_marker.gif') 0px 5px no-repeat;
  }

div#legend a {
  color: #999;
  }

div#legend a:hover {
  color: #222;
  }
  
img.legend_marker {
  width: 6px;
  height: 5px;
  margin-right: 4px;
  }

div#content_block {
  margin: 0px 0px 20px 10px;
  height: 1%;
  }

div#content_block h1, div#content_block h2 {
  font-family: Arial;
  font-weight: normal;
  }

div#content_block h1 {
  margin-top: 20px;
  font-size: 1.8em;
  }

div#content_block h2 {	
  font-size: 1.6em;
  margin: 20px 0px 15px 0px;
  }

h1.big_title {
  text-align: center;
  margin-bottom:5px;
  }

div.intro {
  margin-top: 20px;
  line-height: 160%;
  text-indent: 1.5em;
  }

table.pop_work {
  width: 99%;
  }

table.pop_work td {
  width: 50%;	
  padding: 0px 10px 0px 25px;
  }

table.pop_work td a {
  line-height: 180%;
  margin: 0px 10px;
  }

/* ----- works ----- */

div.work_one {
  padding-bottom: 10px;
  margin: 15px 0px 0px;	
  background: url('/images/dashed_line.gif') left bottom repeat-x;
  }

a.link_title {
  font-size: 1.2em;
  padding-left: 25px;
  background: url('/images/red_marker.gif') 10px 50% no-repeat;  
  }

div.desc {
  position: relative;
  height: 20px;  
  margin: 8px 0px 8px 25px;  
  padding: 8px 10px 2px;
  font: normal 0.9em Tahoma;
  background: #f1f1f1 url('/images/desc_left.png') left top no-repeat;
  }

div.desc_right {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 6px;
  height: 30px;
  background: url('/images/desc_right.png') center no-repeat;
  }

div.desc a, div.desc span  {
  margin-right: 15px;
  }

div.text_preview {
  line-height: 160%;	
  margin: 0px 0px 0px 25px;
  }

div.marg0 {
  margin-left: 0px;
  }

div.list_source {
  font-size: 0.9em;
  color: #999;
  }

div.download {
  height: 30px;
  margin-top: 10px;
  }

div.download a {
  float: right;	
  clear: right;
  display: block;
  width: 113px;
  height: 30px;
  background: url('/images/download.png') center bottom no-repeat;
  }	

div.download a:hover {
  background: url('/images/download.png') center top no-repeat;
  }
  
div.in-bag a {
  float: right;	
  clear: right;
  display: block;
  width: 113px;
  height: 30px;
  background: url('/images/in-bag.png') center bottom no-repeat;
  }	

div.in-bag a:hover {
  background: url('/images/in-bag.png') center top no-repeat;
  }
  
div.out-bag a {
  float: right;	
  clear: right;
  display: block;
  width: 113px;
  height: 30px;
  background: url('/images/out-bag.png') center bottom no-repeat;
  }	

div.out-bag a:hover {
  background: url('/images/out-bag.png') center top no-repeat;
  }	

div.pages {
  text-align: center;
  padding: 20px 0px 10px;
  }

div.pages span {
  font: bold 1.4em/160% Verdana;
  color: #555;
  padding: 1px 4px;
  background-color: #f1f1f1;
  }

div.pages a {
  font: normal 1.2em/160% Verdana;
  color: #555;
  padding: 1px 4px;  
  }
  
div.pages a:hover {
  color: #A90000;
  }  

/* ----- comments ----- */

div.comment_one {
  padding: 10px 5px 5px 20px;
  background: url('/images/comment_user.gif') 5px 11px no-repeat;
  }

div.comment_one span {
  font-size: 0.9em;	
  font-weight: bold;
  color: #555;
  margin-right: 8px;
  }

div.comment_text {
  margin: 3px 0px 0px 4px;
  padding: 3px 8px;  
  background: url('/images/comment_text_bg.gif') top left repeat-y;
  }

div.color {
  background-color: #f1f1f1;
  }

div.add_comment {
  background: #f1f1f1;
  }

div.add_comment table {
  width: 100%;
  }

div.add_comment table td.left {
  width: 300px;
  white-space: nowrap;
  padding-right: 15px;
  }

div.add_comment table td.right {
  width: 100%;
  }
  
div.add_comment table td.name {
  background: #fff url('/images/comment_name_bg2.png') top left repeat-x;
  }
  
div.name_bg1 {
  float: left;
  width: 8px;
  height: 30px;
  background: url('/images/comment_name_bg1.png') center no-repeat;
  }
  
div.name_bg3 {
  float: right;
  width: 8px;
  height: 30px;
  background: url('/images/comment_name_bg3.png') center no-repeat;
  }
  
input.name {
  float: left;	
  display: block;
  width: 90%;  
  font: normal 1.1em Tahoma;
  margin: 5px 0px 3px;
  border: none;
  }  

div.comment_bg1 {
  float: left;
  width: 8px;
  height: 105px;
  background: url('/images/comment_text_bg1.png') center no-repeat;
  }
  
div.comment_bg3 {
  float: right;
  width: 8px;
  height: 105px;
  background: url('/images/comment_text_bg3.png') center no-repeat;
  }

table td.td_comment_bg1 {
  width: 0px;
  height: 105px;
  padding-right: 8px;	
  background: url('/images/comment_text_bg1.png') center no-repeat;	
  }

table td.td_comment_bg3 {
  width: 0px;
  height: 105px;  
  padding-left: 8px;	
  background: url('/images/comment_text_bg3.png') center no-repeat;	
  }

textarea.comment {
  float: left;
  width: 100%;
  height: 90px;
  font: normal 1.1em Tahoma;  
  padding: 5px 0px;
  margin: 0px;
  margin-top: 2px;
  border: 0px;
  }

div.code {
  float: left;
  width: 30%;
  height: 30px;
  background: #fff url('/images/comment_name_bg2.png') top left repeat-x;
  }

input.code {
  float: left;	
  display: block;
  width: 90%;  
  font: normal 1.1em Tahoma;
  margin: 5px 0px 3px;
  border: none;
  }  	

img.captcha {
  float: left;	
  width: 100px;
  height: 40px;
  margin: -3px 0px 0px 10px;  
  }

/* ----- footer ----- */

div#footer {
  position: relative;
  width: 100%;
  height: 30px;
  clear: both;
  margin: 0px 0px 0px;
  line-height: 30px;
  background: #e7e7e7 url('/images/footer_l.png') left top no-repeat;
  }

div.footer_r {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 7px;
  height: 30px;
  background: url('/images/footer_r.png') center no-repeat;  
  }

div.copy {
  margin-left: 10px;
  font-size: 0.9em;
  float:left;
  }

div.adv_links {
  margin-right: 10px;
  font-size: 0.9em;
  float:right;
  
  }  

/*-------------------*/

select.add-select {
  float: left;
  width: 97%;
  height: 22px;
  border: 0px none;
  margin: 6px 0px 2px;
  padding: 0px;
  }

input.add-file {
  float: left;
  width: 97%;
  border: 0px none;
  margin: 4px 0px 2px;
  padding: 0px;
  background: #fff;
  }

div#big-search {
  background: #f1f1f1;
  }

div#big-search table {
  width: 100%;
  }

div#big-search table td.left {
  width: 300px;
  white-space: nowrap;
  padding-right: 15px;
  }

div#big-search table td.right {
  width: 100%;
  }
  
div#big-search table td.name {
  background: #fff url('/images/comment_name_bg2.png') top left repeat-x;
  }

.no-marg {
  margin: 0px;
  }

/*---------------------- portfolio ----------------------*/

table#porfolio_list {
  width: 100%;  
  border-collapse: collapse;
  }

table#porfolio_list td {
  padding: 5px 5px 4px;
  border: 1px dotted #e1e1e1;  
  }

table#porfolio_list tr#caption {
  background: #f1f1f1;
  font-weight: bold;
  }

table#porfolio_list td#checkbox {
  width: 2%;
  text-align: center;
  }

table#porfolio_list td#name {
  width: 62%;
  }

table#porfolio_list td#type, table#porfolio_list td#size, table#porfolio_list td#del {
  width: 12%;
  }

table#checkcode {
  width: 100%;
  background: #f1f1f1;
  border-collapse: collapse;
  margin-top: 2px;
  }

table#checkcode td {
  padding: 5px 5px 4px;
  border: 1px solid #f1f1f1;
  }

table#checkcode td.right {
  width: 100%;
  }

table#checkcode td.left {
  white-space: nowrap;
  vertical-align: top;
  }

table#checkcode tr.top td {
  padding-top: 15px;
  }

table#checkcode tr.bottom td {
  padding-bottom: 10px;
  }

/*-----------Сайты----------------*/

div.list_banners {
  overflow: hidden;
  }

div.banner_one {
  border : 1px dotted #DDD;
  float:left;
  margin:10px;
  padding:10px 20px 10px 20px;
  }

div.text_link_one {
  padding: 5px;
  margin: 5px;
  cursor: pointer;
  border: 1px dotted #ddd;
  }

/*----------------Главная-----------------------*/

div.subj_one{
	
	//vertical-align: top
}
div.subj_link{
	float:left;
	clear:right;
}

div.subj_desc{
	float:left;
	clear:both;
	margin-left:20px;
}

/*-----------------------------------*/
div.top_line{
	float:left;
	clear:left;
	margin-top:5px;
	font-size:0.9em;
}

div.top_line a{
	color:#999;
}

span.odnaknopka img {
  vertical-align: -4px;
  }
span.marg{
	margin:0 10px;
}

div.add_comment sup{
	color:red;
}


div#download h1 {
  font-size: 1.6em;
  margin: 20px 0px;
  }

div#download table td {
  padding: 5px;
  }
  
div#download a.download_link {
  font-size: 1.3em;
  font-weight: bold;
  }
  
/*------------------------------------------*/

div.bg_fon {
  height: 30px;
  overflow: hidden;
  background: #fff url('/images/comment_name_bg2.png') top left repeat-x;
  }

a.refresh {
  float: left;
  display: block;
  margin: 5px 0px 0px 10px;
  }  
  
input.submit {
  outline: 0px none;
  }  
  
  
    
  

