.header {
	width: 1194px;
	height: auto;
	float: left;
	clear: both;
	margin: 0px auto;
}

.videoembed {
	width: 854px;
	height: auto;
	float: left;
   	margin-left:auto;
   	margin-right:auto;
   	display:block;
}
.textcontent {
	width: 100%;
	height: auto;
	float: left;

}

.textcontent {
	padding-bottom: 2em;

}

.logoimg {
	float: right;
	clear: both;
	margin-bottom: .5em;
	margin-top: .5em
}


#chat_container {
	width: 100%;
	font-family: arial, tahoma, verdana, sans-serif;
	margin-bottom: 0px;
}

#chat_header {
	display: table;
	table-layout: fixed;
	width: 100%;
	height: 1.5em;
	margin: 0px;
	padding: 0px;
}

#chat_button {
	float: right;
	width: 85px;
	height: 2em;
	box-sizing: content-box;
	color: #404040;
	font-size: 1em;
	padding: 1px 0px 0px 0px;
	background: #E8E8E8; /* Chatin Send-napin taustaväri, jos selain IE/Opera */
	background: -moz-linear-gradient( /* Send-napin taustagradient Mozilla */
		top,
		#FFFFFF 0%,
		#E8E8E8);
	background: -webkit-gradient( /* Chat-napin taustagradien Chrome/Safari */
		linear, left top, left bottom, 
		from(#FFFFFF),
		to(#E8E8E8));
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient (GradientType=0, startColorstr=#FFFFFF, endColorstr=#E8E8E8)";
	border: 1px solid #aaaaaa;
}

#chat_inputs {
	display: table-row;
	height: 2em;
}

#chat_msg {
	width: 100%;
	font-size: 1em;
	padding-left: 0px;
	border: 1px solid #bbbbbb;
	border-bottom: 6px;
	height: 2em;
	box-sizing: content-box;
}

#chat_input_container, #chat_button_container {
	display: table-cell;
	vertical-align: top;
}

#chat_button_container {
	width: 85px;
}

#chat_msg_label {
	padding: 6px 0 0 6px;
	position: absolute;
	cursor: text;
	color: #000;
	box-sizing: content-box;
}

#chat_output_container {
	height: 300px;
	overflow: auto;
	border: #bbbbbb solid 1px;
	background-color: #FFFFFF;
	color: #323232;
}

#chat_output {
	height: 0px;
	width: 100%;
	box-sizing: border-box;
	display:table;
	padding: 5px;
	border: 0px;
}

#chat_notification {
	text-align: right;
	font-size: 0.8em;
	margin: 0;
	color: #aaa;
}
.message {
	text-align: left;
	clear: both;
	position: relative;
	height: auto;
	overflow: hidden;
	display: table-row;
	padding-bottom: 5px;
}

.modertext, .time {
	font-weight: bold;
}

.modertext {
	color: #000;
}

div.time {
	display: table-cell;
	padding-right: 5px;
	width: 40px;
}

div.text, div.modertext {
	display: table-cell;
	}


.selected {
	font-weight: bold;
	text-decoration: underline;
	}

iframe {
	border: 0px;
}
	
.infoblock {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.maincontainer {
	width: 1708px;
	margin: 0px auto;
}

.topbar {
	background-color: #FFFFFF;
	padding-top: 10px;
	padding-bottom: 0px;

	margin: 0px auto;
}
