body
{
	background: url('../../img/tamsalu/mainbg.png') top center;
	margin: 0;
	font-family: helvetica, arial;
	font-size: 12px;
/*	color: #676767;*/
	color: #222;
}

img
{
	border: 0px;
}

img.alphapng
{
	behavior: url("css/tamsalu/pngbehavior.htc");
}

b
{
	color: #000;
}

a
{
	color: #0029b5;
	text-decoration: underline;
}

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

#midbg
{
	margin: 0;
	background: url('../../img/tamsalu/topbg.png') repeat-x top center;
	text-align: center;
	padding: 0;
}

#logobg
{
	height: 101px;
	text-align: left;
	width: 775px;
	margin: 0 auto;
	padding: 0;
}
* html #logobg a {position:relative;}


#logo
{
	padding: 2px 0 0 8px;
	margin: 0;
	border: 0;
}

#logo img
{
	border: 0;
}

#maintop
{
	height: 7px;
	background: url('../../img/tamsalu/maintoprow-alpha.png') no-repeat top center;
	width: 775px;
	margin: 0 auto;
	line-height: 7px;
	padding: 0;
}
#mainbottom
{
	height: 15px;
	background: url('../../img/tamsalu/mainbottomrow-alpha.png') no-repeat top center;
	width: 775px;
	margin: 0 auto;
	padding: 0;
}

#main2
{
	background: url('../../img/tamsalu/midbg-alpha2.png') repeat-y top center;
	width: 761px;
	margin: 0 auto;
	padding: 0px 7px 0px 7px;
	text-align: left;
}

#base-top
{
	background: url('../../img/tamsalu/toprow-2.png') no-repeat top center;
}
#base-main
{
	background: url('../../img/tamsalu/toprow-3.png') repeat-y top center;
}


#toplinks
{
	color: #ffffff;
	float: right;
	font-weight: bold;
	margin-top: 40px;
	padding-right: 20px;
	text-align: right;
	width: 406px;
}

#toplinks a
{
	color: #fff;
	text-decoration: underline;
	font-size: 12px;
}

#toplinks a:hover
{
	color: #f0f0f0;
}

#rightpart
{
	float: right;
	width: 450px;
}

#top
{
	background: url('../../img/tamsalu/top-alpha.png') no-repeat;
	width: 308px !important;
	height: 34px !important;
	width: 337px;
	height: 41px;
	float: right;
	display: inline;
	padding: 7px 0 0 29px;
	margin-right: 1px;
	color: #efc65f;
}


#top img
{
	border: 0;
	margin-right: 4px;
	vertical-align: top;
}

form
{
	margin: 0;
	padding: 0;
	display: inline;
}


#searchsign
{
	border-bottom: 1px dotted #efc65f;
	vertical-align: top;
	margin-left: 8px;
	margin-right: 9px;
	font-size: 11px;
	line-height: 17px;
}

input#searchfield
{
	width: 127px;
	height: 13px !important;
	height: 17px;
	border: 1px solid #ffe5a1;
	vertical-align: top;	
	color: #efc65f;
	margin-right: 7px;
	background: #fffefb url('../../img/tamsalu/searchbg.png') repeat-x;
	font-size: 10px;
}

input#searchfield:active
{
	background: #ffffff;
	border: 1px solid #efc65f;
}

input#searchfield:focus
{
	background: #ffffff;
	border: 1px solid #efc65f;
}

#leftmenu
{
	float: left;
	width: 166px;
}

#rightmenu
{
	float: left;
	width: 166px;
/*	margin-top: -36px;*/
}

.br
{
	clear: both;
}

#rightmenu .br
{
	background: url('../../img/tamsalu/rightbr.png');
	height: 17px;
	margin-top: 1px;
	noshade: true;
	border: none 0;
}



#rightmenu .section
{
	margin-left: 9px;
	padding: 10px;
}

#rightmenu .centsection
{
	margin-left: 9px;
	padding: 10px;
	padding-bottom: 11px;
	text-align: center;
	background: #888 url('../../img/tamsalu/quickbg.png') bottom repeat-x;
	border-bottom: 1px solid #cfcfd4;
}

#quicklinks
{
	color: #fff;
}

#quicklinks a
{
	font-weight: bold;
	color: #fff;
}
#mainpart
{
	float: left;
	width: 429px;
}

