/*-----------------------------------------------------------------*/
/* 01. CSS RESET
/*-----------------------------------------------------------------*/
    html, body, div, span, object, iframe,
	h1, h2, h3, h4, h5, h6, p, blockquote, pre,
	abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
	small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
	fieldset, form, label, legend,
	table, caption, tbody, tfoot, thead, tr, th, td,
	article, aside, canvas, details, figcaption, figure,
	footer, header, hgroup, menu, nav, section, summary,
	time, mark, audio, video, a {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline;
		outline: 0px;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	article, aside, details, figcaption, figure,
	footer, header, hgroup, menu, nav, section {
		display: block;
	}

	html { 
		min-height: 100%;
		margin: 0;
		padding: 0;
	}

	img {
		max-width: 100%;
		height:auto;
		width: auto;
		vertical-align: middle;
		border: 0;
		-ms-interpolation-mode: bicubic;
	}

	input[type="text"],input[type="password"],input[type="email"], textarea, select {
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		font: inherit;
	}


/*-----------------------------------------------------------------*/
/* 02. Global styles
/*-----------------------------------------------------------------*/
	body{
		font-family: 'Lora', sans-serif;
		font-size: 18px;
		line-height: 24px;
		color: #3f4041;
	}

	body.preloader{
		visibility: hidden;
	}

	#jpreOverlay {
		background-color: #000000;
	}

	#jpreSlide{
		display: none;
	}

	#jpreLoader{
		width:50%;
		height:25px;
	}

	#jpreBar{
		border-top: 1px solid #aaa;
	}

	#jprePercentage {
		color:#aaa;
		font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
		text-align:center;
		font-size: 40px;
	}

	a{
		color: #505558;
		text-decoration: none;
		transition: all 180ms ease-in;
		-webkit-transition: all 180ms ease-in;
	}

	a:hover{
		color: #bb12b5;
		transition: all 180ms ease-in;
		-webkit-transition: all 180ms ease-in;
	}

	p{
		margin-bottom: 24px;
	}

	hr{
		background-color: #e1e9e9;
		display: block;
		height: 1px;
		border-color: #e1e9e9; 
		border: 0;
		padding: 0;
		margin-bottom: 11px;
	}

	section{
		padding: 75px 0 40px 0;
	}

	ul,
	ol{
		margin-left: 20px;
	}

	h1, h2, h3, h4, h5, h6{
		font-family: 'Montserrat';
		font-weight: 700;
		color: #010101;
		margin-bottom: 13px;
	}

	h1{
		font-size: 36px;
		line-height: 41px;
	}

	h2{
		font-size: 30px;
		line-height: 36px;
        padding: 1.25em 0 1em;
	}
    
    .loukomies-esittely h2 {
        padding: 0 0 1em;
    }

	h3{
		font-size: 24px;
		line-height: 29px;
	}

	h4{
		font-size: 20px;
		line-height: 26px;
	}

	h5{
		font-size: 18px;
		line-height: 24px;
	}

	h6{
		font-size: 16px;
		line-height: 17px;
	}

	.section_gray_body .dnd_section_content{
		background: #f4f4f4;
		padding: 55px 0;
	}

	.section_body_fullwidth .dnd_section_content .dnd_container{
		width: 100%;
	}

	input,select,textarea{
		border: 1px solid #d9d9d9;
		font-family: 'Lora', sans-serif;
		color: #939fa6;
		font-size: 14px;
		line-height: 26px;
		background: #fafcfc;
	}
    
    blockquote {
        
    font-size: 34px;
    line-height: 1.2em;
    color: #666;
    margin: 30px 0px;
    position: relative;
    
    }
    
      blockquote::before {
       
      content: "“";
    margin-left: -26px;
    top: -10px;
    font-size: 90px;
    position: absolute;
    color: #bb12b5;
    
          
      }
      
       blockquote::after {
       
    content: "”";
    margin-right: -43px;
    bottom: -62px;
    font-size: 90px;
    position: absolute;
    color: #bb12b5;
          
      }
      
      .bg-image-section-yhteys {
          
          background: url('//cdn2.hubspot.net/hubfs/442165/8-loukomies/Images/BG/loukomies-bg2_bw.jpg?t=1495088524579') no-repeat center top #fff; 
          background-size: cover;
      }
      
      .suosittelu-kuva {
          
          margin-bottom: 20px;
      }
    
    .suosittelu .cell-wrapper {
        
        padding: 20px 10%;
        box-sizing: border-box;
    }
    
    .lomakebg {
        
        padding: 55px 0px;
            background-repeat: no-repeat;
   background-size: initial;
    background-attachment: scroll;
    background-color: #66100f;
    background-position: left top;
    background-image: url('http://www.trainershouse.fi/wp-content/uploads/2014/05/headerBG.jpg');
    }
    
    .lomakebg .form-title {
        
        display: none;
    }
    
    .lomakebg * {
        
        color: #fff;    
        
    }
    
    .hs-menu-item {
        
        list-style: none;
        float: right;
    }
    
    .hs-menu-item a {
        
    color: #5a5a50;
    font-family: 'Montserrat';
    text-decoration: none;
    font-weight: 300;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    padding: 10px 30px;
    
    }
    
    .hs-menu-item a::after {
        
     content: "|";   
     font-family: 'Montserrat';
     font-size: 18px;
     color: #5a5a50;
     position: relative;
     right: -30px;
     top: 0px;
    }
    
    li.active a {
        
        color: #bb12b5;
    }
    
    
  


	input,
	select{
		padding: 8px 0 8px 20px;
		margin-bottom: 12px;
	}

	textarea{
		padding: 8px 0 8px 20px;
		margin-bottom: 36px;
	}

	button,
	input[type="submit"] {
		padding: 10px 20px;
		display: inline-block;
		cursor: pointer;
		border: 1px solid #056ab2;
		background: #056ab2;
		color: #fff;
		margin-bottom: 20px;
		line-height: 20px;
		font-size: 20px;
		
		font-weight: 300;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
	}

	button:hover,
	input[type="submit"]:hover{
		background: #115c6f;
	}

	.placeholder{
		color: #929292;
	}

	strong,
	.strong{
		font-weight: bold;
	}



	.italic{
		font-style: italic;
	}

	.highlighted,
	.search-highlight{
		background: #f1eb3c;
		display: inline-block;
		padding: 0 3px;
	}

	.alignleft{
		float: left;
		margin-right: 30px;
	}

	.alignright{
		float: right;
		margin-left: 30px;
	}

	.color_highlight{
		color: #056ab2;
	}

	.bold{
		font-weight: 700;
	}

.banneri {
 position: relative;
/*  height: 970px;
 overflow: hidden; */
}


p, div {
    
    font-size: 18px;
    line-height: 24px;
    color: #3f4041;
    font-family: 'Lora', sans-serif;
}

