
body, div, li, td, th, span, input, textarea, table, form, p, h1,h2,h3,h4,h5,h6,h7  {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #545454;
}

h1,h2,h3,h4,h5 {
  color: #191919;
  margin: 2px;
  margin-bottom: 8px;
  font-family: Arial, sans-serif;
}

h1 { font-size: 14px; }
h2 { font-size: 13px; }
h3 { font-size: 12px; }
h4 { font-size: 11px; }
h5 { font-size: 10px; }

h1 a, h2 a, h3 a, h4 a, h5 a {
  color: inherit;
  background: inherit;
  font-size: inherit;
  font-family: inherit;
  text-decoration: inherit;
}


html {
  height: 100%;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}
th {
  text-align: left;
}


td {
  padding: 2px;
}

form {
  margin: 0;
  padding: 0;
}

a {
  color: #303030;
  text-decoration: underline;
}

a img {
  border: 0;
}

a:hover {
  text-decoration: none;
}


p {
  margin: 0;
  margin-top: 3px;
  margin-bottom: 3px;
  padding: 0;
}

ul {
  margin: 0;
}

input[type=text], select, textarea {
  border: 1px solid #b0aeae;
}

input[type=text] {
  width: 140px;
}

.clear {
  clear: both;
}

ul.menu, ul.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.menu li {
  margin: 0;
  padding: 0;
}


body {
  background: #bfd6f6;
  margin: 0;
  padding: 0;
  position: relative;
}

#main {
  width: 980px;
  min-height: 1141px; 
  margin: 0 auto;
  background: url("/images/html/mid.jpg") no-repeat;
  position: relative;
  z-index: 10;  
}

#bg_left {
  position: absolute;
  left: 50%;
  top: 0;
  width: 470px;  
  height: 1141px;
  margin-left: -960px;
  background: url("/images/html/left.jpg") no-repeat;
  z-index: 0;
}

#bg_right {
  position: absolute;
  left: 50%;
  top: 0;
  width: 50%;
  height: 1141px;
  background: url("/images/html/right.jpg") no-repeat 490px 0;
  z-index: 0;
  margin-left: -1px;
}

#bg_footer_left {
  position: absolute;
  left: -470px;
  top: 0px;
  width: 470px;  
  height: 243px;
  background: url("/images/html/footer_left.jpg") no-repeat;
  z-index: 0;
}

#bg_footer_right {
  position: absolute;
  left: 50%;
  bottom: -153px;
  width: 50%;
  height: 243px;
  background: url("/images/html/footer_right.jpg") no-repeat 490px; 
  z-index: 0;
  margin-left: -1px;
}



#top {
  height: 275px;
}
#top > .inner {
  position: relative;
  left: -1px;
  top: 12px; 
  height: 243px;
}

#top .logo {
  position: absolute;
  left: 0;
  top: 0;
  width: 480px;
  height: 243px;
  background: url("/images/html/top_logo.png") no-repeat;
}
#top .logo h1 {
  margin: 0;
  padding: 0;
}
#top .logo h1 a {
  display: block;
  width: 248px;
  height: 181px;
  margin-left: 64px;
  background: transparent;
  text-indent: -9999px;
  outline: none;
}


#top .slide {
  position: absolute;
  right: 0;
  top: 0;
  width: 665px;
  height: 243px;
}

#midbg {
  width: 665px;
  height: 243px;
  position: absolute;
  right: 0;
  top: 0;
}
#midbg2 {
  width: 665px;
  height: 243px;
  position: absolute;
  right: 0;
  top: 0;
  background: url("/images/html/slide1.jpg") no-repeat right top;
}

#c1 {
  width: 7px;
  height: 7px;
  position: absolute;
  right: 0;
  top: 0;
  background: url("/images/html/c1.png") no-repeat;
}

#c2 {
  width: 7px;
  height: 6px;
  position: absolute;
  right: 0;
  bottom: 0;
  background: url("/images/html/c2.png") no-repeat;
}