#linkpath
{
	padding-top: 5px;
	height: 20px !important;
	height: 25px;
	overflow: hidden;
	color: #000;
}

#linkpath a
{
	color: #000;
}

#linkpath a:hover
{
	color: #0029b5;
}

#footer
{
	clear: both;
/*	border-top: #dbdbdb solid 1px;*/?
	color: #000;
	width: 420px;
	margin: 0 auto;
	text-align: center;
	padding-top: 21px;
	padding-bottom: 1px;
	width: 761px;
	background: url('../../img/tamsalu/bottombg.png') top center no-repeat #f3f3f3;
}

.box
{
	background: url('../../img/tamsalu/boxbg.png') repeat-x top #efefef;
	-moz-border-radius: 7px;
	border: 1px solid #cfcfd4;
	margin-bottom: 10px;
	padding: 13px 10px 10px 13px;
	margin-left: 0px;
	width: 386px !important;
/*	width: 411px;*/
	text-align: left;
}

/* CONTENT ???? */

#mid
{
	padding: 13px 8px;
}

h2
{
	font-size: 18px;
	font-weight: bold;
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
	color: #000;
}

h3
{
	font-size: 15px;
	font-weight: bold;
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
	color: #000;
}

.standard_tbl 
{
    width: 100%;
/*    line-height: 1.1em;*/
    margin: 0 0 10px 0;
    border: 1px solid #d0dff5;
    border-collapse: collapse;
}
			
.standard_tbl th,
.standard_tbl .th,
.standard_tbl .th:hover
{
    padding: 3px 5px;
    background: #d0dff5;
    color: #000;
/*    height: 24px;*/
}


.standard_tbl td 
{
    padding: 3px 5px;
    border-top: 1px solid #d0dff5;
    border-bottom: 1px solid #d0dff5;
}
						
.standard_tbl td
{
	text-align: center;
}

.standard_tbl tr:hover .td1,
.standard_tbl tr:hover .td1l,
.standard_tbl tr:hover .td2,
.standard_tbl tr:hover .td2l,
.standard_tbl tr:hover .tr1,
.standard_tbl tr:hover .tr2,
.standard_tbl tr:hover
{
    background: #4c64b8;
    color: #fff;
}

.standard_tbl tr:hover .td1 a,
.standard_tbl tr:hover .td1l a,
.standard_tbl tr:hover .td2 a,
.standard_tbl tr:hover .td2l a,
.standard_tbl tr:hover .tr1 a,
.standard_tbl tr:hover .tr2 a,
.standard_tbl .tr1:hover a,
.standard_tbl .tr2:hover a
{
    color: #fff;
}

.standard_tbl .th:hover a,
.standard_tbl tr:hover th a
{
    color: #0029b5;
}

.standard_tbl .td1l,
.standard_tbl .td2l
{
    text-align: left;
}

.standard_tbl .td1l,
.standard_tbl .td1,
.standard_tbl .tr1
{
    background: #e8effb;
}

.standard_tbl .td2l,
.standard_tbl .td2,
.standard_tbl .tr2
{
    background: #f9f9ff;
}

.standard_tbl .w10
{
    width: 10%;
}

.standard_tbl .w90
{
    width: 90%;
}

#leftmenu ul
{
	list-style: none;
	margin-left: 20px;
	margin-top: 25px;
	padding: 0;
	font-size: 14px;
}

#leftmenu ul li
{
	margin: 14px 0;
}

#leftmenu ul li.active
{
	font-weight: bold;
	color: #000;
	background: url('../../img/tamsalu/menuhi.png') no-repeat right top;
}

#leftmenu ul li ul
{
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 12px;
	font-weight: normal;
}

#leftmenu ul li ul li
{
	margin: 8px 0px 0px 0px;
	padding-left: 13px;
	width: 115px;
	background: url('../../img/tamsalu/libg.png') no-repeat 2% 50%;
}

#leftmenu ul li ul li.active
{
	background: url('../../img/tamsalu/libg.png') no-repeat 2% 50%;
	font-weight: normal;
	text-decoration: underline;
}

#leftmenu ul li ul li.active a
{
	color: #000;
}

#leftmenu ul a
{
/*	color: #676767;*/
	color: #000;
	text-decoration: none;
}