a{
    
    font-size: inherit;
    line-height: inherit;
    color: #000;
    font-weight: 700;
    text-decoration: underline;
}

p {
    
    margin: 0 0 20px;
}

.musta-bg {
    
    background: #000;
}

.trainer .logot {
    
    position: relative;
    top: 0px;
    left: 0px;
}

.trainer .logot img {
    
    max-width: 120px;
    padding: 30px 0px;
}


body .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1 {
    
    float: left;
}

body .hs-menu-wrapper.hs-menu-flow-horizontal>ul  {
    
       position: relative;
       padding-top: 57px;
       left: 0px;
    
}


 .video {
        
       
       
         position: relative;
    padding-bottom: 54%; /* 16:9 */
    padding-top: 25px;
    top: 0px;
    height: 0;
    }
    
.kiitos h2 {
    
        font-size: 58px;
        line-height: 1.2em;
}
    
    
.kiitos form label {
    
  
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
    display: block;
    padding-bottom: 6px;

}

 .custom-menu-primary2 {
    /* display: none; */
    position: absolute;
    top: 155px;
    left: 0px;
        width: auto !important;
}


.blog .custom-menu-primary2 {
    position: absolute;
    top: 127px;
    left: 60px;
    width: auto!important;
}


.custom-menu-primary2 .active a {
    
        text-decoration: underline;

}



.blog #hs_form_target_blog_subscription input[type="email"], .blog .widget-type-blog_subscribe input[type="email"] {
    width: 100%;
    float: none;
  
    display: block;
    padding: 12px 20px;
    margin-bottom: 18px;
    margin-top: 4px;
    height: auto;
    border-radius: 2px;
    box-shadow: none;
}



body input[type="submit"] {
    
    white-space: normal;
}

.hs-button {
    
    cursor: pointer;
}




.blog .blog-sidebar .widget-span {
    padding: 0px 0 19px 0;
}

.blog-sidebar a {
    
    text-decoration: none;
    font-weight: 400;
}



.widget-type-post_filter h3, .widget-type-post_listing h3 {
    color: #000;
    font-size: 15px;
    text-align: left;
    font-weight: 700;
 
    line-height: 1.3em;
    
    margin: 0 0 20px;
    text-transform: uppercase;
}

.hs_cos_wrapper_type_post_listing li, .widget-type-post_filter li {
    
    list-style: initial;
    margin-bottom: 4px;
}

.widget-type-blog_subscribe, .widget-type-post_filter, .widget-type-post_filter, .widget-type-post_listing {
    
    padding: 20px !important;
    background-color: #fff;
    margin-bottom: 19px;
    border-radius: 0;
    box-sizing: border-box;
    border: 1px solid #dadada;
}

.valkoinen * {
    
    color: #fff;
}


.blog .widget-type-blog_subscribe label {
    display: block!important;

}

.opt-in .banneri form .hs-button:hover {
    background: #000;
    border: none;
 
}

.about-author-sec {
    margin-top: 0px;
}



.blog .post-header h1 a, .blog .post-header h2 a {
    text-decoration: none;
}

.takaisin {
    
        font-size: 14px;
}

.tabber-content {
    background: #f3f3f3;
    padding: 22px;
    border: none;
 
 
}

.post-header h1 {
    
    margin: 20px 0 5px 0px;
}

.tabber-tabs>.active>a, .tabber-tabs>.active>a:hover, .tabber-tabs>.active>a:focus {
    color: #000;
    font-size: 15px;
    text-transform: uppercase;
    cursor: default;
    background-color: #f3f3f3;
    font-weight: 700;    
    border-radius: 0px;
    border-bottom-color: transparent;
    border: none;
}

.tabber-tabs>li>a {
    
    text-transform: uppercase; 
    padding-right: 25px;
    padding-left: 25px;
    margin-right: 2px;
    font-size: 15px;
    font-weight: 700; 
    line-height: 14px;
    padding-top: 20px;
    padding-bottom: 20px;
}

#hs_cos_wrapper_popular_posts ul {

padding: 20px 0px;

}

#hs_cos_wrapper_popular_posts li {
    
    padding-bottom: 10px;
}

.body-container .tabber-tabs {
    border-bottom: none;
    
}


.feedreader_box a.hs-rss-title {
    
        text-decoration: none;
}

.toukomies-header {
    
    position: relative;
}

.main-menu {
    
        position: absolute;
    left: 200px;
    top: 0px;
}

.blog .main-menu {
    
       
    left: 220px;

}

.menu-btn {
    
        float: right;
    margin-top: 35px;
}

.tabber-content .hs-rss-item {
    margin-bottom: 11px;
}

.blog .header-container-wrapper {
    
    position: static;
}

.blog .body-container-wrapper {
    padding-top: 61px;
}

.post-listing .hs-featured-image-wrapper {
    max-height: 380px;
    overflow: hidden;
    margin-bottom: 30px;
}

.blogi-bg {
    
    background: url('https://cdn2.hubspot.net/hubfs/442165/1-Superarkea/Identity/bg/rivi5-bg.jpg?t=1495088524579');
    padding: 35px 0px 50px;
    text-align: center;
}

.blogi-bg h1 {
    
    margin-top: 35px;
    font-size: 100px;
}

.blog .header-container {
    
    padding: 0px;
}

.blogi-bg .logo {
    
    text-align: left;
}

.kiitos form {
    
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.banneri form .hs-error-msgs {
   
}

.rivi {
    
    padding-top: 60px;
    padding-bottom: 60px;
}

h2.post-listing-simple a {
    
    text-decoration: none;
    margin-bottom: 25px;
    padding-bottom:25px;
    font-weight: 400;
    border-bottom: 1px solid #eee;
    display: block;
    font-size: 25px;
    line-height: 1.2em;
}

.banneri .hs-form-field {
    
    float: left;
    width: 50%;
    max-width: 50%;
}


 .rivi4 form .hs-error-msgs {
  /* display: none !important;    */
 }

.banneri form .hs-error-msgs label {
    
 display: block;   
}

.kiitos .banneri2 h1 {
    
    margin-bottom: 0px;
}

.kiitos .banneri2 {
    
    padding-bottom: 50px;
}   


.opt-in .hs-rss-item {
    width: 31.33%;
    margin: 0 1% 2% 1%;
    float: left;
    position: relative;
    padding: 20px 20px;
    background: #fff;
    box-sizing: border-box;
     min-height: 440px;
    
}

.widget-type-rss_listing {
    
    padding: 11px 0 20px 0;
}

.hs-rss-title span, .hs-rss-title  {
    font-size: 24px;
    font-weight: 700;
    text-transform: none;
    text-align: center;
    color: #000;
    font-family: 'Montserrat';
    margin-bottom: 35px;
    margin-top: 35px;
    display: block;
}


.opt-in .feedreader_box {
    
    margin-top: 30px;
}

.opt-in .hs-rss-item-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%!important;
    height: 214px;
    overflow: hidden;
}




