/* cmsms stylesheet: BXSlider modified: 06/20/19 15:18:36 */
/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
	position: relative;
	margin: 0 auto 0px;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
        width:100%;
}

ul.bxslider {
  margin: 0;
  padding: 0;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	left: 0px;
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
    	-ms-transform: translatez(0);
    	-o-transform: translatez(0);
    	transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: -30px;
	width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(../../images/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
	padding-top: 0px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #FFF;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 10px;
	background: url(../../images/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
	right: 10px;
	background: url(../../images/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(../../images/controls.png) -86px -11px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(../../images/controls.png) -86px -44px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #666\9;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
}

.bx-wrapper .bx-caption span {
	color: #fff;
	font-family: Arial;
	display: block;
	font-size: .95em;
height:40px;
	padding: 5px;
}
/* cmsms stylesheet: TEDMEAT_HD modified: 03/30/22 14:37:34 */
@media only screen and (min-width: 1200px) {

.slideshowmob  {
        display:none;
}

#clear  {
        clear:both;
}

ul {
    list-style-image: url(../../images/bullet.png);
}


hr {
    display: block;
    height: 1px;
    border: 0;
        border-top-color: currentcolor;
        border-top-style: none;
        border-top-width: 0px;
    border-top: 1px solid #8d8d8d;
    color: #64925b;
    width: auto;

}

a.anchor0 {
    display: block;
    position: relative;
    top: -310px;
    visibility: hidden;
}



a.anchor {
    display: block;
    position: relative;
    top: -110px;
    visibility: hidden;
}


a.anchor2 {
    display: block;
    position: relative;
    top: -250px;
    visibility: hidden;
}

a.anchor3 {
    display: block;
    position: relative;
    top: -158px;
    visibility: hidden;
}



h1 {
        

    	font-family: 'Racing Sans One', cursive;
    	font-size: 40px;
   	color: #fff;
   	text-shadow: -1px 1px 7px #000;
}

h2 {
        font-family: 'Source Sans Pro', serif;
   	font-size: 30px;
   	color: #555555;
}

h3 {
        font-family: 'Source Sans Pro', serif;
   	font-size: 35px;
   	color: #7a7a7a;
        margin-bottom: 13px;
}

h4 {
        font-family: 'Source Sans Pro', serif;
   	font-size: 2.0vw;
   	color: #9b9b9b;
}

a {
        font-family: 'Open Sans Condensed', serif;
   	font-size: 23px;
   	color: #00045d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
        

   	font-family: 'Open Sans Condensed', sans-serif;
   	font-size: 22px;
   	color: #252b50;

}

body {

	margin:0px auto;
}


#main {

	top:0px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
        line-height: 1.5;
    	/* background-color: rgba(64, 64, 64, 1.0); */
        overflow: hidden;

}

#lang {
/* 
	display:none;
*/
	position:absolute;
	top:25px;
	width: 100px;
        text-align:right;
        right:10px;
	z-index: 1002;


}



#adcontainer {
	position:relative;
	width:100%;
	height:95px;
	background-color: rgba(255, 255, 255, 1.0);  
   	top: 0px;
   	margin:auto;
   	left: 0;
   	right: 0;
   	border-bottom: 3px solid #d40000;
	z-index: 1001;
	text-align: center;

}

#topcontainer {
	position:relative;
	width:100%;
	height:75px;
	background-color: rgba(0, 0, 0, 0.95);  
   	top: 0px;
   	margin:auto;
   	left: 0;
   	right: 0;
   	border-bottom: 3px solid #d40000;
	z-index: 1001;

}


#top {
	position:relative;
	width:85%;
	height:100%;
	margin-left: auto;
	margin-right: auto;
}

#menu {
	position:relative;
	float:right;
	line-height: 74px;

}






#topcontainer_scroll {
	position:fixed;
	width:100%;
	height:75px;
	background-color: rgba(0, 0, 0, 0.95);  
   	top: 0px;
   	margin:auto;
   	left: 0;
   	right: 0;
   	border-bottom: 3px solid #d40000;
	z-index: 1001;
	display:none;



}


#top_scroll {
	position:relative;
	width:85%;
	height:100%;
	margin-left: auto;
	margin-right: auto;
}

#menu_scroll {
	position:relative;
	line-height: 74px;
	float:right;
}



.logocontainer {
	position: absolute;
	width: 250px;
	top:25%;

}


.logocontainer_mob

{
	display:none;

}

.logo {
	position:relative;
	float:left;
	width:100%;
	z-index: 1002;
}

.logo img {
	max-width: 100%; 
	min-width: 100%;
      border-style: none; 
}


.captionbg {
        z-index: 10;
        position: absolute;
        top: -17px;
        width:30%;
        height: 104%;
        background-color: rgba(0, 0, 0, 0.6);

}

.caption {
        z-index: 1;
        font-family: 'Racing Sans One', cursive;
        position: absolute;
        top: 30%;
        float: left;
        left: 23%;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.2;
        background-color: rgba(240, 240, 240, 0.0);
        padding-left: 15px;
        padding-right: 10px;
        color: #dfdfdf;
        font-size: 23px;
        text-align: left;
        border-radius: 3%;

   	text-shadow: -1px 1px 7px #000;
}


#social img {
        opacity: 1.0;
	max-width: 35px; 
	min-width: 35px;
        border-style: none; 
        animation: none;


}

#social img:hover {
        opacity: 1.0;
	max-width: 35px; 
	min-width: 35px;
        border-style: none; 
        animation: none;
        filter: grayscale(0.0);

}







