



/* These includes are optional, but helpful. */
/* Images */

img {
    max-width: 100%;
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: bottom; /* Suppress the space beneath the baseline */
}

/* Videos */

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

/* Embed Container (iFrame, Object, Embed) */

.hs-responsive-embed {
    position: relative;
    height: auto;
    overflow: hidden;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.hs-responsive-embed iframe, .hs-responsive-embed object, .hs-responsive-embed embed {
    width: 100%;
    height: 100%;
    border: 0;
}

.hs-responsive-embed,
.hs-responsive-embed.hs-responsive-embed-youtube,
.hs-responsive-embed.hs-responsive-embed-wistia,
.hs-responsive-embed.hs-responsive-embed-vimeo {
    padding-bottom: 2%;
}

.hs-responsive-embed.hs-responsive-embed-instagram {
    padding-bottom: 116.01%;
}

.hs-responsive-embed.hs-responsive-embed-pinterest {
    height: auto;
    overflow: visible;
    padding: 0;
}

.hs-responsive-embed.hs-responsive-embed-pinterest iframe {
    position: static;
    width: auto;
    height: auto;
}

iframe[src^="http://www.slideshare.net/slideshow/embed_code/"] {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 568px) {
    iframe {
        max-width: 100%;
    }
}

/* Forms */

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select {
    padding: 6px;
    display: inline-block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Menus */

.hs-menu-wrapper ul {
    padding: 0;
}

.hs-menu-wrapper.hs-menu-flow-horizontal ul {
    list-style: none;
    margin: 0;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    display: inline-block;
    margin-bottom: 20px;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul:before {
    content: " ";
    display: table;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul:after {
    content: " ";
    display: table;
    clear: both;
}

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

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
    display: inline-block;
    padding: 10px 20px;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children {
    position: relative;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    position: absolute;
    z-index: 10;
    left: 0;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
    display: block;
    white-space: nowrap;
    width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-item-has-children ul.hs-menu-children-wrapper {
    left: 180px;
    top: 0;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children:hover > ul.hs-menu-children-wrapper {
    opacity: 1;
    visibility: visible;
}

.row-fluid-wrapper:last-child .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    margin-bottom: 0;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch {
    position: relative;
    margin-bottom: 20px;
    min-height: 7em;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul {
    margin-bottom: 0;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children {
    position: static;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    display: none;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper {
    display: block;
    visibility: visible;
    opacity: 1;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper:before {
    content: " ";
    display: table;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper:after {
    content: " ";
    display: table;
    clear: both;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li {
    float: left;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li a {
    display: inline-block;
    padding: 10px 20px;
    white-space: nowrap;
    max-width: 140px;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.hs-menu-wrapper.hs-menu-flow-vertical {
    width: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical ul {
    list-style: none;
    margin: 0;
}

.hs-menu-wrapper.hs-menu-flow-vertical li a {
    display: block;
    white-space: nowrap;
    width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul {
    margin-bottom: 20px;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-menu-depth-1 > a {
    width: auto;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul li a {
    padding: 10px 20px;
    text-decoration: none;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-item-has-children {
    position: relative;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 180px;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-item-has-children:hover > ul.hs-menu-children-wrapper {
    opacity: 1;
    visibility: visible;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li a {
    min-width: 140px;
    width: auto;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul {
    max-width: 100%;
    overflow: hidden;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    display: none;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper,
.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li.hs-item-has-children > ul.hs-menu-children-wrapper {
    display: block;
    visibility: visible;
    opacity: 1;
    position: static;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-2 > a {
    padding-left: 4em;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-3 > a {
    padding-left: 6em;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-4 > a {
    padding-left: 8em;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-5 > a {
    padding-left: 140px;
}

.hs-menu-wrapper.hs-menu-not-show-active-branch li.hs-menu-depth-1 ul {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
}

@media (max-width: 568px) {
    .hs-menu-wrapper, .hs-menu-wrapper * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
        width: 100%;
    }

    .hs-menu-wrapper.hs-menu-flow-horizontal ul {
        list-style: none;
        margin: 0;
        display: block;
    }

    .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
        display: block;
    }

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

    .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a,
    .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a,
    .hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li a {
        display: block;
        max-width: 100%;
        width: 100%;
    }
}

.hs-menu-wrapper.hs-menu-flow-vertical.no-flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper,
.hs-menu-wrapper.hs-menu-flow-horizontal.no-flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    visibility: visible;
    opacity: 1;
}

/* Space Module */

.widget-type-space {
    visibility: hidden;
}

/* Blog Author Section */

.hs-author-listing-header {
    margin: 0 0 .75em 0;
}

.hs-author-social-links {
    display: inline-block;
}

.hs-author-social-links a.hs-author-social-link {
    width: 24px;
    height: 24px;
    border-width: 0px;
    border: 0px;
    line-height: 24px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    display: inline-block;
    text-indent: -99999px;
}

.hs-author-social-links a.hs-author-social-link.hs-social-facebook {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/facebook-24x24.png");
}

.hs-author-social-links a.hs-author-social-link.hs-social-linkedin {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/linkedin-24x24.png");
}

.hs-author-social-links a.hs-author-social-link.hs-social-twitter {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/twitter-24x24.png");
}

.hs-author-social-links a.hs-author-social-link.hs-social-google-plus {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/googleplus-24x24.png");
}

/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

/* Wrapper */
.hs_cos_wrapper_type_image_slider {
    display: block;
    overflow: hidden
}

/* Browser Resets */
.hs_cos_flex-container a:active,
.hs_cos_flex-slider a:active,
.hs_cos_flex-container a:focus,
.hs_cos_flex-slider a:focus  {outline: none;}
.hs_cos_flex-slides,
.hs_cos_flex-control-nav,
.hs_cos_flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* FlexSlider Necessary Styles
*********************************/
.hs_cos_flex-slider {margin: 0; padding: 0;}
.hs_cos_flex-slider .hs_cos_flex-slides > li {display: none; -webkit-backface-visibility: hidden; position: relative;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.hs_cos_flex-slider .hs_cos_flex-slides img {width: 100%; display: block; border-radius: 0px;}
.hs_cos_flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .hs_cos_flex-slides element */
.hs_cos_flex-slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .hs_cos_flex-slides {display: block;}
* html .hs_cos_flex-slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */

/* FlexSlider Default Theme
*********************************/
.hs_cos_flex-slider {margin: 0 0 60px; background: #fff; border: 0; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; zoom: 1;}
.hs_cos_flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .hs_cos_flex-viewport {max-height: 300px;}
.hs_cos_flex-slider .hs_cos_flex-slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.hs_cos_flex-direction-nav {*height: 0;}
.hs_cos_flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(//static.hsappstatic.net/content_shared_assets/static-1.3935/img/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.hs_cos_flex-direction-nav .hs_cos_flex-next {background-position: 100% 0; right: -36px; }
.hs_cos_flex-direction-nav .hs_cos_flex-prev {left: -36px;}
.hs_cos_flex-slider:hover .hs_cos_flex-next {opacity: 0.8; right: 5px;}
.hs_cos_flex-slider:hover .hs_cos_flex-prev {opacity: 0.8; left: 5px;}
.hs_cos_flex-slider:hover .hs_cos_flex-next:hover, .hs_cos_flex-slider:hover .hs_cos_flex-prev:hover {opacity: 1;}
.hs_cos_flex-direction-nav .hs_cos_flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Direction Nav for the Thumbnail Carousel */
.hs_cos_flex_thumbnavs-direction-nav {
    margin: 0px;
    padding: 0px;
    list-style: none;
    }
.hs_cos_flex_thumbnavs-direction-nav {*height: 0;}
.hs_cos_flex_thumbnavs-direction-nav a {width: 30px; height: 140px; margin: -60px 0 0; display: block; background: url(//static.hsappstatic.net/content_shared_assets/static-1.3935/img/bg_direction_nav.png) no-repeat 0 40%; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 1; -webkit-transition: all .3s ease;}
.hs_cos_flex_thumbnavs-direction-nav .hs_cos_flex_thumbnavs-next {background-position: 100% 40%; right: 0px; }
.hs_cos_flex_thumbnavs-direction-nav .hs_cos_flex_thumbnavs-prev {left: 0px;}
.hs-cos-flex-slider-control-panel img { cursor: pointer; }
.hs-cos-flex-slider-control-panel img:hover { opacity:.8; }
.hs-cos-flex-slider-control-panel { margin-top: -30px; }



/* Control Nav */
.hs_cos_flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.hs_cos_flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.hs_cos_flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.hs_cos_flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.hs_cos_flex-control-paging li a.hs_cos_flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.hs_cos_flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.hs_cos_flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.hs_cos_flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.hs_cos_flex-control-thumbs img:hover {opacity: 1;}
.hs_cos_flex-control-thumbs .hs_cos_flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .hs_cos_flex-direction-nav .hs_cos_flex-prev {opacity: 1; left: 0;}
  .hs_cos_flex-direction-nav .hs_cos_flex-next {opacity: 1; right: 0;}
}

.hs_cos_flex-slider .caption {
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    font-size: 2em;
    line-height: 1.1em;
    color: white;
    padding: 0px 5% 0px 5%;
    width: 100%;
    bottom: 0;
    text-align: center;
}

.hs_cos_flex-slider .superimpose .caption {
    color: white;
    font-size: 3em;
    line-height: 1.1em;
    position: absolute;
    padding: 0px 5% 0px 5%;
    width: 90%;
    top: 40%;
    text-align: center;
    background-color: transparent;
}

@media all and (max-width: 400px) {
    .hs_cos_flex-slider .superimpose .caption {
        background-color: black;
        position: static;
        font-size: 2em;
        line-height: 1.1em;
        color: white;
        width: 90%;
        padding: 0px 5% 0px 5%;
        top: 40%;
        text-align: center;
    }

    /* beat recaptcha into being responsive, !importants and specificity are necessary */
    #recaptcha_area table#recaptcha_table {width: 300px !important;}
    #recaptcha_area table#recaptcha_table .recaptcha_r1_c1 {width: 300px !important;}
    #recaptcha_area table#recaptcha_table .recaptcha_r4_c4 { width: 67px !important;}
    #recaptcha_area table#recaptcha_table #recaptcha_image {width:280px !important;}
}

.hs_cos_flex-slider h1,
.hs_cos_flex-slider h2,
.hs_cos_flex-slider h3,
.hs_cos_flex-slider h4,
.hs_cos_flex-slider h5,
.hs_cos_flex-slider h6,
.hs_cos_flex-slider p {
    color: white;
}

/* Thumbnail only version of the gallery */
.hs-gallery-thumbnails li {
    display: inline-block;
    margin: 0px;
    padding: 0px;
    margin-right:-4px;
}
.hs-gallery-thumbnails.fixed-height li img {
    max-height: 150px;
    margin: 0px;
    padding: 0px;
    border-width: 0px;
}


/* responsive pre elements */

pre {
    overflow-x: auto;
}

/* responsive pre tables */

table pre {
    white-space: pre-wrap;
}

/* adding minimal spacing for blog comments */
.comment {
    margin: 10px 0 10px 0;
}

/* make sure lines with no whitespace don't interefere with layout */
.hs_cos_wrapper_type_rich_text,
.hs_cos_wrapper_type_text,
.hs_cos_wrapper_type_header,
.hs_cos_wrapper_type_section_header,
.hs_cos_wrapper_type_raw_html,
.hs_cos_wrapper_type_raw_jinja,
.hs_cos_wrapper_type_page_footer {
    word-wrap: break-word;
}
/* HTML 5 Reset */

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

audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
}

/* Support migrations from wordpress */

.wp-float-left {
    float: left;
    margin: 0 20px 20px 0;
}

.wp-float-right {
    float: right;
    margin: 0 0 20px 20px;
}

/* Responsive Google Maps */

#map_canvas img, .google-maps img {
    max-width: none;
}

/* line height fix for reCaptcha theme */
#recaptcha_table td {line-height: 0;}
.recaptchatable #recaptcha_response_field {min-height: 0;line-height: 12px;}


.g2017-header .hs-menu-wrapper.hs-menu-flow-horizontal ul li.hs-menu-depth-1:first-child,
.g2017 .mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1:first-child{
    
   
}

#cta_button_524565_cc341ed7-f946-415c-925d-b2aa5d00b3c2 {
    
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    font-weight: 600 !important;
    width: auto;
    display: inline-block !important;
    height: auto !important;
    max-width: 100% !important;
   
}


.wf-loading header .menu a, .wf-loading header .menulinkit a, .wf-loading h1, .wf-loading .header-yhteystiedot {
    opacity: 0 !important;
  
}
.wf-active header .menu a, .wf-inactive header .menu a, .wf-active header .menulinkit a, .wf-inactive header .menulinkit a, .wf-inactive h1, .wf-active h1, .wf-active .header-yhteystiedot, .wf-inactive .header-yhteystiedot {
    opacity: 1 !important;
  transition: opacity 0.3s;
}


/****************************************/
/* HubSpot Style Boilerplate            */
/****************************************/




body {
    
    background: #fff;
    color: #333333;
    font-size: 16px;  
 line-height: 1.4em;
 font-family: "proxima-nova",sans-serif;

margin: 0;
padding: 0;
}

* {
    
    box-sizing: border-box;
}


a {
    
    color: #ef433f;
    cursor: pointer;
   
}

p {
    
 font-size: 16px;  
 line-height: 1.4em;
 font-family: "proxima-nova",sans-serif;
 margin: 0px 0px 20px;
}


li {
    
 font-size: 16px;  
 line-height: 1.4em;
 font-family: "proxima-nova",sans-serif;
 margin: 0px;
 padding: 0px;
}


.body-container li {
    
    margin-bottom: 5px;   
}

form legend {
    
    max-width: 100%;
    display: block;
}

.hs-form label {
    
    font-weight: 700;
    margin-top: 16px;
    display: block;
}

.hs-form  .inputs-list label {
    
    margin-top: 0;
}

.hs-form .inputs-list label {
    
    font-weight: 400;
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: bold;
    line-height: 1.1;
    color: inherit;
          word-break: break-word;
}

h4 > a {
  color: #1B1B1B;
}
 
 h1, .h1 {
    font-size: 40px;
}

h2, .h2 {
    font-size: 35px;
     margin: 0.5em 0 1em;
}

.g2017 h2, .g2017 .h2 {
    font-size: 34px;
     margin: 0.5em 0 1em;
     font-weight: 900;
     line-height: 1.1em;
     text-transform: uppercase;
}

h2.less-margin {
  margin-bottom: 10px !important; 
}

 
 h3, .h3 {
    font-size: 24px;
    margin: 0.5em 0 1em;
}

h4, .h4 {
    font-size: 18px;
     margin: 0.5em 0 1em;
}

.blog .post-body h4 {
 font-weight: 400;
  font-size: 20px;
   margin: 0.5em 0 1em;
  line-height: 1.5em;
}

.blog .post-body p, 
.blog .post-body div,
.blog .post-body ol,
.blog .post-body ul {
  font-size: 20px;
  line-height: 1.5em;
}

.blog .post-body h2 {
  line-height: 1.1;
  font-size: 48px;
  text-align: left;
  font-weight: 900;
  text-transform: none;
  margin-top: 1.5em;
  margin-bottom: 30px;
}

.blog .post-body h3 {
  line-height: 1.1;
  font-size: 31px;
  text-align: left;
  font-weight: 900;
  text-transform: none;
  margin-top: 30px;
  margin-bottom: 20px;
}


.blog .post-body h2:after {
  display: none !important;
}

.blog .post-body h5 {
 font-weight: 400;
  font-size: 18px;
  line-height: 1.5em;
   margin: 0.5em 0 1em;
}

.blog .post-body a {
  color: inherit;
  text-decoration: underline;
}

.blog .post-body a:hover {
  color: #595959;
  text-decoration: underline;
}

.blog .post-body h5 span, .blog .post-body h4 span {
 font-weight: inherit;
  font-size: inherit;
  line-height: inherit;   
}


.blog .post-body form {
  margin-left: 0;
}

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

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

.rivi-bottom,
.no-pb {
    padding-bottom: 0px !important;
}

.rivi-top {
  	padding-top: 50px;
    padding-bottom: 0px
}

.no-pt {
  padding-top: 0px !important;
}
 
 img {
     
     height: auto !important;
 }

input[type="file"] {

min-height: 46px;

}

span, li, td, a, p {
    
    font-size:  inherit;
    line-height: inherit;
    font-family: "proxima-nova",sans-serif;
}

.taso2 .tuotteet .h1, .taso2 .tuotteet h2, .taso2 .tuotteet h3, .taso2 .tuotteet h4 {
    
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 10px 0px 6px; 
    line-height: 1.3em;
}




.g2017 .body-container .blog-post-sivupalkki .cta_button  {
    
    width: 200px;
}


/* G2017 */

/* Graaf. ilmeen mukaiset maustevärit */

.vaaleanvihrea-bg {
    background: #afd46c !important;
}

.vihrea-bg {
    background: #45b97c !important;
}

.turkoosi-bg {
    background: #50bcbc !important;
}

.pinkki-bg {
    background: #f1729e !important;
}

.violetti-bg {
    background: #b369ab !important;
}

.cookie-table {
 max-width: 100%;
  overflow-x: auto;
}

.cookie-table table, .cookie-table .CookieDeclaration {
  
  width: 100%;
  max-width: 1500px;
  min-width: 900px;
}

@media (min-width: 960px) {
  
  
  width: 100%;
  max-width: 100%;
  min-width: 1px;
}

.cookie-table table tr td:first-child {
 width: 300px; 
}

body div#hs-eu-cookie-confirmation {
    position: fixed;
    left: 0;
    bottom: 0;
    top: initial;
    width: 100%;
    height: auto;
   
    color: rgb(55, 55, 55) !important;
    background-color: rgb(248, 234, 173) !important;
    text-align: center !important;
    background-image: none !important;
    z-index: 99100000000 !important;
    
}

body div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner {
    
    padding: 10px 5%;
}

body div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p {
    
    text-align: center !important;
    color: rgb(55, 55, 55) !important;
    text-shadow: initial !important;
    display: inline-block !important;
    margin: 5px 0 !important;
    font-size: 16px !important;
    line-height: 1em;
    
    max-width: 90%;
    
   
}

body ._hj-f5b2a1eb-9b07_widget {
    
    z-index: 147483647;
}


@media screen and (max-width: 1200px) {
    
    body div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p {
    
   
    font-size: 13px !important;
    line-height: 1em;
    
  
    
   
}
    
}


body div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button {
    
        background: #ffcc33 !important;
    color: #000 !important;
    border-radius: 0 !important;
    padding: 9px 30px !important;
    box-sizing: border-box !important;
    font-weight: 600 !important;
    width: auto;
    display: inline-block;
    border: none !important;
    text-decoration: underline !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    line-height: 1em !important;
    max-width: 100% !important;
    font-family: "proxima-nova", sans-serif !important;
    box-shadow: none !important;
    min-width: 140px;
    color: rgb(55, 55, 55) !important;
    border-color: transparent;
    background: rgb(255, 255, 255) !important;
    text-align: center;
    white-space: nowrap;
    margin-top: 5px;
    margin-bottom: 5px;
}

div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-en-cookie-confirmation-buttons-area {
    text-align: center !important;
    display: inline-block !important;
    margin-left: 30px;
   
}

.g2017 h2, .g2017 .h2, .g2017 h1, .g2017 .h1 {
    
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    line-height: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 50px;
}

.g2017 h2, .g2017 .h2 {
    
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    line-height: 34px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 50px;
}

body.g2017, .g2017 p {
    
    font-size: 14px;
   
    line-height: 24px;
    color: #1B1B1B;
}

.etusivu.g2020 .aa-multicolumn p {
  font-size: 18px;
  line-height: 24px;
}

.etusivu.g2020 .aa-multicolumn h2 {
  margin-bottom: 25px;
}

.g2017 .body-container .hs_cos_wrapper_type_rich_text h2::after, 
.g2017 .body-container .hs_cos_wrapper_type_rich_text .h2::after, 
.g2017 .body-container .hs_cos_wrapper_type_rich_text h1::after, 
.g2017 .body-container .hs_cos_wrapper_type_rich_text .h1::after,
.g2017 .ingressi h2::after, 
.g2017 .ingressi .h2::after, 
.g2017 .ingressi h1::after, 
.g2017 .ingressi .h1::after,
.keltainen-viiva::after {
    
   content: " ";
    display: block;
    margin: 20px auto 0 auto;
    background: #ffc925;
    height: 3px;
    width: 40px;
    
}

span.hs-breadcrumb-label {
 opacity: 0.5; 
}

a:hover {
    
    opacity: 0.7;
    
    
}

.g2018-bg-black {
 	background: rgb(0,0,0); 
}

.g2018-bg-white {
 	background: rgb(255,255,255); 
}


.g2018-bg-green {
 	background: rgb(69,185,124); 
}

.g2018-bg-turquoise {
 	background: rgb(80,188,188); 
}

.g2018-bg-pink {
 	background: rgb(241,114,158); 
}

.g2018-bg-dark-yellow {
 	background: rgb(175,212,108); 
}

.g2018-bg-purple {
 	background: rgb(179,105,171); 
}

.g2018-bg-yellow {
 background: #ffcc33;
}

.g2018-bg-gray {
   background: #242424;
}

.g2018-bg-black.background-opacity-80 {
 	background: rgba(0,0,0,0.8); 
}

.g2018-bg-white.background-opacity-80 {
 	background: rgba(255,255,255,0.8); 
}


.g2018-bg-green.background-opacity-80 {
 	background: rgba(69,185,124,0.8); 
}

.g2018-bg-turquoise.background-opacity-80 {
 	background: rgba(80,188,188,0.8); 
}

.g2018-bg-pink.background-opacity-80 {
 	background: rgba(241,114,158,0.8); 
}

.g2018-bg-dark-yellow.background-opacity-80 {
 	background: rgba(175,212,108,0.8); 
}

.g2018-bg-purple.background-opacity-80 {
 	background: rgba(179,105,171,0.8); 
}

.g2018-bg-yellow.background-opacity-80 {

  background: rgba(255,204,51,0.8); 
}

.g2018-bg-gray.background-opacity-80 {
  background: rgba(36,36,36,0.8); 
}
 

.g2017-footer h2 {
    
  
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    line-height: 40px;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.g2017-footer form h2 {


    font-size: 12px !important;
    font-weight: 900 !important;
    text-align: center;
       line-height: 1.5em !important;
    letter-spacing: 1px;
    margin: 0 0 15px;
    letter-spacing: 1px;
  
    color: #FFFFFF;
    
}

.g2017-footer form label {
    
    display: none;
}

.g2017-footer form .hs-error-msgs label {
    
    display: block; 
    opacity: 0.8;
}

.g2017-footer .hs-form fieldset .hs-input {
    
    width: 100% !important;
  
    border: none;
    border-radius: 0;
    font-size: 12px;
    font-weight: 300;
    text-align: center;
    line-height: 24px;
    margin: 0 0 1px 0;
    color: #242424;
}

.g2017-footer  .hs-button {
    border: 0;
   
    background-color: #ee4446;
    color: #fff;
    margin-top: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    font-family: "proxima-nova",sans-serif;
    transition: all .5s ease;
    -webkit-appearance: none;
    
    padding: 10px 10px;
    font-size: 14px;
    font-weight: 600;
    display: block;
    width: 100%;
    cursor: pointer;
    letter-spacing: 1px;
    text-align: center;
    line-height: 17px;
    color: #FFFFFF;
}

.g2017-footer .hs-form fieldset.form-columns-2 .hs-form-field:last-child {
    
   border-left: 1px solid #242424;
}

.g2017-footer .hs-form fieldset .input {
    margin: 0 0 1px 0 !important;
}

.g2017-footer p strong {
    
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    line-height: 40px;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.g2017-footer .hs_cos_wrapper_type_menu ul {
    
    margin: 0;
    padding: 0;
}

.g2017-footer .hs_cos_wrapper_type_menu ul li {
        
        list-style: none;
        text-align: center;
        margin: 0 0 15px 0;
        display: block;
    }
    
    .g2017-footer  .hs-menu-wrapper.hs-menu-flow-vertical > ul li ul {
        
        background: #fff;
        box-sizing: border-box;
        text-align: left ;
        border: 1px solid #eee;
            border-top: 4px solid #FFCC33;
        padding: 20px;
        width: 254px;
    }
    
     .g2017-footer  .hs-menu-wrapper.hs-menu-flow-vertical > ul li ul li ul {
         
         display: none;
         width: 350px;
     }
     
      .g2017-footer  .hs-menu-wrapper.hs-menu-flow-vertical > ul li ul li:hover ul {
         
         display: block;
     }
    
    .g2017-footer  .hs-menu-wrapper.hs-menu-flow-vertical > ul li ul li {
        
    
        margin: 0;
        text-align: left ;
       
        
    }


    
    .header-puhelin {
        
       
        width: 100%;
        color: #ccc;
        font-size: 13px;
        line-height: 1.1em;
        text-align: right;
        padding-right: 0;
    }
    
    .header-puhelin .fa {
        
        font-size: 18px;
        position: absolute;
        top: 0;
        left: 0;
        padding-right: 0;
    }
    
     .header-puhelin span {
         
        font-size: 10px;   
     }
    
    .header-puhelin a {
    
         color: #FFCC33;
         font-size: 15px;
        line-height: 1.1em;
        padding-left:18px;
        padding-right: 10px;
        position: relative;
    }
    
    .header-puhelin a:hover {
        
        color: #FFCC33
        text-decoration: underline;
    }
    
    .header-yhteystiedot {
        
      padding: 12px 0;
    background: #3c3c3c;
    text-align: right;
    }
    
     
      .g2017-footer  .hs-menu-wrapper.hs-menu-flow-vertical > ul li ul li a {
        padding: 2px 0;
        width: 100%;
     }  
    
  .g2017-footer  .hs-menu-wrapper.hs-menu-flow-vertical > ul li a {
      
      padding: 4px 10px;
     
  }
  
   .g2017-footer  .hs-menu-wrapper.hs-menu-flow-vertical > ul li ul li a {
       color: #242424;
       max-width: 100%;
       white-space: initial;
   }    

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

.g2017-footer a, .g2017-footer {
    
   
    font-size: 14px;
    font-weight: 300;
   text-decoration: none;
    line-height: 1.3em;
    color: #FFFFFF;
}

.g2017-footer p {
    
    margin: 0 0 15px 0;
}

.g2017-footer .form-title {
    
    display: none;
}


.g2017-header {
    
   padding-top: 20px;
    padding-bottom: 13px;
   
   
}

.g2017-header .desktop-menu {
    
    position: relative;
    z-index: 20;
}

.g2017-header .desktop-menu ul, .g2017-header .desktop-menu ul * {
    
    background: none;
}   

.g2017-header .g2017-menu.menu {
    
    margin: 0;
    position: relative;
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1),
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) {
    
   position: static;
}



.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li{
    
    display: inline-block;
    width: 29.33%;
    margin: 0 3% 3% 0;
        vertical-align: top;
    
}

.header-new .g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li:first-child,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li {
    
    display: inline-block;
    width: 32.9%;
    margin: 0 0 25px 0;
        vertical-align: top;
  box-sizing: border-box;
  padding-left: 8px;
  padding-right: 8px;
    
}

.header-new .g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hide-link,
.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hide-link {
  display: none;
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li:first-child {
    
    display: block;
    width: 100%;
    margin: 0 0 3% 0;
        vertical-align: top;
    
}

.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li:last-child,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li:last-child{
  /*  
    display: block;
    width: 100%;
    margin: 0 0 3% 0;
        vertical-align: top;
    */
}

.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li a span.hae,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li a span.hae {
  font-size: 15px;
  line-height: 17px;
  text-decoration: underline;
  display: inline-block;
}

.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li a span.hae::after,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li a span.hae::after {
  content: "⟶";
  padding-left: 15px;
   text-decoration: none;
  display: inline-block;
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li li,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li li {
    
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}


.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-2 > a,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li.hs-menu-depth-2 > a {
    text-transform: uppercase;   
    font-weight: 900;
    color: #969696;
    
}

.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-2 > a,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li.hs-menu-depth-2 > a {
    text-transform: none;
    font-weight: 900;
    color: #000;
    font-size: 17px;
    line-height: 20px;
    text-overflow: initial;
    overflow: visible;
    word-wrap: unset;
    white-space: normal;
    
}

@media screen and (max-width: 1350px) and (min-width: 1016px) {
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-2 > a,
  .g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li.hs-menu-depth-2 > a {
      font-size: 15px;
    line-height: 17px;
}
  
  .g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
    max-width: 100%;
    width: 100%;
    display: block;
    padding: 2px 0 2px;
    font-size: 13px;
    line-height: 1.1em;
}
  
}

.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-3 > a,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-2 > a,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-1 > a,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li.hs-menu-depth-3 > a,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li.hs-menu-depth-2 > a,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li.hs-menu-depth-1 > a {
      white-space: initial;
    overflow: initial;
    text-overflow: initial;
  max-width: 100%;
}


.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li ul li a,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li ul li a {
    text-transform: none;   
}



.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-2 > a::after,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li.hs-menu-depth-2 > a::after {
    content: none !important;
    padding-left: 0;
    cursor: default;
    
}  

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-2 > a:hover,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul li.hs-menu-depth-2 > a:hover {
    
   
    opacity: 1;
    color: #242424;
    
}

.float-right {
    
    float: right;
}

 .smaller-search {
        
        display: block !important;
    }
    
.bigger-search {
    
    display: none !important;
}

.header-new .g2017-header .toisentason-menu {
   
    padding-right: 18px;
}

a.all-link {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 55;
  background: transparent !important;
}

@media screen and (min-width: 1240px) {
    
   .header-new .g2017-header .etsi-painike {
    position: absolute;
    right: 21px;
    z-index: 50;
    top: 8px;
    width: 183px;
}

    .bigger-search {
        
        display: block !important;
    }
    
    .smaller-search {
        
        display: none !important;
    }
    
    .header-new .g2017-header .toisentason-menu {
   
    padding-right: 204px;
}

}


.header-new .header-puhelin span {
    
    font-size: 13px;
    line-height: 1em;
}
.g2017 .header-new .g2017-header .toisentason-menu .menulinkit a {
    
  
/*    font-weight: 400;
    font-size: 14px;
    line-height: 1em;
    color: #a1a1a1;
    padding: 10px;
    
    */
}

body.g2017 .header-new .g2017-header .toisentason-menu .menulinkit a.verkkokauppa-btn {
    padding: 10px;   
    border: 1px solid #ffcc33;
}

body.g2017 .header-new .g2017-header .toisentason-menu .menulinkit {
    
    padding-top: 1px;
}

.g2017 .header-new .g2017-header .toisentason-menu .menulinkit a:hover {

    color: #facc3c;
  
}

.g2017 .header-new .g2017-header .toisentason-menu .menulinkit a.verkkokauppa-btn:hover {
    
    color: #fff;
  border: 1px solid #fff;
  transition: all 0.3s;
}

.header-new .js-delay {
 opacity: 0; 
}

.header-new .js-delay:hover {
 transition: 1s all 
}

.header-new .js-delay.show {
 opacity: 1; 
  transition: 0.5s all;
}

.header-new  .g2017-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1 > a {
    
        color: #d4d4d4;
 /*   font-size: 14px;
    font-weight: 400;
      letter-spacing: 0.5px;
    */
    padding: 13px 10px;
  
}

.header-new .lang-nav.lahella {
    
        position: relative;
    right: initial;
    z-index: 40;
    top: initial;
    padding-left: 30px;
    width: auto;
    text-align: right;
}

.header-new .lang-nav.lahella::before {
    display: block;
    width: 2px;
    content: "";
    height: 20px;
       top: -2px;
    left: 16px;
    position: absolute;
    background-color: #616161;
}

.header-new .lang-nav.lahella a {
    
    color: #a1a1a1;
    font-size: 15px;
    line-height: 14px;
    font-weight: 400;
    text-align: left;
    padding: 5px;
}

.header-new .lang-nav.lahella a.active {
    color: #facc3e;
    text-decoration: underline;
} 

.row, .row-top {
    
    padding-top: 6%;
   
}

.row-low, .row-top-low {
    
    padding-top: 3%;
   
}

.row-high, .row-top-high {
    
    padding-top: 12%;
    
}

.row-very-high, .row-top-very-high {
    
    padding-top: 18%;
   
}

.row, .row-bottom {
    
   
    padding-bottom: 6%;
}



.row-low, .row-bottom-low{
    
   
    padding-bottom: 3%;
}

.row-high, .row-bottom-high {
    
   
    padding-bottom: 12%;
}

.row-very-high, .row-bottom-very-high {
    
   
    padding-bottom: 18%;
}

.form-padding form {
 padding: 5px 20px; 
}

body.landing-page .hs-input {
    
    color: #555 !important;
    font-size: 12px;
}

body.landing-page .inputs-list.multi-container label {
    
    display: block;
  text-align: left;
}

body.landing-page .inputs-list.multi-container .hs-input {
    color: #555 !important;
    font-size: 12px;
    display: inline-block;
    width: 23px;
    height: 15px;
    margin-top: 0px;
    position: relative;
    left: 0; 
    top: 2px;
}

body.landing-page .inputs-list.multi-container li {
    
    margin-bottom: 3px;
}


.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul li ul li {
    
    display: block ;
    width: 100% !important;
  padding: 0 !important;
    margin: 0 0 0 0 !important;
    
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
    
    max-width: 100%;
    width: 100%;
    display: block;
    padding: 3px 0 3px;
   
}



.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.kolmio.hs-item-has-children:hover::after {
 
     content: " ";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #FFCC33;
    content: " ";
    position: absolute;
    bottom: 0px;
    transform: translateX(-50%);
    left: 50%;
   opacity: 1;
  
    
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.kolmio:nth-child(1):hover::after{
    content: " ";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #FFCC33;
    content: " ";
    position: absolute;
    bottom: 7px;
    transform: translateX(-50%);
    left: 205px;
    opacity: 1;
}

.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.kolmio.auki:nth-child(1)::after {
   
   border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #FFCC33;
   content: " ";
    position: absolute;
    bottom: -14px;
    left: 200px;
     transform: translateX(-50%);
   width: 0;
    height: 0;
}

.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.kolmio.auki:nth-child(2)::after {
   
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #FFCC33;
   content: " ";
    position: absolute;
    bottom: -14px;
    left: 266px;
     transform: translateX(-50%);
   width: 0;
    height: 0;
}

.g2018-header .main-nav-scrolled .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.kolmio:nth-child(1):hover::after,
.g2018-header .main-nav-scrolled .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.kolmio:nth-child(2):hover::after {
  content: none !important;
}


.g2017-header .main-nav-scrolled .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.kolmio:nth-child(1):hover::after {
    
    left: 263px;
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-depth-1.hs-item-has-children.auki > ul {
 
    visibility: visible !important;
    display: block !important ;
    opacity: 1 !important;
    
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul li:hover::after {
    
    content: none !important;
}


.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
   
   transition: opacity 0.4s;
    position: absolute;
    z-index: 10;
    left: 0;
    width: 350px;
    max-width: 350px;
    background: #fff;
    left: 0;
    padding:  20px 20px;
    
    box-sizing: border-box;
    display: none;
    border: 1px solid #eee;
    border-top: 4px solid #FFCC33;
    
}


.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.no-hover:hover > ul.hs-menu-children-wrapper,
.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.no-hover > ul.hs-menu-children-wrapper{
    display: none !important;
    transition: none !important;
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.no-hover > ul.hs-menu-children-wrapper ul {
    
      display: block !important;
      overflow: initial;
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.no-hover.auki:hover > ul.hs-menu-children-wrapper,
.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.no-hover.auki > ul.hs-menu-children-wrapper {
    display: block !important;
    transition: none !important;
}



.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul.hs-menu-children-wrapper,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul.hs-menu-children-wrapper {
   
   transition: opacity 0.4s;
    position: absolute;
    z-index: 10;
    left: 0;
    width: 960px;
    max-width: 100%;
    background: #fff;
    left: 0;
    padding:  20px 5%;
    border-top: 4px solid #FFCC33;
    box-sizing: border-box;
    display: none;
    
}

.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul.hs-menu-children-wrapper,
.g2018-header .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul.hs-menu-children-wrapper {
   
    width: 1180px;
  width: 958px;
  top: 65px;
  padding: 35px 15px 35px 55px;
   
}

.g2018-header .main-nav-scrolled .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul.hs-menu-children-wrapper,
.g2018-header .main-nav-scrolled .g2018-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul.hs-menu-children-wrapper {
   
   
  top: 50px;
   
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li ul li {
   display: block;
   position: relative;
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children:hover > ul.hs-menu-children-wrapper {
    
    display: block;
  
}

.g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper ul {
    
    position: static;
    visibility: visible;
    opacity: 1;
    border: none;
    margin: 0;
    padding: 0;
    display: block !important;
}





 body .g2017-header .main-nav-scrolled {
     
      background: #242424;
    position: relative;
 }
 
 
 
  body .g2017-header .main-nav-scrolled .logo img {
      
   
       top: 13px;
        max-width: 80px;
      
  }
  
  body.g2017 .main-nav-scrolled {
      box-shadow: 0px -6px 17px #fff;
      
  }
  
 .g2017-header.nav-grano .main-nav-scrolled  .menu {
    
    margin-top: 0;
}

 .g2017-header.nav-grano .main-nav-scrolled .etsi-kehys {
     
     display: none;
 }
 
 .g2017 .g2017-header .main-nav-scrolled .toisentason-menu .menulinkit a {
  
    padding: 18px 5px 11px 5px;
  
 }

 
 
.g2017-header .main-nav-scrolled  .toisentason-menu {
    
    padding-right: 100px;
    
}
 
  .g2017 .g2017-header .main-nav-scrolled .resize-etsi {
    right: -55px !important;
    z-index: 150 !important;
    top: -18px !important;
}

.g2017-header .main-nav-scrolled .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-item.hs-menu-depth-1 > a {
    
    padding: 16px 17px 9px 17px;
        
}



.g2017-header .main-nav-scrolled .etsi-painike {
    
    display: none;
}

 .g2017-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {
    
    font-size: 14px;
    line-height: 17px;
    color: #8F8F8F;
    font-weight: 400;
    text-decoration: none;
     max-width: 340px;
    padding: 13px 13px 13px 13px;
    
    white-space: initial;

    overflow: initial;
    text-overflow: initial;
}

 .g2017-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li ul li a {
     
    color: #242424;   
 }

 .g2017-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a:hover, .g2017-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.active > a,
  .g2017-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a:hover, .g2017-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1:hover > a, 
  .g2017-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.active-branch > a {
     
    background: none;
    color: #FFCC33 !important;
    opacity: 1;
 }  
 
 .g2017.info .zoomWrapper {
     
     margin: 0 auto;
 }
 
 .g2017.info .tausta .span12 {
     
     background: none !important;
     padding: 0 !important;
 }

 .g2017-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.active a::after {

        height: 1px;
    border: 1px solid #FFCC33;
    background: #FFCC33;
    content: " ";
    display: block;
    padding: 0;
    margin-top: 6px;
}

.g2017-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal ul ul li.active a::after {
    
    content: none !important;   
}

.g2017-header .desktop-menu .logo {
    
    position: absolute;
    left: 20px;
    top: 0;
    padding: 0;
    width: 110px;
    height: 39px;
    z-index: 100;
}   

.g2017-header .menu {
    margin-top: 0;
    padding-left: 165px;
    padding-right: 43%;
}

.g2017-header .toisentason-menu {
    position: absolute;
    text-align: center;
    right: 0;
    top: 0;
    width: 41%;
    padding-right: 212px;
        width: 46%;
    padding-right: 204px;
}

.g2017-header .etsi-kehys {
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
}



.g2017-header .etsi-kehys .lang-nav.lahella, .g2017-header .etsi-kehys .lang-nav {
    
    position: static !important;
        width: 121px;
    text-align: center;
}



.g2017 .g2017-header .toisentason-menu .menulinkit a {
    
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    display: inline-block;
   
    text-decoration: none;
    line-height: 16px;
    color: #8F8F8F;
    position: static;
    padding: 15px 5px 15px 5px;
        letter-spacing: 1px;
    text-transform: uppercase;
}

.g2017 .g2017-header .toisentason-menu .menulinkit a.verkkokauppa-btn {
    
        color: #FFCC33;
    border: 1px solid #ffcc33;
    padding: 12px 10px;
    margin-left: 9px;
}



.g2017-header .etsi-painike {
    position: absolute;
    right: 33px;
    z-index: 50;
    top: 9px;
}


.g2017-header .toisentason-menu .menulinkit a.active, .g2017-header .toisentason-menu .menulinkit a:hover {
    
    color: #FFCC33;
    opacity: 1;
} 

.paabanneri-kampanja img {
  display: inline-block;
  float: left;
  max-height: 500px;
}

.g2017-paabanneri.paabanneri-kampanja {
  padding-top: 0%;
  padding-bottom: 0%;
}

body.etusivu .g2017-paabanneri.paabanneri-manuaali.paabanneri-kampanja .paateksti,
.g2017-paabanneri.paabanneri-manuaali.paabanneri-kampanja .paateksti,
.paabanneri-kampanja .kehys {
  padding-top: 0px;
  padding-bottom: 0px;
}

.paabanneri-kampanja .text-content {
	text-align: center;
  padding-top: 10%;
}

.paabanneri-kampanja h1 {
	letter-spacing: 0px;
}

.paabanneri-kampanja p.subheader {
	font-weight: 300;
  font-size: 24px !important;
}

.g2017 .body-container .paabanneri-kampanja .cta_button, 
.g2017 .body-container .paabanneri-kampanja a.painike-musta {
  background-color: #dd4d49 !important;
  color: #fff !important;
}

.g2017-paabanneri {
    
    padding-top: 6%;
    padding-bottom: 6%;
  
    height: auto;
    /* box-shadow: inset 0 0 0 1000px rgba(0,0,0,.15); */
   
}

.g2017-paabanneri h3, .g2017-paabanneri h3 * {
    font-size: 28px;
    line-height: 1.3em;
    font-weight: 300;
}

.hs-content-id-4962385948 .g2017-paabanneri {
 
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.15);
}

.g2017-header .toisentason-menu .menulinkit a.active {
    
    text-decoration: underline;
}


.g2017-paabanneri.paabanneri-manuaali {
    
    background: #ccc;
    position: relative;
    overflow: hidden;
  
}

.g2017-paabanneri.paabanneri-manuaali .paakuva {
    
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
      max-height: 693px;
}   

.g2017-paabanneri.paabanneri-manuaali .paakuva img {
    
    min-width: 100%;
    height: 100% !important;
    max-width: 300%;
    width: auto;
}

.g2017-paabanneri.paabanneri-manuaali .paateksti {
    position: relative;
    z-index: 10;
    top: 0;
    left: 0;
    padding-top: 20px;
    padding-bottom: 20px;
} 

body.etusivu .g2017-paabanneri.paabanneri-manuaali .paateksti {
    position: relative;
    z-index: 10;
    top: 0;
    left: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}   

body.etusivu .paateksti h1 {
    font-size: 60px;
}

body.etusivu .g2017-paabanneri * {
    font-size: 18px;
}

.g2017-paabanneri.korkeus-keskitetty {
    
   
    height: 620px;
     -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.g2017-paabanneri.matala-banneri {
    
   
    height: 350px;
     -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

body.vaalikampanja .g2017-paabanneri.matala-banneri {
    
   
    height: 400px;
     -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
      background-position: bottom center;
}

body.vaalikampanja .tumman-sininen-bg {
  background: #0f151f;
  background: -moz-linear-gradient(45deg, #0f151f 1%, #0f2536 96%);
  background: -webkit-linear-gradient(45deg, #0f151f 1%,#0f2536 96%);
  background: linear-gradient(45deg, #0f151f 1%,#0f2536 96%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0f151f', endColorstr='#0f2536',GradientType=1 );
}

.keltainen-gradient {
  background: #0f2536;
  background: -moz-linear-gradient(45deg, #0f151f 1%, #0f2536 96%);
  background: -webkit-linear-gradient(45deg, #fff 1%,#fff 96%);
  background: linear-gradient(180deg, #fcdf6a 1%,#ffc843 96%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0f151f', endColorstr='#0f2536',GradientType=1 );
}

.keltainen-gradient .h2 {
  margin-bottom: 0px; 
}

.keltainen-gradient .h2::after {
  display: none; 
}



.g2017-paabanneri.korkea-banneri {
    
   
    height: 510px;
     -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.etusivu.g2020 .g2017-paabanneri.korkea-banneri {
  height: 560px;
}

.g2017-paabanneri, .g2017-paabanneri * {
    
    font-size: 21px;
    line-height: 1.3em;
    font-weight: 600;
}

.g2017-paabanneri h1.h1, .g2017-paabanneri h2.h1 {

    font-size: 65px;
    line-height: 1.2em;
    font-weight: 900;
    margin: 0 0 20px 0;
   
    text-transform: uppercase;
    transition: all 0.3s;
}   

.g2017-paabanneri h1.h2, 
.g2017-paabanneri h2.h2, 
.g2017-paabanneri h1 span,
.g2017-paabanneri .paateksti h1 {

    font-size: 65px;
    line-height: 1.1em;
    font-weight: 900;
    margin: 0 0 20px 0;
     transition: all 0.3s;
    text-transform: none;
}

.g2017-paabanneri .paateksti h1::after {
    
    content: none !important;
    padding: 0;
}


.g2017-paabanneri.matala-banneri .sisalto-wrapper,
.g2017-paabanneri.korkeus-keskitetty .sisalto-wrapper {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}


.g2017 .nayta-aiheet-mobiili {
    
    display: none;   
}
    
.g2017-yhteystiedot {
    
    text-align: center;
    width: 510px;
    max-width: 100%;
    margin: 30px auto;
    float: none;
    position: relative;
}

.g2017-yhteystiedot .wrapper {
    
    position: relative;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
}

.g2017-yhteystiedot .kuva {
    
    text-align: right; 
   
    width: 40%;
    float: none;
    position: absolute;
    left: 0 ;
    top: 0;
    box-sizing: border-box;
    border-radius: 50%;
    width: 68px;
    height: 68px;
    overflow: hidden;
}

.g2017-yhteystiedot .kuva img {
    width: 100%;
    height: auto;
    
}   

.g2017-yhteystiedot .teksti {
    
    text-align: left;
     width: 100%;
     box-sizing: border-box;
     padding-left: 95px;
    float: none;
}

.g2017-yhteystiedot .painike.linkki {
    
    display: block !important;
    width: 370px !important;
    max-width: 90% !important;
    margin: 25px auto 20px auto !important;
   
}

.g2017-yhteystiedot .teksti h4 {
    
    color:#cfcfcf;
    font-size: 14px;
    line-height: 1.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 5px 0 7px 0;
}

.g2017-yhteystiedot .teksti p {
    
    margin: 0 0 7px 0;
    font-size: 14px;
    line-height: 1.1em;
}   

.g2017-nosto {
    
   
     height: 385px;
      -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,.8);
  overflow: hidden;
  position: relative;
  
}

.g2017-nosto.Case {
    
   
 transition: 0.3s all;
  box-shadow: inset 0 0 0 1000px rgba(69,185,124,.8);
 
}

.g2017-nosto.Blogi {
    
   
 transition: 0.3s all;
  box-shadow: inset 0 0 0 1000px rgba(80,188,188,.7);
 
}

.g2017-nosto.Blogi:hover {
    
   
 transition: 0.3s all;
  box-shadow: inset 0 0 0 1000px rgba(80,188,188,.9);
 
}

.g2017-nosto.Vieras {
    
   
 transition: 0.3s all;
  box-shadow: inset 0 0 0 1000px rgba(241,114,158,.7);
 
}

.g2017-nosto.Vieras:hover {
    
   
 transition: 0.3s all;
  box-shadow: inset 0 0 0 1000px rgba(241,114,158,.9);
 
}

.g2017-nosto.Case:hover {

 
  box-shadow: inset 0 0 0 1000px rgba(69,185,124,.9);
 
}

.g2017-nosto.vihrea {
    
   
 transition: 0.3s all;
  box-shadow: inset 0 0 0 1000px rgba(70,162,143,.7);
 
}

.g2017-nosto.vihrea:hover {
    
   
 
  box-shadow: inset 0 0 0 1000px rgba(70,162,143,.9);
 
}

.g2017-nosto.Case-sininen {
    
   
 transition: 0.3s all;
  box-shadow: inset 0 0 0 1000px rgba(80,188,188,.7);
 
}

.g2017-nosto.BlogiCase-sininen:hover {
    
   
 transition: 0.3s all;
  box-shadow: inset 0 0 0 1000px rgba(80,188,188,.9);
 
}



.g2017-nosto .aihe {
    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
   display: none;
    text-align: center;
   
   
}   


.g2017 .ota-yhteys-form {
    position: static;
    z-index: 300;
    top: 0;
    width: 98.7%;
    box-sizing: border-box;
    background: #fff;
    left: 0;
    padding: 0 5%;
    padding: 16px 5% 50px;
}



.g2017-nosto.Case .aihe, .g2017-nosto.Blogi .aihe,  .g2017-nosto.Vieras .aihe   {
    
    display: block;
}

.g2017-nosto.Vieras .aihe span::after {
    
    content: "kynä";
}


.g2017-nosto.Case .aihe span, .g2017-nosto.Blogi .aihe span, .g2017-nosto.Vieras .aihe span {
    
     text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    display: inline-block;
    width: 125px;
    margin: 0 auto;
    background: #45b97c;
    padding: 8px 20px;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1em;
    text-align: center;
}

.g2017-nosto.Blogi .aihe span {
    
    background: #50bcbc;
}

.g2017-nosto.Vieras .aihe span {
    
    background: #F1729E;
}


.g2017-nosto .wrapper {
    
   
     position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  position: relative;
 
  
    
}

.g2017-nosto .wrapper a.painike {
    
    border: 1px solid #fff !important;
    color: #fff !important; 
    background: none !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    line-height: 1em !important;
    transition: all 0.3s !important;
}   

.g2017-nosto .wrapper a.painike:hover {
    
   color: #000 !important;
   border: 1px solid #000 !important;
    
}

.g2017-nosto .keskitys {
    color: #fff;
   font-size: 18px;
   line-height: 30px;
    padding: 0 10%;
}   

.g2017-nosto .otsikko h2 {
    
    margin: 15px 0;
        font-size: 28px;
    font-weight: 900;
    text-align: center;
    line-height: 34px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.g2017-nosto a .otsikko h2  {
    
    color: #fff;
     text-transform: uppercase;
     text-decoration: none;
}

.g2017-nosto a {
    
    
     text-decoration: none;
}

.g2017-nosto a .otsikko h2:hover {
    
   text-decoration: underline;
}   

.g2017-nosto .wrapper * {
    
    color: #fff !important;
}

.relative {
    
    position: relative;
}

.ankkurilinkki {
    
    width: 1px;
    height: 1px;
    visibility: hidden;
    position: absolute;
    top: -96px;
    left: 0;
    display: inline-block;
}


 body .etusivujen-nosto {
    
    padding-top: 75px;
    padding-bottom: 75px;
    position: relative;
    min-height: 350px;
    height: auto;
    overflow: hidden;
}

.etusivujen-nosto .painike {
    
    margin-top: 35px !important;
}   

.etusivujen-nosto.harmaa-bg {
    
    background: #f8f8f8;
}

.etusivujen-nosto .taustakuva {
      position: absolute;
      right: 0;
      top: 0;
     background-size: cover !important;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.etusivujen-nosto.oikea .taustakuva {
      position: absolute;
      left: 0;
      right: initial;
      top: 0;
  
}

.etusivujen-nosto .paaotsikko {
    
    position: relative;
    z-index: 10;
    text-align: left;
}

.etusivujen-nosto .keltainen-viiva:after {
    margin: 20px auto 0px 0px !important;
}

.etusivujen-nosto .teksti {
    width: 44%;
}   

.etusivujen-nosto .linkit {
    margin: 30px 0 0 0;
    font-size: 14px;
    line-height: 1.2em;
    
}

.etusivujen-nosto .linkit ul {
    
    padding: 0;
    margin: 0;
    list-style: none !important;
}
.etusivujen-nosto .linkit ul li {
    
    margin: 0 0 6px 0;
    padding: 0;
}

.etusivujen-nosto .linkit a {
    color: #242424;
    font-weight: 700;
}   

.etusivujen-nosto .linkit a:hover {
    color: #ffc925;
    opacity: 1;

}

.etusivujen-nosto .linkit .vasen {
    
    width: 45%;
    float: left;
}

.etusivujen-nosto .linkit .oikea {
    
    width: 45;
    float: right;
}

.etusivujen-nosto.vasen .teksti {
       float: left;
}

.etusivujen-nosto.oikea .teksti {
       float: right;
}

.etusivujen-nosto h2 {
    
    margin: 0 0 35px 0;   
}

.mobile, .tablet {
    
    display: none !important;
}    

table, table td, table tr {
    
    max-width: 100%;
}

table {
    
    display: inline-block;
}

.g2017-cta-nosto {
    
    background: #fff;
    margin-bottom: 40px;
}

.g2017-cta-nosto.keskitys {
    
    margin-left: auto;
    margin-right: auto;
    float: none;
    max-width: 100%;
}

.g2017-cta-nosto.l500 {
    
    width: 500px;
    max-width: 100%;
}

.g2017-cta-nosto.l700 {
    
    width: 700px;
}

.g2017-cta-nosto.l1700 {
    
    width: 100%;
}

.g2017-cta-nosto .teksti {
    
    padding: 0 50% 0 0;
    position: relative;
}



.g2017-cta-nosto .teksti.kuva-vasen {
    
    padding: 0 0 0 50%;
}

.g2017-cta-nosto .teksti .kuva {
    
    position: absolute;
    height: 100%;
    width: 50%;
    right: 0;
    top: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}   

.g2017-cta-nosto .teksti.kuva-vasen .kuva {
    
    left: 0;
    top: 0;
    right: initial;
}   

.g2017-cta-nosto .teksti-wrapper {
    
    padding: 30px 20px;
    position: relative;
    z-index: 10;
}

.g2017-cta-nosto .teksti-wrapper .otsikko {
    font-size: 20px;
    line-height: 1.2em; 
    display: block;
    font-weight: 900;
}

@media screen and (max-width: 550px) {
    
    
    .g2017-cta-nosto .teksti {
    
    padding: 0 0 0 0 !important;
    }
    
    .g2017-cta-nosto .teksti .kuva {
        
       
        width: 100%;
        
        top: 0;
        opacity: 0.3;
       
    }  

}


body.g2017 .body-container .painike-mustaksi a.cta_button, body.g2017 .body-container .painike-punaiseksi a.cta_button, .body-container .painike-punaiseksi a.painike, .body-container .painike-mustaksi a.painike {
    background: #242424 !important;
    color: #ffcc33 !important;
    border-radius: 0 !important;
    padding: 15px 7% !important;
    box-sizing: border-box !important;
    font-weight: 600 !important;
    width: auto;
    margin: 0 !important;
    text-transform: uppercase !important;
    font-size: 15px !important;
    line-height: 1em !important;
    max-width: 100% !important;
    font-family: "proxima-nova", sans-serif !important;
}

.painike-vihrea {
    background: #45b97c !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 15px 7% !important;
    box-sizing: border-box !important;
    font-weight: 600 !important;
    width: auto;
    margin: 0;
    text-transform: uppercase !important;
    font-size: 15px !important;
    line-height: 1em !important;
    max-width: 100% !important;
    font-family: "proxima-nova", sans-serif !important;
}

.g2017-paabanneri .painike-vihrea {
    color: #fff !important;
}

.painike-valkoinen-viiva {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important; 
    border-radius: 0 !important;
    padding: 13px 7% !important;
    box-sizing: border-box !important;
    font-weight: 600 !important;
    width: auto;
    margin: 0;
    text-transform: uppercase !important;
    font-size: 15px !important;
    line-height: 1em !important;
    max-width: 100% !important;
    font-family: "proxima-nova", sans-serif !important;
}

.hero-cta {
  padding-left: 3% !important;
  padding-right: 3% !important; 
  margin-right: 15px !important; 
  margin-top: 2%;
    display: inline-block;
}

.painotuotteet p.subheader {
  font-size: 18px; 
  font-weight: 300; 
}

.painotuotteet .g2017-paabanneri h1 {
  margin-bottom: 10px !important; 
}


body.g2017 .body-container .painike-punaiseksi a.cta_button, body.g2017 .body-container .painike-punaiseksi a.painike {
    
    background: #dd4d49 !important;
    color: #fff !important;
}

.g2017 .valiotsikko {
    
   
    font-size: 44px;
    font-weight: 900;
    text-align: center;
    line-height: 48px;
    color: #292F35;
    text-transform: none;
    margin: 25px 0 45px;
    
}

.g2017 .valiotsikko::after {
    content: none !important;   
}

.g2017 .mobile-nav {
    border-top: none;
    margin-top: 0;
    background: #ffcc33;
    margin-bottom: 0px;
    color: #242424;
}

.g2017 .mob-nav-horizontal {
    
    padding: 30px 0;
}

.g2017 .mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a, .g2017 .mobile-nav ul  {
    
    color: #242424;
    background: #ffcc33;
    text-align: center;
    font-size: 30px;
    line-height: 1em;
    padding: 5px 13px;
    font-weight: 900;
    text-transform: none;
}

.g2017 .mobile-nav ul li.hs-item-has-children a:after, .mobile-nav ul li.hs-menu-depth-1 > a:after {
    
    content: none !important;
}

.g2017 .mobile-linkit {
    
    margin: 40px 0 20px;
    text-align: center;
        font-size: 20px;
    line-height: 1.2em;
    display: block;
    text-transform: uppercase;
    font-weight: 900;
    
}

.g2017 .mobile-linkit a {
    
        color: #242424;
    display: block;
    margin: 14px 5px;
    font-size: 17px;
    line-height: 1.3em;
}

body.mobile-open #livechat-compact-container {
    
    display: none !important;
}

.g2017 .mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1 > a:focus {
    
    text-decoration: underline;
}

.g2017 .mobile-linkit .lang-nav2 {
    
    margin-top: 20px;
    display: block;
}

.g2017 .mobile-linkit .lang-nav2 a {
    
    display: inline-block;
    font-weight: 400;
}   

.g2017 .mobile-linkit .lang-nav2 a.active {
    
    font-weight: 700;
    text-decoration: underline;
}

.g2017 .mobile-menu {
    
    margin: 0;
}

.g2017 .mobile-menu .toggle-etsi img {
    
    width: 25px;
    position: relative;
    top: -3px;
    left: 0;
}

.g2017 .mobile-menu .toggle-mobile i {
    
    color: #ffcc33;
    font-size: 42px;
    opacity: 1;
    margin-left: 10px;
}

.g2017 .mobile-menu .toggle-mobile img {
    
    width: 34px;
        position: relative;
    top: 3px;
    left: 0;
}

.video-tummennus {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.tummennettu-bg {
    
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4);
}

.tummennettu-bg--70 {
    
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.7);
}



.tummennettu-bg-vaalea {
    
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.10);
}


.vaaleanharmaa-bg {
    
    background: #f8f8f8;
}

.musta-bg {
    
    background: #000;
}

.tumma-bg {
    
    background: #242424;
}

.tummanharmaa-bg {
    
    background-color: #1C1C1C;
}

.grano-lukuina {
    
    text-align: center;
    padding-top: 45px;
    padding-bottom: 65px;
}

.grano-lukuina .viivat {
    
    box-sizing: border-box;
   
    border-left: 1px solid #484848;
    border-right: 1px solid #484848;
}

.grano-lukuina h4 {
    
 
    font-size: 122px;
    font-weight: bold;
    text-align: center;
    line-height: 148px;
    color: #6D6D6D;
    margin: 30px 0;
}

.grano-lukuina h5 {
    
 
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    line-height: 17px;
    letter-spacing: 1px;
    color: #FFCC33;
    margin: 0;
    text-transform: uppercase;
}

.logot-8x ul, .logot-6x ul  {
    
    margin: 0;
    padding: 0;
}

.logot-8x li {
    
    max-width: 12.5%;
    box-sizing: border-box;
    float: left;
    position: relative;
    padding-right: 5%;
    list-style: none;
    margin 0;

}

.logot-6x li {
    
    max-width: 16.66%;
    box-sizing: border-box;
    float: left;
    position: relative;
    padding-right: 5%;
    list-style: none;
    margin 0;

}

.perusnostot-3x {
    
    margin: 20px 0 20px;
    
  
    
}

.perusnostot-3x h2.paaotsikko {
    
    font-weight: 300;
        font-size: 28px;
}


.perusnostot-3x .table,
.hubdb-boxes .perusnostot-3x .table .kehys-levea {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 30px;
  width: 100%;
  margin-bottom: 30px;
}   

.hubdb-boxes .perusnostot-3x .perusnosto {
  background-color: #fff;
}
    
.perusnostot-3x h3.otsikko {
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1em;
  letter-spacing: 1px;
  padding: 0 0 20px;
  margin: 0;
  word-break: break-word;
}

.perusnostot-3x h3.otsikko.keltainen-viiva {
    
    font-size: 18px;
    line-height: 1.3em;
    font-weight: 900;
    margin: 0 0 0 0;
    text-transform: uppercase;
    padding-bottom: 20px;
}

.perusnostot-3x .perusnosto.valkoinen-laatikko {
  background: #fff;
  border: 1px solid #eee;
}

.perusnostot-3x .perusnosto p, .rekry-nostot .hs-rss-item p {
    
    font-size: 14px;
    line-height: 19px;
}

.perusnostot-3x.laatikko-nostot .table, .perusnostot-3x.laatikko-nostot {
    margin: 0;
}


.perusnostot-3x .valkoinen-laatikko .wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}

 .rekry-nostot .hs-rss-item  {
    background: #fff !important;
    min-height: 250px !important;
    display: inline-block !important;
    width: 30% !important;
    margin-right: 1.5% !important;
    margin-left: 1.5% !important;
    margin-bottom: 3% !important;
    float: left !important;
    box-sizing: border-box !important;
    border: 1px solid #eee !important;
    text-align: left !important;
   
}



.rekry-nostot .hs-rss-item .hs-rss-title, .rekry-nostot .hs-rss-item .hs-rss-title span {
font-size: 25px;
    font-weight: 900;
    line-height: 1.1em;
    letter-spacing: 1px;
    padding: 0 0 0;
    margin: 0 0 20px;
    text-transform: uppercase;
    display: block;
}

.rekry-nostot .hs-rss-item .hs-rss-item-text {
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 0 5%;
     padding-bottom: 80px;
    position: relative;
}

.rekry-nostot .hs-rss-item .hs-rss-description, .rekry-nostot .hs-rss-item .hs-rss-description p {

color: #242424;
    font-size: 14px;
    line-height: 1.4em;
    font-weight: 300;
    
}

.rekry-nostot .hs-rss-item .hs-rss-description a:last-child {
    
      border: 0;
    padding-left: 2.5em;
    padding-right: 2.5em;
    padding-top: .8em;
    padding-bottom: .8em;
    line-height: 1.5em;
    text-decoration: none;
    padding: 10px 26px;
    background-color: #dd4d49;
    color: #fff !important;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all .5s ease;
    display: block;
    margin-top: 20px;
    box-sizing: border-box !important;
    margin-bottom: 10px;
    transition: all 0.3s;
        background: none !important;
    border: 1px solid #000 !important;
    color: #000 !important;
    transition: all 0.3s;
    width: 135px;
    margin: 28px 0;
    position: absolute;
    bottom: 0;
    left: 5%;
    
}

.rekry-nostot .hs-rss-item .hs-rss-description a:last-child::after {
    
    content: none;   
}

.perusnostot-3x .ylakulma {
    
    position: absolute;
    top: 0;
    left: 0;
    background: #3db0b0;
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1px;
    padding: 10px 20px;
}

.perusnostot-3x .valkoinen-laatikko .painike {
    
    margin-bottom: 28px;   
}

.rekry-nostot .perusnostot-3x .ylakulma {
    padding: 25px 18px;
    background: none;
    color: #3db0b0;
}

.rekry-bg-vihrea {
    transition: 0.3s all;
    box-shadow: inset 0 0 0 1000px rgba(70,162,143,.8);
    color: #fff !important;
}

.rekry-bg-vihrea:hover {
    transition: 0.3s all;
    box-shadow: inset 0 0 0 1000px rgba(70,162,143,.9);
    color: #fff !important;
}

.g2017 .rekry-bg-vihrea .painike.valkoinen a, .g2017 .rekry-bg-vihrea a.painike.valkoinen,
.g2017 .rekry-bg-sininen .painike.valkoinen a, .g2017 .rekry-bg-sininen a.painike.valkoinen, 
.g2017 .rekry-bg-musta .painike.valkoinen a, .g2017 .rekry-bg-musta a.painike.valkoinen {
    background: none !important;
    border: 1px solid #fff !important;
    color: #fff !important;
    transition: all 0.3s;
}

.g2017 .rekry-bg-vihrea .painike.valkoinen a:hover, .g2017 .rekry-bg-vihrea a.painike.valkoinen:hover,
.g2017 .rekry-bg-sininen .painike.valkoinen a:hover, .g2017 .rekry-bg-sininen a.painike.valkoinen:hover, 
.g2017 .rekry-bg-musta .painike.valkoinen a:hover, .g2017 .rekry-bg-musta a.painike.valkoinen:hover {
    background: #fff !important;
    border: 1px solid #fff !important;
    color: #000 !important;
    transition: all 0.3s;
}

.rekry-bg-sininen {
 transition: 0.3s all;
  box-shadow: inset 0 0 0 1000px rgba(35,164,164,.85);
    color: #fff !important;
}

.rekry-bg-sininen:hover {
    transition: 0.3s all;
    box-shadow: inset 0 0 0 1000px rgba(35,164,164,.95);
    color: #fff !important;
}

.rekry-bg-vihrea .ylakulma,
.rekry-bg-sininen .ylakulma,
.rekry-bg-musta .ylakulma {
    color: #fff !important;
}

.rekry-bg-musta {
 transition: 0.3s all;
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,.5);
    color: #fff !important;
}

.rekry-bg-musta:hover {
    transition: 0.3s all;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.7);
    color: #fff !important;
}

.float-left {
    float: left !important;
}

.perusnostot-3x .sisalto {
    
    background: #fff;
}

.perusnostot-3x .perusnosto {
    float: left;
    float: none;
    width: 100%;
    margin: 0 0 30px 0;
    color: #242424;
    font-size: 14px;
    line-height: 19px;
    font-weight: 300;
    display: table-cell;
    position: relative;
    padding-bottom: 75px;
}

.perusnostot-3x .rekry-bg-vihrea a, .perusnostot-3x .rekry-bg-sininen a, .perusnostot-3x .rekry-bg-musta a  {
 	color: #fff; 
  text-decoration: underline; 
}

.perusnostot-3x .perusnosto.no-padding { 
    
    padding-bottom: 0;
}

body.js-enabled .perusnostot-3x .perusnosto {
    
    min-height: 1px !important;
}

.perusnostot-3x .perusnosto .linkki {
    
 
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0 5%;
}

.perusnostot-3x .perusnosto p, .perusnostot-3x .perusnosto span, .perusnostot-3x .perusnosto {
     color: #242424;
    font-size: 14px;
    line-height: 1.4em;
    font-weight: 300;
}   

.perusnostot-3x .perusnosto .wrapper {
    
    padding: 0 5%;   
    
}

.kartta-upotettu iframe {
    
    width: 100%; 
}

.yhteystiedot-3x {
    
    text-align: center;
    padding: 20px 0 0 0;
    overflow: hidden;
}

.yhteystiedot-3x .kehys-levea {
    
    padding-left: 0;
    padding-right: 0;
}

.yhteystiedot-3x .otsikko {
    
    background: #FFCC33;
    position: relative;
    height: 60px;
}

.yhteystiedot-3x .perusnosto-1 .otsikko::before {
    
     background: #FFCC33;
    content: " ";
    position: absolute;
    width: 9999px;
    left: -9999px;
    top: 0;
    height: 60px;
}

.yhteystiedot-3x .perusnosto-2 .otsikko::after {
    
     background: #FFCC33;
    content: " ";
    position: absolute;
    width: 9999px;
    right: -9999px;
    top: 0;
    height: 60px;
}

.yhteystiedot-3x .otsikko h3 {
    
    background: #FFCC33;
  
   text-transform: uppercase;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    line-height: 1.1em;
    padding: 19px 0;
    letter-spacing: 1px;
    margin: 0;
    
}

.yhteystiedot-3x .perusnosto .kuva {
    
    height: 320px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.yhteystiedot-3x .perusnosto .kuva img {
    
   
    width: auto;
   max-height: 100%;
    max-width: 300%;
    height: 100% !important;
}

.yhteystiedot-3x .teksti {
    margin: 20px 0 0 0;
 
font-size: 13px;
font-weight: 900;

line-height: 24px;
color: #FFCC33;
}

.yhteystiedot-3x .somepainikkeet {
    
    font-family: FontAwesome;
    font-size: 20px;
    line-height: 18px;
    color: #6D6D6D !important;
    margin-top: 15px;
    
}

.yhteystiedot-3x .somepainikkeet * {
    
      color: #9d9d9d !important;
}  

.yhteystiedot-3x .somepainikkeet a {
    
    display: inline-block;
    padding: 2px 3px;
}

.yhteystiedot-3x .teksti * {
 
 
font-size: 13px !important;
font-weight: 900 !important;

line-height: 24px !important;
color: #FFCC33 !important;
}

.yhteystiedot-3x h2 {
    
    margin: 60px 0 50px;
}   



.yhteystiedot-3x h2::after {
    content: " ";
    display: block;
    margin: 20px auto 0 auto;
    background: #ffc925;
    height: 3px;
    width: 40px;
}

.yhteystiedot-3x .perusnosto {
    float: left;
    width: 33.33%;
    margin: 0 0 30px 0;
    color: #242424;
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
}

.yhteystiedot-3x.w50 .perusnosto {
    width: 50%;
}

.yhteystiedot-3x.w100 .perusnosto {
    width: 100%;
}

.yhteystiedot-3x.w100 .perusnosto .otsikko::before, .yhteystiedot-3x.w100 .perusnosto .otsikko::after {
    background: #FFCC33;
    content: " ";
    position: absolute;
    width: 9999px;
    left: -9999px;
    top: 0;
    height: 60px;
}

.yhteystiedot-3x.w100 .perusnosto .otsikko::after {
 
    right: -9999px;
    left: initial;
  
}
    
.hs_cos_wrapper_type_custom_widget:last-child > .yhteystiedot-3x {
    
    padding-bottom: 50px;
}

.listaus h3 {
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    width: 80%;
    margin: 30px auto;
}

.listaus ul, ul.listaus {
    
    margin: 40px 0;
    list-style: none;
    padding: 0;
    width: 385px;
    
}

.listaus .keskitetty ul {
    
    margin-left: auto;
    margin-right: auto;
    width: 385px;
    max-width: 100%;
    text-align: center;
}

.listaus ol > li {
    
    background: none;
    border-bottom: 1px dashed #dedede;
    padding: 0px 0 10px 10px;
    margin-bottom: 10px;
    font-weight: 700;

}

.listaus li {
    
    background: url(https://www.grano.fi/hubfs/Identity/Ikonit/nuoli-musta.jpg?t=1489754915326) no-repeat 2px 6px;
    border-bottom: 1px dashed #dedede;
    padding: 0px 0 10px 30px;
    margin-bottom: 10px;
    font-weight: 700;

}

.listaus li a {
    
    color: #000;
    text-decoration: underline;
}

.listaus-linkit ul, .listaus-linkit ul li {
    
    padding: 0;
    margin: 0;
    list-style: none;
}

.listaus-linkit .empty-space {
 display: block;
  margin-top: 45px;
}

.listaus-linkit ul a {
    
    padding: 5px 0 !important;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.3em;
    display: inline-block;
    cursor: pointer;
}

.toimipisteet.listaus-linkit ul a {
    
    font-size: 20px;
    line-height: 1.1em;
    font-weight: 400;
    
}

.toimipisteet.listaus-linkit ul ul li a {
    
    font-size: 16px;
    line-height: 1.1em;
    font-weight: 400;
    
}

.toimipisteet.listaus-linkit ul li.hs-menu-depth-2 ul {
    background: #333;
    padding: 5px 0;
}

 .toimipisteet.listaus-linkit ul li.hs-menu-depth-3 a { 
     
    margin-left: 10px;   
 }
 
 .toimipisteet-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
    float: left;
    width: 25%;
 
    
}

 .toimipisteet-menu.column .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
    float: none;
    width: 100%;
 
    
}

 .toimipisteet-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
     
     display: block;
     width: 100%;
 }

 .toimipisteet-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
     
        border-bottom: 1px solid #333;
        padding-bottom: 8px;
        margin-bottom: 8px;
        padding-right: 20px;
        box-sizing: border-box;
 }
 
  .toimipisteet-menu.column .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1  {
      
    border-bottom: none;   
  }

 .toimipisteet-menu ul li.hs-menu-depth-2 {
    background: #333;
    padding: 6px 10px;
}

 .toimipisteet-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
    display: inline-block;
    padding: 10px 20px;
    white-space: initial !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: initial !important;
    text-overflow: initial !important;
    text-decoration: initial !important;
}


.g2017-rekry .rekry-otsikot {
    
 border-bottom: 2px solid #eee;   
}

.g2017-rekry .rekry-otsikot h1 {
font-size: 34px;
font-weight: 400;
line-height: 41px;
color: #1B1B1B;
text-align: left;
text-transform: none;
margin: 0;
}

.g2017-rekry .rekry-otsikot p {
    
    margin: 0 0 15px 0;
}

.g2017-rekry .rekry-otsikot .rivi {
    
    padding-bottom: 30px;
}

.g2017-rekry .rekry-otsikot h1:after {
    content: none !important;
}   


.g2017-rekry .rekry-otsikot h1 strong {

font-weight: 900;


text-transform: uppercase;
text-align: left;

}

.g2017 .close-rfp-form {
    
    display: block;
    position:relative;
    text-align: right;
     max-width: 100%;
     float: none;
    width: 560px;
    margin: 0 auto 30px auto;
}

.g2017 .close-rfp-form a {
    color: #fff;
    cursor: pointer;
    float: right;
    font-size: 16px;
    position: static;
    margin: 10px 0;
   
    display: inline-block;
       font-size: 52px;
    text-align: center;
   width: auto;
}

.toggle-mobile.menu-sulje {
    
    position: relative; 
    display: block;
    width: 100%;
    text-align: right;
    
}

.toggle-mobile.menu-sulje a {
     position: relative; 
     right: 5%;
     top: -15px;
    
    color: #242424;
    font-size: 52px;
}

.listaus-linkit ul ul li a {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3em;
}

.listaus-linkit ul li {
    padding-bottom: 5px;   
}



.listaus-linkit ul ul.kiinni {
    
    display: none;
}


.selaa-menua {
    
    cursor: pointer;
    text-align: center;
    margin: 0 auto 30px auto;
       color: #FFCC33;
    font-size: 14px;
    line-height: 1.1em;
    display: block;
        padding: 12px 0;
    background: #3c3c3c;
    
}

.sivu-menu {
    
    margin-bottom: 35px;
}

.g2017 .form-title {
    
 
    text-transform: uppercase;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.2em;
	text-align: center;

}

.g2017 .hs-form label {
  
	font-size: 12px;
	font-weight: bold;
	line-height: 24px;

} 

.g2017 .hs-form .inputs-list label {
    
 font-weight: 400;   
}

.g2017 .hs-form fieldset.form-columns-2 .input, .g2017 .hs-form fieldset.form-columns-1 .input {

    margin-right: 0;
     border: none;
}

.g2017 .hs-form fieldset.form-columns-2 .hs-form-field:last-child * { 
    
    border-left: none !important;
    
}

.g2017 textarea, .g2017 input[type="text"], .g2017 input[type="password"], .g2017 input[type="datetime"], 
.g2017 input[type="datetime-local"], .g2017 input[type="date"], .g2017 input[type="month"], 
.g2017 input[type="time"], .g2017 input[type="week"], .g2017 input[type="number"], .g2017 input[type="email"],
.g2017 input[type="url"], .g2017 input[type="search"], .g2017 input[type="tel"], .g2017 input[type="color"], .g2017 select,
.lp-2018 input[type="text"], 
.lp-2018 input[type="password"], 
.lp-2018 input[type="datetime"], 
.lp-2018 input[type="datetime-local"], 
.lp-2018 input[type="date"], 
.lp-2018 input[type="month"], 
.lp-2018 input[type="time"], 
.lp-2018 input[type="week"], 
.lp-2018 input[type="number"], 
.lp-2018 input[type="email"], 
.lp-2018 input[type="url"], 
.lp-2018 input[type="search"], 
.lp-2018 input[type="tel"], 
.lp-2018 input[type="color"], 
.lp-2018 select{
    
    
        padding: 0 15px;
    border: 1px solid #fff !important;
    font-size: 12px;
    font-weight: 300;
    line-height: 24px;
    color: #242424 !important;
    background: #EFEFEF !important;
    margin: 0;
    border-radius: 0;
    height: 46px;
    
}

.g2017 .tumma-bg textarea, .g2017 .tumma-bg input[type="text"], .g2017 .tumma-bg input[type="password"], .g2017 .tumma-bg input[type="datetime"], 
.g2017 .tumma-bg input[type="datetime-local"], .g2017 .tumma-bg input[type="date"], .g2017 .tumma-bg input[type="month"], 
.g2017 .tumma-bg input[type="time"], .g2017 .tumma-bg input[type="week"], .g2017 .tumma-bg input[type="number"], .g2017 .tumma-bg input[type="email"],
.g2017 .tumma-bg input[type="url"], .g2017 .tumma-bg input[type="search"], .g2017 .tumma-bg input[type="tel"], .g2017 .tumma-bg input[type="color"], .g2017 .tumma-bg select {
    
    
    border: 1px solid #242424;
  color: #000 !important;
    
}


.g2017 form {
    max-width: 100%;
    width: 560px;
    margin: 0 auto 30px auto;
}

.g2017 .hs-form fieldset {
    
    max-width: 100% !important;
}


.g2017 select option {
    
    color: #242424 !important;
}   

.g2017 select {
    padding: 0 15px;
    height: 46px;
}

form .hs_liitetiedosto_2 label, form .hs_liitetiedosto_3 label {
    
    margin-top: 0;
}



.g2017 .rfp-form {
    display: none;
    padding: 2% 0 5%;
    position: relative;
    left: 0;
    width: 100%;
    background: #242424;
    background: rgba(36,36,36,0.95);
    border-top: none;
    border-bottom: 2px solid #ccc;
    transition: top 400ms cubic-bezier(0.445,0.05,0.55,0.95);
}


.g2017 .nav-ota-yhteytta {
    
    background: #242424;
    background: rgba(36,36,36,0.95);
    border-top: none;
   padding: 2% 0 5%;
    border-bottom: 2px solid #ccc;
}

.g2017 .nav-ota-yhteytta .hs-richtext a {
    
    color: #ffcc33;
}

.g2017 .nav-ota-yhteytta, .g2017 .rfp-form {
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto !important;
    z-index: 999;
}

.g2017 .nav-ota-yhteytta form {

 max-width: 100%;
    width: 560px;
    margin: 0 auto 30px auto;
    
}

.g2017 .nav-ota-yhteytta .listaus-linkit {
    
     max-width: 100%;
    width: 560px;
    margin: 30px auto 0 auto !important;
    float: none;
}

.g2017 .rfp-form *, .g2017 .nav-ota-yhteytta * {
    color: #fff;   
}

.g2017 .rfp-form form {
    
    max-width: 100%;
    width: 560px;
    margin: 0 auto;
}   

.ingressi, .ingressi p {
    
    font-size: 20px;
    line-height: 36px;
    font-weight: 300;
}

.g2017 .tumma-bg .hs-button {
    
    width: 100%; 
    display: block;
    
}

.g2017 .widget-type-rss_listing .hs-rss-module::after,
.g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-module::after {
    
    clear: both;
    content: "";
}

.g2017 .hs_cos_wrapper_type_rss_listing h3 {
    margin-bottom: 20px;
    border: none;
    padding-bottom: 20px;
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.1em;
}

body.g2017 .widget-type-rss_listing .hs-rss-item,
body.g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item {
    
    padding: 0 0 0 0;
    position: relative;
    width: 31.33%;
    float: left;
    text-align: center;
    margin: 0 3% 3% 0;
    border: none;
    min-height: 105px;
  
  
    
}

body.palvelusivut .hs_cos_wrapper_type_rss_listing .hs-rss-item {
    margin: 0 3% 5% 0; 
}

body.g2017 .widget-type-rss_listing .hs-rss-item:last-child,
body.g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item:last-child {
    
    padding: 0 0 0 0;
    position: relative;
    width: 31.33%;
    float: left;
    text-align: center;
    margin: 0 0 3% 0;
    border: none;
    min-height: 105px;
 
    
    
}

body.g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item:first-child {
   min-height: 300px;
}

@media screen and (min-width: 769px) {
  body.g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item.hs-with-featured-image .hs-rss-item-text {
    padding-top: 0;
  }

  body.g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item .hs-rss-item-text {
    padding-top: 85px;
  }
  
}

body.g2017 .widget-type-rss_listing .hs-rss-item.hs-with-featured-image,
body.g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item.hs-with-featured-image {
    
    padding: 305px 0 0 0;
      
   padding: 20% 0 0 0;
    
}



body.g2017 .bloginosto-case.widget-type-rss_listing .hs-rss-item,
.g2017 .widget-type-rss_listing .hs-rss-item {
    
     padding: 305px 0 0 0;
     
  padding: 20% 0 0 0;
    position: relative;
    width: 31.33%;
    float: left;
    text-align: center;
    margin: 0 3% 3% 0;
    border: none;
    min-height: 405px;
}

body.g2017 .bloginosto-case.widget-type-rss_listing .hs-rss-item:last-child,
.g2017 .widget-type-rss_listing .hs-rss-item:last-child {
    
     padding: 305px 0 0 0;
    
  padding: 20% 0 0 0;
    position: relative;
    width: 31.33%;
    float: left;
    text-align: center;
    margin: 0 0 3% 0;
    border: none;
    min-height: 405px;
}

.blogi-kaikki-3-saraketta .widget-type-rss_listing .hs-rss-item  {
    
    padding: 305px 0 0 0;
    
  padding: 65% 0 0 0 !important;
    position: relative;
    width: 100% !important;
    float: none;
    text-align: center;
    margin: 0 0 30px 0 !important;
    border: none;
}

@media screen and (min-width: 768px) {
    
    .blogi-kaikki-3-saraketta .widget-type-rss_listing .hs-rss-item .hs-rss-item-text  {
            min-height: 136px;
    }
    
}

.blogi-kaikki-3-saraketta .blogi-lista {
    
    margin-bottom: 20px;
}

.g2017 .widget-type-rss_listing .hs-rss-item:nth-child(4n+4),
.g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item:nth-child(4n+4) {
    
   clear: both;
}   

.g2017 .hs-rss-item.hs-with-featured-image .hs-rss-item-text {
    width: 100%;
    float: none;
    padding-right: 0;
    box-sizing: border-box;
}

.g2017 .hs-rss-title {
    
    position: relative;
   
    display: block;
}

.g2017 .hs-rss-title span {
    font-size: 20px;
    line-height: 1.2em;
    display: block;
    font-weight: 900;
}

.g2017 .topic-blogi .hs-rss-title::before {
    width: 100%;
    text-align: center;
    content: "Blogi";
    font-weight: 700;
    text-transform: uppercase;
    color: #50BCBC;
    font-size: 12px;
    line-height: 1em;
    display: block;
    margin: 0 0 20px 0;
}

.g2017.se-front .topic-blogi .hs-rss-title::before {
  content: 'Blogg';
}

.g2017.en-front .topic-blogi .hs-rss-title::before {
  content: 'Blog';
}

.g2017 .topic-blog .hs-rss-title::before {
   
    width: 100%;
    text-align: center;
    content: "Blog";
    font-weight: 700;
    text-transform: uppercase;
    color: #50BCBC;
    font-size: 12px;
    line-height: 1em;
    display: block;
    margin: 0 0 20px 0;
}

.g2017 .topic-tiedote .hs-rss-title::before {
    width: 100%;
    text-align: center;
    content: "Tiedote";
    font-weight: 700;
    text-transform: uppercase;
    color: #45b97c;
    font-size: 12px;
    line-height: 1em;
    display: block;
    margin: 0 0 20px 0;
}

.g2017.se-front .topic-tiedote .hs-rss-title::before {
  content: 'Nyheter';
}

.g2017.en-front .topic-tiedote .hs-rss-title::before {
  content: 'News';
}

.g2017 .topic-case .hs-rss-title::before {
  width: 100%;
    text-align: center;
    
    font-weight: 700;
    text-transform: uppercase;
    color: #45b97c;
    font-size: 12px;
    line-height: 1em;
    display: block;
    margin: 0 0 20px 0;
    content: "Case";
   
}

.g2017 .topic-vierailijakyna .hs-rss-title::before {
    
   
  width: 100%;
    text-align: center;
    
    font-weight: 700;
    text-transform: uppercase;
    color: #F1729E;
    font-size: 12px;
    line-height: 1em;
    display: block;
    margin: 0 0 20px 0;
    content: "Vieraskynä";
   
}

.g2017 .topic-guest .hs-rss-title::before {
    
   
  width: 100%;
    text-align: center;
    
    font-weight: 700;
    text-transform: uppercase;
    color: #F1729E;
    font-size: 12px;
    line-height: 1em;
    display: block;
    margin: 0 0 20px 0;
    content: "Guest column";
   
}

.g2017 .topic-vierailijakyna h3, .g2017 .topic-case h3, .g2017 .topic-blogi h3,
, .g2017 .topic-guest h3, .g2017 .topic-blog h3{
    
    display: none;
}


.g2017 .widget-type-rss_listing .hs-rss-item .hs-rss-item-image-wrapper,
.g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item .hs-rss-item-image-wrapper {
    
    position: absolute;
    top: 0;
    left: 0;
    height: 277px;
    width: 100%;
    overflow: hidden;
  /*   background: url(https://www.grano.fi/hubfs/Identity/Layout/blog-bg-grano.jpg) no-repeat center top; */
    background-size: cover;
   padding: 0 0 66.6% 0 !important;
  padding: 0 0 56.25% 0 !important;
    height: 0 !important;
  
    
}

body.g2017.js-enabled #pop-up-sisalto {
    
    background: #242424;
    background: rgba(36,36,36,0.95);
    border-top: none;
   padding: 2% 0 5%;
    border-bottom: 2px solid #ccc;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto !important;
    z-index: 999;
}

body.g2017.js-enabled #pop-up-sisalto .kehys {
    
    position: relative;
}

body.g2017.js-enabled #pop-up-sisalto .leiju {
    
       top: -70px;
    right: 20px;
    font-size: 80px;
    width: auto;
    display: inline-block;
    position: absolute;
} 


body.js-enabled.g2017 #pop-up-sisalto {
    
    padding: 60px 5%;
}

.g2017 #pop-up-sisalto * {
    
    color: #fff;   
}

.g2017 #pop-up-sisalto a {
    
    color: #fff;   
    text-decoration: underline;
}

.g2017 #pop-up-sisalto a.painike {
    text-decoration: none;   
}



.g2017 .widget-type-rss_listing .hs-rss-item .hs-rss-item-image-wrapper img,
.g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item .hs-rss-item-image-wrapper img {
    
       max-width: 9999px;
  max-width: 100%;
    min-height: 100%;
  min-height: 1px;
    height: 118% !important;
  height: auto !important;
    min-width: 100%;
    width: auto !important;
    margin-left: -16%;
  margin-left: 0;
  
  /*  
      max-width: 9999px;
    min-height: 100%;
    height: auto !important;
    min-width: 100%;
    width: 100% !important;
    
    */
}   

@media screen and (min-width: 1400px) {
 
  .g2017 .widget-type-rss_listing .hs-rss-item .hs-rss-item-image-wrapper img,
.g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item .hs-rss-item-image-wrapper img {
  
  max-width: 9999px;
  max-width: 100%;
    min-height: 1px;
    height: auto !important;
    min-width: 1px;
    width: 140%!important;
  width: 100% !important; 
    margin-left: -20%;
  margin-left: 0;
  }
}


.g2017 .body-container .cta_button, .g2017 .body-container a.painike-musta {
    
    background: #242424 !important; 
    color: #ffcc33 !important;
    border-radius: 0 !important;
    padding: 15px 5% !important;
    box-sizing: border-box !important;
    font-weight: 600 !important;  
    width: 310px; 
    text-transform: uppercase !important;
    font-size: 15px !important;
    line-height: 1em !important;
    max-width: 100% !important; 
    font-family: "proxima-nova", sans-serif !important;
}

.blog.g2017 .body-container .cta_button {
  
  background: #49b97b !important;
  color: #fff !important;
}

.blog.g2017 .body-container .cta_button * {
 background: transparent !important;
  color: inherit !important;
}


.blog.g2017 .body-container .cta_button:hover {
  
  background: #000 !important;
  color: #fff !important;
  transition: background 0.3s;
}

.g2017 .body-container .cta_button * {
    
    background: none !important; 
    color: #ffcc33 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  font-family: "proxima-nova", sans-serif !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    line-height: 1em !important;
    max-width: 100% !important; 
}

.g2017 .body-container .cta_button:hover, a.painike-musta:hover{
    
    opacity: 0.7;
    transition: all 0.3s;
}


.g2017 .btn-primary, .g2017 .painike a, .g2017 a.painike, .g2017 .painikkeet a {
    border: 0;
    padding-left: 2.5em;
    padding-right: 2.5em;
    padding-top: .8em;
    padding-bottom: .8em;
    line-height: 1.5em;
    text-decoration: none;
    padding: 10px 26px;
    background-color: #dd4d49;
    color: #fff !important;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all .5s ease;
    display: inline-block;
    margin-top: 20px;
    box-sizing: border-box !important;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.g2017 .painike.valkoinen a, .g2017 a.painike.valkoinen {
    
    background: none !important;
    border: 1px solid #000 !important;
    color: #000 !important;
    transition: all 0.3s;
}

.g2017 .painike.valkoinen a:hover, .g2017 a.painike.valkoinen:hover {
    
    background: #000 !important;
    border: 1px solid #000 !important;
    color: #fff !important;
    transition: all 0.3s;
}


.lomake-harmaa form input {
    
    background: #efefef;
    border: none;
    border-radius: 0;
    margin: 0 0 7px 0;
    padding: 15px 15px;
    text-align: center;
    font-size: 12px;
}

.lomake-harmaa form label {
    
    display: none;   
}

.lomake-harmaa form .hs-richtext span {
 color: #000 !important; 
}

.lomake-harmaa h2 {
    
    margin: 0 0 15px 0;
}

.lomake-harmaa form .hs-error-msgs label {
    
    display: block;
    color: #999;
}

.lomake-harmaa form input.hs-button {
    
    display: block;
    background: #dd4d49;
    color: #fff;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin: 15px 0 10px 0;
}

.lomake-pieni.tilaus h3.form-title {
    
    text-transform: none;
    font-size: 14px;
    line-height: 24px;
    color: #1B1B1B;
    font-weight: 400;
    text-align: left;
    margin-top: 30px;
}


#etusivu-smart-uutiskirje .pieni-form form .hs-form-field {
    
    float: left;
    width: 246px;
   
    border: none;
}

#etusivu-smart-uutiskirje .pieni-form form .hs-form-field input {
     border: none !important;
      height: 46px;
}

#etusivu-smart-uutiskirje .pieni-form form .hs-form-field label {
    
    display: none;
}

#etusivu-smart-uutiskirje .pieni-form form .hs-form-field .hs-error-msgs  label {
    
    display: block;
}

#etusivu-smart-uutiskirje .pieni-form .form-title {
    
    display: none;
}

#etusivu-smart-uutiskirje .pieni-form form .hs_submit {
    
    float: left;
  
 
    
}


body .hs_cos_gallery_thumbnails {
    
    padding: 0;
}

body .hs_cos_gallery_lightbox_thumbnails .hs_cos_gallery_slide .slick-slide-inner-wrapper img {
    
    margin: 0 auto;
    height: 100% !important;
    max-width: initial;
    width: initial;
}

body .vex-content.hs-gallery .vex-close {
    position: fixed;
    top: 10px;
    right: 30px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 9999999;
}


body .hs_cos_gallery_lightbox_thumbnails .hs_cos_gallery_slide {
    height: 100px;
    margin-bottom: 10px;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
    width: 33.33% !important;
    height: 230px;
}

.hs_cos_gallery .caption.below p, .hs_cos_gallery .caption.below   {
      margin: 0;
    font-size: 13px;
    line-height: 1.4em;
    color: #333;
}

.blog .hs_cos_gallery  .slick-prev, .blog .hs_cos_gallery  .slick-next {
    position: absolute;
    display: block;
    height: 40px;
    width: 40px;
    line-height: 0px;
    font-size: 0px;
    cursor: pointer;
   background: #000;
    color: transparent;
    top: calc(50% - 23px);
    margin-top: 0;
   
    padding: 2px 0 0 1px;
  border-radius: 50%;
  z-index: 10;
    border: none;
    outline: none;
}

.blog .hs_cos_gallery .slick-prev:before, .blog .hs_cos_gallery .slick-next:before {
    font-family: "slick";
    font-size: 40px;
    line-height: 1;
    padding: 0;
   
    
    opacity: 1;
      color: #FFCC33;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-radius: 50%;
}

.hs_cos_gallery .caption.below {
     
   margin: 10px;
}

 body.gallery-image-open {
    
  overflow: hidden;  
  }
  
  body.gallery-image-open .hs_cos_gallery_main * {
    overflow: visible !important;
   
  }
  
  body.gallery-image-open .hs_cos_gallery_main {
      position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  
  }

body.gallery-image-open .hs_cos_gallery .caption.below p, body.gallery-image-open .hs_cos_gallery .caption.below {
    margin: 0 0 0 0;
    font-size: 13px;
    line-height: 1.4em;
    color: #fff;
}
  
  body.gallery-image-open .hs_cos_gallery .caption.below {
   padding-top: 10px; 
    width: 800px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
    body.gallery-image-open .hs_cos_gallery_main::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      background: #000;
      background: rgba(0,0,0,0.8);
  }
  
   body.gallery-image-open .hs_cos_gallery_main .slick-list {
    z-index: 10;
     position: relative;
      
    width: 90%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.gallery-image-open .hs_cos_gallery_main .slick-dots  {
    display: block;
    z-index: 20;
    position: absolute;
    bottom: 3%;
}

  body.gallery-image-open .hs_cos_gallery_main .slick-track  {
       width: 100% !important;
    transform: none !important;
    height: 100vh !important;
    align-items: center;
    justify-items: center;
  }
  
  body.gallery-image-open .hs_cos_gallery_main .slick-dots li button:before {
    color: #ffcc33;
  
  
  }
  body.gallery-image-open .hs_cos_gallery_main .slick-slide {
    display: none !important;
    height: auto;
    width: 100%;  
  max-width: 100%;
    position: absolute;
  }
   body.gallery-image-open .hs_cos_gallery_main .slick-current.slick-active {
    display: flex !important;
    
  }
  
    .hs_cos_gallery_main .hs_cos_gallery_slide img.hs_cos_gallery_slide__popup--enabled {
    
  	 cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
  }
  
  body.gallery-image-open .hs_cos_gallery_main .hs_cos_gallery_slide img.hs_cos_gallery_slide__popup--enabled {
    
  	 cursor: default;
    opacity: 1 !important;
    transition: all 0.3s ease;
  }
  
  body.gallery-image-open .hs_cos_gallery_main img {
    
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 77vh;
    position: relative;
  }

  body.gallery-image-open .hs_cos_gallery_slide__popup__close {
   display: flex; 
  }
  
.hs_cos_gallery_slide__popup__close {
    display: none;
    position: absolute;
   cursor:pointer;
    top: -80px;
    right: 0;
    z-index: 15;
    width: 40px;
    height: 40px;
    background: #ffcc33;
    color: #000;
    font-size: 34px;
    font-weight: 700;
    border-radius: 50%;
    border: 1px solid #000;
    padding: 8px;
    box-sizing: content-box;
   align-items: center;
    justify-content: center;
  }
  
  @media (min-width:  600px) {
    
    .hs_cos_gallery_slide__popup__close {
      top: -29px;
    right: -29px;
    }
  }

  
  .hs_cos_gallery_slide__popup {
   display: none;
  position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
 
    
  }
  
  .hs_cos_gallery_slide__popup .hs_cos_gallery_slide__popup__overlay {
       width: 100%;
    height: 100%;
    background: #000;
    background: rgba(0,0,0,0.9);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }
  
 
  
  .hs_cos_gallery_slide__popup__inner {
    
    position: relative;
    z-index: 10;
  }

#etusivu-smart-uutiskirje form {
    
  
    margin: 0 auto;
    max-width: 100%;
    width: 700px;
}

#etusivu-smart-uutiskirje form .hs-richtext {
    
    float: left;
   
    margin: 5px 0;
    padding: 0 35px 0 0;
}

#etusivu-smart-uutiskirje form .hs-richtext h2 {
    
    padding: 0;
    margin: 0;   
        font-size: 18px;
    line-height: 1.3em;
    font-weight: 900;
    margin: 7px 0 0 0;
    text-transform: uppercase;
}

#etusivu-smart-uutiskirje .rivi-matala {
    padding-top: 25px;
    padding-bottom: 25px;
}

#etusivu-smart-uutiskirje .pieni-form form .hs-button {
    
    margin-top: 0 !important;
     height: 46px;
}

.g2017 .body-container .mahdottomasta-mahdollista  .cta_button, .g2017 .body-container .mahdottomasta-mahdollista   a.painike-musta {
  background: transparent !important;
}

@media screen and (max-width: 1100px) {
    
        
    #etusivu-smart-uutiskirje form {
    width: 390px;
    margin: 0 auto;
}

#etusivu-smart-uutiskirje form .hs-richtext {
   float: none;
    margin: 5px 0 25px 0;
    padding: 0 0 0 0;
}


}

@media screen and (max-width: 470px) {
    
        
 #etusivu-smart-uutiskirje .pieni-form form .hs_submit, #etusivu-smart-uutiskirje .pieni-form form .hs-form-field {
    
    float: none;
   width: 100%;
 
    
}


}


.someikonit-harmaa {
    
    margin: 30px 0;
}

.someikonit-harmaa .instagram { 
 top: 3px;
  position: relative;
  
}

.someikonit-harmaa a {
    
    padding: 0 20px; 
    display: inline-block;
    cursor:pointer;
}



.hs_cos_wrapper_type_simple_menu .hs-menu-wrapper.hs-menu-flow-horizontal {
    
    text-align: center;
}

.hs_cos_wrapper_type_simple_menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
    
    display: inline-block;
    padding: 10px 20px;
    white-space: nowrap;
    max-width: 740px;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #EFEFEF;
    text-decoration: none;
    color: #1B1B1B;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 15px;
    margin: 0 5px 10px 5px;
}

.etusivu .hs_cos_wrapper_type_simple_menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li {
    
    margin: 0;
}

.etusivu .hs_cos_wrapper_type_simple_menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
    
    border: 1px solid #1d1e1d;
    font-size: 13px;
    line-height: 1.1em;
    font-weight: 600;
    color: #949494;
   
    background: none;
    padding: 11px 20px;
    min-width: 140px;
    margin: 0 10px 10px 10px;
    overflow: initial !important;
}


.etusivu .hs_cos_wrapper_type_simple_menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:first-child a {
    
    border: 1px solid #000;
    font-size: 13px;
    line-height: 1.1em;
    font-weight: 600;
    color: #fff;
    cursor: default;
    background: #000;
    padding: 11px 20px;
    min-width: 140px;
    margin: 0 10px 10px 10px;
    position: relative;
    
}

.etusivu .hs_cos_wrapper_type_simple_menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:first-child a::after {
  width: 0; 
  height: 0; 
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  
  border-top: 10px solid #000;
    content: " ";
    position: absolute;
    top: 100%;
   transform: translateX(-50%);

  left: 50%;
   
    
}

.etusivu .hs_cos_wrapper_type_simple_menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:first-child a:hover {
    opacity: 1;
}  


.ei-valia-50p .span6 {
    width: 50% !important;
    margin: 0 0 30px 0 !important;
}


    
.g2017.blog .body-container {
    
    background: #fff;
    
}

.g2017.blog .hs_cos_gallery_main .slick-slide img {
  
      margin-top: 40px;
}

.g2017.blog .hs_cos_gallery_thumbnails .slick-slide img  {
 margin-bottom: 20px; 
}

.g2017.blog .slick-slider {
 margin-bottom: 0; 
}

.g2017.blog .blog-header {
    
    border-bottom: 1px solid #eee;
}

.g2017.blog.rc-referenssit .blog-header {
    
    border-bottom: 0px;
}

.g2017.blog.rc-referenssit .blog-header h1 {
  font-size: 60px;
    line-height: 1.1em;
    color: #1B1B1B;
    text-align: center;
    margin: 15px 0 0 0;
    text-transform: none; 
}

.g2017.blog.rc-referenssit a.takaisin {
    background-color: #EFEFEF;
    padding: 0px 22px 0px 10px;
    font-size: 13px;
    font-weight: bold;
    line-height: 24px;
    color: #DD4D49;
    margin-left: 25px; 
    display: inline-block; 
}

.g2017.blog .blog-header .aiheet .aihe,  .g2017.blog .blog-header .julkaistu {
    
    float: left;
    padding-right: 15px;
    text-transform: uppercase;
}



.g2017.blog .blog-header .julkaistu {
    
  
    font-size: 11px;
    line-height: 13px;
    letter-spacing: 1px;
    color: #C6C6C6;
        position: relative;
    top: 0;
    left: 0;
}
}

.g2017.blog .blog-header .aiheet .aihe.t-blogi {
    
    font-size: 11px;
    font-weight: 900;
    line-height: 13px;
    letter-spacing: 1px;
    color: #50BCBC;
}

.g2017.blog .blog-header .aiheet .aihe.t-case {
    
    font-size: 11px;
    font-weight: 900;
    line-height: 13px;
    letter-spacing: 1px;
    color: #45B97C;
}

.g2017.blog .blog-header .aiheet .aihe.t-refe {
    
    font-size: 11px;
    font-weight: 900;
    line-height: 13px;
    letter-spacing: 1px;
    color: #aa5ea1;
}

.g2017.blog.rc-referenssit .blog-header .aiheet .aihe {
    text-align: right;
    float: right;
    padding-right: 25px;
}

.g2017.blog .blog-header .aiheet .aihe.t-vieraskyna {
    
    font-size: 11px;
    font-weight: 900;
    line-height: 13px;
    letter-spacing: 1px;
    color: #F1729E;
}

.g2017.blog .blog-header h1 {

    
    font-size: 34px;
    font-weight: 900;
    line-height: 41px;
    color: #1B1B1B;
    text-align: left;
    margin: 15px 0 0 0;

}

.g2017.blog .blog-post-sisalto {
    
    padding-left: 305px;
    
}

.g2017.blog .blog-post-sivupalkki {
    
    position: absolute;
    left: 20px;
    top: 80px;
    width: 260px;
}   

.g2017.blog .blog-post-sivupalkki form label {
    display: none;
}

.g2017.blog .blog-post-sivupalkki form .hs-error-msgs label {
    
    display: block;   
}

.g2017.blog a.back-link, .rekry-sivupalkki .back-link {
    display: block;
    margin-bottom: 25px;
    color: #777;
    margin-top: -20px;
    position: absolute;
    left: 20px;
    top: 49px;
    background-color: #EFEFEF;
    padding: 0px 22px 0px 10px;
    font-size: 13px;
    font-weight: bold;
    line-height: 24px;
    color: #DD4D49;
    text-decoration: none;
}

.rekry-sivupalkki .back-link {
    
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    margin: 0 0 0 20px;
}

.g2017.blog a.back-link:hover {
    opacity: 0.7;
    transition: all 0.3s;
}   

.g2017.blog a.back-link::before, 
.rekry-sivupalkki .back-link::before,
.g2017.blog.rc-referenssit a.takaisin::before {
    
    content: "\f104";
    font-family: 'fontAwesome';
    color: #ccc;
    padding-right: 8px;
}

.rekry-sivupalkki .back-link {
    
    position: relative;
    display: inline-block;
    margin: 0 0 0;
    top: 0;
    left: 0;
}

.iso9001 {
    
    display: inline-block;
    position: relative;
    color: #ef433f;
    cursor:default;
    z-index: 1;
}

.iso9001::after {
    
    position: absolute;   
    top: 40px;
    left: 10px;
    z-index: 2;
    content: "";
    background: url('https://www.grano.fi/hs-fs/hubfs/Images/Sertifikaatit/Inspecta_ISO9001_ISO14001_lowres.jpg?t=1504689246855&width=128&name=Inspecta_ISO9001_ISO14001_lowres.jpg') no-repeat center center #fff;
    width: 160px;
    
    height: 96px;
    visibility: hidden;
    opacity: 0;
    padding: 15px;
   
    box-shadow: 0 0 5px #ccc;
    transition: all 0.5s;
}

.iso9001:hover::after {
    
    visibility: visible;
    opacity: 1;
}

#teksti1, #teksti2, #teksti3, #teksti4, #teksti5 {
    display: none;   
}



.addthis-somejaot h4 {
    
   font-size: 12px;
    font-weight: 600;
    line-height: 31px;
    letter-spacing: 1px;
    color: #949494;
    border-bottom: 1px solid #949494;
    text-transform: uppercase;
    margin: 20px 0 10px 0;
    padding: 0 0 0 0;
}

.addthis-somejaot {
    
    width: 560px;
    margin: 0 auto;
    float: none;
    max-width: 100%;
}

.addthis-somejaot .at-share-btn-elements svg {
    
   fill: #C6C6C6 !important;
}

.rekry-sivupalkki .addthis-somejaot .at-share-btn-elements svg {
    
   fill: #FFCC33 !important;
}


.addthis-somejaot .at-share-btn-elements .at-share-btn:first-child {
    
    padding-left: 0;
    margin-left: 0;
}


.g2017.blog .about-author-sec2 .kuva img {
    
    max-width: 90%;
    border: none !important;
    margin: 5px 0 10px;
}

.g2017.blog .about-author-sec2 h4, .g2017.blog .about-author-sec2 h4 a {
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 5px 0 7px 0;
    text-decoration: none;
}

.g2017.blog .about-author-sec2 .hs-author-social-section {
    
    margin-top: 5px;
}

.g2017.blog .about-author-sec2 .hs-author-social-links a {
    
    filter: grayscale(100%);
    border-radius: 50%;
}

.g2017 .etsi-sulje i, .g2017 .etsi-sulje i {
    
    font-size: 52px;
    color: #242424;
}

.g2017 .etsi-sulje {
       position: absolute;
    right: 34px;
    top: 10px;
    width: 20px;
}


.g2017 .gsc-results .gsc-cursor {
    display: block;
    padding-right: 10px;
}

body.g2017  .gsc-results .gsc-cursor-box .gsc-cursor-page {
    border: none;
    background-color: #ee4446;
    color: #fff;
    font-weight: 700;
    padding: 10px 14px;
    display: inline-flex;
    margin: 4px 4px 4px 4px;
}

.g2017 .mobile-menu .etsi-sulje {
    
    padding: 0 0 0 15px;
    display: inline-block;
}

.g2017 .etsi-lomake {
    
    background: #ffcc33;
    position: fixed;
    top: 0;
    right: 0;
    overflow: auto !important;
    width: 100%;
    padding: 40px 5% 20px 5%;
    z-index: 300;
    height: 100%;
    
    }
    
    body.g2017 input.gsc-search-button, body.g2017 input.gsc-search-button:hover, body.g2017 input.gsc-search-button:focus {
        
        background: url(https://www.grano.fi/hubfs/Identity/Layout/search-dark.svg) no-repeat center center; 
        padding: 25px;
     
    position: absolute;
    top: 32px;
    right: 24px;
    }
    
    body.g2017 .gsc-input-box {
    border: none;
    background: #ffcc33;
    height: 49px;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #242424;
    position: relative;
}


.g2017 .gsst_a {
    
    display: none;
}
    

    body.g2017 .gsib_a {
    width: 100%;
   padding: 13px 6px 0;
   
}

    body.g2017 .gs-result a.gs-title:after {
        
        content: none !important;
    }
    

   body.g2017  .gsc-search-box-tools .gsc-search-box input[type="text"] {
    display: block !important;
    font-size: 21px !important;
    line-height: 1.42857143 !important;
    color: #242424 !important;
    background: none !important;
   
}

    .g2017 .gsst_a .gscb_a {
        
        color: #242424;
    }
    
    .g2017 .gsc-webResult.gsc-result {
        
        text-align: left;
    }
    
 .g2017 .etsi-lomake .gsc-control-cse {
     
     background: none;
     width: 400px;
     max-width: 100%;
     margin: 0 auto;
     padding: 30px 0 10px;
 }
 
  .g2017 .etsi-lomake .cse .gsc-control-cse,  .g2017 .etsi-lomake .gsc-control-cse {
      
      background: none;
      border: none;
      position: relative;
      top: 30%;
      
  }
  
.g2017 .fi-search .gsc-control-cse-fi,
.g2017 .en-search .gsc-control-cse-fi {
    
    position: relative;
}

     .g2017 .fi-search .gsc-input-box::before {
        
        content: "Hae palvelusta...";
        position: absolute;
        top: -35px;
        left: 0;
        font-size: 25px;
        line-height: 1.1em;
        font-weight: 900;
        color: #fff;
    }
    
      .g2017 .en-search .gsc-input-box::before {
        
        content: "Search";
        position: absolute;
        top: -35px;
        left: 0;
        color: #fff;
        font-size: 25px;
        line-height: 1.1em;
        font-weight: 900;
      
    }
    
     .g2017 .se-search .gsc-input-box::before {
        
        content: "Sök";
        position: absolute;
        top: -35px;
        left: 0;
        color: #fff;
        font-size: 25px;
        line-height: 1.1em;
        font-weight: 900;
      
    }
    
    .g2017 .gsc-input-box {
        
        position: relative;
    }
  
  
  .g2017 #___gcse_0 {
       
       padding: 10% 5% 5%;
       position: relative;
   }
  
  .g2017 .gsc-above-wrapper-area {
    border-bottom: none;
    padding: 5px 0 5px 0;
}


@media screen and (min-width: 1016px) {
    
       .g2017 .etsi-lomake {
    
    background: rgba(0,0,0,0.75);
   
    
    }
    
     .g2017 .fi-search .gsc-control-cse-fi::before {
        
     
        color: #fff;
    }
    
    .g2017 .gsc-search-box {
        
        position: relative;
    }
    
    .g2017 .gsc-result-info {
        
        color: #fff;
    }
    
    .g2017 .etsi-lomake .gsc-control-cse {
    background: none;
    width: 585px;
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 0 10px;
}

    
   
   
   body.g2017 input.gsc-search-button, body.g2017 input[type="text"].addsearch {
    background: url(https://www.grano.fi/hubfs/Identity/Layout/search.svg) no-repeat right center transparent !important;
   
}

     body.g2017 input.gsc-search-button:hover {
          background: url(https://www.grano.fi/hubfs/Identity/Layout/search.svg?t=1490697659528) no-repeat center center;
        opacity: 0.7; 
     }  
     
     
    
     body.g2017 .gsc-input-box {
    border: none;
    background: none;
    color: #fff;
     border-bottom: 2px solid #ffcc33;
      position: relative;
       top: 30%;
}
    
    body.g2017  .gsc-search-box-tools .gsc-search-box input[type="text"] {
        
        color: #fff !important;
    }
    
   body.g2017  input[type="text"].addsearch {
       
       color: #fff !important;
      font-size: 21px;
      line-height: 1em;
       border: none !important;
       height: 41px;
       
   }
    
    .g2017 .etsi-sulje i, .g2017 .etsi-sulje i {
   
    color: #fff !important;
}

}

.g2017 .mobile-nav {
    
    display: none;
        position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 199;
    height: 100%;
    overflow: auto !important;
}

.g2017 .mobile-nav .widget-type-menu {
    
    padding-top: 6%;
}

a {
    
    text-decoration: none;
}

.g2017 .post-listing .post-item {
    
    width: 30.33%;
    margin: 0 1.5% 5% 1.5%;
    float: left;
    border: none;
    padding: 0;
}

.g2017.blog-se .post-listing .post-item {
    
    width: 100%;
    margin: 0 0 5% 0;
    float: none;
}

.g2017 .header-container .widget-type-global_group {
    
    background: #242424;
}


.g2017 .post-listing .post-item:nth-child(3n+4) {
    
   clear: both;
}
    .g2017 .post-listing  .post-item h2 a, .g2017 .post-listing  .post-item h2 {
    font-size: 20px;
    line-height: 1.2em;
    display: block;
    color: #242424;
    text-transform: none;
    text-decoration: none;
    font-weight: 900;
    margin: 0;
}

    .g2017 .post-listing  .post-item h2 a::after {
        
        content: ">";
        padding-left: 10px;
    }

.g2017 .post-listing .post-item .hs-featured-image-wrapper {

    height: 277px;
    width: 100%;
    overflow: hidden;
    
    background-size: cover;
    margin-bottom: 20px;
height: 0 !important;
  padding: 0 0 66.6% 0 !important;
   padding: 0 0 56.25% 0 !important;
    
}

.g2017 .post-listing .post-item .hs-featured-image-wrapper a:hover {
 transition: 0.5s opacity; 
}

.g2017 .post-listing .post-item .hs-featured-image-wrapper img {
    max-width: 9999px;
    min-height: 100%;
    height: 125% !important;
    min-width: 100%;
    width: auto !important;
  
 
    height: 118% !important;
    min-width: 100%;
    width: auto !important;
    margin-left: -16%;
  float: none;
  
  max-width: 9999px;
    min-height: 1px;
    height: auto !important;
    min-width: 1px;
    width: 140%!important;
  width: 108%!important;
    margin-left: -20%;
  margin-left: -4%;
 
}

@media screen and (min-width: 768px) and (max-width: 1014px) {
  .g2017 .post-listing {
    
   margin-left: auto;
    margin-right: auto;
    width: 700px;
    max-width: 100%;
  }
  
  .g2017 .post-listing .post-item .hs-featured-image-wrapper {
    height: 218px;
    
  }
  
}


@media screen and (min-width: 1016px) and (max-width: 1399px) {
  .g2017 .post-listing {
    
   margin-left: auto;
    margin-right: auto;
    width: 960px;
    max-width: 100%;
  }
  
  .g2017 .post-listing .post-item .hs-featured-image-wrapper {
    height: 192px;
    
  }
  
}

@media screen and (min-width: 1400px) {
 
  .g2017 .post-listing .post-item .hs-featured-image-wrapper img {
  
  max-width: 9999px;
    min-height: 1px;
    height: auto !important;
    min-width: 1px;
    width: 140%!important;
    width: 108%!important;
    margin-left: -20%;
    margin-left: -4%;
  }
}





.g2017 .topic-listaus {
    
    text-align: center;
}

.g2017.blog .topic-case {
    
    font-weight: 700;
    text-transform: uppercase;
    color: #45b97c;
    font-size: 12px;
    line-height: 1em;
    display: inline-block;
    margin: 0 0 0 0;
    padding-right: 7px;
    text-decoration: none;
}

.g2017.blog .topic-vieraskyna {
    
    font-weight: 700;
    text-transform: uppercase;
    color: #F1729E;
    font-size: 12px;
    line-height: 1em;
    display: inline-block;
    margin: 0 0 0 0;
    padding-right: 7px;
    text-decoration: none;
}

.g2017.blog .topic-blogi, .g2017.blog .topic-uratarina {
    
    font-weight: 700;
    text-transform: uppercase;
    color: #50BCBC;
    font-size: 12px;
    line-height: 1em;
    display: inline-block;
    margin: 0 0 0 0;
    padding-right: 7px;
    text-decoration: none;
}

.g2017.blog .topic-tiedote {
    
    font-weight: 700;
    text-transform: uppercase;
    color: #45b97c;
    font-size: 12px;
    line-height: 1em;
    display: inline-block;
    margin: 0 0 0 0;
    padding-right: 7px;
    text-decoration: none;
}

.g2017.blog .topic-refe {
    
    font-weight: 700;
    text-transform: uppercase;
    color: #aa5ea1;
    font-size: 12px;
    line-height: 1em;
    display: inline-block;
    margin: 0 0 0 0;
    padding-right: 7px;
    text-decoration: none;
}


.g2017 .blogi-lista {
    
    text-align: center;
}

.g2017 .topic-listaus {
    
    text-align: center; 
    display: block;
    margin: 0 0 15px 0;
}

.g2017 .blogi-lista li, .g2017 .blogi-lista ul {
    
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}


.g2017 .blogi-lista a {
    border: 2px solid #1d1e1d;
    font-size: 13px;
    line-height: 1.1em;
    font-weight: 600;
    color: #000;
    background: none;
    padding: 11px 20px;
    min-width: 140px;
    margin: 0 10px 10px 10px;
    overflow: initial !important;
     text-decoration: none;
     display: inline-block;
     text-transform: uppercase;
}

.g2017 .blogi-lista a.active {
    
    border: 1px solid #000;
    font-size: 13px;
    line-height: 1.1em;
    font-weight: 600;
    color: #fff;
   
    background: #000;
    padding: 11px 20px;
    min-width: 140px;
   
    margin: 0 10px 10px 10px;
    position: relative;
}

.g2017 .blogi-lista a.active::after {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000;
    content: " ";
    position: absolute;
    top: 100%;
    transform: translateX(-50%);
    left: 50%;
}

.g2017 .topic-listaus .julkaistu {
    font-size: 11px;
    line-height: 13px;
    letter-spacing: 1px;
    color: #C6C6C6;
}

.g2017 .topic-listaus .julkaistu, .g2017.blog .topic-listaus ul {
    float: none;
    display: inline-block;
    padding-right: 15px;
    text-transform: uppercase;
}


.videon-upotus.iframe-video {
    
   
        margin: 0 auto;
}

.keskita {
    
    text-align: center; 
}

.hubdb-henkilosto .henkilosto-nosto {
    
   
    width: 47%;
    position: relative;
    z-index: 0;
    margin: 0 1.5% 3%;
    float: left;
  background: #fff;
}

.hubdb-henkilosto h2 {
    
    margin: 35px 0 25px !important;
}

.hubdb-henkilosto .henkilosto-nosto .wrapper {
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  border: 1px solid #eee;
  height: 210px;
}

.hubdb-henkilosto a {
    color: rgb(51, 51, 51);

}

.hubdb-henkilosto a:hover {
    opacity: 0.7;
     color: rgb(51, 51, 51);

}

.hubdb-henkilosto  hr {
  
    margin-bottom: 15px;
    margin-top: 15px;
}

.hubdb-henkilosto .henkilosto-nosto .sisalto {
    
     position: relative;
     min-height: 110px;
}

.hubdb-henkilosto h4 {
   
    font-size: 15px;
    line-height: 1.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.hubdb-henkilosto .pic {
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    width: 96px;
    height: 96px;
    overflow: hidden;
    border: 3px solid rgb(255, 204, 51);
    z-index: 0;
}



.hubdb-henkilosto .pic img {
    
    width: 100%;
    height: auto;
}   

.hubdb-henkilosto .text {
    
   padding-left: 120px;
}

@media screen and (max-width: 850px) and (min-width: 767px) {
    
    .hubdb-henkilosto .pic {
         width: 65px;
        height: 65px;
    }
    
    .hubdb-henkilosto .text {
    
   padding-left: 80px;
}
    
}

@media screen and (max-width: 380px) {
    
    .hubdb-henkilosto {
        
        text-align: center;
    }
    
    .hubdb-henkilosto .pic {
        
        position: static;
        margin: 0 auto 20px;
    }
    
    .hubdb-henkilosto .text {
    
   padding-left: 0;
}
    
}

.kehys .kehys {
    
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.videon-upotus.iframe-video .videon-upotus-wrapper {
    position: relative;
    padding: 0;
	padding-bottom: 56.25%; /* 16:9 */
 
	height: 0;
  
    width: 100%;
   
    float: none;
}
.videon-upotus iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.g2017 .hs-button {
    border: 0;
    padding-left: 2.5em;
    padding-right: 2.5em;
    padding-top: 1.1em;
    padding-bottom: 1.1em;
    background-color: #ee4446;
    color: #fff;
    margin-top: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    font-weight: bold;
    display: inline-block;
    font-family: "proxima-nova",sans-serif;
    transition: all .5s ease;
    -webkit-appearance: none !important;
    
}


/* / G2017 */


.fa-times-thin:before {
  content: '\00d7';
}



.custom-tekstimoduuli .kuva {
    
    margin-bottom: 25px;
}


.somejaot {
    
    display: block;
    margin: 0 0 15px;
}

.somejaot #hs_cos_wrapper_blog_social_sharing {
    display: block;
    margin-top: 0;
}

.blog.blog-v2 .blog-section.single-post .post-header h1 {
    font-size: 55px !important;
    line-height: 1em !important;
    
}

.blog.blog-v2 .content-wrapper {
    
    padding-top: 55px;
}

.blog.blog-v2  .body-container {
    
    padding-top: 0;   
}

.blog #hs_cos_wrapper_post_filter a {
    
    color: #000 !important;
}

.blog #hs_cos_wrapper_post_filter a::after {
    
    color: #000 !important;
}

.blog #hs_cos_wrapper_post_filter a:hover {
    
    color: #fff !important;
}

.blog .post-listing .post-body p, .blog .post-listing .post-body p * {
    
    font-size: 16px !important;
    line-height: 1.4em !important;
}

.blog.blog-v2 #hs_cos_wrapper_post_filter a:hover::after {
    
    color: #fff !important;
}

a.back-link {
    display: block;
    margin-bottom: 25px;
    color: #777;
    margin-top: -20px;
}

a.back-link:hover {
   
    color: #ef433f;
    opacity: 1;
}



.blogi-banneri {
    
        width: 100%;
    height: auto;
   
    max-height: 450px;
    overflow: hidden;
    margin-bottom: 0;
}

.blogi-banneri img {
    
    width: 100%;
    height: auto;
}


.lang-nav {
    
   position: absolute;
    right: 458px;
    z-index: 40;
    top: 16px;
    width: 95px;
    text-align: right;
}

.lang-nav.lahella {
    
   position: absolute;
    right: 75px;
    z-index: 40;
    top: 16px;
    width: 95px;
    text-align: right;
}



.lang-nav a {
    
    color: #505050;
    padding: 10px;
    font-size: 16px;
    line-height: 1.1em;
}


.lang-nav a:hover {
    
    color: #505050;
    opacity: 0.5;
    transition: 0.5s all;
}


.tuotteet ul {
    
    margin-bottom: 30px;
}

 .painikkeet .cta_button {
     
     background: none;
     padding: 0px;
 }
 
 .post-listing-simple {
     
     margin: 40px 0px 0px !important;
     padding: 0px !important;
 }
 
 .post-listing-simple h2 {
     
     margin: 0px !important;
     padding: 0px !important;
 }
  h2.post-listing-simple span {
     
 font-size: 13px;
    font-weight: 400;
    color: #aaa;
    display: block;
    margin-bottom: 0px;
    line-height: 1.3em;

}

.g2017 .hs-form fieldset input[type="checkbox"], .g2017 .hs-form fieldset input[type="radio"], .hs-form input[type="checkbox"] {
    
    width: 15px !important;
    height: 15px;
    position: relative;
    top: 4px;
    left: 0;
    margin-right: 10px;
}




.rekry .rekry-main-img {
    background: url('//www.grano.fi/hubfs/rekry.jpg') no-repeat center top #040404;
    background-size: cover;
    height:600px;
    padding:50px 0;}
    
 
  
 .hero-section {
    padding-top: 0px;
    padding-bottom: 0px;
    background-image: none;
}
  
 .hero-video {
    padding-top: 78px;
    background-image: -webkit-linear-gradient(270deg, rgba(156, 127, 11, .7), rgba(255, 206, 16, .5)), -webkit-linear-gradient(270deg, rgba(255, 206, 16, .2), rgba(255, 206, 16, .2));
    background-image: linear-gradient(180deg, rgba(156, 127, 11, .7), rgba(255, 206, 16, .5)), linear-gradient(180deg, rgba(255, 206, 16, .2), rgba(255, 206, 16, .2));
    text-align: center;
}
.w-background-video {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    color: white;
}

.w-background-video video {
    background-size: cover;
    background-position: 50% 50%;
    position: absolute;
    right: -100%;
    bottom: -100%;
    top: -100%;
    left: -100%;
    margin: auto;
    min-width: 100%;
    min-height: 100%;
    z-index: -100;
}

.w-background-video.responsive {
    position: relative;
    overflow: hidden;
    min-height: 1px !important;
    max-height: 500px !important;
    color: white;
}

  .kuvaoikealle {
    
   float: right;
    max-width: 40%;
    width: auto;
    height: auto;
    margin: 0 0 30px 30px;
    display: block;
  }
  
  @media screen and (max-width: 767px) {
    
    .kuvaoikealle {
      float: none;
      max-width: 100%;
      margin: 20px 0 10px 0;
      
  }
    
   .blog .blog-post-sisalto img {
     float: none !important;
     margin: 20px 0 !important;
    }
    
     .blog .blog-post-sisalto p img {
     
     margin: 0 !important;
    }
    
  }

.hero-video.responsive {
    
    padding: 25% 0 !important;   
}

.w-background-video.responsive video {
    display: inline-block;
    vertical-align: baseline;
    max-width: 100% !important;
}

.hero-video.no-bg {
    
    background: none !important;
}

@media screen and (min-width: 1423px) {
    
    .w-background-video.responsive {
   
    max-width: 75%;
    margin: 0 auto !important;
    float: none !important;
}

    .hero-video.responsive {
    padding: 17% 0 !important;
}
}


.main-nav-scrolled div.kehys {
    max-width: 1500px !important;
    min-height: 72px;
}

.rekry .hs_cos_wrapper_type_header h1 {
    
    text-align: center;
}

.rekry video, .w-background-video video {
    display: inline-block;
    vertical-align: baseline;
    max-width:2000px;
}
.rekry #hs_cos_wrapper_widget_1471497125489 {
    margin-top: 0 !important;}

.rekry .embed-container, .w-background-video .embed-container { 
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%;
} 
.rekry .embed-container iframe, .rekry .embed-container object, .rekry .embed-container embed,
.w-background-video .embed-container iframe, .w-background-video .embed-container object, .w-background-video .embed-container embed{
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    }
    


.rekrylaatikot {
    
    min-height: 100px;
    margin: 20px 0;
}

.rekrylaatikot h1, .rekrylaatikot h2, .rekrylaatikot h3, .rekrylaatikot h4, .rekrylaatikot h5, .rekrylaatikot h6 {
    
   font-size: 43px;
    margin: 0 0 20px 0;
    padding: 0;
    font-weight: 700;
    line-height: 1.1em;
    text-transform: none;
    color: #000;
    font-family: "proxima-nova",sans-serif;
    text-align: left;
    
}

.rekrylaatikot .laatikko.kuva * {
    
    color: #fff !important;
}

.rekrylaatikot p {
    
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "proxima-nova",sans-serif;
    color: #000;
}

.rekrylaatikot .laatikko {
    
    float: left; 
    width: 31.8%;
    margin: 0 1.5% 1.5% 0;
    background: #fc3 ;
    min-height: 100px;
   
    position: relative;
    height: 300px;
    overflow: hidden;
}



.rekrylaatikot .laatikko_teksti {
    
 position: absolute;
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
  box-sizing: border-box;
    padding: 30px;
 background: #fc3;
 background: rgba(255,204,51,0.8);
 z-index: 40;
 
}

.rekrylaatikot .laatikko.kuva .laatikko_teksti {
    
 background: #000;
 background: rgba(0,0,0,0.7);
}


.rekrylaatikot .laatikko_kuva {
    
 position: absolute;
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
 z-index: 30;
}

.rekrylaatikot .laatikko_kuva img {
    
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: 150%;
}

.rekrylaatikot .laatikko:hover {
    
    opacity: 0.6;
    transition: all 0.5s;
}

.rekry-sivupalkki {
    
    position: relative;
    padding-bottom: 20px;
}

.rekry ul {
    
    padding-left: 22px;
}

.rekry h1 {
    
   
}

.rekry .hero-video h1, .rekry .rekry-tausta h1 {
    

    font-size: 61px;
    line-height: 1.2em;
    text-transform: uppercase;
    margin: 42px 0 0 0;
    color: #fff;

}

.rekry .hero-video h2, .rekry .rekry-tausta h2 {
    

        font-size: 42px;
    line-height: 1.2em;
    text-transform: none;
    margin: 4px 0 25px 0;
    color: #fff;
    font-weight: 300;

}

.rekry .hero-video p, .rekry .rekry-tausta p {
    
    font-size: 23px;
    line-height: 1.4em;
    color: #fff;
}

.rekry .body-container {
    padding-bottom: 0 !important;
}

.rekry .keltainen {
    
    padding: 0;
}



.rekry .takaisin-linkki {
    
   
   
    text-align: center;
    
}

.rekry .takaisin-linkki a {
    padding-left: 2.5em;
    padding-right: 2.5em;
    padding-top: .8em;
    padding-bottom: .8em;
    background-color: #ee4446;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
   margin-bottom: 65px;
   display: inline-block;
    line-height: 1.1em;
    transition: all .5s ease;
}

.rekry .takaisin-linkki a::before {
    content: "\f104";
    font-family: 'FontAwesome';
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    padding-right: 10px;
    top: 2px;
    left: 0;
}

.rekry hr {
    
    margin: 35px 0;
}

.rekry .testimonials .teksti {
    
    box-sizing: border-box;
    padding-left: 25px;
    
}

.rekry .testimonials .teksti blockquote *, .rekry .testimonials .teksti blockquote {

    font-size: 19px;
    line-height: 1.5em;
    color: #777;
}

.rekry .testimonials .teksti blockquote {
    
    margin: 0;
    position: relative;
}

.rekry .testimonials .teksti blockquote strong {
    
   
    font-size: 25px;
    line-height: 1em;
}

.rekry .testimonials .nosto {
    
    margin-bottom: 35px;
}


.rekry .testimonials {
    
   
    display: block;
    padding: 80px 0;
    background: #eee;
    box-sizing: border-box;
}

body .isoteksti p {
    
    font-size: 21px;
    line-height: 1.4em;
}

.rekry .bg-image-section .wrapper {
    
    padding: 20px 0 70px;
    color: #fff;
    background: #000;
    background: rgba(0,0,0,0.7);
}

.rekry .bg-image-section {
    background-attachment: fixed;
    
}

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

.hs-form .hs-error-msgs label {

    font-size: 13px;
    font-weight: 400;
    color: red;
    line-height: 1.3em;
    margin: 8px 0 10px;

}

body.kaannospalvelusivu .header-puhelin {
    
    display: none;
}

.etsi-wrapper {
    
    position: relative;
}

.etsi-lomake {
    
    display: none;
    position: absolute;
    right: 30px;
    z-index: 260;
    top: -10px;
}

.etsi-painike {
    
    
    position: absolute;
    right: 33px;
    z-index: 50;
    top: 13px;
}

form ul.inputs-list {
    
 list-style: none;
 padding-left: 0px;
 margin-top: 4px;
}


form .inputs-list li {
    
    list-style: none;
}

input[type="checkbox"] {
    -webkit-appearance: checkbox;
    width: 21px;
    display: inline-block;
    margin: 0px 10px 0px 0px;
    height: 15px;
}

body input.gsc-search-button, body input.gsc-search-button:hover, body input.gsc-search-button:focus {
    
       background: #ee4446;
    border: none;
    padding: 12px 21px;
    border-radius: 0px;
}

.gsc-search-box-tools .gsc-search-box input[type="text"] {

        display: block !important;
    
   
    font-size: 14px !important;
    line-height: 1.42857143 !important;
    color: #555 !important;
    background-color: #fff !important;
    background-image: none !important;
   
   
 
}

.margin-bottom-25 {
    
    margin-bottom: 25px;
}

.ankkuri:after {

    content: "" !important;
    font-family: 'FontAwesome';
    color: #f14240;
    padding-left: 0px;

}


.footer-link {

   font-family: "proxima-nova",sans-serif;
    font-size: 16px;
    line-height: 1.3em;
    color: #fff!important;
 
text-decoration: none;


}

.palvelunostot .rivi3 {
    
        background: #f9f9f9;
}


.vasen50 {
    
    float: left;
    width: 48%;
    
}

.oikea50 {
    
    float: right;
    width: 48%;
    
}

.vasen33 {
    
    float: left;
    width: 31%;
    
}

.oikea66 {
    
    float: right;
    width: 64%;
    
}

.vasen66 {
    
    float: left;
    width: 64%;
    
}

.oikea33 {
    
    float: right;
    width: 31%;
    
}

.main-nav {
    top: -57px;
    position: static;
   
}


body .main-nav-scrolled {
    position: fixed !important;
    width: 100% !important;
    top: 0px;
    background: #fff;
    z-index: 200;
    box-shadow: 0px 0px 10px #ccc;
    max-width: initial !important;
     transition: top 400ms cubic-bezier(0.445,0.05,0.55,0.95);
}

body.palvelut-auki .g2018-header .main-nav-scrolled {
   position: relative !important;
}

body .main-nav-scrolled .kehys {
 max-width: 100% !important;
 padding: 0px !important;
}


body .main-nav-scrolled .menu  {

    padding-left: 130px;

}

body .main-nav-scrolled  .logo {
    
    padding-top: 0px;
}



body .main-nav-scrolled .etsi {
    
 display: none;   
}

body .main-nav-scrolled  .logo img {

   
 position: absolute;
    left: 0px;
    bottom: 22px;
    width: 80px;
    padding-left: 25px;
}


body .main-nav-scrolled  .etsi-painike {
    position: absolute;
    right: 178px;
    z-index: 50;
    top: 38px;
}


body .main-nav-scrolled .tarjouspyynto a {
    position: relative;
    bottom: -1px;
    right: 10px;
    margin-top: 12px;

}

 .nav-grano .main-nav-scrolled  .menu {
    margin-top: 18px;
}



body .gsib_a {
    width: 100%;
    padding: 8px 6px 0;
}

body .gsc-input-box {
    border: 1px solid #D9D9D9;
    background: #fff;
    height: 35px;
    margin-top: -4px;
    border-radius: 4px;
}

.etsi-sulje {
    
        position: absolute;
    right: -15px;
    top: 22px;
    width: 20px;
}

.etsi-form {
    
   
}

body .cse .gsc-control-cse, body .gsc-control-cse {
    padding: 1em;
    width: auto;
    padding-bottom: 0px;
}

 body .gsc-results-wrapper-nooverlay .gsc-wrapper  {
     
  /*  border: 1px solid #eee;  */
 }

.post-listing-simple a  {
    
    margin: 0px;   
   font-size: 16px;
    line-height: 1.3em;
    color: #000;
    font-weight: 700;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    display: block;
    width: 90%;
    
}

.taso2 .tuotteet, body .tuotenosto .tuotteet p {
    
    color: #353433;
    font-size: 14px;
    line-height: 1.5em;
}

.taso2 .tuotteet .span4 {
    
   /* border-bottom: 1px solid #d9d8d8;
    padding-bottom: 20px;
    margin-bottom: 20px; */
}

.taso2 .rivi3 {
    
    background: #f9f9f9;
}

.pyorea img, img.pyorea {
    
    border-radius: 50%;
}

.ota-yhteys-form {
   
    position: static;
    z-index: 300;
    top: 0;
    width: 98.7%;
    box-sizing: border-box;
    background: #fc3;
    left: 0;
    padding: 0 5%;
    padding: 16px 5% 50px;
}

.ota-yhteys-form h3.form-title {
    
 color: #000 !important;  
 display: none;
}

.ota-yhteys-form h3 {
    
 color: #333 !important;  
margin: 35px auto 5px;
    max-width: 490px;
}

.ota-yhteys-form form {
    margin: 10px auto 0;
    max-width: 490px;
}

.ota-yhteys-form .hs-input {
    
    margin-top: 0;
}


.fram-kampanja .header-yhteystiedot, .fram-kampanja .footer-container .asiakaspalvelu {
    
    display: none !important;
}

.blog .blog-sidebar h2, .blog .blog-sidebar h1, .blog .blog-sidebar h3, body .sidebar h2, body .sidebar h1, body  .sidebar h3, body  .sidebar h4, body .sidebar h5 {
    
    font-weight: 900;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.3em;
    margin: 0px 0px 15px; 
    padding: 0px;
}

.blog-sidebar .cell-wrapper, .sidebar .hs_cos_wrapper {
    
    border-bottom: 0px solid #d8d8d8;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.desktop-menu {
    
    position: relative;
}

.tilaus .hs_email label {
    
    display: none;
}

.tilaus .hs-error-msgs label {
    display: block;
    font-size: 13px;
    color: #666;
    font-weight: 400;
}


.tilaus .hs-richtext {
    font-size: 13px;
    color: #666;
}

.tilaus h3.form-title {
    
 margin-bottom: 5px;   
}

#ota-yhteytta-lomake {
    
    position: relative;
    width: 1px;
    height: 1px;
    top: -40px;
    left: -10px;
    visibility: hidden;
}

.sivu-menu .hs-menu-flow-vertical_flyouts > ul {
    
    padding: 0;
    margin: 0;
}

.sivu-menu .hs-menu-flow-vertical_flyouts > ul li {
    
    list-style: none;
    padding: 0;
    margin: 0;
}

.sivu-menu .hs-menu-flow-vertical_flyouts > ul li.hs-menu-depth-1 > a {
    font-size: 14px;
    line-height: 1.3em;
    font-weight: 700;
    
}

.sivu-menu .hs-menu-flow-vertical_flyouts > ul li a {
    font-size: 14px;
    line-height: 1.3em;
    color: #8F8F8F;
    font-weight: 400;
    text-decoration: none;
    max-width: 100%;
    padding: 7px 7px 7px 0;
    white-space: initial;
    overflow: initial;
    display: block;
    text-overflow: initial;
}

.sivu-menu .hs-menu-flow-vertical_flyouts > ul li a:hover,
.sivu-menu .hs-menu-flow-vertical_flyouts > ul li.active > a {

    color: #FFCC33;
    opacity: 1;
}

.kaannospalvelut .sivu-menu .hs-menu-flow-vertical_flyouts > ul li.hs-menu-depth-1 > a {
    font-size: 14px;
    line-height: 1.3em;
    font-weight: 700;
    
}

.kaannospalvelut .sivu-menu .hs-menu-flow-vertical_flyouts > ul li a {
    font-size: 14px;
    line-height: 1.3em;
    color: #5f5f5f;
    font-weight: 400;
    text-decoration: none;
    max-width: 100%;
    padding: 7px 7px 7px 0;
    white-space: initial;
    overflow: initial;
    display: block;
    text-overflow: initial;
}

.kaannospalvelut .sivu-menu .hs-menu-flow-vertical_flyouts > ul li a:hover,
.kaannospalvelut .sivu-menu .hs-menu-flow-vertical_flyouts > ul li.active > a {

    color: #FFCC33;
    opacity: 1;
}

.kaannospalvelut .asiakasportaali {
    padding-top: 20px;
    font-weight: 700;
    color: #dd4d49;
}
 
 .kehys {
     
     width: 100%;
     max-width: 1000px !important;
     margin: 0 auto !important;
     float: none !important;
     box-sizing: border-box;
        padding-left: 20px;
    padding-right: 20px;
     
 }
 
 .kehys-kapea {
     
     width: 100%;
     max-width: 767px !important;
     margin: 0 auto !important;
     float: none !important;
     box-sizing: border-box;
         padding-left: 20px;
    padding-right: 20px;
     
 }
 
  .container-fluid .row-fluid .kehys-mid {
    float: none;
    max-width: 850px !important;
    margin: 0 auto;
 }
 
  .kehys-levea {
     
     width: 100%;
     max-width: 1220px !important;
     margin: 0 auto !important;
     float: none !important;
     box-sizing: border-box;
         padding-left: 20px;
    padding-right: 20px;
     
 }
 
  .kehys-1920 {
     
     width: 100%;
     max-width: 1920px !important;
     margin: 0 auto !important;
     float: none !important;
     box-sizing: border-box;
    
    
     
 }
 
 
 

 
 
 
 
 
 #hs_cos_wrapper_widget_1446210914620_title {
     
     margin: 0px;
 }
 
 .section-header h1 {
     
     color: #ffcd0f;
     font-weight: 300;
     font-size: 30px;
     margin-bottom: 11px;
     line-height: 1.2em;
     text-transform: uppercase;
 }
 
 .section-header .section-subheader {
     
     font-size: 25px;
     font-weight: 700;
     line-height: 1.2em;
 }
 
 .etusivu .rivi1,  .etusivu .rivi3, .taso2 .rivi4, .tuote-bg {
     
     background: url('//www.grano.fi/hubfs/Images/Etusivu/grano-bg02.jpg') no-repeat center top;
     background-size: cover;
     padding: 40px 0px 80px;
     color: #fff;
 }

 .etusivu .rivi1 p, .taso2 .rivi4 p,  .tuote-bg p {
        
        font-size: 20px;
        line-height: 1.3em;
        
    }
 
  .etusivu .rivi1 h1, .taso2 .rivi4 h1, .tuote-bg h1 {
      
      color: #fff;
      font-size: 80px;
      line-height: 1em;
      font-weight: 900;
      margin-bottom: 40px;
  }
  
  .myyntisivu .bg-image-section h1 {
    color: #ffcd0f;
    font-size: 60px;
    line-height: 1.1em;
     margin-bottom: 15px;

    font-weight: 700;
}
  
  .myyntisivu .section-header h1 {
      
      padding-bottom: 15px;
  }
  
 
  
    .banneri, .banneri p {
        
        font-size: 18px;
        line-height: 1.5em;
    }
    
    .myyntisivu, .myyntisivu p, .myyntisivu div {
        
        font-size: 18px;
        line-height: 1.5em;
    }
   
   .myyntisivu .banneri, .myyntisivu .banneri p {
       
       font-size: 25px;
       line-height: 1.3em;
   }
    
  
  .bg-image-section h1 {
      
      color: #ffcd0f;
      font-size: 50px;
      line-height: 1.1em;
      font-weight: 700;
  }
  
  
    .bg-image-section h2 {
      
      color: #ffcd0f;
      font-size: 40px;
      line-height: 1.1em;
      font-weight: 700;
  }
  
    .bg-image-section h3 {
      
      color: #ffcd0f;
      font-size: 30px;
      line-height: 1.2em;
      font-weight: 700;
  }
  
    .bg-image-section h4 {
      
      color: #ffcd0f;
      font-size: 20px;
      line-height: 1.3em;
      font-weight: 700;
  }
  
 

  
 .smart-banneri {
      
      position: relative;
      text-align: center;
      overflow: hidden;
  }
  
  .smart-banneri-kuva {
      
      position: absolute;
      z-index: 1;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
  }
  
   .smart-banneri-kuva img {
      
     
      width: auto;
      height: auto;
      min-width: 100%;
      max-width: 250%;
      min-height: 100%;
  }
  
  .smart-banneri-teksti {
      
      position: relative;
      z-index: 30;
      width: 100%;
      background: none !important;
      height: 100%;
      top: 0;
      left: 0;
      box-sizing: border-box;
      max-width: 700px;
      margin: 0 auto !important;
      float: none !important;
      padding: 30px 20px !important;
      
  }
  
  
 .logo-rivit {
     
     padding: 35px 0;
 }
  
 .logo-rivit .logo-rivi {
      
      max-width: 12.5%;
      box-sizing: border-box;
    
      float: left;
      position: relative;
     padding-right: 5%;
  }
  
  .logo-rivit .logo6 .logo-rivi {
      
      max-width: 16.67%;
    
  }
  
  .logo-rivit img {
      
     padding: 0px 0 0px 0;
  }
  
  .logo-rivit.harmaa-bg{
      
      background: #f9f9f9;
  }
  
  .logo-rivit.valkoinen-bg {
      
      background: #fff;
  }
  
  .tuotenosto .tuotteet {
      
      text-align: center;
  }
  
   .tuotenosto .tuotteet h1, .tuotenosto .tuotteet h2, .tuotenosto .tuotteet h3, .tuotenosto .tuotteet h4 {
       
       
       font-size: 18px;
       text-transform: uppercase;
       margin: 20px 0px 5px 0px;
       line-height: 1.3em;
       color: #333333;
       font-weight: 900;
   }
 
 .tuotenosto .tuotteet img {
     
     max-width: 95px;
     width: auto;
     max-height: 70px;
     opacity: 0.35;
 }
 
 .tuotenosto .tuotteet .row-fluid-wrapper {
     
     margin: 0 1.25% 0% 1.25% !important;
     width: 17.5% !important;
     padding: 0px !important;
     float: left;
    min-height: 251px;
 }
 
  .etusivu .rivi2 .widget-type-header, .etusivu .rivi4 .widget-type-header {
      
      display: block;
      margin-bottom: 45px;
      background: url(//www.grano.fi/hubfs/Images/Etusivu/viiva-bg.png) repeat-x center center;
  }
 
 .etusivu .rivi4 .widget-type-header {
      
      display: block;
      margin-bottom: 20px;
      
      
 }
 
 .hs-featured-image {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 270px;
    
}

.ei-viivaa::after, 
.ei-viivaa h2:after {
    
    content: none !important;
}

 
 
 .etusivu .rivi2 .widget-type-header h2,  .etusivu .rivi4 .widget-type-header h2 {
     
     display: block;
     text-align: center;
     font-size: 35px;
     color: #333333;
    margin-bottom: 20px;
    
     
     padding: 0px 15px;
     background: #f9f9f9;
 }
 

 
 
 .etusivu .rivi2 .widget-type-header .hs_cos_wrapper_type_header {
    max-width: 520px;
    margin: 0 auto !important;
    display: block;
    width: 100%;
}

.etusivu .rivi3 * {
    
    color: #fff;
}

.etusivu .rivi3 h2, .tuote-bg h2, .taso2 .rivi4 h2 {
    
    font-size: 60px;
    line-height: 1.1em;
    color: #fff;
    margin-bottom: 25px;
    
    
}

.keltainen-bg .painike {
    
    background-color: #ee4446 !important;
    color: #fff !important;
    padding: 7px 26px;
    margin-top: 10px;
}

.keltainen-bg a.nuoli-alas {
    
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3em;
}

.keltainen-bg .painike:after {
     color: #fff !important;
}

.keltainen-bg .painike:after {
    
 color: #fff;   
}

.darkblue-bg {
  background-color: #213f5d;
}


.yhteystiedot .keltainen-bg h1 {
    font-size: 30px;
    margin-top: 0px;
    margin-bottom: 17px;
    color: #333;
    text-transform: none;
    font-weight: 700;
    padding-bottom: 0;
    line-height: 1.1em;
}

.yhteystiedot h2 {
    
    clear: both;
}

.yhteystiedot .keltainen-bg h1::after {
    
    
}

.blog .julkaistu {
    
    position: relative;
    padding-left: 0px;
  
}

.blog .julkaistu .fa-clock-o {
    position: absolute;
    font-size: 20px !important;
    top: -3px;
    left: 0;
}

.post-listing .post-item {

    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 55px;
    margin-bottom: 35px;

}


.kehys-960 {

width: 100% !important;
max-width: 960px;
margin: 0 auto !important;
float: none !important;

}

.text-align-center {
    
    text-align: center;
}

.etusivu-v3 .rivi2 .widget-type-header {
    
    margin-bottom: 10px;   
}


.sisalto {
    
    position: relative;
    z-index: 10;
}

.tumman-sininen-bg {
    
    background: #0f151f;
}

.harmaa-bg{
      
      background: #f8f8f8;
  }

.transparent-bg {

    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    
}



.nav-ota-yhteytta {
    
    display: none;
    border-top: 6px solid #ffce10;
}

.nav-ota-yhteytta .hs-form fieldset {
    
    max-width: 100% !important;
   
}

.toggle-nav-ota-yhteytta {
    
   
    box-sizing: border-box;
}

.toggle-nav-ota-yhteytta::after {
    
    content: "" !important;
    position: static;
    padding: 0 !important;
    margin: 0 !important;
}

body .nav-grano2 .main-nav-scrolled .resize-etsi {
    
    display: none;
}

.nav-grano2 .tilaus-form a {
    
    background: #ffce10 !important;
    color: #000 !important;
}

.nav-grano2 .tilaus-form .close-tilaus-form a {
    
    background: none !important;
    color: #000;
}

.nav-grano2 .tilaus-form .close-tilaus-form a:hover {
    
 background: none !important;
 opacity: 0.6;
  color: #000 !important;
}


.nav-grano2 .tilaus-form a:hover {
    
    background: #000 !important;
    color: #fff !important;
}

.nav-grano2 .tilaus-form ul {
    
    margin: 0;
    padding: 0;
}

.nav-grano2 .tilaus-form li a::after {
    content: "";
   
    padding-left: 0px;
    top: 0px;
}

.nav-grano2 .tilaus-form li {
    
    float: left;
    list-style: none;
    margin: 0 20px 20px 0px;
    padding: 0px;
}

.nav-grano2 .tarjouspyynto a.painike {
    
    padding: 15px 15px;
    float: right;
    margin-right: 10px;
    margin-top: 0px;
    bottom: -24px;
    margin-bottom: 0px;
    width: 135px;
    box-sizing: border-box;
    text-align: center;
}

.nav-grano2.nav-grano-en .tarjouspyynto a.painike {
    
    width: 150px;
   
}

.nav-grano2.nav-grano-en .tarjouspyynto {
    
   
}

.nav-grano2 .etsi-wrapper {
    position: relative;
  
}



.nav-grano2 a.painike2 {
    
        background-color: #ffce10!important;
        color: #000 !important;
}

.nav-grano2 a.painike2:hover {
    
        background-color: #000!important;
        color: #fff !important;
}

body .nav-grano2 div.kehys {
    
    max-width: 1300px !important;
}


.keskita {
    
    text-align: center;
}

.valkoinen-teksti *, .g2017 .valkoinen-teksti * {
    
    color: #fff;
}

.valkoinen-teksti input, .valkoinen-teksti textarea {
    
    color: #000 !important;
}

.valkoinen-teksti .hs_submit input {
    
    color: #fff !important;
}

.kiinnostuitko-ota-yhteytta form {
    
    margin-bottom: 35px;
}



.pallo-bg {
    
    background: url('//www.grano.fi/hubfs/Identity/Palvelusymbolit_etusivu/pattern2.png') repeat-x left bottom #fc3;
}

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

.cta-rivi {
    padding-top: 10px;
    padding-bottom: 30px;
    text-align: center;
}

.cta-rivi .painike-vihrea,
.cta-rivi .painike-musta {
    width: 365px; 
  max-width: 100%;
    text-align: center; 
    display: inline-block; 
    margin: 0px 10px;
}



/*  Etusivu v3 muutokset - loppu  */

.yhteystiedot .keltainen-bg .nuoli-alas {
    
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3em;
    text-transform: none;
    color: #000;
    padding: 0px;
    display: block;
    margin-top: 20px;
}

.yhteystiedot .keltainen-bg .nuoli-alas:hover {
    
 background: none;   
 opacity: 0.6;
}

.yhteystiedot .keltainen-bg a.nuoli-alas:after {
    content: "\f078";
    font-family: 'FontAwesome';
    color: #f14240 !important;
    font-size: 13px;
    font-weight: 400;
    padding-left: 6px;
}

.yhteystiedot .kartta {
    
        width: 50%;
    margin-left: 0%;
}

.yhteystiedot .kartta.height * {
  height: 100% !important;
  
}

.hs_cos_wrapper_type_rich_text, .hs_cos_wrapper_type_text, .hs_cos_wrapper_type_header, .hs_cos_wrapper_type_section_header, .hs_cos_wrapper_type_raw_html, .hs_cos_wrapper_type_raw_jinja, .hs_cos_wrapper_type_page_footer {
    /* word-wrap: initial; */
}

.keltainen-bg .rivi2 {
    
       background-color: #f9f9f9;
}

.keltainen-bg h1 {
    
    font-size: 37px;
    margin-top: 0px;
    margin-bottom: 15px;
        color: #333;
        font-weight: 700;
    line-height: 1.1em;
}

.ota-yhteys-form {
    
    display: none;
}

.keltainen-bg p {
    
    font-size: 25px;
    line-height: 1.3em;
        color: #333 !important;
    font-weight: 200;
    margin: 0px 0px 10px 0px;
}

.keltainen-bg .hs-button {
    
    color: #fff;
}





.hs-button {
    border: 0;
    padding-left: 2.5em;
    padding-right: 2.5em;
    padding-top: .8em;
    padding-bottom: .8em;
    background-color: #ee4446;
    color: #fff;
    margin-top: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    font-family: "proxima-nova",sans-serif;
    transition: all .5s ease;
    -webkit-appearance: none;
}

.hs-button:hover {
    
    cursor: pointer;
    opacity: 1;
        background-color: #333;
    color: #fff;
}

.keltainen-bg {
    
    background: #fc3;
    position: relative;
   padding: 2em;
}

.yhteystiedot .keltainen-bg {
    
    padding-bottom: 0.8em;
}   

.valkoinen-bg {
    
    background: #fff;
    position: relative;
   padding: 2em;
}

.g2017 .yhteystietolaatikko .panel * {
    
    color: #242424;
}

.g2017 .yhteystietolaatikko .panel h4 {
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.1em;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1;
    margin: 15px 0 2px 0;
}

.g2017 .yhteystietolaatikko .panel hr {
    
    color: #cfcfcf;
}

.g2017  .yhteystietolaatikko .pyorea {
    
    border-radius: 50%;
}

.g2017  .yhteystietolaatikko .kuva img {
    max-width: 100%;
    border: none;
    border-radius: 0;
    width: 100%;
}



html .yhteystiedot .keltainen-bg,  html .yhteystiedot .kartta {
    
        min-height: 510px;
}

.yhteystiedot .kartta iframe  {
    
   
    min-height: 510px;
}

.keltainen-bg div, .keltainen-bg p, .keltainen-bg h1, .keltainen-bg h2, .keltainen-bg span {
    
    color: #333;    
    
}

.banneri .hs_cos_flex-slider {
    margin: 0 0 0px;
    
}

.banneri .hs_cos_flex-slider .superimpose .caption {
    color: white;
    font-size: 3em;
    line-height: 1.1em;
    position: absolute;
    padding: 0 5% 0 9%;
    width: 53%;
    width: 800px;
    top: 15%;
    text-align: left;
    background-color: transparent;
}

.banneri .hs_cos_flex-slider .hs_cos_flex-slides>li {
    display: none;
    -webkit-backface-visibility: hidden;
    position: relative;
    height: 530px;
    overflow: hidden;

}

.kuvaslider .rivi1 {
    
    padding: 0px;
}

.banneri .hs_cos_flex-slider .hs_cos_flex-slides img {
    width: auto;
    display: block;
    border-radius: 0;
    position: absolute;
    left: 0;
    top: 0;
    max-width: 3000px;
    min-height: 100%!important;
    min-width: 100%;
}


 .bg-image-section .banneri p, .bg-image-section  .bg-image-section div {
    
    color: #fff;
}


.banneri .hs_cos_flex-direction-nav a {
    width: 49px;
    height: 79px;
    margin: -20px 0 0;
    display: block;
    background: url(//www.grano.fi/hubfs/Identity/Ikonit/arrow-left.png) no-repeat center center !important;
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
    -webkit-transition: all .3s ease;
}

.banneri .hs_cos_flex-direction-nav a.hs_cos_flex-prev:hover {
  
      background: url(//www.grano.fi/hubfs/Identity/Ikonit/arrow-left-active.png) no-repeat center center !important;
  
}

.banneri .hs_cos_flex-direction-nav a.hs_cos_flex-next {
  
    background: url(//www.grano.fi/hubfs/Identity/Ikonit/arrow-right.png) no-repeat  center center !important;
  
}

.banneri .hs_cos_flex-direction-nav a.hs_cos_flex-next:hover { 
    
     background: url(//www.grano.fi/hubfs/Identity/Ikonit/arrow-right-active.png) no-repeat  center center !important;
}


.yhteystiedot .bg-image-section {
    
    background: #000 !important;
}

.g2017.yhteystiedot .bg-image-section {
    
    background: #242424 !important;
}


body .gsc-webResult {
    
   border-bottom: 1px solid #eee !important;
   padding-bottom: 20px !important;
   margin-bottom: 20px !important;
}

body .main-nav .gsc-resultsbox-visible {
    
    overflow: auto;
    height: 400px;
    margin: 20px 0px;
    border: 1px solid #eee;
}



body .gs-webResult .gs-snippet, body .gs-imageResult .gs-snippet, body .gs-fileFormatType,  body .gs-imageResult .gs-snippet p {
    color: #333;
    font-size: 13px;
    line-height: 1.3em;
}

.gsc-results .gsc-cursor-box .gsc-cursor-page {
    border-color: #E9E9E9;
    background-color: #FFFFFF;
    color: #000000;
    padding: 10px;
}

body .gsc-results .gsc-cursor-box .gsc-cursor-page {
    border: none;
    background-color: #ee4446;
    color: #fff;
    font-weight: 700;
    padding: 10px 14px;
}

body .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
    border: none;
    background-color: #fff;
    color: #000000;
}

body .mobile-menu .gsc-control-cse {
   
    border-bottom: 30px #ccc solid;
}


#gs_cb50, #gs_cb51  {
    
    padding-top: 9px;
}

.nav-grano .main-nav-scrolled .etsi-lomake {
  
}




body .gsc-above-wrapper-area {
 
    margin-bottom: 16px;
}


.gsc-control-cse .gs-spelling, .gsc-control-cse .gs-result .gs-title, .gsc-control-cse .gs-result .gs-title * {
    font-size: 18px !important;
    text-decoration: none;
    color: #333;
}

.gs-result a.gs-title:after {
       content: "\f0da";
    font-family: 'FontAwesome';
    color: #f14240;
    padding-left: 12px;
}

body .gs-webResult div.gs-visibleUrl, body .gs-imageResult div.gs-visibleUrl {
    color: #888;
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.3em;
}


body .gs-webResult.gs-result a.gs-title:hover, body .gs-webResult.gs-result a.gs-title:hover b, body .gs-imageResult a.gs-title:hover, body .gs-imageResult a.gs-title:hover b {
    color: #ee4446;
    opacity: 1;
}

.gsc-webResult .gsc-webResult, .gsc-results .gsc-results {
    
    box-shadow: initial;
}

.keltainen-bg form {
    
    margin-bottom: 30px;
}

.etusivu .rivi3 .yli, .taso2 .rivi4 .yli {
    
    position: relative;
    margin-top: -123px;
}

.etusivu .rivi3 p, .etusivu .rivi3 {
    
 font-size: 20px;
 line-height: 1.3em;
}

.etusivu .rivi4 .widget-type-header .hs_cos_wrapper_type_header {
    max-width: 720px;
    margin: 0 auto !important;
    display: block;
    width: 100%;
}




.etusivu .rivi3 .tuoteryhmat li {
    
    padding-left: 0px;
    list-style: none;
    padding-bottom: 12px;
    
}

.etusivu .rivi3 .tuoteryhmat ul {
    
 padding: 0px;
 margin: 0px;
}

.line {
    
    width: 100%;
    float: left;
}
.skew {
    display: block;
    width: 80px;
    height: 12px;
    background-color: #fc3;
    margin-top: 1em;
    margin-bottom: 1em;
    transform: skew(0,-15deg);
}

.yhteystiedot .rivi2, .yhteystiedot .rivi2 iframe {
    background: #f9f9f9;
}

 .etusivu .rivi3 .tuoteryhmat a {
     
     font-weight: 700;
     color: #fff;
     font-size: 16px;
     line-height: 1.3em;
 }
 
 
 a:hover {
      
      opacity: 0.6;
  }
 
 
 .etusivu .rivi3 .tuoteryhmat a:after {
     
     content: "\f0da";
     font-family: 'FontAwesome';
     color: #f14240;
     padding-left: 6px;
 }
 
 
  .etusivu .rivi3 .tuoteryhmat {
      
      margin-top: 30px;
      display: block;
  }

.etusivu .rivi4 ul {
    
 padding: 0px;
 margin: 0px;
}

.fb-syote a {
    color: #333;
    font-size: 16px;
   
    font-weight: 700;
    padding-right: 4px;
    font-weight: bold;
}

.fb-syote a:hover, .fb-syote a:focus {
    color: #2a6496;
}

.fb-syote  {
 padding-left: 0px;
 list-style: none;
}

.fb-syote li {
    
     margin-bottom: 30px;
     list-style: none;
}

.etusivu .rivi4 li {
    
    float: none;
    display: inline;
    list-style: none;
    padding: 0px;
    margin: 0px 10px 10px 0px;
}

.etusivu .rivi4 li a {
    
    margin-top: 0px;
}

.etusivu .rivi4 {
    
    text-align: center;
}

#hubspot-author_data {
    
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.3em;
}

#hubspot-author_data, #hubspot-author_data a {
    
    color: #b6b6b6;
    font-size: 13px;
    line-height: 1.3em;
}

#hs_cos_wrapper_blog_social_sharing {
    
    display: block;
    margin-top: 37px;
}

#hubspot-author_data a {

    padding-left: 6px;
    
}

.mobi-sulje {
    
    font-size: 52px !important;
    cursor: pointer;
    margin-top: 15px;
    font-weight: 400 !important;
  
}

.ei-nav {
    
    padding: 40px 0px;
    border-bottom: 1px solid #d9d8d8;
    margin-bottom: 40px;
}

.ei-nav-uusi {
    
    padding: 20px 0px;
    border-bottom: 1px solid #d9d8d8;
    margin-bottom: 20px;
}

.landari p, .landari div {
    
 font-size: 18px;
 line-height: 1.4em;
}

.landari h1, .perussivu h1 {
    
    margin-top: 0px;
    margin-bottom: 35px;
    font-size: 60px;
    line-height: 1.1em;
    color: #333333;
    letter-spacing: -1px;

    font-weight: 800;
    
}

.landari h2, .perussivu h2 {
    
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 45px;
    line-height: 1.2em;
    color: #333333;
    font-weight: 800;
    
}

.landari h3, .perussivu h3 {
    
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 35px;
    line-height: 1.2em;
    color: #333333;
    font-weight: 800;
    
}

.landari h4, .perussivu h4 {
    
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 25px;
    line-height: 1.2em;
    color: #333333;
    font-weight: 800;
    
}

.landari h5, .perussivu h5 {
    
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 25px;
    line-height: 1.2em;
    color: #333333;
    font-weight: 400;



}

.blog h5, .blog h5 * {
    
    font-size: 15px;
    line-height: 1.5em;
    font-weight: 400;
}

.blog h5 strong, .blog h5 * strong {
    font-weight: 700;
}


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


h6 {
    
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 30px;
    text-transform: uppercase;
    line-height: 1.2em;
    color: #ffcd0f;
    font-weight: 400;
    
}

.perussivu .paaotsikko h1 {
    
    color: #ffcd0f;
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0px 0px 40px 0px; 
}

.perussivu div, .perussivu p {
    
    font-size: 18px;
    line-height: 1.5em;
    
}

.post-listing .oikea50 .hs-featured-image {
    
    float: none;
    max-width: 100%;
    margin: 0px;
    padding: 0px;
    margin-top: -33px;
}

.hs-rss-module::after {
    
    content: "";
    clear: both;
}


.blog .blog-pagination {
    
    margin-bottom: 60px;
}

.body-container table {
    
    width: 100%;
}

.body-container table td {
    
    vertical-align: top;
    box-sizing: border-box;
    padding: 10px 10px 10px 0px;
}

.landari-lomake .rivi3 .hs_cos_wrapper_type_form .form-title  {
    
    width: 100%;
    text-align: center;
}

.landari .body-container ul {
    

    padding-left: 20px;

}

.landari .landing-sidebar {
    padding-left: 20px;
}


.landari .body-container ul li {
    
    padding-bottom: 7px;   
}

.landari-lomake .rivi3, .landari-kiitos .rivi3 {
    
    background: #f9f9f9;
}

.landari .hs_cos_wrapper_type_form {
    
    max-width: 1030px !important;
    width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
    
   
}

.landari .hs_cos_wrapper_type_form form {
    
 /*
 >nappula ländärin formissa
 text-align: center; */  
}

.landari .hs_cos_wrapper_type_form .hs-form-field {
    
    text-align: left;
}




.blog .julkaistu {
    
    display: inline;
    margin-right: 10px;
    float: left;
}

.blog .blog-section.single-post .post-header h1, .blog .blog-selection.single-post .post-header h1 *, .blog .blog-selection.single-post .post-header h1 #hs_cos_wrapper_name  {
    font-size: 60px !important;
    line-height: 1.1em !important;
    margin-top: 0px !important;
    margin-bottom: 26px !important; 
    font-weight: 700 !important;
   
  
}



.hs-blog-listing .blog-section .post-header h1, .hs-blog-listing .blog-selection .post-header h1 * {
  font-size: 26px !important;
    line-height: 1.3em !important;
    margin-bottom: 16px;
}


.hs-blog-listing #hubspot-author_data {
    margin-bottom: 10px;
   
}

#hubspot-author_data * {

 font-size: 13px;
    line-height: 1.3em;
    
}

.hs-blog-header h2, .hs-blog-header h2 a {
    color: #ffcf0c;
    font-weight: 300;
    font-size: 31px;
    text-transform: uppercase;
    margin-bottom: 45px;
    margin-top: 28px;
}


.blog .body-container {
    
    background: #f9f9f9;
    padding-top: 45px;
}

.blog.rc-referenssit .body-container {
    padding-top: 25px;
}

.blog-sidebar #hs_cos_wrapper_top_posts ul, .perussivu .page-sidebar .hs_cos_wrapper_type_post_listing ul {
    
    list-style: none;
    padding-left: 0px;
}

