/* общие теги */
body {
	background: #d7a174;
	margin-top: 10px; 
	text-align:justify;
}
td {
	color: #333333;
	font-size: 11px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
a {
	color: #900;
	text-decoration: none;
}
a:hover {
	color:#ff6600;
}
h1 {
	font-size: 16px;
	color:#004969;
	background: url(../i/img_algebra/bullet.png) no-repeat #fff;
	border: 0;
	color: #000;
	font: bold 16px Georgia, Serif;
	margin: 10px;
	padding: 20px 0 3px 50px;
	height: 40px;	
}
h2, h3 {
	font-size: 13px;
	color: #000;
	margin: 3em 0 1.5em 0;
}
p {
	text-indent: 3em;
}
p:first-letter  {
	font-size: 160%;
	font-family: italic;
	color: #900;
}
blockquote {
	margin: 5px 0 5px 33px;
	background: #f6e7d0;
	padding: 2px;
}
img {
	border:0;
	margin:1px
}
code {
	font-size: 11px;
	color: green;
	margin-left: 33px;
}
input {
	border: 1px solid #900;
}
br {
	margin-bottom: 1em;
}

/* элементы страницы, одинаковые для разных вариантов дизайна */
#tab_main_page {
	background: #ffffff;
	border-top: 10px solid #ffffff;
	border-left: 15px solid #ffffff;
	border-right: 15px solid #ffffff;
	border-bottom: 20px solid #ffffff;
	border: 1px solid #900;
	overflow: hidden;
	width: 100%
}
#tab_header { /* заголовочная часть страницы */
	width: 100%;
	height: 170px;
	background: url(../i/img_algebra/topback.png) no-repeat 10px 0px #fff;
	border-bottom: 2px solid #9c462a;
}
#tab_top_menu {
	width: 100%;
	height: 38px;
	background: #f6e7d0 url(../i/img_algebra/topmenuback.jpg) no-repeat 57px;
	color: black;
}
#tab_context {
	width: 100%;
	margin: 0;
	text-align: justify;
	position: relative;
}

