/* Start of CMSMS style sheet 'BE_main' */
/* *******************************************
RESETIT
******************************************* */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
    outline: 0;
}
body {
    line-height: 1;
    color: black;
    background: white;
}
ol, ul {
    list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}
input[type=hidden] {
visibility: hidden;
height:0px;
border:0px;
margin: 0 0 0 0;
padding: 0 0 0 0;
position:absolute;
}

img { -ms-interpolation-mode: bicubic; }

sup,
sub {
    height: 0;
    line-height: 1;
    vertical-align: baseline;
    _vertical-align: bottom;
    position: relative;

}
sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

/* *******************************************
COMMON ELEMENTS
******************************************* */

body {
    font: normal 14px/18px Georgia, "Times New Roman", Times, serif;
		background: #3c0d08 url(../kuvat/bg.jpg) repeat-y center;
		color: #440000;
	margin: 0px;
	padding: 0px;
	position: relative;
}

/* Tablet */

table {
    width: 100%;
}
tbody tr:hover {
    background-color: #d7b971;
}
table td {
    padding: 3px;
    vertical-align: middle;
}
caption, tbody, tfoot, thead {}

#cellsOnly {
    width: 100%;
		margin-bottom: 15px;
}
#cellsOnly tr:hover {
    background-color: transparent!important;
}
#cellsOnly td {
    padding: 5px;
    vertical-align: middle;
}
#cellsOnly td:hover {
		background-color: #d7b971!important;
}
#cellsOnly td:hover a {
		color: white;
}


@font-face {
	font-family: 'ImmortalRegular';
	src: url('/fonts/immortal.eot');
	src: local('Immortal'), local('Immortal'), url('/fonts/immortal.woff') format('woff'), url('/fonts/immortal.ttf') format('truetype'), url('/fonts/immortal.svg#Immortal') format('svg');
}

@font-face {
	font-family: 'Immortal-AlternatesRegular';
	src: url('/fonts/IMMRTLT_.eot');
	src: local('Immortal - Alternates'), local('Immortal-Alternates'), url('/fonts/IMMRTLT_.woff') format('woff'), url('/fonts/IMMRTLT_.ttf') format('truetype'), url('/fonts/IMMRTLT_.svg#Immortal-Alternates') format('svg');
}

/* *******************************************
COMMON BLOCKS
******************************************* */

.contentWrapper {
	width: 890px;
	display: block;
	overflow: hidden;
	margin: 0 auto;
	padding: 0 55px;
	position: relative;
}
#content .contentWrapper {
	background: transparent url(/kuvat/alanavi_bg.gif) no-repeat left top;
}
#header {
	background: url(../kuvat/header_bg.jpg) no-repeat top center;
	height: 217px;
	display: block;
	padding: 30px 0 0 0;
}
#content {
	display: block;
	min-height: 360px;
}
#leipis {
	display: block;
	float: left;
	overflow: hidden;
}
#footer {
	background: url(../kuvat/footer_bg.jpg) no-repeat top center;
	display: block;
	height: 502px;
}

/* *******************************************
HEADER
******************************************* */

#header {
    display: block;
}
#headerGigs {
	display: block;
	position: absolute;
	right: 55px;
	top: 0px;
	width: 400px;
}
#headerGigs h3 {
	font: 24px/34px 'ImmortalRegular', Georgia, "Times New Roman", Times, serif;
	color: black;
	padding: 0 0 0 98px;
}
#headerGigs .date {
	display: block;
	float: left;
	font-weight: bold;
	padding: 0 5px 0 0;
	text-align: right;
	width: 85px;
}
#headerGigs p {
	padding: 5px 0 0 98px;
}
#headerGigs a {
	color: #a90705;
}
#headerGigs a:hover {
	color: white;
}



/* *******************************************
FOOTER
******************************************* */

