html, body
{
	height: 100%;
}

body
{
	margin: 0;
	background-color: #000;
	background-attachment: fixed;
	background-position: center top;
	background-repeat: no-repeat;
}

a:link, a:visited
{
	color: #284475;
}

a:hover
{
	color: #cc7a29;
}

#container
{
	height: 100%;
	position: relative;
}

#header
{
	position: relative;
	overflow: hidden;
}

#header .headerbg
{
	position: absolute;
	top: 0;
	left: 0;
}

#header .logo
{
}

#header .headertext
{
}

#navigation
{
	clear: both;
	border-top: 2px solid #000;
}


#navigation ul
{
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

#navigation li
{
	display: block;
	text-align: center;
	background-color: rgba(51,51,51, 0.67);
}

#navigation li:hover
{
	background-color: rgba(40,68,117, 0.67);
}

#navigation a:link, #navigation a:visited
{
	color: #fff;
	font-family: Arial, Sans-serif;
	text-decoration: none;
}

#navigation a:hover
{
}

#content_container
{
}
#content
{
	clear: both;
	/*background-color: #f0f0f0;*/
	background-color: rgba(255, 255, 255, 0.8);
	font-family: Verdana, Sans-serif;
}

h1, h2, h3, h4, h5, h6
{
	color: #284475;
	font-variant: small-caps;
}

#sidebar
{
	clear: both;
}

#fbfeed
{
	border: none;
	overflow: hidden;
	width: 300px;
	height: 400px;
}

.main_info
{
	width: 98%;
	margin: 1%;
	height: 300px;
	/*border: 2px solid #000;*/
	background-color: rgba(255,255,255,0.7);
}


.newsfeed
{
	border-top: 2px solid #284475;
	padding: 5px;
	margin-top: 10px;
}

.newsfeed .otsikko
{
	/*font-variant: small-caps;
	font-weight: bold;*/
	font-size: 16px;
	margin-bottom: 5px;
}

.newsfeed .otsikkoteksti
{
	float: left;
	font-weight: bold;
	color: #284475;
}

.newsfeed .otsikkopvm
{
	float: right;
	font-weight: bold;
	color: #284475;
}

.newsfeed .uutisteksti
{
	clear: both;
	padding: 3px;
}

.newsfeedpages
{
	text-align: center;
}

.newsfeedpages span
{
	padding: 2px 5px;
	border: 1px solid #284475;
	margin: 2px;
	text-align: center;
}

.newsfeedpages a:link, .newsfeedpages a:visited
{
	color: #000000;
	text-decoration: none;
}

.newsfeedpages a:hover span
{
	color: #ffffff;
	background-color: #284475;
}

.newsslide
{
	margin: 0;
}

.newsslide .outer {
    width: 100%;
    padding-top: 57%; /* defines aspect ratio */
    position: relative;
}
.newsslide .outer .inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.main_box
{
	background-color: rgba(255,255,255,0.7);
	float: left;
}
.main_box .outer {
    width: 100%;
    padding-top: 68.4%; /* defines aspect ratio */
    position: relative;
}
.main_box .outer .inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	background-image: url("img/infobox.jpg");
}

.main_box .outer .youtube
{
	background-image: url("img/youtube.jpg");
	background-size: cover;
}

.main_box .outer .twitch
{
	background-image: url("img/twitch.jpg");
	background-size: cover;
}

.main_box .outer .youtube .infobox, .main_box .outer .twitch .infobox
{
	display: none;
}

.main_box .infobox
{
	background-color: rgba(255,255,255,0.7);
	color: #000;
	font-family: Arial, sans-serif;
	font-size: 14px;
	position: absolute;
	left: 3px;
	bottom: 3px;
	max-width: 75%;
	border: 1px solid #000000;
	padding: 15px;
}

.main_box .infobox > h1
{
	color: #284475;
	font-family: Arial, sans-serif;
	font-size: 20px;
	margin-top: 0;
	margin-bottom: 0;
	font-weight: bold;
	text-transform: uppercase;
}


#slidebox
{
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#slidebox .container
{
	position: relative;
	left: 0;
	height: 100%;
}


#slidebox .content
{
	background: #000;
	float: left;
	width: 20%;
	height: 100%;
	position: relative;
}

#slidebox .content > div
{
	height: 100%;
	background-size: cover;
}

#slidebox .content > div > div
{
	position: relative;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	width: 100%;
	height: 100%;
}

#slidebox .content > div > div > div > h1
{
	color: #284475;
	font-family: Arial, sans-serif;
	font-size: 20px;
	margin-top: 0;
	margin-bottom: 0;
	font-weight: bold;
	text-transform: uppercase;
}


#slidebox .content > div > div > div
{
	background-color: rgba(255,255,255,0.7);
	color: #000;
	font-family: Arial, sans-serif;
	font-size: 14px;
	position: absolute;
	left: 3px;
	bottom: 32px;
	max-width: 300px;
	border: 1px solid #000000;
	padding: 15px;
}

#slidebox .next, #slidebox .previous
{
	position: absolute;
	z-index: 2;
	display: block;
	/*width: 46px;
	height: 76px;*/
	
	width: 30%;
	height: 80%;
}

#slidebox .next
{
	right: 0;
	margin-right: 1%;
	/*background-image: url("img/arrow_right.png");*/
	background-repeat: no-repeat;
	background-position: right center;
}

#slidebox .next:hover
{
	/*background-image: url("img/arrow_right_hover.png");*/
}

#slidebox .previous
{
	margin-left: 1%;
	/*background-image: url("img/arrow_left.png");*/
	background-repeat: no-repeat;
	background-position: left center;
}

#slidebox .previous:hover
{
	/*background-image: url("img/arrow_left_hover.png");*/
}

#slidebox .thumbs
{
	position: absolute;
	z-index: 2;
	right: 0px;
	bottom: 0px;
}


#slidebox .thumbs .thumb, #slidebox  .selected_thumb
{
	width: 15px;
	height: 15px;
	text-align: center;
	display: block;
	margin: 3px;
	float: left;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	text-decoration: none;
	padding: 4px;
	color: #000;
	background-color: #fff;
	border: 1px solid #000;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#slidebox .thumbs .thumb:hover
{
	background: #284475;
	color: #fff;
}

#slidebox .selected_thumb
{
	background: #284475;
	color: #fff;
}

	

.galleryimage
{
	width: 200px;
	height: 150px;
	margin: 13px;
	text-align: center;
	vertical-align: center;
	float: left;
}

.galleryimage img
{
	border: 1px solid #000000;
}

.gallerymenu
{
	width: 175px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.gallerymenuitem
{
	/* width: 175px;
	height: 175px;*/
	margin-top: 40px;
	text-align: center;
	vertical-align: top;
	font-weight: bold;
	/* background-color: #ffffff;*/
}

.gallerymenuitem img
{
	border: 1px solid #000000;
	max-width: 150px;
	max-height: 150px;
/*	margin-bottom: 50%;*/
	/*z-index: 0;*/
	filter: gray;
	-webkit-filter: grayscale(1);
}

.gallerymenuitem:hover img
{
	border: 1px solid #284475;
	filter: none;
	-webkit-filter: grayscale(0);
}
	

#cssState
{
	position:absolute;
	top: -999em;
	left: -999em;
	z-index: 1;
}