#top .nameday {
  position: absolute;
  right: 17px;
  bottom: 20px;
}
#top .nameday .mid {
  white-space: nowrap;
  height: 36px;
  background: url("/images/html/panel4_mid.png") repeat-x;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 3px;
  color: #0f4490;
  font-size: 13px;
  text-align: center;
  float: left;
}
#top .nameday .l {
  width: 4px;
  height: 39px;
  background: url("/images/html/panel4_left.png") no-repeat;
  float: left;
}
#top .nameday .r {
  width: 5px;
  height: 39px;
  background: url("/images/html/panel4_right.png") no-repeat;
  float: left;
}
#top .nameday .r {
}

#top .langs {
  position: absolute;
  right: 17px;
  top: 18px;
  width: 226px;
  height: 27px;
  line-height: 27px;
  text-align: center;
  background: url("/images/html/bg_lang.png") no-repeat;
  color: #0f4490;
  font-family: Verdana, sans-serif;
  font-size: 11px;
}
#top .langs a {
  color: #0f4490;
  font-family: Verdana, sans-serif;
  font-size: 11px;
  text-decoration: none;
}
#top .langs a:hover {
  color: #c80e13;
}
#top .langs a.active {
  text-decoration: underline;
  color: #c80e13;
}

#top .pages {
  position: absolute;
  right: 20px;
  bottom: -7px;
  z-index: 10;
}
#top .pages a {
  display: inline-block;
  width: 20px;
  height: 43px;
  background: url("/images/html/page_n.png") no-repeat;
  margin-right: 3px;
  text-align: center;
  line-height: 46px;
  color: white;
  font-size: 14px;
  text-decoration: none;  
}
#top .pages a:hover,
#top .pages a.active {
  background: url("/images/html/page_n_active.png") no-repeat;
}
#top .pages a:hover {
  text-decoration: underline;
}


#panel2 {
  position: relative;
  min-height: 100%;
}
#panel2 .top {
  width: 238px;
  background: url(//images/html/html/panel2_top.png) no-repeat;
  min-height: 348px;
}
#panel2 .inner {
  padding: 12px 6px 12px 6px;
  position: relative;
  z-index: 10;
}
#panel2 .mid {
  position: absolute;
  left: 0;
  top: 174px;
  bottom: 174px;
  width: 238px;
  z-index: 1;
  background: url(//images/html/html/panel2_mid.png) repeat-y;
}
#panel2 .bottom {
  width: 238px;
  height: 100%;
  background: url(//images/html/html/panel2_bottom.png) no-repeat bottom;
}

#mid {
  position: relative;
}

#mid .mleft {
  width: 222px;
  float: left;
  position: relative;
  z-index: 11;
}
#mid .mright {
  width: 213px;
  float: right;
  position: relative;
  z-index: 11;
}
#mid .mright_inner {
  padding-left: 16px;
}
#mid .mcenter {
  width: 544px;
  float: left;
  position: relative;
  z-index: 11;
}
#mid .mcenter > .mc_inner {
  background: white;  
}
#mid .mcenter > .mc_inner > .mc_inner2 {
  margin-left: 9px;
  margin-right: 17px;
  border-bottom: 2px solid black;
  padding-bottom: 15px;
  min-height: 754px; 
}
#mcenter_bottom {
  height: 23px;
  background: url("/images/html/mcenter_bottom.png") no-repeat;
}

#leftpan {
  position: relative;
}
#leftpan .top {
  width: 221px;
  background: url(/images/html/leftpan_top.png) no-repeat;
  min-height: 388px;
}
#leftpan .inner {
  padding: 16px 0px 12px 0px;
  position: relative;
  z-index: 10;
}
#leftpan .mid {
  position: absolute;
  left: 0;
  top: 194px;
  bottom: 194px;
  width: 221px;
  z-index: 1;
  background: url(/images/html/leftpan_mid.png) repeat-y;
}
#leftpan .bottom {
  width: 221px;
  height: 100%;
  background: url(/images/html/leftpan_bottom.png) no-repeat bottom;
}


