/*  
Theme Name: Bestmama
Theme URI: http://bestmama.ru/
Description: The WordPress theme for bestmama.ru web site
Version: 1.0
Author: Sergey Karaichev
Author URI: http://bestmama.ru/
*/



/* Layout ******************/

html {
  height: 100%;
}

body {
  position: relative;
  width: 800px; 
  min-height: 100%;
  margin: 0 auto;
  padding: 0;
  background: url("img/bg1.gif") repeat-y center;
	font-family : sans-serif;
	font-size : 12px;
}

* html body {
  height: 100%;
  background: url("img/bg1ie.gif") repeat-y center;
}

a:link {
  color: #223549;
}

a:visited {
  color: #3e6186;
}

hr {
  height: 1px;
  margin: 0 5px;
  background: #345170;
  color: #345170;
	border-style : hidden;
}

#header {
  width: 796px;
  height: 217px;
  margin-top: 10px;
  margin-left: 2px;
  background: url("img/bg_title.jpg") no-repeat top right;
}

* html #header {
  width: 798px;
}

#btn_home {
  position: absolute;
  left: 237px;
  width: 39px;
  height: 39px;
  cursor:pointer;
  background: url("img/btn_home.gif");
}

#btn_mail {
  position: absolute;
  left: 287px;
  width: 39px;
  height: 39px;
  cursor:pointer;
  background: url("img/btn_mail.gif");
}

#main_menu {
  padding-top: 10px;
}

#main_menu ul {
  margin-top: 18px;
}

#main_menu ul li {
  margin: 2px 0;
  margin-left: -40px;
  padding-left: 60px;
  background: url("img/menu_point1.gif") no-repeat left;
	list-style : none;
	list-style-position : outside;
	font-family : sans-serif;
	font-size : 14px;
	font-weight : bold;
	text-transform : uppercase;
}

#main_menu a {
  text-decoration: none;
  color: #000;
}

#main_menu a:hover {
  text-decoration: none;
  color: #345170;
}

#content {
  overflow: hidden; 
  margin-left: 2px;
  width: 796px;
/*  background: #afa;*/
}

* html #content {
  margin-left: 2px;
  width: 798px;
}

#main {
  float: left;
  width: 404px;
  margin-left: 196px;
  margin-top: 36px; /* margin for search block */
  margin-bottom: 60px;
}

* html #main {
  margin-left: 99px;
  padding-bottom:80px;
}

*+html #main {
  padding-bottom:80px;
}

#main h1 {
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: bold;
  font-family : sans-serif;
  color: #9d0a0e;
}

#main h2 {
  margin-top: 3px;
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: bold;
  font-family : sans-serif;
  color: #2c2b2b;
}

#main h3 {
  margin: 0px;
  width: 100%;
  font-size: 12px;
  font-weight: bold;
  font-family : sans-serif;
  background: url("img/bg_dots.gif") repeat-x bottom;
}

#main h3 a {
  text-decoration: none;
  color: #2870fa;
}

#main #publications h3 a {
  text-decoration: none;
  color: #df400d;
}

#main div {
  padding: 5px;
}

#sections {
  float: left;
  width: 196px;
  margin-left: -600px;
  margin-bottom: 60px;
  background: #fdf0dd;
}

* html #sections {
  width: 198px;
  margin-left: -602px;
}

#news {
  float: right;
  width: 196px;
  margin-top: 36px; /* margin for search block */
  background: #fdf0dd;
  margin-bottom: 60px;
}

#news p {
  margin: 0;
}

#news div, #news img {
  margin: 3px;
}

#news h1, #news h2, #news h3 {
  margin: 3px 0;
  font-size: 14px;
  font-weight: bold;
  font-family : sans-serif;
  color: #416d00;
}

#news h1 a, #news h2 a, #news h3 a {
  color: #416d00;
}

#news h2, #news h3 {
  font-size: 12px;
}

.footer-bar-style {
  opacity:0.51;
  font-size:51%;
  color:#777777!important;
}

.footer-bar-style a,
.footer-bar-style a:active,
.footer-bar-style a:link {
  color:#777777!important;
} 

#search {
  position: absolute;
  top: 217px;
  right: 2px;
  height: 36px;
  width: 599px;
  background: #88affa/*#88AFFA*/;
}

#search form {
  margin: 0px;
  padding: 8px 0 0 110px;
  background: url("img/search.gif") no-repeat left 11px;
}

#search form input {
  border: 0px;
  height: 17px;
}

#search form #s {
  background: #88AFFA url("img/bg_search.gif") no-repeat left center;
}

#search form #searchsubmit {
  height: 19px;
}

* html #search {
  top: 227px;
  right: 0px;
}

*+html #search {
  top: 227px;
  right: 2px;
}

#meta {
  position: absolute;
  bottom: 0px;
  height: 40px;
  width: 780px;
  margin-left: 5px;
  padding: 5px;
  text-align: center;
  border-top: 1px solid #c5be84;
/*  background: #34ff70;*/
}

#pregnancy, #childroom, #holiday, #other {
  min-height: 73px;
  padding-top: 26px;
  padding-bottom: 5px;
}

#pregnancy {
  background: url(img/pregnancy.gif) no-repeat top;
}

#childroom {
  background: url(img/childroom.gif) no-repeat top;
}

#holiday {
  background: url(img/holiday.gif) no-repeat top;
}

#other {
  background: url(img/other.gif) no-repeat top;
}

* html #pregnancy, * html #childroom, * html #holiday, * html #other,
*+html #pregnancy, *+html #childroom, *+html #holiday, *+html #other  
{
  height: 73px;
  padding-top: 40px;
}

.postimage {
  padding: 2px;
  border: 1px solid #88AFFA;
}

.postmetadata {
  padding: 0px;
  margin: 0px;
  font-size: 11px;
  border: 1px solid #88AFFA;
}

#main .pagetitle {
  font-size: 24px;
  color: #DF400D;
}

.smf_list {
  margin-left: 0;
  padding-left: 0;
}
.smf_list li {
  /*list-style: none;*/
  margin-left: 0;
  padding-left: 0;
}
