
@import "/common/css/common_styles.css";

body {
	background-color: #99ccff;
	margin: 5px 0;
	text-align: center;
}

body, p, dl, ul, td, th {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
}

h1 { font-size: 18px; font-weight: bold; color: #369;}
h2 { font-size: 16px; font-weight: bold; color: #369;}
h3 { font-size: 14px; font-weight: bold; color: #000;}
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;
}

ol.guide li {
	margin-bottom: 1em;
}

.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;
}

/*BM:MAIN SECTIONS ----------------------------------------------------*/

#main_container {
  width: 760px;
  padding: 0;
  margin: 0 auto;
}

#left_col {
	width: 160px;
	float: left;
	font-weight: bold;
	margin-bottom: 5px;
	clear: left;
}

#content {
	margin-bottom: 5px;
	text-align: left;
	color: #000;
}

/* class for #content div */
.frontpage {
	float: left;
	margin: 0 5px 5px 5px;
	width: 430px;
	padding: 0;
}

/* class for #content div */
.subpage {
	float: left;
	margin-left: 5px;
	border: 1px solid #369;
	background-color: #fff;
	padding: 5px;
	width: 583px;
}

#right_col {
	width: 160px;
	float: right;
	font-weight: bold;
	margin-bottom: 5px;
}

.wide #main_container { width: 910px; }
.wide #left_col { width: 180px; }
.wide .frontpage { width: 540px; }
.wide .subpage { width: 693px; }
.wide #right_col { width: 180px; }

/*BM:SHARED STYLES--------------------------------------------------------*/

.boxheader {
	text-transform: uppercase;
	padding: 0;
	line-height: 18px;
	height: 18px;
	font-size: 11px;
	font-weight: bold;
	color: #336699;
	border: 1px solid #336699;
	border-bottom: 0;
	vertical-align: bottom;
	margin: 0;
	margin-top: 5px;
}

span.bg-hack {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 428px;
	height: 40px;
	background-color: #fff;
	background-position: top left;
	background-repeat: no-repeat;
}


/*BM:LINKS -------------------------------------------------------------*/

/* ETUSIVU-linkki at header */
a.to_front_page {
	position: absolute;
	bottom: 3px;
	right: 5px;
	padding: 0;
	height: 15px;
	line-height: 15px;
}

/* 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;
}

.notice_list li {
	padding-bottom: 1em;
}

#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, #right_col .boxheader {
	text-align: center;
	background-image: url(http://phnet.fi/images/ot_158_5_slides.gif);
}

.sidebox, .sidebox_tight {
	margin: 0;
	background-color: #fff;
	border: 1px solid #336699;
	text-align: left;
	padding: 5px;
}

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 { 
	float: left;
	text-align: left;
	background-image: url(/images/ot_593_5_slides.gif);
	text-indent: 15px;
	margin: 5px 0 0 5px;
	width: 593px;
}

.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,
.success,
.error {
	padding: 15px;
	margin: 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.notice {
	/*border: 1px solid #369;
	background-color: #d9ebff;*/
	background-color: #a5dffa;
}

.success {
	/*background-color: #abe9ab;
	border: 1px solid #3c943c;*/
	background-color: #caec7a;
}

.error {
	/*border: 1px solid #000;
	background-color: #ffc;*/
	background-color: #f7e867;
}

.notice h2,
.success h2,
.error h2 {
	margin: -15px -15px 1em -15px;
	padding: 3px;
	text-indent: 15px;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

.notice h2 { background-color: #6fccf7; }
.success h2 { background-color: #ace032; color: #435517; }
.error h2 { background-color: #f3db17; color: #4a3e05; }

.small_print {
	margin-top: 2em;
	color: #555;
	font-style: italic;
	font-size: 11px;
	
}

.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;
}

p.guide_image, div.guide_image {
	text-align: center;
}

img.guide_image {
	margin-left: auto;
	margin-right: auto;
}

/* 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:CONTENT -----------------------------------------------------------*/

#content .newsheader {
	background-image: url(/images/ot_428_4_slides.gif);
	text-indent: 15px;
}

#content .bannerheader {
	background-image: url(/images/ot_428_lime_curve.jpg);
	/*background-color: #9bc420;*/
	/*text-indent: 15px;*/
	/*color: #3a4d2e;*/
	color: #fff;
	text-align: center;
	/*font-family: "Trebuchet Ms", Helvetica, Arial;*/
	font-weight: bold;
	font-size: 12px;
}

.bannerbox_link {
	clear: both;
	text-align: center;
}

.bannerbox_link a, .bannerbox_link a:visited {
	font-weight: bold;
	font-size: 14px;
	text-decoration: none;
	color: #369;
}

.bannerbox_link a:hover { text-decoration: underline; }

.bannerbox_image {
	float: right;
	padding: 10px 0 0 10px;
}

.bannerbox_image img { border: 1px solid #ccc; padding: 5px; }

#content h2.menokatu {
	height: 40px;
	border-color: #000;
	position: relative;
}

#content h2.menokatu span.bg-hack {
	background-image: url(/common/images/menokatu-header.jpg);
}

/* NEWS */
.newsbox, .liftbox, .bannerbox {
	border: 1px solid #369;
	background-color: #fff;
	padding: 0 5px;
	margin: 0;
}

.bannerbox {
	padding: 0 10px;
}

