body {
	background: url(../../img/knowbase/main_body_bg.jpg) repeat-x;
}

/* hack for footer ------------------------------------ hack for footer */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
body {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  position: relative;
}

#safe_logo {
    margin: 6px;
    width: 120px;
    height: 89px;
    background: url('../../img/knowbase/safe_logo.jpg') no-repeat;
    z-index: 100;
    position: absolute;
    left: 0;
    top: 0;
    color: #c19b2e;
    font-size: 9px;
    padding-left: 35px;
    overflow: hidden;
    font-family: Verdana;
    line-height: 15px;
}
#safe_logo a{
    color: #fbba20;
    font-family: Verdana;
    font-size: 9px;
    width: 76px;
    height: 15px;
    display: block;
    overflow: hidden;
}
/* HEADER ------------------------------------------------------ HEADER */
#header {
	border-bottom: 1px solid #6a4101;
	height: 29px;
	background: #200004;
	width: 100%;
	float: none;
	clear: both;
	position: relative;
	z-index: 900;
	margin-bottom: 15px;
}
.header_title {
	color: #C69B3C;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	padding: 8px 0 0 204px;
	position: relative;
	width: 400px;
}
.header_logo {
	display: block;
	width: 204px;
	height: 29px;
	background: #890202 url(../../img/knowbase/mypassion.jpg) no-repeat 0 0;
	position: absolute;
	left: 0;
	top: 0;
}
.header_menu {
	width: 700px;
	position: absolute;
	right: 0;
	top: 0;
}
.header_menu ul {
	float: none;
	clear: both;
	padding: 8px 0 0 0;
}
.header_menu ul li {
	float: right;
	color: #C69B3C;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	padding: 0 0 2px 0;
	position: relative;
	margin: 0 20px 0 0;
}

.header_menu ul li a {
	border-bottom: 1px dashed white;
	color: white;
	text-decoration: none;
}
.header_menu ul li a.tell {
	border-bottom: 1px solid #C69B3C;
	color: #C69B3C;
	text-decoration: none;
}
}

/* FRAME ------------------------------------------------------ FRAME */
#frame {
	width: 100%;
	margin: 0 0 0 0;
/*	background: #4E1F10 url(../images/main_body_bg.gif);*/
}

#frame .frame_cell_help {
	width: 50%;
/*	background: #6699CC;*/
}

#frame .frame_cell_data {
	width: 567px;
/*	background: #66CC66;*/
}

/* CONTENT ------------------------------------------------------ CONTENT */

#c_home_main {
/*	width: 556px;*/

	width: 572px;
/*	padding: 6px 8px 0 8px;*/
/*	background: #FFFFFF;
	background: #CCCCCC;*/
	padding-bottom: 10px;
	overflow: visible;
	position: relative;
    margin: 0 auto;
}
/* -------------------------------------- */
.chm_logo_c {
	width: 556px;
	height: 101px;
	position: relative;
	border-left: 8px solid #FFFFFF;
	border-right: 8px solid #FFFFFF;
	border-top: 6px solid #FFFFFF;
}
.chm_logo_c .chm_logo {
	width: 556px;
	height: 101px;
	display: block;
	background: #3F0803 url(../../img/knowbase/home_logo.jpg) no-repeat 0 0;
}
.chm_logo_c .chm_lady {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 133px;
	height: 162px;
	background: url(../../img/knowbase/home_lady.gif) no-repeat 0 0;
}
.chm_logo_c .chm_lady2 {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 94px;
	height: 114px;
	background: url(../../img/knowbase/home_lady2.gif) no-repeat 0 0;
}

.chm_path {
	width: 552px;
	height: 20px;
	background: #3F0803;
	border-top: 2px solid #FFFFFF;
	border-bottom: 2px solid #FFFFFF;
	color: #F8FFDA;
	font: normal 10px Arial, Helvetica, sans-serif;
	padding: 6px 0 0 4px;
	border-left: 8px solid #FFFFFF;
	border-right: 8px solid #FFFFFF;
}
.chm_path span {
	color: #C0907A;
	text-transform: lowercase;
}
.chm_path span a {
	color: #C0907A;
}

/* -------------------------------------- */
.chm_menu {
	width: 556px;
	/*height: 17px;*/
	padding: 1px 0 0 0;
	border-top: 7px solid #FFFFFF;
	border-bottom: 7px solid #FFFFFF;
	background: #500000;
	border-left: 8px solid #FFFFFF;
	border-right: 8px solid #FFFFFF;
}
.chm_menu table {
	width: 100%;
}
.chm_menu table td {
	text-align: center;
	color: #C59E52;
	font: normal 12px "Times New Roman", Times, serif;
}
.chm_menu table td a {
	color: #B88479;
	text-decoration: none;
	margin: 0 0 0 0;
}

.question_block {
	background: #FBF4A6;
	width: 666px;
	height: 146px;	
	overflow: none;
	float: none;
	clear: both;
	background: url(../../img/knowbase/question_block_bg.gif) no-repeat 0 0;
	margin-left: -94px;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #ede4cd;
    font: normal 18px "Times New Roman", Times, serif;	
    line-height: 2.5em;
}

