html, body, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address, li {
	margin: 0;
	padding: 0;
}

fieldset, img {border: none;}

html, body {
	width: 100%;
	height: 100%;
	background: #e7ded9 !important;
	font: normal 11px/15px arial, verdana, sans-serif;
	font-size: 0.85em;
	color: #000;
}

a {text-decoration: none;}

a:hover {text-decoration: underline;}

.clear {
	clear: both;
	font-size: 1px;
	line-height: 0em;
	margin: 0;
	padding: 0;
}

#wrapper {
	font-size: 100%;
	position: relative;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	width: 994px;
	margin: 0 auto;
	padding: 0;
	background: #fbfbfb url('../images/bg_wrapper.gif');
}

#container {
  margin: 0;
  padding: 0 0 156px 0;
}

	#top {
		position: relative;
		height: 247px;  
		width: 994px;
		margin: 0;
		padding: 0;
		background: #E0D7BE url('../images/bg_top.jpg');
	}
	
	#top img#toplogo {
		position: relative;
		top: 34px;
		left: 37px;
	}
    
		#sidemenu ul#langmenu {
		  padding: 0;
		  margin: 0 0 0 50px;
      list-style: none;
      height: 26px;
      width: 120px;
      background: transparent;
    }
    
			ul#langmenu li {
			  margin: 0;
			  padding: 0;
			  display: inline;
	      float: left;
      	background: transparent;
	    }
	    
				ul#langmenu li a {
				  margin: 0 3px;
				  display: block;
				  padding: 0;
		      font-weight: bold;
		      color: #9e4a3d;
		      text-decoration: none;
		      line-height: 22px;
		      text-align: center;
		      /*font-size: 130%;*/
		      font-size: 15px;
		      width: 27px;
	      	background: url('../images/bg_langmenu.gif') no-repeat 0 0;
		    }
		    
				ul#langmenu li a:hover {text-decoration: underline;}
		    
				ul#langmenu li.sel a {
		      color: #9c763c;
		      text-decoration: none;
	      	background: url('../images/bg_langmenu.gif') no-repeat 0 0;
		    }
      
      ul#topmenu {
        position: absolute;
        right: 0;
        top: 197px;
        list-style: none;
        padding: 0;
        margin: 0;
      }
      
      ul#topmenu li {
        float: left;
        width: 151px;
        height: 47px;
        text-align: center;
        padding: 3px 0 0 0;
        background: url('../images/bg_mainmenu_bullet.gif') no-repeat 0 100%;
      }
      
      ul#topmenu li.sel {background: url('../images/bg_mainmenu_sel.gif') no-repeat 0 100%;}
      
        ul#topmenu li a {
          color: #fff;
					font-size: 17px;
					line-height: 18px;
          display: block;
        }
        
        ul#topmenu li.sel a {color: #9e4a3d;}
        
      ul#topmenu li td {
        text-align: center;
        width: 151px;
        vertical-align: middle;
        height: 43px;
        padding: 0;
      }
      
      ul#topmenu li table {
        border-collapse: collapse;
        border: 0;
        margin: 0;
        padding: 0;
      }
	
	#topline {
		width: 994px;
		background: url('../images/bg_topline.gif');
		height: 10px;
		font-size: 1px;
		padding: 0;
		margin: 0;
		display: block;
	}
	
	#sidemenu, #content, #sidebar {
	  float: left;
	  display: inline;
	  padding: 0;
	  margin: 0;
	}
	
	#sidemenu {
    padding: 0;
    margin: 0;
    width: 213px;
  }
  
  	#sidemenu ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
  	#sidemenu li {
      padding: 0;
      margin: 0;
      display: inline;
      background: transparent;
    }
    
    	#sidemenu li a {
        margin: 1px 0 0 3px;
        color: #9e4a3d;
        line-height: 18px;
        font-size: 14px;
        display: block;
        padding: 4px 0 2px 18px;
        width: 192px;
        background: url('../images/bg_sidemenu.gif') no-repeat 0 0;
      }
      
    	#sidemenu li.sel a {
        color: #fff;
        background: url('../images/bg_sidemenu_sel.gif') no-repeat 0 0;
      }
      
      #sidemenu li .sidemenu_bot {
        background: url('../images/bg_sidemenu_bot.gif') no-repeat 3px 0;
        height: 2px;
        font-size: 1px;
        padding: 0;
        margin: 0;
      }
      
      #sidemenu li.sel .sidemenu_bot {background: url('../images/bg_sidemenu_sel_bot.gif') no-repeat 3px 0;}
      
        #sidemenu li.sel li a {
          margin: 0 0 -1px 3px;
          color: #9e4a3d;
          padding: 4px 0 4px 36px;
          width: 164px;
          background: #e9d2a1 url('../images/bg_sidemenu_sub.gif') no-repeat 0 0;
        }
        
        #sidemenu li.sel li.sel a {color: #7c0909;}
        
        #sidemenu li.sel li.sel ul {
          background: #e9d2a1 url('../images/bg_sidemenu_sub.gif') repeat-y 0 0;
          width: 200px;
          margin: 0 0 0 3px;
          padding: 4px 0 4px 0;
        }
        
          #sidemenu li.sel li span img {display: none;}
        
          #sidemenu li.sel li.sel span img {
            display: inline;
            padding: 0 5px 1px 7px;
          }

          #sidemenu li.sel li.sel li a {
            margin: 1px 0 0 3px;
            color: #9e4a3d;
            line-height: 20px;
            font-size: 100%;
            display: block;
            padding: 0 0 0 54px;
            width: 140px;
            background: url('../images/sidemenu_sub_sub_bullet.gif') no-repeat 38px 7px;
          }
          
          #sidemenu li.sel li.sel li.sel a {color: #7c0909;}
  
    #newsbox {
      margin: 8px 0 0 0;
      padding: 11px 14px 8px 21px;
      background: url('../images/bg_newsbox.gif') no-repeat 0 0;
    }
    
      #newsbox h3 {
        margin: 0;
        padding: 0;
        font-size: 18px;
        font-weight: normal;
        color: #766A56;
        display: inline;
        background: url('../images/bg_newsbox_h3.gif') no-repeat 0 0;
      }
      
      #newsbox p {
        margin: 0;
        padding: 0;
      }
      
	      #newsbox h3 a {
					color: #766A56;
					text-decoration: none;
				}
				
	      #newsbox h3 a:hover {
					text-decoration: underline;
				}
      
      #newsbox img {
        margin: 12px 0 8px 0;
        padding: 1px;
        border: 1px solid #bb945a;
      }
      
      #newsbox span.red {color: #9e4a3d;}
      
      #newsbox #newsboxall {
        text-align: left;	
        padding: 0 0 5px 0;
			}
      
      #newsbox a#next {
        color: #9e4a3d;
        padding: 0 0 0 14px;
        background: url('../images/bg_newsbox_arr_right.gif') no-repeat 0 5px;
        font-size: 12px;
      }
      
      #newsbox a#viewall {
      	display: block;
				color: #9e4a3d;
				font-size: 12px;
			}
  
  #content {
    margin: 0;
    width: 580px;
    padding: 55px 22px 0 25px;
    position: relative;
    background: url('../images/content_corner.gif') no-repeat 0 0;
  }
  
    #pagepath {
      position: absolute;
      left: 25px;
      top: 15px;
      font-size: 10px;
      width: 500px;
    }
    
      #pagepath a {
        color: #9e4a3d;
        padding: 0 8px 0 0;
        margin: 0 2px 0 0;
        background: url('../images/pagepath_bullet.gif') no-repeat 100% 6px;
      }
      
      #pagepath span {display: none;}
    
    ul#sitetools {
      position: absolute;
      right: 10px;
      top: 10px;
      padding: 0;
      margin: 0;
      width: 110px;
      list-style: none;
    }
    
	    ul#sitetools li {
	      background: transparent;
	      float: left;
	      padding: 0;
	      margin: 6px 0 0 5px;
	    }
	    
	    ul#sitetools a {color: #766a56; letter-spacing: 2px;}
			a.normal { font-size: 9px; }
			a.larger { font-size: 11px; }
			a.largest { font-size: 13px; }
    
    #contenttitle {
      position: relative;
      padding: 0;
      margin: 0 0 10px 0;
      background: url('../images/bg_content_h1.gif') repeat-x 0 0;
    }
    
      #contenttitle h1 {
        display: inline;
        padding: 0;
        margin: 0;
        background: #fff;
        font-size: 140%;
        line-height: 145%;
        font-weight: normal;
      }
      
      #contenttitle a#print {
        position: absolute;
        left: 537px;
        top: 0;
        width: 30px;
        color: #9e4a3d;
        font-size: 10px;
        margin: 0;
        padding: 0 0 0 14px;
        background: url('../images/bg_content_print.gif') no-repeat 0 2px;
      }
  
  #sidebar {
    margin: 0;
    padding: 0 0 0 4px;
    width: 148px;
  }
  
  form#searchbox {
		padding: 0;
		margin: 0px 1px 4px 2px;
	}
	
  form#searchbox input {
		width: 76px;
		color: #b88f52;
		padding: 2px;
		font-size: 12px;
		line-height: 12px;
		font-family: verdana, arial;
		border: 1px solid #dac8ac;
		background: #eee5d9;
	}
	
  form#searchbox input.submit, form#search-form input#submit {
		width: 55px;
		height: 22px;
		padding: 0;
		margin: 0;
		border: 0;
		color: #9e4a3d;
		font-size: 14px;
		background: url('../images/bg_search_submit.gif') no-repeat 0 0;
	}
	
		div#banners {margin: 0 0 45px 0;}
		div#banners_left{margin: 10px 0 6px 0;}
		
		div#banner_Augsa {
			position: absolute;
			right: 0;
			top: 0;
		}
  
	    div.banner {
	      text-align: center;
	      padding: 0;
	      margin: 0;
	    }
	  
		    div.banner img {
					margin: 3px 0 4px 0; 
					padding: 0;
					border: 1px solid #d3d6d8;
				}
				
		    div#s_top div.banner img {
		    	margin: 0;
					border: 0;
					padding: 0;
				}
	
	#sidebarbottom {
		position: absolute;
		background: url('../images/bg_sidebarbottom.gif') no-repeat 0 0;
		height: 94px;
		width: 155px;
		bottom: 108px;
		right: 0;
  }

	#footer {
		position: absolute;
		width: 994px;
		height: 152px;
		bottom: -1px;
		padding: 0; 
		margin: 0;
		background: url('../images/bg_footer.gif') no-repeat 0 0;
		clear: both;
	}
	
  html > body #footer { bottom: 0; }

  #footercontent {
    position: relative;
    width: 994px;
    height: 152px;
    padding: 0;
    margin: 0;
  	color: #bbaa8f;
  }
  
    #footer a.toplink {
    	position: absolute;
    	display: inline; 
    	top: 47px;
    	right: 180px;
    	color: #9e4a3d;
    	background: url('../images/up.gif') no-repeat 100% 50%;
    	padding: 0 10px;
    	font-size: 10px;
    }
    
    #footer a.backlink {
    	position: absolute;
    	display: inline; 
    	top: 47px;
    	left: 250px;
    	color: #9e4a3d;
    	background: url('../images/back.gif') no-repeat 0 50%;
    	padding: 0 10px;
    	font-size: 10px;
    }

  	#footer p.fleft {
  		position: absolute;
  		display: inline;
  		top: 124px;
  		left: 40px;
  		font-size: 10px;
  	}
  	
  	#footer p.fmid {
  		position: absolute;
  		display: inline;
  		top: 120px;
  		left: 376px;
  		color: #bbaa8f;
  		font-size: 12px;
  	}
  	
  	#footer p.fmid a {color: #bbaa8f;}
  
  	#footer p.fright {
  		position: absolute;
  		display: inline;
  		top: 84px;
  		right: 30px;
  		text-align: right;
  		font-size: 10px;
  	}
  	
  	#footer p.fright {
  		position: absolute;
  		display: inline;
  		top: 120px;
  		right: 30px;
  		text-align: right;
  		font-size: 10px;
  	}

