*{
    margin: 0;
    padding: 0;
}

body {
	font-family: Arial, sans-serif;
	text-transform: uppercase;
	font-weight: 400;
}

.text-white {
	color: #fff;
}

.text-black {
	color: #000;
}

i {
  text-transform: none;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
	height: 100%;
}

body{
	height: 100%;
    background: #000;
    color: #fff;
}

.bg-yellow-dark_turquoise,
.bg-yellow-dark_turquoise .mobile-nav
{
	background: rgb(210,190,42);
	background: linear-gradient(90deg, rgba(210,190,42,1) 0%, rgba(210,190,42,1) 50%, rgba(0,112,131,1) 100%); 
}

.bg-purple-violet,
.bg-purple-violet .mobile-nav
{
	background: rgb(128,13,88);
	background: linear-gradient(90deg, rgba(128,13,88,1) 0%, rgba(128,13,88,1) 50%, rgba(127,50,160,1) 100%); 
}

.bg-dark_teal-teal,
.bg-dark_teal-teal .mobile-nav
{
	background: rgb(54,103,98);
	background: linear-gradient(90deg, rgba(54,103,98,1) 0%, rgba(54,103,98,1) 50%, rgba(97,170,163,1) 100%); 
}

.bg-orange-peach,
.bg-orange-peach .mobile-nav
{
	background: rgb(197,66,54);
	background: linear-gradient(90deg, rgba(197,66,54,1) 0%, rgba(197,66,54,1) 50%, rgba(244,139,106,1) 100%); 
}

.bg-dark_turquoise-turquoise,
.bg-dark_turquoise-turquoise .mobile-nav
{
	background: rgb(0,112,131);
	background: linear-gradient(90deg, rgba(0,112,131,1) 0%, rgba(0,112,131,1) 50%, rgba(0,198,226,1) 100%); 
}

a:focus {
	outline: none;
}

.mobile-nav {
	position: fixed;
	width: 100%;
	background-color: #000;
	opacity: 0.98;
	z-index: 3;
}

.mobile-nav-header {
	border-bottom: 1px solid #fff;
	float: left;
	width: 100%;
}

.mobile-nav-header .inner {
	padding: 0 10px;
}

.mobile-title {
	float: left;
	margin-top: 15px;
	font-family: arial, sans-serif;
	/*text-transform: none;*/
}

.mobile-nav-button {
	height: 35px;
	float: right;
	margin-top: 10px;
	margin-bottom: 10px;
	cursor: pointer;
}

.mobile-nav-button img,
.mobile-nav-button-retina img
{
	height: 35px;
}

.has-sub {
	height: 40px;
    line-height: 40px;
	padding-bottom: 10px;
}

.mobile-nav-hidden {
	display: none;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	margin-top: 10px;
	margin-bottom: 10px;
}

.mobile-nav-hidden:nth-child(4) {
	margin-top: 0;
	border-bottom: none;
}

.mobile-nav-hidden .gone_row:first-child {
	padding-top: 15px;
}

.mobile-nav-hidden + hr {
	margin-top: 0;
}

.nav-button-retina {
	display: none;
}

.mobile-nav-body {
	padding: 0;
	float: left;
	width: 100%;
	display: none;
	border-bottom: 1px solid #fff;
	opacity: 0;
	transition: opacity 0.5s ease-in;
}

.mobile-nav-body.open {
	opacity: 1;
	transition: opacity 0.5s ease-in;
}

.mobile-nav-body-inner {
	padding: 20px 0;
}

#page{
    width: 100%;
    height: auto;
    z-index: -999;
}

#name{
    width: 100%;
    padding-top: 20px;
    margin: 0 auto;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	text-align: center;
    text-transform: uppercase;
	position: relative;
	z-index: 1;
}

.name {
	letter-spacing: 0.2em;
}

h1{
    font-size: 1.5em;
    font-weight: 100;
    margin: 0;
    padding: 0;
}

.gallery h1 {
	font-family: arial, sans-serif;
	letter-spacing: 0.2em;
	margin-bottom: 30px;
	text-align: center;
}

.gallery .gmbms-title {
	letter-spacing: 1px;
}

.italic {
	font-style: italic;
}