.slideshow {
	position:relative;
	width:100%;
	top:0px;
	max-height: 100vh;
	min-height: 553px;
	margin-bottom: -25px;
}

.slideshow_video {
	position:relative;
	width:100%;
	top:-0px;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	background-color: #2c2c2c;

}





.slideshow_video iframe {
	max-width: 60%;
	min-width: 60%;
	max-height: 80vh;
	min-height: 80px;
} 



.slideshow_alasivut {
	position:fixed;
	width:100%;
	top:0px;
	max-height: 100vh;
	min-height: 553px;
}




.slideshow img {
	max-width: 110%; 
	min-width: 110%;
	height: auto;
        border-style: none; 
        animation: 20s forwards 0.5s 1 ZoomImage;

}


.slideshow_alasivut img {
	max-width: 100%; 
	min-width: 100%;
	height: auto;
        border-style: none; 
        animation: 20s forwards 0.5s 1 ZoomImage;

}

@keyframes ZoomImage{
  0% {
    -webkit-transform: scale(1.00);
    transform: scale(1.00);
  }
  100% {
   -webkit-transform: scale(1.2);
   transform: scale(1.2);
  }
}





.laatikot {
	position:relative;
	width:100%;
	top:0px; 
	background-color: #e3e3e3;
	overflow: auto;
}

.laatikkocontainer {
	position:relative;
        top:0px;
	width:100%;
        margin: 0 auto; 
        font-family: 'Open Sans Condensed', serif;
        font-size: 19px;
        margin: -20px;
}

.laatikko1 {
position:relative;
	width:45%;
	float:left;
	margin-left:1%;
	margin-right:1%;
}


.laatikko1_contact {
position:relative;
	width:60%;
	float:left;
	margin-left:0%;
	margin-right:0%;
}


.laatikko1_contact p {

        padding:0px;
        margin: 0px;
}


.laatikko2 {
position:relative;
	width:35%;
	float:right;
	margin-left:0%;
	margin-right:0%;
	padding: 2%;

}





#CONTENTCONTAINER {
	position:relative;
	top:-25px; 

}







#sisalto1{
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
        background-image: url("../../images/grand_prix_2.jpg");
        background-position: bottom;
        background-attachment: fixed;
        z-index: 11;
}

#sisalto1container {
	position:relative;
	width:100%;
	overflow: auto;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#fff;
        font-size: 1vw;
        font-weight: bold;
        line-height: 1.2;
        text-align: center;
}


#sisalto1content {
	position:relative;
	margin:auto;
	width: 75%;
	height: 23vh;
	padding-left: 2%;
	padding-right: 2%;
        padding-top:48px;
        padding-bottom:18px;
        background-color: rgb(179, 74, 74, 0.00);

}

#sisalto1container a

{
    	font-family: 'Open Sans Condensed', sans-serif;
    	font-size: 17px;
   	color: #cfcfcf;
   	text-shadow: 0px 0px 18px #000;

}

#sisalto1container h1

{
    	font-family: 'Open Sans Condensed', sans-serif;
    	font-size: 27px;
   	color: #d8d8d8;
   	text-shadow: 0px 0px 18px #000;

}

#sisalto1content h1

{
    	    	font-family: 'Racing Sans One', cursive;
    	font-size: 60px;
   	color: #fff;
   	text-shadow: -1px 1px 7px #000;
}

#sisalto1content1 {
	position:relative;
	float:left;
	width:21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.90);



border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content2 {
	position:relative;
	float:left;
	width: 21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content3 {
	position:relative;
	float:left;
	width: 21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}




#sisalto1content4 {
	position:relative;
	float:left;
	width: 21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content5 {
	position:relative;
	float:left;
	width: 21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content6 {
	position:relative;
	float:left;
	width: 21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto2 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #FFF; 
}

#sisalto2container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
}

#sisalto2content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:15px;
        padding-bottom:35px;
}



#sisalto3 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #000; 
}

#sisalto3container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#fff;
}

#sisalto3content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:5px;
        padding-bottom:5px;
}


#sisalto4 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #fff; 
}

#sisalto4container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#000;
}

#sisalto4content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:5px;
        padding-bottom:5px;
}


#sisalto5 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #000; 
}

#sisalto5container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#fff;
}

#sisalto5content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:5px;
        padding-bottom:5px;
}


#sisalto5content img {
        opacity: 1.0;
	max-width: 30%; 
	min-width: 30%;
        border-style: none; 

}

#sisalto5content img:hover {
        opacity: 0.8;

}

.laatikko1_contact img {
	width: 100%; 
	height: auto;
        border-style: none; 

}

.laatikko2 img {
	width: 35%; 
	height: auto;
        border-style: none; 

}


.wide1 {
     position:relative;
     top:0px;
     background-image: url("../../images/wide1.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 23vw;
     width: 100%;
     margin-left: auto;
     z-index: 100;

}

#wide2 {
     position:relative;
     top:50px;
     background-image: url("../../images/wide2.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;
     margin-bottom: 0px;
}


#wide3 {
     position:relative;
     top:0px;
     background-image: url("../../images/wide3.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;
     margin-bottom: 0px;
}



#wide4 {
     position:relative;
     top:50px;
     background-image: url("../../images/wide4.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;

}


#wide_content1 {
     position:relative;
     top:0px;
     background-image: url("../../images/wide1.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;

}

#wide_myllytalon_vaki {
     position:relative;
     top:0px;
     background-image: url("../../images/vaki_wide.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 44vw;
     width: 100%;
     margin-left: auto;

}




#bottom {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #000; 
        font-family: 'Open Sans Condensed', serif;
    	color: #fff;
    	margin-bottom: 43px;
}


