@font-face
{
    font-family: 'bebas_neueregular';
    src: url('bebasneue-webfont.woff2') format('woff2'),
         url('bebasneue-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body
{
	color: white;
	background-color: #464747;
	font-family: Arial;
	overflow-x: hidden;
	overflow-y: scroll;
	min-width: 320px;
	max-width: 100%;
}

h1
{
	font-family: 'bebas_neueregular';
	font-size: 4.5em;
	margin-top: 10px;
}

#S2 h1
{
	margin-top: 20px;
}

#Sos
{
	display: block;
	z-index: 6;
	position: fixed;
	left: -0px;
	top: 25%;
	width: 100px;
	height: 150px;
}

#Sos ul
{
	list-style-type: none;
}

#Sos img
{
	width: 40px;
	height: 40px;
}

#header
{
	font-family: bebas_neueregular;
	font-size: 1.7em;
}

#header a
{
	text-decoration: none;
	color: white;
}

p, li
{
	line-height: 25px;
}

ul
{
	list-style-type: square;
	padding-left: 15px;
}

#ylos
{
	position: fixed;
	right: 10px;
	bottom: 20px;
	z-index: 5;
}

#ylos a
{
	font-size: 1.3em;
	font-weight: bold;
	color: #0BA6D9;
	text-decoration: none;
}

#header
{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	width: 100%;
	height: 80px;
}

#headerItem
{
	position: relative;
	float: right;
	right: 20px;
	height: 40px;
	top: 30px;
	font-weight: 100;
}

#headerDropdown
{
	display: none;
}

#Dropdown-content
{
	padding-top: 100px;
	position: absolute;
	//height: 200px;
	height: 300px;
	width: 100%;
	left: 0px;
	top: -10px;
	background-color: rgba(186,186,186, .8);
	border-bottom: 4px solid #2B8EAD;
	transform: translateY(-100%);
	transition: opacity .5s ease-in;
    -moz-transition: opacity .5s ease-in;
    -webkit-transition: opacity .5s ease-in;
	//opacity: 0;
	transition-property: transform;
	transition-duration: 0.4s;
	z-index: 1;
	text-align: center;
}

#FaceLink
{
	position: absolute;
	bottom: -45px;
	left: 50%;
	margin-left: -82.5px;
	width: 40px;
}

#TwitterLink
{
	position: absolute;
	bottom: -45px;
	left: 50%;
	margin-left: -25px;
	width: 42px;
	height: 40px;
}

#PlusLink
{
	position: absolute;
	bottom: -45px;
	left: 50%;
	margin-left: 37.5px;
	width: 40px;
}

#Dropdown-content-content
{
	position: absolute;
	left: 50%;
	width: 200px;
	margin-left: -100px;
	top: 22.5%;
}

#Dropdown-content.is_visible
{
	//transition: opacity .5s ease-out;
    //-moz-transition: opacity .5s ease-out;
    //-webkit-transition: opacity .5s ease-out;
	//opacity: 1;
	transform: translateY(0px);
}

#Dropdown-content a
{
	line-height: 50px;
	font-size: 1.5em;
	font-weight: bold;
	color: #2B8EAD;
	text-decoration: none;
}

#headerItem a
{
	margin-right: 10px;
}

#headerItem a:hover
{
	border-bottom: 3px solid #6AB4CC;
}

#headerImage
{
	position: absolute;
	float: left;
	width: 70px;
	top: 5px;
	left: 10px;
}

#headerItem   td
{
	text-align: center;
	width: 70px;
	max-width: 100px;
	border-bottom: 3px solid transparent;
}

#headerItem   td:hover
{
	border-bottom: 3px solid #6AB4CC;
}

#S1
{
	position: absolute;
	top: 0px;
	height: 850px;
	left: 0px;
	width: 100%;
}

#S2
{
	position: absolute;
	width: 100%;
	height: 430px;
	top: 834px;
	left: 0px;
	//background-color: #E0E0E0;
	//background-image: url('Kuvat/background.png');
	//background-repeat: repeat;
}

#S2Header
{
	text-align: center;
}

#S2Content
{
	position: absolute;
	width: 100%;
	height: 300px;
	top: 90px;
}

#S2Content-content
{
	max-width: 1200px;
	width: 100%;
	font-size: 1.5em;
	position: absolute;
	//text-align: center;
	left: 50%;
	margin-left: -550px;
}

#S2Content-content p
{
	line-height: 130%;
}

#S3
{
	position: absolute;
	width: 100%;
	height: 500px;
	top: 1254px;
	left: 0px;
}

#S3Content
{
	width: 100%;
	height: 100%;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-image: url('Kuvat/Night03.jpg');
	background-size: cover;
}

#S4
{
	position: absolute;
	width: 100%;
	height: 1300px;
	top: 1754px;
	left: 0px;
}

#S4Header
{
	text-align: center;
}

#S4Content
{
	position: absolute;
	width: 100%;
	height: 1200px;
	left: 0px;
	top: 100px;
}
/*
@-webkit-keyframes mymove 
{
    from {background-image: url('Kuvat/Day02.png')}
   to {background-image: url('Kuvat/Day05.png')}
}

@keyframes mymove 
{
    from {background-image: url('Kuvat/Day02.png')}
   to {background-image: url('Kuvat/Day05.png')}
}
*/
#Game1
{
	left: 0px;
	width: 100%;
	height: 400px;
	position: absolute;
	background-repeat: no-repeat;
	background-image: url('Kuvat/HiresScreenshot256.jpg');
	background-size: cover;
	background-position: 0px 55%;
}

#Game1Logo
{
	position: absolute;
	top: 0;
	top: 7.5%;
	left: 50%;
	margin-left: -237.5px;
	width: 475px;
}

#Game2
{
	left: 0px;
	width: 100%;
	height: 400px;
	position: absolute;
	top: 400px;
	background-repeat: no-repeat;
	background-image: url('Kuvat/CIM2_screenshot.jpg');
	background-size: cover;
	background-position: 0px 25%;
}

#Game2Logo
{
	position: absolute;
	top: 0;
	top: 40%;
	left: 50%;
	margin-left: -237.5px;
	width: 475px;
}

#Game3
{
	left: 0px;
	position: absolute;
	top: 800px;
	width: 100%;
	height: 400px;
	background-repeat: no-repeat;
	background-image: url('Kuvat/CIM_screenshot2.jpg');
	background-size: cover;
}

#Game3Logo
{
	position: absolute;
	top: 0;
	top: 72.5%;
	left: 50%;
	margin-left: -280px;
	width: 580px;
}

#leftImage
{
	position: absolute;
	float: left;
	width: 150px;
	left: -20px;
	top: 80px;
	-ms-transform:rotate(-20deg);
	-webkit-transform:rotate(-20deg);
	transform:rotate(-20deg);
}

#rightImage
{
	position: absolute;
	float: right;
	width: 300px;
	right: -150px;
	top: 130px;
	-ms-transform:rotateX(60deg);
	-webkit-transform:rotateX(60deg);
	transform:rotateX(60deg);
	-ms-transform:rotateY(180deg);
	-webkit-transform:rotateY(180deg);
	transform:rotateY(180deg);
}

#S4Content a
{
	text-decoration: none;
	color: white;
}

.GameLogo
{
	left: 0;
	width: 450px;
	border: 2px solid transparent;
}

#S5
{
	position: absolute;
	width: 100%;
	height: 1200px;
	top: 3056px;
	left: 0px;
}

.S5JobSelected
{
	height: 1070px;
}

#S5Header
{
	text-align: center;
	//margin-left: -10px;
}

#S5Content
{}

.JobButton
{
	position: absolute;
	text-align: center;
	width: 300px;
	height: 40px;
	left: 50%;
	margin-left: -150px;
	font-size: 1.4em;
	background-color: #0BA6D9;
}

.JobButton:hover
{
	border: 1px solid black;
	background-color: white;
	color: #0BA6D9;
	transition: .5s;
}

.JobButton p
{
	margin-top: 8px;
}

#S5Jobs
{
	cursor: pointer;
	position: absolute;
	width: 100%;
	left: 0px;
}

#S5Job1
{
	position: absolute;
	top: 0px;
	left: -75px;
}

#S5Job2
{
	position: absolute;
	top: 0px;
	left: 90px;
}

.S5Job
{
	width: 150px;
	height: 150px;
	border: 2px solid black;
	border-radius: 50%;
}

.S5JobSelected1
{
	height: 1280px;
}

.S5Job:hover
{
	border: 2px solid #6AB4CC;
}

.JobSelected
{
	border: 2px solid #6AB4CC;
}

.S5JobImg
{
	width: 60%;
	position: relative;
	top: 32.5px;
	left: 35px;
}

#S5Descriptions
{
	font-size: 1.075em;
	//text-align: center;
	position: absolute;
	top: 250px;
	left: 50%;
	width: 1200px;
	margin-left: -500px;
	padding-right: 20px;
	padding-bottom: 10px;
}

#S5Descriptions h1
{
	font-size: 3em;
}

#S5Descriptions h3
{
	font-family: bebas_neueregular;
	font-size: 2em;
}

#S5Descriptions ul
{
	text-align: left;
	//margin-left: 100px;
	padding-left: 25px;
	list-style-type: none;
	border-left: 2px solid #0BA6D9;
}

#S5Descriptions li
{
	width: 900px;
	border-bottom: 1px solid rgba(232,232,232, .3);
}

#S5Descriptions a
{
	color: #0BA6D9;
}

#S6
{
	font-size: 1.075em;
	position: absolute;
	width: 100%;
	height: 600px;
	top: 4000px;
	left: 0px;
}

.S6JobSelected1
{
	top: 3760px;
}

#S6Header
{
	position: absolute;
	left: 50%;
	margin-left: -100px;
	top: 0px;
}

#S6Info
{
	float: left;
	position: absolute;
	left: 50%;
	margin-left: -400px;
	padding-top: 155px;
	text-align: center;
}

#S6Info a
{
	color: #0BA6D9;
}

#S6Maps
{
	float: right;
	position: absolute;
	margin-top: 125px;
	right: 50%;
	margin-right: -600px;
	width: 650px;
	height: 400px;
	border: 1px solid black;
}

#footerItem
{
	position: absolute;
	top: 4580px;
	right: 10px;
	font-family: 'bebas_neueregular';
}

#footerItem a
{
	font-size: 1.7em;
	margin-right: 10px;
	color: white;
	text-decoration: none;
}

#footerItem a:hover
{
	border-bottom: 3px solid #6AB4CC;
}

#Footer
{
	position: absolute;
	top: 4630px;
	width: 100%;
	left: 0px;
	height: 57px;
	background-color: black;
}

.FooterJobSelected1
{
	top: 4300px;
}

#FooterLeft
{
	float: left;
	color: white;
	padding-left: 60px;
}

#images
{
	position: absolute;
	//left: 47%;
	top: 0px;
	height: 100%;
	width: 100%;
	z-index: 0;
	overflow-x: hidden;
}

#ImageSlider
{
	position: absolute;
	top: 0px;
	width: 300%;
	-webkit-transition:all 1.0s ease-in-out;
	-moz-transition:all 1.0s ease-in-out;
	transition:all 1.0s ease-in-out;
}

/*#images img.transparent, #images p.transparent
{
	z-index: 1;
	opacity:0;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;
}

#images img.is_visible, #images p.is_visible
{
	z-index: 2;
	opacity:1;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;
}*/

#kuvat, #kuvat2, #kuvat3
{
	width: 33.3333333333333%;
	height: 850px;
	//filter: blur(1px);
}

#kuvat
{
	position: absolute;
	left: 0px;
	background-image: url('Kuvat/Day01.jpg');
	background-size: 100% 100%;
}
#kuvat2
{
	display: none;
	position: absolute;
	left: 33.3333333333333%;
	background-image: url('Kuvat/Night03.png');
}
#kuvat3
{
	display: none;
	position: absolute;
	left: 66.6666666666666%;
	background-image: url('Kuvat/Day05.png');
}

#kuvat3txt, #kuvat2txt, #kuvattxt
{
	font-family: bebas_neueregular;
	position: absolute;
	width: 90%;
	left: 50%;
	margin-left: -45%;
	text-align: center;
	top: 50%;
	margin-top: -1em;
	font-size: 5.5em;
	line-height: 50px;
}

#kuvat3txt a, #kuvat2txt a, #kuvattxt a
{
	position: relative;
	color: #6AB4CC;
	text-decoration: none;
	padding-left: 4px;
	padding-right: 4px;
	border: 3px solid #6AB4CC;
}

#kuvat3txt a:hover, #kuvat2txt a:hover, #kuvattxt a:hover
{
	background-color: #6AB4CC;
	color: black;
	-webkit-transition: .7s;
	-moz-transition: .7s;
	transition: .7s;
}

.bottomtext
{
	font-size: 60%;
	text-align: center;
}

#leftArrow
{
	position: absolute;
	float: left;
	top: 50%;
	margin-top: -100px;
	margin-left: 20px;
	width: 50px;
	cursor: pointer;
	z-index: 3;
}

#rightArrow
{
	position: absolute;
	float: right;
	top: 50%;
	right: 0px;
	margin-top: -100px;
	margin-right: 20px;
	width: 50px;
	cursor: pointer;
	z-index: 3;
}

.GameButton
{
	position: absolute;
	text-align: center;
	width: 175px;
	height: 40px;
	left: 50%;
	margin-left: -85.25px;
	font-size: 1.4em;
	background-color: #0BA6D9;
}

.GameButton:hover
{
	background-color: white;
	color: #0BA6D9;
	transition: .5s;
}

.GameButton p
{
	margin-top: 8px;
}

@media screen and (min-width: 2200px) {

#Game1, #Game2, #Game3
{
	//filter: blur(3px);
}

#S5Descriptions
{
	position: absolute;
	top: 250px;
	font-size: 1.6em;
}

#Sos img
{
	width: 60px;
	height: 60px;
}

#S5Descriptions ul
{
	text-align: left;
	padding-left: 20px;
	list-style-type: none;
	border-left: 4px solid #0BA6D9;
}

#headerItem
{
	font-size: 2em;
}

#headerImage
{
	width: 100px;
	top: 5px;
	left: 10px;
}

#S6
{
	top: 4300px;
}

#footerItem
{
	font-size: 2em;
	top: 4860px;
	font-weight: 100;
}

#Footer
{
	top: 4920px;
}

}

@media screen and (max-width: 1500px) {

#S5Descriptions li
{
	border-bottom: 1px solid rgba(232,232,232, .3);
}

#S5Descriptions
{
	left: 50%;
	margin-left: -47.5%;
	width: 95%;
}

}

@media screen and (max-width: 1230px) {

#S6Info
{
	margin-top: -40px;
	margin-left: -102.5px;
}

#S6Maps
{
	margin-top: 470px;
	margin-right: -345px;
}

#footerItem
{
	top: 4950px;
}

#Footer
{
	top: 5000px;
}

#S2Content-content
{
	width: 97%;
	font-size: 1.5em;
	position: absolute;
	//text-align: center;
	left: 0;
	margin-left: 0;
	padding-left: 10px;
}

}

@media screen and (max-device-width: 1230px) {

#S6Info
{
	margin-top: -40px;
	margin-left: -102.5px;
}

#S6Maps
{
	margin-top: 470px;
	margin-right: -345px;
}

.gmap_canvas {overflow:hidden;background:none!important;position:absolute;top:0;left:0;width:100%;height:100%;}

#footerItem
{
	top: 4950px;
}

#Footer
{
	top: 5000px;
}

#S2Content-content
{
	width: 97%;
	font-size: 1.5em;
	position: absolute;
	//text-align: center;
	left: 0;
	margin-left: 0;
	padding-left: 10px;
}

}

@media screen and (max-width: 980px) {

#S2
{
	height: 530px;
}

#S3
{
	top: 1454px;
}

#S4
{
	top: 1970px;
}

#S5
{
	top: 3290px;
}

#kuvat3txt, #kuvat2txt, #kuvattxt
{
	font-size: 3em;
}

#Sos
{
	display: none;
}

#headerItem
{
	display: none;
}

#headerDropdown
{
	position: relative;
	display: block;
	float: right;
	padding-top: 5px;
	padding-right: 20px;
}

#headerDropdownImg
{
	width: 70px;
}

#S5Descriptions ul
{
	padding-left: 10px;
}

#S5Descriptions li
{
	width: 100%;
}

#kuvat, #kuvat2, #kuvat3
{
	height: 600px;
}

#S2
{
	top: 600px;
}

#S3
{
	top: 1100px;
}

#S4
{
	top: 1600px;
}

#S5
{
	top: 2900px;
}

#S6Maps
{
	width: 80%;
	margin-right: -40%;
}

}

@media screen and (max-device-width: 980px) {

#S2
{
	height: 530px;
}

#S3
{
	top: 1454px;
}

#S4
{
	top: 1970px;
}

#S5
{
	top: 3290px;
}

#kuvat3txt, #kuvat2txt, #kuvattxt
{
	font-size: 3em;
}

#Sos
{
	display: none;
}

#headerItem
{
	display: none;
}

#headerDropdown
{
	position: relative;
	display: block;
	float: right;
	padding-top: 5px;
	padding-right: 20px;
}

#headerDropdownImg
{
	width: 70px;
}

#S5Descriptions ul
{
	padding-left: 10px;
}

#S5Descriptions li
{
	width: 100%;
}

#kuvat, #kuvat2, #kuvat3
{
	height: 600px;
}

#S2
{
	top: 600px;
}

#S3
{
	top: 1100px;
}

#S4
{
	top: 1600px;
}

#S5
{
	top: 2900px;
}

#S6Maps
{
	width: 80%;
	margin-right: -40%;
}

}

@media screen and (max-width: 480px) {

#S6
{
	top: 4200px;
}

#S6Maps
{
	height: 300px;
}

#footerItem
{
	top: 5000px;
}

#Footer
{
	top: 5050px;
}

}

@media screen and (max-device-width: 480px) {

#S6
{
	top: 4200px;
}

#S6Maps
{
	height: 300px;
}

#footerItem
{
	top: 5000px;
}

#Footer
{
	top: 5050px;
}

}

@media screen and (max-width: 590px) {

#S3
{
	top: 1250px;
}

#S4
{
	top: 1750px;
}

#S5
{
	top: 3050px;
}

#S6
{
	top: 4200px;
}

#footerItem
{
	top: 5100px;
}

#Footer
{
	top: 5150px;
}

}

@media screen and (max-device-width: 590px) {

#S3
{
	top: 1250px;
}

#S4
{
	top: 1750px;
}

#S5
{
	top: 3050px;
}

#S6
{
	top: 4200px;
}

#footerItem
{
	top: 5100px;
}

#Footer
{
	top: 5150px;
}

}

@media screen and (max-width: 435px) {
	
#S2Content-content
{
	font-size: 1.3em;
}

#Game1Logo, #Game2Logo
{
	margin-left: -187.5px;
	width: 375px;
}

#Game3Logo
{
	margin-left: -202px;
	width: 425px;
}

#Dropdown-content-content
{
	-webkit-animation-duration: 10s;
	animation-duration: 10s;
	opacity: 1;
}

.JobButton
{
	width: 300px;
	height: 40px;
	margin-left: -150px;
	font-size: 1.2em;
}

.JobButton p
{
	margin-top: 8px;
}


#Footer
{
	height: 100px;
	width: 101%;
	right: 0px;
}

#FooterLeft
{
	padding-left: 10px;
	padding-right: 5px;
}

}

@media screen and (max-device-width: 435px) {

#S2Content-content
{
	font-size: 1.3em;
}

#Game1Logo, #Game2Logo
{
	margin-left: -187.5px;
	width: 375px;
}

#Game3Logo
{
	margin-left: -202px;
	width: 425px;
}

#Dropdown-content-content
{
	-webkit-animation-duration: 10s;
	animation-duration: 10s;
	opacity: 1;
}

.JobButton
{
	width: 300px;
	height: 40px;
	margin-left: -150px;
	font-size: 1.2em;
}

.JobButton p
{
	margin-top: 8px;
}


#Footer
{
	height: 100px;
	width: 101%;
	right: 0px;
}

#FooterLeft
{
	padding-left: 10px;
	padding-right: 5px;
}

}

@media screen and (max-width: 370px) {

#S6Header
{
	position: static;
	text-align: center;
}

#S6Info
{
	margin-top: -200px;
	margin-left: -112.5px;
}

#S6Maps
{
	margin-top: 320px;
}

#footerItem
{
	top: 5060px;
	font-size: .8em;
	left: 50%;
	margin-left: -137.5px;
}

#Footer
{
	top: 5110px;
}

}

@media screen and (max-device-width: 370px) {

#S6Header
{
	position: static;
	text-align: center;
}

#S6Info
{
	margin-top: -200px;
	margin-left: -112.5px;
}

#S6Maps
{
	margin-top: 320px;
}

#footerItem
{
	top: 5060px;
	font-size: .8em;
	left: 50%;
	margin-left: -137.5px;
}

#Footer
{
	top: 5110px;
}

}

@media screen and (max-width: 330px) {

#Game1Logo, #Game2Logo
{
	margin-left: -150px;
	width: 300px;
}

#Game3Logo
{
	margin-left: -183px;
	width: 380px;
}

}

@media screen and (max-device-width: 330px) {
	
#Game1Logo, #Game2Logo
{
	margin-left: -150px;
	width: 300px;
}

#Game3Logo
{
	margin-left: -183px;
	width: 380px;
}

}
