@import url("radios.css");
html, body {
  width: 100%;  
  position: relative;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}
body{
	font-family: 'Merriweather', serif;
	overflow-x: hidden;
	font-size: 14px;
	background: url(../gfx/tausta-maa-v4.png), url(../gfx/kamppis-footer-v4-tausta.png), url(../gfx/taivas-tausta3.png), #71d7ff;
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-size: 100% auto,100% auto,100% 100%;
	background-attachment: scroll, scroll, scroll;
	background-blend-mode: normal;
	padding-top: 8vw;
	background-position-x: 0px, 0px, 0px;
	background-position-y: bottom 0px, bottom 220px, top 0px;
}

@media (max-width: 768px) {
	body{
		background-size: 100% auto,100% auto,100% auto;	
		background-position-y: bottom 0px, bottom 0px, bottom 0px;	
	}	
}


.fb{
  overflow: hidden;
}
.background {
  background-color: #fff0c5;
}

.headerWrap{
	margin: auto;
}
/* newstyle */
.otsikko {
  position: relative;
}
.otsikko .h1 {
  font-family: "Chicle", serif;
  color: #ffb031; /*#5d8038; /*#7067ae; #004d6a; e45c40*/
  font-size: 2.6rem;
  position: relative;
  left: 0;
  top: 0;
  display: block;
  vertical-align: top;
  margin-bottom: 30px;
  margin-left: 30px;
  margin-right: 30px;
  z-index: 10;
  font-weight: bold;
}
.valiotsikko {
  font-size: 24px;
  position: relative;
  margin-bottom: 10px;
  color: #ffb031;/*#6fa728; */
}

.header{
	position: relative;
	left: 0;
	top: 0;
	z-index: 1;
}
.header .arvonta {
	margin: auto;
	
	font-family: "Chicle", serif;
	font-style: normal;	
	
	color: #ffb031; /* #9d8ec4; */
	font-size: 4.5vw;
	text-align: center;

	-webkit-text-fill-color: #ffb031; /* #9d8ec4;*/
	-webkit-text-stroke-color: #685b4e; /* #7067ae; */
	-webkit-text-stroke-width: 0.12vw;

	line-height: 1.2em;
	position: relative;
	left: 0;
	top: 0;
	z-index: 100;
	width: 100%;
	max-width: 1170px;
	height: 15vw;
}
.header .arvonta .tehoste{
	color: #ffb031; /* #9d8ec4; */
	font-size: 4.5vw;
	text-align: center;

	-webkit-text-fill-color: #ffb031; /*#a1b61d; /* #9d8ec4;*/
	-webkit-text-stroke-color: #685b4e; /*#38561e; /* #7067ae; */
	-webkit-text-stroke-width: 0.12vw;
}

.header .arvonta img{
		width: 100%;
		height: auto;
		max-width: 100%;
}
/*
.header:before{
		position: absolute;
		left: 1vw;
		bottom: -100px;
		content: " ";
		background: url(../gfx/kukkanen-munat.png);
		width: 1024px;
		height: 1023px;
		z-index: -1;
		display: block;
}
*/
@media (max-width: 768px) {
	.otsikko .h1{
		margin-left: 10px;
		margin-right: 10px;
	}	
}


/* loader */
#loader{
  z-index: 1000;
}
div#loader.paused {
  display: none;
}
div#loader .dot::before {
  -webkit-animation-play-state: running;
  -moz-animation-play-state: running;
  -o-animation-play-state: running;
  animation-play-state: running;
}
div#loader.paused .dot::before {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}



.footerimg{
	width: 100%;
	position: absolute;
	bottom:0;
	left: 0;
	overflow: hidden;
	margin-top: 0px;
	margin-bottom: 190px;
	z-index: -2;
	text-align: center;
}
.footerimg img{
	width: 100%;
	height: auto;

}
.toprimage{
	width: 100%;
	position: absolute;
	top:0;
	left: 0;
	overflow: hidden;
	margin-top: 0px;
	margin-bottom: 190px;
	z-index: -2;
	text-align: center;
}
.toprimage img{
		width: 100%;
		height: auto;
		-webkit-transform: scaleY(-1);
		transform: scaleY(-1);
	}