#wrapper{
    width: 100%;
    margin: 0 auto;
    height: auto;
	z-index: 9999;
    font-size: 0.8em;
}

#face{
    width: 240px;
    height: 420px;
    margin: 0 auto;
    margin-top: 12px;
    z-index: -999;
	position: relative;
    /*background-image: url('file:///E:/OZ_netti/images/kaltio_480_nobg.png');*/
}

#face img {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

#spider{
	position: relative;
    top: 93px;
    left: -20px;
    width: 485px;
    height: 292px;
    margin: 0 auto;
    margin-top: 20px;
    z-index: -999;
	display: none;
}

#lasit_img {
	width: auto;
	position: absolute;
	top: -80px;
	left: 98px;
}

.mobile_spider_left {
	position: absolute;
    top: 150px;
    left: 0;
}

.mobile_spider_right {
	position: absolute;
    top: 203px;
    right: 0;
}

#face_img,
#face_img_blurred
{
    opacity: 0.0;
	margin-left: 10px;
}

#spider_img{
    opacity: 0.0;
	width: 100%;
}

#canvas_div{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 900px;
    opacity: 0.5;
}

#link_wrapper{
    position: absolute;
    top: 0;
	left: 0;
    width: 100%;
    margin: 0 auto;
    font-family: arial, sans-serif;
}

#link_wrapper .inner {
	width: 100%;
	margin: 0 auto;
	font-size: 1.2em;
}

#left_links{
    float: left;
    width: 184px;
    text-align: center;
    z-index: 999;
	font-size: 0.8em;
	position: relative;
}

#right_links{
    float: right;
    width: 212px;
    text-align: center;
    z-index: 999;
    font-size: 0.8em;
	position: relative;
}

#left_links p {
	position: absolute;
	right: -65px;
    text-align: left;
	width: 150px;
	letter-spacing: 0.3em;
}

#right_links p {
	position: absolute;
	left: -32px;
    text-align: right;
	width: 150px;
	letter-spacing: 0.3em;
}

#left_links p:first-child {
	top: 144px;
}

#right_links p:first-child {
	top: 196px;
}

#left_links p:nth-child(2) {
	top: 241px;
}

#right_links p:nth-child(2) {
	top: 296px;
}

#left_links p:last-child {
	top: 338px;
}

/*#right_links p:last-child {
	top: 393px;
}*/


a{
    text-decoration: none;
    color: #fff;
}

#gone_page{
    width: 100%;
}

#gone_wrapper{
    width: 560px;
    margin: 0 auto;
    margin-top: 40px;
}

#gone_wrapper_w_gallery{
    width: 285px;
    margin-top: 40px;
    margin-left: 20px;
    float: left;
    position: fixed;
	display: none;
}

.gone-main-page #gone_wrapper_w_gallery {
	position: relative;
	margin-top: 100px;
	padding-bottom: 40px;
	display: block;
}

.gone_row{
	display: table;
    width: 285px;
    clear: both;
    float: left;
    padding-top: 10px;
    margin: 0 auto;
}

.has-sub {
	padding-top: 0;
	padding-bottom: 0;
}

.has-sub:nth-child(3) {
	padding-top: 0;
	padding-bottom: 10px;
}

.has-sub-coming {
	padding-top: 0;
	padding-bottom: 10px;
}

.mobile-nav-hidden-coming {
	margin-top: 0;
	border-bottom: none;
}

.gone_row_cv {
	padding-bottom: 25px;
}

.gone_row_w_gallery{
    width: 240px;
    clear: both;
    float: none;
    padding-top: 10px;
    margin: 0 auto;
}

.mobile-nav .gone_row {
	float: none;
	max-width: 400px;
	margin: 0 auto;
}

.mobile-nav .gone_img {
	width: 50px;
	max-width: 16%;
	display: inline-block;
	vertical-align: middle;
	float: none;
}

.mobile-nav .gone_img img {
	max-width: 100%;
	width: 50px;
}

.mobile-nav #la_img {
	padding-top: 0;
}

.mobile-nav .gone_text {
	width: auto;
	max-width: 80%;
	padding-top: 0;
	display: inline-block;
    vertical-align: middle;
	padding-left: 4%;
}

.mobile-nav .gone_text .inner {
	padding-left: 15px;
}

