/* Google Font */
@import url(http://fonts.googleapis.com/css?family=Lato:400,700);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300);
/* ==========================================================================
   Author's custom styles
   ========================================================================== */

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,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}
* 							{ box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }

html, body					{ width: 100%; height: 100%; margin: 0; padding: 0; background: white; overflow-x: visible; }

.cf:before,.cf:after 		{ content:""; display:table; }
.cf:after 					{ clear:both; }
.cf 						{ zoom:1;}

.navbar						{ margin-bottom: 0; min-height: 40px; background-color: white; z-index: 10; border-radius: 0; }
.navbar 					{ position: absolute; width: 100%; }
.navbar-brand 				{ font-size: 24px; height: 40px; padding: 10px 15px; text-shadow: none; color: #49b4d1; }
.navbar-title				{ font-size: 15px; text-transform: uppercase; padding: 6px 0 0; }
.navbar-header				{ width: 100%; line-height: 30px; }
#aivot-footer				{ height: 50px; width: 100%; background: white; z-index: 1000; text-transform: uppercase;  font-weight: 300; line-height: 1em; border: solid #959595; border-width: 5px 0; } 

#share-aivot 				{ position: absolute; top: auto; right: 60px; font-size: 16px; font-weight: 500; margin-top: 10px; }
body           				{ font: normal 300 20px/28px 'Open Sans', sans-serif; color: #2b2b2b; }

h1,h2,h3,h4,h4,h5           { color: #ccc; }
.light h1, .light h2, .light h3 { color: #4c4c4c; }
h1, h2, .navbar-brand		{ font-family: 'Lato', sans-serif; font-weight: 700; text-transform: uppercase; }
h1, h2, h4					{ line-height: 74px; margin-bottom: 30px; }
h1                          { font-size: 66px; line-height: 74px; text-transform: uppercase; padding-bottom: 10px; margin-bottom: 30px; }
h1 small         			{ font-family: Georgia, sans;   font-style: italic;   display: block; line-height: 1.3em; color: white; text-shadow: 2px 2px rgba(0,0,0,0.33); font-size: 36px; margin-top: 10px; padding-top: 30px; border-top: solid 1px white; text-transform: none; }
h3, .quote 					{ font-family: Georgia, serif; font-style: italic; font-weight: normal; font-size: 36px; line-height: 50px; }
h3		 					{ margin: 50px 0 20px; }
h3.normal 					{ font-style: normal; }
h4							{ font-size: 30px; line-height: 1em; color: #059ac2; margin: 20px 0; }

img 						{ max-width: 100%; }

a, .a                       { -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease; -ms-transition: all 0.2s ease; -o-transition: all 0.2s ease; }
a                           { color: #4eb7a8; text-decoration: none; }
a:hover, a:focus            { color: #0e7a6b; }
a.btn 						{ display: inline-block; padding: 15px 70px; font-family: 'Open Sans', sans-serif; font-size: 24px; text-transform: uppercase; }
a.btn.btn-outlined			{ background: transparent; border: solid 3px white; color: white !important; }
a.btn.btn-outlined:hover	{ border-color: #fff; background: #fff; color: #333 !important;}

h2 							{ font-size: 40px; line-height: 48px; font-weight: 600; text-transform: uppercase; margin: 100px 0 50px; }
h2.georgia                  { font-size: 50px; line-height: 56px; font-weight: 400; font-family: Georgia, serif; text-transform: none; font-style: normal; padding-top: 0; margin: 0; }

p                           { margin: 0 0 20px; }
p.center                    { text-align: center; }
.strong,
strong	                    { font-weight: 600; }
.dark p, .dark div			{ color: #f4f4f4; }
.next 						{ text-align: center; }
.fa-stack					{ font-size: 24px !important; }
.vertical-center 			{ display: flex; align-items: center; }
.pelaaminen-poll-data 		{ font-weight: 600; display: inline-block; border: solid 2px #4eb7a8; padding: 10px 0; border-radius: 50px; height: 65px; line-height: 1; width: 65px; text-align: center; margin-bottom: -10px; }
.pelaaminen-poll-data:hover { border-color: #0e7a6b; }
section,
article						{ position: relative; width: 100%; margin: 0 auto; z-index: 2; }
article						{ background: white; }
section						{ display: table; }

article.dark				{ background-color: #0e0e0e; }
article.story.dark			{ margin-top: -500px; padding-top: 600px; }

section.row,
article.row					{ margin-left: 0; margin-right: 0; }

.table 						{ display: table; }
.cell 		 				{ display: table-cell; vertical-align: middle; }


.full .container			{ height: 100%; }

.cover 						{ height: 100%; }
.light 						{ background-color: white; color: #222; }
.light.shadowed 			{ text-shadow:0px 2px 4px #fff, 0px 0px 4px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff; }
.light.shadowed .fa-stack	{ text-shadow: none; }
.dark  						{ background-color: #0e0e0e; color: #e8e8e8; }
.transparent 				{ background: transparent none; background-color: transparent; }
/*.fixed 						{ position: fixed; -webkit-backface-visibility: hidden; }*/
.absolute					{ position: absolute; }
.centered					{ text-align: center; }
.follow						{ top: 100%; }
.loose						{ padding: 160px 0; }

.z0							{ z-index: 0; }
.z1							{ z-index: 1; }
.z2							{ z-index: 2; }
.z3							{ z-index: 3; }
.z-1						{ z-index: -1; }

.narrow .container			{ width: 60%; max-width: 600px; }
.narrow .container .articletext { padding: 75px 0; }
.scrolling .container		{ height: 100%; overflow-y: auto; }

.cover .cell 				{ display: table-cell; vertical-align: middle; }

.spacer						{ height: 300px; }
.spacer.low					{ height: 200px; }
.spacer.lower				{ height: 100px; }
.spacer.tall				{ height: 500px; }

.bg-video					{ position: fixed; width: 100%; height: 100%; z-index: 2; }
#video1 					{ top: 0; left: 0; }

.main-text					{ display: block; }
.main-text.dark				{ padding: 100px 0; }
.main-text .container		{ width: 60%; max-width: 600px; display: block; }

.covered-text				{ margin-top: -300px; }
.dark.covered-text			{ margin-top: -600px; padding-top: 300px; }

.text-box 					{ width: 50%; max-width: 750px; }
.text-box-left				{ margin-left: 0; }
.text-box-right				{ margin-left: 650px; }
.text-box-normal			{ position: absolute; opacity: 1; top: 50%; font-style: normal; }

#intro			 			{ padding-top: 40px; }
#intro .col-md-7 			{ min-width: 735px; }

article#story1				{ z-index: 1; }

#video2						{ top: 100%; left: 0; z-index: 2; border-top: 3px solid #ccc; border-bottom: 3px solid #ccc; } 

article#story2				{ z-index: 1; }

#video3						{ top: 100%; left: 0; z-index: 2; }
#video4						{ top: 100%; left: 0; z-index: 2; }

article#story3				{ z-index: 1; }

#pelikysely 				{ background-image: url(../img/videopelit-kysely-bg.png); background-repeat: no-repeat; background-color: #53517f; padding-bottom: 70px; }
#pelikysely *				{ color: white; }
/*iframe#poll-frame			{ width: 100%; min-height: 800px; margin: auto; border: 0; overflow: auto; }*/
#pelikysely h4 			{ font-size: 20px; line-height: 28px; font-weight: 700; }
#pelikysely .label		{ font-size: 20px; font-weight: 300; }
#pelikysely .choises_container { margin-bottom: 40px; }

/* Game banner */
article#game-banner			{ height: 650px; background: #4c4c4c 80% 0 / cover no-repeat scroll url(../img/videopelit-varitesti.jpg); border-top: solid 10px white; border-bottom: solid 10px #a8d758; }


#articles                   { background-color: #ececec; border-top: 1px solid #ccc; margin-top: -1px; margin-bottom: 0; padding: 40px 0 0; }
#share-article  			{ background-color: #ececec; padding-bottom: 70px; }
/*#articles a 				{ color: #059ac2; } 
#articles a:hover 			{ color: #00637d; } */

#articles .thumbnail .caption { min-height: 380px; }


.list 						{ margin-bottom: 100px; }


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

#intro .col-md-7 			{ min-width: 0px; }
h1 							{ font-size: 50px; line-height: 60px; }
h3, .quote 					{ font-size: 32px; line-height: 40px; }
h3		 					{ margin: 40px 0 20px; }
h4 							{ font-size: 28px; }

/*.spacer 					{ height: 150px; }*/

}

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

body						{ font-size: 18px; }

h1 							{ font-size: 50px; line-height: 60px; }
h2.georgia 					{ font-size: 42px; line-height: 48px; }
h3, .quote 					{ font-size: 32px; line-height: 42px; }
h3		 					{ margin: 35px 0 20px; }
h4 							{ font-size: 24px; }

#poll 						{ background-position: 225% 130%; }	

article#game-banner			{ background-position: 80% 0; }

}


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

video 						{ display: none !important; }

#video1						{ background-position: 100% 100% !important; background-size: cover; background-repeat: no-repeat; background-image: url(../img/videopelit-intro.jpg) !important; }
#video2						{ background-color: #fff; background-position: 30% 100% !important; background-size: cover; background-repeat: no-repeat; background-image: url(../img/videopelit-metro2033-white.jpg) !important; }
#video3						{ background-color: #000; background-position: 50% 100% !important; background-size: cover; background-repeat: no-repeat; background-image: url(../img/videopelit-metro2033.jpg) !important; }
#video1 div, #video1 video,
#video2 div, #video2 video,
#video3 div, #video3 video 	{ display: none; }

h1 							{ font-size: 46px; line-height: 54px; }
h2 							{ font-size: 36px; line-height: 42px;  margin: 80px 0 40px; }
h3		 					{ margin: 30px 0 20px; }
h4							{ margin-top: 0; margin-bottom: 5px; }

#poll 						{ background-position: -5% 145%; }		

.list-item					{ margin-bottom: 60px; }

}


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

body						{ font-size: 16px; line-height: 24px; overflow-x: hidden; }

#share-aivot 				{ right: 20px; }
.fa-stack 					{ font-size: 14px !important; }

h1 							{ font-size: 38px; line-height: 42px; }
h2.georgia 					{ font-size: 36px; line-height: 42px; }	
h3, .quote 					{ font-size: 28px; line-height: 36px; }
h4 							{ font-size: 22px; }

.pelaaminen-poll-data 		{ border: 0; padding: 0; border-radius: 0; height: auto; line-height: inherit; width: auto; margin-bottom: 0; }
#poll 						{ background-position: 20% 145%; }	

.next a						{ display: none; }


/*iframe#poll-frame			{ min-height: 1000px; }*/
#pelikysely 				{ background-position: 110% 98%; background-size: 50%; }
 

}


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

h1 							{ font-size: 32px; line-height: 36px; }
h2 							{ font-size: 28px; line-height: 36px;  margin: 60px 0 30px; }
h2.georgia 					{ font-size: 32px; line-height: 36px; }
h3, .quote 					{ font-size: 24px; line-height: 30px; }
h3		 					{ margin: 30px 0 15px; }

.navbar-title				{ display: none; }
#pelikysely 				{ background-position: 110% 98%; background-size: 70%; }

}