@font-face {
    font-family: 'Gotham';
    src: url('/fonts/GothamRnd-Light.otf') format("opentype");
}
@font-face {
    font-family: 'Gotham Bold';
    src: url('/fonts/GothamRnd-Medium.otf') format("opentype");
}
@font-face {
    font-family: 'Gotham Book';
    src: url('/uber/fonts/GothamRnd-Book.otf') format("opentype");
}

* {
	padding: 0;
	margin: 0;
	border: 0;
}

.fillParent {
	width: 100%;
	height: 100%
}

/* Футер */

a {
	color: #21dbdb;
}

#parallax,
#footer {
	font-family: 'gotham', sans-serif;
}
/* */
#layouts .portrait.story {
	width: 300px;
}

#layouts .portrait .padded {
	padding: 200px 30px;
}

#layouts .portrait .landscapeOnly {
	display: none;
}
#layouts .portraitOnly,
#layouts .landscapeOnly {
	margin-top: 20px;
}

#layouts .landscape .portraitOnly {
	display: none;
}

/* */

body {
	font-family: gotham, sans-serif;
	background: black;
}

h1,h2,h3,h4,h5,h6{
	color:#333;
    font-family: gotham, sans-serif;
    font-size: 20px;
}
p {
    font-size: 15px;   
}
.popularResolution {
	width: 1366px;
	height:768px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -683px;
	margin-top: -384px;
}
.story {
	text-align: center;
    height:100%;
    width: 100%;
}
.story img{
    max-height:100%;
    max-width:100%;
    position:absolute
}
.story p+p {
	margin-top: 10px;
}

.fastLayer {
	position:absolute;

}
.fastLayer > * {
	position:absolute;
	left: 0px;
	top: 0px;
	
}

#scaling .padded {
	padding: 40% 20%;
}

.story .hint {
	display: block;
	color: gray;
	font-style: italic;
	font-size: 70%;
}


/* SLIDET */

/* CREW */

.meet {
    display:block;
    color: #333; 
    text-align:center; 
    margin: 2em 0em;
    position: absolute;
    text-align: center;
    width:100%;
    top:0;
}
.meet h2 {
    color: #333;  
    font-size: 2.5em;
    font-weight: normal;
    padding-left:0.1em;
    font-family: "gotham bold";
}
.crew-container {
    text-align: center;
    height: 40%;
    
    white-space: nowrap;
}
.crew-pari {
    display:inline-block;
    height:100%;
    max-width:24%;
}
.kortti-container {
    display: inline-block;
    overflow: hidden;
    margin: 2em;
    padding: 0px 0px 20px;
    max-height:100%;
    max-width: 22%;
    white-space: nowrap;
}
.kortti-container:first-child{
    margin-top:8em;
}
.kortti {
    display: inline-block;
    overflow: hidden;
    margin: 2em;
    background: white;
    padding: 0px 0px 20px;
    border-radius:4px;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
    width: 60%;
    height: auto;

}
.kortti img {
    display:block;
    max-width:100%;
    max-height:100%;
}
.kortti .tiedot p {
    clear:left; 
    font-size: 1.2em;
}
.kortti .tiedot h2 { 
    font-size: 1.6em;
    margin-top: 0.5em;
    color: #21dbdb;
}
.text-left {
    text-align:left;   
}
.text-center {
    text-align:center;   
}
.text-right {
    text-align:right;
}
/* Crew-mouseoverit */

.switch {
    background-size:contain;
}
.switch .image {
    opacity: 1;
    -webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}
.switch .image:hover {
    opacity: 0;
}
.switch p {
    position: relative;
    bottom: 6em;
    height: 0px;
    color: #333;
    font-size: 0.9em;
    line-height:1.5;
    opacity:0;
}
.switch a {
    text-decoration:none;
}
.switch:hover p {
    opacity: 1;   
    -webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}
.switch p:first-line {
    font-size:1.6em;
}

.about-switch p {
    position: relative;
    bottom: 290px;
    height: 0px;
    color: #21dbdb !important;
    font-size: 110px;
    line-height:1.5;
    opacity:0;
    font-size: 2em;
    text-shadow: 2px 2px 25px #fff;
    font-weight: 700;
}
.about-switch a {
    text-decoration:none;
}
.about-switch:hover p {
    opacity: 1;   
    -webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

#home {  }

#home h2 { color: #333; position: absolute; left: 30%; bottom: 14%; text-align: center; }

#about { 
}
#about p {
    color: #333;
    font-size: 2em;
    line-height: 1.3;
    text-align: center;
    margin: 0.7em 0em;
}
.about-video h2 {
	color: #21dbdb;
    font-size: 2.3em;
    font-weight: normal;
    font-family:  "gotham",sans-serif;
    margin: 0.3em 0em;
    line-height: 1.2em;
}

.about-video h2 {
    font-size: 1.6em;
    line-height: 2em;
    font-family: "gotham bold";
}

.isotope-linkki {
    text-decoration:none   
}
/* footer */

#footer{
	position: fixed;
    z-index: 20;
    width: 100%;
    height: 4em;
    font-size: 1.5em;
    text-align: center;
    bottom: 0px;
    color: #808080;
    background: none repeat scroll 0% 0% #000;
    padding: 1.0em 0em 0em 0em;
    box-sizing: border-box;
}
.somelogot {
    display: inline-block;
    float: right;
    bottom: 19%;
    position: absolute;
    right: 2%;
    font-size: 0.9em;
}
.footer-uberlogo {
    width: 3.4em;
    float: left;
    left: 30px;
    position: absolute;
    top: 1.2em;  
}

body.testi .panel { max-width: 100%; }
body.testi #home.panel img { max-width: 100%; bottom: 80px; max-height: 100%; }