* {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;  
}

body {
background: #FFF;
margin: 0;
padding: 0;
}

a {
text-decoration: underline;
color: #818181;
}

a:hover {
color: #FF6103;
}

div#main {
margin: 0 auto 0;
padding: 0;
width: 997px;
border: 1px solid;
border-color: #716F64 #EEEDE5 #EEEDE5 #716F64;
}

/* S: Augsheejaa bilde un logo*/
div#top {
background: url(/images/top.jpg) no-repeat;
width: 997px;
height: 260px;
}

#top a {
position: relative;
top: 110px;
left: 60px;
width: 155px;
height: 85px;
display: block;
}

#top a span {
display: none;
}
/* B: Augsheejaa bilde un logo*/

/* S: Apaksheejaa dalja */
div#bottombg {
width: 997px;
float: left;
}

div#bottom {
background: url(/images/bottom.jpg) no-repeat scroll bottom;
width: 997px;
float: left;
}

/* S: Navigaacija */
div#navcontanier {
width: 259px;
margin: 0;
padding: 0;
float: left;
}

div#navcontanier #left_bg {
background: url(/images/left_bg.jpg) repeat-y scroll left;
width: 259px;
float: left;
}

div#navcontanier #left_1 {
background: url(/images/left_1.jpg) no-repeat top left;
margin: 0;
padding: 0;
width: 259px;
height: 175px;
float: left;
}

html>body div#navcontanier #left_1 {
height: auto;
min-height: 175px;
}


#navcontanier #left_2 {
position: relative;
margin: 0;
padding: 0;
background: url(/images/left_2.jpg) no-repeat scroll top left;
width: 259px;
float: left;
}

#navcontanier #partneri {
margin: 0;
padding: 280px 0 0 36px;
float: left;
}

div#menu {
width: 183px;
margin: 0 0 0 0px;
padding: 0 0 0 32px;
float: left;
}

#menu #end {
padding: 0;
margin: 0;
list-style-type: none;
border-bottom: none;
vertical-align: middle;
color: #33587F;
}

#menu ul {
padding: 0;
margin: 0;
}

#menu ul li {
padding: 0;
margin: 0;
list-style-type: none;
border-bottom: 1px solid #CCCCCC;
vertical-align: middle;
color: #33587F;
}

#menu ul li a {
background: url(/images/li_1.gif) no-repeat scroll left;
display: block;
padding: 4px 0 4px 17px;
margin: 0 7px 0 14px;
text-decoration: none;
color: #000;
}

#menu ul li a:hover {
background-image: url(/images/li_2.gif);
color: #F00;
text-decoration: underline;
}

#menu ul li a#active {
background-image: url(/images/li_2.gif);
color: #F00;
text-decoration: underline;
}

#menu ul li ul {
padding: 0;
margin: 0;
}

#menu ul li ul li {
padding: 0;
margin: 0;
list-style-type: none;
border-top: 1px solid #CCCCCC;
border-bottom: 1px solid #FFF;
vertical-align: middle;
font-size: 93%;
color: #33587F;
}

#menu ul li ul li a {
background: url(/images/li_1.gif) no-repeat scroll left;
display: block;
padding: 4px 0 4px 17px;
margin: 0 7px 0 30px;
font-size: 93%;
color: #404040;
}

#menu ul li ul li a:hover {
background-image: url(/images/li_2.gif);
color: #F00;
text-decoration: underline;
}

#menu ul li ul li a#active {
background-image: url(/images/li_2.gif);
color: #F00;
text-decoration: underline;
}
/* B: Navigaacija */


/* S: Teksts */
div#content {
background: url(/images/center.jpg) no-repeat scroll top right;
position: relative;
width: 520px;
height: 640px;
margin: 0;
padding: 0;
float: left;
}

html>body div#content {
height: auto;
min-height: 640px;
}

div#textcontainer {
margin: 0;
padding: 10px 30px;
text-align: justify;
}

#textcontainer p {
margin: 15px 0 5px 0;
}

#textcontainer h1 {
padding: 0;
margin: 0;
font-family:  Times New Roman, Times, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
text-align: left;
color: #000;
}

#textcontainer h2 {
padding: 0;
margin: 15px 0 0 0;
text-align: left;
color: #000;
font-weight: bold;
}


div#news {
margin: 0;
padding: 0;
}

div#news_1 {
width: 210px;
margin: 0;
padding: 0;
float: left;
}

div#news_2 {
width: 210px;
margin: 0;
padding: 0;
float: right;
}

#textcontainer .news_date {
color: #999999;
}

.more {
margin: 15px 0;
padding: 2px 0 5px 0;
width: 52px;
background-color: #C1C1C1;
text-align: center;
vertical-align: middle;
}

.more a {
color: #FFF;
}

.more a:hover {
color: #000;
}

table.bordered {
border-collapse: collapse;
}

table.bordered tr th,
table.bordered tr td {
border: 1px solid #bbb;
}

/* Visi pasakumi  (Ugis 06.06.06.)
**************************************************/
ul.pasakumiAll {
list-style: none;
margin: 0;
padding: 0;
}

ul.pasakumiAll li {
border-bottom: 1px solid #ccc;
padding: 0 10px 10px;
}

ul.pasakumiAll li.right_date {
border: 0;
padding: 10px 10px 0;
}

ul.pasakumiAll li a {
background: url(img/li_3.gif) no-repeat right center;
padding-right: 15px;
}

ul.pasakumiAll li a:hover {
background: url(img/li_4.gif) no-repeat right center;
padding-right: 15px;
color: #f00;
}

