html{
font-size:87.5%
}
/*html *,html * *{*/
body{
line-height:1.4em;
margin:0;
padding:0;
font-family:Tahoma,Verdana,Arial,Helvetica,sans-serif;
background:#2E2E2E url(data:image/gif;base64,R0lGODlhBQAFAJEAABgYGC4uLigoKAAAACH5BAAAAAAALAAAAAAFAAUAAAIJhBIihsm4FAQFADs=)
}
h1,h2,h3,h4{
margin:0;
position:relative;
color:#000
}
h1,h2{
padding:1.7em 0 1em;
font-weight:normal
}
h1{
font-size:1.35em
}
h2{
font-size:1.18em;
text-align:justify;
clear:both
}
h3,h4{
text-align:justify;
font-weight:normal;
font-size:.93em;
padding-top:.5em;
}
h6{
margin:0;
padding:1.5em 0 .5em;
font-size:.985em;
clear:both
}
p{
margin:.5em 0 1em
}
ul,ol{
margin:1em 1em 1em 3em
}
strong,b{
font-weight:bold
}
a{
color:#060;
text-decoration:underline
}
a:hover,visited, a:hover{
text-decoration:underline
}
h6 a, h6 a:visited, h2 a, h2 a:visited, h1 a, h1 a:visited{
display:block;
color:#000;
text-decoration:none
}
h6 a:hover,visited, h2 a:hover,visited, h1 a:hover,visited{
text-decoration:underline
}
form{
padding:0;
margin:0;
}
fieldset{
border:0;
border-top:1px solid #bbb;
padding:1em 10px
}
legend{
font-size:1.5em
}
legend a, legend{
color:#bbb
}
label{
font-weight:bold
}
textarea, input{
border:solid 1px #888
}
pre{
background-color:#ffa;
margin:5px;
padding:5px
}
code{
background-color:#eee
}
pre,code{
font-family:"Courier New",Courier, Monospace
}
blockquote{
margin:10px 10px 0;
padding:20px;
background:#fffada url(data:image/gif;base64,R0lGODlhGwAXALMAAOrisdzTl/Tuxffxyt/WnPz31fLrwOzltuHZodfNjNTKh//62gAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAAbABcAAARDcI2AlgVq2M07DwpgGUqgeehGilaQFGm8YMdZCrDsYQphKUCBbgf0LYAK4ZDDMyKVy6h0Sq1ar9isdsvter/gsBgcAQA7) no-repeat 5px 7px;
color:#736926
}

/*structure*/
.content{
margin:0 auto;
max-width:1100px;
position:relative
}
.maincontainer{
background:#fff none;
clear:left;
height:100%;
border-style:solid;
border-width:1px 1px 1px;
border-color:#bbb;
padding:8px 4px;
-moz-border-radius:0 7px 7px 7px;
-webkit-border-radius:7px;
-webkit-border-top-left-radius:0;
border-radius:0 7px 7px 7px;
}
.wrapper{
text-align:left;
float:left;
width:100%
}
.content1{
background:transparent;
margin-left:170px
}
.content0{
background:#fff;
/* new margin-right:180px */
}
.column1,.column0{
font-size:.857em;
float:left;
width:160px
}
.column1 ul,.column0 ul{
margin-left:1.5em
}
.column1{
margin-top:1px;
text-align:left;
margin-left:-100%
}
.column0{
background:#fff;
margin-left:-180px
}
.content_div{
background:#fff;
overflow:hidden;
/* new margin:0 1.5% 0 2.5% */ 
margin:0 5%
}
.content_div p{
font-size:.9em
}

/*repeated bg images*/
.column0 h5,.column1 h5,.attendance th{
background:#9f6 url(data:image/gif;base64,R0lGODlhAQAeALMAAKXyYZXnUajyZp/vXrH4dJnrWaLxX6rzap3sW5PjTKjyZJfpU6LxYAAAAAAAAAAAACH5BAAAAAAALAAAAAABAB4AAAQRkJwjlALGsM37HghSLEuQJBEAOw==) repeat-x
}
/*structure2*/

.logo{
width:100%;
height:65px;
padding:5px 0
}
.logo a{ /*ff old version fix*/
display:block;
float:left;
outline:none;
}
.login_div{
position:absolute;
top:7px;
right:0;
text-align:right;
font-size:.857em;
width:835px;
/*height:17px;
border-bottom:1px solid #6c3;
overflow:hidden;*/
padding:4px 0
}
.login_div a, #search a{
color:#ccc;
text-decoration:none
}
.login_div a:hover, .login_div a:visited:hover, #search a:hover, #search a:visited:hover{
text-decoration:underline
}
.login_div label, label.inform{
font-weight:normal;
color:#ccc
}
.login_div p{
float:left;
margin:0;
}
.login_div form{
margin:0;
float:left
}

