@font-face {
 font-family: 'mmOtsikko';
 src: url('Comicv3b.eot'); /* For Internet Explorer 6+ */
}
@font-face {
 font-family: 'mmOtsikko';
 src: url('Comicv3b.ttf'); /* For non-IE browsers */
}


body, html{
	background-color: #fff;
    font-family: Verdana, Geneva, sans-serif; 
	font-size: 16px;
    width:  100%;
    height: 100%;
    margin: auto;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1000;	
	background-repeat:no-repeat;
	background-attachment:fixed;
	background-position:center top; 
}
#top_logo{
	max-width: 100%; height: auto;
}
#res-kuva{
	max-width: 100%; height: auto;
}

.vitsiUnselectable{
	-webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    #color: #cc0000;
}

.logo-content{
    margin: auto;
    padding: 10px;
    max-width: 700px;
    text-align: center;
	margin-top:15px;
	margin-bottom:15px;
	display:block;
}

.center-content{
    margin: auto;
    padding: 20px;
    max-width: 700px;
    text-align: center;
	margin-top:15px;
	margin-bottom:15px;
	display:block;
}

.main-content{
    margin: auto;
    /*border-radius: 55px;*/
	border: 0px solid #d76900;
    background: #ffffff;
    padding: 20px;
    max-width: 700px;	
    text-align: center;
	margin-top:0px;
	margin-bottom:0px;
	display:block;
	padding-bottom:0px;
}

.videoThumbSmall{
	display:inline-block; 
	width:31%; 
	text-align:center;
	vertical-align: top;
	padding:5px;
}

.kupla-top{
    margin: auto;
    max-width: 100%;	
	margin-top:0px;
    text-align: center;
	margin-bottom:-15px;
}

.kupla-bottom{
    margin: auto;
    max-width: 100%;	
	margin-top:0px;
    text-align: center;
	margin-bottom:0px;
}

.pylly-bottom-flame{
    margin: auto;
    /*max-width: 400px;	*/
	margin-top:-180px;
    text-align: center;
	margin-bottom:0px;
}

.pylly-bottom{
    margin: auto;
    /*max-width: 400px;	*/
	margin-top:-10px;
    text-align: center;
	margin-bottom:0px;
	padding-left:20px;
	padding-right:20px;
}

.buttonSmall {
    text-align: center;
	border-radius: 55px;
	background-color: #86ae34;
	border: none;
	color: #fff;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-family: mmOtsikko, Arial; 
	font-size: 30px;
	line-height: 0.75em;
	letter-spacing:0.6px;
	font-style: normal;
	margin-top:20px;
	margin-bottom:20px;
	font-weight: normal;
	-webkit-appearance:none;
}
.buttonSmall:hover {
	background-color: #86ae34; /* Green */
	font-size: 28px;
	cursor: pointer;
}

.buttonLarge {
    text-align: center;
	border-radius: 55px;
	background-color: #ca9922;
	border: none;
	color: #fff;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-family: mmOtsikko, Arial; 
	font-size: 30px;
	line-height: 0.75em;
	letter-spacing:0.6px;
	font-style: normal;
	margin-top:20px;
	margin-bottom:20px;
	font-weight: normal;
	width: 100%;
	-webkit-appearance:none;
}
.buttonLarge:hover {
	background-color: #ca8122; /* Green */
	font-size: 28px;
	cursor: pointer;
}

.buttonVitsit {
    text-align: center;
	border-radius: 55px;
	background-color: #ca9922;
	border: none;
	color: #fff;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-family: mmOtsikko, Arial; 
	font-size: 30px;
	line-height: 0.75em;
	letter-spacing:0.6px;
	font-style: normal;
	margin-top:20px;
	margin-bottom:20px;
	font-weight: normal;
}
.buttonVitsit:hover {
	background-color: #ca8122; /* Green */
	font-size: 28px;
	cursor: pointer;
}

