* { margin: 0; padding: 0; }
img { border: none; }

body { background: #ffa041 url('/taust.png') no-repeat fixed bottom right;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11pt;
	color: #740041;
	font-weight: bold;
	}

a { text-decoration: none; color: #740041; }

#side {
	position: fixed;
	left: 20px;
	top: 240px;
	width: 290px;
}

#logo { position: fixed; top: 30px; left: 10px; }

#menu {	list-style: none; }

#menu li { height: 50px; font-size: 14pt; }
#menu li.esi { font-size: 10pt; }
#menu li.active { font-size: 16pt; }
#menu li.active a { padding-right: 5px;	border-bottom: 2px solid #740041; }

#menu li span { color: green; font-size: 10pt; }

address { position: relative; top: 10px; font-size: 8pt; }

.sisu { position: absolute; left: 320px; top: 240px; right: 100px; padding-bottom: 20px; }

h1 { font-size: 15pt; margin: 0 20px 30px 20px; }
h2 { font-size: 13pt; margin: 40px 20px 5px 20px; }
h3 { font-size: 11pt; margin-top: 15px; }
h4 { font-size: 11pt; margin-top: 10px; }
p { margin: 10px 0; }

.sisu a { text-decoration: underline; color: #5f6b20; /*green;*/ }
#lingid h2, #lingid h3 { margin-bottom: 10px; }

p.nunnu { font-style: italic; margin: 30px; font-size: larger; font-family: serif; }

#slo { position: absolute; right: 20px; top: 80px; font-style: italic; }

.rgt { float: right; margin-left: 15px; }
.clr { clear: right; }
p.nw { padding-top: 15px; text-indent: 2em; }

#galerii { top: 160px; }
#gallery>table { margin: auto; }
div.giInfo { display: none; font-size: smaller; }
.giDescription { /*padding: 3px 10px; width: 80%;*/ margin: 10px auto; font-size: smaller; }
.giTitle { font-size: smaller; margin: 10px 5px; }
td.giItemCell img { margin: auto; }
td.giItemCell div:first-child { text-align: center; }
#gsImageView { clear:both; padding-top: 3px; }
#gsThumbMatrix { clear: both; }
div#gsContent { text-align: center; min-width: 500px; }
div.gbNavigator div.first-and-previous { float: left; }
div.gbNavigator div.next-and-last { float: right; }
div.gbNavigator div.next-and-last.no-previous { float: none; text-align: right; }

div.gbNavigator a.first {
  padding-left: 27px;
  background: url('gal/themes/matrix/images/nav_first.gif') left no-repeat;
}
div.gbNavigator a.previous {
  padding-left: 27px;
  background: url('gal/themes/matrix/images/nav_prev.gif') left no-repeat;
}
div.gbNavigator a.next {
  padding-right: 27px;
  background: url('gal/themes/matrix/images/nav_next.gif') right no-repeat;
}
div.gbNavigator a.last {
  padding-right: 27px;
  background: url('gal/themes/matrix/images/nav_last.gif') right no-repeat;
}
div.gbNavigator div.first-and-previous img {
  vertical-align: middle;
  padding-right: 0.5em;
}
div.gbNavigator div.next-and-last img {
  vertical-align: middle;
  padding-left: 0.5em;
}
#gsNavBar div.gbBreadCrumb {
    font-size: 1.1em;
    font-weight: bold;
}
#gsNavBar div.gbBreadCrumb a, #gsNavBar div.gbBreadCrumb span {
    padding-left: 14px;
    background: url('gal/themes/matrix/images/icon_path_separator.gif') no-repeat left;
}
#gsNavBar div.gbBreadCrumb a.BreadCrumb-1 {   /* no :first-child in IE */
    background-image: none;
    white-space: nowrap;
}
#gallery.IE div.gbBreadCrumb span {
    display: inline-block;   /* IE loses padding-left on wrapped inline nowrap element */
    padding-right: 4px;      /* IE has less space at right of each span */
}
#gsNavBar div.gbBreadCrumb span.BreadCrumb-1 {   /* no :first-child in IE */
    background-image: none;
}

#ai_sark ul { margin-left: 30px; }
#ai_sark .kast { border: 1px solid; padding: 5px 10px; font-size: 0.8em; margin-top: 80px; font-family: monospace; }