.loginbutton{
font-size:14px;
background:#ccc;
border:1px solid #000
}
.button{
background-color:transparent;
border:1px solid #000
}
.error{
color:#c00
}
#you_have_mail{
margin:0 10px
}

/*navigation*/
.nav{
margin:0;
padding:0
}
.nav li{
position:relative;
top:1px;
overflow:hidden;
height:40px;
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAAoCAYAAABQB8xaAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKGSURBVHja3FmLasQwDHPM/v+T58Fgo3R1LPmRO3ZQGtpcSVXLkp1lZhL8FnHowxg56+b62tx/Ot/Hu2vX9/sBwoDjUwX/PT1ALmdvHJ3FeZ5txgLMR9d/DZB7sNzHv/eVAG13HQUBAcfA+9GH9ADyAPXY9sQ80QbQvAXYZp4A0cRGm/d/2XwQc9JSmL4YqqILqL6oB74VUwAbCLtcLkoClgUVpRhDWzbiWNBaI25KJCZoG0UvIhLu9QxVqyIhIC2NuI9GKssqz7osbQQNFQkjgECBij5UBCotEhmqnhQJVoGjD9MlEpJVVRZU1odlRIIBVQjQ2sQBdeIZO4HaE5GaSFhVJCpURaKtQyTQCkKI1FEWCW0GbUIkGBGRoGKQQLEFFYkKVRmRYOnV5e0ksCVG5MOVtSNo5EmSamwDQMhnMr4uzHcdOS5Ksii1MhR8mUhUqYpSGDGy1TZTpfCnRaLDjrDzpkSCeR7Tr2upVRlP1y0SrH3JiIS37j8NTW0CbVIkshXEqEhoI2gmnPQLkec6u8OR14NEYkIcKgaUaSNNiARc+GtjfsuIBEM3tp7N7kdAdNWBaJsQiUw9y3hF1JOuCapaIR+iraG32ULUYdCM6NUhoHaKRGkLcUoc2DqTUdPsXkSrSOgAYMy8zMaLEPer5toF80St+i+3EKd9nDR3OTpFAslnLlv0MGiVwh/1bkdEYoqqTHf41BYiE/1hIEyqKguqyHttIW7ZMxlxSJLN0Ky6Od0iEtNUZbvD7EsiTcqRLUR9AWgT3WHE2yH/gTs401R9N5FgInjbR/w4ANoCI3Nd5iOgrctLrYcXXM7cp+et2zhc+6kcx4qEEHmuy1yj6/4+vgQYABu6lo77QTJcAAAAAElFTkSuQmCC);
width:74px;
float:left;
font-size:11px;
line-height:1.1;
text-align:center;
border-bottom:1px solid #bbb;
list-style-type:none
}
.nav li:first-child{
-moz-border-radius-topleft:7px;
-webkit-border-top-left-radius:7px;
border-radius:7px 0 0 0
}
.nav li:last-child{
-moz-border-radius-topright:7px;
-webkit-border-top-right-radius:7px;
border-top-radius:0 7px 0 0
}
.nav li.sel{
background-color:#fff;
border:1px solid #bbb;
border-bottom:0;
width:72px !important;
padding-top:7px;
height:33px;
color:#555
}

.nav li a{
outline:0;
position:relative;/*bez shii uz IE6 nestraadaa linki*/
color:#000;
display:block;
height:100%;
line-height:1.1;
padding-top:7px
}
.nav .sel a{
padding:0
}
.nav li a:visited, .nav li a:link{
text-decoration:none;
color:#000
}
.nav li a:hover,visited{
text-decoration:underline
}

/*boxes*/

.box{
width:162px;
margin:0 7px;
overflow:hidden;
padding-bottom:1em
}
.column1 .box{
margin:0;
width:160px
}
.box_i{
background:#fff none;
float:right;
border:1px solid #bbb;
border-top:0;
width:148px;
overflow:hidden;
padding:5px;
-moz-border-radius:0 0 7px 7px;
-webkit-border-bottom-right-radius:7px;
-webkit-border-bottom-left-radius:7px;
border-radius:0 0 7px 7px;
}
.column1 .box_i{
border:0;
width:150px
}
.column0 h5, .column1 h5{
display:block;
height:19px;
color:#090;
float:right;
width:158px;
border:1px solid #bbb;
text-align:center;
padding-top:4px;
margin:0;
font:normal 1em Tahoma,Verdana;
-moz-border-radius:7px 7px 0 0;
-webkit-border-top-right-radius:7px;
-webkit-border-top-left-radius:7px;
border-radius:7px 7px 0 0;
}
.column1 h5{
border:0;
width:160px
}