ul.subsubsub {
	padding: 2px 16px;
	margin: 0;
	list-style: none;
}

	ul.subsubsub li {
		padding: 0;
		margin: 0;
		display: inline;
		background: transparent;
	}
	
		ul.subsubsub li a {
			display: block;
			background: url('../images/bg_subsubsubsub.gif') no-repeat 0 50%;
			margin: 0;
			padding: 0 0 0 10px;
			color: #9e4a3d;
		}
		
		div#content ul.subsubsub li.sel a {
			font-weight: bold;
		}
		
			ul.subsubsub ul li a {background: url('../images/bg_subsubsubsubsub.gif') no-repeat 0 50%;}
				ul.subsubsub ul ul li a {background: url('../images/bg_subsubsubsubsubsub.gif') no-repeat 0 50%;}
		ul.subsubsub li.sel a {color: #bbaa8f;}
ul.subsubsub ul {padding: 2px 20px;}

/* Lapotajs */

div.pager {
	text-align: right;
	height: 20px;
	margin: 0;
	padding: 9px 0;
	font-size:110%;
	color: #766a56;
}

	div.pager a {
		font-size:80%;
		color: #9e4a3d;
	}
	
	div.pager a.next {
		padding: 0 8px 0 3px;
		background: url('../images/arr_next.gif') no-repeat 100% 60%;
	}

	div.pager a.prew {
		padding: 0 3px 0 8px;
		background: url('../images/arr_prew.gif') no-repeat 0 60%;
	}

/* Arsti */
	
div#people_top {
	height: 20px;
	margin: 25px 0 15px;
	border-bottom: 1px solid #f5f0e8;
}