#bottomcontainer {
	position:relative;
	width:75%;
       margin: 0 auto;
       text-align:center;
}

#bottom1 {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
	line-height: 4;
}



#bottom a

{
    	font-family: 'Open Sans Condensed', sans-serif;
    	font-size: 16px;
   	color: #fff;


}




li.icon {
display:none;
}




iframe {

    border:0;


  }

/* ------------------------- */
/* CONTACT FORM STUFF STARTS */
/* ------------------------- */

td.website, td.website * {
  display: none !important;
}

td {

}

input {
    width: 70%;
}

textarea {
    width: 70%;
}

table {
     width: 100%;
}

input[type=button], input[type=submit], input[type=reset] {
    background-color: #fff;
    border: none;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
}

/* ----------------------- */
/* CONTACT FORM STUFF ENDS */
/* ----------------------- */




#tjdesign {
        clear:both;
        width: 100%;
        padding-top:0px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        padding-bottom: 2px;
}



#tjdesign a {

        font-family: 'Lato', sans-serif;
        color: #999;
        font-size: 12px;

}


.subcontentcontainer {
	clear: both;
	position:absolute;
	width:100%;
        z-index: 3;
   	font-size: 17px;
        font-family: 'Open Sans Condensed', sans-serif;
        background-color: rgba(255, 255, 255, 1.0);
}



.subcontent  h1

{
    	font-family: 'Open Sans Condensed', cursive;
    	font-size: 25px;
   	color: #5f5f5f;
   	text-shadow: 0px 0px 0px #000;

}




.subcontent{
	clear: both;
	position:relative;
	width:40%;
        z-index: 4;
        margin:auto;
        padding: 51px;
        margin-bottom:50px
   	font-size: 17px;
        font-family: 'Open Sans Condensed', sans-serif;

}


.subcontent strong {
        

   	font-family: 'Open Sans Condensed', sans-serif;
   	font-size: 17px;
   	color: #252b50;

}

.subcontent iframe {
	max-width: 100%;
	min-width: 100%;
	max-height: 80vh;
	min-height: 80px;
} 


.subcontent a

{
   	font-family: 'Open Sans Condensed', sans-serif;
   	font-size: 19px;
   	color: #0024ff;
}

.subcontent img {
	max-width: 100%; 
	min-width: 100%;
	height: auto;
        border-style: none; 
}

.CGBlogSummary {
	background-color: rgb(241, 241, 241);
	padding-left: 12px;
	padding-right: 12px;
	padding-bottom: 13px;
	padding-top: 0px;
	border-top: 1px solid#d40000;
	border-bottom: 1px solid#d40000;
	margin-top: 15px;


}

}
/* cmsms stylesheet: TEDMEAT_HD_MENU modified: 06/26/19 12:00:36 */
@media only screen and (min-width: 1200px) {


.topnav li.icon {
display:none;
}

.topnav .unli {
display:none;
}

.topnav
{
margin: 0;
text-align: center;

}

.topnav ul, .topnav li
{
margin: 0;
padding: 0;
display: inline;
list-style-type: none;
}

.topnav a:link, .topnav a:visited
{
font-size: 21px;
font-family: "Oswald",Arial,Helvetica,sans-serif;
margin: 0 10px 0px 10px;
text-decoration: none;
color: #fff;
padding-left: 20px;
}

.topnav a:link#current, .topnav a:visited#current, .topnav a:hover
{
background: transparent;
}

.topnav a:hover 
{ 
color: darkgray; 
}





}
/* cmsms stylesheet: TEDMEAT_MOB modified: 03/30/22 14:55:01 */
@media only screen and (max-width: 799px) {


.slideshowmob  {
        display:none;
}

#clear  {
        clear:both;
}

ul {
    list-style-image: url(../../images/bullet.png);
}


p {

        padding:0px;
        margin: 0px;
}

hr {
    display: block;
    height: 1px;
    border: 0;
        border-top-color: currentcolor;
        border-top-style: none;
        border-top-width: 0px;
    border-top: 1px solid #8d8d8d;
    color: #64925b;
    width: auto;

}

a.anchor0 {
    display: block;
    position: relative;
    top: -310px;
    visibility: hidden;
}



a.anchor {
    display: block;
    position: relative;
    top: -110px;
    visibility: hidden;
}


a.anchor2 {
    display: block;
    position: relative;
    top: -300px;
    visibility: hidden;
}

a.anchor3 {
    display: block;
    position: relative;
    top: -144px;
    visibility: hidden;
}



h1 {
        

    	font-family: 'Racing Sans One', cursive;
    	font-size: 25px;
    	font-weight: 300;
   	color: #363636;
   	text-shadow: 0px 0px 0px #000;
}

h2 {
        font-family: 'Source Sans Pro', serif;
   	font-size: 20px;
   	color: #555555;
}

h3 {
        font-family: 'Source Sans Pro', serif;
   	font-size: 20px;
   	color: #7a7a7a;
        margin-bottom: 13px;
}

h4 {
        font-family: 'Source Sans Pro', serif;
   	font-size: 2.0vw;
   	color: #9b9b9b;
}

a {
        font-family: 'Open Sans Condensed', serif;
   	font-size: 17px;
   	color: #00045d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
        

   	font-family: 'Open Sans Condensed', sans-serif;
   	font-size: 17px;
   	color: #252b50;

}