.kiitos .banneri2 .hs_cos_wrapper_type_social_sharing {
     margin-top: 18px;
    
}
.kiitos .banneri2 .hs_cos_wrapper_type_social_sharing img {
    
        padding: 10px;
    box-shadow: 0px 2px 5px #ccc;
    margin: 0px 5px 5px;
}

.kiitos .banneri2 .hs_cos_wrapper_type_social_sharing a:hover {

opacity: 0.4;

}

.kiitos .banneri2 h3 {
    
    font-size: 30px;
        color: #999;
    line-height: 1.2em;
}

body .mobile {
    
    display: none !important;
}


.hs-rss-item-text {
    
    text-align: center;
}

.kiitos input[type="email"], .kiitos input[type="number"], .kiitos input[type="password"], .kiitos input[type="tel"], .kiitos input[type="url"], .kiitos input[type="text"], .kiitos input:not([type]), .kiitos textarea {
    padding: 16px 17px;
    font-size: 24px;
    color: #666;
    border: none;
    max-width: 400px;
    width: 100%;
    border-radius: 3px;
}

textarea {
    
    min-height: 120px;
}


.video iframe, .video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.value .rivi4 input, .value .rivi4 .hs-button {
    float: left;
    margin-left: 20px;
    width: 90%;
    padding-left: 5%;
    padding-right: 5%;
}

.value .rivi4 form {
    
    margin-top: 15px;
    max-width: 500px;
    margin: 15px auto !important;
}

.banneri .sisalto {
    
 /*   position: absolute;
    z-index: 35;
    top: 220px;
    width: 100%;
    text-align: center;*/
    
        position: absolute;
    z-index: 35;
    top: 220px;

    text-align: center;
    left: 10%;
}

.opt-in .banneri .sisalto {
    position: absolute;
    z-index: 35;
    bottom: 78px;
    top: initial;
    width: 100%;
    text-align: center;
    left: 0%;
}

label {
    
  font-family: 'Montserrat';
  font-size: 16px;
}

.opt-in .banneri label {
    
    color: #fff;
    text-align:left;
}




body .kehys {
    
    max-width: 1100px;
    width: 100%;
    margin: 0px auto !important;
    
    float: none !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    
}

.kehys_pitka {
    
    max-width: 1500px;
    
}

body {
    
    margin: 0px;
}

.row-fluid [class*="span"] {
    
    min-height: 1px;
}

.navigaatio {
    
        position: absolute;
    top: 22px;
    left: 0;
    z-index: 40;
    padding: 0 4%;
    margin: 0 auto;
}

.navigaatio ul li a {
    
 font-family: 'Lora', sans-serif;
 font-size: 18px;
 line-height: 1.8em;
 color: #fff;
 text-decoration: none;
 font-weight: 700;
 text-transform: uppercase;

}

.navigaatio ul li {
    
    float: left;
    list-style-type: none;
    padding-right: 22px;
}


* {
    
    max-width: 100%;
}

img {
    
    max-width: 100%;
    height: auto;
}






.rivi4 hr {
   
    background: #333;
    
}

.lomakebg h1 {
    font-size: 34px;
    line-height: 1.2em;
}



.value .rivi4 .hs-button {
    margin-top: 16px;
    width: 100%;
}

.rivi4 .hs-button {
    margin-top: 9px;
    width: 95%;
    
}

.rivi4 form label {
   text-align: center !important;
   
}

body input[type="email"], body input[type="number"], body input[type="password"], body input[type="tel"], body input[type="url"], bodyinput[type="text"], body input:not([type]) {
 
    
       padding: 10px 10px;
    margin-top: 0;
    font-weight: 400;
    font-family: 'Montserrat';
    text-transform: none;
    font-size: 15px;
    border-radius: initial;
}

 form .hs-button {
 
    text-align: center !important;
    padding: 12px 29px;
    margin-top: 0;
    background: #bb12b5;
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-size: 18px;
    border-radius: initial;
    margin: 0px;
    color: #fff !important;
    border: none;
}

.banneri form .hs-button {
    
    margin-top: 25px;
    position: relative;
}





.banneri-wrapper {
    padding: 140px 0px 85px;

}

.banneri-wrapper2 {
    padding: 40px 0px 285px;

}

.perussivu .banneri {
    position: relative;
    margin-top: 7px;
}



.rivi1, .rivi2, .rivi3, .rivi4, .rivi5, .rivi6, .rivi7, .rivi8 {
    
        padding: 50px  0px;
}


.perussivu .rivi1, .perussivu .rivi2, .perussivu .rivi3, .perussivu .rivi4, .perussivu .rivi5, .perussivu .rivi6, .perussivu .rivi7, .perussivu .rivi8 {
    
        padding: 35px  0px;
}



.layout-widget-wrapper {
    

}

#hubspot-author_data {
    
    font-size: 17px;
    text-transform: uppercase;
    color: #bdbdbd;
    margin-top: 5px;
    font-weight: 700;
    margin-right: 0px;
    font-weight: 400;
    font-family: 'Montserrat';
}

.fa-clock-o {
    margin-left: 19px;
}


#hubspot-author_data a {
 color: inherit;
 font-weight: 400;
 text-decoration: none;
}





.hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {
    
    max-height: 100%;
}

.blog .post-header h2 a {
    

}

.logot img {
    
    padding: 19px 0 8px 13px;
    box-sizing: border-box;
    height: auto;

}

.viiva {
    
   position: relative;
    bottom: -11px;
    left: 0;
    z-index: 100;
    max-width: 1140px;
    margin: 0 auto;
}




.rajaus {
    
    border: 1px solid #dadada;
    margin-bottom: 35px;
    padding: 0 !important;
}

.rajaus h2 {
    
    margin-top: 20px;
}

.rajaus .hs_cos_wrapper_type_rich_text {
    
    padding: 20px;
    box-sizing: border-box;
    display: block;
}

.hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {
    border-width: 0;
    width: 100%;
    max-width: 100%;
    display: block!important;
    float: none!important;
    margin: 0px 0 24px 0;
}

.blog-listing-wrapper .post-listing .post-item {
    
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 3px solid #eee;
}

a.painike, .painike a, .hs-button, .more-link, .opt-in .hs-rss-description a, .hs-button.primary {
    
     display: inline-block;
        white-space: initial;
    font-size: 16px;
    line-height: 20px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-right: 10px;
    margin-bottom: 20px;
    text-decoration: none;
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-weight: 700;
    background: none;
    border: 2px solid #bb12b5 ;
    color: #bb12b5;
    -webkit-appearance: none;
    padding: 10px 25px;
    
}

.opt-in .hs-rss-description a {
    
    display: inline-block;
    margin-top: 25px;
    display: block;
    margin-top: 25px;
    max-width: 179px;
    margin-left: auto;
    font-size: 14px;
    margin-right: auto;
}