#footer {
    clear: both;
    display: block;
}
#socialToolbar {
	width: 890px;
	display: block;
	overflow: hidden;
	margin: 0 auto;
	padding: 15px 55px 0 55px;
	position: relative;
}
#socialToolbar a {
	color: #a90705!important;
}
#socialToolbar a:hover {
	color: white!important;
}
#rssButton {
	background: url(/kuvat/icon_rss.gif) no-repeat left bottom;
	display: block;
	float: right;
	height: 20px;
	padding: 10px 0 0 35px;
	width: 245px;
}
.addthis_toolbox {
	padding-top: 10px!important;
}
#footerLinks {
	width: 890px;
	display: block;
	overflow: hidden;
	margin: 0 auto;
	padding: 120px 55px 0 55px;
	position: relative;
}
#footerLinks h2 {
		background: none;
		color: #000;
		font: 30px 'ImmortalRegular', Georgia, "Times New Roman", Times, serif;
		height: 43px;
    margin: 0;
		padding: 37px 0 0 0;
		text-transform: uppercase;
}

/*----------------------*/

.footerColumn {
	display: block;
	float: left;
	font-size: 12px;
	margin: 10px 10px 10px 0;
	overflow: hidden;
	width: 286px;
}
.footerColumn p {
	margin: 10px 0 0 0;
}
.footerColumn p.irto {
	color: white;
	margin: 10px 0 0 0;
	padding: 0 0 0 0px;
}
.footerColumn p.top {
	margin: 10px 0 0 0;
	padding: 30px 10px;
	text-align: left;
}
p.top a {
	display: block;
	padding: 5px 5px 5px 0;
}
.footerColumn ul li {
	display: block;
	margin: 0;
	padding: 5px 5px 5px 0;
}
.footerColumn ul li:hover {
	color: white;
	cursor: pointer;
}
#footer ul li:hover p a {
	color: white;
}
.webdesign {
	display: block;
	float: left;
	margin: 15px 0 10px 0;
	width: 80px;
}



/* *******************************************
MAIN MENU
******************************************* */

#menu_vert {
	font-size: 18px;
	margin: 0;
	padding: 0;
	width: 150px;
}
#menu_vert ul {
/* remove any bullets */
	list-style: none;
/* margin/padding set in li */
	margin: 0px;
	padding: 0px;
}
#menu_vert li {
/* remove any bullets */
	list-style: none;
/* negative bottom margin pulls them together, images look like one border between */
	margin: 0px 0px -1px;
/* bottom padding pushes "a" up enough to show our image */
	padding: 0px 0px 4px 0px;
}
#menu_vert li.currentpage {
	padding: 0px 0px 3px 0px;
}
#menu_vert li.menuactive {
	margin: 0;
	padding: 0px;
/* replaced by image in ul ul */
	background: none;
}
#menu_vert li.menuactive ul {
	margin: 0;
}
#menu_vert li.activeparent {
	margin: 0;
	padding: 0px;
}
/* fix stupid IE6 bug with display:block; */
* html #menu_vert li {
	height: 1%;
}
* html #menu_vert li a {
	height: 1%;
}
* html #menu_vert li hr {
	height: 1%;
}
/** end fix **/
/* first level links */
div#menu_vert a {
/* IE6 has problems with this, fixed above */
	display: block;
/* some air for it */
	padding: 3px 0;
/* this will be link color for all levels */
	color: #3b0d07;
/* Fixes IE7 whitespace bug */
	min-height: 1em;
/* no underline for links */
	text-decoration: none;
}
/* hover state for all links */
div#menu_vert a:hover {
	color: #a90705;
}
div#menu_vert a.activeparent:hover {
	color: #a90705;
}
/* active parent, that is the first level parent of a child page that is the current page */
div#menu_vert li.activeparent {
/* white to contrast with background image */
	color: #fff;
}
div#menu_vert li.activeparent a.activeparent {
/* to contrast with background image */
	color: #fff;
}
div#menu_vert li a.parent {
}
div#menu_vert li a.parent span {
	display: block;
	margin: 0;
}
div#menu_vert li a.parent:hover {
/* removes underline hover effect */
	text-decoration: none;
}
div#menu_vert li a.parent:hover span {
	display: block;
	margin: 0;
}
div#menu_vert li a.menuactive.menuparent {
/* sets it in a little more than a.parent */
}
div#menu_vert li a.menuactive.menuparent span {
	display: block;
	color: white;
	margin: 0;
	padding: 1px 0;
}
div#menu_vert li a.menuactive.menuparent:hover {
	text-decoration: none;
	color: #a90705;
}
/* current pages in the default Menu Manager template are unclickable. This is for current page on first level */
div#menu_vert ul h3 {
	display: block;