body {

	margin:0px auto;
}


#main {

	top:0px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
        line-height: 1.5;
    	background-color: rgba(0, 0, 0, 1.0);
        overflow: hidden;

}

#lang {
 
	display:none;
/*

	position:absolute;
	top:25px;
	width: 100px;
        text-align:right;
        right:10px;
	z-index: 1002;
*/

}

#topcontainer {
	position:fixed;
	width:100%;

	background-color: #000;
    /*  background-color: rgba(255, 255, 255, 0.95);  */
   	top: 0px;
   	margin:auto;
   	left: 0;
   	right: 0;
   	border-top: 3px solid #d40000;
	z-index: 1001;

}


#adcontainer {
	position:relative;
	width:100%;

	background-color: rgba(255, 255, 255, 1.0);  
   	top: 89px;
   	margin:auto;
   	left: 0;
   	right: 0;
   	border-bottom: 3px solid #d40000;
	z-index: 1001;
	text-align: center;

}


.slideshow_video {
	position:relative;
	width:100%;
	top:-0px;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	background-color: #2c2c2c;

}

iframe {
	max-width: 100%;
	min-width: 100%;
	max-height: 60vh;
	min-height: 60px;
} 

#top {
	position:relative;
	width:100%;
	height:100%;
	margin-left: auto;
	margin-right: auto;
}

#menu {
	position:relative;
	float:right;
	line-height: 10px;
	width: 100%;
}






#topcontainer_scroll {

	display:none;


}


#top_scroll {
		display:none;
}

#menu_scroll {
		display:none;
}



.logocontainer {
	position: relative;
	width: 100%;
	top:2%;

}


.logocontainer_mob

{
	display:none;

}

.logo {
	position:relative;
	float:left;
	width:100%;
	z-index: 1002;
	text-align: center;
}

.logo img {
	max-width: 256px; 
	min-width: 256px;
      border-style: none; 
}


.captionbg {
        z-index: 10;
        position: relative;
        top: 0px;
        width: 100%;


}

.caption {
        z-index: 1;
        font-family: 'Racing Sans One', cursive;
        position: relative;
        top: 70%;
        float: left;
        left: 3%;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.2;
        background-color: rgba(240, 240, 240, 0.0);
        padding-left: 15px;
        padding-right: 10px;
        padding-bottom: 30px;
        color: #464646;
        font-size: 17px;
        text-align: left;
        border-radius: 3%;

}


.caption p {

        margin-bottom: 10px;
        margin-top: 10px;
}

.laatikko2 p {

        margin-bottom: 13px;
        margin-top: 13px;
}


#sisalto1container p {

        margin-bottom: 13px;
        margin-top: 13px;
}


#social img {
        opacity: 1.0;
	max-width: 25px; 
	min-width: 25px;
        border-style: none; 
        animation: none;


}

#social img:hover {
        opacity: 1.0;

        border-style: none; 
        animation: none;
        filter: grayscale(0.0);

}





.captionbg_yhteys {
        z-index: 10;
        position: absolute;
        top: -1px;
        width: 70%;
        height: 100%;
        background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9),rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2), rgba(238, 235, 235, 0));

}

.caption_yhteys {
        z-index: 1;
        font-family: 'Open Sans Condensed', serif;
        position: absolute;
        top: 150px;
        float: left;
        left: 5%;
        width: 41%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.2;
        background-color: rgba(240, 240, 240, 0.0);
        padding-left: 15px;
        padding-right: 10px;
        color: #910000;
        font-size: 25px;
        text-align: left;
        border-radius: 3%;

}


.slideshow {
	position:relative;
	width:100%;
	top:0px;


}




.slideshow_alasivut {
	position:fixed;
	width:100%;
	top:0px;
	max-height: 100vh;
	min-height: 553px;
	top:90px; 
}




.slideshow img {
	max-width: 120%; 
	min-width: 120%;
        height: auto;
        border-style: none; 
        /* animation: 20s forwards 0.5s 1 ZoomImage; */

}




.slideshow_alasivut img {
	max-width: 100%; 
	min-width: 100%;
	height: auto;
        border-style: none; 
        /* animation: 20s forwards 0.5s 1 ZoomImage; */

}

@keyframes ZoomImage{
  0% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  100% {
   -webkit-transform: scale(1.2);
   transform: scale(1.2);
  }
}





.laatikot {
	position:relative;
	width:100%;
	top:0px; 
	background-color: #e3e3e3;
	overflow: auto;
}

.laatikkocontainer {
	position:relative;
        top:0px;
	width:100%;
        margin: 0 auto; 
        font-family: 'Open Sans Condensed', serif;
        font-size: 17px;

}

.laatikko1 {
position:relative;
	width:100%;
	float:left;
	margin-left:1%;
	margin-right:1%;
}


.laatikko1_contact {
position:relative;
	width:100%;
	float:left;
	margin-left:0%;
	margin-right:0%;
}


.laatikko1_contact p {

        padding:0px;
        margin: 0px;
}


.laatikko2 {
position:relative;
	width:85%;
	float:right;
	margin-left:0%;
	margin-right:0%;
	padding: 2%;

}





#CONTENTCONTAINER {
	position:relative;
	top:90px; 
	background-color: #fff;

}







#sisalto1{
	clear: both;
	position:relative;
	width:100%;
	top:-10px; 
        background-image: url("../../images/grand_prix_2.jpg");
        background-position: bottom;
        background-attachment: fixed;
        z-index: 3;
        margin-bottom: -10px;
}

