body {
margin:0; padding:0; font-family:verdana, arial, sans-serif; font-size: 80%; text-align:center;
background-image: url(/media/images/f_h2.jpg);
background-repeat: repeat-x;
background-position: top;}

p {
margin:0.2em 0 1.2em 0
; padding:0.3em;
}

h1 {
padding:0; margin:0.5em;
font-size: 18px; font-style:italic; 
color: #b70c0c;
font-family: Verdana, Helvetica, Arial, sans-serif;
text-transform: uppercase;
letter-spacing: 0.1em;}

h2 {
color: #78b73e; font-size: 90%;  
font-style: normal;
font-family: Verdana, Helvetica, Arial, sans-serif;
border-bottom: 1px #cccccc dashed;
font-weight: bold;}



div {
margin:0; padding:0; display:block;}

a:link, a:visited {
color: #38672e;}
a:hover {
color:#3B4471; text-decoration:none;}
a:active {
color:#8CD749; text-decoration:underline;}
img {border: 0px;}



.container {
 margin:0 auto 0 auto; padding:0; width:100%;
background-image: url(/media/images/footer.jpg);
background-repeat: no-repeat;
background-position: left bottom;}

.titleblock {
text-align:left;
//background-image: url(/media/images/h_osw3.jpg); background-position: top right;
height: 142px;
background-repeat: no-repeat;}

.titleblock p {
color: #8ba249;
text-transform: lowercase;
text-indent: 1em;
font-style: normal;
font-size: 14px;
}



ul.navbar {
list-style-type:none; float:left; display:block; width:100%; line-height: 1.4em ;
clear:both; margin:0;padding:0;  background-color: #fafafa;
border-bottom: 1px #e7e7e7 solid;}

ul.navbar li {
display:inline;}

a.nav:link, a.nav:visited {
display:block; float:left; width: 150px; margin:0; 
text-decoration:none; background-color: #fafafa ;color: #000000;
font-weight: bold;
font-size: 1.0em;}

a.nav:hover {
display:block; float:left; width: 150px; margin:0; 
text-decoration:none;
color:#ffffff;
background-color: #78b73e;
font-weight: bold;
}

a.nav:active {
display:block; float:left; width: 150px; margin:0;
text-decoration:none; background-color:#999999; color:#FFFFFF;}

a.subnav:link, a.subnav:visited {
display:block; float:left; width: 150px; margin:0;
text-decoration:none; background-color: #fafafa ;
color: #38672e;
font-size: 1.0em;
font-weight: bold;}

a.subnav:hover {
display:block; float:left; width: 150px; margin:0;
text-decoration:none;
color:#ffffff;
background-color: #38672e;
font-weight: bold;}

a.subnav:active {
display:block; float:left; width: 150px; margin:0;
text-decoration:none; background-color:#999999; color:#FFFFFF;}

a.bodynav:link, a.bodynav:visited {
display:block; float:left; margin:0; 
text-decoration:none; color: #000000;
font-weight: bold;
font-size: 1.0em;}

a.bodynav:hover {
display:block; float:left; margin:0; 
text-decoration:none;
color:#ffffff;
background-color: #78b73e;
font-weight: bold;
}

a.bodynav:active {
display:block; float:left; margin:0;
text-decoration:none; background-color:#999999; color:#FFFFFF;}

.rightcontainer {
float:right; clear:both; width:13em; margin: 3.4em 0em 0em 0em;
padding-top: 0em;
background-color: #fafafa;}

.rightbox {
margin:0; padding:0;  text-align:center;
border: 1px #ededed solid;}

.rightcontainer h2 {
text-align:left; padding:0 0 0 1.5em;}

.linkbox a {display:block;}



.content {
clear:left; text-align:left; margin:1.2em 13.5em 0 0; padding: 0em 1ex 1em 1ex}

.content h2 {text-indent:3em;}



.footer {
color: #000000; padding:0.8em; 
text-align: right;clear:both;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 75%;
border-bottom: 1px #e3e3e3 solid;}

.footer .right {
float:right; clear:right;
text-align:right;
}

.footer p {margin:0;}

.bullet {
	background: url('../images/bullet.png') center center no-repeat;
	padding: 0px 5px 0px 5px;
}

fieldset {
    #background-color: #d8d9d1;
}

fieldset .left {
        float: left;
        width: 280px;
        background: url('../images/thead_fill.jpg') left top repeat-x;
        background-color: #f1f1f9;
        margin-top: 5px;
        padding: 3px;
        margin-left: 5px;
}
        
fieldset .right {
        background-color: #d1d1b1;
        border: 1px solid #000;
        padding: 3px;
        margin-left: 5px;
        margin-top: 5px;
        font-weight: bold;
        float: right;
        width: 280px;
}

fieldset legend {
	font-weight: bold;
	border: 1px solid #ccc;
	padding: 5px;
	background-color: #d8d9d1;
}

/* Tables */
table {
	font-size: 11px;
	border-collapse: collapse;
}
table td {
	padding: 3px;
}

table.galds {
	width: 100%;
}

table.galds td {
	border: 1px solid #DDD;
}
tfoot.galds td {
	background: url('../images/tfoot_fill.jpg') left bottom repeat-x;
}
thead.galds td {
	background: url('../images/thead_fill.jpg') left top repeat-x;
}	
tfoot.galds td, thead.galds td {
	font-weight: bold;
	border: 1px solid #d5d5d5;
	padding: 3px;
	text-align: center;
	font-family: Arial;
	background-color: #f1f1f1;
	color: #000;
}
tbody.galds td, fieldset td {
	border: 1px solid #d5d5d5;
	background-color: #f1f1f1;
}

tbody.galds td a{
	text-decoration: underline;
}

tbody.galds .center {
	text-align: center;
}

tfoot td a, 
thead td a,
tfoot td a:hover, 
thead td a:hover{
	color: #000;
}
tfoot td {
	height: 30px;
	line-height: 30px;
}
thead td {
	height: 30px;
	line-height: 30px;
}
/*  Dalīšana lapaspusēs */
.pwrap {
	margin: 3px 0px 3px 0px;
}

.pwrap a {
	border: 1px solid #ccc;
	background-color: #862727;
	color: #f5f5e5;
	padding: 2px;
	margin: 1px;
	width: 20px;
	height: 20px;
	display: block;
	float: left;
	text-align: center;
}

.pwrap a:hover {
	border: 1px solid #c73a3a;
	font-weight: bold;
	margin: 1px;
	text-decoration: none;
}

.pwrap a.active  {
	background-color: #fbf6af;
	color: black;
}

.pwrap a.navigate  {
	width: 30px;
	color: #FFF;
	font-size: 1em;
}
.warning_message {
	background-color: red;
}
input {
    border:1px solid grey;
}
input:active,input:hover,input:focus {
    background-color:#FFFFEE;
}
textarea {
    border:1px solid grey;
}
textarea:active,textarea:hover,textarea:focus {
    background-color:#FFFFEE;
}
select {
    border:1px solid grey;
}
select:active,select:hover,select:focus {
    background-color:#FFFFEE;
}
div.auto_complete {
	width: 350px;
	background: #fff;
}
div.auto_complete ul {
	border:1px solid #888;
	margin:0;
	padding:0;
	width:100%;
	list-style-type:none;
}
div.auto_complete ul li {
	margin:0;
	padding:3px;
}
div.auto_complete ul li.selected { 
	background-color: #ffb; 
}
div.auto_complete ul strong.highlight { 
	color: #800; 
	margin:0;
	padding:0;
}