a.painike:hover, .painike a:hover, .hs-button:hover, .more-link:hover, .opt-in .hs-rss-description a:hover, .opt-in .hs-rss-description a:hover, .hs-button.primary:hover {
    

 

 transition: all 0.5s;
 background: none ;
 opacity: 1;
    border: 2px solid #000 ;
    color: #000 ;
}

a.more-link {
    
    margin-top: 24px;
    display: block;
    max-width: 148px;
}



body .hs-button.primary { 
    
     background: #bb12b5 !important;   
     border: 2px solid #bb12b5 !important;
}

body .hs-button.primary:hover { 
    
     background: #000 !important;   
     border: 2px solid #000 !important;
}


.rivi7 .painike {
    
    background: #000;
    color: #fff;
}


.rivi7 h1, .rivi7 h2 {
    
    font-size: 45px;
    font-weight: 200;
    line-height: 1.3em;
    color: #000;
    text-transform: none;
 
}

.rivi3 .kuva .layout-widget-wrapper {
    line-height: 0;
}


.blog-listing-wrapper .post-body h2 {
    
        color: #898989;
    font-size: 18px;
    text-transform: none;
    font-weight: 400;

    line-height: 1.3em;
    margin: 0 0 20px;
}

.alkuun {
    
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    opacity: 0.7;
}


.rivi8 h2 {
    
    color: #000;
}

.rivi8 h3 {
    
    font-size: 18px;
    line-height: 1.3em;
    color: #898989;
    margin: 0px 0px 7px;
}

a:hover {
    
    opacity: 0.7;
    transition: 1s all;
    color: #bb12b5;
}

form {
    
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    
}