#sisalto1container {
	position:relative;
	width:100%;
	overflow: auto;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#fff;
        font-size: 17px;
        font-weight: bold;
        line-height: 1.2;

}


#sisalto1content {
	position:relative;
	margin:auto;
	width: 75%;

	padding-left: 2%;
	padding-right: 2%;
        padding-top:0px;
        padding-bottom:18px;
        background-color: rgb(179, 74, 74, 0.00);

}

#sisalto1container a

{
    	font-family: 'Open Sans Condensed', sans-serif;
    	font-size: 17px;
   	color: #cfcfcf;
   	text-shadow: 0px 0px 18px #000;

}

#sisalto1container h1

{
    	font-family: 'Open Sans Condensed', sans-serif;
    	font-size: 22px;
   	color: #d8d8d8;
   	text-shadow: 0px 0px 18px #000;

}

#sisalto1content h1

{
    	font-family: 'Racing Sans One', cursive;
    	font-size: 12.0vw;
   	color: #fff;
   	text-shadow: 0px 0px 18px #000;

}

#sisalto1content1 {
	position:relative;
	float:left;
	width: 86%;
	height: 26vh;
	min-height: 200px;
	padding-left: 7%;
	padding-right: 7%;
        padding-top:27px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.90);



border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content2 {
	position:relative;
	float:left;
	width:86%;
	height: 26vh;
	min-height: 200px;
	padding-left: 7%;
	padding-right: 7%;
        padding-top:27px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content3 {
	position:relative;
	float:left;
	width:86%;
	height: 26vh;
	min-height: 200px;
	padding-left: 7%;
	padding-right: 7%;
        padding-top:27px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}




#sisalto1content4 {
	position:relative;
	float:left;
	width: 86%;
	height: 26vh;
	min-height: 200px;
	padding-left: 7%;
	padding-right: 7%;
        padding-top:27px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content5 {
	position:relative;
	float:left;
	width: 86%;
	height: 26vh;
	min-height: 200px;
	padding-left: 7%;
	padding-right: 7%;
        padding-top:27px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content6 {
	position:relative;
	float:left;
	width:86%;
	height: 26vh;
	min-height: 200px;
	padding-left: 7%;
	padding-right: 7%;
        padding-top:27px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto2 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #FFF; 
}

#sisalto2container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
}

#sisalto2content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:15px;
        padding-bottom:35px;
}



#sisalto3 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #000; 
}

#sisalto3container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#fff;
}

#sisalto3content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:5px;
        padding-bottom:5px;
}


#sisalto4 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #fff; 
}

#sisalto4container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#000;
}

#sisalto4content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:5px;
        padding-bottom:5px;
}


#sisalto5 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #000; 
}

#sisalto5container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#fff;
}

#sisalto5content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:5px;
        padding-bottom:5px;
}


#sisalto5content img {
        opacity: 1.0;
	max-width: 30%; 
	min-width: 30%;
        border-style: none; 

}

#sisalto5content img:hover {
        opacity: 0.8;

}

.laatikko1_contact img {
	width: 100%; 
	height: auto;
        border-style: none; 

}

.laatikko2 img {
	width: 50%; 
	height: auto;
        border-style: none; 

}


.wide1 {
     display:none;


}

#wide2 {
     position:relative;
     top:50px;
     background-image: url("../../images/wide2.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;
     margin-bottom: 0px;
}


#wide3 {
     position:relative;
     top:0px;
     background-image: url("../../images/wide3.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;
     margin-bottom: 0px;
}



#wide4 {
     position:relative;
     top:50px;
     background-image: url("../../images/wide4.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;

}


#wide_content1 {
     position:relative;
     top:0px;
     background-image: url("../../images/wide1.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;

}

#wide_myllytalon_vaki {
     position:relative;
     top:0px;
     background-image: url("../../images/vaki_wide.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 44vw;
     width: 100%;
     margin-left: auto;

}




#bottom {
	clear: both;
	position:relative;
        width:100%;
        margin-top:65px; 
        background-color: #000; 
        font-family: 'Open Sans Condensed', serif;
    	color: #fff;
    	margin-bottom: 43px;
}


#bottomcontainer {
	position:relative;
	width:75%;
       margin: 0 auto;
       text-align:center;
margin-top: 112px;
}

#bottom1 {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;

}



#bottom a

{
    	font-family: 'Open Sans Condensed', sans-serif;
    	font-size: 17px;
   	color: #fff;


}




li.icon {
display:none;
}




iframe {

    border:0;


  }

/* ------------------------- */
/* CONTACT FORM STUFF STARTS */
/* ------------------------- */

td.website, td.website * {
  display: none !important;
}

td {

}

input {
    width: 70%;
}

textarea {
    width: 70%;
}

table {
     width: 100%;
}

input[type=button], input[type=submit], input[type=reset] {
    background-color: #fff;
    border: none;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
}

/* ----------------------- */
/* CONTACT FORM STUFF ENDS */
/* ----------------------- */




#tjdesign {
        clear:both;
        width: 100%;
        padding-top:0px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        padding-bottom: 2px;
}



#tjdesign a {

        font-family: 'Lato', sans-serif;
        color: #999;
        font-size: 12px;

}


.subcontentcontainer {
	clear: both;
	position:absolute;	
width:100%;
	top:120px; 
        z-index: 3;
   	font-size: 17px;
        font-family: 'Open Sans Condensed', sans-serif;
       background-color: rgba(255, 255, 255, 1.0);
}


