@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700');


@font-face {
    font-family: 'garagegothic-bold';
    src: url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbd__-webfont.eot');
    src: url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbd__-webfont.eot?#iefix') format('embedded-opentype'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbd__-webfont.woff2') format('woff2'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbd__-webfont.woff') format('woff'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbd__-webfont.ttf') format('truetype'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbd__-webfont.svg#garagegothic-boldregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'garagegothic-black';
    src: url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbl__-webfont.eot');
    src: url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbl__-webfont.eot?#iefix') format('embedded-opentype'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbl__-webfont.woff2') format('woff2'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbl__-webfont.woff') format('woff'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbl__-webfont.ttf') format('truetype'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargbl__-webfont.svg#garagegothic-blackregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'garagegothic';
    src: url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargr___-webfont.eot');
    src: url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargr___-webfont.eot?#iefix') format('embedded-opentype'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargr___-webfont.woff2') format('woff2'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargr___-webfont.woff') format('woff'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargr___-webfont.ttf') format('truetype'),
         url('//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Fonts/gargr___-webfont.svg#garagegothic-regularregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




/*-----------------------------------------------------------------*/
/* 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;
	}
    
    em { 
     font-style: italic;   
    }

	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;
	}
	
	.punainen-otsikko, .musta-otsikko {
    
    background: #aa1c1a;
    margin-bottom: 30px;
    padding-top: 30px; 
    padding-bottom: 20px;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
}

.musta-otsikko {
    
    background: #000;
    
}

.punainen-otsikko h1, .punainen-otsikko h1 * {
    
    color: #fff !important;
    margin: 0;
     padding: 0;
     font-size: 120px !important;
     line-height: 1em !important;
     text-transform: uppercase;
}   

.musta-otsikko h1, .musta-otsikko h1 * {
    
    color: #fff !important;
    margin: 0;
     padding: 0;
     font-size: 120px !important;
     line-height: 1em !important;
     text-transform: uppercase;
}   

@media screen and (max-width: 1100px) {
    
    .punainen-otsikko h1, .punainen-otsikko h1 *,
     .musta-otsikko h1, .musta-otsikko h1 * {
    
 
     font-size: 90px !important;
     line-height: 1.1em !important;
}  
}

@media screen and (max-width: 800px) {
    
    .punainen-otsikko h1, .punainen-otsikko h1 *,
    .musta-otsikko h1, .musta-otsikko h1 * {
    
 
     font-size: 70px !important;
     line-height: 1.1em !important;
}  
}

@media screen and (max-width: 600px) {
    
    .punainen-otsikko h1, .punainen-otsikko h1 *,
    .musta-otsikko h1, .musta-otsikko h1 * {
    
 
     font-size: 50px !important;
     line-height: 1.1em !important;
}  
}

@media screen and (max-width: 400px) {
    
    .punainen-otsikko h1, .punainen-otsikko h1 *,
    .musta-otsikko h1, .musta-otsikko h1 * {
    
 
     font-size: 30px !important;
     line-height: 1.1em !important;
}  
}


/*-----------------------------------------------------------------*/
/* 02. Global styles
/*-----------------------------------------------------------------*/
	body{
		font-family: 'arial', sans-serif;
		font-family: 'Lucida Sans Unicode', arial, sans-serif;
		font-size: 16px;
		line-height: 22px;
        font-weight: 400;
		color: #5a5a50;
	}
    
    strong, b {
        
        font-family: 'garagegothic-bold', san-serif !important; 
        font-weight: 400 !important;
    }
    
    h1 strong, h1 b,  h2 strong, h2 b,  h3 strong, h3 b,  h4 strong, h4 b,  h5 strong, h5 b,  h6 strong, h6 b {
        
        font-family: 'garagegothic-black', san-serif !important; 
        font-weight: 400 !important;
    }


 body div.hs-responsive-embed-wrapper {
 width: 100% !important;
   margin: 0 !important;
   max-width: 100% !important;
   min-width: 1px !important;
   max-height: initial !important;
     padding: 0 !important;
}

body div.hs-responsive-embed-wrapper div {
    
     display: inline-block !important; /* let it be styled thusly */
    padding: 0 !important;            /* get rid of pre-styling */
    margin: 0 0 0 0 !important;
    width: 100% !important;           /* take up full width available */
    padding-top: 56.25% !important;   /* give aspect ratio of 16:9; "720 / 1280 = 0.5625" */
    height: 0px !important;           /* don't want it to expand beyond padding */
    position: relative !important;  
}


 body div.hs-responsive-embed iframe, body div.hs-responsive-embed-wrapper iframe {
    
     position: absolute;    /* expand to fill */
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    max-width: initial;
        width: 100%;
   border: none;
    height: 100%;
}

	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;
	
		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: #056ab2;
		transition: all 180ms ease-in;
		-webkit-transition: all 180ms ease-in;
	}

	p{
		margin-bottom: 24px;
	}
    
    p strong {
        
        color: #aa1c1a;
        font-size: 24px;
        font-size: inherit;
    }
    
    
    .cta75.cta_button {
    
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.header-container .widget-type-global_group, .header-container .widget-type-global_group  * {
    
    min-height: 0 !important;
}

.pienempi-lomake input[type="email"], .pienempi-lomake input[type="number"], .pienempi-lomake input[type="password"], .pienempi-lomake input[type="tel"], .pienempi-lomake input[type="url"],.pienempi-lomake input[type="text"], .pienempi-lomake input:not([type]) {
    padding: 4px 15px;
    
}

 body .pienempi-lomake input[type="submit"],  body .pienempi-lomake input[type="submit"]:hover {
     
     width: 100%;
     box-sizing: border-box;
     display: block;
         margin: 20px 0 10px !important;
 }
 
 .pienempi-lomake h3.form-title { 
     
     margin-bottom: 15px;
     
 }

 form ul.inputs-list {
       
       margin-left: 0;
       margin-bottom: 0;
   }

 form ul.inputs-list li {
 position: relative;
   padding-left: 35px;
   list-style: none;
}

body .body-container form ul.inputs-list li input {
 position: absolute;
  width: 15px !important;
  height: 15px !important;
  top: 3px;
  left: 0;
   z-index: 10;
}

ul.inputs-list.hs-error-msgs {
 margin-top: 5px; 
}
ul.inputs-list input[type="checkbox"] {
    -webkit-appearance: checkbox;
}
   
   ul.inputs-list.hs-error-msgs label {
       
        color: red; 
    
   }

.hs-error-msgs.inputs-list li {
 padding-left: 0 !important; 
  margin-bottom: 10px;
}
   
	hr {
	
		display: block;
	
	
		border: 0;
		padding: 0;
		margin-bottom: 11px;
        
        background: url(//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Images/Taustakuvat/red-dot-bg.jpg) no-repeat center center;
        height: 15px;
        color: #fff;
        margin: 55px 0px;
        width: 100%;
	}
    
    .paamenu {
        
        text-align: right;
    }
    
    
    
    .paamenu li {
        
        float: none;
        list-style: none ;
        float: none; 
        display: inline-block;
        
    }
    
    .paamenu  {
        
        padding: 30px 0;
        display: block;
    }
    
      .paamenu li::after, .paamenu li::before {
        
       background: none;
       content: "" !important;
       position: static;
        
    }
    
    .blog .post-header h2 a,  .blog .blog-section h1 a {
        
        font-size: inherit;
        line-height: inherit;
        font-family: inherit;
    }

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

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

	h1, h2, h3, h4, h5, h6{
		font-family: 'garagegothic-black' !important;
		font-weight: 400;
		color: #505558;
		margin-bottom: 13px;
	}

	h1{
		font-size: 48px;
		line-height: 1em;
        color:  #aa1c1a; 
        background: url(//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Images/Taustakuvat/red-dot-bg.jpg) no-repeat center bottom;
            padding-bottom: 41px;
        margin-bottom: 38px;
        text-align: center;
	}
    
.taustakuva h1 {
  
 background: none; 
  padding: 0;
}
    

	h2{
		font-size: 40px;
		line-height: 1em;
	}

	h3{
		font-size: 30px;
		line-height: 1.05em;
        font-family: 'garagegothic-bold' !important;
	}

	h4{
		font-size: 27px;
		line-height: 1.1em;
        font-family: 'garagegothic-bold' !important;
        color: #6e7779;
	}

	h5{
		font-size: 20px;
		line-height: 1.2em;
        font-family: 'garagegothic-bold' !important;
	}

	h6{
		font-size: 17px;
        font-family: 'garagegothic-bold' !important;
		line-height: 1.3em;
	}

	.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: arial, sans-serif;
		color: #939fa6;
		font-size: 14px;
		line-height: 26px;
		background: #fafcfc;
	}
    
    body textarea {
        
        padding: 8px 15px;
        margin-bottom: 15px;
    }
    
    .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;    
        
    }
    
    .post-listing {
        
            padding-top: 30px;
    }
    
    .post-listing .post-body * {
        
        color: #222;
    }
    
    .hs-menu-item {
        
        list-style: none;
        float: right;
    }
    
    .hs-menu-item a {
        
     color: #fff;
    font-family: garagegothic-black;
    text-decoration: none;
    font-weight: 400;
    font-size: 24px;
    text-align: center;
    letter-spacing: 2px;
    display: inline-block;
        padding: 30px 20px 20px;
    text-transform: uppercase;
    
    }
    
    a.pieni-linkki, .pieni-linkki a {
        
        font-size: 12px; 
        font-family: arial;
        font-weight: bold; 
        color: #464848;
    }
    
    
    .black-friday .header-container {
    background: #fff !important;
}

     .black-friday .black-banner {
    background: #000 !important;
    text-align: center;
    width: 100%;
    margin-bottom: 35px;
    padding: 10px 0;
    
}
    
    .paamenu .hs-menu-flow-horizontal {
    padding: 0px 0px;
}


	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-family: garagegothic;
		font-weight: 400;
		-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: 400;
	}
    
    
    

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


p, div {
    
    font-size: 18px;
    line-height: 1.3em;
    color: #010101;
    color: #828e91;
    font-family: 'arial', sans-serif;
    	font-family: 'Lucida Sans Unicode', arial, sans-serif;
}

a{
    
    font-size: 22px;
   
    line-height: inherit;
    color: #aa1c1a;
    
    font-weight: 400;
    
    text-decoration: none;
        font-family: garagegothic-bold;
}

a:hover {
    
    opacity:0.5;
    transition: all 0.5s;
}

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;
}

