@font-face {
   font-family: Futura;
   src: url("Futura Bold BT.ttf");
}

@font-face {
   font-family: Zapfino;
   src: url("Zapfino.ttf");
}

/* slightly enhanced, universal clearfix hack */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

body {
	background: #87634f url(../images/bg.gif) repeat-x;
}


/* Pyöristykset ym.*/
.roundleft {
	-webkit-border-top-left-radius: 0.5em;
	-webkit-border-bottom-left-radius: 0.5;
	-moz-border-radius-topleft: 0.5em;
	-moz-border-radius-bottomleft: 0.5em;
}

.roundleft_inner {
	-webkit-border-top-left-radius: 1em;
	-webkit-border-bottom-left-radius: 1em;
	-moz-border-radius-topleft: 1em;
	-moz-border-radius-bottomleft: 1em;
}

.roundright {
	-webkit-border-top-left-radius: 0.5em;
	-webkit-border-bottom-left-radius: 0.5em;
	-moz-border-radius-topleft: 0.5em;
	-moz-border-radius-bottomleft: 0.5em;
}

.roundall {
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
}

.roundtop {
	-moz-border-radius-topleft: 0.5em;
	-moz-border-radius-topright: 0.5em;
}

.roundbottom {
	-moz-border-radius-bottomleft: 0.5em;
	-moz-border-radius-bottomright: 0.5em;
}


.button {
	display:inline-block;
	padding: 3px 5px 3px 5px;
	background-color: #73d8d4;
	border: 1px solid #73d8d4;
	color: #5c2a07;
	text-decoration: none;
	font-weight: bold;
}

/*
.button2 {
	display:inline-block;
	padding: 3px 5px 3px 5px;
	background-color: #c2b0a6;
	border: 1px solid #c2b0a6;
	color: #542003;
	text-decoration: none;
	font-weight: bold;
}
*/

.button2 {
	display:inline-block;
	background: url(../images/gnappitausta.png) no-repeat 50% 20%;
	color: #542003;
	text-decoration: none;
	width: 27px;
	height: 27px;
	padding-top: 7px;
}

.sel_button {
	background: url(../images/gnappitausta_active.png) no-repeat 50% 20%;
	color: #5c2a07;
}

p {
	padding-bottom: 15px;
}
h3 {
	padding: 5px 0 5px 0;
	font-size: 20px;

}


.otsikko {
	text-align: center;
}

.bold {
	font-weight: bold;
}

.normiborder {
	border: 1px solid #658e81;
}

.layout_h3 {
	padding-top: 14px;color: #73d8d4; padding-bottom: 14px;
}

.active {
	color: #fff;
}

#container {
	margin: 0 auto;
	width: 800px;
	font-family: 'Trebuchet MS', Helvetica, sans-serif;
	font-size: 12px;
	color: #ddd2cd;
}

#maincontent_container {

}

#maincontent {
	font-size: 14px;
	text-shadow: 2px 2px 18px #fff;
}

#maincontent ul {
	margin-bottom: 20px;
}

#maincontent li {
	list-style: circle;
	margin-left: 20px;
}

#maincontent p {
	font-size: 18px;
}

#leftcontent_container {
	width: 298px;
	height: 370px;
	padding: 10px;
	text-align: center;
}

#leftcontent {
	z-index: 1750;
}

#leftcontent p {
	font-size: 14px;
	z-index: 1750;
}

#logo {
	position: absolute;
	top: 3px;
}

#footer {
	margin-top: 20px;
	padding-left: 15px;
	padding-right: 15px;
}

#footer_text {
	float: right;
	margin-top: 6px;
}



#pikku_url {
	text-align: right;

	margin-bottom: 15px;
	padding-right: 10px;
}

#navi_container {
	float: right;
	margin-top: 31px;
	margin-bottom: 21px;
	padding: 0;
}

/* Menu style ************************************************** */
#nav {
	z-index: 1000;
	margin: 0;
	padding: 0 10px;
	line-height: 100%;
	border-radius: 0.5em;
	*padding: 0;

	/*
	background: -webkit-gradient(linear, left top, left bottom, from(#542003), to(#441003));
	background: -moz-linear-gradient(top,  #542003, #441003);
 */
}

.mainnav {
	border-radius: 10px;
}

.round_hack {
	position: absolute;
	z-index: 500;
	margin: 0;
	padding: 0;
}

