body{text-align:center; margin:0; padding:0px 0 20px 0; font: 12px tahoma; line-height:18px;  line-height:18px; height:100%;
} 

h1,h2,h3,h4,h5 { margin: 0 0 0 0;}
h3, h3 a { font-size: 13px!important; line-height: 17px; padding: 3px 0 3px 1px!imporant; }
h4, h4 a { font-size: 12px;  line-height: 17px; padding: 3px 0 3px 1px; }
h1, h1 a { font-size: 19px; line-height: 25px; padding: 5px 0 5px 1px; }
h2, h2 a { font-size: 14px; line-height: 18px; padding: 4px 0 4px 1px!imporant;}

h5 { font-size:  10px; line-height: 14px; padding: 1px 0 1px 1px; }
h5.linked {margin: 2px 5px 0 0;}
li a { font-weight: normal; }
h3 a {font-size: 11px; font-weight: bold; line-height: 15px;}

#teaser {
  padding:5px 5px 10px 5px;
  margin-top:-10px;
  text-align:justify;
}

#news #teaser, #story #teaser {padding-left:0px;}

#teaser h1, #page h1, #story h1{
  margin: 10px 0 5px 0!important;
  border-bottom:2px solid #563917;
  color: #880000;
}

#wrap { 
  width:1000px; margin: 0 auto;text-align:center;
  background:url(http://sanovnik.bg/files/content/bck/bck_shadow.gif) repeat-y; 
}

.rssblock {
  width:235px;
  text-align:left;
  height:235px;
  border:1px solid #ccc;
  margin:10px 1px 10px 10px;
}
.rssblock ul{ margin-left:5px;}
.rssblock li{ margin:10px 5px 10px 20px;}
.rssblock h3{
  background:#563917; 
  color:#fff;
  padding:3px 0 3px 10px;
}


#main {margin: 0 auto;float:none;width:992px!important;}
#logo{width:264px;}
#topbanner {width:728px;}
#topkw a, #topkw li {
  line-height:25px;
  font-size:12px;
  font-weight:bold;
}
#topkw li {padding:0 8px;}
a{ text-decoration: none; font: 12px Tahoma,Helvetica,sans-serif; font-weight: 600; }

#primary, #secondary {
  width:100%!important;
  display:inline;
  float:left;
  height:33px;
  text-align:center;
}


.balkenbck{
  background:url(http://sanovnik.bg/files/content/bck/balken_bck.gif) repeat-x; 
}

#primary a, #secondary a {line-height:33px;margin: 0 7px 0 7px; font-size:13px; color:white;  text-transform:none; }
#primary a:hover, #secondary a:hover {text-decoration:underline;}

#backlinks{width:100%; text-align:center; display:inline;float:left;}
#backlinks a{ font-weight:normal; line-height:23px; font-size:11px;}
#backlinks span {font-weight:bold; font-size:10px; margin:2px 0 0 5px;}

#dreams_short{
  text-align:left;
  padding-left:10px;
}

#dreams_short div{
  margin-top:10px;
}

#endtpl { 
  width:992px; margin: 0 auto;text-align:center;
  height:5px!important;
  background:url(http://sanovnik.bg/files/content/bck/funbottom.gif);
  background-repeat:repeat-x!important;
}


#leftcol{width: 300px;}
#content{width:500px;margin:15px 5px 0 6px;position:relative;}
#rightcol{width: 180px;}
#rightcol li{
  margin:0!important;
  text-align:left!important;
}
#rightcol li a{
  line-height:15px!important;
}

#lefthead{width:486px; }
#righthead{width:506px; }


.typestory.s #content, 
.typepages.l #content, 
.typepages.n2 #content,
.typepages.n3 #content,
.typepages.n4 #content {
width:992px;margin:0;
}

#newrightcol{width:300px;float:right;display:inline;margin:0px 0 0 10px;}
#newleftcol{width:250px;float:left;display:inline;margin:0px 5px 0px -11px;}


#news4 .link{width:100px;padding:2px 0;}
#news4 .link a{font-size:11px;line-height:14px;}
#storybl .row{padding:5px 0 5px 3px;}
#news4 img, #news5 img{padding:0!important;}

#news #news4 .link, #story #news4 .link{width:220px;padding:5px 0 3px;}

#bigdream #news4 .link, #story #news4 .link{width:175px;}
#bigdream #news4 .link a, #news #news4 .link a, #story #news4 .link a{padding:2px 0;font-size:12px;line-height:18px;}

#news5 .link{width:185px;display:inline;float:left;padding:5px 0 3px;}
#news5 .link a{line-height:18px;font-size:12px;font-weight:normal;}

.searchfield {text-align:center;height:20px;}