.buttonVitsitEiAktiivinen {
    text-align: center;
	border-radius: 55px;
	background-color: #f1f1f1;
	border: none;
	color: #e2e2e2;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-family: mmOtsikko, Arial; 
	font-size: 30px;
	line-height: 0.75em;
	letter-spacing:0.6px;
	font-style: normal;
	margin-top:20px;
	margin-bottom:20px;
	font-weight: normal;
}
.buttonVitsitEtusivulle {
    text-align: center;
	border-radius: 55px;
	background-color: #ca9922;
	border: none;
	color: #fff;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-family: mmOtsikko, Arial; 
	font-size: 30px;
	line-height: 0.75em;
	letter-spacing:0.6px;
	font-style: normal;
	margin-top:20px;
	margin-bottom:20px;
	font-weight: normal;
}
.buttonVitsitEtusivulle:hover {
	background-color: #ca8122; /* Green */
	font-size: 28px;
	cursor: pointer;
}

.lueVitsiIcon{
	float:right;
	display: block;
}

.pvm{
	color:#717171;
	font-size:12px;
	font-style: italic;
}
.pvmArtikkeliOtsikko{
	color:#717171;
	font-size:15px;
	/*font-style: italic;*/
	text-transform: uppercase;
}
.videoSubOtsikko{
	color:#717171;
	font-size:16px;
	/*font-style: italic;*/
}

.erotin{
	color:#e5e5e5;
}
.sivuNro{
	color:#9c4d00;
}
.sivuNroOtsikko{
	color:#d46900;
	/*font-family: mmOtsikko, Verdana, Geneva, sans-serif;
    line-height: 0.95em;
    letter-spacing:0.2px;
    font-style: normal;	
	font-size:20px;*/
}
.vitsi-otsikko{
	color:#85ac3d;
	font-size:35px; 
	padding-bottom:0px; 
	margin-bottom:0px;
}
.vitsi-otsikko a{
	color:#85ac3d;
	text-decoration: none;
}
.vitsi-otsikko a:hover{
	color:#d76900;
	text-decoration: none;
}

.pieru-otsikko{
	color:#85ac3d;
	font-size:35px; 
	padding-bottom:0px; 
	margin-bottom:0px;
}
.pieru-otsikko a{
	color:#85ac3d;
	text-decoration: none;
}
.pieru-otsikko a:hover{
	color:#d76900;
	text-decoration: none;
}

.footer-logot{
	padding-left:10px;
	padding-right:10px;
	padding-top:5px;
	padding-bottom:5px;
	width:175px;
	height:auto;	
}

a {
  color: #d76900;
  text-decoration: none;
}
a:hover{
  color: #d76900;
  text-decoration: underline;
}

.vitsi-otsikko{
	font-family: mmOtsikko, Verdana, Geneva, sans-serif;
    line-height: 0.95em;
    letter-spacing:0.2px;
    font-style: normal;			
	color:#86ae38;
	font-size:37px; 
}
.vitsi-otsikko a{
	color:#86ae38;
	text-decoration: none;
}
.vitsi-otsikko a:hover{
	color:#86ae38;
	text-decoration: none;
}

.vitsiPalstaVasen{
	float:left; 
	width:85%;
}

h1{
	margin-top:0px;
	margin-bottom:40px;
	font-family: mmOtsikko, Verdana, Geneva, sans-serif;
    line-height: 0.75em;
    letter-spacing:0.6px;
    font-style: normal;		
	font-size:65px;
	color:#86ae38;
}

h2{
	margin-top:10px;
	margin-bottom:30px;
	font-family: mmOtsikko, Verdana, Geneva, sans-serif;
    line-height: 0.75em;
    letter-spacing:0.6px;
    font-style: normal;		
	font-size:65px;
	color:#86ae38;
}

.h2-etusivu-pieru{
	margin-top:0px;
	margin-bottom:40px;
	font-family: mmOtsikko, Verdana, Geneva, sans-serif;
    line-height: 0.75em;
    letter-spacing:0.6px;
    font-style: normal;		
	font-size:65px;
	color:#86ae38;
}

