
@import "/common/css/common_styles.css";

body {
	background-color: #fff;
	margin: 0;
	padding: 0;
	text-align: center;
}

body, p, dl, ul, td, th, div {
	font-family: "Times New Roman", serif;
	/*font-size: 14px;*/
	color: #000;
}

h1 { font-size: 18px; font-weight: bold; color: #369;}
h2 { font-size: 16px; font-weight: bold; color: #000;}
h3 { font-size: 14px; font-weight: bold; color: #369;}
h4 { font-size: 13px; font-weight: bold; }
h5 { font-size: 12px; font-weight: bold; }
h6 { font-size: 11px; font-weight: bold; }

h3 { margin-bottom: 0; }

/* First paragraph after h3 */
h3+p
{
	margin-top: 0;
}

/* disables borders from link images */
a img {
	border: 0;
	padding: 0;
}

.align_left {
	text-align: left;
}

.align_right {
	text-align: right;
}

.align_center {
	text-align: center;
}

.instr_img {
	margin: auto;
}

.code_example {
	font-family: Courier New;
	font-size: 12px;
	color: #000;
	background-color: #f8f8f8;
	border: 1px solid black;
	padding: 5px;
	margin: 1em;
}

.code_example a, .code_example a:visited, .code_example a:hover {
	text-decoration: none;
	color: #000;
}

.code_example .kw2 {
	font-weight: bold;
	color: #00f;
}

.code_example .kw3 {
	font-weight: bold;
	color: #900;
}

.code_example .st0 {
	color: #007C00;
}

.code, .file {
	font-family: Courier New;
}

.ess_logo, .ess_logo a, .ess_logo a:visited {
	font-size: 18px;
	font-weight: bold;
	color: #044da0;
	text-decoration: none;
}

/* Invisible skip to content link */
#skip_to_content {
	position: absolute;
	left: -9999px;
	font-size: small;
	text-align: center;
}

#skip_to_content a:hover {
	color: #f00;
}

#skip_to_content a:focus {
	display: block;
	position: absolute;
	top: 120px;
	left: 9990px;
	font-size: large;
	background: #fff;
	border: solid 2px #1B6BD8;
	padding: 10px;
	width: 15em;
	z-index: 1;
}

#munclist {
	display: none;
}

a.to_front_page {
	display: none;
}

/*BM:MAIN SECTIONS ----------------------------------------------------*/

#main_container {
  /*text-align: center;*/
  padding: 0;
  margin: 0 auto;
	/*border: 1px solid red;*/
}

#left_col {
	width: 160px;
	/*border: 1px solid green;*/
	float: left;
	/*font-weight: bold;*/
	margin-bottom: 5px;
	clear: left;
	margin-left: 20px;
}

#content {
	font-size: 16px;
	/* margin: 0; */
	margin-bottom: 5px;
	/* padding: 5px; */
	/*border: 1px solid green;*/
	text-align: left;
	color: #000;
	/* padding: 0; */
	margin-left: 200px;
	margin-right: 200px;
	padding-left: 20px;
	padding-right: 20px;
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
}

/* class for #content div */
.frontpage {

}

/* class for #content div */
#content.subpage {
	background-color: #fff;
	margin-right: 20px;
	border-right: 0;
}

#right_col {
	width: 160px;
	/*border: 1px solid green;*/
	float: right;
	font-weight: bold;
	margin-bottom: 5px;
	margin-right: 20px;
}

/*BM:SHARED STYLES--------------------------------------------------------*/

.boxheader {
	/*text-transform: uppercase;*/
	padding: 0;
	font-size: 16px;
	font-weight: bold;
	color: #000;
	border-bottom: 0;
	vertical-align: bottom;
	margin: 0;
	margin-top: 5px;
}

/*BM:LINKS -------------------------------------------------------------*/


/* Links in box titles, ie. tapahtumakalenteri */
.title_link {
	font-weight: bold;
}

.boxheader a {
	text-decoration: none;
	color: #369;
}

.boxheader a:hover {
	text-decoration: underline;
	color: #369;
}

.link_list a {
	/*font-weight: bold;*/
}

.link_list a, #left_col a, #right_col a, .title_link, h3 a, #munclist a {
	color: #369;
	text-decoration: none;
}

.link_list a:hover, #left_col a:hover, .title_link:hover, h3 a:hover, #munclist a:hover {
	color: #369;
	text-decoration: underline;
}

#header_bottom a {
	text-decoration: none;
	color: #fff;
}

#header_bottom a:hover {
	color: #fff;
	text-decoration: underline;
}

#footer a {
	color: #fff;
	text-decoration: none;
}

#footer a:hover {
	color: #fff;
	text-decoration: underline;
}

/*BM:SIDE COLUMNS -----------------------------------------------------------*/

#left_col .boxheader {
	text-align: left;
	/*background-image: url(http://phnet.fi/images/ot_158_5_slides.gif);*/
}

#right_col .boxheader {
	text-align: center;
}

.sidebox, .sidebox_tight {
	margin: 0;
	background-color: #fff;
	/*border: 1px solid #336699;*/
	text-align: left;
	padding: 5px;
	margin-bottom: 20px;
}

ul.sidebox {
	list-style: none;
}

div.sidebox {
	text-align: center;
}

.sidebox_tight {
	padding: 0;
}

/* These do nothing, actually =( */
.sidebox_tight object, .sidebox_tight embed {
	margin: 0;
	padding: 0;
}

.sidebox_tight a {
	padding: 0;
	margin: 0;
}

.sidebox h4 {
	margin: 0;
	padding: 0;
}

.banner {
	border: 0;
	padding: 0;
	margin: 5px 0;
	background-color: transparent;
}

.horizontal_list li {
	display: inline;
}