.blog-sidebar #hs_cos_wrapper_top_posts ul li, .perussivu .page-sidebar .hs_cos_wrapper_type_post_listing ul li { 
    
    position: relative;
    padding-left: 15px;
    padding-bottom: 15px;
    font-size: 14px;
    line-height: 1.3em;
}


.blog-sidebar #hs_cos_wrapper_top_posts a, .perussivu .page-sidebar .hs_cos_wrapper_type_post_listing a {
    
    color: #000;
    font-size: 14px;
    line-height: 1.3em;
    font-weight: 700;
}

.blog-sidebar #hs_cos_wrapper_top_posts a:before, .perussivu .page-sidebar .hs_cos_wrapper_type_post_listing a:before {
    content: "\f0da";
    font-family: 'FontAwesome';
    color: #f14240;
    position: absolute;
    top: 0px;
    left: 0px;
    padding-right: 0px;
}

.blog-sidebar #hs_cos_wrapper_post_filter ul {
    
    padding-left: 0px;
    list-style: none;
}


 .tuotenosto .tuotteet a, .nuoli, .taso2 .tuotteet a, .yhteys a {
     
     font-weight: 700;
     color: #000;
 }
 
 .tuotenosto .tuotteet a:after, .nuoli:after, .taso2 .tuotteet a:after, .yhteys a:after {
     
     content: "\f0da";
     font-family: 'FontAwesome';
     color: #f14240;
     padding-left: 6px;
 }
 
 .some-ikonit {
     
     border-top: 1px solid #d9d8d8;
     padding-top: 40px;
     margin-top: 40px;
 }
 
 .some-ikonit {
     
     text-align: left;
 }
 
 .some-ikonit a {
     
     color: #333333;
 }
 
 .keltainen a {
     
     color: #333;
 }
 
 .form-title {
     
     font-size: 35px;
     margin-bottom: 25px;
     margin-top: 10px;
     color: #333;
 }
 
 
  
 .etusivu .rivi2, .etusivu .rivi4 {
     
     padding: 30px 0px 90px;
     background: #f9f9f9;
 }
    
    .btn-primary, .painike, .painike-keltainen, .etusivu .rivi1 a,  .painikkeet a, #hs_cos_wrapper_post_filter a {
     border: 0;
    padding-left: 2.5em;
    padding-right: 2.5em;
    padding-top: .8em;
    padding-bottom: .8em;
    line-height: 1.5em;
    text-decoration: none;
    padding: 15px 26px;
    background-color: #ee4446;
    color: #fff !important;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    transition: all .5s ease;
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 10px;
 
}