/*
.footer{
	margin-top: 200px;
	background: #4b8305;
	position: relative;
	z-index: -2;
	border-top: #b2e07c solid 8px;
	left: 0;
	top: 0;
	margin-bottom: -196px;  
}
*/
.footer{
	/* background: #6d8035; */
	/* #bfd56e; */ /* #f0821a*/
	position: relative;
	z-index: -2;
	left: 0;
	top: 0;
	width: 100%;
	height: 200px;
	padding-top: 0px;
	padding-bottom: 0px;
 	/* background: url(../gfx/footer-maa-v2.png);  */
    background-position: center bottom;
    background-size: 100% auto;	
	margin-top: 100px;
}

/*
.footer .row:after{
		position: absolute;
		left: -172px;
		bottom: 0px;
		content: " ";
		background: url(../gfx/footer-vasen-lapio.png);
		background-repeat: no-repeat;
		width: 372px;
		height: 628px;
		z-index: -1;
		display: block;
}

.footer .row:before{
		position: absolute;
		right: -172px;
		bottom: 0px;
		content: " ";
		background: url(../gfx/footer-oikea-harava-v2.png);
		width: 463px;
		height: 643px;
		z-index: -1;
		display: block;
		background-repeat: no-repeat;
}
*/

.footer .row{
	max-width: 1140px;
	padding-top: 30px;
	padding-bottom: 30px;
	margin: auto;
	color: white;
	font-size: 14px;
	z-index: 10;
	position: relative;
	left: 0px;
	top: 0px;
	overflow: visible;

}
.footer .row img{
  max-width: 100%;
}

.footer .logo{
	float: right;
}

@media (max-width: 768px) {
	.footer .logo{
		float: none;
	}	
	
	.footer{
		height: auto;
	}
	
	.footer .row:after{
		background-size: 100% auto;
		width: 100px;
		height: 150px;
		top: -100px;
		left: 0px;
	}
	
	.footer .row:before{
		background-size: 100% auto;
		width: 100px;
		height: 150px;
		top: 0px;
		right: 0px;
	}
	
}



.btn{
	font-family: 'Lemon', cursive;
	font-weight: 300;
	text-transform: uppercase;
}

.container{
	background-color: rgba(255,255,255,0.9);
	z-index: 10;
}

.osallistu, .kiitos{
	padding-bottom: 40px;
	padding-top: 40px;
	margin-top: 0px;
	margin-bottom: 0px;
	border-style: solid;
	border-color: #b3441a;
	border-width: 0px 2px 0px 2px;	
}
.kiitos{
	margin-bottom: 260px !important;
}
.toppart, .toppart.osallistu{
	border-radius: 15px 15px 0 0;
	border-style: solid;
	border-color: #b3441a;
	border-width: 2px 2px 0px 2px;
}
.osallistu{
	border-width: 0px 2px 2px 2px;	
	border-bottom-style: dashed;
}

.kiitos{
	border-width: 0px 2px 2px 2px;	
}


#osallistubtn {
   background: #67a41f;
   color: white;
   font-family: 'Lemon', cursive;
   font-size: 1.8rem;
   font-weight: 400;
   padding-left: 10px;
   padding-right: 10px;
   padding-top: 5px;
   padding-bottom: 5px;
 }
#osallistubtn:hover {
  color: #fff;
  background-color: #d01ad8;
  border-color: #9b07d8;
}
/*
#osallistu form{
	background: url(../gfx/onnea-arvontaan-s24.png) no-repeat;
	background-position: 100% 100%;
}
*/

@media (max-width: 990px) {
	#osallistu form{
		background-position: 100% 70%;
	}
}

@media (max-width: 768px) {
	#osallistubtn{
		margin-top: 60px !important;
		margin-bottom: 10px !important;
		font-size: 2.9vw;
	}
	#osallistu form{
		background-position: 100% 88%;
	}

}