/* some air for it */
	padding: 3px 0;
/* this will be link color for all levels */
	color: #fff;
/* as <h3> normally has some margin by default */
	margin: 0;
}
/* BIG NOTE: I didn't do anything to these, never tested */
/* section header */
div#menu_vert li.sectionheader {
	border-right: none;
	padding: 0.8em 0.5em 0.5em 1.5em;
	line-height: 1em;
	margin: 0;
        color: #18507C;
        cursor:text;
}
/* separator */
div#menu_vert .separator {
	height: 1px !important;
	margin-top: -1px;
	margin-bottom: 0;
	-padding: 2px 0 2px 0;
	background-color: #000;
	overflow: hidden !important;
	line-height: 1px !important;
	font-size: 1px;
/* for ie */
}
div#menu_vert li.separator hr {
	display: none;
/* this is for accessibility */
}

/* *******************************************
SUB MENU
******************************************* */

#submenu_vert {
	display: block;
	float: left;
	margin: 45px 0 0 0;
	min-height: 100px;
	overflow: hidden;
	width: 150px;
}
#submenu_vert li {
	margin: 15px 0;
}
#submenu_vert h3 {
	color: white;
}

/* *******************************************
FORMIT
******************************************* */

#leipis form {
    padding: 10px 0;
}
#leipis form p {
    text-align:left;
    padding:15px 5px 5px 0;
    margin:0;
}

#leipis form fieldset {
    display:block;
    border:1px solid #ddd;
    padding:5px 5px 5px 10px;
    margin-bottom:0.5em;
    line-height:1.5em;
}
#leipis form fieldset:hover {
    border:1px solid #ccc;
}

#leipis form legend {
    font-weight:bold;
    font-size: 16px;
    margin-bottom:15px;
    padding:6px;
    background:none;
    color: #f6a800; /* Keltainen */
}
* html #leipis form legend {
    padding:0 0 30px 0;
    margin:5px 0 0 0;
    border:none;
}

#leipis form label {
    clear:left;
    display:block;
    float:left;
    width:100px;
    text-align:left;
    padding-right:10px;
    margin-bottom:0.5em;
}

#leipis form input[type="text"] {
    border:1px solid #ccc;
    font: normal 12px "Trebuchet MS", Arial, Helvetica;
    padding-left: 3px;
    margin-bottom: 10px;
    width:200px;
    background:#fff;
}
input[type="checkbox"],
input[type="radio"] {
    width: inherit!important;
    border: none!important;
    margin-bottom: 10px;
}
#leipis form input:hover {
    border:1px solid #999;
}
#leipis form input:focus {
    border:1px solid #666;
}

#leipis form select {
    margin:0 0 1em 0.5em;
}
#leipis form textarea {
    width:350px;
    font: normal 12px "Trebuchet MS", Arial, Helvetica;
    height:15em;
    border:1px solid #ccc;
    padding:0.5em;
    overflow:auto;
}
#leipis form textarea:hover {
    border:1px solid #999;
}
#leipis form textarea:focus {
    border:1px solid #666;
}

#leipis form option {
    background:#fff;
}
#leipis form optgroup {
    background:#fff;
    color:#000;
    font-style:normal;
}
#leipis form optgroup option {
    background:#fff;
}

