html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  text-decoration: none;
}

:focus {
  outline: 0;
}

body {
  line-height: 0px;
  color: #807e7f;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}
caption, th, td {
  text-align: left;
  font-weight: normal;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  
}
blockquote, q {
  quotes: "" "";
}

body {
  font-size: 9pt;
	font-family: Arial, Verdana, Tahoma;
  line-height: 15pt;
}


h1,h2,h3,h4,h5,h6 { 
	font-family: Arial, Tahoma, Verdana; 
	margin: 0 0 12px 0; 
	color: #817f7f;
}

h1 { font-size: 16pt; font-weight: normal; }
h2 { font-size: 15pt; font-weight: normal; }
h3 { font-size: 14pt; font-weight: normal; }
h4 { font-size: 12pt; font-weight: normal; }
h5 { font-size: 10pt; font-weight: bold; }
h6 { font-size: 8pt; font-weight: bold; }

.b_border {
	padding-bottom: 20px;
	border-bottom: 1px dotted #000;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

a {
	color: #817f7f;
}

ul, ol {
	margin-left: 13px;
	list-style-position: inside;
}

body {
	text-align: center;
	background-color: #fff;
	background-image: url(../background/body.png);
	background-repeat: repeat-x;
}

#wrap {
	width: 950px;
	position: relative;
	margin: 0 auto;
	text-align: left;
}

#ad {
	background-color: #ccc;
	width: 140px;
	height: 535px;
	position: absolute;
	right: -175px;
	top: 125px;
}

#header {
	float: left;
	width: 950px;
	height: 125px;
}

body.frontpage #header {
	height: 430px;
	background-image: url(../background/frontpage_header.jpg);
	background-repeat: repeat-x;
}

body.frontpage #logo {
	background-image: none;
}

#header h1 {
	width: 174px;
	height: 79px;
	float: left;
}

#logo{
	width: 174px;
	height: 79px;
	float: left;
	display: block;
	background-image: url(../background/hyva_vire_logo.png);
	background-repeat: no-repeat;
	text-indent: -9999px;
}

#subnavi {
	float: right;
	margin: 10px 0px 0px 0px;
}

#subnavi li {
	float: left;
	list-style-type: none;
	border-left: 1px solid #fff;
	padding: 0px 8px;
}

#subnavi li.first {
	border-left: 0px;
}

#subnavi li a{
	display: block;
	color: #fff;
	font-size: 8pt;
}

body.frontpage #navi {
	float: right;
	width: 530px;
	margin-top: 90px;
}

body.frontpage #navi li {
	margin-bottom: 65px;
	margin-left: 0px;
}

body.frontpage #navi li.left {
	margin-right: 10px;
}

body.frontpage #navi li.vihrea {
	border-left: 10px solid #6caa67;
}

body.frontpage #navi li.lila {
	border-left: 10px solid #7f4496;
}

body.frontpage #navi li.oranssi {
	border-left: 10px solid #f8981d;
}

body.frontpage #navi li.turkoosi {
	border-left: 10px solid #03a2b5;
}

body.frontpage #navi li a{
	display: block;
	width: 240px;
	padding-left: 10px;
}


#navi {
	float: left;
	margin-left: 0px;	
	margin-bottom: 20px;
}

#navi li {
	list-style-type: none;
	float: left;
	margin-left: 25px;
}

#navi li.first {
	margin-left: 0px;
}

#navi li a{
 color: #000;
 font-size: 17pt;	
}

#navi li a span {
	font-weight: bold;	
}

#contentwrap {
	float: left;
	width: 950px;
	margin-bottom: 50px;
}

body.frontpage #content_left {
	width: 250px;
	padding-right: 40px;
	font-size: 8pt;
}

body.frontpage #content_left h6 {
	margin-bottom: 2px;
}

#content_left {
	width: 575px;
	float: left;
}

#splasher {
	width: 575px;
	height: 215px;
	margin-bottom: 20px;
}

body.frontpage #content_center {
	width: 400px;
	padding-right: 40px;
	float: left;
}

body.frontpage #content_right {
	width: 220px;
}

#contentwrap input, #contentwrap textarea {
	border: 1px solid #807e7f;
	width: 200px;
}

#contentwrap label {
	width: 150px;
	float: left;
	display: block;
}


#contentwrap textarea {
	height: 100px;
}

#contentwrap .submit input {
	width: auto;
	background-color: #fff;
	color: #817F7F;
	cursor: hand;
	cursor: pointer;
}

#contentwrap input.error  {
	border: 1px solid #ff0000;
}

#contentwrap .radio input {
	width: auto;
	border: 0px;
}

#contentwrap .radio label {
	width: auto;
	float: none;
	display: inline;
}


#contentwrap .min_text {
	margin-bottom: 3px;
}

#contentwrap .min_text  label{
	width: auto;
	display: inline;
	float: none;
}

#contentwrap .min_title {
	margin-right: 10px;
}

#contentwrap .min_text input {
	width: 23px;
	margin-right: 22px;
}

#contentwrap .checkRow input {
	width: auto;
	margin-right: 30px;
}

#contentwrap .checkRow label{
	width: auto;
	display: inline;
	float: none;
}

#contentwrap .checkRow {
	margin-bottom: 3px;
}

#content_right {
	width: 345px;
	float: right;
}

#content_right .right_splasher {
	margin-left: 0px;
	list-style-position: outside;
}
#content_right .right_splasher li {
	list-style-type: none;
	border-left: 10px solid #817f7f;
	margin-bottom: 20px;
	padding-left: 20px;
}

#content_right .b_oranssi li {
	border-color: #f8981d !important;
}

#content_right .b_vihrea li {
	border-color: #6caa67 !important;
}


#content_right .b_lila li {
	border-color: #7f4496 !important;
}


#content_right .b_turkoosi li {
	border-color: #03a2b5 !important;
}


#footer {
	width: 950px;
	float: left;
	border-top: 1px dotted #000;
	color: #98bbe3;
	padding-top: 10px;
}

#footer p {
	float: left;	
}

#loiste {
	float: right;	
	color: #f7991d;
	font-size: 17pt;
}

table.lipunmyynti {
	border-collapse: collapse;
}

table.lipunmyynti td {
	padding-right: 20px;
}

table.tapahtumat {
	border-collapse: collapse;
}

table.tapahtumat td {
	vertical-align: top;
	padding-right: 20px;
}


.clear {
	clear: both;	
}

.vihrea {
	color: #6caa67 !important;
}

.lila {
	color: #7f4496 !important;	
}

.oranssi {
	color: #f8981d !important;	
}

.turkoosi {
	color: #03a2b5 !important;	
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.ml50 {
	margin-left: 50px;
}

.mr10 {
	margin-right: 10px;
}