@charset "utf-8"; 
/*
Theme Name:KomNL
Theme URI:http://www.komnl.fi/
Description:KomNL Style Sheet
Version:0.1
.
GNU General Public Licence
http://www.gnu.org/licenses/gpl.txt
http://www.gnu.org/copyleft/gpl.html
.

********************************************* */
/*
YELLOW
#fdcd1a
RED
#911a26
GRAY
#ebebeb
/*


/* ---------------- PERUS | BASIC ----------------- */
body
{
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: 11pt;
    margin: 0;
    background: url('./images/tausta.png') fixed repeat #fdcd1a;
    color: #000;
}

p
{
	line-height: 1.5em;
	text-align: left;
}

p a
{
  color: #911a26;
}

h1, h2, h3
{
  max-width: 400px;
  color: #911a26;
  font-weight: normal;
}

img
{
}

ul
{
  margin-left: -3.25em;
  margin-top:  0em;
  margin-bottom: 0em;
}

/* ----------------- LINKIT | LINKS ----------------- */
a
{
	text-decoration: none;
  color: #fdcd1a;
}

a.p
{
  color: #911a26;
}

a:hover
{
	text-decoration: underline;
}

/* --------------------- DIVS */
div#frame
{
	width: 980px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
  background: url('./images/keski_bg.png') repeat-y #ebebeb;
}

div#header
{
  background: url('./images/logo_komnl.png') no-repeat transparent;
}
div#header_bar
{
  background: url('./images/y_palkki.png') no-repeat #911a26;
  width:980px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  position:relative;
  top:-0.2em;
}
div#datelang
{
  text-align: right;
  color:#fdcd1a;
  display:table;
  width:980px;
}

div#middle
{
  position: relative;
  left: 2em;
  top: -0.5em;
  width: 550px;
	text-align: left;
}

div#footer
{
  background: url('./images/a_palkki.png') no-repeat top left transparent;
  text-align: left;
  color: #fdcd1a;
  position: relative;
  top: 2em;
  margin-top: 2em;
  margin-bottom: -2em;
  width: 998px;
  height: 70px;
}
div#boxes
{
  position: relative;
  left: 2px;
  text-align: left;
/*  float: left;*/
  width: 250px;
  color:#fafafa;
}
div#navi, div#poll, div#quote
{
  margin-bottom: 1em;
  margin-left: 0.5em;
}


div.box_header
{
  background: url('./images/y_laatikko.png') no-repeat #ebebeb;
  height: 66px;
  font-size: 18pt;
  color: #fdcd1a;
}
div.box_header_text
{
  margin-left:1.75em;
  position:relative;
  top:0.6em
}
div.box_content
{
  background: url('./images/k_laatikko.png') repeat-y #ebebeb;
  margin: 0;
}
div.box_content_text
{
  margin-left: 2em;
  margin-right: 2em;
  margin-top: 0;
  margin-bottom: 0;
}

div.box_footer
{
  background: url('./images/a_laatikko.png') no-repeat #ebebeb;
  height: 36px;
  margin: 0;
}
/*-------------------------------- */

.pagenav, .page_item
{
/*  list-style-type: none; */
  display: block;
  color: #fdcd1a;
  z-index: 1;
}
.page_item
{
  margin-left: 2em;
  margin-right: 1em;
  text-decoration: none;
  font-size: 16pt;
  letter-spacing:-0.05em;
}
a.page_item:hover
{
  background: url('./images/tahti.png') no-repeat top right;
  color: #f3c310;
}
.current_page_item
{
  text-decoration: none;
  color: #f3c310;
  background: url('./images/tahti_selected.png') no-repeat top right;
}

img.theme_picture
{
  margin: 0;
  padding: 0;
  border: 0;
}
/* --------------- MUOKKAUS ------------------ */
.edit
{
  border: 0;
  font-variant: small-caps;
  font-weight: bold;
  letter-spacing: 0.2em;
  color: #000;
  background-color: transparent;
  filter: alpha(opacity=25);
  -moz-opacity: .50;
  opacity: .50;
  position: absolute;
  top: 1em;
  left: 1em;
  height: 5em;
  width: 9em;
}
.edit:hover
{
  background: #ccc;
  color: #fff; 
  font-weight: normal;
  padding: 1em;
  height: 5em;
  width: 9em;
}
.edit:hover:before
{
  content: 'Paina muokataksesi sivua ';
}
/* ----- */
table, td, tr
{
  margin: 0;
  padding: 0;
  border: 0;
}
.qtrans_language_chooser
{
  display:tablecell;
  list-style-type:none;
}