html, nav, body {
	margin: 0;
	padding: 0;
}

/* HTML5 FIX FOR OLD FIREFOX */
nav, header, article, aside, hgroup, canvas, output, progress, section,
figcaption, figure, footer, video {
	display: block;
}

body {
	background: url('../images/bg.jpg') repeat-x;
	font-family: Tahoma, Arial, sans-serif;
	color: #454545;
	background-color: #afd8ee;
	font-size: 12px;
}

a {
	text-decoration: none;
	color: #4c9ec8;
}
a img {
	border: none;
}

h1 {
	color: #4579a1;
	font-family: arial;
	font-size: 24px;
}

h2 {
	color: #4579a1;
	font-family: arial;
}

h3 {
	color: #4579a1;
	font-family: arial;
	font-size: 14px;
}

.clear {
	clear:both;
}

.opener,
.headerOpener {
	cursor: pointer;
}

.headerOpener {
	background: url(../images/arrow_right.png) left center no-repeat;
	padding-left: 15px;
} .headerOpener.open {
	background: url(../images/arrow_down.png) left center no-repeat;

/* These are because of the foreca image is over links */
} .headerOpener,
  header > div > a {
	position: relative;
	z-index: 1;
}

p {
	margin-top: 0.5em;
}

header {
	position: relative;
	color: #8f8f8f;
	font-size: 12px;
} header a {
	color: #8f8f8f;
}

div#wrapper {
	width: 930px;
	margin: 20px auto 0 auto;
	padding: 20px 15px 15px 15px;
	background-color: white;
}

/* MAINLINKS */
nav#mainLinks ul {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	background: url('../images/mainlinks_bg.png');
	height: 29px;
} nav#mainLinks ul li {
	margin: 0 5px 0 0;
	padding: 0 0 0 5px;
	display: inline;
	border-left: solid 1px white;
} nav#mainLinks ul li:first-child {
	border-left: none;
} nav#mainLinks ul li a:link,
  nav#mainLinks ul li a:visited {
	background: url('../images/arrow_right_white.png') center left no-repeat;
	padding-left: 12px;
	margin: 0 7px 0 7px;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	font-family: arial, sans-serif;
	font-size: 14px;
	text-shadow: 1px 1px 1px #666;
	line-height: 30px;
} nav#mainLinks ul li a.open:link,
  nav#mainLinks ul li a.open:visited {
	background-image: url('../images/arrow_down_white.png');
}


/* MAINCATEGORIES */
nav#mainLinks .submenuBackground {
	background-color: #4c9ec8;
	height: 22px;
	z-index: 15;
} nav#mainLinks .submenu {
	position: absolute;
	top: 29px;
	left: 0px;
	z-index: 20;
} nav#mainLinks .submenu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 930px;
	background: transparent;
} nav#mainLinks .submenu ul li {
	margin: 0;
	padding: 0;
	display: inline;
	border-left: solid 1px white;
} nav#mainLinks .submenu ul li:first-child {
	border-left: none;
} nav#mainLinks .submenu ul li a:link,
  nav#mainLinks .submenu ul li a:visited {
	background: none;
	padding: 0 1px 0 1px;
	color: white;
	text-decoration: none;
	font-family: Arial, sans-serif;
	font-size: 11px;
	line-height: 25px;
}


/* WIDGETS */

#frontpagefader_widget {
	width: 550px;
	height: 310px;
	float: left;
}

#frontbanner_widget {
	width: 365px;
	height: 310px;
	float: right;
} #frontbanner_widget img {
	display: block;
	width: 365px;
}

#matkahuolto_widget {
	width: 435px;
	background-color: #e5f1f9;
}


/* FRONT PAGE */

#frontpagestrip,
#frontpagestrip_back {
	position: absolute;
	background: url('../images/frontpage_line_bg.png') repeat-x;
	line-height: 55px;
} #frontpagestrip_back {
	width: 100%;
	left: 0;
} #frontpagestrip {
	width: 930px;
} #frontpagestrip div {
	width: 33%;
	float: left;
} #frontpagestrip div img {
	position: relative;
	bottom: -12px;
} #frontpagestrip div a:link,
  #frontpagestrip div a:visited {
	color: white;
	text-transform: uppercase;
	font-size: 22px;
	padding-left: 10px;
} #frontpagestrip_spacer {
	margin-bottom: 50px;
}

#frontpagelists {
	margin-bottom: 20px;
} #frontpagelists div.container {
	width: 33%;
	float: left;
} #frontpagelists div.container ul {
	list-style: none;
	margin: 0;
	padding: 0;
} #frontpagelists div.container ul li {
	margin: 0;
	padding: 4px 0;
	border-bottom: solid 1px #d0d0d0;
	width: 90%;
} #frontpagelists div.container ul li .description {
	padding-left: 20px;
	width: 255px;
} #frontpagelists div.container ul li > a:link,
  #frontpagelists div.container ul li > a:visited {
	font-family: arial, sans-serif;
	color: #454545;
	font-size: 14px;
	padding-left: 20px;
	background: url('../images/arrow_right.png') left center no-repeat;
	background-position: 7px;
} #frontpagelists div.container ul li > a:link.open,
  #frontpagelists div.container ul li > a:visited.open {
	background: url('../images/arrow_down.png') left center no-repeat;
	background-position: 4px;
	color: #4c9ec8;
} #frontpagelists li.open {
	background-color: #f5f5f5;
} #frontpagelists_spacer {
	clear: both;
}