.btn-primary, .painike, .painike-keltainen, .etusivu .rivi1 a, .painikkeet a, #hs_cos_wrapper_post_filter a {
    border: 0;
    padding-left: 2.5em;
    padding-right: 2.5em;
    padding-top: .8em;
    padding-bottom: .8em;
    line-height: 1.5em;
    text-decoration: none;
    padding: 10px 26px;
    background-color: #ee4446;
    color: #fff !important;
    font-size: 16px;
    text-transform: none;
    font-weight: 400;
    transition: all .5s ease;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

#hs_cos_wrapper_post_filter a {
    border: 0;
    padding-left: 2.5em;
    padding-right: 1.5em;
    padding-top: .8em;
    padding-bottom: .8em;
    padding: 9px 14px;
    background-color: #ee4446;
    color: #fff!important;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    transition: all .5s ease;
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 10px;
}

ul.painikkeet {
    
    padding-left: 0px;
}

ul.painikkeet li {
    
    list-style: none;
}



    .banneri a {
        
        background: #fc3 !important;
        color: #333  !important;
    }
    
     .banneri a:after {
    color: #333  !important;
     }
   

.btn-primary:hover, .btn-primary:focus, .painike:focus, .painike:hover, .etusivu .rivi1 a:hover, .painikkeet a:hover,  .painikkeet a:focus, #hs_cos_wrapper_post_filter a:hover {
    border: 0;
    background-color: #333 !important;
    background-position: 0 -15px;
    border-color: #333;
    opacity: 1;
    color: #fff !important;
    transition: 0.3s all;
}

 a.cta_button:hover,a.cta_button:hover > span {
     
      /* color: #fff !important; */
   
 }

 .btn-primary:after, .painike:after, .etusivu .rivi1 a:after, .painikkeet a:after, .hs-button:after, .painike-keltainen:after {
     
       content: "\f105";
       content: "";
    font-family: 'FontAwesome';
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    position: relative;
    padding-left: 10px;
    padding-left: 0;
    top: 2px;
  
 }
 
 a.cta_button {
     
     padding-left: 2.5em ;
    padding-right: 2.5em ;
    padding-top: .8em ;
    padding-bottom: .8em ;
 }
 
  .btn-primary:after, .painike:after, .etusivu .rivi1 a:after, .painikkeet a:after, .hs-button:after, .painike-keltainen:after {
     
      content: "\f105";
       content: "";
    font-family: 'FontAwesome';
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    padding-left: 19px;
    padding-left: 0;
    top: 0px;
  
 }
 
  .painikkeet a.cta_button:hover, .painikkeet a.cta_button:focus  {
     
     background: none ;
     padding: 0px ; 
     opacity: 0.6;
 }
 
 .painikkeet .cta_button:after {
     
       content: "";
    font-family: 'FontAwesome';
    color: #fff;
    font-size: 1;
    font-weight: 700;
    position: relative;
    padding-left: 0px;
    top: 0px;
  
 }
 

 
  .banneri a:after {
        
       /*  color: #333; */
    }
 
 .taso2 .rivi3, .taso2 .rivi3 p  {
     
     font-size: 18px;
     line-height: 1.3em;
 }
 