#vinkkaakaverille .valiotsikko{
  font-size: 26px;
  color: #15aa11;
}
.teksti {
  font-size: 1.2rem;
  color: #333;
}


@media (max-width: 1200px) {
  .header-kuva {
    min-width: 100%;
    background-size: 100% auto;

  }
}

@media (max-width: 740px) {
  .header-kuva {
  }
}

.checkit {
   border-radius: 15px;
   border: solid 10px #91502e;
   background: #FFF;
   padding: 20px;
   width: 95%;
   margin-top: 20px;
   margin-bottom: 40px;
	position: relative;
	top: 0;
	right: 0;
}

.checkit::after{
	background: url(../gfx/orava_150x150.png);
	background-size: 100% auto;
	position: absolute;
	bottom: 0px;
	right: 0;
	content: " ";
	width: 150px;
	height: 150px;
	z-index: 5;
}

.label-text{
	color: #333;
	position: relative;
	left: 0;
	top: 0;
	z-index: 10;
	text-shadow: 1px 1px 2px #FEFEFE, 0 0 1em #EFEFEF, 0 0 0.2em #DEDEDE;
}


.form-check{
	margin-bottom: 0px;
	
}


.saannojaehdot, .vinkit, .smstarjoukset {
	font-size: 1.5rem;
	color: #666;
	margin-top: 1rem;
	margin-bottom: 1rem;
	/* padding-left: 50px; */
}

input[type="checkbox"]:checked + .label-text::after {
	content: " ";
	background: url(../gfx/peukku-up-v2.png);
	left: -10px;
	bottom: 3px;
	position: absolute;
	width: 35px;
	height: 50px;
	background-size: 100% auto;
	background-repeat: no-repeat;
	animation: effect 250ms ease-in;
}

#mdlSaannot .modal-dialog, #mdlRekisteri .modal-dialog, #mdlPalkinto .modal-dialog{
  max-width: 80%;
}
@media (max-width: 767px) {
  #mdlSaannot .modal-dialog, #mdlRekisteri .modal-dialog, #mdlPalkinto .modal-dialog{
    max-width: 100%;
  }
}

#mdlKaverikutsu .modal-dialog {
  max-width: 800px;
}

.kaverikutsu {
  font-style: italic;
}

#lisaarvonnat, .kiitos {
  display: none;
}

#arvonta{
  background-size: auto 80%;
  background-position: right bottom;
}



.kiitos{
  margin-bottom: 40px;
}
.kiitos .card-block {
  padding: 20px;
  height: 435px;
}
@media (max-width: 580px) {
  .kiitos .card-block {
    height: auto;
  }
}
@media (min-width: 580px) and (max-width: 798px) {
  .kiitos .card-block {
    height: 450px;
  }
}
.kiitos .card-img-top {
  flex: 0 0 auto;
  border-radius: 15px 15px 0px 0px;
}
.kampanjakoodi-aktivoitu {
  display: none;
  font-size: 18px;
}

.lisaarvonta{
  margin-bottom: 20px;
  position: relative;
  left: 0;
  top: 0;
}
.kortti{
  position: absolute;
  border: 2px dashed #563b30;
  border-radius: 10px;
  padding: 20px;
  z-index: 1000;
  background: #85deff;
  width: 100%;
  left: 0;
  top: 0;
  color: #004d6a;
}
.kortti .valiotsikko{
  color: #004d6a;
}
.kortti a.jaasosiaaliseen{
  color: #ffffff;
}
.kortti .sulje{
  float: right;
  margin-left: 20px;
}
.card{
  background: rgba(255,255,255,0.25);
  border-radius: 15px 15px 0px 0px;
    box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
}

.card .kuvaus{
	font-style: italic;
}
/* newstyle */
.btn-xicon{
	width: 32px;
	height: 32px;
	background: url(../gfx/xlogo-black.png);
	background-size: 100% 100%;
	display: block;
}