.palvelut .kuva {
    
    height: 183px;
    text-align: center;
}

.palvelut .kuva img {
    
    max-height: 183px;
    text-align: center;
}

.opt-in .rivi4 {
    
    padding-top: 40px;
  
    min-height: 448px !important;
    position: relative;
    z-index: 60;

}


.opt-in-simple .logo img {
       padding: 26px 10px 33px 10px;
    box-sizing: border-box;
    max-width: 146px;
}

.opt-in-simple .logo  {
   text-align: center;
   margin-bottom: 20px;
}


.opt-in .rivi4 h2 {
    
 font-size: 150px;   
 line-height: 1em;
}

.opt-in .rivi4 h3 {
    
 font-size: 48px;   
}

.footer-container {
    
    background: #cad2d7;

}


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  {
    
    float: right;
    
}


.blog .body-container-wrapper {
    background: #202a30;
   
}

   .banneri-bg {
        
        background: #d2d6d7;
      
    }
    
    .banneri-bg .kehys {
        
        position: relative;   
    }
    
    .opt-in .header-container {
        
        background: #202a30;
        
    }
    
    .opt-in3 .lomakebg {
        
        background: #cc1527;
         padding: 25px 25px;
         box-sizing: border-box;
         min-height: 449px;
         width: 25%;
         float: left;
         min-height: 434px;
         position: absolute;
         left: 17px;
         top: 0px;
    }
    
     .opt-in3 .banneri {
         
      float: right;
      width: 75%;
      min-height: 434px;
     }
     
     .opt-in3 .banneri .widget-span, .opt-in3 .lomakebg .widget-span {
         
         width: 100% !important;
        
         margin: 0 !important;
         height: 100%;
     }
     
     .opt-in3w .header-container {
         
         background: #fff;
         padding-bottom: 0;
     }
     
     .opt-in .header-container {
         
         
        
     }