#leipis form #button1,
#leipis form #button2 {
    color:#58585a;
    padding-right:0.5em;
    cursor:pointer;
    width:205px;
    margin-left:8px;
    background: url(../kuvat/btnbg_white.png) no-repeat right top;
    padding: 9px;
    border: none;
    text-transform: uppercase;
}
#leipis form #button1:hover,
#leipis form #button2:hover {
    color:#000;
}


/* *******************************************
ETUSIVU
******************************************* */

#bannerit {
		background: url(/kuvat/bannerit_bg.jpg) no-repeat left 50px;
		display: block;
		height: 635px;
		float: right;
		margin: 0 0 15px 30px;
		width: 310px;
}
#bannerit h2 {
	background: url(/kuvat/vinjetti_cross1.gif) no-repeat left bottom;
	margin: 0 0 0 5px;
	padding: 37px 0 0 20px;
}
#bannerit a {
	display: block;
	margin: 5px 27px;
	padding: 0;
}
#bannerit a img {
	border: 1px solid #d6a14e;
}
#newsEtusivu {
	margin: 0;
	padding: 0;
}
#newsEtusivu .date {
	font-weight: bold;
	margin: 0 5px 0 0;
}
#newsEtusivu h3 {
	color: black;
	display: inline;
	font: normal 18px Georgia, "Times New Roman", Times, serif!important;
	margin: 0;
	padding: 0;
}
#newsEtusivu p {
}
#newsEtusivu li {
	margin: 15px 0;
}

/* *******************************************
LEIPIS
******************************************* */

/* Tekstiblokit */

h1 {
    margin: 1em 0;
}
h2 {
		background: url(/kuvat/vinjetti_cross2.gif) no-repeat left bottom;
		color: #bb0705;
		font: 30px 'ImmortalRegular', Georgia, "Times New Roman", Times, serif;
		height: 43px;
    margin: 0;
		padding: 37px 0 0 30px;
		text-transform: uppercase;
}
#leipis h2 {
		background: url(/kuvat/vinjetti_cross2.gif) no-repeat left top;
		margin-bottom: 30px;
		padding: 47px 0 0 30px;
		text-transform: uppercase;
}
#leipis h3 {
    margin: 1em 0 .5em 0;
	font: 24px/34px 'ImmortalRegular', Georgia, "Times New Roman", Times, serif;
	color: black;
}
#leipis h4 {
    margin: 1em 0 .5em 0;
}
#leipisText {
	display: block;
	padding: 0 0 0 30px;
	width: 595px;
}
#leipis p {
    margin: 1em 0;
}

/* Muotoilut */

a {
	color: #a90705;
}
a:hover {
	color: white;
}

em, italic {
    font-style: italic;
}
strong, b {
    font-weight: bold;
}

/* Listat */

#leipis ul,
#leipis ol {
    margin: 10px 0 10px 0;
}
#leipis ul li {
    background: url(../kuvat/bullet.gif) no-repeat top left;
    line-height: normal;
    margin: 5px 0;
    padding: 5px 5px 5px 10px;
}
#leipis ol li {
    list-style-type: decimal;
    line-height: normal;
    margin: 5px 0;
    padding: 5px 5px 5px 10px;
}

/* Sekalaiset */

.leftalign {
    float: left;
    margin: 0 .5em .5em 0;
}
.rightalign {
    float: right;
    margin: 0 0 .5em .5em;
}
.column {
	display: block;
	float: left;
	overflow: hidden:
	padding: 0 15px 0 0;
	width: 50%;
	*width: 47%;
}
* html .column {
	display: inline;
	float: left;
	overflow: hidden:
	padding: 0 15px 0 0;
	width: 47%;
}
.promoPic {
	background-color: black;
	border: 1px solid #440000;
	display: block;
	float: left;
	height: 140px;
	margin: 0 5px 5px 0;
	overflow: hidden;
	width: 140px;
	text-align: center;
}
.promoPic:hover {
	border: 1px solid white;
}
.nobg {
	background: none!important;
}
#NewsPostDetailPrintLink {
	display: block;
	padding: 20px 0 0 0;
}
/* End of 'BE_main' */