div#people_top p {
	float: left;
	color: #766a56;
	margin: 0;
	padding: 0;
}

div#people_top ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

	div#people_top ul li {
		float: left;
		padding: 0 0 0 1px;
		margin: 0;
		background: url('../images/people_seperator.gif') no-repeat 100% 50%;
	}

		div#people_top ul li a {
			display: block;
			padding: 0 2px;
			margin: 0;
			color: #9e4a3d;
		}
		
		div#people_top ul li.sel a {
			color: #bbaa8f;
			font-weight: bold;
			text-decoration: underline;
		}
	
table#people {
	padding: 0;
	margin: 0;
	border-collapse: collapse;
	border-top: 1px solid #ebe1d1;
	width: 100%;
}

	table#people td {
		height: 52px;
		vertical-align: center;
		padding: 5px 9px;
		line-height: 140%;
		border-bottom: 1px solid #ebe1d1;
	}
		
		table#people td a {
			color: #9e4a3d;
      padding: 0 0 0 8px;
      margin: 0 0 0 2px;
      background: url('../images/pagepath_bullet.gif') no-repeat 0 6px;
		}
		
		table#people td a.first {
      padding: 0;
      margin: 0;
      background: transparent;
		}
	
	table#people td.people_name {
		border-right: 1px solid #ebe1d1;
		width: 33%;
		color: #766a56;
		font-weight: bold;
		font-size: 120%;
		line-height: 130%;
	}
	
		table#people td.people_name a {
			color: #766a56;
		}
	