.form-columns-1 .hs-input {
  
  width: 100% !important; 
}
     
     .rivi {
         
         padding-top: 80px;
         padding-bottom: 80px;
     }
     
     .rivi-matala {
         
         padding-top: 40px;
         padding-bottom: 40px;
     }
     
     .valkoinen-teksti * {
         
         color: #fff;
     }
     
     
      .tumma-bg {
         
         background: #202a30;
        
     }
     
     .white-bg {
         
      background: #fff;   
      padding: 60px 7%;
      box-sizing: border-box;
     }
     
     .red-bg {
         
         background:  #aa1c1a;
         padding: 30px 20px;
         box-sizing: border-box;
         margin-bottom: 16px;
     }
     
     .red-bg * {
         
         color: #fff;
     }
     
     .black-bg {
         
         background: #202a30;
         padding: 30px 7%;
         box-sizing: border-box;
         margin-bottom: 16px;
     }
     
     .black-bg h1 {
         
         background: url(//cdn2.hubspot.net/hubfs/442165/6-Trainers-house/Images/Taustakuvat/black-bg.png) no-repeat center bottom;
         color: #fff;
     }
     
     .black-bg * {
         
         color: #d7d7d7;
     }
     
     .body-container ul, .body-container ol {
         
         margin-top: 15px;
         margin-bottom: 15px;
     }
     
     .body-container ul li {
         
         padding-bottom: 5px;
     }
     
     .opt-in3 .puhelin {
         
         margin-top: 45px;
     }
     
     .black-bg h2 {
         
         color: #aa1c1a;
     }
     
     .opt-in .header-container .rivi2 .kehys,  .opt-in .header-container .rivi3 .kehys {
         
         padding: 30px 30px;
         box-sizing: border-box;
         
     }
     
     .opt-in .header-container .rivi3 .kehys {
         
         padding: 85px 7%;
         box-sizing: border-box;
    
         
     }
     
     
     .opt-in .header-container .rivi2,  .opt-in .header-container .rivi3,  .opt-in .header-container .rivi1 {
         
         padding: 0px 0px 16px;
        
         
     }
     
     .opt-in .header-container .rivi2 *, .opt-in .header-container .rivi1 * {
         
         color: #fff;
     }
     
     
     
      .opt-in .header-container .rivi1 h3 {
         color: #d6d5da;
     
     }
     
     .opt-in .header-container .rivi2 .bg-image-section {
         
         min-height: 333px;
     }
     
    .opt-in .header-container .rivi1 .hs-form-required {
         
       display: none;  
     }
     
     .blog-listing-wrapper .post-listing .post-item {
         
         background: #fff;
         margin-bottom: 45px;
     }
     
      .blog-listing-wrapper .post-listing .post-item .post-header, .blog-listing-wrapper .post-listing .post-item .post-body  {
          
       padding-left: 35px;
       padding-right: 35px;
       box-sizing: border-box;
      }
      
      .pyorea img, img.pyorea {
          
          border-radius: 50%;
          max-width: 90%;
          box-sizing: border-box;
      }

.youtube, body .hs-responsive-embed {
    
     display: inline-block; /* let it be styled thusly */
    padding: 0;            /* get rid of pre-styling */
    margin: 0 0 2% 0;
    width: 100%;           /* take up full width available */
    padding-top: 56.25%;   /* give aspect ratio of 16:9; "720 / 1280 = 0.5625" */
    height: 0px;           /* don't want it to expand beyond padding */
    position: relative;  
}

.span6 .youtube {
    margin: 0 0 4% 0;
}

.youtube iframe, body .hs-responsive-embed iframe {
    
     position: absolute;    /* expand to fill */
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    max-width: initial;
        width: 100%;
    height: 100%;
}

 .video {
        
       
       
         position: relative;
    padding-bottom: 54%; /* 16:9 */
    padding-top: 25px;
    top: 0px;
    height: 0;
    }
    
     .video-pieni {
       
   
    padding-bottom: 52%; /* 16:9 */
  
    }
    
.kiitos h2 {
    
        font-size: 58px;
        line-height: 1.2em;
}
    
    
.kiitos form label {
    
  
    font-size: 16px;
    font-weight: 400;
    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;

}

form .form-columns-2 .hs-form-field input {
    
    width: 100%;
    box-sizing: border-box;
}

.blog #hs_form_target_blog_subscription input[type="email"], .blog .widget-type-blog_subscribe input[type="email"] {
    width: 100%;
    float: none;
    border: 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;
}


