html, body, form, fieldset {
        margin: 0;
        padding: 0;
}

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

fieldset {
        border: none;
}

html, body, #page {
  width: 100%;
  height: 100%;
  background: #373838;
}

.hidden, legend { display: none !important; }

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

#pagewrapper {
  height: 1px;
  vertical-align: middle;
}

	#wrapper {
	  position: relative;
	  margin: 0 auto;
	  width: 994px;
	  height: 768px;
	  background: url('../images/wrapper.png') no-repeat 0 0;
	}
	
		#mainmenu ul {
		  margin: 0;
		  padding: 0;
		  list-style: none;
		}
		
			#mainmenu li {
			  position: absolute;
			  margin: 0;
			  padding: 0;
			  background: transparent;
			}
			
			#mainmenu li#ievads { top: 296px; left: 34px; }
			#mainmenu li#komercija { top: 199px; left: 180px; }
			#mainmenu li#internets { top: 294px; left: 338px; }
			#mainmenu li#majaslapa { top: 208px; left: 542px; }
			#mainmenu li#regulejums { top: 295px; left: 728px; }
			
			 	#mainmenu li a {
			 	  padding: 41px 8px 30px 94px;
			 	  font: normal 14px/16px "Century Gothic", georgia, verdana, serif;
			 	  color: #fff;
			 	  text-decoration: none;
			 	  text-transform: lowercase;
				}
				
				#mainmenu li a:hover { text-decoration: underline; }
				
	#addmenu {
	  position: absolute;
	  bottom: 15px;
	  left: 4px;
	}
	
	  #addmenu ul, #sitetools ul {
	    margin: 0;
	    padding: 0;
	    list-style: none;
	  }
	  
		  #addmenu li, #sitetools li {
		    float: left;
		    display: inline;
		    margin: 0 0 0 26px;
		    padding: 0;
		    background: transparent;
		  }
		  
		  #addmenu a, #contactform input#contacts-send {
		    display: block;
		    background: url('http://pro.ri.lv/ekomercija/images/st-more.gif') no-repeat 100% 50%;
		    color: #0F85AB;
		    font: normal 18px/20px "Century Gothic", georgia, serif;
		    padding: 2px 30px 2px 0;
		    text-decoration: none;
		  }
		  
		  #addmenu ul li#questions a { background: url('../images/st-questions.gif') no-repeat 100% 50%; }
		  
		  #addmenu a:hover { text-decoration: underline; }
		   	
	#sitetools {
	  position: absolute;
	  right: 30px;
	  bottom: 12px;
	}
	
	  #sitetools ul li { margin: 0 0 0 10px; }
	  
	  #sitetools img { border: none; }
				
	#footer {
	  position: absolute;
	  bottom: 65px;
	  right: 15px;
	  color: #0F85AB;
	  font: normal 14px/16px "Century Gothic", georgia, verdana, serif;
	  margin: 0;	  
	  padding: 0;
	}
	
	#pagepath {
	  position: absolute;
	  top: 0;
	  left: 0;
	  color: #62CDFA;
	  background: #fff url('../images/pagepath.gif') no-repeat 0 0;
	  margin: 0;
	  padding: 2px 0 0 30px;
	  font: normal 12px/14px "Century Gothic", georgia, serif;
	  text-transform: lowercase;
	}
	
		#pagepath a {
		  color: #62CDFA;
		  font: normal 12px/14px "Century Gothic", georgia, serif;
		  text-decoration: none;
		  padding: 0 15px 0 0;
		  margin: 0 10px 0 0;
		  background: url('../images/pagepathsep.gif') no-repeat 100% 50%;
		}
		
		#pagepath a:hover { text-decoration: underline; }
		
		#pagepath span { float: left; }
	
	#pagepath span#corner {
	  display: block;
	  margin: 0 0 0 25px;
	  width: 14px;
	  height: 16px;
	  font-size: 14px;
	  background: #fff url('../images/pagepathspan.gif') no-repeat 0 100%; 
	}
	
	#pagetitle {
	  position: absolute;
	  top: 64px;
	  left: 166px;
	  width: 669px;
	}
	
	  #pagetitle a {
	    position: absolute;
	    top: 0;
		}
		
		#pagetitle a#nav-back { left: 0; }		
		#pagetitle a#nav-fwrd { right: 0; }
		
		#pagetitle h1 {
		  margin: 0 53px;
		  color: #0F85AB;
		  font: normal 30px/35px "Century Gothic", georgia, serif;
		  text-transform: lowercase;
		  text-align: center;
		}
	
	
  #submenu {
    position: absolute;
    left: 275px;
    top: 191px;
	}
	
	  #submenu ul {
	    margin: 0;
	    padding: 0;
	    list-style: none;
	  }
	  
	  #submenu li {
	    display: inline;
	    margin: 0;
	    padding: 0;
	    background: none;
	  }
	  
	  #submenu a {
	    display: block;
	    margin: 0 0 11px;
	    padding: 0 0 0 15px;
	    color: #EFF3F2;
	    font: normal 14px/19px "Century Gothic", georgia, serif;
	    text-decoration: none;
		}
		
		#submenu a:hover { text-decoration: underline; }
		
  #sidebar, #content {
    position: absolute;
    top: 161px;
    left: 33px;
    width: 207px;
	}
	
	  #sidebar ul {
	    width: 207px;
	    margin: 0;
	    padding: 16px 0 0;
	    list-style: none;
		}
		
			#sidebar li {
			  display: inline;
		    margin: 0;
		    padding: 0;		    	    
			}	
			
			#sidebar a {
			  display: block;
			  width: 194px;
		    color: #EFF3F2;
		    background: url('../images/submenu.gif') no-repeat 0 0;	
		    font: normal 14px/16px "Century Gothic", georgia, serif;
		    text-decoration: none;
		    padding: 2px 0 0 13px;
		    margin: 0;
			}
			
			#sidebar span {
			  display: block;
			  width: 207px;
			  height: 4px;
			  font-size: 4px;
			  background: url('../images/submenuspan.gif') no-repeat 0 0;
			  margin: 0 0 2px;
			}
			
			#sidebar li.sel a { background: url('../images/submenusel.gif') no-repeat 0 0; }
			#sidebar li.sel span { background: url('../images/submenuselspan.gif') no-repeat 0 0; }
			
			#sidebar a:hover { text-decoration: underline; }
	
	#content {
	  left: 240px;
	  width: 754px;
	  height: 522px;
	  background: url('../images/content.png') repeat-x 0 0;
	}
	
	  #innercontent {
	    margin: 0 6px 0 0;
	    padding: 16px 34px;
	    height: 490px;
	    background: url('http://pro.ri.lv/ekomercija/images/contentbg.png') no-repeat 0 100%;    
		}
		
		#pagecontent {
		  height: 490px;
		  margin: 0;
		  padding-right: 10px;
	    overflow: auto;
		}
		
		h1 {
		  color: #093A4B;
		  font: bold 16px/22px "Century Gothic", georgia, serif;
		  margin: 15px 0;
		  padding: 0;
		}
		
#contactform {
  position: absolute;
  top: 350px;
  left: 80px;
  width: 415px;
}

  #contactform p { color: #fff; }

  #contactform h2 {
    margin: 0 0 15px;
    padding: 0 0 0 5px;
    font: normal 28px/28px "Century Gothic", georgia, serif;
    color: #fff;
    text-transform: lowercase;
	}

  #contactform input, #contactform textarea {
    background: #81BDCF;
    border: 1px solid #fff;
    color: #fff;
    width: 200px;
    padding: 2px 5px 0;
    font: normal 11px verdana, sans-serif;
    height: 15px;
	}
	
	#contactform textarea {
	  padding: 5px;
	  height: 110px;
	  overflow: auto;
	}
	
	#contactform input#contacts-send {
	  display: block;
	  border: 0;
	  padding: 0 20px 0 0;
	  margin: 0 10px 0 110px;
	  color: #fff;
	  width: 100px;
	  height: 24px;
	  background: url('../images/st-more-contacts.gif') no-repeat 100% 50%;
	  text-transform: lowercase;
	}
	
	#banneris {
	  position: absolute;
	  bottom: 63px;
	  left: 10px;
	}