/* Theme Name: Mobiilipohja
Description: Mobiilipohjan teematiedosto
Author: Medialuotsi Oy
Author URI: www.medialuotsi.fi*/


 /** HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(http://fonts.googleapis.com/css?family=Signika:600);
@import url(http://fonts.googleapis.com/css?family=Contrail+One);

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

a {
    color: #00e;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #06e;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {background: #f0f0f0;  font-size: 8pt; }

img {max-width: 100%; }

header { 
	text-align: center; 
	
background: #75bcce;
background: -moz-linear-gradient(top,  #75bcce 0%, #9dcedc 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#75bcce), color-stop(100%,#9dcedc));
background: -webkit-linear-gradient(top,  #75bcce 0%,#9dcedc 100%);
background: -o-linear-gradient(top,  #75bcce 0%,#9dcedc 100%);
background: -ms-linear-gradient(top,  #75bcce 0%,#9dcedc 100%);
background: linear-gradient(to bottom,  #75bcce 0%,#9dcedc 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#75bcce', endColorstr='#9dcedc',GradientType=0 );


	border-bottom: 2px solid #2c2c2c;
}

header p {
	text-align: center; 
	color:#fff; 
	font-size: 12pt;
	font-weight: normal; 
	padding-bottom: 15px;
	line-height: 2em;
}

header h1 {
	font-family: 'Contrail One', cursive;
	font-weight: normal; 
	text-transform: none;
	text-align: center;  
	padding: 20px 0px 20px 0px; 
	text-shadow: 0px 0px 0px #111, 1px 1px 0px #111, 2px 2px 0px #111; 
	font-size: 30px !important; 
	line-height: 1.5em;
	color: #fff;
}

.napit {
	margin-bottom: 20px; 
	margin-left: 0px; 
	min-height: 40px; 
}
#etusivu {
min-height: 100px;
}

.napit p {
	text-align: center; 
	margin-top: 30px; 
	margin-bottom: 0px;
}
.napit a { 	
	font-family: 'Yanone Kaffeesatz', sans-serif; 
	color: #333; 
	font-size: 22pt;
	padding: 5px 5px 5px 5px; 
	text-decoration: none;
	border-radius:3px;
	-moz-border-radius: 3px; 
	font-weight: normal;
	text-transform: uppercase;
	border: 1px solid #333;
	box-shadow: 0px 2px 4px #111;
	display:block;
	margin: 5px 30px 20px 30px;
	tap-highlight-color: rgba(150,0,0,0.1);
	-webkit-tap-highlight-color: rgba(150,0,0,0.1);
	
	background: rgb(242,246,248); 
	background: -moz-linear-gradient(top, rgba(242,246,248,1) 0%, rgba(216,225,231,1) 50%, rgba(181,198,208,1) 51%, rgba(224,239,249,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(242,246,248,1)), color-stop(50%,rgba(216,225,231,1)), color-stop(51%,rgba(181,198,208,1)), color-stop(100%,rgba(224,239,249,1)));
	background: -webkit-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);
	background: -o-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);
	background: -ms-linear-gradient(top, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%); 
	background: linear-gradient(to bottom, rgba(242,246,248,1) 0%,rgba(216,225,231,1) 50%,rgba(181,198,208,1) 51%,rgba(224,239,249,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f6f8', endColorstr='#e0eff9',GradientType=0 );
}
					
#soitanappi { 
	border: 1px solid #333; 
	color: #fff;
	
	background: #bfd255;
	background: -moz-linear-gradient(top,  #bfd255 0%, #8eb92a 50%, #72aa00 51%, #9ecb2d 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bfd255), color-stop(50%,#8eb92a), color-stop(51%,#72aa00), color-stop(100%,#9ecb2d));
	background: -webkit-linear-gradient(top,  #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%);
	background: -o-linear-gradient(top,  #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%);
	background: -ms-linear-gradient(top,  #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%);
	background: linear-gradient(to bottom,  #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfd255', endColorstr='#9ecb2d',GradientType=0 );


}

h1 {
	 font-family: 'Yanone Kaffeesatz', sans-serif; 
	 font-size: 26px !important;
	 font-weight: normal; 
	 text-transform: none; 
	 color: #333; 
	 margin: 0px 15px 20px 15px; 
	 line-height: 1.5em;	 
 }

h2 {
	 font-family: 'Yanone Kaffeesatz', sans-serif; 
	 font-size: 22px !important;
	 font-weight: normal; 
	 text-transform: none; 
	 color: #333; 
	 margin: 0px 15px 20px 15px; 
	 line-height: 1.5em;	 
 }
 
 h3 {
	 font-family: 'Yanone Kaffeesatz', sans-serif; 
	 font-size: 18px !important;
	 font-weight: normal; 
	 text-transform: none; 
	 color: #333; 
	 margin: 0px 15px 20px 15px; 
	 line-height: 1.5em;	 
 }

.content {
	box-shadow: 0px 5px 4px #111;  
	background: #fff;
	margin: 15px; 
	padding: 25px;
	border: 1px solid #333;
}
 .content p {
 margin: 0px 0px 0px 0px; 
 padding: 0px 15px 10px 15px; 
 font-size: 12px;
 }
 
 #reittiohjeet {
	font-family: 'LeagueGothicRegular';
	color: #fff;
	background: #00aeef;
	padding: 15px;
	display: inline-block;
	font-size: 16px;
	text-transform: uppercase;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
 }
 
 .icomoon { 
	 font-family: 'icomoon';
	 color: #fff;
	 font-size: 16px;
	 margin-right: 10px; 
 }
 
.takaisin a { 
	font-family: 'Yanone Kaffeesatz', sans-serif; 
	text-decoration: none; 
	font-size: 16pt; 
	color: #fff; 
	margin: -10px 15px 15px 15px; 
	background: #ef4b3e;  
	padding: 5px; 
	display:block;
	border-radius:5px; 
	-moz-border-radius: 5px;
}

ul {
	margin-bottom: 10px;
	font-size: 12px;
}

ul li ul {margin: 0; padding-left: 20px; } 

.soitto {
	margin: 0px 15px 0px 15px; 
	background: #546b79; 
	text-align: center; 
	font-size: 16pt; 
	border-radius:5px;
	-moz-border-radius: 5px;
}

.soitto p {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	padding: 5px; 
	color: #fff;
}

.soitto a {
	font-family: 'Yanone Kaffeesatz', sans-serif; 
	text-decoration: none;  
	color: #fff; 
	text-transform: uppercase; 
	font-size: 22pt; 
}

hr {
	margin: 0px 15px 5px 15px; 
	border-top: 5px solid #ef4b3e;
}

footer {
background: #75bcce;
background: -moz-linear-gradient(top,  #75bcce 0%, #9dcedc 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#75bcce), color-stop(100%,#9dcedc));
background: -webkit-linear-gradient(top,  #75bcce 0%,#9dcedc 100%);
background: -o-linear-gradient(top,  #75bcce 0%,#9dcedc 100%);
background: -ms-linear-gradient(top,  #75bcce 0%,#9dcedc 100%);
background: linear-gradient(to bottom,  #75bcce 0%,#9dcedc 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#75bcce', endColorstr='#9dcedc',GradientType=0 );

	border-top: 2px solid #2c2c2c;
}

footer p {
	font-size: 9pt; 
	font-weight: bold;
	text-align: center; 
	margin-top: 10px; 
	color: #333;
}

footer a {
	text-decoration: none;
	color: #333;
	border-bottom: 1px solid #fff;
}

footer p:first-child {	padding-top: 10px; }

.empty {
	height: 30px;
}
/* -------------------- FONTS -------------------- */

