
html {
	background-color: #afdec2;
}

body {
	background: #fff url('../img/headbg.png') repeat-x center top;
	min-height: 400px;
	overflow: auto; /* todo säätö */
	min-width: 960px; /* pitää olla jotta kapealla näytöllä boordi jatkuu äärettömyyksiin vaikka horiz. skrollbar! */
}

/*** Layout main elements ***/

#wrapper {
	position: relative;
	min-width: 960px; /* todo säätö */
	margin: 0 auto;
	overflow: hidden; /* todo säätö katkaistaan */
}

header {
	height: 150px;
	background:transparent url('../img/logo2.png') no-repeat center top;
	text-align: center;
	
}

header .logo {
	display: block;
	margin: 0 auto;
	padding-top: 5px;
}

header #mobile-jump-navi {
	display: none;
}


nav {
	font-family: 'Carrois Gothic', sans-serif;
	background: #CCC url('../img/menubg.png') repeat-x center top;
	text-align: center;
	position: absolute;
	width: 100%;
	top: 150px;
	left: 0px;
	z-index: 1000;
}

nav a {font-family: 'Carrois Gothic', sans-serif;
	border: none;
	height: 20px;
	font-size: 18px;
	display: inline-block;
	color: #555;/*4c3431;*/
	padding: 8px 16px 8px 16px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	
}

nav a.active {
	background-color: #2f2583;
	color: #fff;
	box-shadow: inset 0 -5px 12px #150F4F;
/*	text-transform: uppercase;*/
}

/*nav a:hover, nav a.active:hover {
	color: #00963f;
}*/

nav a:hover {
	color: #000;
}

nav a.active:hover {
	color: #fff;
}

nav.subnavi {
	top: 196px;
}

nav.subnavi a {
	font-size: 12px !important;
	background-color: rgba(247, 232, 208, 0.5);
	padding: 2px 16px 2px 16px;
}

nav.subnavi a.active {
}

#content {
	font-family: 'Arbutus Slab', serif;
	background-color: #fff;
	margin: 0 auto;
	width: 960px; /* sisältö forcaa tällä leveydellä scrollbarin tarvittaessa! */
	position: relative; /* to position carousel and other abs. elements relative to content box */
	text-align: center;
	margin-bottom: 1px;
	min-height: 300px;
	border-left: #dbd7d7 solid 1px;
	border-right: #dbd7d7 solid 1px;
	margin-top: 38px;
	padding-top: 20px;
}

footer {
	font-family: 'Carrois Gothic', sans-serif;
	border-top: #2f2483 solid 3px;
	position: relative;
	margin-top: 1px;
	background-color: #afdec2;
	text-align: center;
}

#footwrap {
	position: relative;
	min-height: 250px;
	width: 960px;
	margin: 0 auto;
}

footer .contact_box {
	font-family: 'Carrois Gothic', sans-serif;
	margin-top: 12px;
	display: inline-block;
	width: 250px;
	vertical-align: top;
	font-size: 100%;
	line-height: 1.5em;
	text-align: left;
	text-shadow:  0px 1px 1px #fff;
}

footer .contact_box small {
	font-size: 85%;
}

footer .contact_box a {
font-family: 'Carrois Gothic', sans-serif;
	color: #000;
}

footer .contact_box a:hover {
	border-bottom: 1px dotted #477;
}

footer .contact_box img {
	margin-top: 8px;
}

.contact_box.title {
	width: 250px;
}

.contact_box.address {
}

.contact_box.opening {
	width: 180px;
}

.contact_box.emails {
	width: 240px;
}

.contact_box.facebook {
	width: 160px;
}

footer h3 {
	letter-spacing: 0.05em;
	margin: 0;
	margin-bottom: 0.25em;
	text-shadow:  1px 1px 2px #548C6A;
color: #383858;
}

h1, h2, h3 {
	font-family: 'Carrois Gothic', sans-serif;
	margin: 1em 0;
	letter-spacing: 0.15em;
	font-weight: bold;
	text-transform: uppercase;
	color: #446;
	text-shadow: 1px 1px 2px #aaa;
/*	border-bottom: 1px solid #eee;*/
}

h1 { font-size: 160%; }
h2 { font-size: 140%; }

p {
	margin-bottom: 2em;
	margin-left: 20%;
	margin-right: 20%;
	font-style: italic;
	line-height: 1.75em;
}


#content a {
	color: #024;

}

#content a:hover {
	border-bottom: 1px dotted #777;

}

#content ul {
	margin-bottom: 2em;
}

#content ul li {
	line-height: 1.75em;
}

#content ul li a {
	color: rgb(114, 106, 58);
	text-transform: uppercase;
	line-height: 2.2em;
}

#content ul li a {
	letter-spacing: 0.1em;
}

#content ul li a:hover {
	border-bottom: 1px dotted rgb(114, 106, 58);
}

#map_container {
  margin-bottom: 24px;
}

table.kohde, table.kohde table.tarkattiedot {
  width: 100%;
}

table.kohde td, table.kohde div {
  font-family: Arial, sans-serif;
  text-align: left;
  padding: 2px 4px;
}

table.kohde tr {
/*  border-bottom: 1px solid #777;*/
}

table.kohde table tr {
  border: 1px solid #ccc;
}

.kohdekuva {
  width: 220px;
}

/*** Fancybox -nuolet kuvan reunoille, raamiin: ***/

.fancybox-nav span {
 visibility: visible !important;
}

.fancybox-next span {
  right: -36px !important;
}

.fancybox-prev span {
  left: -36px !important;
}