.subcontent{
	clear: both;
	position:relative;
	width:85%;
        z-index: 4;
        margin:auto;
        margin-bottom:50px
   	font-size: 17px;
        font-family: 'Open Sans Condensed', sans-serif;


}


.subcontent strong {
        

   	font-family: 'Open Sans Condensed', sans-serif;
   	font-size: 17px;
   	color: #252b50;

}


.subcontent h1 {
        

    	font-family: 'Open Sans Condensed', cursive;
    	font-size: 25px;
    	font-weight: 300;
   	color: #000;
   	text-shadow: 0px 0px 0px #000;
}

.subcontent a

{
   	font-family: 'Open Sans Condensed', sans-serif;
   	font-size: 17px;
   	color: #0024ff;
}

.subcontent img {
	max-width: 100%; 
	min-width: 100%;
	height: auto;
        border-style: none; 
}

.CGBlogSummary {
	background-color: rgb(241, 241, 241);
	padding-left: 12px;
	padding-right: 12px;
	padding-bottom: 13px;
	padding-top: 0px;
	border-top: 1px solid#d40000;
	border-bottom: 1px solid#d40000;
	margin-top: 15px;


}


}
/* cmsms stylesheet: TEDMEAT_MOB_MENU modified: 06/27/19 13:24:19 */
@media only screen and (max-width: 799px) {


 /* Remove margins and padding from the list, and add a black background color */
ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

/* Float the list items side by side */
ul.topnav li {float: left;}

/* Style the links inside the list items */
ul.topnav li a {
    display: inline-block;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of links on hover */
ul.topnav li a:hover {background-color: #91a3cb;}

/* Hide the list item that contains the link that should open and close the topnav on small screens */
ul.topnav li.icon {display: none;}

/* Hide all list items, except for the first one ("Home"). Show the list item that contains the link to open and close the topnav (li.icon) */
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;
  }

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens */
  ul.topnav.responsive {position: relative;}
  ul.topnav li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
  }




}
/* cmsms stylesheet: TEDMEAT_SD modified: 03/30/22 14:47:12 */
@media only screen and (max-width: 1199px) and (min-width: 800px) {


.slideshowmob  {
        display:none;
}

#clear  {
        clear:both;
}

ul {
    list-style-image: url(../../images/bullet.png);
}


hr {
    display: block;
    height: 1px;
    border: 0;
        border-top-color: currentcolor;
        border-top-style: none;
        border-top-width: 0px;
    border-top: 1px solid #8d8d8d;
    color: #64925b;
    width: auto;

}

a.anchor0 {
    display: block;
    position: relative;
    top: -310px;
    visibility: hidden;
}



a.anchor {
    display: block;
    position: relative;
    top: -110px;
    visibility: hidden;
}


a.anchor2 {
    display: block;
    position: relative;
    top: -250px;
    visibility: hidden;
}

a.anchor3 {
    display: block;
    position: relative;
    top: -158px;
    visibility: hidden;
}



h1 {
        

    	font-family: 'Racing Sans One', cursive;
    	font-size: 40px;
   	color: #fff;
   	text-shadow: -1px 1px 7px #000;
}

h2 {
        font-family: 'Source Sans Pro', serif;
   	font-size: 30px;
   	color: #555555;
}

h3 {
        font-family: 'Source Sans Pro', serif;
   	font-size: 35px;
   	color: #7a7a7a;
        margin-bottom: 13px;
}

h4 {
        font-family: 'Source Sans Pro', serif;
   	font-size: 2.0vw;
   	color: #9b9b9b;
}

a {
        font-family: 'Open Sans Condensed', serif;
   	font-size: 23px;
   	color: #00045d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
        

   	font-family: 'Open Sans Condensed', sans-serif;
   	font-size: 22px;
   	color: #252b50;

}

body {

	margin:0px auto;
}


#main {

	top:0px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
        line-height: 1.5;
    	/* background-color: rgba(64, 64, 64, 1.0); */
        overflow: hidden;

}

#lang {
/* 
	display:none;
*/
	position:absolute;
	top:25px;
	width: 100px;
        text-align:right;
        right:10px;
	z-index: 1002;


}

#adcontainer {
	position:relative;
	width:100%;
	height:95px;
	background-color: rgba(255, 255, 255, 1.0); 
   	top: 0px;
   	margin:auto;
   	left: 0;
   	right: 0;
   	border-bottom: 3px solid #d40000;
	z-index: 1001;
	text-align: center;

}

#topcontainer {
	position:relative;
	width:100%;
	height:75px;
	background-color: rgba(0, 0, 0, 0.95);  
   	top: 0px;
   	margin:auto;
   	left: 0;
   	right: 0;
   	border-bottom: 3px solid #d40000;
	z-index: 1001;

}


#top {
	position:relative;
	width:85%;
	height:100%;
	margin-left: auto;
	margin-right: auto;
}

#menu {
	position:relative;
	float:right;
	line-height: 74px;

}






#topcontainer_scroll {
	position:fixed;
	width:100%;
	height:75px;
	background-color: rgba(0, 0, 0, 0.95);  
   	top: 0px;
   	margin:auto;
   	left: 0;
   	right: 0;
   	border-bottom: 3px solid #d40000;
	z-index: 1001;
	display:none;



}


#top_scroll {
	position:relative;
	width:85%;
	height:100%;
	margin-left: auto;
	margin-right: auto;
}

#menu_scroll {
	position:relative;
	line-height: 74px;
	float:right;
}



.logocontainer {
	position: absolute;
	width: 250px;
	top:25%;

}


.logocontainer_mob