.widget-type-blog_subscribe input[type="submit"] {
    background: #232323 !important;
    color: #ffe600 !important;
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 3px;
    text-decoration: none;
    line-height: 1em;
    padding: 23px 36px;
    text-align: center;
    margin-top: 20px;
    display: inline-block;
    border: none;
    margin: 0 auto !important;
    width: 100%;
  
}

.blog-sidebar ul {
    margin-left: 0px;
    padding-left: 0px;
}


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

.blog-sidebar a {
    
 
    text-decoration: none;
    font-weight: 400;
    font-family: arial;
    font-size: 14px;
    line-height: 1.3em;
    display: block;
    margin-bottom: 10px;

}

.blog-sidebar h3.form-title {
    
          font-family: 'garagegothic',cursive;
    font-weight: 400;
    margin-top: 15px;
    font-size: 35px;
    text-align: center;
   color: #000;
    line-height: 1.1em;
    text-transform: uppercase;
}

.widget-type-post_filter h3, .widget-type-post_listing h3 {
    color: #000;
    font-size: 23px;
    text-align: left;
    font-weight: 400;
    font-family: 'garagegothic',sans-serif;
    line-height: 1.3em;
    
    margin: 0 0 20px;
    text-transform: uppercase;
}


.widget-type-blog_subscribe, .widget-type-post_filter, .widget-type-post_filter, .widget-type-post_listing {
    
    padding: 20px !important;
    background-color: #f3f3f3;
    margin-bottom: 19px;
    border-radius: 5px;
}

