body {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 11px;
    margin: 0;
    padding: 14px;
    color: black;

    /* blue-green-white stripe at the top */
    background: white url("img/grad.png") 0 62px repeat-x;
}

/**
 * Container-div, that contains all the elements inside body.
 * This defines the width for the whole page.
 */
#container {
    /* at the top-left corner there is this image of sirkel */
    background: url("img/sirkel.png") no-repeat;
    padding-left: 87px;

    /* For modern browsers assign maximum limit for width */
    max-width: 800px;
}
* html #container {
    /* For IE<7 define fixed width */
    width: 800px;
}

/**
 * H1 contains img element, showing the page title in some nice typeface.
 */
h1 {
    margin: 0;
    padding: 23px 0 0 0;
    line-height: 0;
}

/**
 * General settings for links:
 * - colors for visited and unvisited links
 * - no border around images inside links
 */
a:link {
  color: #4080dd;
}
a:visited {
  color: #551a8b;
}
a img {
  border: none;
}
a:hover {
  text-decoration: none;
}

/**
 * Content area ...
 */
* html #content {
    /* For IE<7 define fixed width */
    width: 70em;
}
/**
 * At the bottom of each page is the horn of olderman.
 */
#content {
  clear: both;
  padding-bottom: 76px;
  /*background: url("img/sarv.png") bottom center no-repeat;*/
  padding-top: 1px;
  max-width: 70em;
}

#content p {
  line-height: 1.5;
  text-align: justify;
}

#content blockquote p {
  line-height: 1.7;
}

#content h2,
#content h3 {
  margin-top: 1.5em;
  color: #4fa77c;
  clear: left;
}
#content h2 {
    font-size: 1.5em;
}

#content img {
  float: left;
  margin: 0 1em 1em 0;
  border: 1px solid #4fa27c;
  padding: 1px;
}

#content table img {
  float: none;
  margin: 0;
  padding: 0;
  border: none;
}

#content table {
  border-collapse: collapse;
  width: 100%;
}

#content table tr.odd {
}
#content table tr.even {
  background-color: #efefef;
}
#content table thead tr {
  /*background-color: #efefef;*/
}
#content table tr.hov:hover{
  /*background-color: #efefef;*/
}

.subheader{
  color: #4fa27c;
  font-size: 1.3em;
  font-weight: bold;
  margin: 1em 0 1em 0;
}

#content table td {
  vertical-align: top;
  font-size: 0.9em;
  padding: 0.2em 0.25em;
}

#content table td.date {
    text-align: right;
}

#content table td.dash {
    text-align: center;
}

#content table td.coetus,
#content table td.medal {
    white-space: pre;
}

#content #auvil-links td {
    padding: 0.2em 0.3em;
}

#content .block-image {
  text-align: left;
  color: #000000;
  font-size: 10px;
}
#content .block-image img {
    float: none;
    border: 1px solid #4fa27c;
    padding: 1px;
    margin: 0;
}
#content li {
    margin: 0.5em 0;
}

#content blockquote {
  border: 1px solid #4fa27c;
  border-left: none;
  border-right: none;
  padding: 0 1em;
  margin: 2em 0;
  background: #eee;
  font-size: 0.88em;
}

#content blockquote p.author {
  text-align: right;
  font-style: italic;
}

#content ul.juhatused {
  list-style-type: none;
  display: block;
  padding-left: 0px;
  margin-left: 0px;
}
#content ul.juhatus {
  margin: 0;
  padding: 0;

}
#content ul.juhatus li {
  display: block;
  list-style-type: none;
  clear: left;
  padding-left: 0px;
  margin-left: 0px;
}
#content ul.juhatus li ul li {
  clear: none;
}

#content ul.juhatus li.member{
	float: left;
	clear: none;
	width: 250px;
	padding-right: 5px;
	padding-top: 0px;
	margin: 0px 0px 10px !important;
}
#content ul.juhatus li.member h3 {
	padding: 0px 0 0px;
	margin-top: 0px;
}
#content ul.juhatus li.member h3 img{
  padding: 0px;
  margin: 0px 5px 0px 0px !important;
}
/**
 * Used with empty div for purely presentational purposes
 */
.clearer {
    clear: both;
}


.tooltip-content{
    display: none;
}
.ui-tooltip {
    padding: 3px;
    border-radius: 3px;
    box-shadow: 0 0 7px black;
}

/**
 * Navigation for cantus-book
 */
#cantus-nav {
    font-size: 0.9em;
    background: #F0f0f0;
    color: black;
    padding: 0.5em 0.5em;
}
#cantus-nav input {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 10px;
}
#cantus-nav a:link, #cantus-nav a:visited {
  text-decoration: underline;
  color: #3670cc;
  white-space: nowrap;
}

#cantus-nav a:hover {
  text-decoration: none;
}

#cantus-nav strong {
    font-weight: bold;
    white-space: nowrap;
}
#cantus-nav form, #cantus-nav form p {
    margin: 0;
    text-align: center;
}
#cantus-nav .category-menu {
    text-align: center;
    margin: 0;
}
#cantus-nav .pager {
    text-align: center;
    margin-top: 3px;
    margin-bottom: 3px;
}

.cantus {
    margin-left: 5em;
    margin-bottom: 3em;
}
.cantus dl {
    color: #666;
    font-size: 0.9em;
}
.cantus dl dd {
}
.cantus dl dt {
  clear: both;
  float: left;
  margin: 0;
  padding: 0 0.5em 0 0;
}
.lyrics{
  font-size: 11px;
}

/* small print at the bottom of cantus-list */
.disclaimer{
    font-size: 0.8em;
    color: gray;
}

.error {
    text-align: center;
}

.flagback {
  border-color: #2f2f2f;
  background-color: #000000;
}

.txt_bold
{
  font-weight: bold;
}

#content table.leinateade
{
  margin-top: 2em;
  border-width: 6px;
  border-style: solid;
  border-color: #000000;
  border-collapse: collapse;
  font-size: 1.1em;
}
#content table.leinateade tr
{
  text-align: center;
}
#content table.leinateade td
{
  padding: 2px;
  vertical-align: middle;
}
#content table.leinateade .name
{
  font-weight: bold;
  font-size: 2em;
}
#content table.leinateade .cross
{
  font-weight: bold;
  font-size: 4.8em;
  vertical-align: bottom;
}

#content hr
{
  border: 0;
  color: #000000;
  background-color: #000000;
  height: 1px;
  width: 100%;
}

#coetus ul{
  padding: 0;
  margin: 0;
}

#coetus li.maintable{
  float: left;
  margin: 0 25px 0 0;
}

#coetus li{
    margin: 2px 2px 2px 10px;
    list-style-type: none;
}
#coetus img{
  border: 0;
  padding: 0;
    margin: 2px 2px 0 0;
}
#coetus .nopic{
  padding: 0;
    margin: 0 2px 0 0;
}
#coetus a
{
  text-decoration: none;
}
#coetus a:hover
{
  text-decoration: underline;
}
#coetus h3{
    margin: 10px 0 0;
}
span.x-lyrics{
  cursor: help;
}

#mapLegend td{
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
}
#mapLegend img{
  border: none;
  float: none;
  margin: 0;
  border: 0;
  padding: 0px;

}

div.luuletus {
position: absolute;
top: 100px; right: 100px;
font-style: italic;
}
div.luuletus p.title{
text-decoration: none;
font-weight: bold;
}

.eventEnded{

	color: #909090;

}

.brdtop{
  border-top: 1px solid #4fa27c;
 padding-top: 10px;
}