body {
  background: #155464 url( /clients/layouts/bubbly/pics/bg.gif ) repeat-x top left;
  color: #000;
  font: 85%/1.6 'Trebuchet MS', Arial, sans-serif;
}
h1 {
  color: #184A5E;
  text-transform: uppercase;
}
a {
  color: #000;
}
a:visited {
  color: #407089;
}
#page {
  width: 966px;
  margin: 0 auto;
  background: #FFF;
  background-color: #FFF;
}
#top-bar {
  background: #CCC url( /files/tapme.kotisivukone.com/kuvat/leiska/header.jpg ) no-repeat top left;
  border: 3px solid #FFF;
  height: 170px;
}
#menu {
  background: transparent url( /clients/layouts/bubbly/pics/menushadow.gif ) bottom left repeat-x;
}
#menu ul li {
  margin: 3px;
}
#menu ul li a {
  color: #000;
  font: bold 14px 'Trebuchet MS', Tahoma, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  display: block;
  padding: 9px 9px 6px;
}
#menu ul li.active_link a, #menu ul li.sublink_active a, #menu ul li a:hover, #menu ul li a:focus {
  border-top: 3px solid #88c9e6;
  padding: 6px 9px;
  text-decoration: none;
  color: #000;
}
#menu ul li.sublink_active a {
  border-top-color: #CCC;
}
#menu ul li.sublink_active a:hover, #menu ul li.sublink_active a:focus {
  border-top-color: #88c9e6;
}
#menu ul li ul {
  z-index: 1001;
}
#menu ul li ul li, #menu ul li ul li.first_link {
  margin: 0; padding: 0;
}
#menu ul li ul li a {
  border: none !important;
  text-transform: none;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px
}
#menu ul li ul li a, #menu ul li ul li.active_link a, #menu ul li ul li a:hover, #menu ul li ul li a:focus {
  border: none;
  padding: 6px 9px 6px 9px;
}
#menu ul li ul li.active_link a, #menu ul li ul li a:hover, #menu ul li ul li a:focus {
  text-decoration: underline;
}

#left-bar {
  background: transparent url( /clients/layouts/bubbly/pics/border.png ) top right no-repeat !important;
  background: transparent url( );
  width: 200px;
  min-height: 500px;
  overflow: hidden;
}
#right-bar {
  background: transparent url( /clients/layouts/bubbly/pics/border.png ) top left no-repeat !important;
  background: transparent url( );
  min-height: 500px;
  padding-left: 5px;
}
body.twocol #content { margin: 0 200px; }
body.nocol #content { margin: 0 16px; }
body.leftcol #content { margin: 0 16px 0 200px; }
body.rightcol #content { margin: 0 200px 0 16px; }
.box {
  margin: 0;
  border: none;
  width: 190px;
  padding: 6px;
}
.box .header {
  background: transparent;
}
.box .content {
  background-color: transparent;
}
#footer {
  background-color: #FFF;
  padding: 1em 0;
}
#footer a {
  text-decoration: none;
  font-size: 10px;
}


/* OMAT */

.inner { margin-right: 20px; }

#logo_text a { color: #FFF; padding: .5em 11em 2em 0; text-decoration: none; }

#content a:link,
#content a:visited,
#content a:hover,
#content a:active,
#content a:focus { font-weight: bold; }

#content a:link,
#content a:active { color: #039; }

#content a:visited { color: #06C; }

#content a:hover,
#content a:focus { color: #C00; }

#content td.kokous a:visited { color: #039; }

#content p a[href^='http:'],
#content li a[href^='http:'],
#content dl a[href^='http:'] { background: url( /files/tapme.kotisivukone.com/kuvat/leiska/external.png ) center right no-repeat; padding-right: 15px; }

table.content_table { width: auto; }

#content .clear { height: auto; overflow: auto; }

div#news_frontpage { margin: -1em auto -3em; margin-right: 10px; }

div#calendar_frontpage { margin-right: 10px; }

#searchengine  { float: left; margin-top: 130px; position: relative; z-index: 99; }

#menu li a:focus + ul { left: auto }

#menu ul li ul {
  background-color: #FFF;
  border-color: #EBEBEB;
  border-top-color: #FFF;
  border-width: 5px;
  margin-top: -2px;
  -moz-box-shadow: 3px 3px 3px 0px rgba(42, 41, 41, 0.5);
  -webkit-box-shadow: 3px 3px 3px 0px rgba(42, 41, 41, 0.5);
  box-shadow: 3px 3px 3px 0px rgba(42, 41, 41, 0.5);
}

.box p.eventsCalendarBlockUsual { border-bottom: 1px dotted #EBEBEB; padding: 0; }

.eventsCalendarLineFrontPage p { margin-left: 10px; }

.calendar h1 { text-transform: none; }

#logo {
  float: right !important;
  left: 0 !important;
  margin-right: -7px !important;
  position: relative;
  top: 0 !important;
}
#logo_text { font-weight: bold; }

.kuvat {
  border: 1px solid #184A5E;
  float: right;
  margin: 0 0 1em 1em;
}

.noborder { border: 0; }

.keski { float: none; margin: 0 auto; text-align: center; }
.oikea { float: right; margin: 0 0 1em 1em; }

#kuvia,
#kuvia li {
   text-align: center;
   margin: 5px auto;
}

#kuvia li {
   float: left;
   height: 120px;
   list-style: none;
   width: 170px;
}

#kuvia li a {
   border: 0;
}

#footer, #palaute, table.news_list { clear: left; margin-top: 4em; }

