﻿html {
	  height: 100%;
	  margin-bottom: 0px;
}

body {
	font-family:calibri, "Times New Roman", Times, serif;
	line-height: 1.3em;
	margin: 0;
	padding: 0;
	font-size: 14px;
	color: #333;
	background: none;
}

a:link, a:visited {
	text-decoration: underline;
	font-weight: normal;
	color: #555;
}

a:hover {
	text-decoration: none;
	font-weight: normal;
	color: #ee7600;
}

p {
	margin-top: 0;
	margin-bottom: 5px;
	text-align: justify;
}

h5 {
	margin: 2px;
}

h4.saraksts {
	margin: 0;
}

h2 {
	margin: 0;
}

h3 {
	margin: 0;
}

p.menu_title2 {
	border-left:1px solid gray; border-right:1px solid gray; border-top:1px solid gray; background:url('images/menu_title.jpg'); margin-top: 5px;
	margin-bottom: 0;
	padding-bottom: 2px;
	padding-top: 3px;
	text-align: center;
	color: #000000;
	font-weight: bold;
	width: 151px;
	height: 20px;
	border-bottom: 0px none;
	-moz-border-radius-topright: 7px;
	-webkit-border-radius-topright: 7px;
	-moz-border-radius-topleft: 7px;
	-webkit-border-radius-topleft: 7px; padding-left:5px; padding-right:5px
}

p.menu_title {
	border-left:1px solid gray; border-right:1px solid gray; border-top:1px solid gray; background:url('images/menu_title.jpg'); margin-top: 5px;
	margin-bottom: 0;
	padding-bottom: 2px;
	padding-top: 4px;
	color: #000000;
	height: 19px;
	font-weight: bold;
	text-align: center;
	width: 157px;
	border-bottom: 0px none;
	-moz-border-radius-topright: 7px;
	-webkit-border-radius-topright: 7px;
	-moz-border-radius-topleft: 7px;
	-webkit-border-radius-topleft: 7px; padding-left:5px; padding-right:5px
}

#poll {
	border: 1px solid gray;
	text-align: center;
	background: url('images/spec_bg.jpg') bottom;
	margin-top: -1px;
	margin-bottom: 20px;
	width: 151px;
	padding: 5px;
	-moz-border-radius-bottomright: 7px;
	-webkit-border-radius-bottomright: 7px;
	-moz-border-radius-bottomleft: 7px;
	-webkit-border-radius-bottomleft: 7px
}

#izmainas {
	border: 1px solid gray;
	text-align: center;
	background: url('images/spec_bg.jpg') bottom;
	margin-top: -1px;
	margin-bottom: 20px;
	width: 151px;
	padding: 5px;
	-moz-border-radius-bottomright: 7px;
	-webkit-border-radius-bottomright: 7px;
	-moz-border-radius-bottomleft: 7px;
	-webkit-border-radius-bottomleft: 7px
}

#poll li {
	list-style-position: inside;
	text-align: left;
	margin-left: 9px;
}

#izmainas ul {
	margin: 0;
	margin-left: -18px;
	text-align: left;
}

p.pollque {
	text-align: center;
}

#online {
	border: 1px solid gray;
	width: 151px;
	background: url('images/spec_bg3.jpg') bottom;
	text-align: center;
	-moz-border-radius-bottomright: 7px;
	-webkit-border-radius-bottomright: 7px;
	-moz-border-radius-bottomleft: 7px;
	-webkit-border-radius-bottomleft: 7px; padding-left:5px; padding-right:5px; padding-top:3px; padding-bottom:3px
}

#menu_content, #menu_content ul {
	border-left:1px solid gray; border-right:1px solid gray; border-top:1px solid gray; border-bottom:0px solid gray; padding-left: 0;
	width: 167px;
	background: url('images/spec_bg2.jpg') repeat-x bottom;
	margin-bottom: 20px; 
	text-align: center;
	-moz-border-radius-bottomright: 7px;
	-webkit-border-radius-bottomright: 7px;
	-moz-border-radius-bottomleft: 7px;
	-webkit-border-radius-bottomleft: 7px; list-style-type:none; margin-left:0; margin-right:0; margin-top:0
}

.menu_content2, .menu_content2 ul {
	border-left:1px solid gray; border-right:1px solid gray; border-top:1px solid gray; border-bottom:0px solid gray; padding-left: 0;
	width: 167px;
	background: url('images/spec_bg3.jpg') bottom;
	margin-bottom: 20px; 
	text-align: center;
	-moz-border-radius-bottomright: 7px;
	-webkit-border-radius-bottomright: 7px;
	-moz-border-radius-bottomleft: 7px;
	-webkit-border-radius-bottomleft: 7px; list-style-type:none; margin-left:0; margin-right:0; margin-top:0
}