#gone_wrapper_w_gallery .gone_row .gone_img img{
    width: 50px;
}

#gone_wrapper_w_gallery .gone_row .gone_img{
	display: table-cell;
    text-align: left;
    width: 60px;
    padding: 4px;
}

#gone_wrapper_w_gallery .gone_row .gone_text{
	display: table-cell;
	vertical-align: middle;
    font-size: 0.8em;
    padding: 0;
}

#gone_wrapper_w_gallery .gone_row .gone_img #la_img{
    padding: 4px;
}

.gone_img{
    float: left;
    width: 320px;
    text-align: center;
}

.gone_text{
    width: 193px;
    padding-top: 40px;
    padding-left: 10px;
}

.gone_text a{
    font-family: arial, sans-serif;
    font-size: 1em;
    text-decoration: none;
    color: #fff;
	letter-spacing: 0.25em;
	text-shadow: 1px 0px 1px rgba(0,0,0,0.5), 0px 1px 1px rgba(0,0,0,0.5), -1px 0px 1px rgba(0,0,0,0.5), 0px -1px 1px rgba(0,0,0,0.5);
}

#la_img{
    padding-top: 30px;
}

.retreat_row{
    margin-bottom: 20px;
}

#huvipuisto_row_list{
    margin-bottom: 200px;
}

.gallery{
    width: 640px;
	max-width: 100%;
    margin: 0 auto;
    padding-top: 100px;
    margin-bottom: 80px;
    /*text-align: center;*/
}

.gallery-inner {
	padding-bottom: 40px;
}

.gallery>* {
	padding-left: 10px;
	padding-right: 10px;
}

.gallery img{
    width: 100%;
	height: auto;
    margin-top: 10px;
}

.gallery .portrait {
    height: 640px;
    width: auto;
}

.gallery p{
    font-family: arial, sans-serif;
    text-align: center;
    margin-bottom: 20px;
	margin-top: 10px;
	text-transform: none;
}

.cv-area,
.cv-area p
 {
	text-align: left;
}

.bold,
.bold i
{
	font-weight: 700;
}

strong, b {
    font-weight: bold;
}

.role {
	color: #771b04;
}

.role-blue {
	color: #0027a2;
}

.role-turqoise {
	color: #517108;
}

.role-fire {
	color: #a2271c;
}

.role-yellow {
	color: #dbba21;
}

.role-cold-blue {
	color: #3a77ba;
}

.role-brown {
	color: #997461;
}

.role-purple {
	color: #9d09aa;
}

.role-orange {
  color: #e28035;
}

.role-red {
  color: #af0707;
}

.gallery .big-margin {
	margin-bottom: 20px;
}

.photos-n-video {
	margin-top: 10px;
}

.gallery .ytts-logo {
	width: auto;
	height: auto;
}

.gallery .mj-logo {
	float: left;
	width: 440px;
}

#tabs {
	clear: both;
}

#tabs ul {
	list-style-type: none;
}

#tabs ul li {
	float: left;
	width: 50%;
}

#tabs ul li:focus {
	outline: none;
}

#tabs ul li a:focus {
	outline: none;
}

#tabs ul li.mj-first {
	width: 100%;
}

#tabs ul li a img {
	width: 95%;
}

#tabs-1,
#tabs-2,
#tabs-3
{
	float: left;
}

hr{
    clear: both;
    float: none;
    display: block; height: 1px;
    border: 0; border-top: 1px solid #333;
    margin: 1em 0; padding: 0;
}



iframe {
    margin-top: 11px;
	max-width: 100%;
}