#nav li {
	z-index: 1000;
	margin: 0;
	padding: 0;
	float: left;
	position: relative;
	list-style: none;
	border: 1px solid #67381f;
	
	-moz-border-radius-topleft: 0.5em;
	-moz-border-radius-topright: 0.5em;
	
	background-color: #542003;
}
#nav a {
	font-family: 'Trebuchet MS', Helvetica, sans-serif;
	font-weight: bold;
	font-size: 14px;
	text-decoration: none;
	display: block;
	padding:  5px 13px;
	text-transform: uppercase;
	color: #ddd2cd;
}
#nav li.first {
	border-left: 1px solid  #770000;
}
#nav li.last {
	border-right: 1px solid  #770000;
}
#nav a:hover {
	/*
	background: #000;
 */
	color: #73d8d4;
}
#nav .current a, #nav li:hover > a {
	/*
	background: #ce4848;
 */
}
#nav ul li:hover a, #nav li:hover li a {
	border: 1px solid #542003;
	background-color: #542003;
	/*
	border-left: 1px solid  #770000;
	border-right: 1px solid  #770000;
	*/
}
#nav li:hover > ul {
	display: block;
}
/* Sub Menu style ************************************************** */
#nav ul {
	display: none;
	width: 100px; /* Change this to change the buttons width */
	margin: 0;
	padding: 0;
	position: absolute;
	top: 23px;
	left: 0;
	/*
	background: #542003;
	background: -webkit-gradient(linear, left top, left bottom, from(#ce4848), to(#770000));
	background: -moz-linear-gradient(top,  #ce4848, #770000);
 */
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
	border: none;
}
#nav ul ul {
	left: 179px; /* Change this to move the sub-menu to right */
	top: -1px;
	*top: 1px;
	border-top: 1px solid  #770000;
 
}

#nav ul ul li {
	border: none;
}

#nav ul a, #nav ul ul a {
	border: none;
	font-size: 12px;
	font-weight: normal;
	padding-top: 2px;
	padding-bottom: 2px;

	/*
	border-bottom: 1px solid  #770000;
	border-top: 1px solid  #ce4848;
 */
}
/* Some Fix ************************************************** */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav {
	display: inline-block;
}

.layout1 {
	border: 5px solid #73d8d4;
	-webkit-border-radius: 20px;
    -moz-border-radius: 20px;
	height: 390px;
}

h3.layout2 {
	background: #542003 url(../images/layout2_top.png) no-repeat;
	background-color: #542003;
	font-weight: bold;
	font-size: 30px;
	height: 32px;
}

#layout2_inner {

	padding: 35px 119px;
	color: #5e4335;
}

div.layout2 {
	border-left: 1px solid #2d211a; border-right: 1px solid #2d211a; border-bottom: 1px solid #2d211a;
}

.vasen_trans {
	width: 298px;
	height: 370px;
	background: url(../images/trans_bg.png) repeat;
	padding: 10px;
	text-align: center;
}

#kuvapallukat {
	position: absolute;
	width: 298px;
	margin-top: -75px;
	text-align: center;
	z-index: 2000;
}
#kuvapallukat a {
	font-size: 16px;
	font-weight: bold;
}

	#kuvapallukat h3 {
		margin: 0px 0px 10px 0px;
		font-size: 14px;
		color: white;
	}


#kalenteri {
	width: 50%;
	margin: -50px auto 0 auto;
}

#kalenteritapahtumat {
	color: black;
	margin: 50px 30px;
	font-size: 14px;
}

#kalenteritapahtumat label {
	display: block;
	float: left;
	width: 175px;
	font-weight: bold;
}

#kalenteritapahtumat p {
	padding-bottom: 5px;
	font-size: 14px;
}

#kalenteritapahtumat hr {
	border: none;
	border-bottom: 1px solid #c0c0c0;
}

#kalenteritapahtumat div {
	margin-bottom: 30px;
	font-size: 12px;
}

#hinnasto {

}

#hinnasto table {
	margin-bottom: 10px;
}

#hinnasto th {
	border-bottom: 1px solid #000;
	text-align: left;
}

#hinnasto h1 {
	margin-bottom: 10px;
	font-size: 20px;
}

#hinnasto h2 {
	font-size: 16px;
	margin-bottom: 5px;
	text-decoration: underline;
}

#hinnasto p {
	font-size: 14px;
}

#lounas h2 {
	font-size: 16px;
	margin: 25px 0 5px 0;
}