#question_block_ask {
    padding-top: 10px;
    padding-left: 30px;
    float: left;
}

#question_block_search {
    width: 550px;
   	float: right;
   	padding: 10px;
}


#question_block_search img {
 float: left;
 margin-right: 7px;
}

#question_block_search span {
 font-size: 12px;
}

#question_block_search span.sample {
 cursor: pointer;
 text-decoration: none;
 border-bottom: 1px dashed #ede4cd
}

#search_field {
  font-size: 20px;
  width: 380px;
  border: 1px solid #490502;
  height: 40px;
}

#search_submit {
  color: #6b5638;
  font: normal 18px "Times New Roman", Times, serif;	
  background-color: #390200;
  border: 1px solid #4c0505;
  height: 43px;
  width: 52px;
  padding: 0px;
  margin: 0px;  
  margin-left: 5px;
}

#search_submit:hover {
  background-color: #5a2500;
}

.content {
	width: 523px;
	padding: 25px 29px 75px 20px;
	background: #FFFFFF url(../../img/knowbase/content_block_bg.gif) 1px 1px no-repeat;
	min-height: 367px;
	font: normal 12px Verdana, Arial, Helvetica, sans-serif;
}
.content a {
    color: #000000;
    font-size: 11px;
}
.content h1 {
   font: bold 14px Verdana, Arial, Helvetica, sans-serif;
   margin-top: 5px;
}
/* -------- ROUNDED CORNERS --------------------*/


.inner-box {
	padding:1em; 
}

.r1, .r2, .r3, .r4, .r5, .r6, .r7, .r8, .r9, .r10 {
	display: block;
	height: 1px;
	overflow: hidden;
	font-size:1px;
}

.r10 { margin: 0 10px; }
.r9 { margin: 0 9px; }
.r8 { margin: 0 8px; }
.r7 { margin: 0 7px; }
.r6 { margin: 0 6px; }
.r5 { margin: 0 5px; }
.r4 { margin: 0 4px; }
.r3 { margin: 0 3px; }
.r2 { margin: 0 2px; }
.r1 { margin: 0 1px; }

#rounded-box-3, #rounded-box-5, #rounded-box-10 { 
 margin: 0px 5px 10px 5px; 
 width: 520px;
}

.inner-box, b { background-color: #eff6d7;}

/* уменьшаем отступы по мере роста радиуса закругления */
#rounded-box-3 .inner-box { padding: 0px 15px 5px 15px; border: 1px solid #eff6d7;}
#rounded-box-5 .inner-box { padding: 0.7em 1em;}
#rounded-box-10 .inner-box { padding: 0.4em 1em;}

#rounded-box-3 span { 
 color: #390200;
 font: bold 36px "Times New Roman", Times, serif;
}

#rounded-box-3 h1 { 
 font: bold 18px Verdana, Arial, Helvetica, sans-serif;
}
/* -------------------------------------- */

.article_text {
  margin: 0px 10px 0px 10px;
  font: normal 12px Verdana, Arial, Helvetica, sans-serif;
  line-height: 1.5em;
}

.bot_menu {
  font: normal 10px Verdana, Arial, Helvetica, sans-serif;
  text-align: right;
}
.attachments {
 margin-left: 10px;
 font: normal 10px Verdana, Arial, Helvetica, sans-serif;
}
.text_part {
 margin: 5px 10px 3px 20px;
 font-size: 10px;
}

.search_nav {
 margin-top: 5px;
 margin-right: 10px;
 text-align: right;
 background: #f2f2f2;
 color:#666;
 padding: 4px 2px 4px 7px;
 border: 1px solid #ddd;
}

/*.search_nav p {position:relative;text-align:right}*/
.search_nav a:link, .search_nav a:visited, .search_nav a:hover, .search_nav a:active {
 text-decoration: none;
 background: #fff;
 padding: 2px 5px;
 border: 1px solid #ccc
}
.search_nav a:hover { 
 background: #a07325; 
 color: #fff
}
.search_nav span {
 text-decoration: none;
 background: #fff;
 padding: 2px 5px;
 border: 1px solid #ccc;
 color: #ccc}

.search_nav * {margin:0}


#contact_bar {
 text-align: right;
 font: normal 11px Verdana, Arial, Helvetica, sans-serif;
 color: #FFFFFF;
 padding: 10px;
}

#contact_bar a {
 color: #FFFFFF;
}

.rate {
 background: #a07325;
 position: absolute;
 left: -141px;
 top: 350px;
 width: 120px;
 padding: 10px;
 border: 1px solid #FFFFFF;
}

.rate_it {
  color: #FFFFFF;
  font: normal 14px "Times New Roman", Times, serif;	
  background-color: #390200;
  border: 1px solid #4c0505;
  height: 33px;
  width: 60px;
  padding: 0px;
  margin: 0px;  
  margin-top: 5px;
}