#leftpan .menu li a {
  color: white;
  display: block;
  padding: 6px 0 6px 21px;
  text-decoration: none;
  font-size: 12px;
}
#leftpan .menu li a:hover {
  text-decoration: underline;
}

#leftpan .menu > li.active > a {
  background: #bdd5f6;
  color: #0f4490;
}
#leftpan .menu ul li a {
  padding: 4px 0 4px 33px;
  background: white;
  color: #545454;
}
#leftpan .menu ul ul li a {
  padding: 4px 0 4px 50px;
}
#leftpan .menu ul ul ul li a {
  padding: 4px 0 4px 65px;
}
#leftpan .menu ul ul ul ul li a {
  padding: 4px 0 4px 80px;
}
#leftpan .menu ul > li.active > a {
  text-decoration: underline;
}

#leftpan2 {
  margin-top: 7px;
  width: 222px;
}
#leftpan2 .top {
  height: 7px;
  background: url("/images/html/leftpan2_top.png") no-repeat;  
}
#leftpan2 .bottom {
  height: 8px;
  background: url("/images/html/leftpan2_bottom.png") no-repeat;  
}
#leftpan2 .mid {
  background: white;
}

.banners div {
  text-align: center;
  padding-top: 20px;
}

#title {
  margin-left: 9px;
  margin-right: 17px;
  background: url("/images/html/enkurs.png") no-repeat left center;
}
#title h1 {
  padding-left: 47px;
  border-bottom: 2px solid black;
  min-height: 36px;
  padding-top: 25px;
  color: #545454;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: normal;
}

.btn1 {
  display: inline-block;      
  width: 96px;
  height: 21px;
  padding-right: 24px;
  text-align: center;
  line-height: 20px;
  background: url("/images/html/btn1.png") no-repeat;
  color: white;
  text-decoration: none;
  cursor: pointer; 
}

#news {
}
#news .post {
  border-bottom: 1px solid #0f4490;
  margin-bottom: 10px;
  padding-bottom: 5px;
}
#news a.thumb {
  display: inline-block;
  width: 100px;
  min-height: 1px;
  margin-right: 5px;
  margin-bottom: 5px;
  float: left;
  text-align: center;
}


#news .img {
  width: 116px;
  height: 88px;
  padding-left: 4px;
  padding-top: 4px;
  float: left;
  background: url("/images/html/shadow.png") no-repeat;
  margin-right: 10px;
  margin-top: 15px;
  margin-left: 6px;
  text-align: center;
}
#news a.btn1 {
  float: right;
  margin-top: 10px;
}
#news .title {
  position: relative;
  min-height: 20px;
}
#news .title h3 {
  color: #0f4490;
  font-size: 16px;
  font-weight: normal;
  width: 440px;
}
#news .title .date {
  position: absolute;
  right: 3px;
  top: 4px;
  color: #d20e12;
  font-size: 12px;
}

#search_box {
  width: 221px;
  height: 41px;
  background: url(/images/html/search_box.png) no-repeat;
  position: relative;
  margin-bottom: 10px;
  margin-top: 10px;
}
#search_box input[type=submit] {
  background: transparent;
  border: 0;
  text-indent: -9999px;
  width: 23px;
  height: 25px;
  position: absolute;
  left: 183px;
  top: 7px;
  cursor: pointer;
}
#search_box input[type=text] {
  background: none;
  border: 0;
  padding: 0;
  width: 153px;
  height: 16px;
  padding: 1px 2px 0 2px;
  position: absolute;
  left: 17px;
  top: 12px;     
}

#calendar {
  width: 221px;
  height: 201px;
  background: url(/images/html/calendar_bg.png) no-repeat;
  margin-bottom: 10px;
}

#rightmenu > li > a {
  display: block;
  width: 198px;
  min-height: 34px;
/*  background: url(/images/html/menuitem.png) no-repeat;*/
  color: white;
  text-decoration: none;
  margin-bottom: 5px;
}