/*foruma kaste*/
.box_i ul{
margin:0;
padding:0 0 0 20px;
list-style-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAMAAAC67D+PAAAAYFBMVEXz+PzC0+W1yuCxx96SsdGZtdSsxNzp7/apwdqJqs3+/v76/f/t9PrZ5fHV4e2zyd/9/v/p8fje6PKfutf4+/3X4u64zOHR3uzw9vvJ2emXtNPT4O2ivNe0yd/////////XTTjGAAAAIHRSTlP/////////////////////////////////////////AFxcG+0AAABeSURBVAjXHcxJFoAgDETBQABFcGAQcSC5/y0VN/1q0x8EtibXhZkByW1EslNudTZoTQmAGdJ5z/HWEOWgXPU+a+AxWQohOA2TGIzI8TAPfFe+imo7/9Rq6rHOsvd9AWj/B0RDtXR/AAAAAElFTkSuQmCC)
}

.chat{
position:relative;
height:350px;
overflow:hidden
}
.box_i .chat{
height:170px;
font-size:11px
}
.chat p{
margin:0
}
.column1 #chatbarText{
width:147px
}

/*share_joy*/
#share_joy_txt{
width:100%;
height:50px
}
#shj .loginbutton{
margin-top:5px
}
.sj{
text-align:right;
margin-top:0
}
/*share_sorrow*/
#sorrow{
width:95%;
height:50px
}
/*send_sms*/
#sms_text{
width:95%;
height:80px
}
#sign{
width:95%
}
/*calendar*/
#cal{
height:17em
}
/*ad*/
#adbox{
height:300px;
}
	
.slimgr,.slimgl{
width:132px;
padding-top:.5em;
display:block;
text-align:center;
/*Lai teksts neiet pa virsu uz FF:*/
position:relative;
font-size:.78em !important;
color:#999;
z-index:3
}
.slimgr{
float:right;
margin-left:5px
}
.slimgl{
float:left;
margin-right:5px
}

/*Sadaliijums pa lapaam*/
.pages{
margin:1em 0;
text-align:center;
clear:both
}
.pages a, .pages strong{
display:inline;
border:1px solid #bbb;
padding:3px
}

/*Komentaari un balsoshana par tiem*/
#com_fieldset{
clear:left
}
#com_fieldset .sp{
color:#666
}
.comment_top{
clear:both;
float:left;
width:100%;
padding:.5em;
margin:2em 0 1em;
background-color:#eee;
font-weight:bold
}
.comment_top div{
width:70%;
float:left
}
.comment_top div div{
width:auto;
float:right
}
.vote, .vote form{
font-weight:normal;
font-size:.9em;
float:right !important
}
div.vote{
width:30%;
clear:right
}
.vote input{
background-color:#fff;
padding:3px;
margin-right:2px
}
.comments p{
clear:both;
font-size:1em;
text-align:justify
}
.addcomment label{
clear:both;
display:block;
width:7em;
float:left;
text-align:right;
margin-right:1em
}
.addcomment .checkbox{
float:left;
margin-left:9em;
margin-right:1em
}
.addcomment .inform{
clear:none;
width:auto
}

/*1st page*/
.sl{
width:46.5%;
background:#fff;
padding:2em 1.25% 0 2%;
float:left;
}
#sl_a{
overflow:hidden;
background:#fff;
margin:0 1.25% 0 2%
}
#sl p,#sl_a span{
display:block;
font-size:.857em;
color:#666
}
.sl p,.sl h4{
float:left;
margin:0;
padding-left:1em;
border-left:1px solid #bbb
}
.sl h4{
width:94%;
margin-bottom:1em
}
.sl p a{
line-height:100%;
text-decoration:none;
color:#bbb
}
.sl p a:hover, .sl p a:visited:hover{
text-decoration:underline
}
.bc{
padding-left:13px;
background:url(img/breadcrumb.gif) 4px 50% no-repeat
}
.sl legend a,.sl legend a:visited{
text-decoration:none
}
.sl legend a:hover,visited{
text-decoration:underline
}
#sl_a .slimgl{
width:260px;
padding-top:2.5em
}
#sl_a div.hide{
opacity:0;
z-index:0;
display:none
}
#sl_a div.show{
opacity:1;
clear:both;
z-index:5;
height:18em;
position:relative;
overflow:hidden
}
#sl{
display:block;
margin:0;
padding:0;
float:left;
width:100%;
border-top:1px solid #999;
background: url(data:image/gif;base64,R0lGODlhAQADAJEAAO7u7uLi4vb29gAAACH5BAAAAAAALAAAAAABAAMAAAICDFQAOw==) repeat-x;
overflow:visible
}
#sl li{
list-style-type:none;
float:left;
position:relative;
top:-1px;
margin-bottom:-1px;
border:1px solid #999;
border-width:0 1px 1px 0;
width:5em;
display:block;
text-align:center;
padding:.2em 0
}
#slli0{
border-left:1px solid #999 !important;
-moz-border-radius-bottomleft:7px;
-webkit-border-bottom-left-radius:7px;
border-radius:0 0 0 7px
}
#slli2{
-moz-border-radius-bottomright:7px;
-webkit-border-bottom-right-radius:7px;
border-radius:0 0 7px 0
}
#sl li.selc{
background:#fff;
font-weight:bold
}
#sl li a{
display:block;
width:100%;
height:100%;
text-decoration:none;
color:#000
}
.sl h2, .show h1{
font-weight:normal
}
.sl h2 a, .show h1 a{
display:inline;
}
.sl h2 span, .show h1 span{
color:#bbb;
white-space:nowrap
}