#leftmenu ul a:hover
{
	color: #000;
	text-decoration: underline;
}

#secondmenu
{
        margin: 0 0 20px 0;
}

#secondmenu ul
{
	margin: 0;
        padding: 10px;
	background: url('../../img/tamsalu/boxbg.png') repeat-x top #efefef;
	-moz-border-radius: 7px;
	border: 1px solid #bbc;
	list-style-type: square;
}

#secondmenu ul li
{
        margin: 0;
	padding: 0;
}

dl {
	margin: 10px 0 0 0;
}

#kalender {
	text-align: center;
}
#kalender dd {
	margin: 0;
	font-size: 11px;
	line-height: 1.1em;
}
#kalender #options {
	padding: 0;
	margin-bottom: 4px;
	text-align: center;
}
#kalender select {
	font-size: 10px;
	background: #fff;
	font-family: Arial;
}
#kalender table {
	margin: 0 auto;
}
#kalender table td {
	text-align: right;
	font-size: 10px;
}
#kalender table th {
	background: #fff;
	border: 1px solid #ddd;
	width: 12px;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
}
#kalender table th .holiday {
	background: #f88;
	border: 1px solid #fff;
	text-align: center;
}
#kalender table .posted {
}
#kalender table #today {
	font-weight: bold;
}
#kalender table #highlight {
	background: #CEE6F2;
	border: 1px solid #8DBFEA;
}
#kalender table #today_highlight {
	background: #CEE6F2;
	border: 1px solid #8DBFEA;
	font-weight: bold;
}

#quickpoll {
	margin: 0;
	padding: 0;
}

#quickpoll dd
{
	margin: 2px 12px;
	text-align: left;
	font-weight: normal;
}

#quickpoll dt {
	color: #000;
	text-align: center;
	font-weight: bold;
	margin-bottom: 10px;
}

#quickpoll input {
	vertical-align: middle;
}

#quickpoll .center2
{
    margin-top: 8px;
    text-align: center;
}

#quickpoll img
{
    margin-left: 12px;
}

#quickpoll .center
{
    text-align: center;
}

#quickpoll #pollsubmit
{
	border: 1px #9f9f9f solid;
	background: url('../../img/tamsalu/buttonbg.png') #dedede;
	margin-top: 5px;
	font-size: 11px;
	color: #333;
	padding: 2px;
}

.center {
	text-align: center;
	margin:0;
}

.newstime {
	font-size: 10px;
	display: inline;
	margin-left: 2px;
}
.title {
	font-weight: bold;
	display: inline;
	color: #000;
}
.contents {
	margin-top: 3px;
	margin-bottom: 12px;
}

#promo {
	position: absolute;
	height: 47px;
	width: 9px;
	top: auto;
	left: auto;
	text-align: right;
	bottom: 5px;
	right: 5px;
}

body > #promo { position: fixed; }

#promo img
{
        border: 0;
}

/* CATALOGUE */                                                                                                                                  

#catalogue_singleitem
{
        margin-top: 15px;
}
    
#catalogue_singleitem td
{
	padding-top: 5px;
}

.catalogue_w_set
{
        width: 225px;
}
	    
.catalogue_obybar
{
	margin-bottom: 20px;
        text-align: center;
}

.catalogue_itemname
{
        font-weight: bold;
        text-decoration: underline;
}


/* POLL */

#poll input {
	vertical-align: middle;
}
#pollsubmit {
	margin: 5px 0 0 6px;
}

table.poll
{
	width: 100%;
	border-collapse: collapse;
}

table.poll td
{
	padding: 3px;
	background-color: #ffffff;
	border: 1px solid #e7e7e7;
}

table.poll .titlerow
{
	font-weight: bold;
	background-color: #F0F2F5;
}
.prevlink
{
	float: left;
}

.nextlink
{
	float: right;
}

.archivelink
{
}

/* FORMS */

.vorm
{
	vertical-align: middle;
	border: 1px solid #e2e2e2;
	font-weight: normal;
	color: #000;
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
	width: 100%;
	font-size: 12px;
	background: #fff url(gfx/bg_foorum_td.gif) repeat-x top left;
}

.vorm:hover {
	border: 1px solid #d4d4d4;
}

.vorm:focus {
	border: 1px solid #d1bcbc;
}