.taso2 .rivi5 {
    
    background: #f9f9f9;
}

.yhteys h2, .yhteys h3 {
    
    font-size: 35px;
    line-height: 1.3em;
    
    margin-bottom: 20px;
}

.yhteys .pyorea img, .blog img.pyorea   {
    
    border: 3px solid #ffcd0f !important;
}

body .footer-container .tumma h4 {
    font-size: 18px;
}

.infograafit {
    
    text-align: center;
    
}

.infograafit img {
    
    max-width: 80%;   
}


.yhteys .pyorea {
    
    padding-right: 15px;
}

.taso2 .rivi5 .yhteys {
    
    margin-top: 34px;
}

.hs-form fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    max-width: 600px !important;

}


.taso2 .rivi6 .painike {
    
    margin-top: 0px;
}

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

.hs-input {
    
    width: 100%;    
}

.form-columns-1 .hs-input {
    width: 100%!important;
    box-sizing: border-box;
}

html body .hs-form fieldset .input textarea {
    

    width: 100% !important;
    padding: 6px 10px;
    min-height: 120px; 

}

.hs-author-profile {
    
    clear: both;
    
    margin-bottom: 30px;
    background: #fff;
    box-sizing: border-box;
    padding: 35px;
    border-bottom: 1px solid #d8d8d8;
}