table{font-size: 12px;}
#page, #news, #story {
  width:981px;
  margin:0px 0 5px 11px;
  line-height:19px; 
  font-size:13px; 
  text-align:justify!important; 
  background:#fff;
}
#story {margin-top:12px;}
#page {width:961px;}

#news {text-align:left;}
#news img{padding-top:5px;}

#news div.big{
  width:665px;
  display:inline;
  float:left;
  text-align:center;
}



#news p{
  margin:0 10px 12px 5px;
  font-size: 12px;
  line-height: 18px;
}


#primary{margin-top:-3px;}

.azbuchnik{
  line-height:25px;
  display:block;
  width:16px; 
  float:left;
  font-size:15px;
  padding:2px 3px 2px 3px;
  margin: 2px 2px 2px 2px!important;
}

.letterhold{width:222px;margin:0 10px 0 13px;}

.letterhold .azbuchnik{
  padding:2px 4px 2px 4px;
  margin: 3px 6px 3px 5px!important;
}

.imennik{
  line-height:25px;
  display:block;
  width:16px; 
  float:left;
  font-size:15px;
  padding:2px 3px 2px 3px;
  margin: 2px 3px 2px 4px!important;
}

.pagelink, .pagespan, .nrlink{
  line-height:20px;
  border:1px solid #a5a5a5;
  display:block;
  text-align:center;
  float:left;
  font-size:13px;
  padding:5px 7px 5px 7px;
  margin: 3px 2px 2px 3px!important;
}

.nrlink {padding:5px 7px}


li.selected, li.expanded, li.leaf a, li.leaf a:visited, #mainkw span{
  font-size:13px;
  font-weight:normal;
  width: auto;
  line-height:15px;
  display:block;
  padding:8px 0px 9px 13px;
  margin: 0 0 0 0;

}  

li.expanded {padding:8px 0px 9px 20px;font-weight:bold;}
#news .leaf, #story .leaf {padding:0;}
#news .leaf a, #story .leaf a{font-weight:normal!important;line-height:18px;padding: 7px 0 7px 7px;}
#news .expanded, #story .expanded{line-height:18px;padding:5px 0;text-align:center;clear:both;}

#story #menu li.leaf{width:125px;display:inline;float:left;}
#story #menu .light{display:none;}

.searchtxt {  
  width:195px;
  text-align:center;
  height:23px;
  font-size:15px!important;
  padding:4px 0 0px 0!important;
  float:left;
  border:1px solid #9e805d!important;
}
.searchbtn {
  background: #563917; 
  width:70px;
  height:29px;
  font-size:12px;
  line-height:22px!important;
  padding-bottom:5px!important;
  color:#fff;
  border: 1px solid #000!important;
}


#searchbig{margin:20px 0 0px 0;display:inline;float:left;}
#searchbig .searchtxt { width:361px; height:23px; padding-bottom:5px!important;text-align:center;line-height:23px; font-size:22px!important;}
#searchbig #cse-search-box{ padding:5px 0 20px 0px!important;}
#searchbig .searchbtn { margin-left:5px!important;height:33px; padding-bottom:3px!important;text-align:center;line-height:23px; font-size:16px!important;width:100px;}


#commentLink{
  text-align:right;
  float:right;
  margin:5px 16px 10px 0;
  padding:7px 15px 7px 15px;
  font-size:normal!important;
  background:#900000;
  color:#fff;
  border:1px solid #000;
}

#commentLink:hover{
  border:2px solid #563917;
  background:#f2d1ab;
  color:#0b3560;
}


.stories{
  padding:8px 2px 30px 2px;
  margin:5px 0 0 0;
  width:235px;
  display:inline;
  float:left;
  text-align:left;
  font-size:11px;
  line-height:15px;
  
}

.stories h3 a{
  color:#900000;
}

.stories a.more{
  font-weight:normal;
  font-size:11px;
  color:#cc0000;
  text-decoration:underline;
}

.stories img.thumb{
  float:left;
  display:inline;
  margin:5px 8px 0 0;
  border:1px solid #563917;
}

.stories .date{
  display:inline;
  float:left;
  font-size:11px;
  width:60px;
  color:#555;
  margin:0 0 0 0;
}

#story .extra{
  padding:0;
  margin:15px 0 10px 0;
  font-size:11px;
  border-top:1px solid #ededed;
  border-bottom:1px solid #ededed;
  color:#888;
  float:left;
  width:650px;
  display:inline;
}


#leaf_1461 a{
  color:#900000;
  background:#e5cbd6;
  border-left:8px solid #92013e;
}

#leaf_1451, #leaf_1461, #leaf_1452{display:block!important;width:100%!important;}

#leaf_1451 a{
  color:#fff;
  background:#990000;
  border-left:8px solid #000;
}