.error
{
	font-size: 12px;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	color: #F98080;
}

fieldset.form form
{
	margin: 0px;
}

fieldset.form
{
	border: 0px;
	padding: 0px;
	margin: 0px;
}

fieldset.form table
{
	width: 100%;
/*	border: 1px solid #e2e2e2;
	padding: 10px 10px;
	-moz-border-radius: 10px;*/
}

fieldset.form .formrow1
{
	vertical-align: middle;
	width: 30%;
	padding: 3px 4px;
	text-align: left;
	background: #fff;;
}

fieldset.form .formrow2
{
	vertical-align: middle;
	width: 70%;
	padding: 3px 4px;
	text-align: left;
	background: #fff;;
}

fieldset.form textarea
{
	width: 100%;
}

fieldset.form .commentrow
{
	font-size: 12px;
	font-weight: bold;
	padding: 15px 10px;
	background: #fff;
}

fieldset.form .catrow
{
	font-weight: bold;
	font-size: 12px;
	padding: 2px;
	background: #fff;
	border: solid #e2e2e2;
	border-width: 1px 0px;
	color: #000;
}

fieldset.form .submitrow
{
	vertical-align: middle;
	background: #fff;
	font-weight: bold;
	font-size: 12px;
	padding: 3px;
	text-align: center;
}

fieldset.form .submitrow .vorm
{
        width: auto;
}

/* GUESTBOOK */

#guestbook {
	vertical-align: middle;
	text-align: center; 
	margin: 0 auto;
	width: 375px;
	font-weight: normal;
	color: #000;
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
	font-size: 12px;
	background: url('../../img/tamsalu/boxbg.png') repeat-x top #efefef;
	-moz-border-radius: 7px;
	border: 1px solid #cfcfd4;
}

#guestbook .frame {
	padding: 10px 10px;
}

#guestbook .leftcol {
	text-align: right;
	padding: 0px 10px; 
	font-weight: bold;
	width: 100px;
	vertical-align: top;
}

#guestbook .rightcol {
	text-align: left; 
	width: 275px;
	vertical-align: top;
}

#guestbook .timecol {
	font-style: italic;
}

.newsintro
{
/*	border: 1px solid #e2e2e2;
	-moz-border-radius: 10px;*/
	padding: 5px 0px;

	margin-bottom: 20px;
}

.eventtitle, .newstitle
{
	color: #000;
	padding-bottom: 1px;
	font-weight: bold;
	font-size: 100%;
}

.eventtitle2
{
        color: #000000;
        padding-bottom: 1px;
        font-weight: bold;
        font-size: 95%;
}

.eventtime, .newstime
{
	text-align: left;
	font-style: italic;
	font-size: 12px;
}

.newsintro .newslink
{
	font-style: italic;
}

.newslink
{
	display: inline;
}

.newsintro .text
{
	padding: 10px 0px;
}

.news
{
	padding: 0px 0px;	
}

.seglinks
{
	padding: 0px 10px;	
}

/* SEARCH */

.stressword
{
	background-color: #CEE6F2;
}

.searchtitle
{
	font-size: 110%;
	margin-bottom: 3px;
}

.searchbody
{
	margin-bottom: 15px;
}


table.clean
{
        border: 0px;
        margin: 0px;
	padding: 0px;
	width: 100%;
}
		
table.clean td
{
	width: 33%;
}


/* LIST */

#mid ul
{
	padding-left: 25px;
	margin: 0px;
}
#mid li
{
	padding-left: 0px;
}

#mid li
{
	margin-top: 4px;
}

/* GALLERY */

#gallery
{
    text-align: center;
}

#gallery .goback
{
    font-size: 100%;
    margin-bottom: 10px;
    margin-top: 13px;
}

#gallery .goback a
{
}

#gallery .linklist
{
    text-align: left;
    margin-bottom: 10px;
    margin-left: 20px;
    font-weight: bold;
    list-style: square;
}

#gallery  .linklist li
{
    margin-bottom: 5px;
}

#gallery .subtitle
{
    font-weight: bold;
    font-size: 130%;
    color: #444444;
    margin-bottom: 10px;
}

#gallery .big_image
{
    padding: 2px;
    margin: 0px;
    border: 0px;
    text-align: center;
    width: auto;
    margin-bottom: 5px;
}