.hs-author-profile h1 {
    font-size: 30px;
    font-weight: 400;
    margin: 0em 0 1em;
    
    line-height: 1.1em;
}

.blog .post-listing .post-body h1, .blog .post-listing .post-body h2, .blog .post-listing .post-body h3, .blog .post-listing .post-body h4 {
    
    font-size: 16px;
    line-height: 1.5em;
    margin: 0px 0px 20px;
    padding: 0px;
    color: #333;
}

.blog .post-header h1, .blog .post-header h1 a {
    
    color: #333333;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3em;
}

.hs-author-profile .hs-author-avatar {
    
    float: left;
        max-width: 130px;
    margin: 0px 30px 10px 0px;
}

.hs-author-bio {
    font-size: 19px;
    color: #777;
    font-weight: 300;
    padding-right: 30px;
    padding-top: 12px;
}

.about-author-sec {
    
    border-top: 1px solid #d8d8d8;
    padding-top: 30px;
    margin-top: 50px;
    padding-bottom: 35px;
}

.about-author-sec h3, .about-author-sec h3 a{
       font-weight: 400;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.about-author-sec p {
    
    font-style: italic;
    color: #666;
}

hr {
    
    background: #d8d8d8;
    color: #d8d8d8;
    height: 1px;
    border: none;
    margin-bottom: 35px;
    margin-top: 35px;
}


.keltainen-btn a, .keltainen-btn a {
    
       background-color: #ffce10 !important;
       color: #fff !important;
       
    
}

body a.painike-keltainen, body .painike-keltainen a, .g2017 .body-container a.cta_button.painike-keltainen {
     
     
       background-color: #ffce10 !important;
       color: #333 !important;
         padding: 20px 5% !important; 
        width: 335px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
 }


body.vaalikampanja a.painike-vihrea {
     
     
       background-color: #45b97c !important;
       color: #fff !important;
         padding: 20px 5% !important; 
        width: 335px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
display: inline-block; 
 }

body.vaalikampanja a.painike-vihrea.pitka {
     
     
       background-color: #45b97c !important;
       color: #fff !important;
         padding: 20px 5% !important; 
        width: auto;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
display: inline-block; 
 }


 body .painike-keltainen:after, body .painike-keltainen a:after {
     
     
       
       color: #333 !important;
 }
 
.pallo-otsikko h1, .pallo-otsikko h2, .pallo-otsikko h3, .pallo-otsikko h4, .pallo-otsikko h5 {
    
    background: url(//www.grano.fi/hubfs/Identity/Ikonit/circles.png) no-repeat center top;
    padding-top: 40px;
} 
 
 
img {
    
    max-width: 100%;
}


.text-align-center {
    
 text-align: center;   
}

.keltainen-btn a:hover, .painike-keltainen a:hover,  .painike-keltainen:hover  {
    
    background-color: #333 !important;
    color: #fff !important;
}

    
.hs-blog-listing .hs-blog-header h2 {

    margin-bottom: 20px;
    
}

.blog .blog-sidebar {
    padding-top: 13px;
}

.hs-blog-listing .blog-sidebar {
    padding-top: 41px;
}

.blog-pagination a {
    
        padding: 10px;
    background: #fff;
    border: 1px solid #dcdcdc;
}

.blog-pagination a:hover {

background: #f1423f;
opacity: 1;
color: #fff;

}

.rfp-form {
    
    display: none;
    padding: 2em 0;
    position: relative;
    left: 0;
    width: 100%;
    background: white;
    border-top: 6px solid #ee4446;
    border-bottom: 2px solid #ccc;
    transition: top 400ms cubic-bezier(0.445,0.05,0.55,0.95);
}



.close-rfp-form a {
       color: #666;
        cursor: pointer;
    float: left;
    font-size: 16px;
    position: relative;
    margin: 10px 30px 0;
        bottom: 38px;
    left: 138px;
}

.ota-yhteys-form .close-rfp-form a {
       color: #666;
        cursor: pointer;
    float: left;
    font-size: 16px;
    position: relative;
    margin: 10px 30px 0;
    bottom: 56px;
    left: 400px;
}

.rfp-form .hs-form fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    max-width: 100%!important;
}

.keltainen-bg .close-rfp-form a {
    color: #666;
    cursor: pointer;
    float: left;
    font-size: 16px;
    position: relative;
    margin: 10px 30px 0;
    bottom: 70px;
    left: 135px;
}


/* Navigaatio */

.nav-grano ul>li>a {
    font-weight: 700;
    padding: 1em 2em;
    color: #333;
    font-size: 16px;
    display: inline-block;
    background: #fff;
}

.nav-grano ul {
    
    background: #fff;
}


.nav-grano .menu {
    
    margin-top: 26px;
}

.nav-grano .btn-primary {
    
    text-transform: none;
    
}

.mobile-nav .hs-menu-wrapper >ul li.hs-menu-depth-1:first-child > a:after {
    
    color: #fff;
}

.mobile-nav .hs-menu-wrapper >ul {
    
    margin-top: 0px;
}

.mobile-menu {
    
    margin: 30px 0px;
    display: block;
}

.mobile-menu .logo {
    
    text-align: center;
    padding: 0px;
}

.mobile-menu .vasen {
    
    width: 25% !important;
    float: left !important;
    padding: 0px;
    margin: 0px;
}

.mobile-menu .keski {
    
    width: 50% !important;
    float: left !important;
    padding: 0px;
    margin: 0px;
    top: -2px;
    position: relative;
    left: 0;
}

.mobile-menu .oikea { 
    
     width: 25% !important;
    float: left !important;
    padding: 0px;
    margin: 0px;
    text-align: right;
}

.mobile-nav {
    
    border-top: 5px solid #eee;
    margin-top: 0px;
    background: #333;
    margin-bottom: 0px;
}

.mobile-nav ul {
    
     background: #333;
}

.mobile-nav ul>li>a {
    
    display: block;
    background: #333;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 20px;
    margin-top: 6px;
    color: #fff;
    outline: 0;
    text-transform: uppercase; 
    font-weight: 700;
}

.mobile-nav ul>li>ul>li>a {
    
    display: block;
     margin-top: 0px;
    padding: 7px 20px;
    font-size: 16px;
    line-height: 1.3em;
    margin-left: 0px;
    color: #fff;
    background: #444;
    outline: 0;
    padding-left: 30px;
    text-transform: none; 
    font-weight: 400;
}


.mobile-nav ul>li>ul>li>ul>li>a {
    
    display: block;
     margin-top: 0px;
    padding: 5px 20px;
    font-size: 14px;
    line-height: 1.3em;
    padding-left: 50px;
    background: #555;
    color: #fff;
    outline: 0;
    text-transform: none; 
    font-weight: 400;
}


.mobile-menu .oikea {
    
    width: 25% !important;
    float: left !important;
    padding: 0px;
    margin: 0px;
}

.mobile-menu .toggle-mobile {
    
    
    display: block;
    padding-left: 15px;
}

.nav-grano .btn-primary:after {
    
    padding: 0px;
    content: "";
    
}



/* Navigaatio -loppuu */




 
 .hs_cos_wrapper_type_rss_listing h3 {
     
     margin-bottom: 20px;
     border-bottom: 1px solid #4C4747;
     padding-bottom: 20px;
     font-weight: 700;
     margin-top: 10px;
     text-transform: uppercase;
     font-size: 18px;
     line-height: 1.1em;
 }
 
 .hs-rss-item {
     
     border-bottom: 1px solid #4c4747;
     padding-bottom: 30px;
     margin-bottom: 30px;
     
 }
 
  .hs-rss-item:last-child {
      
   border: none;   
  }
  
  .hs-rss-title {
      
      color: #333;
  }
 
 .hs-rss-title span {
     
     font-size: 24px;
     line-height: 1.2em;
 }
 
 .hs-rss-item-text, .hs-rss-item-text p {
     
     font-size: 16px;
     line-height: 1.3em;
 }
 
  .hs-rss-description a {
      
      display: block;
      margin-top: 30px;
  }
 
 .hs-rss-description a:after {
     
     content: "\f0da";
     font-family: 'FontAwesome';
     color: #f14240;
     padding-left: 6px;
 }
 
 
 .hs-rss-date {
     
     display: block;
     margin: 12px 0px 8px;
     color: #000;
     font-weight: 700;
     font-size: 14px;
 }


.nav-grano .tarjouspyynto {
    
     position: relative;
    bottom: 0px;
    right: 0px; 
}


.nav-grano .tarjouspyynto a {
    
     position: relative;
    bottom: -10px;
    right: 0px; 
      transition: none;
}

.nav-grano .painike {
    
    text-transform: none;
    
}

.nav-grano .painike:after {
    
    content: "";
    padding: 0px;
}

html body .nav-grano .mobile-menu {
    
    display: none !important;
}

.nav-alkuun-wrapper, .nav-alkuun {
    
    display: none !important;
}

body .main-nav-scrolled .nav-alkuun-wrapper {
    
     display: inline-block !important;
     position: absolute;
    bottom: 22px;
        right: 258px;
}


.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity .4s;
    position: static;
    z-index: 10;
    left: 0;
   display: none; 
   
    
}