/*Events pages and galleries*/
div.events{
clear:both;
margin:0 1em 2em 1em;
border-top:1px dotted #888;
}
.events img{
float:left;
margin:2.2em 0 .5em
}
.events div{
margin-left:120px
}
.events div h2{
clear:none
}
.events div p,.event{
text-align:justify
}

.event label{
margin-top:.5em;
clear:both;
float:left;
width:10em
}
.event p{
margin-left:11em
}

.attendance
{
border-spacing:0;
border-collapse: collapse
}

.attendance th
{
font-weight:bold;
height:19px;
border:1px #eee solid
}

.attendance td
{
border:1px #eee solid;
vertical-align:top
}

/*rakstu saraksti*/
.r{
margin:0;
padding-left:2em;
float:left;
clear:both;
border-left:1px solid #999
}
span.r{
font-size:.834em;
color:#666;
padding-bottom:1em
}
p.r{
width:90%;
text-align:justify;
margin-bottom:2em
}
p.r .slimgl{
margin-right:20px
}
h2.ra{
width:90%;
font-weight:normal;
font-size:1.25em
}
h2.ra a{
display:inline
}

/*forums*/
table.fo{
border-collapse:collapse
}
tr.f,.fo th{
background-color:#eee
}
.fo td,.fo th{
padding:.5em
}
	
	

.location{
color:#000;
text-decoration:none
}

.newspage_siiki, .newspage_siikaak, .eventpage_siikaak{
position:relative
}
.bottom_frame_div{
padding:10px;
clear:both;
text-align:center
}
.box_errortext{
color:#c00;
font-weight:bold
}
.admin_text{
font:10px Tahoma,Verdana;
background-color:#ff6;
clear:both
} 
.profile_button{
background-color:#ccc;
font-weight:bold
}

.fl label{
width:50%;
float:left;
text-align:right;
font-weight:bold;
margin-right:5px;
clear:left
}
.c
{
text-align:center;
margin-left:auto;
margin-right:auto
}
.c th, .c td
{
padding:0;
text-align:left
}
.article_edit_label
{
text-align:right;
width:15%; 
font-weight:bold;
float:left;
padding-right:5px
}
.article_edit_input	
{
width:80%; 
float:left
}
.gallery
{
color:#fff
}
.thumbs{
height:180px;
width:136px;
overflow:visible;
text-align:center;
float:left;
margin:2px;
padding-top:10px
}
.checkbox{
border:0
}
a img
{
border:0
}
.imgl
{
float:left;
padding:1px 10px 3px 1px
}
.imgr
{
float:right;
padding:1px 1px 3px 10px
}


#outputList
{
overflow:auto;
height:100%;
width:100%;
position:absolute
}

#search{
width:203px;
padding-left:20px;
float:right;
}
#search_button{
background:url(img/search_btn.png);
width:39px;
position:relative;
height:29px;
padding:0;
margin:0;
border:0;
float:left;
}
#search_button:hover{
background-position:0 -29px;
}
#search a{
font-size:.8em
}
#s_query{
	background:url(img/search_input.png);
	border:0;
	width:144px;
	height:19px;
	padding:5px 10px;
	display:block;
	float:left;
}
/*
.inlined{
padding:0 .5em;
position:relative;
background-color:#fff; 
display:block;
width:10em;
height:1.5em;
font-weight:normal;
border:1px solid #999;
color:#bbb;
top:3.1em;
cursor:text
}
.inlined img{
vertical-align:bottom;
padding-right:.5em;
}
.input-text{
height:1.5em;
width:9em;
padding-left:27px;
border:0;
position:relative;
background-color:transparent; 
z-index:2
}
*/

.footer
{
color:#fff;
font-size:.8em;
clear:both
}
.footer a{
color:#0c0
}
.magazine-image
{
background:#fff;
border:1px #eee solid
}
.magazine-image img
{
margin:2px;
border:1px #eee solid
}

.mail_body_div
{
max-height:300px;
width:95%;
overflow:auto;
border:1px solid #999;
padding:3px;
text-align:justify
}

.cal_click
{
background-color:#fdd
}
a.intext{
color:#000;
text-decoration:none
}