/* Сбрасываем установки по умолчанию */
HTML, BODY, UL, OL, LI, P, H1, H2, H3, H4, H5, H6, DIV, FORM, FIELDSET, A, IMG, BLOCKQUOTE {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
  vertical-align: baseline; 
}

HTML, BODY { height: 100%; }

OL, UL {
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
}

/* Устраняем глюки с масштабированием шрифтов и приводим 1em к 10px */
HTML { font-size: 100.01%; }
BODY { 
  font-size: 0.625em;
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif, Tahoma, Verdana;
  font-weight: normal;
  color: #000;
  background: #FFF;
}


P, FORM, UL, LI, H1, H2, H3, H4, H5, H6 { margin-bottom: 0.625em; }
H1, H2, H3, H4, H5, H6 { color: #46a541; margin-top: 1em; line-height: 1.2; }
H1, .home H2, .category H2, .archive H2, .author H2, .post H2, #menus H3 { margin-top: 0 !important; }
.home H2, .category H2, .archive H2, .author H2, .post H2 { font-weight: normal; font-size: 2.7em; }
P { font-size: 1.4em; }
SMALL { font-size: 0.8em; color: #878787; }
H1 { font-size: 2.7em; }
H2 { font-size: 2.55em; }
H3 { font-size: 2.2em; }
H4 { font-size: 2em; }
H5 { font-size: 1.8em; }
H6 { font-size: 1.6em; }
INPUT { vertical-align: middle; }
A { color: #00247D; }

/* Это чтобы не плодить лишние элементы */
#header, #footer, #prevnext, .author_info, #author_posts, LI.blogger, .author_card, .clear { clear: both; overflow: hidden; }

/* Закончили CSS Reset, начинаем CSS */

BODY {
  min-width: 920px;
  max-width: 1100px;
  padding: 0 10px;
  margin: auto;
}



#topline { font-size: 1.2em; padding: 10px; height: 1.2em;}
  #topline UL, #topline LI { display: inline; }
  #projects { float: left; }
    #projects LI { padding: 0 6px 0 10px; }
  #feeds { float: right; }
    #feeds LI { padding-left: 16px; }

#header { background: #037 url(/_img/header.jpg) no-repeat scroll center bottom; height: 140px; margin-bottom: 20px; padding: 0 10px; color:white; font-size: 1.4em; }
  #header A { color: #FFF; }
  #logo { float: left; width: 135px; height: 79px; margin-top: 37px; padding-left: 10px; }
  #blog { float: left; width: 62px; height: 33px; margin-top: 27px; margin-left: 70px; background: transparent url(/_img/bg_blog.gif) no-repeat; line-height: 33px; text-align: center; font-size: 14px; color: #037; }
    #blog A { text-decoration: none; color: #037; }
  #tagline { float: left; width: 150px; height: 40px; margin-top: 50px; margin-left: 20px; }
  #menu { float:right; padding-top:104px; }
    #menu UL, #menu LI { display: inline; padding-left: 16px;}

#wrapper { float: left; margin-right: -470px; width: 100%; }
  #content { margin-right: 470px; padding: 0 10px; min-width: 600px; }
  .post, #prevnext { margin-bottom: 40px; }
  BLOCKQUOTE { background: #F0F0F0; padding: 10px 10px 5px 10px; margin-left: -5px; margin-bottom: 10px; font-style: italic; }
    BLOCKQUOTE BLOCKQUOTE { margin-left: 10px; padding-left: 10px; border-left: #777 solid 2px; }
 
  .post OL { list-style-type: decimal; margin-left: 30px; }
  .post UL { list-style-type: square; list-style-image: url(/_img/bg_li.gif); margin-left: 20px; }
    .post LI { font-size: 1.4em; }
    .post LI { font-size: 1.4em; }
    LI OL, LI UL { font-size: 0.7em; margin-top: 10px; }
    .post LI P { font-size: 1em; }
   #prevnext A { font-size: 1.8em; color: #FA0F0C; margin: 6px;}
     #prevnext A SPAN { text-decoration: none; }
     #prev { float: left; }
     #next { float: right; }
  #comments A, .commentlink, .quoter A { text-decoration: none; color: #878787; border-bottom: 1px dashed #878787; }
  #comments A { font-size: 0.75em; }  
  .commentlist LI.guest P { overflow: hidden; }
  .commentlist LI { margin-bottom: 24px; }
  .commentlist .blogger P { overflow: visible; }
    .blogger { background: #E4E2D5; padding: 10px 10px 10px 120px; margin-left: -5px; margin-bottom: 10px; font-style: normal; }
    .blogger IMG.avatar { margin: 0 0 0 -110px; float: left; width: 100px; height: 100px; }
    .blogger .commentlink { color: #878787; border-color: #878787; }
  .comment_author { color: #878787; }
    .comment_author CITE { font-style: normal; }
  .blogger .comment_author { color: #000; }
  #content .portrait { float: left; margin: 0 10px 10px 0; }
  
#column { font-size: 1.4em; float: right; width: 240px; padding: 0 10px 0 0; }
  #column H3 { font-size: 1.4em; color: #46a541; margin-top: 0px; }
  #column DIV { margin-bottom: 20px; }


#wp-caption-text { color: #878787; border-bottom: 0,2px dashed #878787; font-size: 1.6em;}


#menus { font-size: 1.2em; float: right; width: 200px; padding: 0 0 0 10px; color: #FFF; }
  #menus H3 { font-size: 1.6em; }
  #menus A, #menus H3 { color: #FFF; }
  .menu_outer {
    width: 189px;
    background: #46a541 url(/_img/bg_top.gif) no-repeat scroll center top;
    padding-top: 20px;
    margin-bottom: 20px;    
  }
  .menu_inner {
    background: #46a541 url(/_img/bg_bot.gif) no-repeat scroll center bottom;
    padding: 0 20px 20px 20px;
  }
  #menus #subscribe FORM { padding-bottom: 16px; }
  #menus #subscribe INPUT#subscribe-email { width: 100px; }
  #menus #subscribe INPUT#subscribe-submit { width: 40px; }

  #author_block { background: #C0D0E2; width: 179px; margin-bottom: 20px; padding: 10px 0px 10px 8px; }
    #author_block H4 { font-size: 1.4em; margin-top: 5px; }
    #author_block P { font-size: 1.2em; color: #000; margin-right: 8px; }
    #author_block A { color: #2963D7; }

  .author_info { margin-bottom: 20px; }
    .author_info H1 { margin-bottom: 0; }
    .author_info .job { font-weight: bold; margin-bottom: 40px; }
    #author_posts {  }
  .page .author_info { background: #C0D0E2; padding: 10px; }
    .page .author_info H1, .page .author_info H1 A { color: #FFF; }
    .page .author_info .job { margin-bottom: 10px; }
    
#content, #menus, #column { margin-bottom: 70px; }

#footer { height: 52px; background: #46a541 url(/_img/1.jpg) no-repeat center top; color: #FFF; font-size: 1.1em; }
/* #footer {  float: left; width: 100%; } -- Это был какой-то костыль */
  #footer A { color: #FFF; }
    #footer SPAN A { text-decoration: none; }
  #footer DIV { height: 52px; padding: 20px 10px; }
  #footer UL, #footer LI { display: inline; padding-left: 16px; }
  #copyright { float: left; }
  #studiomade { float: right; }
  
  #counters { display: none; width: 0; height: 0; }

/* Классы для пиктограмм */
.rss { background: transparent url(/_img/rss.gif) center left no-repeat; padding: 2px 0 2px 20px; line-height: 18px; }

/* Тут экспериментируем */
.current {font-weight: bold;}

#errormsg {
  font-size: 1em;
  font-weight: bold;
  color: #DD0000;
  margin-bottom: 10px;
}

.nobr { white-space: nowrap; }

img.aleft { margin-right: 10px; margin-bottom: 2px; float: left; }

#content strong, #content b {
color:#787E6E;
font-weight:normal;
}

#wp-caption-text {
color:#46a541;
font-weight:italic;
font-size:1.1em;
}

/*Доработки по категории*/

.cat_desc p {
	background-color: #cfc4a1;
	font-size: 14px !important;
	line-height: 21px !important;
	padding: 10px;
}

#cat_grid {
	margin-left: 3px;
}


a.link {
	color: #46a541;
	font-size: 14px !important;
	font-weight: bold;
}

#cat_grid td {
	width: 290px;
	font-size: 1.2em;
	line-height: 1.2em;
}

#cat_grid td p, .post_form p {
	/*margin-top: 10px;*/
	text-align: center;
	font-style: italic;
	font-size: 1.2em;
	line-height: 1em;
}

.container {
	position: relative;

}

.container div {
	position: absolute;
	top: 137px;
	font-style: italic;
	z-index: 2;
	display: block;
	height: 30px;
	margin: 0 10px 0 10px;
	line-height: 1em;
	text-align: left;
	}

.container div.desc {
	color: white;
	float: left;
}

.container div.price {
	color: yellow;
	position: absolute;
	right: 0;
}

.thumb {
	z-index: -1;
}


.opacity50 {
	position: absolute;
	top: 131px;
	left: 0;
	z-index: 1;
}


/*Доработки по посту*/

.post_form {
	width: 592px;
	position: relative;
}

.thumb_opacity {
	position: absolute;
	top: 284px;
	left: 0;
	z-index: 1;
}

.post_container {
	position: relative;
	
}

.post_container table {
	width: 566px;
	position: absolute;
	top: 280px;
	color: #fff;
	font-style: italic;
	z-index: 2;
	height: 50px;
	margin: 7px 14px;
	line-height: 1em;
	font-size: 12px;
	}

.post_container div.desc {
	color: white;
}

.post_container td.price {
	color: yellow;
	font-style: normal;
	font-size: 18px;
	line-height: 21px;
}

td.reserve {
	text-align: right;
}
/*
td.reserve img {
	margin-top: 3px;
}
*/