.valkoinen * {
    
    color: #fff;
}

form .hs-form-field input {
    
    width: 100%;
    box-sizing: border-box;
}



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

}

.opt-in .banneri form .hs-button:hover {
    background: #000;
    color: #fff;
    padding: 28px 43px;
    margin-top: 0px;
}

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

.blog .post-header h1 {
    margin-bottom: 32px;
    margin-top: 20px;
    font-weight: 400;
    font-size: 63px;
}


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




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

.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: 400;    
    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: 400; 
    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;
}


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

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

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

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

.blog-pagination {
    text-align: center;
    padding: 50px 0px;
}

.blog-section-wrapper {
    
    
    padding: 20px 35px;
    box-sizing: border-box;
}

.blog-section h1 {
    
    background: none;
    text-align: left;
    padding-bottom: 0px;
}

.blog-section {
    
    background: #fff;
}

.blogi-bg {
    
    background: url('//www.superarkea.fi/hubfs/1-Superarkea/Identity/bg/rivi5-bg.jpg');
    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 {
    display: block;
    position: absolute;
    bottom: -40px;
    list-style-type: none;
    color: #fff;
    font-weight: 400;
}

.opt-in .banneri form * {
    
    text-align: left !important;
}

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

form label {
    
    font-size: 15px;
    line-height: 1.3em;
    
}

 .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;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    
}

.opt-in .hs-rss-title span {
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    color: #505558;
 
    margin-bottom: 13px;
    display: block;
}
.opt-in .hs-rss-description a {
    
    display: block;
    margin-top: 20px;
    white-space: nowrap;
    font-size: 20px;
    max-width: 137px;
    text-align: center;
    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: garagegothic;
    font-weight: 400;
    background: #b20505;
    border: 1px solid #b20505;
    color: #fff !important;
        padding: 15px 25px;
}

.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;
}

.opt-in .hs-rss-item-text {
    margin-top: 250px;
}


.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;
}




.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;
}

.rivi2 .hs-button {
    background: #000;
    color: #fff;
}
 
.video iframe, .video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

input {
    
    -webkit-appearance: none;
}


.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%;
}

.opt-in .banneri label, .rivi4 label {
    
  /*   display: none !important; */
}

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

.banneri {
    
    background-color: #f7f7f7;
}


body .kehys {
    
    max-width: 1012px;
    width: 100%;
    margin: 0px auto !important;
  
    float: none !important;
  

    
} 


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

   
}

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

   
}

.kehys-kapea {
    
    max-width: 490px;
    width: 100%;
    margin: 0px auto !important;
  padding-left: 10px;
  padding-right: 10px ;
  box-sizing: border-box;
    float: none !important;
  

    
}


body.opt-in-kapea .kehys {
    
    max-width: 800px;
    width: 100%;
    margin: 0px auto !important;
  
    float: none !important;
  

    
}

.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: 'garagegothic', sans-serif;
 font-size: 18px;
 line-height: 1.8em;
 color: #fff;
 text-decoration: none;
 font-weight: 400;
 text-transform: uppercase;

}

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


* {
    
    max-width: 100%;
}

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



.banneri .hs-button:hover, .rivi4 .hs-button:hover {
    margin-top: 0;
    cursor: pointer;
    background: #b4a200;

    transition: all 1s;
}