.storyblock{
  color:#999;  
}

.storyblock h3{
  background:#07519a;  
  color:#fff;
  padding:6px 5px;
}

.storyblock .storyrow{
  text-align:left;
  padding:5px 0 5px 5px!important;
  border-bottom:1px solid #ededed;
}

.storyblock .storyrow a{
  font-weight:normal;
  color:#cc0000;
  font-size:13px;
}

.storyblock .storyrow a:hover{
  color:#000;
}

.storyblock img {
  margin:0 5px;
  display:inline;
}

#my_messages{
  text-align:left;
}
#my_messages a{
  font-weight:bold;
}

#mynavi{
  width:630px;
  display:inline;
  text-align:right;
  float:right;
  color:#ccc;
}

#mynavi a{
  font-size:11px;
  font-weight:normal;
  margin:5px auto;
  padding:0 4px;
}

.wishblock{
  width:90px;
  margin:0px 0 10px 8px;
  padding-top:5px;
  text-align:center;
  display:inline;
  float:left;
  line-height:15px;
}

.wishblock img{
  margin:0 15px 0 13px;
  border:1px solid #ccc;
  padding:1px;
}

.wishblock a{
  font-size:11px;
} 
.wishodd{
  display:inline;
  float:left;
  float:right;
  background:#e5e5e5;
}  

#headerline .rel h1{
  position:absolute;
  top:153px;
  padding:5px 10px 5px 10px;
  margin-right:18px;
  background:url("http://sanovnik.bg/files/content/bck/colors/transbrown.png") repeat scroll 0 0 transparent;
}

#headerline .rel h1 a{
  color:#fffbc6;
}

#headerline .rel img{
  border-right: 3px double #bbb;
  border-bottom: 3px double #bbb;
}

#leaf_618{
 padding-left:21px;
 background:url(http://img.grad.bg/sprite.png) no-repeat;
 background-position:-484px -26px;
}

#footertext{
  margin:15px 0 0 0;
  padding:3px 10px 5px;
  line-height:15px;
  font-size:11px;
}

.searchbtm{
  float:left;
  width:100%;
  margin:10px 0 0;
  padding:10px 0;
  background:#f6f6f6;
  border-top:1px solid #ccc;
  border-bottom:1px solid #ccc;
}
.searchbtm ul{ 
  padding:0px 10px;
}
.searchbtm li{ 
  display:inline;
  margin:0 10px;
}

.breadcrumb{text-align:left;padding:2px 0 2px 0!important;margin:2px 3px 8px 5px;border-bottom:1px solid #e8e8e8;}
.breadcrumb a{margin:0 4px 2px 1px;font-weight:normal;}


.dreamsearch{
  border:1px solid #ccc;
  padding:10px;
  background:#f7efe5;
  margin:0 10px 10px;
  text-align:left;
}

.dreamsearch p{
  padding:5px 0 10px 0!important;
  font-weight:bold;
  font-size:13px;
  margin:0;
}
.dreamsearch .inbtn{
  margin-left:15px!important;
}

#bigdream{text-align:left;}
#bigdream .dreamsearch{
  padding:10px;
  margin:0 10px 10px 0;
}
#bigdream #searchtext{width:280px!important;}
#bigdream #searchword{width:90px!important;}


#bigdream table {margin:25px 0 0 3px;font-size:13px;text-align:left;display:inline;float:left;}
#bigdream table td{padding:10px 0 10px;}
#bigdream table td.search{height:95px;padding:0 0 20px 0;}
#bigdream table td.big{height:250px;}
#bigdream .desc{font-size:15px;margin-left:10px;}

#bigdream .leftdream{
  width:248px;
  display:inline;
  float:left;
  text-align:center;
  margin:0 5px 0 0;
}

#bigdream .inner div.text, #story .inner div.text, #news .text{
  width:736px;
  margin:0 0 9px 0px;
  display:inline;
  line-height:19px;
  float:left;
}

#bigdream .text p{
  padding:0 0 0 5px;
}


#bigpic{
  background:#fff;
  text-align:center;
  width:253px;
  float:left;
  display:inline;
}

#story #bigpic{
  width:300px;
  margin:15px 15px 10px 0px;
}

.mybtns{width:720px;}

.storyblock .title{background:#168bff;}
#news4 .title{background:#486cb8;}
#news5 .title{background:#316800;}

/* stories block */
.blstories{background:#f7e6d3;width:100%;text-align:left;}
.blstories .title{background:#6c4415;color:#000;border-bottom:2px solid #000;color:#fff;}
.blstories ul{list-style-type:none;padding:0;margin:0 3px 0 0;} 
.blstories li{padding:7px 0 7px 5px;} 
.blstories .sprit{color:#777;font-size:11px;}