h3{
	margin-top:10px;
	margin-bottom:10px;
	font-family: mmOtsikko, Verdana, Geneva, sans-serif;
    line-height: 0.75em;
    letter-spacing:0.6px;
    font-style: normal;		
	font-size:65px;
	color:#d76900;
}

td{
	border-style: dotted;
	border-width: 0 0 1px 0;
	border-color: #85ac3d;
	padding:10px;
}

.valiViiva{
	border-style: dotted;
	border-width: 0 0 1px 0;
	border-color: #85ac3d;
}

.linkki-keltainen{
	color:#5d2d00;
}

/* Menu valikko */

 .header {
  background-color: #d76900;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  /*position: fixed;*/
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #ffca48;
}

.header li a {
  display: block;
  padding: 15px 20px;
  border-right: 1px dotted #d76900;
  text-decoration: none;
  border-bottom: 1px dotted #d76900;
}

.header li a:hover {
  background-color: #ffea43;
}

.header .valiotsikko {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 20px;
  font-family: mmOtsikko, Verdana, Geneva, sans-serif;
  line-height: 0.95em;
  letter-spacing:0.2px;
  font-style: normal;		
  color: #fff;	  
}

.header .valiotsikkoRivi{
	display: block;
	width:100%;
	padding: 15px 20px;
	background-color: #ffe03c;
	border:0px;
}
/*
.header .valiotsikkoRivi a{
	display: block;
	width:100%;
	padding: 0px 0px 25px 0px;
	background-color: #ffe03c;
	border:0px;
}
.header .valiotsikkoRivi a:hover{
	display: block;
	width:100%;
	padding: 0px 0px 25px 0px;
	background-color: #ffe03c;
	border:0px;
}
*/
.header .sulje {
  cursor: pointer;
  display: block;
  float: left;
  font-size: 26px;
  text-decoration: none;
  font-family: mmOtsikko, Verdana, Geneva, sans-serif;
  line-height: 0.95em;
  letter-spacing:0.2px;
  font-style: normal;		
  color: #ffea43;	  
  text-transform: uppercase;
}

.header .logo {
  cursor: pointer;
  display: block;
  float: left;
  font-size: 36px;
  padding: 17px 20px;
  text-decoration: none;
  font-family: mmOtsikko, Verdana, Geneva, sans-serif;
  line-height: 0.95em;
  letter-spacing:0.2px;
  font-style: normal;		
  color: #ffea43;	  
  text-transform: uppercase;
}

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 32px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #ffea43;
  display: block;
  height: 3px;
  position: relative;
  transition: background .2s ease-out;
  width: 26px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #ffea43;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 8px;
}

.header .menu-icon .navicon:after {
  top: -8px;
}

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 3500px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* Kaavake */

.alert2{
	color: #ea0000;
	font-size: 12px;
}

.TTWForm .field, #form-title.field {
    padding-bottom: 12px;
    padding-top: 12px;
    position: block;
    clear: both;
}

.TTWForm label {
    color: #d76900;
    font: 16px/24px Helvetica Neue, "Arial", Helvetica, Verdana, sans-serif;
}

.input-teksti{
	width:97%;
	padding:10px;
	text-align: center;
	font-size:16px;
	border: 1px solid #d76900;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

textarea  
{  
	font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;
	width:97%;
	padding:10px;
	text-align:left;
	font-size:16px;
	border: 1px solid #d76900;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

@media screen and (max-width: 500px) {
	
	.footer-logot{
		max-width:145px;
		height:auto;	
	}

	.vitsiPalstaVasen{
		float:left; 
		width:100%;
	}

	h1{
		line-height: 0.75em;
		letter-spacing:0.5px;
		font-size:60px;
	}

	h2{
		line-height: 0.75em;
		letter-spacing:0.6px;
		font-size:50px;
	}

	.h2-etusivu-pieru{
		line-height: 0.75em;
		letter-spacing:0.5px;
		font-size:60px;
	}

	h3{
		line-height: 0.75em;
		letter-spacing:0.6px;
		font-size:45px;
	}
	
	.lueVitsiIcon{
		display:none;
	}
	.videoThumbSmall{
		width:46%;
		padding:5px;
	}	
	
}