#rightmenu > li > a {
  position: relative;
}
#rightmenu > li > a .top {
  width: 198px;
  background: url(/images/html/menuitem_top.png) no-repeat;
  min-height: 34px;
}
#rightmenu > li.active > a .top ,
#rightmenu > li > a:hover .top {
  background: url(/images/html/menuitem_active_top.png) no-repeat;
}
#rightmenu > li > a .inner {
  padding: 5px 26px 6px 17px;
  position: relative;
  z-index: 10;
  color: white;
  cursor: pointer;
  background: url(/images/html/arrow2.png) no-repeat 175px center;
}
#rightmenu > li > a .mid {
  position: absolute;
  left: 0;
  top: 17px;
  bottom: 17px;
  width: 198px;
  z-index: 1;
  background: url(/images/html/menuitem_mid.png) repeat-y;
}
#rightmenu > li.active > a .mid,
#rightmenu > li > a:hover .mid {
  background: url(/images/html/menuitem_active_mid.png) repeat-y;
}
#rightmenu > li > a .bottom {
  width: 198px;
  height: 100%;
  background: url(/images/html/menuitem_bottom.png) no-repeat bottom;
}
#rightmenu > li.active > a .bottom,
#rightmenu > li > a:hover .bottom {
  background: url(/images/html/menuitem_active_bottom.png) no-repeat bottom;
}

#rightmenu > li > a .inner table {
  width: 100%;
}
#rightmenu > li > a .inner table td {
  vertical-align: middle;
  height: 24px;
  padding: 0;
  color: white;
  cursor: pointer;
}

#rightmenu ul {
  width: 198px;
  background: white;
}
#rightmenu ul li a {
  display: block;
  padding-left: 16px;
  color: #0e428d;
  text-decoration: none;
  padding-bottom: 3px;
}
#rightmenu ul li a:hover {
  text-decoration: underline;
}
#rightmenu ul li.active a {
  background: url(/images/html/arrows.png) no-repeat 160px 5px;
}
#rightmenu .pan {
  margin-bottom: 5px;
}
#rightmenu .pan_top {
  width: 198px;
  height: 5px;
  background: url(/images/html/panel3_top.png) no-repeat;
}
#rightmenu .pan_bottom {
  width: 198px;
  height: 4px;
  background: url(/images/html/panel3_bottom.png) no-repeat;
}

#footer_mid {
  clear: both;
  width: 980px;
  height: 243px;
  background: url("/images/html/footer_mid.jpg") no-repeat;
  position: absolute;
  left: 0;
  bottom: -153px;
  z-index: 1;
  color: black;
}

#footer_mid .copyright {
  position: absolute;
  left: 6px;
  top: 198px;
}
#footer_mid .contact {
  position: absolute;
  left: 795px;
  top: 123px;
}
#footer_mid p {
  color: black;
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 12px;
}

.searchres p a {
  color: #20457B;
}
.searchres p {
  margin-bottom: 8px;
}



#tab_calendar {
margin: 10px 25px 0 10px;
font-family: Tahoma;
float: right;
}

#tab_calendar td {
width: 21px;
height: 23px;
text-align: center;
vertical-align: middle;
font-family: Tahoma;
font-size: 11px;
color: white;
}

#tab_calendar td a {
/*background: url(/images/calendar_active.gif) center no-repeat; */
width: 20px;
height: 19px;
display: block;
margin: 0;
padding-top: 3px;
font-family: Tahoma;
color: #FFF;
text-decoration: none;
/*border-right: 1px solid #D9F3FB;*/
}
#tab_calendar td a.active {
  color: black;
  background: url(/images/html/date_active.png) no-repeat;
}
#tab_calendar td.menesis {
width: 105px;
height: 35px;
font-weight: bold;
color: white;
}

#tab_calendar td.arrow a {

margin-top: 10px;
}

#tab_calendar td.cal_red {
color: #C62F2F;
}

#tab_calendar td.cal_grey {
color: #90ADB6;
}

#calendar .arrows_left {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url(/images/html/arrows_left.png) no-repeat center center;
}

#calendar .arrows_right {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url(/images/html/arrows_right.png) no-repeat center center;
}