#gallery .big_image img
{
    padding: 1px;
	border: 1px solid #e2e2e2;
}

#gallery .big_image a:hover
{
    border: 0px;
    text-decoration: none;
}

#gallery .gal_image table
{
    display: inline;
}

#gallery .gal_image
{
/*    float: left;*/
    display: inline;
    padding: 0px;
    margin: 0 auto;
    width: 130px;
}

#gallery .gal_image table
{
	padding: 0px;
	margin: 0 auto;
}

#gallery .gal_image table td
{
    vertical-align: middle;
    height: 100px;
    width: 130px;
}

#gallery .gal_image img
{
	border: 1px solid #e2e2e2;
	padding: 1px;
}

#gallery .main_image
{
	border: 1px solid #e2e2e2;
    padding: 3px;
}

#gallery .imagelist
{
	width: 100%;
}

#gallery .prevlink
{
    float: left;
}

#gallery .nextlink
{
    float: right;
}

#gallery .origlink
{
    text-align: center;
    display: block;
}

#gallery .gal_desc
{
	border: 1px solid #e2e2e2;
	padding: 10px 10px;
	-moz-border-radius: 10px;
    margin: 1px;
    margin-bottom: 8px;
}

#gallery .clear
{
    display: block;
    clear: both;
    margin: 0 0;
    visibility: hidden;
    clear: both;
}

/* FOORUM */

#foorum {
	width: 100%;
	font-size: 100%;
	line-height: 1.1em;
	margin: 0 0 10px 0;
	border: 1px solid #d0dff5;
	border-collapse: collapse;
}
#foorum th {
	background: #d0dff5;/*F0F2F5;*/
	padding: 2px 4px;
}
#foorum td {
	padding: 2px 4px;
	text-align: center;
	border-top: 1px solid #d0dff5;
	border-bottom: 1px solid #d0dff5;
	background: #F7F8FA url(../../img/foorum/bg_foorum_td.gif) repeat-x 0 0;
}
#foorum .teema {
	text-align: left;
}
#foorum .postitaja {
	text-align: left;
	border-right: 1px solid #d0dff5;
	width: 25%;
}
#foorum .posttime {
	text-align: left;
	height: 20px;
}
#foorum .sisu {
	text-align: left;
	padding: 6px 6px;
}
#foorum .nupud {
	text-align: right;
	height: 20px;
}

#foorum_uuspost {
	width: 100%;
	font-size: 11px;
	line-height: 1.1em;
	margin: 0 0 10px 0;
	border: 1px solid #d0dff5;
	border-collapse: collapse;
}

#foorum_uuspost th {
	background: #d0dff5;
	padding: 2px 4px;
}
#foorum_uuspost td {
	padding: 3px 4px;
	text-align: left;
	background: #F7F8FA;
}

#foorum_uuspost .fc1 {
	width: 25%
}
#foorum_uuspost .fc2 {
	width: 75%
}

#foorum_uuspost .saadanupp {
	text-align: center;
}

#foorum_uuspost .title {
	vertical-align: middle;
	padding: 2px 2px;
	width: 95%;
	border: 1px solid #d0dff5;
	margin: 0 1px 0 5px;
	color: #555;
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
	font-size: 11px;
	background: #fff url(../../img/foorum/bg_foorum_td.gif) repeat-x top left;
}

#foorum_uuspost input:hover {
	border: 1px solid #d4d4d4;
}

#foorum_uuspost input:focus {
	border: 1px solid #d1bcbc;
}

#foorum_uuspost .saada {
	vertical-align: middle;
	padding: 2px 2px;
	border: 1px solid #e2e2e2;
	color: #555;
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
	font-size: 11px;
	background: #fff url(../../img/foorum/bg_foorum_td.gif) repeat-x top left;
}

#foorum_uuspost .contents {
	padding: 2px 2px;
	height: 133px;
	width: 95%;
	border: 1px solid #e2e2e2;
	margin: 0 1px 0 5px;
	color: #555;
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
	font-size: 11px;
	background: #fff url(../../img/foorum/bg_foorum_td.gif) repeat-x top left;
}

#foorum_uuspost .contents:hover {
	border: 1px solid #d4d4d4;
}

#foorum_uuspost .contents:focus {
	border: 1px solid #d1bcbc;
}