.rivi4 hr {
   

    
}

.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;
   
}

.opt-in .banneri form .hs-button {
    text-align: center !important;
    padding: 28px 43px;
    margin-top: 0px;
}

.banneri h1 {
    
    color: #fff;
    font-size: 40px;
    text-transform: uppercase;
     line-height: 1.0em;
}

.banneri h1 strong, .banneri h2 strong  {
    
    color: #ffe600;
    font-weight: 400;
}






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




.rivi2 p {
    
     
    font-size: 18px;
    line-height: 1.3em;
}





.rivi4 form label {
       margin-left: 0;
    margin-top: 10px;
    display: block;
        font-size: 14px !important;
}

.rivi4 form label span {
     font-size: 14px !important;
    
}



.rivi4 h1 span, .rivi4 h2 span {
    
    font-size: inherit;
    line-height: inherit;
}



.rivi4 h2 {
    
    font-size: 115px;
    line-height: 1.1em;
}




.layout-widget-wrapper {
    

}

#hubspot-author_data {
    
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1.3em;
    color: #bdbdbd;
    font-weight: 400;
    display: block; 
    margin-bottom: 30px;
    margin-right: 10px;
}

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

.harmaa-bg {
    
    background: #cad2d7;
}

#hubspot-author_data a {
 color: inherit;
 text-decoration: none;
 font-family: arial;
 font-size: 15px;
}

.social-sharing-wrapper {
    
    display: block;
    height: 30px;
    margin-bottom: 20px;
    }

.blog h2 {
    font-size: 29px;
    line-height: 1em;
}

.blog .post-header h2, .blog .blog-section h1 {
    margin-bottom: 13px;
    font-size: 36px;
    text-transform: none;
    margin-top: 20px;
    line-height: 1em;
    padding-bottom: 0px;
    letter-spacing: 0;
}

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

.blog .post-header h2 a {
    

}

.salesv4 .palvelut {
    
       display: block;
    float: none;
    margin-bottom: 89px; 
}


.salesv4 .red-bg {
    background:  #aa1c1a;
    padding: 30px 20px;
    box-sizing: border-box;
    margin-bottom: 16px;
    min-height: 370px !important;
}


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

.hs_cos_wrapper_type_rich_text ul li {
    list-style: initial;
    
}

.blog .body-container a {
    
 font-family: inherit;
 font-size: inherit;
 line-height: inherit;
}

.hs_cos_wrapper_type_rich_text ul li::before {
    
 content: "" !important;
 margin: 0;
 padding: 0;
}

.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, a.painike2, .painike2 a, a.painike1, .painike1 a {
    
     display: inline-block;
    white-space: initial;
    font-size: 18px ;
    line-height: 20px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    margin-top: 20px;
    box-sizing: border-box !important;
    margin-bottom: 20px;
    text-decoration: none;
    font-weight: 700 !important;
    font-family: arial;
    text-transform: uppercase;
    font-weight: 400;
    background: none;
    border: 1px solid #aa1c1a;
    color: #aa1c1a;
    
    padding: 10px 35px;
    
}

a.painike1, .painike1 a {
    
    background: #aa1c1a;
     color: #fff !important;
     border: 1px solid #aa1c1a;
    
}

a.painike2, .painike2 a {
    
    background: #2f2e30;
    border: 1px solid #fff;
    color: #fff !important;
}

a.painike1:hover, .painike1 a:hover {
    
    background: #000;
     color: #fff !important;
     border: 1px solid #000;
    
}


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

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

a.more-link {

    margin-top: 24px;
    display: block;
    max-width: 180px;
    text-align: center;
    margin-left: 35px;
    display: none;

}



a.trainer-painike, .trainer-painike a {
    
     display: block;
    white-space: initial;
 
    line-height: 20px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    margin-top: 20px;
    font-size: 28px;
    margin-bottom: 20px;
    text-decoration: none;
    font-weight: 700 !important;
    font-family: arial;
    text-transform: uppercase;
    font-weight: 400;
    background: #aa1c1a;
   text-align: center;
    color: #fff !important;
    border-radius: 15px;
    padding: 10px 35px;
    
}

a.trainer-painike.kapea, .trainer-painike.kapea a {
    
    display: inline-block !important;   
}