{
	display:none;

}

.logo {
	position:relative;
	float:left;
	width:100%;
	z-index: 1002;
}

.logo img {
	max-width: 100%; 
	min-width: 100%;
      border-style: none; 
}


.captionbg {
        z-index: 10;
        position: absolute;
        top: -17px;
        width:45%;
        height: 104%;
        background-color: rgba(0, 0, 0, 0.6);

}

.caption {
        z-index: 1;
        font-family: 'Racing Sans One', cursive;
        position: absolute;
        top: 117px;
        float: left;
        left: 23%;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.2;
        background-color: rgba(240, 240, 240, 0.0);
        padding-left: 15px;
        padding-right: 10px;
        color: #dfdfdf;
        font-size: 18px;
        text-align: left;
        border-radius: 3%;

   	text-shadow: -1px 1px 7px #000;
}


#social img {
        opacity: 1.0;
	max-width: 35px; 
	min-width: 35px;
        border-style: none; 
        animation: none;


}

#social img:hover {
        opacity: 1.0;
	max-width: 35px; 
	min-width: 35px;
        border-style: none; 
        animation: none;
        filter: grayscale(0.0);

}



.slideshow {
	position:relative;
	width:100%;
	top:0px;
	max-height: 100vh;
	min-height: 450px;
	margin-bottom: -25px;
}

.slideshow_video {
	position:relative;
	width:100%;
	top:-0px;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	background-color: #2c2c2c;

}

iframe {
	max-width: 80%;
	min-width: 80%;
	max-height: 80vh;
	min-height: 80px;
} 



.slideshow_alasivut {
	position:fixed;
	width:100%;
	top:0px;
	max-height: 100vh;
	min-height: 553px;
}




.slideshow img {
	max-width: 120%; 
	min-width: 120%;
	height: auto;
        border-style: none; 
        animation: 20s forwards 0.5s 1 ZoomImage;

}


.slideshow_alasivut img {
	max-width: 100%; 
	min-width: 100%;
	height: auto;
        border-style: none; 
        animation: 20s forwards 0.5s 1 ZoomImage;

}

@keyframes ZoomImage{
  0% {
    -webkit-transform: scale(1.20);
    transform: scale(1.20);
  }
  100% {
   -webkit-transform: scale(1.4);
   transform: scale(1.4);
  }
}





.laatikot {
	position:relative;
	width:100%;
	top:0px; 
	background-color: #e3e3e3;
	overflow: auto;
}

.laatikkocontainer {
	position:relative;
        top:0px;
	width:100%;
        margin: 0 auto; 
        font-family: 'Open Sans Condensed', serif;
        font-size: 19px;
        margin: -20px;
}

.laatikko1 {
position:relative;
	width:45%;
	float:left;
	margin-left:1%;
	margin-right:1%;
}


.laatikko1_contact {
position:relative;
	width:60%;
	float:left;
	margin-left:0%;
	margin-right:0%;
}


.laatikko1_contact p {

        padding:0px;
        margin: 0px;
}


.laatikko2 {
position:relative;
	width:35%;
	float:right;
	margin-left:0%;
	margin-right:0%;
	padding: 2%;

}





#CONTENTCONTAINER {
	position:relative;
	top:-20px; 

}







#sisalto1{
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
        background-image: url("../../images/grand_prix_2.jpg");
        background-position: bottom;
        background-attachment: fixed;
        z-index: 11;
}

#sisalto1container {
	position:relative;
	width:100%;
	overflow: auto;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#fff;
        font-size: 1.6vw;
        font-weight: bold;
        line-height: 1.2;
        text-align: center;
}


#sisalto1content {
	position:relative;
	margin:auto;
	width: 75%;
	height: 23vh;
	padding-left: 2%;
	padding-right: 2%;
        padding-top:48px;
        padding-bottom:18px;
        background-color: rgb(179, 74, 74, 0.00);

}

#sisalto1container a

{
    	font-family: 'Open Sans Condensed', sans-serif;
    	font-size: 17px;
   	color: #cfcfcf;
   	text-shadow: 0px 0px 18px #000;

}

#sisalto1container h1

{
    	font-family: 'Open Sans Condensed', sans-serif;
    	font-size:  1.9vw;
   	color: #d8d8d8;
   	text-shadow: 0px 0px 18px #000;

}

#sisalto1content h1

{
    	    	font-family: 'Racing Sans One', cursive;
    	font-size: 60px;
   	color: #fff;
   	text-shadow: -1px 1px 7px #000;
}

#sisalto1content1 {
	position:relative;
	float:left;
	width:21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.90);



border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content2 {
	position:relative;
	float:left;
	width: 21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content3 {
	position:relative;
	float:left;
	width: 21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}




#sisalto1content4 {
	position:relative;
	float:left;
	width: 21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content5 {
	position:relative;
	float:left;
	width: 21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto1content6 {
	position:relative;
	float:left;
	width: 21.33%;
	height: 26vh;
	min-height: 200px;
	padding-left: 6%;
	padding-right: 6%;
        padding-top:15px;
        padding-bottom:15px;
        background-color: rgba(0, 0, 0, 0.9);

border: 0px solid rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 0 150px #253159;
   -moz-box-shadow: inset 0 0 150px #253159;
    -ms-box-shadow: inset 0 0 150px #253159;
        box-shadow: inset 0 0 150px #253159;
}


#sisalto2 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #FFF; 
}

#sisalto2container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
}

#sisalto2content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:15px;
        padding-bottom:35px;
}



#sisalto3 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #000; 
}