/* Jaunumi */

ul#news {
	padding: 0;
	margin: 0;
	list-style: none;
	color: #766b57;
}

div#news {
	padding: 0;
	margin: 56px 0 0 0;
	list-style: none;
	color: #766b57;
}

	ul#news li {
		padding: 0;
		margin: 0;
		display: inline;
	}
	
		#news p.date {
			padding: 1px 0 6px 17px;
			margin: 8px 0 0;
			background: url('../images/icon_date.gif') no-repeat 0 1px;
			position: relative;
			font-size: 90%;
		}
		
		#news p {
			padding: 0;
			margin: 0;
		}
		
		#news a {
			color: #a0493f;
			font-weight: bold;
		}
		
		#news div.line {
			border-bottom: 1px solid #eae1d0;
			clear: both;
			font-size: 1px;
			line-height: 0em;
			margin: 10px 0 14px;
			padding: 0;
		}
		
		#news a.title {
			margin: 0 3px 0 0;
		}
		
/* Formas */

input, textarea {
	background: #eee5d9;
	border: 1px solid #dac8ac;
	padding: 1px;
	font-size: 95%;
	line-height: 90%;
	color: #766a56;
	font-family: arial, verdana, sans-serif;
}

input {
	width: 140px;
}

textarea {
	width: 240px;
}