/*  Foum (Ugis 06.06.06.)
******************************************************/
div.pages {
padding-bottom: 15px;
white-space: normal;
}

  div.pages a {
  padding: 0 2px;
  }

  div.pages a.active {
  text-decoration: none;
  color: #f00;
  }


div.forumArticle {
padding: 15px 0;
border-bottom: 1px solid #ccc;
border-collapse: collapse;
}

  div.forumArticle .topic {
  padding-top: 10px;
  font-weight: bold;
  }

div.newTopic {
padding-top: 20px;
}
  
  h1.newTopic {
  margin: 5px 0 10px ! important;
  }
  

  div.newTopic div {
  margin-bottom: 5px;
  }

  div.newTopic div label {
  display: block;
  float: left;
  width: 130px;
  }

  div.newTopic div.submit {
  padding-left: 260px;
  }

/*  Foum Inside (Ugis 06.06.06.)
******************************************************/
h1.comment {
font-size: 18px ! important;
margin: 25px 0 0 ! important;
}

h1.addComment {
font-size: 17px ! important;
margin-bottom: 5px ! important;
}

div.comment {
margin-top: 15px;
padding-bottom: 15px;
border-bottom: 1px dashed #ccc;
}


div.content {
margin-top: 10px;
}

/* S: Labs teksts */
div#right {
background: url(/images/tuv_pasakumi.jpg) no-repeat scroll top right;
position: relative;
width: 210px;
float: right;
}

#right ul {
width: 177px;
min-height: 160px;
padding: 114px 0 0 14px;
margin: 0;
}

#right ul li {
padding: 0 0 5px 0;
margin: 0;
list-style-type: none;
border-bottom: 1px solid #CCCCCC;
vertical-align: bottom;
color: #33587F;
}

#right ul li.right_date {
padding: 5px 0 0 17px;
margin: 0;
list-style-type: none;
border-bottom: none;
color: #000;
}

#right ul li a {
background: url(/images/li_3.gif) no-repeat right center;
padding: 0 15px 3px 17px;
margin: 0 7px 0 0;
text-decoration: underline;
color: #000;
}

#right ul li a:hover {
background: url(/images/li_4.gif) no-repeat right center;
color: #F00;
text-decoration: underline;
}

#right ul li a#active {
background: url(/images/li_4.gif) no-repeat right center;
color: #F00;
text-decoration: underline;
}

#right #auto {
margin: 0;
padding: 20px 0 20px 10px;
}

#right #right_auto {
margin: 0;
padding: 0 0 20px 10px;
}

#right p {
margin: 0;
padding: 5px 15px;
}

#right p.bold {
font-weight: bold;
}

.right_more {
margin: 5px 10px;
padding: 2px 0 5px 0;
width: 98px;
background-color: #C1C1C1;
text-align: center;
vertical-align: middle;
}

.right_more a {
color: #FFF;
}

.right_more a:hover {
color: #000;
}
/* B: Labs teksts */
/* B: Teksts */

/* S: Galerijas */
/* Visas Galerijas */
ul.galAll {
list-style: none;
margin: 0;
padding: 0;
}

ul.galAll li {
padding: 8px 0;
clear: left;
}

ul.galAll li a img {
float: left;
margin-right: 10px;
border: 3px solid #A0A0A0;
}

ul.galAll li a {
text-decoration: none;
}

ul.galAll li a span.galAllName {
font-weight: bold;
color: #000;
}

ul.galAll li span.galAllDate {
color: #8C8C8C;
}

/* Viena galerija */
p.galOne {
padding: 0 5px;
width: 104px;
float: left;
}

p.galOne a img {
border: 2px solid #A0A0A0;
}


div.gal span.name {
font-weight: bold;
}

div.gal span.date {
color: #8C8C8C;
}

a.galBack {
color: #818181;
background: url(/images/li_1.gif) 0 center no-repeat;
padding-left: 15px;
clear: left;
}

/* Viena bilde */
table.galInside {
width: 460px;
margin: 15px 0 15px;
}

table.galInside td {
width: 50%;
}

table.galInside td.right {
text-align: right;
}

table.galInside td.img {
width: 100%;
text-align: center;
padding: 5px 0;
}


table.galInside td.img a img {
border: 1px solid #A0A0A0;
}

/* B: Galerijas */

/* S: Random auto */
div#random_auto {
margin: 0;
padding: 0;
height: 75px;
vertical-align: top;
}

#random_auto #auto_1 {
margin: 0;
padding: 0;
float: left;
}

#auto_1 img {
border: 1px solid #A8A8A8;
}

#random_auto #auto_name {
width: 260px;
margin: 0;
padding: 0 0 0 10px;
float: left;
font-family: Georgia, Verdana, Arial;
font-size: 18px;
font-weight: bold;
color: #9F9F9F;
}

#textcontainer .auto_title {
margin: 15px 0 0 0;
padding: 4px 0;
font-weight: bold;
color: #5E5D5D;
border-bottom: 1px solid #D9D9D9;
}
/* B: Random auto */

div#textbottom {
position: relative;
clear: both;
background: #FFF;
width: 997px;
height: 80px;
}

#textbottom div#kontakti {
margin: 0;
padding: 25px;
color: #525252;
float: left;
}

#textbottom div#kontakti a {
text-decoration: underline;
color: #FF0000;
}

#textbottom div#kontakti a:hover {
color: #000;
}

#datateks {
clear: both;
margin-left: 291px;
height: 53px;
}

#datateks a {
display: block;
width: 45px;
  height: 38px;
}

#datateks a#host {
  height: 15px;
}

#datateks a span {
display: none;
}
/* B: Apaksheejaa dalja */