#sisalto3container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#fff;
}

#sisalto3content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:5px;
        padding-bottom:5px;
}


#sisalto4 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #fff; 
}

#sisalto4container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#000;
}

#sisalto4content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:5px;
        padding-bottom:5px;
}


#sisalto5 {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #000; 
}

#sisalto5container {
	position:relative;
	width:75%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        color:#fff;
}

#sisalto5content {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
        padding-top:5px;
        padding-bottom:5px;
}


#sisalto5content img {
        opacity: 1.0;
	max-width: 30%; 
	min-width: 30%;
        border-style: none; 

}

#sisalto5content img:hover {
        opacity: 0.8;

}

.laatikko1_contact img {
	width: 100%; 
	height: auto;
        border-style: none; 

}

.laatikko2 img {
	width: 35%; 
	height: auto;
        border-style: none; 

}


.wide1 {
     position:relative;
     top:0px;
     background-image: url("../../images/wide1.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 23vw;
     width: 100%;
     margin-left: auto;
     z-index: 100;

}

#wide2 {
     position:relative;
     top:50px;
     background-image: url("../../images/wide2.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;
     margin-bottom: 0px;
}


#wide3 {
     position:relative;
     top:0px;
     background-image: url("../../images/wide3.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;
     margin-bottom: 0px;
}



#wide4 {
     position:relative;
     top:50px;
     background-image: url("../../images/wide4.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;

}


#wide_content1 {
     position:relative;
     top:0px;
     background-image: url("../../images/wide1.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 400px;
     width: 100%;
     margin-left: auto;

}

#wide_myllytalon_vaki {
     position:relative;
     top:0px;
     background-image: url("../../images/vaki_wide.jpg");
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-size: 100%;
     height: 44vw;
     width: 100%;
     margin-left: auto;

}




#bottom {
	clear: both;
	position:relative;
	width:100%;
	top:0px; 
    	background-color: #000; 
        font-family: 'Open Sans Condensed', serif;
    	color: #fff;
    	margin-bottom: 43px;
}


#bottomcontainer {
	position:relative;
	width:75%;
       margin: 0 auto;
       text-align:center;
}

#bottom1 {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
	line-height: 4;
}



#bottom a

{
    	font-family: 'Open Sans Condensed', sans-serif;
    	font-size: 16px;
   	color: #fff;


}




li.icon {
display:none;
}




iframe {

    border:0;


  }

/* ------------------------- */
/* CONTACT FORM STUFF STARTS */
/* ------------------------- */

td.website, td.website * {
  display: none !important;
}

td {

}

input {
    width: 70%;
}

textarea {
    width: 70%;
}

table {
     width: 100%;
}

input[type=button], input[type=submit], input[type=reset] {
    background-color: #fff;
    border: none;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
}

/* ----------------------- */
/* CONTACT FORM STUFF ENDS */
/* ----------------------- */




#tjdesign {
        clear:both;
        width: 100%;
        padding-top:0px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        padding-bottom: 2px;
}



#tjdesign a {

        font-family: 'Lato', sans-serif;
        color: #999;
        font-size: 12px;

}


.subcontentcontainer {
	clear: both;
	position:absolute;
	width:100%;
        z-index: 3;
   	font-size: 17px;
        font-family: 'Open Sans Condensed', sans-serif;
        background-color: rgba(255, 255, 255, 1.0);
}


.subcontent  h1

{
    	font-family: 'Open Sans Condensed', cursive;
    	font-size: 25px;
   	color: #5f5f5f;
   	text-shadow: 0px 0px 0px #000;

}

.subcontent{
	clear: both;
	position:relative;
	width:70%;
        z-index: 4;
        margin:auto;
        padding: 51px;
        margin-bottom:50px
   	font-size: 17px;
        font-family: 'Open Sans Condensed', sans-serif;


}


.subcontent strong {
        

   	font-family: 'Open Sans Condensed', sans-serif;
   	font-size: 17px;
   	color: #252b50;

}

.subcontent iframe {
	max-width: 100%;
	min-width: 100%;
	max-height: 80vh;
	min-height: 80px;
} 


.subcontent a

{
   	font-family: 'Open Sans Condensed', sans-serif;
   	font-size: 19px;
   	color: #0024ff;
}

.subcontent img {
	max-width: 100%; 
	min-width: 100%;
	height: auto;
        border-style: none; 
}

.CGBlogSummary {
	background-color: rgb(241, 241, 241);
	padding-left: 12px;
	padding-right: 12px;
	padding-bottom: 13px;
	padding-top: 0px;
	border-top: 1px solid#d40000;
	border-bottom: 1px solid#d40000;
	margin-top: 15px;


}


}
/* cmsms stylesheet: TEDMEAT_SD_MENU modified: 06/26/19 12:01:52 */
@media only screen and (max-width: 1199px) and (min-width: 800px) {


.topnav li.icon {
display:none;
}

.topnav .unli {
display:none;
}

.topnav
{
margin: 0;
text-align: center;

}

.topnav ul, .topnav li
{
margin: 0;
padding: 0;
display: inline;
list-style-type: none;
}

.topnav a:link, .topnav a:visited
{
font-size: 1.7vw;
font-family: "Oswald",Arial,Helvetica,sans-serif;
margin: 0 0px 0px 10px;
text-decoration: none;
color: #fff;
padding-left: 20px;
}

.topnav a:link#current, .topnav a:visited#current, .topnav a:hover
{
background: transparent;
}

.topnav a:hover 
{ 
color: darkgray; 
}






}