input#kontaktforma_submit {
	background: url('../images/bg_submit.gif');
	border: 0;
	width: 106px;
	height: 22px;
	padding: 0;
	margin: 3px 0;
	float: right;
	font-weight: bold;
	color: #9e4a3d;
	font-size: 14px;
}

/* Iepirkumi */

h2.iepirkumi {
	padding: 26px 0 2px 0;
}

table.iep_list td {
	color: #766a56;
	font-weight: normal;
	padding: 4px 5px;
	border-left: 1px solid #f5efe8;
	background: #eee2d4;
}

table.iep_list tr.darker td {
	border-left: 1px solid #fff;
	background: #fff;
}

table.iep_list tr td a {
	color: #9e4a3d;
  padding: 0 8px 0 0;
  margin: 0 2px 0 0;
  background: url('../images/sidemenu_sub_bullet.gif') no-repeat 100% 7px;
}

table tr td.iep_title {
	background: #d9c8ac;
	color: #756a58;
	font-weight: normal;
	vertical-align: top;
	width: 180px;
}

table tr.darker td.iep_title {
	background: #f6efe9;
}

#wrapper table.iep_list tr td {
	border: 0;
	border-left: 1px solid #fff;
	padding: 5px 8px;
}

#wrapper table.iep_list tr td a.iep_file {
  background: url('../images/iepirkumi_file.gif') no-repeat 0 3px;
  padding: 0 0 0 11px;
}

/* Mekletajs */

form#search-form {
	border-bottom: 1px solid #f5f0e8;
	padding: 12px 0;
	margin: 16px 0;
}

form#search-form input {
	width: 400px;
}

#content #serach-results p.search-count {
	float: left;
	font-size: 90%;
	padding: 0;
	margin: 9px 0 9px 0;
}

#content #serach-results ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

#content #serach-results ol li {
	padding: 0;
	margin: 15px 15px;
}

#content #serach-results ol li p {
	padding: 0;
	margin: 0;
}

#serach-results ol li a {
	color: #bbaa8f;
	text-decoration: underline;
}

#serach-results ol li a:hover {
	text-decoration: none;
}

#serach-results ol li h4 a {
	color: #9e4a3d;
}



ul#pakalpojumi {
	padding: 0;
	margin: 0;
	list-style: none;
}

	ul#pakalpojumi li {
		padding: 0;
		margin: 3px 0 3px 12px;
		background: transparent url('../images/bg_pakalpojums.gif') no-repeat 0 0;
		display: block;
		float: left;
		width: 278px;
		height: 70px;
	}
	
	ul#pakalpojumi li div {
		position: relative;
		height: 70px;
		width: 278px;
		background-repeat: no-repeat;
		background-position: 7px 7px;
	}
	
	ul#pakalpojumi li div a {
		position: absolute;
		top: 24px;
		left: 90px;
		font-size: 16px;
		line-height: 20px;
		color: #a0360c;
		background: #fff;
		padding: 0 3px;
	}