.breadcrumb { 
	text-align: left;
	/*background-image: url(/images/ot_593_5_slides.gif);*/
	text-indent: 15px;
	margin: 20px 0 0 20px;
	font-weight: normal;
}

.link_list {
	list-style: none;
	margin-left: 1em;
	padding-left: 0;
}

.float_right {
	float: right;
	margin: 1em;
}

.clear_right {
	clear: right;
}

.phnet {
	text-transform: none;
}

.number {
	font-size: 14px;
	color: #369;
	font-weight: bold;
}

.tips {
	padding: 1em;
	border: 2px solid #369;
	background-color: #D9EBFF;
	width: 80%;
	margin: 20px auto;
}

.notice {
	padding: 1em;
	border: 1px solid #369;
	background-color: #D9EBFF;
}

.error {
	border: 1px solid #000;
	background-color: #ffc;
	padding: 1em;
	padding-top: 0;
}

.error_header {
	margin-top: 0;
	border-bottom: 1px solid #000;
	background-color: #ffcc66;
	font-weight: bold;
	font-size: 14px;
	padding: 2px;
}

.price_table {
	margin: 0;
	padding: 0;
	border-width: 2px;
	border-spacing: 4px;
	border-style: solid;
	border-color: #369;
	border-collapse: separate;
}

.price_table thead tr {
	background-color: #D9EBFF;
}

.price_table th, .price_table td {
	padding: 4px;
}

.price_table tbody tr.even{
	background-color: #f2f8ff;
}

/* Used in spans to color the numbers in guide texts */
.guide_number {
	font-weight: bold;
	color: red;
}

/* Used in divs for next-prev-index -type of navigation in guides */
.guide_nav {
	float: left;
	width: 33%;
	text-align: center;
}

/* Submit buttons in forms */
input.submit {
	border-bottom: 2px solid #336;
	border-right: 2px solid #336;
	border-top: 2px solid #69c;
	border-left: 2px solid #69c;
	background-color: #369;
	color: #fff;
	margin: 10px;
	font-weight: bold;
}


/*BM: FORMS ------------------------------------------------------------*/

.standard_form {
	background-color: #f8f8f8;
	margin-top: 0;
	border: 1px solid #369;
	padding: 1em;
	margin: 0 10px;
}

.standard_form input.text {

}

.standard_form input.button {
	border-bottom: 2px solid #336;
	border-right: 2px solid #336;
	border-top: 2px solid #69c;
	border-left: 2px solid #69c;
	background-color: #369;
	color: #fff;
	margin: 10px;
	font-weight: bold;
}

.standard_form label.select:hover {
	color: #36f;
	cursor: pointer;
	cursor: hand;
}

h3.form_header, h2.form_header {
	color: #fff;
	background-color: #369;
	font-size: 14px;
	margin: 0 10px;
	text-indent: 10px;
	border: 1px solid #369;	
}

.standard_form fieldset {
	margin-bottom: 20px;
}

.standard_form legend {
	font-weight: bold;
	color: #369;
}

.form_element li { list-style: none; }



/*BM:CONTENT -----------------------------------------------------------*/

#content .newsheader {
	/*background-image: url(/images/ot_428_4_slides.gif);*/
	font-size: 22px;
	margin-top: 20px;
	margin-bottom: 10px;
}

/* NEWS */
.newsbox {
	background-color: #fff;
	padding: 0 5px;
	margin: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.newsbox .link_list { margin: 5px 0; }

.newsbox .link_list li, .loose_list li {
	margin-bottom: 5px;
}

.newsbox h3 {
	margin: 5px 0 10px 0;
}

.newsbox h3 span {
	font-size: 10px;
	font-weight: normal;
}

.news_date {
	color: #000;
	font-size: 14px;
	font-weight: normal;
}

p.news_date {
	margin-top: 0;
}

h2.newstitle, h3.newstitle { margin-bottom: 0; }

.ess_image { margin: 0; padding: 5px; float: right; }
.ess_image img { border: 1px solid #000; }

.ess_header { color: #fff; background-color: #195ab4; padding: 0 5px; }
.digitoday_header { color: #fff; background-color: #7e7e7e; padding: 0 5px; }
.yle_header { color: #fff; background-color: #29838d; padding: 0 5px;}

.ess_header .ess_logo, .ess_header .ess_logo a, .ess_header .ess_logo a:visited {
	color: #fff;
}

.caption { font-size: 11px; }

.news_summary { margin-bottom: 0; }
.news_summary_link { margin-top: 0; }

p.more_news {

}

span.news_logo {
	float: right;
}

/*BM:HEADER -----------------------------------------------------------*/

#header {
	text-align: left;
	background: url(/common/images/header_bg.png) repeat-x bottom;
	height: 80px;
	padding: 10px;
	margin-bottom: 10px;
}


#header_middle {
	height: 68px;
	padding: 0 5px;
}

#header #logo {
	float: left;
	color: #fff;
	font-size: 42px;
}

#header #logo a, #header #logo a:visited {
	color: #fff;
	text-decoration: none;
}

/* BANNER */
#header #banner {
	margin-top: 10px;
	float: right;
}

/* BOTTOM */

#header_bottom {
	height: 16px;
	padding: 0 5px;
	vertical-align: text-bottom;
	font-size: 12px;
	color: #fff;
	font-weight: bold;
	float: left;
	clear: left;
}

/* Name days at the header */
.name_days {
	height: 15px;
	padding: 0;
	line-height: 12px;
}

/*BM:FOOTER -----------------------------------------------------------*/

#footer {
	clear: both;
	text-align: center;
	margin: 0;
	height: 18px;
	line-height: 18px;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	border: 1px solid #369;
	background: #369 url(/common/images/header_bg.png) repeat-x bottom;
	vertical-align: text-bottom;
	padding: 5px;
}