a.trainer-painike:hover, .trainer-painike a:hover {
    
 transition: all 0.5s;
 background: #000 !important;
 opacity: 1;
   
    color: #fff !important;
}


body .hs-button.primary, body input[type="submit"], body input[type="button"], body .hs-button.primary:hover, body input[type="submit"]:hover, body input[type="button"]:hover {
    
     display: inline-block;
    white-space: normal;
    text-align: center;
    font-size: 24px;
    line-height: 20px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 0px;
    border: 1px solid #b20505;
    margin-right: 10px;
    margin-bottom: 20px;
    text-decoration: none;
    font-family: garagegothic-bold;
    font-weight: 400;
    background: #b20505;
    line-height: 1.2em;
    color: #fff !important;
    width: auto;
    padding: 15px 25px;
    text-align: center;
    box-sizing: border-box;
    letter-spacing: 2px;
    
}

body .lomakebg .hs-button.primary { 
    
     background: #182127;   
}

body .hs-button.primary:hover, body input[type="submit"]:hover, body input[type="button"]:hover {
    
 background: #000;
 color: #fff;
 border: 1px solid #000;
 transition: all 0.5s;
 background: #505558;
    border: 1px solid #505558;
    color: #fff !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;
     font-family: 'garagegothic', sans-serif;
}

.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;
    font-family: 'garagegothic',sans-serif;
    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: #c70b1b;
}

input[type="email"], input[type="number"], input[type="password"], input[type="tel"], input[type="url"], input[type="text"], input:not([type]) {
    
 
      padding: 0 15px;
    font-size: 14px;
    color: #666;
    height: 47px;
    line-height: 25px;
    border: none;
    font-family: arial;
    border-radius: 0px;
    border: 1px solid #eaeaea;
}

.keskita-lomake .hs_cos_wrapper_type_form {
    
    padding-top: 8%;
}


.banneri input, .rivi4 input {
    
    float: left;
    margin-left: 20px;
}

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

.banneri form, .rivi4 form {
    
      max-width: 685px;
    margin: 0 auto;
}

.banneri .hs-button, .rivi4 .hs-button {
    
    margin-top: 0px;
}

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


 .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;
    font-family: garagegothic;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
}



.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;
}

.video-bg {
    
  padding: 0 30px !important;
  box-sizing: border-box;
  margin: 20px 0px;
}


.video-bg h2 {
    
    color: #fff !important;
    margin-top: 33px;
}

.logo {
    
    position: static;
   background: #fff;
    margin-bottom: 45px;
}


.logo img { 
    
    max-width: 166px;
    padding: 68px 0px 42px 24px;
    box-sizing: border-box;
}

.value .logo img {
    
        max-width: 166px;
    padding: 26px 10px 33px 10px;
    box-sizing: border-box;
     max-width: 146px;
}

.value .logo {
    
   
    margin-bottom: 20px;
    text-align: center;

}

.value .paamenu {
    
       
}

a.ae-vihrea {
    font-size: 29px !important;
    color: #fff !important;
    margin-right: 15px;
    margin-top: 15px;
    text-transform: capitalize;
    font-family: 'Raleway',sans-serif !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    font-weight: 600 !important;
    padding: 16px 20px 11px !important;
    background: #36af44;
    display: block;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize !important;
    transition: all 0.4s;
}

a.ae-vihrea * {
    font-size: 29px !important;
    color: #fff !important;
    margin: 0;
    padding: 0 !important;
    text-transform: capitalize;
    font-family: 'Raleway',sans-serif !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 600 !important;
  
    background: #36af44;
    display: initial;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize !important;
    transition: all 0.4s;
}


.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-top: 6%;
    padding-bottom: 6%;
}

.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: 400;
}

@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: 'garagegothic', 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: 400;
  }
}

.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: 400;
  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: 400;
  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 */