#menu_content li, .menu_content2 li {
	border-bottom: 1px solid gray;
	width: 93%;
	#padding-top: 2px;
	#padding-bottom: 2px;
	margin: 0 auto;
	position: relative;
}

#menu_content li ul, .menu_content2 li ul {
	display: none;
	position: absolute;
	background: #FFFFFF url('images/spec_bg.jpg') repeat-x bottom;
	width: 138px;
	top: -3px;
	#top: -4px;
	left: 154px;
	-moz-border-radius-topright: 7px;
	-webkit-border-radius-topright: 7px;
	-moz-border-radius-topleft: 7px;
	-webkit-border-radius-topleft: 7px
}

#menu_content li:hover ul,
#menu_content li.jshover ul,
.menu_content2 li:hover ul {
	display: block;
}


#menu_content a, .menu_content2 a{
	display: block;
	#display: ;
	padding-left: 4px;
	padding: 2px;
	color: #000000;
	text-decoration: none; font-style:normal; font-variant:normal; font-weight:normal; font-size:12px
}

#menu_content li:hover a, .menu_content2 li:hover a {
	color: #FFFFFF;
}

#menu_content li:hover a.one,
.menu_content2 li:hover a.one {
	color: #000000;
}

#menu_content li ul li:hover a.one,
.menu_content2 li ul li:hover a.one {
	color: #FFFFFF;
}

#menu_content li:hover,
#menu_content li.jshover,
.menu_content2 li:hover{
	background: url('images/menu_title2.jpg');
}

#menu_content a:active, .menu_content2 a:active {
	background: #E8E8E8;
}

#page_bg {
	padding: 0;
}

#shadowtop {
	width: 95%;
	min-width: 951px;
	max-width: 1143px;
	background: url('images/shadowtop.jpg') repeat-x bottom;
	height: 13px;
	margin-top: 20px; margin-left:auto; margin-right:auto; margin-bottom:0
}

#shadowleft {
	margin: 0 auto;
	width: 96%;
	min-width: 963px;
	max-width: 1150px;
	background: url('images/shadowleft.jpg') repeat-y left;
}

#shadowright {
	width: 100%;
	margin: 0 auto;
	background: url('images/shadowright.jpg') repeat-y right;
}

#header {
	height: 262px;
	margin: -18px 8px 0 8px;
}

.pill_m {
	#margin-top: -24px;
	#margin-bottom: -10px;
	padding: 0;
	background: url('images/menu.jpg') repeat-x top;
	height: 49px; margin-left:8px; margin-right:8px; margin-top:-24px; margin-bottom:7px
}

#pillmenu {
	margin: 0;
}

#headlogo {
	width: 167px;
	float: left; 
	margin-bottom: -10px;
	height: 262px;
	background: url('images/header_logo.jpg') no-repeat;; margin-left:auto; margin-right:auto; margin-top:0
}

dd#homepDef a { 
	width: 165px;
	height: 248px;
	float: left;
	margin: -13px 0 0 -39px;
	#margin: 0 0 0 -39px;
}

#school {
	height: 250px;
	background: url('images/skola.jpg') no-repeat center;; margin-left:167px; margin-right:162px; margin-top:0; margin-bottom:0
}

#rekv {	
	width: 134px;
	height: 218px;
	float: right;
	background: url('images/header_rekviziti.jpg') no-repeat;; margin-left:0; margin-right:0; margin-top:-250px; margin-bottom:-35px; padding-left:18px; padding-right:10px; padding-top:37px; padding-bottom:0
}

#rekv a:hover {
	color: #333;
}

#footer a:hover {
	color: #333;
}

#center {
	width: 98%;
	margin: 0 auto;
	padding: 0 -25px;
	min-width: 763px;
	max-width: 1100px;
}

#wrapper {
	position:relative;
	text-align:left;
	width:100%;
}

#wrapper2 {
	position:relative;
	text-align:left;
	width:100%;
}

#maincol {
	position:relative;
	margin:0;
	padding:10px;
}

#leftcolumn { 
	position:relative;
	float:left;
	width:200px;
	z-index: 99;
}

#rightcolumn {
	position:relative;
	float:right;
	width:170px;
	margin-right: -7px;
	margin-left: 20px;
	#margin-left: 0;
	z-index: 98;
}

#centercol {
	position: relative;
	padding: 0 180px 0 180px;
	z-index: 97;
	margin-top: -30px;
}

#footer {
	background: #9E9E9E url('images/bg_footer.jpg') repeat-x left top;
	clear: both;
	margin: 0 8px;
	text-align: center;
	height: 90px;
	vertical-align: top;
	padding-top: 10px
}

#footer img {
  border: none;
  margin: 0 0 -7px 3px;
}