.language-choice {
	position: absolute;
	width: 100%;
	top: 64px;
	right: 0;
	font-family: arial, sans-serif;
	z-index: 2;
}
/*.language-choice-subpage {
	display: none;
}*/
.language-choice .inner {
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

.language-choice p {
	margin-bottom: 10px;
	text-align: left;
	font-size: 0.9em;
	display: inline-block;
}

.language-choice p:first-child {
	margin-right: 20px;
}

.language-choice .current,
.gone_text .current
{
	color: #000;
	text-shadow: 1px 0px 1px rgba(0,0,0,0.1), 0px 1px 1px rgba(0,0,0,0.1), -1px 0px 1px rgba(0,0,0,0.1), 0px -1px 1px rgba(0,0,0,0.1);
}

.cv .language-choice .current,
.cv .gone_text .current,
.gone_row_cv .current
{
	color: #911a68;
	text-shadow: 1px 0px 1px rgba(0,0,0,0.1), 0px 1px 1px rgba(0,0,0,0.1), -1px 0px 1px rgba(0,0,0,0.1), 0px -1px 1px rgba(0,0,0,0.1);
}

.lang-link {
	letter-spacing: 0.3em;
	text-shadow: 1px 0px 1px rgba(0,0,0,0.5), 0px 1px 1px rgba(0,0,0,0.5), -1px 0px 1px rgba(0,0,0,0.5), 0px -1px 1px rgba(0,0,0,0.5);
}

.gallery .question-title {
	text-transform: uppercase;
}

.question {
	background-color: #000;
	color: #fff;
	width: 75%;
	height: 50px;
	padding: 5px;
	text-transform: none;
	font-size: 1em;
	/*margin-left: 10px;*/
}

.question:focus {
	outline-color: red;
}

.break,
.build
{
	display: none;
}

.break {
	color: #af0707;
}

.print-link,
.save-link
{
	display: none;
}

#canvas_div {
	display: none;
}

.video-wrapper {
	width: 100%;
	position: relative;
	margin-bottom: 40px;
	padding-bottom: 52.25%;
	padding-top: 25px;
	height: 0;
}

.gallery>.video-wrapper,
.gallery>iframe
{
	width: 100%;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.gallery .portrait {
	height: auto;
	width: auto;
	max-width: 100%;
}
#rage-title {
	width: 100%;
	font-size: 2.6em;
	text-shadow: 0px 0px 6px #000;
}
.rage-area {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
	display: flex;
	/*height: 100vh;*/
	/*min-height: 450px;*/
	align-items: center;
	justify-content: center;
}
.rage-area-inner {
	/*display: table-cell;
	vertical-align: middle;*/
	padding-top: 30px;
	/*max-width: 600px;*/
}
/*.rage-area-inner-inner {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}*/
.rage-area-inner h2 {
	font-size: 22px;
	margin-bottom: 1em;
	letter-spacing: 2px;
	text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.5);
}
span.text-black {
	text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.5);
}
.rage-area-inner h3 {
	font-size: 13px;
	margin-bottom: 0.1em;
	text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.5);
	letter-spacing: 2px;
	font-family: arial, sans-serif;
	font-weight: 400;
}
.rage-area-inner h3.text-white {
	text-shadow: 0px 0px 3px #000;
}