.form {
  width: 400px;
  margin: 0 auto;
}
.form ul.errors {
  margin-bottom: 10px;
}
.form ul.errors li {
  color: red;
}
.form input[type=text],
.form textarea {
  border: 1px solid #20457B;
  width: 200px;
  padding: 2px;
}

#news .line {
  border-bottom: 1px solid #20457B;
  margin-bottom: 10px;
}
#news .date_new {
  margin-right: 10px;
  font-weight: normal;
}
#news .title {
  font-size: 16px;
}
#news .date {
  font-size: 11px;
}
#news .more {
  margin-top: 6px;
  text-align: right;
}
#news .back {
  margin-top: 6px;
}



/* Gaalerija */
#gallery {
padding-top: 10px;
}

#gallery .foto_1 {
text-align: center;
width: 210px;
float: left;
padding-bottom: 10px;
}

#gallery .foto_2 {
text-align: center;
width: 210px;
float: right;
}

#gallery  p {
margin: 5px 0 0 0;
padding: 0;
}

#gallery a {
text-decoration: none;
color: #545454;
}

#gallery a:hover {
text-decoration: underline;
color: #E55514;
}

#gallery a img {
/*width: 200px;*/
}

#gallery .pic {
  width: 172px;
  height: 130px;
  float: left;
}
#gallery .pics {

}


.pagegallery2 a {
  width: 172px;
  height: 130px;
  float: left;
  display: block;
}


.line_clear {
clear: both;
}

.big_img {
width: 465px;
border: 4px solid #FFF;
}

#gallery .gal_button {
padding: 10px;
}

#gallery .gal_button a {
/*background: url(/images/gal_button.gif) no-repeat;*/
padding-top: 1px;
width: 74px;
height: 18px;
display: block;
text-align: center;
color: #FFF;
font-size: 11px;
}

#gallery .gal_button a:hover {
color: #FFF;
}



#weather * {
  font-family: Tahoma, sans-serif;
}

#weather {
  margin-bottom: 10px;
  background: white;
}
#weather > div {
  width: 196px !important;
}


#weather .w-param p span.temp span,
#weather .w-param p span.temp {
font-weight: bold !important;
color: #DF2421 !important;
font-size: 28px !important;
}

#weather .row2 .w-param2 p span.temp span,
#weather .row2 .w-param2 p span.temp {
font-weight: bold !important;
color: #DF2421 !important;
font-size: 17px !important;
}

#weather .row2 .w-param2 p span.date {
  font-size: 10px;
  font-weight: bold !important;
}

#weather .w-param p span.date {
font-weight: bold !important;
font-size: 11px;
}
/*
#weather .body {
  height: 210px !important;
  overflow: visible !important;
} */
#weather td {
  padding: 0;
}

#weather .row2 .w-param2 p span {
  font-size: 10px !important;
}
#weather .w-param p span {
  font-size: 10px !important;
}
/*
#weather .row2 .w-param2-img {
  width: 38px !important;
}
#weather .row2  .w-param2-img * {
  width: 38px !important;
}
#weather .row2  .fr.w-param2-img {
  width: 38px !important;
} */

#weather td.row2 > div.item1,
#weather td.row2 > div.item2 {
  width: 96px !important;
}


#votebox {
  border: 1px solid #B2B2B2;
  background: #DEEBFC url(/images/html/bg1.png) no-repeat;
  padding: 4px;
  margin-bottom: 10px;
}

#votebox h2 {
  margin-left: 0;
}
#votebox .q {
  font-weight: bold;
}
#votebox .you {
  font-size: 11px;
}


#votebox table {
  width: 100%;
}


#votebox .bar div {
  height: 10px;
  background: #2766C3;
  min-width: 1px;
}

#votebox .question {
  margin-bottom: 4px;
}

#votebox .ln div {
  border-top: 1px solid #888;
}

#cam {
  margin-bottom: 10px;
}

#cam .title {
  color: #20457B;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  height: 40px;
  display: block;
  background: url(/images/html/gerbonis2_sm.png) no-repeat right center;
  margin-right: 10px;
  padding-top: 15px;
}
#cam .thumb {
}