.bannerbox, .bannerbox p {
	font-family: "Trebuchet Ms", Helvetica, Arial;
	line-height: 15px;
}

.liftbox {
	padding: 0;
	margin-top: 5px;
}

.liftbox.tight {
	margin-top: 0;
}

div.menokatu {
	background-color: #fff;
}

.menokatu h3 {
	color: #000;
	padding-left: 30px;
	font-size: 13px;
}

.event_list {
	clear: both;
}

.event_list span {
	display: block;
}

.event_cat {
	background-color: #f8f7f3;
	background-image: url("/common/images/event-cat-tapahtumat.gif");
	background-repeat: no-repeat;
	background-position: 2px 2px;
	padding-left: 30px;
	display: block;
	height: 27px;
	line-height: 27px;
	font-weight: bold;
	text-transform: uppercase;
}

.event_elokuvat { background-image: url("/common/images/event-cat-elokuvat.gif"); }
.event_nayttelyt { background-image: url("/common/images/event-cat-nayttelyt.gif"); }
.event_tanssi { background-image: url("/common/images/event-cat-tanssi.gif"); }
.event_tapahtumat { background-image: url("/common/images/event-cat-tapahtumat.gif"); }
.event_teatteri { background-image: url("/common/images/event-cat-teatteri.gif"); }
.event_urheilu { background-image: url("/common/images/event-cat-urheilu.gif"); }
.event_messut { background-image: url("/common/images/event-cat-messut.gif"); }
.event_musiikki { background-image: url("/common/images/event-cat-musiikki.gif"); }

.event_title, .event_info {
	padding-left: 15px;
	color: #369;
	font-weight: bold;
}

.event_list a, .event_list a:visited {
	color: #369;
	font-weight: bold;
}

.event_list a:hover .event_title, .event_list a:hover .event_info {
	text-decoration: underline;
	color: #369;
}

.event_list li.alt {
	float: left;
	clear: both;
}

.event_list li.alt .event_cat {
	font-size: 11px;
	line-height: 12px;
	padding-top: 4px;
	height: 23px;
	
}

.event_list li.odd {
	background-color: #f8f7f3;
}

.event_list li.even {
	padding-top: 5px;
	padding-bottom: 5px;
}

.event_list li.even, .event_list li.even .event_cat {
	background-color: #fff;
}

.event_list li.alt span.event_cat, .event_list li.alt span.event_container {
	float: left;
}

.event_list li.alt span.event_cat {
	width: 80px;
}

.event_list li.alt span.event_container {
	width: 300px;
	clear: right;
}

div#menokatu-logo {
	clear: both; margin-left: -5px; margin-bottom: 0px;
}

div#menokatu-logo img {
	display: block;
}

/* http://phnet.fi/menokatu.php */

#menokatu-wide .event_list li.alt span.event_container {
	width: 450px;
}

#menokatu-wide div#menokatu-logo {
	padding-top: 5px;
	margin-bottom: -5px;
}

.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: 10px;
	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; }
.ess_header_wide { position: relative; height: 40px; }
.ess_header_wide span.bg-hack { background-image: url("/common/images/ess-news-header-wide.jpg"); width: 582px; }
.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 {
	clear: both;
}

p.more_ess_news {
	text-align: right;
}

p.more_ess_news a, p.more_ess_news a:visited {
	color: #bd2033;
	text-decoration: none;
	font-weight: bold;
}

p.more_ess_news a:hover {
	color: #bd2033;
	text-decoration: underline;
}

span.news_logo {
	float: right;
}

#weatherImgDiv {
	margin-top: 10px;
	margin-bottom: 10px;
}

#weatherSelection {
	font-weight: normal;
	font-size: 11px;
}

#weatherSelection select {
	font-size: 11px;
}

#php_logo {
	text-align: center;
	background-color: #fff;
	border: 1px solid #369;
}

/*BM:HEADER -----------------------------------------------------------*/

#header {
	position: relative;
	text-align: left;
	background: url(/images/header_04.gif) no-repeat bottom;
	height: 115px;
}

/* Kuntalista sivun ylälaidassa */
#munclist
{
	height: 15px;
	margin: 0;
	padding: 0;
	text-align: center;
}

#munclist li {
	list-style: none;
	display: inline;
	text-align: center;
	font-size: 10px;
	color: #336699;
}

#header_middle {
	height: 68px;
	padding: 0 5px;
}

#header #logo {
	float: left;
	margin-left: 10px;
	margin-top: 5px;
}

/* BANNER */
#header #banner {
	margin-top: 5px;
	margin-left: 80px;
	float: left;
}

/* BOTTOM */

#header_bottom {
	height: 30px;
	padding: 0;
	font-size: 11px;
	color: #fff;
	font-weight: bold;
}

/* Name days at the header */
.name_days {
	display: block;
	position: absolute;
	left: 15px;
	bottom: 3px;
	width: 680px;
	padding: 0;
	line-height: 15px;
}

/*BM:FOOTER -----------------------------------------------------------*/

#footer {
	clear: both;
	text-align: center;
	margin: 0;
	width: 100%;
	height: 18px;
	line-height: 18px;
	font-size: 11px;
	font-weight: bold;
	color: #fff;
	border: 1px solid #369;
	background-image: url(/images/header_bg_2.jpg);
	vertical-align: text-bottom;
}