.gallery #rage-title-new {
	font-size: 2.4em;
	text-shadow: 0px 0px 6px #000;
	margin-bottom: 20px;
	font-weight: 400;
}
.names-desktop {
	display: none;
}
.names-mobile h3 {
}
@media screen and (min-width: 460px) {
	.names-mobile {
		display: none;
	}
	.names-desktop {
		display: block;
	}
}
@media screen and (min-width: 800px) {
	.rage-area-inner {
		padding-top: 25px;
	}
	.gallery #rage-title-new {
		margin-bottom: 70px;
	}
	.rage-area-inner h2 {
		font-size: 2.2em;
		margin-bottom: 0.5em;
	}
	.rage-area-inner h3 {
		font-size: 1.4em;
		margin-bottom: 0.25em;
	}
}
@media screen and (min-width: 1200px) {
	.rage-area-inner h3 {
		font-size: 1.6em;
		margin-bottom: 0.25em;
	}
}
.credits {
	position: fixed;
	left: 0;
	bottom: 20px;
	width: 100%;
	text-align: center;
	text-shadow: 1px 0px 1px rgba(0,0,0,0.5), 0px 1px 1px rgba(0,0,0,0.5), -1px 0px 1px rgba(0,0,0,0.5), 0px -1px 1px rgba(0,0,0,0.5);
	letter-spacing: 1.5px;
}
.credits p {
	text-transform: none;
}
.ui-state-active p {
	color: #af0707;
}
@media screen and (min-width: 600px) {
	.mobile-nav-header .inner {
		padding: 0 25px;
	}
	.gallery .portrait {
	    height: 640px;
	    width: auto;
	}
}
@media screen and (min-width: 768px) {
	#page {
		height: 850px;
	}
	#wrapper {
		height: 850px;
	}
	#name {
		width: 100%;
		padding-top: 40px;
		color: #000;
	}
	#face {
		width: 240px;
		height: 480px;
		margin-top: 40px;
	}
	#face img {
		width: 100%;
	}
	#spider{
	    width: 383px;
		left: 0;
		top: -427px;
		display: block;
	}
	.mobile_spider_left,
	.mobile_spider_right
	{
		display: none;
	}
	#link_wrapper .inner {
		width: 774px;
	}
	#left_links{
	    width: 180px;
	}
	#left_links p {
		text-align: right;
		width: auto;
		right: -8px;
	}
	#left_links p a {
		color: #000;
	}
	#right_links{
	    width: 180px;
	}
	#right_links p {
		text-align: left;
		width: auto;
	 	left: -2px;
	}
	#right_links p a {
		color: #000;
	}
	#left_links p:first-child,
	#right_links p:first-child
	{
		top: 179px;
	}
	#left_links p:nth-child(2),
	#right_links p:nth-child(2)
	{
		top: 293px;
	}
	#left_links p:last-child/*,
	#right_links p:last-child*/
	{
		top: 429px;
	}
	.language-choice {
		position: absolute;
		width: auto;
		top: 64px;
		right: 68px;
		font-family: arial, sans-serif;
		font-size: 0.9em;
	}
	.language-choice .inner {
		width: auto;
	}
	#left_links p:last-child {
		right: -274px;
		text-align: center;
	}
	.gallery {
		padding-top: 87px;
	}
	#rage-title {
		font-size: 4em;
	}
	.gallery #rage-title-new {
		font-size: 4em;
	}
	.credits {
		bottom: 40px;
	}
}

@media screen and (min-width: 1000px) {

	#face {
		width: 256px;
	}
	#spider{
	    width: 485px;
	}
	#lasit_img {
		top: -60px;
		left: 155px;
	}
	#link_wrapper .inner {
		width: 1000px;
	}
	#left_links{
		width: 240px;
	}
	#right_links{
		width: 240px;
	}
	#left_links p:first-child,
	#right_links p:first-child
	{
		top: 180px;
	}

	#left_links p:nth-child(2),
	#right_links p:nth-child(2)
	{
		top: 325px;
	}

	#left_links p:last-child/*,
	#right_links p:last-child*/
	{
		top: 490px;
	}
	#gone_wrapper_w_gallery {
		display: block;
		z-index: 1;
	}
	.gone-main-page #gone_wrapper_w_gallery {
		position: fixed;
		margin-top: 40px;
	}
	.mobile-nav {
		display: none;
	}
	.gallery {
		margin-left: 320px;
		padding-top: 40px;
	}
	#left_links p:last-child {
		right: -330px;
	}
	.language-choice {
		top: 12px;
	}
}

@media screen and (min-width: 1147px) {

	#rage-title {
		font-size: 4em;
	}
	.gallery #rage-title-new {
		font-size: 4em;
	}

	#canvas_div {
		display: block;
	}

}

@media screen and (min-width: 1200px) {

	#wrapper{
	    width: 1200px;
	}

}
@media screen and (min-width: 1280px) {

	.language-choice {
		top: 40px;
	}
	#rage-title {
		font-size: 5em;
	}
}

@media screen and (min-width: 1357px) {

	.gallery {
		float: none;
		margin: 0 auto;
	}

	#gone_wrapper_w_gallery{
		margin-left: 40px;
	}

}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (-moz-min-device-pixel-ratio: 1.5),
	only screen and (-o-min-device-pixel-ratio: 3/2),
	only screen and (min-device-pixel-ratio: 1.5) {

	.nav-button {
		display: none;
	}

	.nav-button-retina {
		display: block;
	}

	@media only screen and (min-width: 1000px) {
		.nav-button-retina {
			display: none;
		}
	}

}
@media screen and (min-width: 768px) {
	.afterlife-text {
		font-size: 50px !important;
	}
	.afterlife-link {
		margin-top: 27vh !important;
	}
}