.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-item-has-children.hs-menu-depth-2:first-child {
    
    margin-top: 20px;   
}

.mob-nav-horizontal {
    
    padding-bottom: 20px !important;
}


.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper ul {
    
    display: block;
    
}

.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul {
    
    display: block;
    float: none;
    width: 100%;
    box-sizing: border-box;
}

.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li {
  display: block;
  float: none;
  width: 100%;
  box-sizing: border-box;
  position: static;
}

.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {
    
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper a {
    padding-left: 20px;
    top: 0;
}


.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-menu-depth-2 a {
    
        font-size: 14px;
    text-transform: none;
    font-weight: 400;
     padding-left: 0 !important;
    padding-right: 0;
    
}

.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    
    margin-bottom: 30px;
}


.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-menu-depth-2.hs-item-has-children a,
.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li a span.hae {
    
        font-size: 16px;
    text-transform: uppercase;
    font-weight: 900;
    padding-left: 0;
    padding-right: 0;
  
}

.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-menu-depth-3 a {
    
        font-size: 14px !important;
    text-transform: none !important;
    font-weight: 400 !important;
     padding-left: 0 !important;
    padding-right: 0;
    text-transform: none !important;
    
}

.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-menu-depth-2:first-child {
      margin-top: 8px;
}

.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-menu-depth-2 ul {
    
    margin: 0 0 15px 0;
}

.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-item-has-children ul.hs-menu-children-wrapper a {
    padding-left: 40px;
    top: 0;
}

.mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1:first-child {
    
    display: block !important;
}

/*G2017 uudet ländärit */

/*G2017 uudet ländärit */

.lp-header-white p, 
.lp-header-green p,
.lp-header-white li {
    font-size: 18px;
}

.lp-harmaa-bg{
    margin-top: 30px;
    background: #f3f2f2;
}


.lp-tuotewrap {
    background: #fff;
    border: 1px solid #bbbaba;
    padding: 30px;
}

body.painotuotteet .lp-tuotewrap {
    border: none;
    padding-top: 80px;
    padding-bottom: 0px;
    display: table;
}

body.painotuotteet .lp-tuotewrap2-content, 
body.painotuotteet .lp-tuotewrap2-img {
    float: none;
    display: table-cell;
    vertical-align: middle;
}

body.painotuotteet .lp-tuotewrap2-content {
    padding-left: 40px;
}

body.painotuotteet .lp-tuotewrap .listaus li {
    font-size: 14px;
}

.lp-tuotewrap .cta_button.painike {
    min-width: auto !important;
    padding: 15px 15% !important;
}

.lp-tuotewrap .listaus ul, 
.lp-tuotewrap ul.listaus {
    margin-bottom: 0px;
    width: auto;
}

.lp-tuotewrap .listaus li {
    font-size: 15px;
}

.lp-tuotewrap h2 {
    margin-bottom: 30px;
    margin-top: 30px;
}

.lp-tuotewrap h2::after {
    content: " ";
    display: block;
    margin: 20px auto 0 auto;
    background: #ffc925;
    height: 3px;
    width: 40px;
}

.lp-tuotewrap-img {
    text-align: center;
}

.lp-tuotewrap2-content,
.lp-tuotewrap2-img {
    width: 50%;
    float: left;
}

.lp-tuotewrap2-img {
    margin-top: 30px;
}

.lp-tuotewrap2-content h2 {
    text-align: left;
}

.lp-bg-image-section .form-title {
    font-size: 28px;
     margin: 0.5em 0 1em;
     font-weight: 900;
     line-height: 1.1em;
     text-transform: uppercase;
    color: #fff;
    text-align: left;
    margin-top: 0px;
}

.lp-tuotewrap2-content h2::after {
    content: "";
    display: block;
    margin: 20px 0;
    background: #ffc925;
    height: 3px;
    width: 40px;
}

.lp-bg-image-section {
    color: #fff !important;
}

.lp-bg-image-section p {
    color: #fff !important;
}

.lp-bg-image-section h1, 
.lp-bg-image-section h2 {
    text-align: left !important;
    color: #fff;
}

.lp-bg-image-section h1 {
    margin-bottom: 20px;
    text-align: left !important;
}

.lp-bg-image-section h1:after, 
.lp-bg-image-section h2:after {
    content: "";
    display: block;
    margin: 20px 0;
    background: #fff;
    height: 3px;
    width: 40px;
}


.landing-page input[type="text"], 
.landing-page input[type="password"], 
.landing-page input[type="datetime"], 
.landing-page input[type="datetime-local"], 
.landing-page input[type="date"], 
.landing-page input[type="month"], 
.landing-page input[type="time"], 
.landing-page input[type="week"], 
.landing-page input[type="number"], 
.landing-page input[type="email"], 
.landing-page input[type="url"], 
.landing-page input[type="search"], 
.landing-page input[type="tel"], 
.landing-page input[type="color"], 
.landing-page select {
    background: none;
    border-bottom: 1px solid #fff;
    border-right: 0px solid #fff;
    border-left: 0px solid #fff;
    border-top: 0px solid #fff;
    padding: 0px;
    color: #fff !important;
}

.landing-page textarea {
    background: none;
    border-bottom: 1px solid #fff;
    border-right: 0px solid #fff;
    border-left: 0px solid #fff;
    border-top: 0px solid #fff;
    padding: 0px;
    padding-top: 10px;
    color: #fff !important;
}

.lp-footer-form > .hs-form label,
.lp-bg-image-section > .hs-form label {
    display: none;
}

.lp-bg-image-section .hs-form .hs-error-msgs label {
    display: block !important;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.lp-footer-form .hs-form .hs-error-msgs label {
    display: block !important;
    font-size: 12px;
    font-weight: 600;
}

.lp-footer-form form {
    max-width: 335px;
    margin-left: 0px;
}

body.painotuotteet .lp-footer-form form {
    max-width: 90%;
    margin: 0 auto;
  text-align: left;
}

.painotuotteet .lp-footer-form .form-title {
    text-align: center !important;
}



.lp-footer-form input[type="text"], 
.lp-footer-form  input[type="password"], 
.lp-footer-form  input[type="datetime"], 
.lp-footer-form  input[type="datetime-local"], 
.lp-footer-form  input[type="date"], 
.lp-footer-form  input[type="month"], 
.lp-footer-form  input[type="time"], 
.lp-footer-form  input[type="week"], 
.lp-footer-form  input[type="number"], 
.lp-footer-form  input[type="email"], 
.lp-footer-form  input[type="url"], 
.lp-footer-form  input[type="search"], 
.lp-footer-form  input[type="tel"], 
.lp-footer-form  input[type="color"], 
.lp-footer-form  select {
    background: none;
    border-bottom: 1px solid #242424;
    border-right: 0px solid #242424;
    border-left: 0px solid #242424;
    border-top: 0px solid #242424;
    padding: 0px;
    color: #242424 !important;
}

.lp-footer-form fieldset.form-columns-2 .hs_valitse_l_hin_toimipisteesi {
    padding-right: 3%;
}

.lp-bg-image-section fieldset.form-columns-2 .hs_firstname,
.lp-bg-image-section fieldset.form-columns-2 .hs_lastname,
.lp-bg-image-section fieldset.form-columns-2 .hs_email,
.lp-bg-image-section fieldset.form-columns-2 .hs_phone,
.lp-bg-image-section fieldset.form-columns-2 .hs_company,
.lp-bg-image-section fieldset.form-columns-2 .hs_valitse_l_hin_toimipisteesi,
.lp-footer-form fieldset.form-columns-2 .hs_firstname,
.lp-footer-form fieldset.form-columns-2 .hs_lastname,
.lp-footer-form fieldset.form-columns-2 .hs_email,
.lp-footer-form fieldset.form-columns-2 .hs_phone,
.lp-footer-form fieldset.form-columns-2 .hs_company,
.lp-footer-form fieldset.form-columns-2 .hs_valitse_l_hin_toimipisteesi {
    padding-right: 3%;
}

body.painotuotteet .lp-bg-image-section fieldset.form-columns-2 .hs_firstname,
body.painotuotteet .lp-bg-image-section fieldset.form-columns-2 .hs_lastname,
body.painotuotteet .lp-bg-image-section fieldset.form-columns-2 .hs_email,
body.painotuotteet .lp-bg-image-section fieldset.form-columns-2 .hs_phone,
body.painotuotteet .lp-bg-image-section fieldset.form-columns-2 .hs_company,
body.painotuotteet .lp-bg-image-section fieldset.form-columns-2 .hs_valitse_l_hin_toimipisteesi,
body.painotuotteet .lp-footer-form fieldset.form-columns-2 .hs_firstname,
body.painotuotteet .lp-footer-form fieldset.form-columns-2 .hs_lastname,
body.painotuotteet .lp-footer-form fieldset.form-columns-2 .hs_email,
body.painotuotteet .lp-footer-form fieldset.form-columns-2 .hs_phone,
body.painotuotteet .lp-footer-form fieldset.form-columns-2 .hs_company,
body.painotuotteet .lp-footer-form fieldset.form-columns-2 .hs_valitse_l_hin_toimipisteesi {
    padding-right: 0%;
}

body.painotuotteet .lp-footer-form input[type="text"], 
body.painotuotteet .lp-footer-form input[type="password"], 
body.painotuotteet .lp-footer-form input[type="datetime"], 
body.painotuotteet .lp-footer-form input[type="datetime-local"], 
body.painotuotteet .lp-footer-form input[type="date"], 
body.painotuotteet .lp-footer-form input[type="month"], 
body.painotuotteet .lp-footer-form input[type="time"], 
body.painotuotteet .lp-footer-form input[type="week"], 
body.painotuotteet .lp-footer-form input[type="number"], 
body.painotuotteet .lp-footer-form input[type="email"], 
body.painotuotteet .lp-footer-form input[type="url"], 
body.painotuotteet .lp-footer-form input[type="search"], 
body.painotuotteet .lp-footer-form input[type="tel"], 
body.painotuotteet .lp-footer-form input[type="color"], 
body.painotuotteet .lp-footer-form select {
    padding-left: 5px;
}

.lp-bg-image-section .hs-form fieldset .input textarea {
    padding-top: 15px;
    padding-left: 0px;
}

.lp-footer-form .hs-form fieldset .input textarea {
    background: none;
    border-bottom: 1px solid #242424;
    border-right: 0px solid #242424;
    border-left: 0px solid #242424;
    border-top: 0px solid #242424;
    padding: 0px;
    padding-top: 15px;
    padding-left: 0px;
    color: #242424 !important;
}

.lp-bg-image-section .hs-button {
    border: 0;
    padding-left: 2.5em;
    padding-right: 2.5em;
    padding-top: 1.1em;
    padding-bottom: 1.1em;
    background-color: #242424;
    color: #fff;
    margin-top: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    font-weight: bold;
    display: inline-block;
    font-family: "proxima-nova",sans-serif;
    transition: all .5s ease;
    -webkit-appearance: none !important;
    transition: all 0.3s;
}

.lp-bg-image-section .hs-button:hover {
    opacity: 0.7;
}

/* Placeholder Text */
.lp-bg-image-section .hs-form ::-webkit-input-placeholder { /* Webkit Browsers */
   color: #fff;
}
.lp-bg-image-section .hs-form ::-moz-placeholder { /* Firefox 18- */
   color: #fff;
}
.lp-bg-image-section .hs-form :-moz-placeholder { /* Firefox 19+ */
    color: #fff;
}
.lp-bg-image-section .hs-form :-ms-input-placeholder { /* IE10 */
   color: #fff;
}

.lp-footer-form .hs-form ::-webkit-input-placeholder { /* Webkit Browsers */
   color: #242424;
   padding-left: 0px;
}
.lp-footer-form  .hs-form ::-moz-placeholder { /* Firefox 18- */
   color: #242424;
   padding-left: 0px;
}
.lp-footer-form  .hs-form :-moz-placeholder { /* Firefox 19+ */
    color: #242424;
    padding-left: 0px;
}
.lp-footer-form  .hs-form :-ms-input-placeholder { /* IE10 */
   color: #242424;
   padding-left: 0px;
}

.lp-footer-form .g2017-yhteystiedot {
    border: 1px solid #bcbbbb;
    padding: 60px;
}

.lp-footer-form .g2017-yhteystiedot h2 {
    text-align: left;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 30px;
    color: #8c8c8c;
}

.lp-bg-image-section .g2017-yhteystiedot h2 {
    text-align: left;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 0px;
    color: #fff;
    text-transform: none;
}

.lp-footer-form .form-title {
    text-align: left;
}

.lp-bg-image-section  .g2017-yhteystiedot {
    margin-top: 20px;
}

.lp-bg-image-section .g2017-yhteystiedot .kuva,
.lp-footer-form .g2017-yhteystiedot .kuva {
    text-align: left;
    width: 25%;
}

.lp-bg-image-section .g2017-yhteystiedot .teksti,
.lp-footer-form .g2017-yhteystiedot .teksti {
    text-align: left;
    width: 75%;
}

.lp-bg-image-section .g2017-yhteystiedot h3 {
    text-align: left;
    font-size: 16px;
    text-transform: uppercase;
}

.lp-bg-image-section .g2017-yhteystiedot .teksti h4 {
    color: #fff;
    text-transform: none;
}


.landing-page input.hs-input:focus,
.landing-page textarea.hs-input:focus {
    outline: none;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0), 0 0 8px rgba(82, 168, 236, 0);
    -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0), 0 0 8px rgba(82, 168, 236, 0);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0), 0 0 8px rgba(82, 168, 236, 0)
}


.landing-page input.hs-input:focus,
.landing-page textarea.hs-input:focus {
    outline: none;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0), 0 0 8px rgba(82, 168, 236, 0);
    -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0), 0 0 8px rgba(82, 168, 236, 0);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0), 0 0 8px rgba(82, 168, 236, 0)
}

#soittovinkki-form,
#yhteydenotto-form {
    display: none;
}

/* Palvelusivut */

body.palvelusivut .asiantuntijasi {
  border-top: 2px solid #eeeeee;
}

.osoitepolku ul.hs-breadcrumb-menu {
 padding-top: 0;
}

.osoitepolku li.hs-breadcrumb-menu-item {
 padding: 5px 0 0 10px;

}

.osoitepolku ul.hs-breadcrumb-menu li a {
  color: #000; 
  font-size: 14px;
}

.osoitepolku li.hs-breadcrumb-menu-item:not(.hide-link):before {
  content: '/';
  padding-right: 10px;
}

.osoitepolku li:not(.hide-link) span.hs-breadcrumb-menu-divider:before {
  content: '/';
  display: none !important;
}

.osoitepolku li.hide-link span.hs-breadcrumb-menu-divider:before {
  content: '/';
  display: none !important;
}


.osoitepolku span.hide-link {
  color: #f8f8f8;
}

.osoitepolku {
  padding-top: 10px;
  padding-bottom: 10px;
}

.osoitepolku ul.hs-breadcrumb-menu li:first-child {
  display: inline-block;
  float: left;
  padding: 0 0px 0 10px;
  margin-bottom: 0px;
 
}

.osoitepolku .hs-breadcrumb-menu-wrapper::after {
 	 content: "";
  clear: both;
}

.osoitepolku ul.hs-breadcrumb-menu li {
 line-height: 1em; 
  padding: 0 0px 0 10px;
  margin-bottom: 0px;
}

span.hide-link {
  display: none;
}

.palvelulinkit .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
  width: 100%;
  text-align: center;
  margin-bottom: 40px !important;
  margin-top: 40px;
}

.third-level .palvelulinkit .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
  margin-top: 0px;
}

.palvelulinkit ul.hs-menu-children-wrapper {
  display: none;
}

.palvelulinkit .hs-menu-wrapper.hs-menu-flow-horizontal > ul li {
  display: inline-block;
  float: none;
}

.palvelulinkit .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hide-link {
  display: none;
}

.palvelulinkit .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a,
.palvelulinkit > ul li a{
  padding: 5px 15px;
    white-space: normal;
    max-width: none;
    overflow: visible;
    text-overflow: ellipsis;
    text-decoration: none;
    background: #eee;
    margin: 0px 4px 3px 0px;
    border-radius: 20px;
    width: auto;
    color: #000;
    font-size: 15px;
}

.palvelulinkit .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a:hover {
  background: #45b97c;
  color: #fff;
  opacity: 1;
}

.palvelulinkit .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.active a {
  background: #45b97c;
  color: #fff;
}

.palvelulinkit ul {
  list-style: none;
  padding-left: 0px;
  display: flex;
  flex-wrap: wrap;
}

.asiantuntijasi .g2017-yhteystiedot .kuva {
  background: #eee;
}

.asiantuntijasi .g2017-yhteystiedot .painike.linkki {
  margin-top: 35px !important;
}

.asiantuntijasi .g2017-yhteystiedot {
  width: 100%;
}