@font-face {
	font-family: 'icomoon';
	src:url('fonts/icomoon.eot');
	src:url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
		url('fonts/icomoon.woff') format('woff'),
		url('fonts/icomoon.ttf') format('truetype'),
		url('fonts/icomoon.svg#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'LeagueGothicRegular';
    src: url('fonts/League_Gothic-webfont.eot');
    src: url('fonts/League_Gothic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/League_Gothic-webfont.woff') format('woff'),
         url('fonts/League_Gothic-webfont.ttf') format('truetype'),
         url('fonts/League_Gothic-webfont.svg#LeagueGothicRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* -------------------- STICKY FOOTER -------------------- */

* {
	margin: 0;
}

html, body {
	height: 100%;
}

.wrapper {
	min-height: 100%; 
	height: auto !important;
	height: 100%;
	margin: 0 auto -130px; 
}

footer, .push {
	height: 130px;
}

.push { margin-top: 20px; }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Prevent callout */

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animate gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

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

header p {text-align: center; }

.napit {
	width: 420px; 
	margin: 0px auto;
}
.napit p {
	margin-bottom: 30px; 
	padding-bottom: 20px;
}
.napit a { 
	font-size: 20pt;
	float:left;
	padding: 5px 5px 5px 5px; 
	text-decoration: none;
	font-weight: normal;
	text-transform: uppercase;
	margin: 5px 10px 5px 10px;
	width: 40%;
}
}