#frontpageblocks {
	width: 50%;
	float: left;
} #frontpageblocks td {
	width: 220px;
	padding: 0 10px 10px 0;
	float: left;
	font-family: tahoma, sans-serif;
	font-size: 12px;
} #frontpageblocks div img {
	width: 220px;
} #frontpageblocks div span.title,
  #frontpageblocks div span.title a {
	display: block;
	color: #207dad;
	font-size: 14px;
	padding-top: 2px;
}

#frontpagebanners {
	width: 50%;
	float: left;
} #frontpagebanners div.container {
	margin-bottom: 10px;
} #frontpagebanners div.container img {
	display: block;
}


/* CATEGORY PAGE */

#content {
	margin: 12px 0;
}

#left-sidebar {
	float: left;
	width: 240px;
	background-color: #e7f0f5;
	padding: 5px;
} .leftlist ul {
	padding: 0;
	margin: 0;
	list-style: none;
} .leftlist ul li {
	background-image: url('../images/bullet.png');
	background-position: left 4px;
	background-repeat: no-repeat;
	padding-left: 15px;
} .leftlist ul li.selected {
	background-image: url('../images/bullet_green.png');
	background-position: left 4px;
	background-repeat: no-repeat;
}

#left-content {
	float: left;
	width: 710px;
	padding: 0 0px 0 0px;
} #center-content {
	float: left;
	width: 450px;
	padding: 0 15px 0 15px;
} #center-content h1.title,
  #left-content h1.title {
	margin-top: 0;
}

#right-sidebar {
	float: right;
	width: 200px;
}

/* COMPANY */

.infowindow {
	font-size: 11px;
} .infowindow img {
	display: block;
} .infowindow td {
	vertical-align: top;
}
.infowindow h1 {
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-size: 100%;
} .infowindow h1 a {
	color: #454545;
} .infowindow h1 a:hover {
	text-decoration: underline;
}


.tooltip_block {
	position: relative;
}
.tooltip_text {
	position: absolute;
	width: 195px;
	top: 0;
	right: 100%;
	background-image: url('../images/arrow_black.jpg');
	background-repeat: no-repeat;
	background-position: top right;
} .tooltip_text .block {
	background-color: #2c2c2c;
	margin-right: 6px;
	padding: 15px;
	color: white;
	font-size: 12px;
}

/* FOODMENUS */

#foodmenu h2 {
	font-weight: normal;
}

#foodmenu .dayLinks {
	color: #207dad;
	font-weight: bold;
}

/* FOOTER */

footer {
	clear: both;
	background: url('../images/footer.png') repeat-x;
	line-height: 26px;
	text-align: center;
} footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
} footer ul li {
	padding: 0;
	margin: 0;
	display: inline;
	font-size: 12px;
	border-left: solid 1px #4579a1;
	padding: 0 10px 0 9px;
} footer ul li:first-child {
	border-left: none;
} footer a:link,
  footer a:visited {
	color: #4579a1;
} #creator {
	font-size: 10px;
}

/* FORMS */

input[type=text], input[type=password], input[type=search], textarea {
	border: 1px solid #888;
	padding: 0.2em;
	margin: 0.2em 0;
	border-radius: 5px;
	color: #555;
}
.form input[type=text], .form input[type=password], .form input[type=search], .form textarea {
	width: 90%;
	border: 1px solid #888;
	padding: 0.2em;
	margin: 0.2em 0;
	border-radius: 5px;
	color: #555;
}

input.error {
	border: 1px solid red;
}

/* NOTIFICATIONS */

.Ninfo, .Nsuccess, .Nwarning, .Nerror {
  border: 1px solid;
  margin: 10px 0px;
  padding:15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
}
.Ninfo {
  color: #00529B;
  background-color: #BDE5F8;
  background-image: url('../images/notifications/info.png');
}
.Nsuccess {
  color: #4F8A10;
  background-color: #DFF2BF;
  background-image:url('../images/notifications/success.png');
}
.Nwarning {
  color: #9F6000;
  background-color: #FEEFB3;
  background-image: url('../images/notifications/warning.png');
}
.Nerror {
  color: #D8000C;
  background-color: #FFBABA;
  background-image: url('../images/notifications/error.png');
}

/* Event Page */

.pagepage h2 {
	font-size: 16px;
	font-weight: bold;
	margin: 20px 0 0 0;
} .pagepage p {
	margin: 0 0 1em 0;
}

/* OTHER */

#map_canvas_container {
	position: relative;
	width: 927px;
} #map_canvas_container .block {
	box-shadow: 3px 3px 3px #888;
} #map_canvas {
	height: 356px;
}

#close_map {
	position: absolute;
	margin-top: -1px;
	right: 7px;
	z-index: 10;
} #close_map a {
	display: block;
	text-align: center;
	background-color: white;
	padding: 3px 5px;
	border: 1px solid #BABABA;
	border-bottom-right-radius: 5px 5px;
	border-bottom-left-radius: 5px 5px;
	width: 70px;
}

.gray {
	color: #bababa;
}

table.tdtop td {
	vertical-align: top;
}


.ui-accordion .ui-accordion-content {
	padding: 0.5em 1em;
}

.announcementimage {
	margin-bottom: 10px;
}

.attachmentLink a {
	border: solid 1px #afd8ee;
	background: #f9f9f9;
	padding: 0.5em;
	border-radius: 5px;
}