.on_bottom {border-top:1px solid #57828A}
#tab_bottom { /* подвал */
	background: #9c462a;
}
.bottom, .bottom a { color: #ffffff; }

.tab_block { /* блочок с дополнительной инфой в панели */
	border: 1px solid #900; 
	margin-top: 5px;
	text-align: justify;
}
.tab_block2 {}
.tab_block3 {}
.tab_2-block {border:1px solid #2A7173;margin:5px 0 0 5px;text-align:justify;}
.div_logotip { /* Логотип блога */
	width: auto;
	position: absolute;
	top: 15px;
	color: #9c462a;
	font: bold 45px Georgia, Serif;
	margin: 10px 0 0 260px;
}
.div_motto { /* Название блога */
	width: auto;
	position: absolute;
	top: 70px;
	font-family: Impact;
	font-size: 24px;
	color: #9c462a;
	margin-left: 20px;
	color: #000; font: bold 13px Tahoma, Arial, Sans-serif; margin: 50px 0 0 430px;
}
.div_top_menu { /* верхнее горизонтальное меню */
	position: absolute;
	top: 185;
	left: 30%;
	width: auto;
	height: 24px;
	background: #f6e7d0;
	padding: 6px 0 0 10px;
}
.style_topmenu a { /* ссылки в горизонтальном меню */
	display: block;
	padding: 0 14px;
	color: #000;
}
.style_topmenu a.selected,
.style_topmenu a.selected:hover {
	color: #c00;
	text-decoration: none;
}
.style_topmenu li {
	float: left;
	list-style-type: none;
}
.font_topmenu {
	font: bold 12px georgia, helvetica, sans-serif;
	text-transform: uppercase;
}
.bar_menu { /* боковое вертикальное меню */
	margin: 0;
	padding: 0;
}
.bar_menu  li {
	list-style-type: none;
	margin-left: 5px;
}
.bar_menu  a {
	margin: 0;
	position: relative;
	padding: 0;
	text-decoration: none;
}
.bar_menu  a:hover { background: #f6e7d0; color: #000; }
.bar_menu  a.selected { color: #e00; }
.bar_menu  a.selected:hover { color: #ff6600; cursor: text; }

/* расположение в варианте 3CF: 3 колонки, 2 навигационные по бокам */
#tab_main_3CF {
	width: 1000px;
	border: 1px solid #042F5C;
	overflow: hidden
}
.div_page {
	float: left;
	overflow: hidden;
	width: 760px;
}
.div_context {
	float: right;
	text-align: justify;
	width: 540px;
}
.div_sidebar1 {
	float: left;
	width: 210px;
}
.div_sidebar2 {
	float: right;
	width: 200px;
}

/*-- position variant make-up of the page 3CR---*/
#tab_main_3CR {WIDTH:90%;border:1px solid #042F5C;overflow:hidden}

/* вариант расположения для двух колонок (2CF) */
#tab_main_2CF {
	width: 100%;
	border: 1px solid #042F5C;
	overflow: hidden;
}
.div_context_2CF {
	float: right;
	width: 70%;
	text-align: justify;
}
.div_sidebar1_2CF {
	float: left;
	width: 22%;
}

/*-------------- End general styles of the pattern ------------------------*/
.dats { /* мелкие квадратики */
	background-color: #ffffff;
	border: #900 1px solid; 
	width: 4px;
	height: 4px;
	margin: 3px 5px 0 0;}
textarea {width:520px; height:400px; font-family:verdana; font-size:12px; border:1px solid #7F9DB9 }
.textarea_form { /* формочка поиска */
	width: 400px;
	height: 120px;
	border: 1px solid #900;
}
.search_textarea {
	border: 1px solid #900;
	color: #500;
}
.but_search {width:31px;height:31px;background:url(../i/img_asc_lbp/1049s.gif) no-repeat;margin:0;padding:0;border:0;cursor:pointer;}
.tab_part { border-bottom: 1px solid #900; margin-left:10px;margin-right:5px;}
.bug {border:0;margin:5px 5px 0 10px}
.postdate {text-align:left;color:#888}
.hr { border-top:1px solid #900; height:1px; }
.red {color:red}

/* Календарь */
.calendar td {
	font: bold 11px Verdana;
	padding: 0;
	width: 24px;
	height: 12px;
}
.calendar td.months {
	color: #700;
	padding: 0 0 5px 0;
	width: auto;
	text-align: center;
}
.calendar a:hover {color:#ff6600;}
.cb { color: #777; } /* будни */
.cv { color: #e00; } /* выходные */
.cs { color: #900; background: #f6e7d0; } /* дни с постами */
/*--Fohts setting --*/
.font_resizer a { /* кнопки изменения размера шрифта */
	background-color: #fff;
	border:#900 1px solid;
	width: 14px;
	height: 12px;
	float: left;
	margin: 0 2px;
	padding: 2px;
}
.font_resizer a:hover {border:#ff6600 1px solid;color:#ff6600;}
.font_resizer b {float:left;color:#888888;margin:2px 5px;}
.fonts {width:280px}
.fonts li {list-style-type:none}
/* statistic */
.point {border:#ddd 1px solid;margin:5px auto;width:auto;overflow:hidden;}
.point .graf {margin:5px 0 0;padding:0 0 0 2px;height:330px;}
.point .desc {margin:0 0 5px 20px;}
.sttit {font-size:12px; color:#3D841A;margin:2px;padding:4px;}
.hits {float:left;width:248px;margin:0 0 0 1px;padding:0;}
.hits .hit,.hits .zap,.hits .poisk {margin:0;padding:0;overflow:hidden;}
.hits .hit {color:#a00;width:42px;}
.hits .zap {color:#030;width:56px;}
.hits .poisk {width:142px;}
.hits span {display:block;padding:0 0 3px;text-decoration:underline;}
.hits .hit span {color:#a00;}
.hits .zap span {color:#030;}
.hits .poisk span {color:#00a;}
.hits pre,.value pre,.numb pre {color:#000;font:11px verdana,arial,sans-serif;padding:2px;overflow:hidden;}
.numb {float:left;overflow:hidden;width:52px;margin-left:4px;}
.value {float:left;overflow:hidden;width:433px;padding-left:4px;}
.anonce {color:#777;clear:both;margin:0px 100px 2px 44px;padding:2px 0;}
.serf,.rss {color:#1e90ff;}
.post {color:red;}
.nopost,.friend  {color:blue;}
.sep {color:#000;font:11px verdana,arial,sans-serif;padding:2px 2px 2px 5px;;overflow:hidden;}
/* defalt Lasto styles */
p img {margin:5px 10px 2px 0;border:0;}
.postbody img {margin:5px 10px 2px 15px;}
.panel {font-size:13px; color:#004969}