.nostot-symbolilla {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.nostot-symbolilla.three-items.uneven-row::after {
  content: "";
  flex: auto;
  max-width: 28%; 
}

.nostot-symbolilla .item {
  width: 50%;
  padding: 0px 100px;
  text-align: center;
  margin-top: 50px;
}

.nostot-symbolilla.three-items .item {
  width: 28%; 
  padding: 0; 
}

.nostot-symbolilla .item h4 {
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 25px;
}



.referenssi-galleria {
  display: flex;
  flex-wrap: wrap;
  padding-left: 3%;
}

.referenssi-galleria div {
  position: relative;
  width: 30%;
  margin-right: 3%;
  margin-bottom: 3%;
  height: 250px;
  overflow: hidden;
}

.referenssi-galleria img {
  float: none;
  margin: 0;
  width: 150%;
  max-width: 200%;
  min-width: 100%;
  min-height: 100%;
  height: auto;
  margin-left: -25%;
}

.referenssi-galleria img.suurentamaton {
  float: none;
  margin: 0;
  width: 100%;
  max-width: 200%;
  min-width: 100%;
  min-height: 100%;
  height: auto;
  margin-left: 0%;
}

body.palvelusivut h2 {
  font-size: 32px;
  font-weight: 900;
  line-height: 40px;
  letter-spacing: 1px;
  margin: 0 0 22px;
  text-transform: uppercase;
}

body.palvelusivut .g2017-paabanneri h1,
body.palvelusivut .g2017-paabanneri h2,
h1.big-title-text,
h2.big-title-text,
.big-title-text h1,
.big-title-text h2 {
  font-size: 65px;
  line-height: 1.1em;
  font-weight: 900;
  margin: 0 0 20px 0;
  transition: all 0.3s;
  text-transform: none;
}

body.palvelusivut .g2017-paabanneri.tummennettu-bg-vaalea h1,
body.palvelusivut .g2017-paabanneri.tummennettu-bg-vaalea h2 {
	text-shadow: 0 0 10px rgba(0,0,0,0.25);
}


.palvelulinkit-mobile {
  height: 40px;
  line-height: 40px;
  background: #181818;
  display: none;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0px 30px;
  cursor:pointer;
  margin: 30px 0px;
}

.mahdottomasta-mahdollista {
  display: block;
	position: relative;
}

.mahdottomasta-mahdollista {
  display: block;
	position: relative;
}

.mahdottomasta-mahdollista img {
  max-height: 400px; 
  position: absolute;
  top: -350px; 
  left: -70px;
}

.video-grid > span {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media only screen and (max-width: 1350px) {

    body .main-nav-scrolled .menu  {
    
     min-height: 53px;
     max-height: 53px;
    
    }
    
       
    
    
    body .main-nav-scrolled .nav-alkuun-wrapper {
            
        display: inline-block !important;
         position: absolute;
        bottom: 22px;
            right: 258px;
    }
    
    body .main-nav-scrolled .nav-alkuun {
        
        display: inline-block !important;
    }
    
    
    .main-nav-scrolled .nav-alkuun {
        
        display: inline-block !important;
       
    }
    
    body .main-nav-scrolled .resize-etsi {
        right: -55px!important;
        z-index: 150!important;
        top: -3px!important;
    }
    
    
    .main-nav-scrolled .nav-alkuun a {
    
        color: #333;
    }


}




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


    body .main-nav-scrolled .tarjouspyynto a {
        position: relative;
        bottom: 3px;
        right: 0;
      
    }
    
    .nav-grano2.nav-grano-en .tarjouspyynto {
    
        width: 325px;
       
    }
    
    .nav-grano2.nav-grano-en .etsi-wrapper {
        position: relative;
        right: 285px;
        top: 0;
    }
    
    .rekrylaatikot .laatikko {
        float: left;
        width: 48.5%;
        margin: 0 1.5% 1.5% 0;
        background: #fc3;
        min-height: 100px;
        position: relative;
        height: 300px;
        overflow: hidden;
    }
    
    body .main-nav-scrolled .etsi-painike {
        position: absolute;
        right: 0px;
        z-index: 50;
        top: 38px;
    }
    
    
    .blog .blog-section.single-post  .post-header h1, .blog .blog-selection.single-post  .post-header h1 *, .blog .blog-selection.single-post  .post-header h1 #hs_cos_wrapper_name {
        font-size: 44px !important;
        line-height: 1.1em !important;
        margin-top: 0 !important;
        margin-bottom: 26px !important;
        font-weight: 700 !important;
    }
    
    
    .banneri .hs_cos_flex-slider .superimpose .caption {
        color: white;
        /* background: #000; */
        font-size: 3em;
        line-height: 1.1em;
        position: absolute;
        display: block;
            padding: 4% 12% 0 12%;
        /* background: rgba(0,0,0,0.5); */
        width: 53%;
        top: 0%;
        text-align: center;
        background-color: transparent;
        z-index: 400;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    
    .tuotenosto .tuotteet .row-fluid-wrapper:nth-child(4), .tuotenosto .tuotteet .row-fluid-wrapper:nth-child(7), .tuotenosto .tuotteet .row-fluid-wrapper:nth-child(10) {
       clear:both;
    }
    
    
    
    
    
    .nav-grano .tarjouspyynto {
        position: absolute;
        top: 0px;
        right: 20px;
    }
    
    .nav-grano .tarjouspyynto a {
        
         position: relative;
        bottom: 0px;
        right: 0px; 
    }
    
    .nav-grano .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {
        display: inline-block;
        padding: 10px 13px;
        
    }
    
    .hs-menu-wrapper.hs-menu-flow-horizontal>ul li ul li a {
        display: inline-block;
        padding: 10px 25px;
        
    }
    
    
    .banneri .hs_cos_flex-slider .hs_cos_flex-slides img {
     
        position: static;
        
    }
    
    .banneri .hs_cos_flex-direction-nav a {
        
        padding: 0px;
    }
    
    .banneri .hs_cos_flex-slider .hs_cos_flex-slides>li {
      
       
        height: auto;
      
    }
    
    
    .banneri .hs_cos_flex-slide-main {
        
        background: #040404;
    }
    
    
    .tuotenosto .tuotteet .row-fluid-wrapper {
        margin: 0 1.25% 23px 1.25%!important;
        width: 30.5%!important;
        float: left;
        padding: 0!important;
    }

}

.lp-2017 h2 {
    margin-top: 0px;
}

.lp-2017 .form-title {
    font-size: 28px;
}

.lp-2017 input[type="text"], 
.lp-2017 input[type="password"], 
.lp-2017 input[type="datetime"], 
.lp-2017 input[type="datetime-local"], 
.lp-2017 input[type="date"], 
.lp-2017 input[type="month"], 
.lp-2017 input[type="time"], 
.lp-2017 input[type="week"], 
.lp-2017 input[type="number"], 
.lp-2017 input[type="email"], 
.lp-2017 input[type="url"], 
.lp-2017 input[type="search"], 
.lp-2017 input[type="tel"], 
.lp-2017 input[type="color"], 
.lp-2017 select {
    background: none;
    border: 1px solid #ccc !important;
    padding: 0px;
    height: 34px;
}


.lp-2017 .logo {
    padding-top: 20px;
    padding-left: 25px;
    padding-right: 25px;
}

.body-container  .ingressi-table table td,
.body-container  .ingressi-table-right table td{
    vertical-align: middle;
}

.pudotussisalto  {
    display: block;
    margin: 0 auto;
    margin-bottom: 15px;
    
}

.pudotussisalto .sisalto {
    padding-bottom: 5px;
    width: 90%;
    padding-top: 20px;
    padding-left: 15px;
}

.pudotussisalto .otsikko {
    display: block;
    height: 100%;
    width: 100%;
    background: #ffc925;
    padding: 5px 15px;
}

.pudotussisalto h4.pudotusotsikko {
    margin: 0.5em 0 0.5em;
    display: inline-block;
    width: 90%;
}

.pudotussisalto .plus {
    display: inline-block;
    float: right;
    font-size: 25px;
    margin-top: 0.3em;
    font-weight: bold;
    background: #ffc925;
    height: 100%;
}

.pudotussisalto .otsikko:hover {
    cursor: pointer;
}

.pudotussisalto .sisalto.closed {
    display: none;
}

.pudotussisalto .otsikko.vihrea-bg h4 {
    letter-spacing: 0.03em;
}

.pudotussisalto a.pudotus-cta {  
    display: inline-block;
    background: #242424;
    color: #ffcc33;
    border-radius: 0;
    padding: 15px 5%;
    box-sizing: border-box;
    font-weight: 600 ;
    width: auto;
    text-transform: uppercase !important;
    font-size: 14px;
    line-height: 1em;
    max-width: 100% ;
    font-family: "proxima-nova", sans-serif;
    padding: 15px 7% !important;
    transition: 0.3s;
}

.pudotussisalto .sisalto .form-link {
    display: inline-block;
    
}

.pudotussisalto .sisalto .form-link:hover {
    display: inline-block;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.g2017 .pudotussisalto .sisalto .form-wrap form {
    margin: 0px auto 30px 0px;
}


/* GRANO TV */

/*
    Name: YouTubePopUp
    Description: jQuery plugin to display YouTube or Vimeo video in PopUp, responsive and retina, easy to use.
    Version: 1.0.1
    Plugin URL: http://wp-time.com/youtube-popup-jquery-plugin/
    Written By: Qassim Hassan
    Twitter: @QQQHZ
    Websites: wp-time.com | qass.im | wp-plugins.in
    Dual licensed under the MIT and GPL licenses:
        http://www.opensource.org/licenses/mit-license.php
        http://www.gnu.org/licenses/gpl.html
    Copyright (c) 2016 - Qassim Hassan
*/

.YouTubePopUp-Wrap{
    position:fixed;
    width:100%;
    height:100%;
    background-color:#000;
    background-color:rgba(0,0,0,0.8);
    top:0;
    left:0;
    z-index:9999999999999;
}

.YouTubePopUp-animation{
    opacity: 0;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: YouTubePopUp;
    animation-name: YouTubePopUp;
}

@-webkit-keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

body.logged-in .YouTubePopUp-Wrap{ /* For WordPress */
    top:32px;
    z-index:99998;
}

.YouTubePopUp-Content{
    max-width:680px;
    display:block;
    margin:0 auto;
    height:100%;
    position:relative;
}

.YouTubePopUp-Content iframe{
    max-width:100% !important;
    width:100% !important;
    display:block !important;
    height:480px !important;
    border:none !important;
    position:absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

.YouTubePopUp-Hide{
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: YouTubePopUpHide;
    animation-name: YouTubePopUpHide;
}

@-webkit-keyframes YouTubePopUpHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes YouTubePopUpHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.YouTubePopUp-Close{
    position:absolute;
    top:0;
    cursor:pointer;
    bottom:528px;
    right:0px;
    margin:auto 0;
    width:24px;
    height:24px;
    background:url(../images/close.png) no-repeat;
    background-size:24px 24px;
    -webkit-background-size:24px 24px;
    -moz-background-size:24px 24px;
    -o-background-size:24px 24px;
}

.YouTubePopUp-Close:hover{
    opacity:0.5;
}



@media all and (max-width: 768px) and (min-width: 10px){
    .YouTubePopUp-Content{
        max-width:90%;
    }
}

@media all and (max-width: 600px) and (min-width: 10px){
    .YouTubePopUp-Content iframe{
        height:320px !important;
    }

    .YouTubePopUp-Close{
        bottom:362px;
    }
}

@media all and (max-width: 480px) and (min-width: 10px){
    .YouTubePopUp-Content iframe{
        height:220px !important;
    }

    .YouTubePopUp-Close{
        bottom:262px;
    }
}

.tv-nosto {
    width: 100%;
    float: left;
    display: inline-block;
    margin-left: 4.3%;
    margin-bottom: 3%;
    
}

.tv-nosto h3 {
    font-size: 20px;
    line-height: 1.2em;
    display: block;
    font-weight: 900;
    margin-top: 25px;
}

.tv-nosto .kuva {
   height: 300px; 
   width: 90%; 
   background: #000;
   display: block;
   background-size: cover;
   background-position: center center;
   text-align: center;
   position: relative;
}

.tv-nosto .kuva  {
   height: 300px; 
   width: 95%; 
   background: #000;
   display: block;
   background-size: cover;
   background-position: center center;
   text-align: center;
   position: relative;
}

.tv-nosto .video-popup  {
   box-shadow: inset 0 0 0 1000px rgba(0,0,0,.10);
}

.tv-nosto .kuva img {
    position: relative;
    top: 100px;
}

.tv-nosto .video-popup:hover {
    opacity: 1;
}

.tv-nosto .video-popup:hover {
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.35);
    transition: 0.5s;
    cursor: pointer;
}

.tv-nosto a:hover {
    opacity: 1;
    cursor: default;
}

.tv-listaus {
    position: relative;
    background: #ffcc33 !important;
    border: 1px solid #ffcc33 !important;
    color: #000 !important;
}

.tv-uutuus {
    position: absolute;
    bottom: -11px;
    right: -12px;
    background: #dd4d49;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 2px 5px;
}

/* Embed Container (iFrame, Object, Embed) */
.hs-responsive-embed {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}
.hs-responsive-embed iframe,
.hs-responsive-embed object,
.hs-responsive-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.hs-responsive-embed,
.hs-responsive-embed.hs-responsive-embed-youtube,
.hs-responsive-embed.hs-responsive-embed-wistia,
.hs-responsive-embed.hs-responsive-embed-vimeo {
    padding-bottom: 56.25%;
}

.granoshop-nosto {
    background: url('https://www.grano.fi/hubfs/Images/Taustakuvat/granoshop_hero.jpg');
    text-align: center;
    padding: 30px;
    margin-top: 120px;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);
}

.granoshop-nosto * {
    color: #fff !important;
}

.granoshop-nosto  a {
    border: 0;
    padding-left: 2.5em;
    padding-right: 2.5em;
    padding-top: 1.1em;
    padding-bottom: 1.1em;
    background: #ffcc33;
    color: #000 !important;
    margin-top: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    font-weight: bold;
    display: inline-block;
    font-family: "proxima-nova",sans-serif;
    transition: all .5s ease;
    -webkit-appearance: none !important;
}

.g2017 .granoshop-nosto h2 {
    margin-bottom: 20px;
}

.cta-painotuotteet {
    display: flex;
}

.cta-painotuotteet .tarjouspyynto,
.cta-painotuotteet .verkkokauppa {
    width: 45%;
    display: flex;
    flex-direction: column;
}

.cta-painotuotteet .tarjouspyynto {
    margin-right: 10%;
}

.cta-painotuotteet p {
    font-size: 18px;
}


.cta-painotuotteet .cta {
    margin-top: auto;
}

#yhteydenotto-form .lp-footer-form form {
    margin: 0 auto;
}

body.sahkoinen-joulukortti {
  color: #000;
}

body.sahkoinen-joulukortti .g2017-nostot-bg h3 {
  margin-top: 0px;
}

body.sahkoinen-joulukortti .g2017-yhteystiedot .teksti h4 {
  color: #000;
}

span.navi-uutuus {
  color: #dd4d49;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

#hs_cos_wrapper_widget_6461219214 {
  background-color: transparent !important;
}

body.sahkoinen-joulukortti input[type="text"],
body.sahkoinen-joulukortti input[type="email"],
body.sahkoinen-joulukortti input[type="tel"],
body.sahkoinen-joulukortti select,
body.sahkoinen-joulukortti textarea {
  background: #fff !important;
  border: 1px solid #efefef !important;
}

.paabanneri-kampanja.sahkoinen-joulukortti .text-content h1 {
  margin-bottom: 15px;
}


/* R&C Referenssit */

.refe-text {
  text-align: center;
}

.rc-referenssit .rc-topics {
  text-align: center; 
  font-size: 20px; 
  margin-top: 20px;
}

.rc-referenssit .rc-topics a {
  color: #1B1B1B;
}

.g2017.rc-referenssit .hs_cos_wrapper_type_rss_listing h3 {
  text-align: center; 
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  line-height: 34px;
  color: #000; 
}


.g2017 .topic-refe .hs-rss-title::before {
    width: 100%;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    color: #aa5ea1;
    font-size: 12px;
    line-height: 1em;
    display: block;
    margin: 0 0 20px 0;
    content: "Referenssit";
}

body.rc-referenssit,
.g2017.rc-referenssit p {
  font-size: 18px;
  line-height: 30px; 
}

.g2017-yhteystiedot p {
  font-size: 16px !important; 
  line-height: 24px !important; 
}

.g2017.rc-referenssit .hs-rss-title span {
  text-transform: none; 
}

.g2017.rc-referenssit .refe-text h2 {
  text-transform: none; 
  margin-bottom: 30px; 
}

.rc-referenssit .kuvapaikka img {
  width: 100%; 
}

.rc-title {
  padding-top: 2%;
  padding-bottom: 2.5%; 
}

.rc-referenssit .g2017-yhteystiedot:before {
  content: " ";
  display: block;
  margin: 60px auto 60px auto;
  background: #ffc925;
  height: 3px;
  width: 40px;
}

.g2017 .blogi-lista ul.rc-topic-list {
  text-align: left; 
  margin-top: 50px; 
  margin-bottom: 20px; 
}

.g2017 .blogi-lista .rc-topic-list a {
    font-size: 13px;
    line-height: 1.1em;
    font-weight: 400;
  background: #f3f3f3;
  border: none;
  border-radius: 15px;
    color: #1b1b1b;
    padding: 11px 20px;
    width: auto;
    margin: 0 10px 10px 0px;
    overflow: initial !important;
    text-decoration: none;
    display: inline-block;
    text-transform: none;
  min-width: 0px;
}

.g2017 .blogi-lista .rc-topic-list a:hover {
    background: #000;
  color: #fff; 
  opacity: 1; 
}

li.rc-topic-list-title {
  padding-right: 10px !important; 
}

.rc-referenssit .levea-kuva img {
  width: 100%; 
}

.yksinkertainen-refenosto a {
  display: block;
  text-align: center; 
  color: #444; 
  font-size: 20px; 
  font-weight: 900; 
  margin-top: 20px; 
}

body.rc-referenssit blockquote,
.g2017.rc-referenssit blockquote,
body.rc-referenssit blockquote p,
.g2017.rc-referenssit blockquote p {
    font-size: 22px;
    line-height: 34px;
    font-style: italic;
}

body.rc-referenssit blockquote strong,
.g2017.rc-referenssit blockquote strong,
body.rc-referenssit blockquote p strong,
.g2017.rc-referenssit blockquote p strong {
    font-size: 16px;
    line-height: 24px;
    font-style: normal;
}

.gradient-container {
  background: #fff;
  border-radius: 10px;
  padding: 3%; 
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.lomake-taustalla h2 {
  text-transform: uppercase; 
  margin-bottom: 20px;
  margin-top: 20px;
}

.lomake-taustalla .text-content {
  margin-bottom: 20px; 
}

body.landing-page .lomake-taustalla .inputs-list.multi-container li {
  display: inline-block; 
  margin-right: 15px; 
}

.g2017 .lomake-taustalla .hs-form fieldset input[type="radio"] {
  margin-right: 5px; 
}

.tuotteet-kuvagalleria .caption.below {
  display: block; 
  margin-top: 15px;
  text-align: center !important; 
}

.tuotteet-2019 .lp-tuotewrap2-content {
  text-align: center; 
}

.tuotteet-2019 .lp-tuotewrap2-content h2 {
  font-size: 20px;
  line-height: 30px; 
  text-transform: uppercase;
  text-align: center;
  margin: 30px auto;
}

.tuotteet-2019 .lp-tuotewrap2-content {
  padding: 0px 80px; 
}

.tuotteet-2019 .lp-tuotewrap2-content h2::after {
  display: none; 
}

/* G2019 navigation */

.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul.hs-menu-children-wrapper, 
.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul.hs-menu-children-wrapper {
  width: 1200px; 
}

.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul.hs-menu-children-wrapper {
  padding-left: 20px; 
}

.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(2) ul.hs-menu-children-wrapper {
  padding-left: 38px; 
}

.header-new .g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li:first-child, 
.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li {
  width: 820px; 
  position: static; 
  margin-bottom: 10px; 
}

.header-new .g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li:first-child > ul > li > a , 
.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul > li:first-child > ul > li > a {
  padding: 3px 0px 3px 10px; 
}

.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-2 > a {
  width: 410px; 
  position: relative;  
}

.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-2:not(.hae-wrap) > a:before {
  content: '\203A';
  display: block; 
  position: absolute;
  top: 2px; 
  right: 15px; 
  height: 15px;
  width: 15px; 
  font-size: 25px;
}

.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.active > a {
  background: #ffcc33;
  color: #000 !important; 
  width: 410px; 
}

.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-3.active > a {
  /*background: none;
  color: #ffcc33 !important; 
*/
font-weight: 700;
}


.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.active-branch > a {
  color: #000 !important; 
}


.g2017-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1).hs-item-has-children ul.hs-menu-children-wrapper li ul {
  display: none !important; 
}

.g2017-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1).hs-item-has-children ul.hs-menu-children-wrapper li.active ul {
  display: block !important;
  position: absolute;
  left: 430px; 
  width: 420px; 
  top: 0px; 
  height: 100%; 
  opacity: 0; 
  background: #ffcc33;
  padding: 40px 30px 30px 30px; 
}

.g2017-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1).hs-item-has-children ul.hs-menu-children-wrapper ul li a {
  font-size: 16px; 
  padding-bottom: 10px; 
}

.g2017-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1).hs-item-has-children ul.hs-menu-children-wrapper ul li a:hover {
  color: #000 !important; 
    opacity: 0.4 !important; 
}

.g2017-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.active ul {
  transition-property: none;
  opacity: 1 !important; 
}

.g2017-header .g2019-menu.menu .right-side {
  height: 100%; 
  width: 300px;
  display: flex;
  align-items: center;
  position: absolute;
  right: 25px;
  top: 0px;
}

.g2017-header .g2019-menu.menu .right-side .campaign-cta {
  display: block; 
}

.g2017-header .g2019-menu.menu .right-side .links {
  padding: 25px 0px; 
}

.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hae-wrap {
  margin-bottom: 0px; 
}

.g2018-header .g2019-menu.menu li.hae-first:before {
  content: '';
  display: block;
  width: 40px;
  height: 6px; 
  background: #ffcc33;
  margin-top: 25px; 
  margin-bottom: 10px; 
  margin-left: 10px; 
}


.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li a span.hae {
  font-size: 14px; 
  font-weight: 400; 
  text-decoration: none; 
}

.g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li a span.hae:after {
  display: none; 
}


.g2017-header .g2019-menu.menu .right-side .links a {
  padding: 0px 0px 7px 0px; 
  color: #000; 
}

.main-nav #palvelut-sidebar {
  display: none; 
}

.video-banner #video-container {
  position:absolute;
  top:50%;
  left:50%;
  min-width:100%;
  min-height:100%;
  width: 100%;
  height: 100%;
  z-index:-100;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  overflow: hidden;
}

.video-banner video {
  width: 100%;
  height: 100%;
-o-object-fit: cover;
   object-fit: cover;
}

.g2017-paabanneri.video-banner:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000;
  opacity: .2;
}

.yritysjuhlat .g2017-paabanneri.video-banner.korkea-banneri {
  height: 870px;
}

.yritysjuhlat .g2017-header .float-right {
  color: #8F8F8F;
}

.yritysjuhlat .g2017-header .float-right a {
  color: #ffcc33;
  font-weight: 600;
  margin-right: 30px;
}

.yritysjuhlat-nosto {
  padding-top: 60px;
  max-width: 875px;
  margin: 0 auto;
  padding: 20px;
  background: #ffcc33;
  margin-top: 55px;
}

.yritysjuhlat-nosto h2 {
  letter-spacing: 0.02em;
  text-align: center; 
  text-transform: none; 
  font-size: 2.2em; 
  line-height: 1.2em;
  margin-bottom: 0px;
}

.yritysjuhlat-nosto p {
  margin-bottom: 10px;
}

.yritysjuhlat-nosto a {
  display: inline-block; 
  position: relative;
  color: #1b1b1b;
}

.yritysjuhlat-nosto .emoji {
  display: block;
}

.yritysjuhlat .aa-rss-carousel__inner {
  padding-top: 40px;
}

/* Backup for ie11 */
.no-objectfit .yritysjuhlat .video-container {
  display: none;
}

.no-objectfit .yritysjuhlat .video-banner {
  background-image: url('https://www.grano.fi/hubfs/Yritysjuhlat/grano_yritysjuhlat_hero-1.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}


.no-objectfit .yritysjuhlat {
  overflow-x: hidden;
}


/* Etusivun korona-tuotenostot */

.tuotenosto-etusivu.right-column {
  margin-top: 60px;
}

@media screen and (min-width: 768px) {
  .tuotenosto-etusivu.left-column {
    padding-right: 60px;
  }
  .tuotenosto-etusivu.right-column {
    padding-left: 60px;
    margin-top: 0px;
  }
}


/* MyGrano palvelusivu */

.mygrano-logolistaus {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mygrano-logolistaus img {
  align-self: center;
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .mygrano-logolistaus {
    flex-direction: row;
  }
  
  .mygrano-logolistaus img {
    margin-bottom: 0px;
  }
}

/* 3.11. webinaarin Grano.fi etusivun popup */ 

#leadinModal-922772.leadinModal.leadinModal-theme-default.leadinModal-v3 .dyno-image {
  float: none !important;
}
 

#leadinModal-922772.leadinModal  .dyno-image img {
  max-width: 160px !important;
  max-height: 160px !important;
}

#leadinModal-922772.leadinModal.leadinModal-theme-default.leadinModal-v3.leadinModal-preview h4 {
  margin-left: 0px !important;
}

#leadinModal-content-wrapper-922772 {
  overflow-y: scroll;
}

.lang-en .main-nav .aspa-info {
  display: none;
}

/* Fix image sizing for two column carousels */
.tuotteet-2019 .span6 .slick-slide img {
  max-height: 515px;
}

.blogi-kaikki-3-saraketta .hs_cos_wrapper_type_rss_listing h3 {
  display: none;
}

.blogi-kaikki-3-saraketta .blogi-lista {
  margin-bottom: 50px;
}

.blogi-kaikki-3-saraketta .hide-post .hs-rss-item:first-child {
  display: none;
}

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

  .yritysjuhlat-nosto h2 {
    font-size: 22px;
    margin-bottom: 0px !important;
  }

}

@media screen and (max-width: 1250px) {
  
  .g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li,
  .header-new .g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li:first-child {
    width: 700px; 
  }
  
  .g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.hs-menu-depth-2 > a,
  .g2018-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1) ul li.active a {
    width: 350px; 
  }
  
  .g2017-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1).hs-item-has-children ul.hs-menu-children-wrapper li.active ul {
    width: 340px;
    left: 370px; 
  }
  
  .g2017-header .g2019-menu.menu .right-side {
    width: 300px; 
    right: 3%; 
  }
  
}

@media screen and (max-width: 1100px) {
  
  .g2017-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1).hs-item-has-children ul.hs-menu-children-wrapper ul {
    width: 350px;
    left: 370px; 
  }
  
  .g2017-header .g2019-menu.menu .right-side {
    width: 250px; 
    right: 3%; 
  }
  
}

@media screen and (max-width: 1050px) {
  
  .g2017-header .g2019-menu.menu .right-side {
    width: 250px; 
    right: 0%; 
  }
  
  .g2017-header .g2019-menu.menu .right-side img {
    width: 200px; 
  }
  
}

@media screen and (max-width: 1020px) {
  
.g2017-header .g2019-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:nth-child(1).hs-item-has-children ul.hs-menu-children-wrapper ul {
  width: 330px; 
  }
  
  .mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.open, .mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.open ul {
  display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: opacity 0.5s;
}
  
   .mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.close, .mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.close ul {
  display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
     transition: opacity 0.5s;
}
  
  .mob-nav-horizontal .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children.no-hover:hover > ul {
   display: none; 
  }
  
}

/* Mobile styles */
@media only screen and (min-width: 1600px) {
  
  	.paabanneri-kampanja.sahkoinen-joulukortti .text-content p.subheader {
      color: #fff;
      text-shadow: 0 0 15px rgba(0,0,0,0.8);
     }
}

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

    .lang-nav {
        position: absolute;
        right: 521px;
        z-index: 40;
        top: 16px;
    }
    
    .g2017-header .g2017-menu.menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.kolmio:nth-child(1):hover::after {
        
        content: none !important;
    }
    
    .g2017-header .menu {
        padding-left: 136px;
        padding-right: 40%;
    }
    
    .g2017-header .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {
        
            padding: 13px 8px 13px 8px;
    }

    .g2017-header .toisentason-menu {
        
        width: 46%;
    }

}


@media only screen and (max-width: 1100px) { 
    
    .g2017 .g2017-header .toisentason-menu .menulinkit a.toggle-nav-ota-yhteytta {
        
        padding: 0px 5px 5px 5px;
    }
    
    .g2017 .g2017-header .toisentason-menu .menulinkit a.verkkokauppa-btn {
        
        padding: 7px 10px;
    }
  
  body.palvelusivut .g2017-paabanneri h1,
body.palvelusivut .g2017-paabanneri h2 {
  font-size: 45px;
  line-height: 1.1em;
  
}
    
}



@media only screen and (min-width: 974px) {
    
    .mobile-nav {
        
        display: none !important;
    }
    
    
    
    
    
}

@media only screen and (min-width: 1016px) {
    
    .about-author-sec2 .span8 div {
        
        font-size: 13px;
        line-height: 1.21em;
    }
    
     .about-author-sec2 .span8 .hs-author-social-section {
         
         display: block;
         margin-top: 10px;
     
  }    
   .anchor-offset {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
  }
       
}

@media only screen and (max-width: 1015px) {
    
    
    html body .nav-grano .mobile-menu {
    
    display: block !important;
    }

    .g2017 .etsi-lomake .cse .gsc-control-cse, .g2017 .etsi-lomake .gsc-control-cse {
      
        top: 3%;
    }
    
    .g2017-paabanneri h1.h1, .g2017-paabanneri h1.h2, .g2017-paabanneri .paateksti h1, .g2017-paabanneri h2.h2 {
        font-size: 51px;
        line-height: 1.2em;
      
    }
    
    .tablet {
        
        display: block !important;
    }
    
    body .desktop-tablet {
        
        display: none; 
    }
    
    
    .g2017.blog .blog-post-sisalto {
        padding-left: 0;
        max-width: 100%;
        width: 650px;
        margin: 0 auto !important;
        float: none;
    }

    .g2017.blog .blog-post-sivupalkki {
        position: static;
        margin: 50px auto 20px auto !important;
       width: 650px;
        float: none;
        max-width: 100%;
    }
    
    
    
    
    .g2017.blog a.back-link {
      
        position: static;
        display: inline-block;
        
        
    }
    
    .g2017.blog .blog-header .aiheet, .g2017.blog .blog-header h1 {
      
        max-width: 100%;
        width: 650px;
        margin-left: auto !important;
        margin-right: auto !important;
        float: none;
    }
    
    .rivi {
        padding-top: 65px;
        padding-bottom: 65px;
    }
    
    
    .videon-upotus.iframe-video {
        
        max-width: 100%;
           
    }
    
    .videon-upotus.iframe-video .videon-upotus-wrapper {
        
         
        padding-bottom: 52%
    }
       
       
       .g2017 .rfp-form, .g2017 .nav-ota-yhteytta {
           
           display: none !important;
       }
    
    
    .g2017 .post-listing .post-item {
        width: 47%;
        margin: 0 1.5% 3% 1.5%;
        float: left;
        border: none;
        padding: 0;
    }
    
    .g2017 .post-listing .post-item:nth-child(3n+4) {
        clear: initial;
    }

    .g2017 .post-listing .post-item:nth-child(2n+3) {
        clear: both;
    }
    
    .etusivujen-nosto .taustakuva {
      
        width: 100%;
       
    }
    
    .etusivujen-nosto .teksti {
        width: 580px;
        position: relative;
        max-width: 100%;
        z-index: 50;
        margin: 0 auto;
        float: none !important;
        padding: 5%;
        background: rgba(255,255,255,0.8);
    }
    
    
    
    
    .blog.blog-v2 .blog-section.single-post .post-header h1 {
        font-size: 45px !important;
        line-height: 1em !important;
        
    }
    
     .logo-rivit .logo-rivi, .logo-rivit .logo6 .logo-rivi {
          
          max-width: 25%;
        height: auto;
        padding-right: 10%;
      }
      
      .g2017-header .etsi-painike {
       
        top: -3px;
        right: 9px
    }
      
      .lang-nav.lahella {
        position: absolute;
        right: 44px;
        z-index: 40;
        top: 3px;
    }
    
        .g2017 .lang-nav {
            
            display: none !important;
        }
      
      .nav-grano2.nav-grano-en .etsi-wrapper {
        position: relative;
        right: 15px !important;
        top: 0;
    }
      
        .logo-rivit .logo-rivi:nth-child(5) {
           
           clear:both;
           content: "";
           
           
       }
       
       .g2017-paabanneri.korkeus-keskitetty,
        .g2017-paabanneri.videobanneri {
        height: 520px;
        transition: 0.5s all;
       
    }
       
      .logo-rivit img {
          
         padding: 0px 5% 0px 0;
      }
      
      
       
    .ota-yhteys-form .close-rfp-form a {
      
        left: 237px;
    }
    
    .rekrylaatikot h1, .rekrylaatikot h2, .rekrylaatikot h3, .rekrylaatikot h4, .rekrylaatikot h5, .rekrylaatikot h6 {
        font-size: 33px;
       
        }
        
        html .yhteystiedot .keltainen-bg, html .yhteystiedot .kartta {
            
            min-height: 210px;
        }
        
        .rekrylaatikot .laatikko {
     
        height: 256px;
        
        }
    
    .tuotteet .oikea66 {
        
        text-align: center;
    }
    
    .tuotteet .vasen33 {
        
        min-height: 100px;
    }
    
    html body .nav-grano .desktop-menu {
        
        display: none !important;
    }
    
    body .bg-image-section h1 {
        color: inherit;
        font-size: 30px;
        line-height: 1.1em;
        font-weight: 700;
          
    }

    .myyntisivu .bg-image-section h1 {
        color: #ffcd0f;
        font-size: 30px;
        line-height: 1.1em;
        margin-bottom: 15px;
        font-weight: 700;
    }
    
    
    .hs_cos_wrapper_type_form {
        
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid #eee;
    }
    
    .tuotenosto .tuotteet .row-fluid-wrapper {
        
        min-height: 233px;
    }
    
    
    .landari h1, .perussivu h1 {
        margin-top: 0;
        margin-bottom: 35px;
        font-size: 38px;
        line-height: 1.1em;
        color: #333;
        letter-spacing: -1px;
        font-weight: 800;
    }
    
    .blog .blog-section.single-post  .post-header h1, .blog .blog-selection.single-post  .post-header h1 *, .blog .blog-selection.single-post  .post-header h1 #hs_cos_wrapper_name {
        font-size: 34px !important;
        line-height: 1.1em !important;
        margin-top: 0 !important;
        margin-bottom: 26px !important;
        font-weight: 700 !important;
    }
    
    .vasen33, .vasen50, .vasen66, .oikea33, .oikea50, .oikea66 {
        
        float: none;
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    
    .yhteystiedot .kartta, .yhteystiedot .keltainen-bg {
        width: 100%;
        margin-left: 0;
    }
    
    
    
    .etsi-painike {
        position: static;
        right: 33px;
        z-index: 50;
        top: 33px;
    }
    
    .etsi-wrapper {
        
        position: relative;
        text-align:right;
       top: 11px;
       right: 15px;
        box-sizing: border-box;
    }
    
    .etsi-lomake {
        display: none;
        position: absolute;
        left: 0;
        z-index: 60;
        top: 18px;
        padding-right: 20px;
        width: 100%;
        background: #fff;
        box-sizing: border-box;
    }



    .etsi-sulje {
        position: absolute;
        right: 3px;
        top: 22px;
        width: 20px;
    }
  
    
  
    
}

@media only screen and (min-width: 951px) {
    
    .blog .piilota {
        
        display: none !important;
    }
}


@media only screen and (max-width: 950px) {
    
        .yhteystiedot-3x .perusnosto {
       
        width: 50%;
        
    }
    
    .perusnostot-3x h3.otsikko {
        font-size: 20px;
        
        line-height: 1.1em;
       
    }
    
        .yhteystiedot-3x .perusnosto-3 {
       
        width: 100%;
        
    }
  
   body.palvelusivut .g2017-paabanneri h1,
body.palvelusivut .g2017-paabanneri h2 {
  font-size: 45px;
  line-height: 1.1em;
  
}
    
    
    
    .blogi-lista, .blogi-lista ul {
        
        width: 100%;
        display: block;
    }
    
    .blogi-lista {
        
        width: 400px !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 auto 60px auto !important;
    }
    
    .blog .blogi-lista {
        
        margin-bottom: 20px !important;
        text-align: center;
    }
    
    .blogi-lista::before {
        
        content: "Näytä";
        font-weight: 700;
        text-align: left;
        margin-bottom: 9px;
        display: block;
        
    }

    .blog .blogi-lista::before {
        
        text-align: center;   
    }
    
    .blogi-lista a, .blogi-lista li {
        
       
        width: 100%;
        text-align: center;
        display: none !important;
        position: relative;
        margin: 0 !important;
        max-width: 100% !important; 
        border-top: none !important;
    }
  
  .blogi-lista a:first-child {
    border-top: 1px solid #1d1e1d !important;
  }
    
    .blogi-lista a:first-child, .blogi-lista li:first-child {
    
        display: block !important;
        
    }
    
    .blogi-lista a:first-child::after {
        
       content: "\f107" !important;
       font-family: 'FontAwesome' !important;
       border: none !important;
          font-size: 23px;
        position: absolute;
        font-weight: 400;
       color: #fff !important;
       left: initial !important;
       right: 34px !important;
       top: 11px !important;
       
    }
    
    .blogi-kaikki-3-saraketta .blogi-lista {
        
        margin-bottom: 40px;
    }
    
    .blogi-lista:hover > li, .blogi-lista:hover > a,
    .blogi-lista ul:hover > li, .blogi-lista ul:hover > a{
    
        display: block !important;
    }
  
    .paabanneri-kampanja .img-wrap {
    width: 100%;
      text-align: center;
  }
  
  .paabanneri-kampanja img {
    float: none;
  }
  
    .paabanneri-kampanja .text-content {
    padding-top: 0%;
  }
  
  .g2017.blog.rc-referenssit .blog-header .span6 {
    width: 50% !important;
    display: inline-block;
    float: left; 
  }
  
    .g2017.blog.rc-referenssit .blog-header .aiheet {
    padding-top: 6px;
  }
  
  .rc-referenssit .rc-topics {
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
}


}