input[type="email"], input[type="number"], input[type="password"], input[type="tel"], input[type="url"], input[type="text"], input:not([type]) {
    
 
    padding: 10px 15px;
    font-size: 18px;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.banneri input[type="email"], .banneri input[type="number"], .banneri input[type="password"], .banneri input[type="tel"], .banneri input[type="url"],.banneri  input[type="text"], .banneri input:not([type]) {
    border: medium none;
}



 .rivi4 input {
    float: none;
    margin-left: 20px;
    margin-bottom: 17px;
    padding: 20px 3%;
    width: 89%;
}




.opt-in .banneri h1 {
    
        margin-bottom: 5px;
       
}

hr {
    
    margin: 35px 0px;
    background: #eee;
    height: 3px;
    border: none;
    color: #eee;
    
}

 .hs_cos_wrapper_type_social_sharing {
     
     text-align: center;
     margin-top: 40px;
 }
 
.sales .navi li {
    
    list-style: none;
    display: inline-block;
}

.sales .navi ul {
    
    float: right;
    padding-top: 50px;
}


.sales .navi a {
    color: #444;
    
    text-decoration: none;
    font-weight: 300;
    font-size: 16px;
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
}


.value .rivi4 {
    
    padding: 5% 0;
}

.value .rivi4 h3 {
    
    font-size: 25px;
    line-height: 1.3em;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}





.value .banneri .sisalto {
    position: absolute;
    z-index: 35;
    top: 42px;
    text-align: center;
    left: 0%;
    width: 100%;
    
}

.home .sisalto {
    bottom: 109px;
    top: initial;
    width: 100%;
    left: 0px;
}


.opt-in .logo {
    
    position: absolute;
    left: 42px;
    top: 42px;
    text-align: left;
    width: auto;
    z-index: 60;
    
}

.home .sisalto h2, .home .sisalto h1 {
    
    margin-bottom: 0px;
    font-size: 70px;
    line-height: 1.1em;
}

.kiitos .banneri .sisalto  {
    bottom: 45%;
}

.kiitos .banneri h1 {
    color: #fff;
    font-size: 68px;
}

.home .rivi6 .row-fluid .span4 {
    width: 17.4%;
    
}

.home .rivi6 .row-fluid .span2 {
    width: 17.4%;
}

.home .rivi6 {
    
        padding: 50px 0 107px 0px;
}

.copy {
    
    padding: 6% 0;
}

.copy * {
    
    font-size: 16px;
    line-height: 1.4em;
}


.kiitos .logo {
    position: static;
    margin: 41px 0px 40px;
    top: 42px;
    text-align: center;
    width: 100%;
    z-index: 60;
}



/* -------------------------------- 

Main components - Testemonials

-------------------------------- */
.cd-testimonials-wrapper {
  position: relative;
  width: 90%;
  max-width: 768px;
  background: none;
  margin: 2em auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 20px 40px 70px;
  z-index: 1;
}
.cd-testimonials-wrapper::after {
  /* quotation mark */
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 0;
  width: 50px;
  height: 50px;
  padding-top: 8px;
  margin-left: -25px;
  background: none;
  font-family: "Georgia", serif;
  color: #ffffff;
  font-size: 70px;
  font-size: 4.375rem;
  text-align: center;
  /* visible on big devices only */
  display: none;
}

.flex-viewport {
    
    height: auto !important;
}

.cd-author-info {
    
    padding-left: 0px;
    width: 100%;
    text-align: center !important;
}

.cd-author-info li {
    
    display: inline-block;
    margin: 0px 5px 0px 0px;
    color: #fff;
    font-weight: 700;
}

@media only screen and (min-width: 768px) {
  .cd-testimonials-wrapper {
    margin: 4em auto;
       padding: 26px 50px 0px;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-testimonials-wrapper::after {
    /* quotation mark visible */
    display: block;
    
  }
}

.cd-testimonials {
  color: #ffffff;
  max-width: 2000%;
  text-align: center;
}
.cd-testimonials::after {
  clear: both;
  content: "";
  display: table;
}
.cd-testimonials > li {
  position: absolute;
  opacity: 0;
  right: 40px;
}
.cd-testimonials > li:first-child {
  position: relative;
  opacity: 1;
}
.cd-testimonials p {

    font-size: 35px;
    font-weight: 200;
    line-height: 1.3em;
    color: #000;
    text-transform: none;
     font-family: 'Lora', sans-serif;
  line-height: 1.3em;
  margin-bottom: 1em;
  color: #fff;
  padding: 0 14px;
}
@media only screen and (min-width: 768px) {
  .cd-testimonials p {
    font-size: 22px;
    font-size: 1.375rem;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-testimonials p {
    font-size: 45px;
    font-size: 1.425rem;
       line-height: 1.4em;
    padding: 0 20px;
    font-weight: 700;
  }
}

.cd-author img, .cd-author .cd-author-info {
  display: inline-block;
  vertical-align: middle;
}
.cd-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 5px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.cd-author img {
    
    background: #fff;
    display: none;
  background: rgba(0,0,0,0.7);
}

.cd-author .cd-author-info {
  text-align: left;
  line-height: 1.2;
}
.cd-author .cd-author-info li:first-child {
  font-size: 14px;
  font-size: 0.875rem;
}
.cd-author .cd-author-info li:last-child {
  font-size: 18px;
  
  color: #fff;
  font-weight: 700;
  list-style-type: none;
  
}



@media only screen and (min-width: 768px) {
  .cd-author img {
    width: 48px;
    height:48px;
  }
  .cd-author .cd-author-info {
    line-height: 1.4;
  }
  .cd-author .cd-author-info li:first-child {
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-author .cd-author-info li:last-child {
    font-size: 14px;
    font-size: 0.875rem;
  }
}

.flex-direction-nav li {
  position: absolute;
  height: 100%;
  width: 40px;
  top: 0;
}
.flex-direction-nav li:first-child {
  left: 0;
}
.flex-direction-nav li:last-child {
  right: 0;
}
.flex-direction-nav li a {
  display: block;
  height: 100%;
  width: 100%;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.no-touch .flex-direction-nav li a:hover {
  background-color: #323234;
}
.flex-direction-nav li a::before, .flex-direction-nav li a::after {
  /* left and right arrows in css only */
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 13px;
  background-color: #ffffff;
}
.flex-direction-nav li a::before {
  -webkit-transform: translateY(-35px) rotate(45deg);
  -moz-transform: translateY(-35px) rotate(45deg);
  -ms-transform: translateY(-35px) rotate(45deg);
  -o-transform: translateY(-35px) rotate(45deg);
  transform: translateY(-35px) rotate(45deg);
}
.flex-direction-nav li a::after {
  -webkit-transform: translateY(-27px) rotate(-45deg);
  -moz-transform: translateY(-27px) rotate(-45deg);
  -ms-transform: translateY(-27px) rotate(-45deg);
  -o-transform: translateY(-27px) rotate(-45deg);
  transform: translateY(-27px) rotate(-45deg);
}
.flex-direction-nav li:last-child a::before {
  -webkit-transform: translateY(-35px) rotate(-45deg);
  -moz-transform: translateY(-35px) rotate(-45deg);
  -ms-transform: translateY(-35px) rotate(-45deg);
  -o-transform: translateY(-35px) rotate(-45deg);
  transform: translateY(-35px) rotate(-45deg);
}
.flex-direction-nav li:last-child a::after {
  -webkit-transform: translateY(-27px) rotate(45deg);
  -moz-transform: translateY(-27px) rotate(45deg);
  -ms-transform: translateY(-27px) rotate(45deg);
  -o-transform: translateY(-27px) rotate(45deg);
  transform: translateY(-27px) rotate(45deg);
}
@media only screen and (min-width: 768px) {
  .flex-direction-nav li {
    width: 50px;
  }
}
@media only screen and (min-width: 1170px) {
  .flex-direction-nav li a::before, .flex-direction-nav li a::after {
    background-color: #fff;
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    transition: background-color 0.2s;
  }
  .flex-direction-nav li a:hover::before, .flex-direction-nav li a:hover::after {
    background-color: #ffffff;
  }
}

.cd-see-all {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  line-height: 50px;
  background-color: #252527;
  text-align: center;
  text-transform: uppercase;
  color: #6b6b70;
  font-weight: 700;
  font-size: 12px;
  font-size: 0.75rem;
  -webkit-transition: color, 0.2s;
  -moz-transition: color, 0.2s;
  transition: color, 0.2s;
  display: none;
}
.no-touch .cd-see-all:hover {
  color: #79b6e4;
}

.cd-testimonials-all {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  z-index: 82;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-testimonials-all .cd-testimonials-all-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
}
.cd-testimonials-all .cd-testimonials-all-wrapper > ul {
  width: 90%;
  max-width: 1170px;
  margin: 4em auto;
}
.cd-testimonials-all .cd-testimonials-all-wrapper > ul::after {
  clear: both;
  content: "";
  display: table;
}
.cd-testimonials-all .cd-testimonials-item {
  margin-bottom: 2em;
  opacity: 0;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translate3d(0, 0, 0) scale(0.4);
  -moz-transform: translate3d(0, 0, 0) scale(0.4);
  -ms-transform: translate3d(0, 0, 0) scale(0.4);
  -o-transform: translate3d(0, 0, 0) scale(0.4);
  transform: translate3d(0, 0, 0) scale(0.4);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform .3s, opacity .3s;
  -moz-transition: -moz-transform .3s, opacity .3s;
  transition: transform .3s, opacity .3s;
}
.cd-testimonials-all p {
  position: relative;
  background: #79b6e4;
  color: #ffffff;
  padding: 2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
  border-radius: 0.25em;
  margin-bottom: 1em;
}
.cd-testimonials-all p::after {
  /* creating the triangle in css */
  content: '';
  position: absolute;
  top: 100%;
  left: 2em;
  height: 0;
  width: 0;
  border: 8px solid transparent;
  border-top-color: #79b6e4;
}
.cd-testimonials-all .cd-author {
  text-align: left;
  margin-left: 1.5em;
}
.cd-testimonials-all .cd-author img {
  box-shadow: 0 0 0 transparent;
}
.cd-testimonials-all.is-visible {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-testimonials-all.is-visible .cd-testimonials-all-wrapper {
  -webkit-overflow-scrolling: touch;
}
.cd-testimonials-all.is-visible .cd-testimonials-item {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  -moz-transform: translate3d(0, 0, 0) scale(1);
  -ms-transform: translate3d(0, 0, 0) scale(1);
  -o-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
}
@media only screen and (min-width: 768px) {
  .cd-testimonials-all .cd-testimonials-item {
    width: 46%;
    margin: 0 2% 3em;
  }
  .cd-testimonials-all .cd-author {
    margin-left: 1em;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-testimonials-all .cd-testimonials-item {
    width: 30%;
    margin: 0 1.6666% 3em;
  }
}

.close-btn {
  position: fixed;
  display: block;
  width: 40px;
  height: 40px;
  top: 10px;
  right: 5%;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
.close-btn::before, .close-btn::after {
  /* close icon in css */
  content: '';
  position: absolute;
  display: inline-block;
  width: 2px;
  height: 24px;
  top: 8px;
  left: 19px;
  background-color: #39393c;
}
.close-btn::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.close-btn::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}




/*   *** Testemonials *** **/



/* ==========================================================================
   Mobile Menu - Hubspot Standard Toggle Menu
   ========================================================================== */


/**
 * Special Note
 *
 * When the menu is open, a class of .mobile-open is applied to the body. You can 
 * use this for custom styling on any element when the menu is in the open position.                     
 */

@media (min-width: 768px){

  .mobile-trigger, a.child-trigger {
      display: none !important; /* Hide button on Desktop */
  }

}

@media (max-width: 767px){

  /* Variables     ========================================================================== */

     /* Set Mobile Menu Background Color */
        /* Set Link Color */
   /* Set Link Hover Color */


  /* Menu Reset - Remove styling from desktop version of custom-menu-primary */
  /* Place any additional CSS you want removed from the mobile menu in this reset */
  .custom-menu-primary, .custom-menu-primary *{
    display: block;
    float: none;
    position: static;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    padding: 0px;
    margin: 0px;
    background-image: none;
    background-color: transparent;
    border: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none; 
    max-width: none;
    width: 100%;
    height: auto;
    line-height: 1;  
    font-weight: normal;
    text-decoration: none;
    text-indent: 0px;
    text-align: left;
    color: #ffffff;
    }


  /* Toggle Button      ========================================================================== */

  .mobile-trigger {
      display: inline-block !important; /* Hide button on Desktop */
      cursor: pointer; /* Mouse pointer type on hover */
      position: absolute; /*******************************************/
      top: 0px;          /* Position Button at top right of screen  */
      right: 10px;        /*******************************************/
      width: auto; /* Button width */
      height: auto; /* Button height */      
          padding: 17px 31px;
      background: #000000; /* Background color */
      z-index: 99999999999; /* Z-index to keep button on top of other layers */
      -webkit-transition: background-color 0.2s linear; /* Button color transition effect */
      font-size: 16px;
      font-weight: normal;
      text-align: left;
      text-transform: uppercase;
      -webkit-border-bottom-right-radius: 6px;
      -webkit-border-bottom-left-radius: 6px;
      -moz-border-radius-bottomright: 6px;
      -moz-border-radius-bottomleft: 6px;
      border-bottom-right-radius: 6px;
      border-bottom-left-radius: 6px;
      -webkit-transition:color .2s ease-in; 
      -moz-transition:color .2s ease-in;
      transition:color .2s ease-in;
  }

  a.mobile-trigger:hover {
      text-decoration: none; /* Removes link text underline on button */
      color: #ffffff;
  }

  a.mobile-trigger span{
      display: inline;
  }

  a.mobile-trigger span:before{
      position: absolute;
      content: 'Menu'; /* Change the text on the closed toggle button */
  }

  a.mobile-trigger span:after{
      position: relative;
      right: 2px;
      content: 'Close'; /* Change the text on the open toggle button */
      background-color: #000000;
      opacity: 0;
      transition: opacity .4s ease-in-out;
      -moz-transition: opacity .4s ease-in-out;
      -webkit-transition: opacity .4s ease-in-out; 
  }

  /* Change button when menu is open */
  .mobile-open a.mobile-trigger{
      -webkit-transition:background-color 0.2s linear; /* Button color transition effect */
      -moz-transition:background-color 0.2s linear; /* Button color transition effect */
      transition:background-color 0.2s linear; /* Button color transition effect */
      background: transparent; /* Changes button background to be slightly darker than open menu color */  
  }

  .mobile-open a.mobile-trigger span:after{
     opacity: 1; 
  }


  /* Toggle Button Icon & Animations
     ========================================================================== */

  a.mobile-trigger i {
      display: inline;
      position: relative;
      top: -5px;
      margin-left: 5px;
      -webkit-transition-duration: 0s;
      -webkit-transition-delay: .2s;
      -moz-transition-duration: 0s;
      -moz-transition-delay: .2s;
      transition-duration: 0s;
      transition-delay: .2s;
  }
  a.mobile-trigger  i:before, a.mobile-trigger i:after {
      position: absolute;
      content: '';
  }
  a.mobile-trigger  i, a.mobile-trigger  i:before, a.mobile-trigger  i:after {
      width: 15px; /* Icon line width */
      height: 2px; /* Icon line height */
      background-color: #ffffff; /* Icon color */
      display: inline-block;
  }
  a.mobile-trigger  i:before {
      margin-top: -6px; /* Position top line */
      -webkit-transition-property: margin, -webkit-transform;
      -webkit-transition-duration: .2s;
      -webkit-transition-delay: .2s, 0;
  }
  a.mobile-trigger  i:after {
      margin-top: 6px; /* Position bottom line */
      -webkit-transition-property: margin, -webkit-transform;
      -webkit-transition-duration: .2s;
      -webkit-transition-delay: .2s, 0;
  }
  .mobile-open a.mobile-trigger i {
      background-color: rgba(0,0,0,0.0);
      -webkit-transition-delay: .2s;
      -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
      -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
      box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }
  .mobile-open a.mobile-trigger i:before {
      margin-top: 0;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      -webkit-transition-delay: 0, .2s;
      -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
      -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
      box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }
  .mobile-open a.mobile-trigger i:after {
      margin-top: 0;
      -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
      -webkit-transition-delay: 0, .2s;
      -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
      -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
      box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }

  /* Child Toggle Button
     ========================================================================== */

  a.child-trigger {
      display: block !important; /* Hide button on Desktop */
      cursor: pointer; /* Mouse pointer type on hover */
      position: absolute;
      top: 0px;
      right: 0px;
      width: 55px !important; /* Button width */
      min-width: 55px !important;
      height: 45px !important; /* Button height */  
      padding: 0 !important;
      border-left: 1px dotted rgba(255, 255, 255, .20);
  }
  a.child-trigger:hover {
      text-decoration: none;
  }


  /* Child Toggle Button Icon & Animations
     ========================================================================== */

  a.child-trigger span {
      position: relative;
      top: 50%; /* Centers icon inside button */
      margin: 0 auto !important;
      -webkit-transition-duration: .2s;
      -moz-transition-duration: .2s;
      transition-duration: .2s;
  }
  a.child-trigger span:after {
      position: absolute;
      content: '';
  }
  a.child-trigger span, a.child-trigger span:after {
      width: 10px; /* Icon line width */
      height: 1px; /* Icon line height */
      background-color: #ffffff; /* Icon color */
      display: block;
  }
  a.child-trigger span:after {
      -webkit-transform: rotate(-90deg);
       -ms-transform: rotate(-90deg);
      transform: rotate(-90deg);
       -webkit-transition-duration: .2s;
       -moz-transition-duration: .2s;
      transition-duration: .2s;
  }
  a.child-trigger.child-open span:after {
      -webkit-transform: rotate(-180deg);
       -ms-transform: rotate(-180deg);
      transform: rotate(-180deg);
       -webkit-transition-duration: .2s;
       -moz-transition-duration: .2s;
      transition-duration: .2s;
  }
  a.child-trigger.child-open span {
      -webkit-transform: rotate(180deg);
       -ms-transform: rotate(180deg);
      transform: rotate(180deg);
       -webkit-transition-duration: .2s;
       -moz-transition-duration: .2s;
      transition-duration: .2s;
  }

    
  /* Menu Styles on Mobile Devices
     ========================================================================== */  


  /* Hide menu on mobile */
  .custom-menu-primary.js-enabled .hs-menu-flow-horizontal,
  .custom-menu-primary.js-enabled .hs-menu-children-wrapper{
      display: none;
  }  

  /* Make child lists appear below parent items */
  .custom-menu-primary ul.hs-menu-children-wrapper {
      visibility: visible !important;
      opacity: 1 !important;
      position: static !important;
      display: none;
  }

  /* Mobile Menu Styles */
  .custom-menu-primary.js-enabled .hs-menu-flow-horizontal{
      position: absolute; /**************************************************************/
      top: 0;             /* Positions the menu to drop from the very top of the screen */
      left: 0px;          /**************************************************************/                                              
      width: 100%;   
      -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.65);
      -moz-box-shadow:    0px 5px 5px 0px rgba(0, 0, 0, 0.65);
      box-shadow:         0px 5px 5px 0px rgba(0, 0, 0, 0.65); 
  }
  .custom-menu-primary .hs-menu-flow-horizontal{
      padding: 40px 0 0 0; /* Padding to add room for close button */
      background-color: #000000; /* Menu background color set off global mobile-menuColor variable */
      width: 100%; /* Full screen width */
      z-index: 8888;
  }

   /* Level 1 Menu List Styles */
  .custom-menu-primary .hs-menu-flow-horizontal > ul > li{
      position: relative;
   }
  .custom-menu-primary .hs-menu-flow-horizontal > ul > li a{
      font-size: 22px; /* Font size of top level list items */
      line-height: 45px;
      overflow: visible;
  }

  /* Level 1 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-flow-horizontal ul li{
      border-top: 1px dotted rgba(255, 255, 255, .35); /* Adds transparent dark highlights to top of top level list items */
  }
  .custom-menu-primary .hs-menu-flow-horizontal ul li a{
      padding: 0 10px;
  }
  .custom-menu-primary .hs-menu-flow-horizontal ul li a:hover{
      color: #ffffff; /* link hover color set by global mobile-aColorHover variable */
  }

  /* Level 2 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-flow-horizontal > ul ul li{
     background-color: rgba(255, 255, 255, .08);
  }
  .custom-menu-primary .hs-menu-flow-horizontal > ul ul li a{
      text-indent: 10px; /* Indent Child lists */
      font-size: 16px; /* Font size of child lists */
  }

  /* Level 3 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-flow-horizontal > ul ul ul li a{
      text-indent: 30px; /* Indent Child lists */
  }
  .custom-menu-primary .hs-menu-flow-horizontal > ul ul ul ul li a{
      text-indent: 50px; /* Indent Child lists */
  }
}


@media only screen and (max-width: 1600px) {



input[type="email"], input[type="number"], input[type="password"], input[type="tel"], input[type="url"], input[type="text"], input:not([type]) {
    padding: 12px 34px;
    font-size: 24px;
        font-size: 16px;
    
}


.opt-in .banneri form label {
    
    margin-left: 0px;
}



.opt-in .banneri .sisalto {
    position: absolute;
    z-index: 35;
    bottom: 50px;
    
}



.hs-button {
    background: #fbe100;
    color: #000;
    font-weight: 900;
    float: none !important;
    display: block;
    width: 80%;
    margin: 5px auto !important;
    font-size: 17px;
    text-transform: uppercase;
    border-radius: 3px;
    text-decoration: none;
    line-height: 1em;
    padding: 28px 40px;
    margin-top: 20px;
    display: inline-block;
    border: none;
}

.opt-in .banneri h1 {
    margin-bottom: 0px;
}

.banneri input {
    float: left;
    margin-left: 20px;
    max-width: 90%;
    padding: 7px 5%;
}

.banneri .hs-button {
    padding: 13px 38px;
    position: relative;
    bottom: 4px;
  
}


.banneri form {
    
  
}

.banneri input {
    float: none !important;
    margin: 2px 0px !important;
    max-width: 90% !important;
    display: block !important;
    padding: 7px 5% !important;
    width: 100% !important;
}

.rivi4 input {
    float: none !important;
    margin: 2px 0px !important;
    max-width: 90% !important;
    display: block !important;
    padding: 7px 5% !important;
    width: 100% !important;
}

.banneri .hs-button, .rivi4 .hs-button {
    padding: 13px 5% !important;
    position: static !important;
    width: 100% !important;
    max-width: 300px !important;
    margin-top: 10px !important;
  
    
}

.banneri .hs-form-field {
    
    float: left;
    width: 100%;
    max-width: 100%;
    max-width: 300px;
}


body .banneri input[type="email"], body .banneri input[type="number"], body .banneri input[type="password"], body .banneri input[type="tel"], body .banneri input[type="url"], body .banneri input[type="text"], body .banneri input:not([type]){
     padding: 13px 5% !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px !important;
    
}



}

@media only screen and (max-width: 1300px) {
    
    .hs-button {
  
    padding: 16px 40px;
   
}



.opt-in .banneri .sisalto {
    position: absolute;
    z-index: 35;
    bottom: 42px;
}


}


@media only screen and (min-width: 1000px) {
    
    .main-menu {
        
        display: block !important;
    }
}

@media only screen and (max-width: 1000px) {
    
    .blogi-bg .logo {
        
          text-align: center;
          display: block;
          width: 100%;
    }
 

    
 .custom-menu-primary2, .blog  .custom-menu-primary2  {
    /* display: none; */
    position: static;
    top: 155px;
    width: 100% !important;
    text-align: center;
    left: 0px;
}

.opt-in .hs-rss-item {
    
    min-height: 10px;
}

 .custom-menu-primary2 .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1 {
    float: none;
}
    
   .opt-in .navigaatio ul li, .blog .navigaatio ul li {
    float: none;
    list-style-type: none;
    padding-right: 0px;
}

 .opt-in .navigaatio ul,  .blog .navigaatio ul   {
   padding: 0px;
}
    
  .opt-in .banneri h1 {
      
      margin-bottom: 0px;
  }
    
    
 .banneri .sisalto {
    position: static;
    z-index: 35;
    top: 42px;
    margin: 30px 0px;
    text-align: center;
    left: 0;
    width: 100%;
}
    
    .opt-in .logo {
    
    position: static;
    left: 42px;
    top: 42px;
    margin-top: 50px;
    text-align: center;
    width: 100%;
    z-index: 60;
    
}


    
    .value .banneri .sisalto {
    position: static;
    z-index: 35;
    top: 42px;
    margin: 30px 0px;
    text-align: center;
    left: 0;
    width: 100%;
}
    
    .banneri {
        
        height: auto;
        position: static;
       
       
    }
    
 
    
 .video {
        
       
       
         position: relative;
        
	padding-top: 25px;
    top: 0px;
	height: 0;
    }
    
    .opt-in .banneri .sisalto {
    position: static;
    z-index: 35;
    bottom: 78px;
    top: initial;
    width: 100%;
    text-align: center;
    left: 0;
    padding: 40px 0px;
}
    
    .kiitos .banneri h1 {
    color: #fff;
    font-size: 51px;
}


 
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
    
    .navigaatio {
    position: static;
    top: 22px;
    float: none !important;
    left: 0;
    z-index: 40;
    padding: 25px 4%;
    margin: 0 auto;
}
    
    
    body .mobile {
    
    display: block !important;
    }

    body .desktop {
    display: none !important;
    }
    
    .main-menu {
    
    display: none;
    }
    
    .main-menu {
    
        position: static;
   
    background: #eee;
    padding: 10px 0 20px 0;
    margin-top: 10px;
}


body .hs-menu-wrapper.hs-menu-flow-horizontal>ul {
    position: relative;
    padding-top: 16px;
    left: 0;
}

.menu-btn img {
    
   position: absolute;
    right: 35px;
    top: 35px;
}
    
}

@media only screen and (max-width: 878px) {
    
    .rivi4 h1, .rivi4 h2 {
    color: #FFF;
    font-size: 24px !important;
    text-transform: uppercase;
    line-height: 1.3em !important;
    margin-bottom: 5px;
}

.opt-in .hs-rss-item {
    width: 100%;
    margin: 0 0% 2% 0%;
    float: none;
    position: relative;
   
    
}

.opt-in .hs-rss-item-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%!important;
    height: 340px;
    
}




    .cd-testimonials p {
    font-size: 16px;
    font-weight: 200;
    line-height: 1.3em;
    
    text-transform: none;
    font-family: 'Lora',sans-serif;
    line-height: 1.3em;
    
    }
    
    .banneri input, .rivi4 input {
    float: none;
    margin-left: 20px;
    margin-bottom: 16px;
}
    
  .home .rivi6 .row-fluid .span2, .home .rivi6 .row-fluid .span4 {
    width: 47.4%;
    float: left;
    margin-bottom: 26px;
    margin-right: 2%;
}

.hs-button {
 
    font-size: 13px;
    
}

h1, h2 {
    font-family: 'Montserrat', san serif;
    font-weight: 400;
    line-height: 1.3em;
    font-size: 40px;
}

.home .sisalto h2, .home .sisalto h1 {
    margin-bottom: 0;
    font-size: 41px;
    line-height: 1.1em;
}

    
}


@media only screen and (max-width: 767px) {
    

body .hs-menu-wrapper.hs-menu-flow-horizontal>ul  {
    
       position: relative;
       padding-top: 10px;
       left: 0px;
    
}

.opt-in .bg-image-section, .opt-in .bg-image-section3, .bg-image-section-yhteys {
    
    background: #000 !important;
}


.main-menu {
    
    margin-top: 0px;
}

.banneri-wrapper {
    padding: 70px 0 65px;
    background: rgba(0,0,0,0.5);
}


.banneri .hs-form-field {
    
    float: none;
}

#hubspot-author_data {
    font-size: 15px;
    
}

.hs-menu-item a::after {
    content: "";
   
}

li.hs-menu-item {
    
    display: block;
    width: 100%;
}


.hs-menu-item a {
    
    display: block;
    padding-left: 0px;
        text-align: left;
}

h2.post-listing-simple a {
    text-decoration: none;
    margin-bottom: 25px;
    padding-bottom: 25px;
    font-weight: 400;
    border-bottom: 1px solid #eee;
    display: block;
    font-size: 17px;
    line-height: 1.2em;
}

body .hs-menu-wrapper.hs-menu-flow-horizontal>ul {
    
    margin-left: 20px;
}



}



@media only screen and (max-width: 500px) {
    
    
     .home .rivi6 .row-fluid .span2, .home .rivi6 .row-fluid .span4 {
    width: 98%;
    float: none;
    margin-bottom: 26px;
    margin-right: 0%;
}

.menu-btn img {
    
    max-width: 50px;
    right: 15px;
    top: 35px;
}

.home .sisalto h2, .home .sisalto h1 {
    margin-bottom: 0;
    font-size: 31px;
    line-height: 1.1em;
}

h1, h2 {
    font-family: 'Montserrat', san serif;
    font-weight: 400;
    line-height: 1.3em;
    font-size: 30px;
}

input[type="email"], input[type="number"], input[type="password"], input[type="tel"], input[type="url"], input[type="text"], input:not([type]) {
    padding: 19px 5%;
    font-size: 18px;
    color: #666;
    
    border-radius: 3px;
    width: auto;
    max-width: 90%;
}



.hs-button {
    background: #fbe100;
    color: #000;
    font-weight: 900;
    float: none!important;
    display: block;
    width: 90%;
    padding: 19px 5%;
    margin: 5px auto!important;
    font-size: 13px;


.rivi4 input {
  
    width: 79%;
}

.rivi4 .hs-button {
   
    width: 87%;
}

.rivi4 input {
    width: 70%;
}

.rivi7 h1, .rivi7 h2 {
    font-size: 28px;
    font-weight: 200;
    line-height: 1.3em;
    
}

.banneri h1 {
    color: #fff;
    font-size: 23px !important;
    text-transform: uppercase;
    line-height: 1.3em;
}


.rivi4 h3 {
    font-weight: 200;
    font-size: 23px;
    margin-bottom: 4px;
    line-height: 1.2em;
    
}

input[type="email"], input[type="number"], input[type="password"], input[type="tel"], input[type="url"], input[type="text"], input:not([type]) {
    padding: 19px 23px;
    font-size: 18px;
    color: #666;
    border: none;
    border-radius: 3px;
}


h1, h2 {
    font-family: 'Montserrat', san serif;
    font-weight: 400;
    font-size: 38px;
    text-transform: uppercase;
    line-height: 1.3em;

    margin-bottom: 17px;
    color: #fbe000;
    margin-top: 13px;
    
}








.banneri .logo {
    text-align: center;
    margin-top: 37px;
}

.custom-menu-primary .hs-menu-flow-horizontal>ul>li a {
    font-size: 16px;
    line-height: 45px;
    overflow: visible;
}


.cd-testimonials-wrapper {
 
    padding: 20px 5% 70px;
    
    
}

}


@media only screen and (max-width: 360px) {
    
    .rivi4 h3 {
    font-weight: 200;
    font-size: 18px;
    margin-bottom: 4px;
    line-height: 1.2em;
}

h1, h2 {
    font-family: 'Montserrat',san serif;
    font-weight: 400;
    line-height: 1.2em;
    font-size: 24px;
}


.cd-testimonials p {
    font-size: 13px;
    font-weight: 200;
    line-height: 1.3em;
    
}

body .kehys {
 
    padding: 0 11px;
}


.rivi7 h1, .rivi7 h2 {
    font-size: 19px;
    font-weight: 200;
    line-height: 1.3em;
}



.opt-in .hs-rss-item-image-wrapper {
  
    display: none !important;

}



    
}