h1 { font-size: 2em; padding: .2em 0; }
h2 { font-size: 1.7em; padding: .2em 0; }
h3 { font-size: 1.5em; margin: .2em 0; }
h4 { font-size: 1.2em; margin: .2em 0; }

td.content_table table, td.content_table table th, td.content_table table td {
  padding: 5px;
  border: 1px solid #EEE;
  border-spacing: 0;
  border-collapse: collapse;
}

.albumi table, .albumi th, .albumi td { border: 0; }

.singlepage10 .content_table table,
.singlepage13 .content_table table {
  -moz-box-shadow: 3px 3px 3px 0px rgba(42, 41, 41, 0.5);
  -webkit-box-shadow: 3px 3px 3px 0px rgba(42, 41, 41, 0.5);
  box-shadow: 3px 3px 3px 0px rgba(42, 41, 41, 0.5);
}

table#kolovuorot { width: 100%; }

table#kolovuorot td {
  width: 113px;
  vertical-align: top;
}

table#kolovuorot th.vasen {
  width: 50px;
}

table tr:nth-child(even) {
  background-color: #EEF;
}

table thead {
  background-color: #DDF;
}

table#kolovuorot td.kokous {
  background: #88c9e6;
}

#content iframe,
#content #kartta_kkk,
#content #kartta_keijis,
#content #kartta_karhunpesa,
#content #isokartta_keijis,
#content #isokartta_karhunpesa { border: 1px solid #184A5E; display: block; margin: 10px auto; padding: 3px;
  -moz-box-shadow: 3px 3px 3px 0px rgba(42, 41, 41, 0.5);
  -webkit-box-shadow: 3px 3px 3px 0px rgba(42, 41, 41, 0.5);
  box-shadow: 3px 3px 3px 0px rgba(42, 41, 41, 0.5);
}

#content #kartta_kkk,
#content #kartta_keijis,
#content #kartta_karhunpesa { width: 620px; height: 300px; }

#content #isokartta_keijis,
#content #isokartta_karhunpesa { width: 700px; height: 400px; }

#right-bar iframe { border: 0; margin: 0 0 1em; padding: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

fieldset { line-height: 2.5; width: auto; }

#logo_and_text_div { visibility: visible !important; }

#logo_text { left: auto !important; top: auto !important; }

#top-bar #logo_text a {
  color: #FFF;
  display: block;
  font: bold 43px 'Trebuchet MS', sans-serif;
  height: 130px;
  padding: 1em 0 0 .3em;
  text-decoration: none;
  width: 960px;
}

label { clear: both; display: block; float: left; font-weight: bold; width: 10em; }

form#uusijasen label {  width: 17em; }

input[type=text],
input[type=email] { width: 50em; }

form#uusijasen input[type=text],
form#uusijasen input[type=email] { width: 41em; }

textarea { height: 10em; width: 62em; }

#album_content #comments p { max-width: 900px; overflow: scroll; }

#comments textarea { width: auto; }

#single_image div { width: 100%; }

#single_image h1 { font-size: 1.2em; text-transform: none; }

.form_table input[type=text],
.form_table textarea { width: auto; }

.form_table tr:nth-child(even),
#single_image tr:nth-child(even),
.image_list tr:nth-child(even),
.messageboard tr:nth-child(even),
.lomake tr:nth-child(even),
.ryhma tr:nth-child(even) {
  background-color: transparent;
}

#album_content #prev_next tr td { padding: 5px; }

form div input[type=text] { width: auto; }
form div select { width: 130px !important; }

abbr { border-bottom: 1px dotted #CCC; cursor: help; }

#box2 { display: block; }
#box9 { border-top: 1px dotted #EBEBEB; margin: 2em 3px;  width: 175px; }
#box10 { display: none; }
.frontpage #box2, .kalenteri #box2 { display: none; }
.frontpage #box9, .kalenteri #box9 { border: 0; margin-top: 0; }
.frontpage #box10 { display: block; }

b.calendar_date { border-bottom-color: #039; color: #039; font-size: 1.3em; }

ul.historia { height: 2em; margin: 1em; }

ul.historia li {
  font-size: 1.3em;
  float: left;
  list-style: none;
  text-transform: uppercase;
}

#content ul.historia li a {
  background: #184A5E;
  border: 1px solid #039;
  color: #FFF;
  margin: 0 .3em;
  padding: .5em;
  text-decoration: none;
}

#content ul.historia li a:hover {
  background: #69C;
  color: #000;
}

.ryhma {
  background-color: #FFD;
  border: 1px solid #DD0;
  clear: both;
  margin: 1em;
  padding: 0 1em 1em;
}

.ryhma h2 {
  float: left;
  width: 7em;
}

td.content_table .ryhma table { margin-top: .5em; }

td.content_table .ryhma table,
td.content_table .ryhma table thead,
td.content_table .ryhma table tr,
td.content_table .ryhma table th,
td.content_table .ryhma table td { background: none; border: 0; }

td.content_table .ryhma table th,
td.content_table .ryhma table td { padding: 0 0 .1em; }

li.puhelin { list-style-image: url( /files/tapme.kotisivukone.com/kuvat/leiska/puhelin.png ); list-style-type: disc; }
li.email { list-style-image: url( /files/tapme.kotisivukone.com/kuvat/leiska/email.png ); list-style-type: disc; }

blockquote { background: url( /files/tapme.kotisivukone.com/kuvat/leiska/blockquote.png ) top left no-repeat; margin: 1em; padding-left: 60px; width: 410px; }
#content h1 {
}
#content h2 {
}
#left-bar, #right-bar {
}
#left-bar h1, #right-bar h1 {
}