.salesv4 .red-bg {
    background:  #aa1c1a;
    padding: 30px 20px;
    box-sizing: border-box;
    margin-bottom: 16px;
    min-height: 70px !important;
}

  /* 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) {

.banneri h1 {
    color: #FFF;
    font-size: 23px;
    line-height: 1.3em;
}

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;
}

a.painike, .painike a, .hs-button {
  
    padding: 15px 29px;
    
}

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

.opt-in .banneri h1 {
    
     line-height: 1.3em;
        font-size: 23px;
}


.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, .rivi4 form {
    
    width: 100%;
    max-width: 400px;
    margin: 0 auto !important;
}

.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: 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 (max-width: 1100px) {
    
    body .kehys {
    max-width: 1060px;
    width: 100%;
    margin: 0 auto !important;
  
    float: none !important;
    padding-left: 20px;
    padding-right: 20px;
}
    
}


@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;
}

 .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;
    
}

.banneri h1 {
    color: #FFF;
    font-size: 33px;
    
}
    
    
    .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;
       
        background: #000;
    }
    
    .banneri .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;
    }
    
    
}

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

h1, h2, h3, h4, h5, h6 {
   

}

.blog .blog-section h1, .blog .blog-section h2 {
    margin-bottom: 13px;
    font-size: 23px;
    text-transform: none;
    margin-top: 20px;
    line-height: 1em;
    padding-bottom: 0;
    font-weight: 700 !important;
    letter-spacing: 0;
    font-family: 'Arial' !important;
    
}

.blog .blog-section h1 a, .blog .blog-section h2 a {
    
    font-weight: 700;
}

}

@media only screen and (max-device-width: 478px) {
    
    
.blog .blog-section h1 {
    margin-bottom: 13px;
    font-size: 26px;
    text-transform: none;
    margin-top: 20px;
    line-height: 1em;
    padding-bottom: 0;
    letter-spacing: 0;
}

}

@media only screen and (max-width: 878px) {
    
    .rivi4 h1, .rivi4 h2 {
    color: #FFF;
    font-size: 41px !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;
    
}

.logo img {
    max-width: 166px;
    padding: 68px 5px 42px 5px;
    box-sizing: border-box;
}


.hs-menu-item a {
    line-height: 1.3em;
    font-size: 19px;
    
}

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



.opt-in .hs-rss-item-text {
    margin-top: 373px;
}

    .cd-testimonials p {
    font-size: 16px;
    font-weight: 200;
    line-height: 1.3em;
    
    text-transform: none;
    font-family: 'garagegothic',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: 'garagegothic',cursive;
    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) {
    
    
.widget-type-form {
    
    max-width: 350px !important;
    margin: 0 auto !important; 
}

h3.form-title {
    
    margin-top: 30px;
}

.video {
        
       
       
         position: relative;
    padding-bottom: 53%; /* 16:9 */
    padding-top: 25px;
    top: 0px;
    height: 0;
    }
    
    
body .hs-menu-wrapper.hs-menu-flow-horizontal>ul {
    float: none;
    text-align: center;
}

  .paamenu {
        
        text-align: center;
    }

.bg-image-section {
    
    background: #202a30 !important;
    text-align: center;
}

.paamenu {
    
    border-top: 10px #fff solid;
    margin-top: 35px;
    padding-top: 20px;
    padding-bottom: 35px;
}

body .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1 {
    float: none;
    display: block;
    text-align: center;
}

.hs-menu-item a {
    color: #fff;
    font-family: garagegothic-black;
    text-decoration: none;
    font-weight: 400;
    font-size: 24px;
    text-align: center;
    letter-spacing: 2px;
    display: inline-block;
    padding: 10px 20px 10px;
    text-transform: uppercase;
}




}

@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%;
}

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

a.trainer-painike {
    
    font-size: 17px !important;
    line-height: 1.1em !important;
}

h1, h2, h1 *, h2 * {
    font-family: 'garagegothic',cursive;
    font-weight: 400;
    line-height: 1.3em !important;
    font-size: 30px !important;
}

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: 17px;
    color: #666;

    width: auto;
    max-width: 90%;
       
}

body .kehys {
   
   
    box-sizing: border-box;
}

.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;
}



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: 17px;
    color: #666;
  
    border-radius: 0px;
}


h1, h2, h1 *, h2 * {
    font-family: 'garagegothic',cursive;
    font-weight: 400;
    font-size: 38px !important;
    text-transform: uppercase;
    line-height: 1.3em !important;

    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: 420px) {
    
 .video {
        
       
       
         position: relative;
    padding-bottom: 49%; /* 16:9 */
    padding-top: 25px;
    top: 0px;
    height: 0;
    }
    
    
    
}
    

@media only screen and (max-width: 360px) {
    
h1, h2, h3, h1 span, h2 span, h3 span {
    font-family: 'garagegothic',cursive;
    font-weight: 400;
    line-height: 1.3em !important;
    font-size: 19px !important;
}



    
}