@media only screen and (max-width: 850px) {
 
    
      .perusnostot-3x {
          
          display: block;
      }
      
       .toimipisteet-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
        float: left;
        width: 33.33%;
     
        
    }

      
      .perusnostot-3x .perusnosto {
          
          width: 100%;
          float: none;
          max-width: 100%;
          margin: 0 auto 55px;
        }
    
        .etusivujen-nosto .linkit .vasen, .etusivujen-nosto .linkit .oikea {
        width: 100%;
        margin: 0 auto !important;
        float: none !important;
        max-width: 100%;
        text-align: left;
    }

}

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


@media only screen and (max-width: 768px) {
    
    #soittovinkki,
    #yhteydenotto {
        margin-bottom: 10px;
    }
  
  .mahdottomasta-mahdollista {
      display: block;
      position: relative;
    text-align: center;
    height: 150px;
    }
  
      .mahdottomasta-mahdollista a {
      max-height: 250px; 
      position: relative;
      top: -120px; 
      left: auto;
    }

    .mahdottomasta-mahdollista img {
      max-height: 250px; 
      position: relative;
      top: 0px; 
      left: auto;
    }
    
    .pudotussisalto .sisalto {
        padding-bottom: 5px;
        width: 100%;
        padding-top: 20px;
        padding-left: 15px;
        padding-right: 0px;
    }
    
    table.neon2-lainaus td {
        width: 100% !important;
        display: block;
    }
    
    .lp-2017 h1, 
    .lp-2017 h2 {
        font-size: 28px !important;
    }
    
    .lp-2017 .logo img {
    float: none !important;
    }

    
    .lp-2017 .lp-painotetuotteet-blogi .kehys,
    .kehys-mid {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hubdb-henkilosto .henkilosto-nosto {
    
   
    max-width: 100%;
    position: relative;
    z-index: 0;
    width: 400px;
    margin: 0 auto 30px;
    float: none;
    }

    .bg-image-section {
          
          background: #040404 !important;
      }
  
  .mobile-center {
      
      text-align: center;
  }
  
  .g2017-paabanneri h1.h1, .g2017-paabanneri h1.h2, .g2017-paabanneri .paateksti h1, .g2017-paabanneri h2.h2, .g2017-paabanneri h2.h1 {
    font-size: 38px;
    line-height: 1.2em;
    }

    .rivi {
        padding-top: 45px;
        padding-bottom: 45px;
    }
        
        .toimipisteet-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
        float: left;
        width: 50%;
    }
        
    .mobile {
        
        display: block !important;
    }  
    
        .desktop {
        
        display: none !important;
    } 
    
    body div.widget-type-menu.sivu-menu {
        
        display: none; 
    }
    
    .mobile-center {
        
        text-align: center;
    }
    
    .mobile-center ul {
        
        margin-left: auto; 
        margin-right: auto;
        max-width: 100%;
        box-sizing: border-box;
        width: 400px;
        float: none;
    }
    
    .mobile-center ul li {
        
        text-align: left;   
    }
    
    .sivu-menu {
        
        background: #f2f2f2;
        padding: 30px;
        margin-bottom: 30px;
        margin-left: auto;
        margin-right: auto;
        width: 350px;
        max-width: 100%;
        float: none;
        text-align: center;
    }
    
    
    .g2017-paabanneri h1.h1 {
        
        letter-spacing: 4px;
        
    }
    
    .g2017 .post-listing .post-item .hs-featured-image-wrapper {
        
        height: auto;
        margin-bottom: 20px;
    }
    
    .g2017 .post-listing .post-item .hs-featured-image-wrapper img {
        max-width: 100%;
        min-height: 1px;
        height: auto;
        min-width: 1px;
        width: 100% !important;
        margin: 0 0 0 0;
        float: none;

    }
    
    .g2017 .post-listing .post-item {
        width:350px;
        max-width: 100%;
        
        margin: 0 auto 65px auto;
        float: none;
        border: none;
        padding: 0;
    }

    .g2017 .topic-listaus {
    
    margin: 0px 0px 10px 0;
    }

    .g2017 .post-listing .post-item .hs-featured-image-wrapper {
        
        margin-bottom: 15px;
    }

    .ei-valia-50p .span6 {
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    }
   
   
   .smart-banneri-kuva img {
  
    max-width: 370%;
    
   }
   

  
   .toimipisteet.listaus-linkit ul li {
    padding-bottom: 5px;
    float: left;
    width: 50%;
    }

  .toimipisteet.listaus-linkit ul li.hs-menu-depth-3 {
    padding-bottom: 5px;
    float: none;
    width: 100%;
    
    font-size: 13px;
    line-height: 1em;
    }

     .toimipisteet.listaus-linkit ul li.hs-menu-depth-3 a { 
         
         font-size: 13px;
        line-height: 1em;
        margin-left: 10px;
        display: block;
     }



    .toimipisteet.listaus-linkit ul li:nth-child(2n+3) {
        
        clear:both;
    }
    
    .toimipisteet.listaus-linkit ul a {
        font-size: 18px;
        line-height: 1.1em;
        font-weight: 400;
    }
       
       
         .yhteystiedot-3x .perusnosto {
       
        width: 100%;
        
    }
       
       .yhteystiedot-3x .kehys-levea {
           
           padding-left: 0;
           padding-right: 0;
       }
       
       .yhteystiedot-3x .otsikko h3 {
       
       
        font-size: 16px !important;
       
        line-height: 1.1em;
        padding: 22px 0;
      
    }
       
       .ingressi, .ingressi p {
        font-size: 18px;
        line-height: 30px;
        font-weight: 300;
    }
       
      
      .bg-image-section p, .bg-image-section p span {
          
        /*   color: inherit !important; */
      }
      
      .rekrylaatikot .laatikko {
        float: left;
        width: 100%;
        margin: 0 0 1.5% 0;
        background: #fc3;
        min-height: 200px;
        position: relative;
        height: auto;
        overflow: hidden;
    }
    
    .rekry .testimonials .pyorea img {
        
        margin-top: 50px;
    }
    
    
     html .yhteystiedot .kartta {
        
            min-height: 310px;
    }
    
    
    .rekrylaatikot .laatikko .laatikko_teksti {
        
        height: auto;
    }
      
      .rekry .hero-video h2, .rekry .rekry-tausta h2 {
        font-size: 30px;
        line-height: 1.2em;
        text-transform: none;
        margin: 4px 0 25px 0;
        color: #fff;
        font-weight: 300;
    }
      
      .tuotteet .oikea66 {
        
        max-width: 400px;
        margin: 0 auto;
    }
    
    .rekry .hero-video h1, .rekry .rekry-tausta h1 {
        font-size: 43px;
        line-height: 1.2em;
        text-transform: uppercase;
        margin: 42px 0 0 0;
        color: #fff;
    }
    
    .rekry .hero-video p, .rekry .rekry-tausta p {
        font-size: 19px;
        line-height: 1.4em;
        color: #fff;
    }
    
    .rekry .pyorea img, .rekry img.pyorea {
        border-radius: 50%;
        max-width: 200px;
        margin: 0 auto 20px;
        display: block;
    }
    
    .rekry .testimonials {
        
        text-align: center;
    }
      
      .bg-image-section .banneri a, .bg-image-section .banneri a span {
          
        /*   color: inherit !important; */
      }
      
      .tuotenosto .tuotteet .row-fluid-wrapper {
       
        width: 45%!important;
       
        display: block;
        float: left;
        min-height: 100px;
    }
    
    .g2017 .widget-type-rss_listing .hs-rss-item .hs-rss-item-image-wrapper,
    .g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item .hs-rss-item-image-wrapper {
     /*  position: static; 
        top: 0;
        left: 0;
        height: auto;
        max-height: 350px; 
       
        margin: 20px auto 0; */
        overflow: initial;
        position: static;
        margin-top: 20px;
        height: auto;
       /* background: url(https://www.grano.fi/hubfs/Identity/Layout/blog-bg-grano.jpg?t=1490697659528) no-repeat center top; */
        background-size: cover;
     
    }
    
    .g2017 .topic-case .hs-rss-title::before {
        
        margin-bottom: 13px;
    }
    
    .toimipisteet-menu.column .column {
        
        width: 50% !important;
         float: none !important;
        display: inline-block !important;
        margin-top: 0 !important;
    
    }
    
    .toimipisteet-menu.column .column li:first-child, .toimipisteet-menu.column .column li:first-child > a {
        
        margin-top: 0 !important;
    }
    
    .toimipisteet-menu.column ul .column li {
        padding-bottom: 0;
        float: none;
        width: 100%;
    }
    
    .etusivu.g2017 .hs_cos_wrapper_type_rss_listing h3 {
        
        display: none;
    }
    
        .g2017 .widget-type-rss_listing .hs-rss-item .hs-rss-item-image-wrapper img,
         .g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item .hs-rss-item-image-wrapper img {
    
      
      min-width: 100% !important;
      max-width: 100% !important;
      width: 100% !important;
       height: auto !important;
       min-height: 1px !important;
       max-width: initial !important;
        margin-left: 0;
    }
    
       .blogi-kaikki-3-saraketta .widget-type-rss_listing .hs-rss-item, .g2017 .widget-type-rss_listing .hs-rss-item, .g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item {
            
            min-height: 1px !important; 
        padding: 30px 0 0 0 !important; 
            margin: 0 auto 50px auto !important;
            max-width: 100% !important;
            width: 350px !important;
            float: none !important;
            padding-top: 0;
            height: auto;
            
        }
    
    
    .etusivu .rivi2 .widget-type-header h2, .etusivu .rivi4 .widget-type-header h2 {
        display: block;
        text-align: center;
        font-size: 22px;
        color: #333;
        margin-bottom: 18px;
        padding: 0 15px;
        background: #f9f9f9;
    }

    .bg-image-section h2 {
        color: #ffcd0f;
        font-size: 24px;
        line-height: 1.1em;
        font-weight: 700;
    }
    
    .landari h3, .perussivu h3  {
        margin-top: 25px;
        margin-bottom: 15px;
        font-size: 28px;
        line-height: 1.2em;
        color: #333;
        font-weight: 800;
    }
    
    h3 > span  {
        font-size: 19px !important;
    }
    
    .perussivu .paaotsikko h1 {
        color: #ffcd0f;
        font-size: 24px;
        font-weight: 400;
        text-transform: uppercase;
        margin: 0 0 40px 0;
    }
    
    .myyntisivu .bg-image-section h1 {
        color: #ffcd0f;
        font-size: 25px;
        line-height: 1.1em;
        margin-bottom: 15px;
        font-weight: 700;
    }
    
    .myyntisivu .banneri, .myyntisivu .banneri p {
        font-size: 18px;
        line-height: 1.3em;
    }
    
    .g2017.blog .about-author-sec2 .kuva img {
        
        width: 150px;
        max-width: 100%;
        text-align: center;
    }
    
    .g2017.blog .about-author-sec2 {
        margin-bottom: 35px;   
        text-align: center;
    }
    
    h1 {
       
        font-size: 22px;
       
        line-height: 1.2em;
       
    }
    
    body .bg-image-section h1 {
        color: inherit;
        font-size: 20px;
        line-height: 1.1em;
        font-weight: 700;
    }
        
        
        
    
    .section-header h1 {
        color: #ffcd0f;
        font-weight: 300;
        font-size: 22px;
        margin-bottom: 11px;
        line-height: 1.2em;
        text-transform: uppercase;
    }
        
        
    .tuotenosto .tuotteet .row-fluid-wrapper:nth-child(4), .tuotenosto .tuotteet .row-fluid-wrapper:nth-child(7), .tuotenosto .tuotteet .row-fluid-wrapper:nth-child(10) {
       clear:none;
    }
    
    .tuotenosto .tuotteet .row-fluid-wrapper:nth-child(3), .tuotenosto .tuotteet .row-fluid-wrapper:nth-child(5), .tuotenosto .tuotteet .row-fluid-wrapper:nth-child(7), .tuotenosto .tuotteet .row-fluid-wrapper:nth-child(9) {
       clear:both;
    }
    
    .etusivu .rivi1 h1, .taso2 .rivi4 h1, .tuote-bg h1 {
        color: #fff;
        font-size: 34px;
        line-height: 1em;
        font-weight: 900;
        margin-bottom: 40px;
    }
      
      .etusivu .rivi1 p, .taso2 .rivi4 p, .tuote-bg p {
        font-size: 16px;
        line-height: 1.3em;
    }
    
      .etusivu .rivi3 h2, .tuote-bg h2, .taso2 .rivi4 h2 {
        font-size: 39px;
        line-height: 1.1em;
        color: #fff;
        margin-bottom: 25px;
    }
    
    
    .etusivu .rivi3 .yli, .taso2 .rivi4 .yli {
        position: relative;
        margin-top: 0px;
    }
    
    body .keltainen {
        display: block !important;
    }
    
    .g2017-footer .widget-type-form {
        
        margin-top: 20px;
    }
    
    .lp-tuotewrap2-content,
    .lp-tuotewrap2-img {
        width: 100%;
        float: none;
    }
    
    .lp-tuotewrap2-img {
        text-align: center;
    }
    
    .tv-nosto {
        width: 100%;
        margin-left: 0%;
    }
    
    .tv-nosto .kuva {
        width
    }
    
    .cta-painotuotteet {
        display: block;
    }
    
    .cta-painotuotteet .tarjouspyynto, .cta-painotuotteet .verkkokauppa {
        display: block;
        width: 100%;
    }
    
    .cta-painotuotteet .verkkokauppa {
        margin-top: 40px;
    }
    
    body.painotuotteet .lp-tuotewrap {
    display: block;
    }
    
    body.painotuotteet .lp-tuotewrap2-content, 
    body.painotuotteet .lp-tuotewrap2-img {
        display: block;
        width: 100%;
    }
    
    body.painotuotteet .lp-tuotewrap2-content {
        padding-left: 0px;
      padding-right: 0px; 
    }
  
  .referenssi-galleria div {
      position: relative;
      width: 47%;
      margin-right: 3%;
      margin-bottom: 3%;
      height: 250px;
      overflow: hidden;
    }
  
    .nostot-symbolilla .item {
    width: 100%;
    padding: 0px 0px;
  }
  
  .g2017-paabanneri.matala-banneri {
    height: auto;
  }
  
  .g2017-paabanneri.matala-banneri .sisalto-wrapper, .g2017-paabanneri.korkeus-keskitetty .sisalto-wrapper {
    transform: none;
  }
  
      
    
  .perusnostot-3x .table,
  .hubdb-boxes .perusnostot-3x .table .kehys-levea {
    grid-template-columns: 1fr;
  }
  
  .video-grid > span {
    grid-template-columns: 1fr;
  }
  
  .blog .post-body p, 
  .blog .post-body div,
  .blog .post-body ol,
  .blog .post-body ul {
    font-size: 16px;
    line-height: 1.5em;
  }
  
  .blog .post-body h2 {
    font-size: 25px;
  }

  .blog .post-body h3 {
    font-size: 25px;
  }

 
}

@media only screen and (max-width: 760px) {
    .lp-tuotewrap {
    margin-bottom: 50px;
    }
    
    .lp-footer-form form {
    max-width: 100% !important;
    }
    
    .painotuotteet .lp-footer-form form {
    width: 100% !important;
    }
    
    body .hs_cos_gallery_lightbox_thumbnails .hs_cos_gallery_slide {
   
    height: 145px;
    }


    .neon-palvelut table td {
        width: 100% !important;
        display: block !important;
    }
    
    .body-container  .ingressi-table table td {
        width: 100% !important;
        display: block;
    }
    
    .body-container  .ingressi-table-right table td img {
        float: left !important;
    }
    
    .body-container  .ingressi-table-right table tr {
        display: flex;
        flex-flow: column;
    }
    
        .body-container  .ingressi-table-right table td:last-child {
        order: 1;
    }
    
            .body-container  .ingressi-table-right table td:first-child {
        order: 2;
    }
    
    .body-container  .ingressi-table-right table td {
        width: 100% !important;
    }
    
    .g2017 .widget-type-rss_listing .hs-rss-item .hs-rss-item-image-wrapper img, .g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item .hs-rss-item-image-wrapper img {
        margin-left: 0%;
    }
  
  .yksinkertainen-refenosto a {
    margin-bottom: 50px; 
  }
  
  .nostot-symbolilla.three-items .item {
    width: 45%; 
  }


}


@media only screen and (max-width: 600px) {
    
    
    .blog.blog-v2 .blog-section.single-post .post-header h1 {
        font-size: 35px !important;
        line-height: 1em !important;
        
    }
    
    .g2017.blog .blog-header h1 {
        
        font-size: 24px;
        
        line-height: 1.3em;
    }
  
  .rivi-matala {
    
    padding-top: 40px;
    padding-bottom: 40px;
}
    
    .g2017 .logo img {
        
        width: 85px !important;
        transition: 0.3s all;
    }
    
    .g2017 .widget-type-rss_listing .hs-rss-item .hs-rss-item-image-wrapper img,
    .g2017 .hs_cos_wrapper_type_rss_listing .hs-rss-item .hs-rss-item-image-wrapper img {
          /*  width: 110% !important;
            max-width: 110%;
            height: auto !important;
        position: relative;
        left: -5%;
        top: 0; */
    }
    
    .g2017 .widget-type-rss_listing .hs-rss-item, .g2017 .widget-type-rss_listing .hs-rss-item,
    .g2017 .widget-type-rss_listing .hs-rss-item .hs-rss-item-image-wrapper {
        
     /*    overflow: initial;
        max-height: 999px; */
    }
    
        .kehys {
         
      
            padding-left: 5%;
        padding-right: 5%;
         
     }
     
     .kehys-kapea {
         
      
             padding-left: 5%;
        padding-right: 5%;
        
     }
    
     
      .kehys-levea {
         
        
             padding-left: 5%;
        padding-right: 5%;
         
     }
     
     .kehys-levea.kehys-mobiili {
      
         padding-left: 0;
         padding-right: 0;
         
        
     }
     
      .kehys-levea.kehys-mobiili .blogi-lista, .kehys-levea.kehys-mobiili .hs-rss-item-text {
     
        padding-left: 5% !important;
        padding-right: 5% !important;
      } 
     
    .g2017-paabanneri .rivi {
        padding-top: 20px;
        padding-bottom: 20px;
        transition: 0.5s all;
    }
    
    .g2017-paabanneri, .g2017-paabanneri * {
        font-size: 16px;
        line-height: 1.3em;
        font-weight: 600;
    }
    
    .g2017-paabanneri.korkeus-keskitetty,
    .etusivu.g2020 .g2017-paabanneri.korkea-banneri
    {
        height: auto;
        transition: 0.5s all;
        padding-top: 60px;
        padding-bottom: 60px;
    }
  
      .g2017-paabanneri.korkeus-keskitetty.mobiili-korkea,
      .g2017-paabanneri.video-banner.korkea-banneri {
        height: 300px;
    }
        
    
    .banneri .hs_cos_flex-slider .superimpose .caption {
      position: static;
    
    }
    
    .rivi1, .rivi2, .rivi3, .rivi4, .rivi5, .rivi6, .rivi7 {
        padding: 30px 0;
    }
    
    .ota-yhteys-form .close-rfp-form a {
      
        left: 187px;
    }
    
    
    
    .hs-blog-header h2, .hs-blog-header h2 a {
        color: #ffcf0c;
        font-weight: 300;
        font-size: 21px;
        text-transform: uppercase;
        margin-bottom: 45px;
        margin-top: 28px;
    }
    
    .landari h2, .perussivu h2 {
        margin-top: 20px;
        margin-bottom: 15px;
        font-size: 25px !important;
        line-height: 1.2em;
        color: #333;
        font-weight: 800;
    }
    
    
    
    .banneri .hs_cos_flex-slider .hs_cos_flex-slides img {
     
        display: none !important;
        
    }
    
    
    .etusivu .rivi2, .etusivu .rivi4 {
        padding: 30px 0 25px;
        background: #f9f9f9;
    }



}


@media only screen and (max-width: 568px) {
    
  .perusnostot-3x .perusnosto {
      
      width: 350px;
      margin: 0 auto 35px auto;
      max-width: 100%;
      float: none;
    }
  
   body.palvelusivut .g2017-paabanneri h1,
body.palvelusivut .g2017-paabanneri h2 {
  font-size: 35px;
  line-height: 1.1em;
  
}
    
    
     body .hs_cos_gallery_lightbox_thumbnails .hs_cos_gallery_slide {
   
   
        width: 50% !important;
    }
        
        .g2017-paabanneri h1.h1, .g2017-paabanneri h1.h2, .g2017-paabanneri .paateksti h1, .g2017-paabanneri h2.h1, .g2017-paabanneri h2.h2 {
        font-size: 32px !important;
        line-height: 1em !important;
    }
        
        .etusivu .hs_cos_wrapper_type_simple_menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
            
            margin: 5px 0 !important;
            
        }
        
        .g2017-paabanneri.korkeus-keskitetty .sisalto-wrapper {
        position: relative;
       top: 0;
        transform: initial;
    }
        
        .etusivu .hs_cos_wrapper_type_simple_menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li:first-child a::after {
            
            content: none !important;
        }
        
        .ingressi, .ingressi p {
        font-size: 16px;
        line-height: 28px;
        font-weight: 300;
    }
    
    .g2017 .body-container .cta_button {
        
        min-width: 1px !important;
       
    }
    
    
    .g2017-nosto .wrapper {
        position: relative;
        top: 0 !important;
      
        text-align: center;
        transform: initial !important;
        padding: 80px 0;
    }
    
    .g2017-nosto {
        height: auto !important;
        
    }
  
    .referenssi-galleria div {
      position: relative;
      width: 100%;
      margin-right: 0%;
      margin-bottom: 3%;
      height: 250px;
      overflow: hidden;
    }
  
   .palvelulinkit-mobile {
    display: block;
    position: relative;
  }
  
  .palvelulinkit-mobile:after {
		content: '⌄';
    width: auto;
    height: auto;
    display: inline-block;
    font-size: 25px;
    position: absolute;
    right: 15px;
    top: -6px;
  }
  
  
  
  .palvelulinkit .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    margin-top: 0px;
    display: none;
  }
  
  .palvelulinkit .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
    border-radius: 0px !important;
  }
  
  .listaus .two-columns ul,
  .listaus .three-columns ul {
      width: 100%;
      display: block;
			margin-right: 0%;
  }
  
    
  .yritysjuhlat .g2017-paabanneri.korkeus-keskitetty.mobiili-korkea, 
  .yritysjuhlat .g2017-paabanneri.video-banner.korkea-banneri {
    min-height: 300px;
    height: auto;
  }
  
  .video-banner .hero-cta {
    margin: 0 auto !important;
  }
  
  .yritysjuhlat .g2017-paabanneri h1.h2 {
    font-size: 34px !important;
  }
  
  .big-title-text h1,
  .big-title-text h2 {
    font-size: 30px !important;
  }
  
    
  .yritysjuhlat .g2017-paabanneri h1.h2 {
    font-size: 34px !important;
  }
  
  .yritysjuhlat .g2017-header {
    padding-top: 20px;
    padding-bottom: 20px;
  }
 
}

@media only screen and (min-width: 501px) {
    .g2017 .blogi-lista.piilota-500 {
        display: block !important;   
    }   
}

@media only screen and (max-width: 500px) {
    
    .rekry .hero-video h1, .rekry .rekry-tausta h1 {
    font-size: 31px;
    line-height: 1.2em;
    text-transform: uppercase;
    margin: 42px 0 0 0;
    color: #fff;
    }
    
  .blogi-lista {
    
   margin-bottom: 20px !important; 
  }
    
    .header-puhelin {
        
        text-align: center;   
    }
    
    .row, .row-top {
    
    padding-top: 10%;
   
    }
    
    .row-low, .row-top-low {
        
        padding-top: 6%;
       
    }
    
    .row-high, .row-top-high {
        
        padding-top: 17%;
        
    }
    
    .row-very-high, .row-top-very-high {
        
        padding-top: 25%;
       
    }
    
    .row, .row-bottom {
        
       
        padding-bottom: 10%;
    }
    
    .row-low, .row-bottom-low{
        
       
        padding-bottom: 6%;
    }
    
    .row-high, .row-bottom-high {
        
       
        padding-bottom: 17%;
    }
    
    .row-very-high, .row-bottom-very-high {
        
       
        padding-bottom: 25%;
    }
    
    
    .g2017 .widget-type-rss_listing .hs-rss-item .hs-rss-item-image-wrapper {
     /*   
        height: auto;
        overflow: initial;
        */
    }
    
    .toimipisteet-menu .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
        float: none;
        width: 100%;
    }
    
      
    
    
    .g2017 form.hs-form .form-columns-2 .hs-form-field .hs-input, .g2017  form.hs-form .form-columns-3 .hs-form-field .hs-input {
        width: 100%;
    }
    
    .g2017 .nayta-aiheet-mobiili {
        
        display: block;
        width: 300px;
        max-width: 100%;
        text-align: center;
        margin: 0 auto 15px auto;
        float: none;
        box-sizing: border-box;
    }
    
    
    
    .g2017 .blogi-lista li, .g2017 .blogi-lista ul, .g2017 .blogi-lista ul a {
        
        display: block;
        width: 99%;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .g2017 h2, .g2017 .h2, .g2017 h1, .g2017 .h1 { 
        
        margin-bottom: 20px;   
    }
    .smart-banneri-teksti {
        
        padding: 30px 0 !important;
    }
    
     .logo-rivit .logo-rivi, .logo-rivit .logo6 .logo-rivi {
          
          max-width: 33.33%;
        height: auto;
        padding-right: 10%;
      }
      
      
       .logo-rivit .logo-rivi:nth-child(4), .logo-rivit .logo-rivi:nth-child(7) {
           
           clear:both;
           content: "";
           
           
       }
       
        .logo-rivit .logo-rivi:nth-child(5) {
           
           clear:initial;
           content: "";
           
           
       }
      
      .lang-nav.lahella {
        position: absolute;
        right: 0px;
        z-index: 40;
        top: -50px;
        width: 95px;
        
    }
    
    .mobile-menu {
        
        margin-top: 50px;
    }
    
    .lang-nav a {
        color: #505050;
        padding: 10px 5px;
    }
    
    
    
      .logo-rivit img {
          
         padding: 0px 5% 0px 0;
      }
      
     
    
    
    body .isoteksti p {
        font-size: 16px;
        line-height: 1.4em;
    }
    
    .rekry .hero-video h2, .rekry .rekry-tausta h2 {
        font-size: 31px;
        line-height: 1.2em;
        text-transform: none;
        margin: 4px 0 25px 0;
        color: #fff;
        font-weight: 300;
    }
    
    .rekry .takaisin-linkki a {
        padding-left: 0.5em;
        padding-right: 0.5em; 
        
    }
    
    .rekry .hero-video p, .rekry .rekry-tausta p {
        font-size: 18px;
        line-height: 1.4em;
        color: #fff;
    }
    
    .tuotenosto .tuotteet .row-fluid-wrapper {
        margin: 0 0% 20px 1% !important;
        width: 49% !important;
        padding: 0 !important;
        display: block;
        float: left;
        min-height: 100px;
    }
    
    
    .blog .post-header h1, .blog .post-header h1 a, .blog .blog-section .post-header h1 {
        color: #333 !important;
        font-weight: 700 !important;
        font-size: 20px !important;
        line-height: 1.3em !important;
    }
    
    .landari h1, .perussivu h1 {
        margin-top: 0;
        margin-bottom: 35px;
        font-size: 24px;
        line-height: 1.1em;
        color: #333;
        letter-spacing: -1px;
        font-weight: 800;
    }
    
    
    
    .tuotenosto .tuotteet h1, .tuotenosto .tuotteet h2, .tuotenosto .tuotteet h3, .tuotenosto .tuotteet h4 {
        font-size: 12px !important;
        text-transform: uppercase;
        margin: 20px 0 5px 0;
        line-height: 1.3em;
        color: #333;
        font-weight: 900;
    }
    
    
    .taso2 .tuotteet, body .tuotenosto .tuotteet p {
        color: #353433;
        font-size: 11px;
        line-height: 1.5em;
    }
  
    .nostot-symbolilla.three-items .item {
    width: 100%; 
  }


}


@media only screen and (max-width: 400px) {
    
    
    .etusivu .rivi1 h1, .taso2 .rivi4 h1, .tuote-bg h1 {
        color: #fff;
        font-size: 22px;
        line-height: 1em;
        font-weight: 900;
        margin-bottom: 40px;
    }


	.cta-rivi .painike-vihrea,
.cta-rivi .painike-musta {
    width: 100%; 
    text-align: center; 
    display: inline-block; 
    margin: 10px 0 !important;
}

    .g2017 .post-listing .post-item .hs-featured-image-wrapper {
        height: auto;
        width: 100%;
        overflow: hidden;
        background: none;
        background-size: cover;
       
        margin-bottom: 20px;
    }
    
    
    .g2017.blog .blog-header h1 {
        
        font-size: 21px;
        
        line-height: 1.3em;
    }
    
    .g2017 .post-listing .post-item .hs-featured-image-wrapper img {
        max-width: 9999px;
        min-height: 1%;
        height: auto !important;
        min-width: 100%;
        width: 100%!important;
    }
    
    .g2017-paabanneri h1.h1, .g2017-paabanneri h1.h2, .g2017-paabanneri .paateksti h1, .g2017-paabanneri h2.h1, .g2017-paabanneri h2.h2 {
        font-size: 27px !important;
        line-height: 1em !important;
    }
    
    
    
    .ota-yhteys-form .close-rfp-form a {
        left: 128px;
    }
    
    .blog.blog-v2 .blog-section.single-post .post-header h1 {
        font-size: 25px !important;
        line-height: 1.2em !important;
        
    }

    .g2017-paabanneri.korkeus-keskitetty {
       
        transition: 0.5s all;
    }
    
    
    .blog .blog-section.single-post  .post-header h1, .blog .blog-selection.single-post  .post-header h1 *, .blog .blog-selection.single-post  .post-header h1 #hs_cos_wrapper_name {
        font-size: 20px !important;
        line-height: 1.1em !important;
        margin-top: 0 !important;
        margin-bottom: 26px !important;
        font-weight: 700 !important;
    }
    
    
    .etusivu .rivi3 h2, .tuote-bg h2, .taso2 .rivi4 h2 {
        font-size: 24px;
        line-height: 1.1em;
        color: #fff;
        margin-bottom: 25px;
    }
    
    
    .etusivu .rivi3 p, .etusivu .rivi3 {
        font-size: 16px;
        line-height: 1.3em;
    }
    
    
    
    .btn-primary, .painike, .painike-keltainen, .etusivu .rivi1 a, .painikkeet a {
      
        display: block;
      text-align: center;
        margin-bottom: 0px;
    }
    
    .bg-image-section h1 {
        color: #ffcd0f;
        font-size: 23px;
        line-height: 1.1em;
        font-weight: 700;
    }
    
    #hs_cos_wrapper_post_filter a {
        
        font-size: 11px;
        line-height: 1.3em;
    }
    
    
    .banneri, .banneri p {
        font-size: 16px;
        line-height: 1.5em;
    }
    
    .etusivu .rivi3 h2, .tuote-bg h2, .taso2 .rivi4 h2 {
        font-size: 23px;
        line-height: 1.1em;
        color: #fff;
        margin-bottom: 25px;
    }
    
    .g2017 .body-container .cta_button {
        
        min-width: 1px !important;
        display: inline-block ;
        width: 100%;
    }

    h1, h2 {
        font-size: 19px !important;
        line-height: 1.3em !important;
        margin: .5em 0 1em;
    }
    
    
    .form-title {
        font-size: 23px;
        margin-bottom: 25px;
        margin-top: 10px;
        color: #333;
    }
  
    .paabanneri-kampanja img {
    max-height: 300px;
  }
  
    
      .paabanneri-kampanja .text-content h1 {
    font-size: 40px !important;
  }
  
  		.paabanneri-kampanja.sahkoinen-joulukortti .text-content h1 {
      text-shadow: none !important;
      font-size: 30px !important;
			color: #000;
      padding-top: 10%;
     }
  
  .paabanneri-kampanja.sahkoinen-joulukortti .text-content p.subheader {
      margin-bottom: 0px;
    }
    
}
    
    
    
    @media only screen and (max-width: 318px) {
    
     .tuotenosto .tuotteet .row-fluid-wrapper {
        margin: 0 auto 35px auto !important;
        width: 90%!important;
        padding: 0!important;
        display: block;
        float: none;
        min-height: 100px;
    }
    
    
    .g2017-paabanneri h1.h1, .g2017-paabanneri h1.h2, .g2017-paabanneri .paateksti h1, .g2017-paabanneri h2.h1, .g2017-paabanneri h2.h2 {
        font-size: 27px !important;
        line-height: 1em !important;
    }
    
     .logo-rivit .logo-rivi, .logo-rivit .logo6 .logo-rivi {
          
          max-width: 33.33%;
        height: auto;
        padding-right: 5%;
      }

  

}