div.cont{
	width: 100%;
	#width: 94.9%;
	margin: 30px 0;
	border: 1px solid #cccccc;
	padding: 2px;
}

#cont2{
	width: 100%;
	#width: 94.9%;
	margin: 0;
	border: 1px solid #cccccc;
	padding: 2px;
}

div.title{
	background: url('images/art_title.jpg');
	padding: 3px
}

div.title h5{
	text-align: right;
}

div.rest {
	background: url('images/spec_bg.jpg') bottom;
	margin-top: 2px; padding-left:7px; padding-right:7px; padding-top:7px; padding-bottom:27px
}

div.rest h1 {
	color: #ee7600;
}

#banners, #banners22 {
	text-align: center;
	padding: 5px;
	margin-top: 20px;
}

#banners h3 {
  width: 87px;
  margin-left: 40px;
}

img.banner {
	width: 145px;
	border: none;
	margin-top: 14px;
}

img.banner2 {
	width: 70px;
	border: none;
	margin-top: 14px;
}

img.banner3 {
	width: 125px;
	border: none;
	margin-top: 14px;
	margin-right: 23px;
}

#banners h3, #banners22 h3 {
	color: #ee7600;
	border-bottom: 2px solid #ee7600;
}

div.rest a {
	color: #ee7600;
}

div.rest a:hover {
	color: #555;
}

div.darbinieki {
	width: 97%;
	height: 135px;
	margin: 3px auto;
	padding: 3px;
	border-bottom: 1px solid #ee7600;
}

div.photo {
	float: left;
	margin: 0 auto;
	padding: 0;
	width: 88px;
}

div.photo img {
	height: 125px;
	width: 88px;
}

div.parejais {
	margin-left: 90px;
	height: 90px;
	padding: 20px 0;
	text-align: center;
}

a.logout {
	float: right;
	margin-right: 10px;
}

a.logout img {
	border: none;
}

p.welcome {
	color: white;
	margin: 8px 0 0 18px;
	float: left;
	font-size: 16px;
}

a.users {
	float: right;
	margin: 0 65px 0 0;
}

a.users img {
	border: none;
	margin-top: 1px;
	margin-bottom: -4px;
}

#editp {
	float: right;
}

#editp img {
	border: none;
	height: 35px;
}

a.editcopyright {
	
}

a.editcopyright img {
	border: none;
	height: 35px;
}

#clock {
	margin: -23px 0 -15px -8px;
	#margin: -23px 0 -19px -8px;
}

img.pencillarge {
	margin: 255px 0 0 -25px;
	#position: relative;
}

a.newsdel {
	float: right;
}

a.newsdel img {
	border: none;
	height: 25px;
}

a.rezultati {
	color: #ee7600;
	text-decoration: none;
}

a.rezultati:hover  {
	color: #555;
	text-decoration: none;
}

a.poll {
	float: right;
}

a.poll img {
	border: none;
}

#editchanges {
	float: right;
	margin: -80px 0 0 0;
}

#editchanges img {
	border: none;
	height: 35px;
}

#editpeda {
	float: right;
}

#editpeda img {
	border: none;
	height: 35px;
}

input.uparrow {
	height: 22px;
}

#warning {
	text-align: center;
	color: red;
}

#warning2 {
	text-align: center;
	color: red;
	margin: -20px 0 10px 0;
}

#photoparam {
	color: #ee7600;
}

a.newpage {
	float: right;
	margin-top: 2px;
}

a.newpage img {
	border: none;
	height: 40px;
}

a.admin {
	float: right;
	margin-top: -20px;
}

#optimized {
	float: left;
	margin-top: -20px;
}

#optimized img {
	height: 20px;
}

a.uploadimg {
	float: right;
}

a.uploadimg img {
	border: none;
	height: 35px;
}

a.uploadfile {
	float: right;
}

a.uploadfile img {
	border: none;
}

form.ie7res {
	#margin-bottom: 0;
}

#sklogin {
	border: 1px solid #ee7600;
	width: 300px;
	margin: 0 auto;
	margin-top: 75px;
}

#sklogin2 {
	background: url('/images/loginform.jpg');
	border: 1px solid #FFFFFF
}

input {
	font-family: Times new roman;
}

img.deleteitem {
  border: none;
  height: 20px;
}

.morebox {
  text-align: center;
  width: 168px;
  height: 36px;
  margin: 0 auto;
  border: 1px solid gray;
  padding: 0;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

.morebox img {
  padding: 10px;
}

.morebox a {
  display: block;
  color: #777777;
  font-family: tahoma;
  text-decoration: none;
  padding: 7px;
  font-weight: bold;
  font-size: 12px;
  height: 22px;
  background: url('images/morebutton.jpg') bottom;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px
}

.morebox a:hover {
  color: #777777;
  background: url('images/morebutton2.jpg') top;
}
