/* @import url('http://example.com/example_style.css'); */

@import url(https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400italic,700);
/* WHEN LIVE */
/* <link href="https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700" rel="stylesheet"> */

@font-face {
  font-family: 'Interstate-Bold';
  src: url('https://1865325.fs1.hubspotusercontent-na1.net/hubfs/1865325/sunhouse2016/assets/fonts/interstate-bold_eot.eot') format('eot'), 
    url('https://1865325.fs1.hubspotusercontent-na1.net/hubfs/1865325/sunhouse2016/assets/fonts/interstate-bold_woff.woff') format('woff'), 
    url('https://1865325.fs1.hubspotusercontent-na1.net/hubfs/1865325/sunhouse2016/assets/fonts/interstate-bold_ttf.ttf') format('truetype');
}

@font-face {
  font-family: 'Interstate-Regular';
  src: url('https://1865325.fs1.hubspotusercontent-na1.net/hubfs/1865325/sunhouse2016/assets/fonts/interstate-regular-eot.eot') format('eot'), 
    url('https://1865325.fs1.hubspotusercontent-na1.net/hubfs/1865325/sunhouse2016/assets/fonts/interstate-regular-woff.woff') format('woff'), 
    url('https://1865325.fs1.hubspotusercontent-na1.net/hubfs/1865325/sunhouse2016/assets/fonts/interstate-regular-ttf.ttf') formsimpleSubTextWrapperat('truetype');
}


/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

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

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


/*****************************************/
/* Start your style declarations here    */
/*****************************************/



html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height:1.2em;
  font-family: 'Libre Baskerville', serif;
  font-size: 12px;
}

img {
  height: auto;
}

p {
  font-size: 1em;
  font-weight: 300;
}

p, i {
  font-family: 'Libre Baskerville', serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Interstate-Bold', arial, helvetica;
  letter-spacing: .1em;
  line-height: 1;
  font-weight: normal;
}

a {
  text-decoration: none;
  color:#000;
}

.centeredHeading h1,
.centeredHeading h2,
.centeredHeading h3,
.centeredHeading h4,
.centeredHeading h5,
.centeredHeading h6 {
  text-align: center;
  text-transform: uppercase;
  margin-top: 2em;
}

.leftHeading h1,
.leftHeading h2,
.leftHeading h3,
.leftHeading h4,
.leftHeading h5,
.leftHeading h6 {
  text-align: left;
  text-transform: uppercase;
  margin-top: 2em;
}

hr.styleDashed {
  border: 0;
  border-bottom: 1px dashed #ccc;
  background: #999;
  margin-bottom: 3em;
}


/* Slider */
.hero-slider__container {
  margin-bottom: 4em;
}

.hero-slider {
  width: calc(100% - 1.5px);
}

.hero-slide {
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  min-height: 75vh;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.hero-slide__content {
  padding: 1em;
  width: 100%;
}

.slick-dots {
  position: absolute;
  width: 100%;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 1rem 0;
  list-style-type: none;
}

.slick-dots li {
  margin: 0 0.25rem;
}

.slick-dots button {
  display: block;
  position: relative;
  width: 14px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: gray;
  text-indent: -9999px;
  -webkit-transition: background-color .2s ease;
  -o-transition: background-color .2s ease;
  transition: background-color .2s ease;
  outline: none;
}

.slick-dots button:before {
  content: '';
  display: block;
  position: absolute;
  top: -9.7px;
  left: 0;
  width: 0;
  height: 0;
  transition: all .2s ease;
  border-style: solid;
  border-width: 0 7.2px 10px 7.2px;
  border-color: transparent transparent gray transparent;
}

.slick-dots li.slick-active button {
  background-color: black;
}

.slick-dots li.slick-active button:before {
  border-color: transparent transparent black transparent;
}

/* CONTAINERS */

.header-container-wrapper {

}

.body-container-wrapper,
.footer-container-wrapper {
  max-width:80%;
  float:none !important;
  margin:0 auto !important;
}

.subPage .body-container-wrapper {
  max-width: 100%;
}

.subPage .contentWrap {
  max-width:80%;
  float:none !important;
  margin:0 auto !important;
}

.body-container-wrapper {
  padding-top: 3.2em;
  padding-bottom: 3em;
}

.header-container-wrapper {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid transparent;
  z-index: 999999;
  transition: border-bottom 0.3s;
}

.header-container-wrapper.sticky {
  border-bottom: 1px solid #b1b1b1;
}

.header-container {
  position: relative;
  max-width: 80%;
  margin: 0 auto !important;
  float: none !important;
}

/* VIDEO ELEMENT */

#videoWrap {
  margin-bottom: 5em;
}


/* LOADER */

/*#loader {
position: absolute;
left: 50%;
top: 50%;
z-index: 1;
width: 250px;
height: 250px;
margin: -75px 0 0 -75px;
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #3498db;
width: 220px;
height: 220px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}*/

#loader {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 250px;
  height: 250px;
  margin: -250px 0 0 -250px;
  /* border: 16px solid #f3f3f3; */
  border-radius: 50%;
  /* border-top: 16px solid #3498db; */
  width: 500px;
  height: 500px;
  -webkit-animation: spin 15s linear infinite;
  animation: spin 15s linear infinite;
  z-index: 9999999;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.frontContent.animatedFront {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 2s;
  animation-name: animatebottom;
  animation-duration: 2s;
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  opacity: 0;
}

@-webkit-keyframes animatebottom {
  from { opacity:0 }
  to { opacity:1 }
}

@keyframes animatebottom {
  from{ opacity: 0; }
  to{ opacity: 1; }
}


/* HEADER */

.headerWrap {
  position: relative;
  margin-top: 0px;
  width: 100%;
}

.headerLogo {
  position: absolute;
  left: -3em;
  top: 2em;
  width: 56px;
  z-index: -999;
}

.bigLogo {
  display: block;
  padding: 1em;
}

.bigLogo {
  display: block;
  padding: 1em;
  transform: rotate(-90deg);
  max-width: 15em;
  position: relative;
  top: 5em;
  left: -60px;
}

.smallLogo {
  display: none;
}


.nav-container {

}

.head-nav {
  text-align: left;
  margin: 0px;
  padding: 0px;
  padding-top: .4em;
}

.head-nav ul {

}
.head-nav li {

}

.head-nav a {
  color: #9a9a9a;
  text-transform: uppercase;
  font-size: 1em;
  transition: color 0.3s;
  font-family: 'Interstate-Regular', arial, helvetica;
  letter-spacing: .1em;
  height: 34px;
  box-sizing: border-box;
}

.head-nav a:hover {
  color: #000;
}

.head-nav .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {
  overflow: hidden;
  text-overflow: inherit;
}


@media screen and (min-width:768px){
  .head-nav .contactUsLink {
    color: #9a9a9a;
    border: 1px solid #888;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 9px 20px 10px;
    background: #fff;
    transition: all 0.3s ease;
  }

  .head-nav .contactUsLink:hover {
    background: #4a7e67;
    border-color: #4a7e67;
    color: #fff;
  }

}


.nav-haku {

  margin-left: 0px !important;
}

.head-nav .nav-haku {
  display: none;
}

.langlinks {
  margin: 0px;
  padding: 0px;
}



.langLinks a:link {
  font-family: 'Interstate-Regular', arial, helvetica;
  text-decoration: none;
  color: #9a9a9a;
  font-size: 12px;
  transition: color 0.3s;
  display: inline-block;
  width: auto;
  letter-spacing: .1em;
}
.langLinks a:visited {
  color: #9a9a9a;
}

.langLinks a:hover {
  color:#000;
}

/*ul.langLinks {
list-style:none;
padding-left: 0;
}*/

ul.langLinks {
  list-style: none;
  padding-left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 0;
}

ul.langLinks li {
  display: inline;
  margin-right: 1em;
}

ul.langLinks li {
  max-width: 5%;
}

ul.langLinks li:last-child {
  max-width: 70%;
  margin-right: 0;
}

.langLinks a.activeLang {
  color: #000;
}

.headerIcon {

}

/* SEARCH */

#___gcse_1 {

}

#___gcse_1 .cse .gsc-control-cse, 
#___gcse_1 .gsc-control-cse {
  padding: 0 1em;
  width: auto;

}


#___gcse_1 input.gsc-search-button, 
#___gcse_1 input.gsc-search-button:hover, 
#___gcse_1 input.gsc-search-button:focus {
  border-color: #FFF;
  background-color: #FFF;
  background-image: none;
  filter: none;
  padding: 1em 0 0;
  outline: 0;
}

#___gcse_1 .gsc-input-box {
  border: 0px;
  border-bottom: 1px solid #D9D9D9;
  background: #fff;
  height: 25px;
  box-shadow: none !important;
}

#___gcse_1 .gsc-search-box-tools .gsc-search-box .gsc-input {
  padding-right: 5px;
}

#gs_tti51 {
  padding: .7em 0;
}

#___gcse_1 .gsc-search-box-tools .gsc-search-box .gsc-input {
  z-index: 2;
  margin-right: 5em;
  position: relative;
}

#___gcse_1 table.gsc-search-box td {
  vertical-align: middle;
  z-index: 1;
  position: relative;
}

#gsc-i-id2 {
  font-size: .9em;
  line-height: 1em;
  margin-right: 5em !important;
}


/* DIRECTIONAL NAV */

.arrowContainer {
  position: relative;
}

@media screen and (max-width:640px) {
  .arrowContainer { 
    display:none !important;
  }
} 

#backbutton {
  display: block;
  position: fixed;
  bottom: 45%;
  left: 10%;
  z-index: 3;
}

#backbutton a i {
  font-size: 2em;
  background: #eaeaea;
  border-radius: 100%;
  text-align: center;
  line-height: 2em;
  width: 2em;
  height: 2em;
  opacity: 0.4;
  transition: opacity .3s ease;
}

#backbutton a i:after {
  content: 'takaisin';
  font-size: 0.5em;
  position: absolute;
  bottom: -2.3rem;
  left: -.2rem;
  font-family: 'Interstate-Bold',arial,helvetica;
  text-transform: uppercase;
}

#backbutton a i:hover {
  opacity: 1;
}

#nextbutton {
  display: block;
  position: fixed;
  bottom: 45%;
  right: 10%;
  z-index: 3;
} 

#nextbutton a i {
  font-size: 2em;
  background: #eaeaea;
  border-radius: 100%;
  text-align: center;
  line-height: 2em;
  width: 2em;
  height: 2em;
  opacity: 0.4;
  transition: opacity .3s ease;
}

#nextbutton a i:after {
  content: 'seuraava';
  font-size: 0.5em;
  position: absolute;
  bottom: -2.3rem;
  left: -.3rem;
  font-family: 'Interstate-Bold',arial,helvetica;
  text-transform: uppercase;
}

#nextbutton a i:hover {
  opacity: 1;
}


#nextbutton,
#backbutton {
  /*transition: bottom .1s ease;*/
}

.footer-container-wrapper {
  position: relative;
  z-index: 2;
  background: #fff;
}


/* =======================================================================
HOMEPAGE - ETUSIVU
====================================================================== */

.fullContainer {


}


/* SLIDER */

.houseSlider {
  visibility: hidden;
}

.houseSlider .bx-viewport {

}


.frontSlider {
  margin-bottom: 3em;
  position: relative;
  overflow: hidden;
}


#bx-pager {
  position: relative;
  padding: 0;
  margin: 0;
  list-style-type: none;
  background-color: #036;
  color: #FFF;
  width: 100%;
  font: normal 90% arial, helvetica, sans-serif;
  text-align: center;
  width:100%;
}
#bx-pager ul {
  list-style: none;
  margin:0;
  padding:0;
  float: left;
  width: 100%;
}
#bx-pager li {
  display:inline-block;
  margin:0;
  padding:0;
  background: #5E7074;
  width: 24%;
}
#bx-pager li a {
  text-decoration: none;
  background-color: #5E7074;
  padding: 0;
  margin: 0;
  color: #FFF;
  line-height:60px;
  display: block;
}
#bx-pager li a.active, #bx-pager li a:hover {
  background-color: #4C5B60;
  font-weight: bold;
}
#bx-pager li a.active:after {
  content:' (Active)';
}

.bx-pager.bx-default-pager a {
  position: relative;
}

.bx-pager.bx-default-pager a:after, .bx-pager.bx-default-pager a:before {
  bottom: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.bx-pager.bx-default-pager a:after {
  border-color: rgba(0, 0, 0, 0);
  border-bottom-color: #;
  border-width: 7.5px;
  margin-left: -7.5px;
}

.bx-pager.bx-default-pager a:before {
  border-color: rgba(194, 225, 245, 0);
  border-bottom-color: #fee9d8;
  border-width: 5px;
  margin-left: -5px;
}

.bx-pager.bx-default-pager a.active:before,
.bx-pager.bx-default-pager a:hover:before {
  border-bottom-color: #5a5a5a;
}


.frontSlider div.bx-viewport > ul {
  /*margin: 0 auto;*/
}

#slider-prev, #slider-next {
  position: absolute;
  top: 1em;
  bottom: 0;
  /*background: url('http://www.hot-sausage.com/hd-pictures/image/abstract/texture_stone.jpg')no-repeat center center;*/
  background-size: cover !important;
  width: 5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#slider-prev a .fa,
#slider-next a .fa {
  color: #fff;
  font-size: 6em;
}

#slider-prev {
  left: 0em;
}

#slider-next {
  right: .7em;
}

.bx-next,
.bx-prev {
  height: 5em;
  display: block;
}

#slider-prev,
#slider-next {
  opacity: 0;
  transition: opacity .4s ease-in-out;
  -moz-transition: opacity .4s ease-in-out;
  -webkit-transition: opacity .4s ease-in-out;
}

.frontSlider:hover #slider-prev,
.frontSlider:hover #slider-next  {
  opacity: 1;
}


/* HOME - HOVER ELEMENT */

.home-hover-elementti {
  margin-bottom: 3em;
}

.singleLiftedContent {
  position: relative;
}

.singleLiftedContent a {
  text-decoration: none;
}

.singleLiftedFirst {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.singleLiftedFirstImg,
.singleLiftedFirstText {
  width:50%;
}

.singleLiftedFirstImg p {
  text-align:center;
}

.singleLiftedFirst img {

}

.singleLiftedFirst h2 {
  font-size: 3.5em;

  text-transform: uppercase;
  padding-left: 0em;
}

.singleLiftedSecond {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fee9d8;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .5s;
}

.singleLiftedSecondText {
  max-width: 75%;
  margin: 0 auto;
}

.singleLiftedSecondHeading {
  line-height: 1em;
  font-size: 2.2em;
  text-align:center;
  text-transform: uppercase;
}

.singleLiftedSecond p {
  text-align:center;
  line-height: 1.5em;
}

.singleLiftedContent:hover .singleLiftedSecond {
  opacity: 1;
}

/* HOME - NOSTOT */

.home-nostot {
  width: 100%;
  padding-top: 2em;
  padding-bottom: 2em;
  margin: 1em 0 1em 0;
}

.liftedColorContainer {
  width: 100%;
  height: 100%;
}


.liftedContent {
  position: relative;
  margin-bottom: 5em;
}

.liftedContent a {
  text-decoration: none;
}

.liftedContentImg {
  position: relative;
}

.liftedContentImg img {
  width: 100%;
}

.liftedContentImg img.liftedBwImg {

}

.liftedContentImg .liftedColorContainer {
  position: absolute;
  opacity: 0;
  top: 0;
  transition: opacity .3s;
}

.liftedColorText {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.liftedColorContainer p {
  font-family: 'Interstate-Bold', arial;
  font-size: 1.5em;
  text-transform: uppercase;
  font-weight: 600;
  display: none;
}

.liftedColorContainer .fa {
  font-size: 1.3em;
  top: 0;
  position: relative;
  left: .1em;
}

.liftedContentText h3.liftedContentHeading {
  text-align: center;
  color: #000;
  text-transform: uppercase;
  font-size: 1.2em;
}

.liftedContent:hover .liftedColorContainer {
  opacity: 1;
}

.hover-element__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.hover-element {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 31.7%;
  flex: 0 0 31.7%;
  margin: 0 0 4em;
}


.liftedContentImg {
  position: relative;
}

.lifted-img-overlay {
  position: absolute;
  opacity: 0;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  -webkit-transition: opacity .4s ease;
  -o-transition: opacity .4s ease;
  transition: opacity .4s ease;
}

.hover-element:hover .lifted-img-overlay {
  opacity: .3;
}


/* HOME - PROSESSI-OSIO / FULLCONTAINER */

.home-prosessi-fullcontainer {
  margin: 0;
  padding: 1.1em 0 2.2em 0;
}

.home-prosessi-kuvaus {

}

.home-prosessi-kuvaus h2 {
  text-align:center;
  text-transform: uppercase;
  font-size: 2.2em;
  margin-bottom: 2em;
}

.singleProcess h3 {
  text-transform: uppercase;
  text-align:center;
  font-size: 1.5em;
}

.singleProcess p {
  color: #565656;
  text-align: center;
  line-height: 1.6em;
  font-size: 1.1em;
  max-width: 85%;
  margin: 0 auto;
}

.processImg {
  position: relative;
  max-width: 80%;
  margin: 0 auto !important;
  float: none !important;
  height: 8em;
}

.processImg img {

}

.singleProcess .firstProcessImg {
  position: absolute;
}

.singleProcess p {
  font-family: 'Interstate-Regular', Arial;
}

.singleProcess .secondProcessImg {
  position: absolute;
  top: 0;
  opacity:0;
  transition: opacity .4s;
}

.singleProcess:hover .secondProcessImg {
  opacity: 1;
}

.home-prosessi-elementti h2 {
  color: #000;
  font-size: 1.3em;
  padding: 0.4em 0 0 0;
  margin: 0px;
  text-transform: uppercase;
}
.home-prosessi-elementti p {
  color: #9a9a9a;
  font-size: 1em;
}
.home-prosessi-elementti-1 {

}

.home-prosessi-elementti-2 {

}

.home-prosessi-elementti-3 {

}

.home-prosessi-elementti-4 {

}

/* ===================================================================
YHTEISET
================================================================== */

body .hs-menu-wrapper.hs-menu-flow-vertical li a {
  display: block;
  white-space: normal !important;
  width: auto;
  overflow: hidden;
  text-overflow: clip !important;
}

.subHeroImage {
  min-height: 350px;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
}

.subHeroTextWrapper {
  margin: 3em 0 5em 0;
}

.blogMainHero {
  margin-bottom: 1em;
}

.subHeroText {
  max-width: 60%;
  margin: 0 auto !important;
  float: none !important;
}

.subHeroText h1 {
  text-transform: uppercase;
}

.subHeroText p, .subHeroText span, .subHeroText li, .subHeroText a, .subTextWrapper p, .subTextWrapper span, .subTextWrapper li, .subTextWrapper a {
  font-size: 1.05em;
  line-height: 1.9;
}

.subTextWrapper li,
.subHeroText li {
  font-style: italic;
}

.subTextWrapper ul,
.subHeroText ul {
  padding-left: 1.5em;
}


.subTextWrapper {
  margin: 1em auto 1em auto !important;
  max-width: 60%;
  float: none !important;
}

@media screen and (min-width:768px){
  .personContainer {
    max-width:80%;
  }
}


.simplePage .subTextWrapper {
  margin: 2em auto 2em auto !important;
}

.simplePage .subHeroTextWrapper {
  margin: 3em 0 1em 0;
}

.subText {
  max-width: 60%;
  margin: 0 auto !important;
  float: none !important;
}

.subTextWrapper h1,
.subTextWrapper h2,
.subTextWrapper h3,
.subTextWrapper h4,
.subTextWrapper h5,
.subTextWrapper h6 {
  text-transform: uppercase;
}

.subTextWrapper h1,
.subTextWrapper h2,
.subTextWrapper h3 {
  margin-top: 2em;
}

.subTextWrapper img {
  margin: 3em auto;
}

.subTextWrapper p {
  margin-bottom: 1em;
}

.subText p,
.subText span,
.subText li,
.subText a {
  font-family: 'Libre Baskerville', serif;
  font-size: 1em;
  line-height: 1.3;
  color: #111;
}

.subText li {
  font-style: italic;
}

.subImg {
  margin-bottom: 2em;
  text-align:center;
}

.ctaBtn {
  padding: 1em 3em;
  text-transform: uppercase;
  font-family: 'Interstate-Bold',arial,helvetica;
  font-size: 0.8em;
}

.greenBtn {
  background: #4a7e67;
  color: #fff;
  transition: all .5s ease;  
}

.greenBtn:hover {
  background: #adadad;
}

.ctaGroup {
  margin-top: 1.5em;
  display: flex;
  align-items: center; /* 👈 keskittää vertikaalisesti */
  gap: 1em;
  flex-wrap: wrap;
}

.ctaInline {
  display: inline-block;
  font-family: 'Interstate-Bold', arial, helvetica;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000;
  text-decoration: none;
  overflow: hidden;
}

/* wrapper */
.textWrap {
  display: inline-block;
  position: relative;
}

/* TEKSTIT */
.text {
  display: block;
  transition: transform 0.35s ease;
  white-space: nowrap;
}

/* alempi teksti piilossa */
.text.bottom {
  position: absolute;
  left: 0;
  top: 100%;
}

/* TEKSTI HOVER */
.ctaInline:hover .text.top {
  transform: translateY(-100%);
}

.ctaInline:hover .text.bottom {
  transform: translateY(-100%);
}

/* NUOLI WRAPPER */
.arrowWrap {
  display: inline-block;
  position: relative;
  margin-left: 0.3em;
  overflow: hidden;
}

/* NUOLET */
.arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}

/* toinen nuoli piilossa vasemmalla */
.arrow.bottom {
  position: absolute;
  left: -100%;
}

/* NUOLI HOVER */
.ctaInline:hover .arrow.top {
  transform: translateX(100%);
}

.ctaInline:hover .arrow.bottom {
  transform: translateX(100%);
}

/* UNDERLINE */
.ctaInline::after {
  content: "";
  display: block;
  height: 1px;
  background: #000;
  margin-top: 4px;
}


.fiveProcess {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-justify-content: center;
  justify-content: center;
  margin-bottom: 3em;
}

.fiveProcessStep {
  max-width:18%;
  -webkit-flex: 1 1 18%;
  flex: 1 1 18%;
  padding: 1%;
  text-align: center;
}



.fiveProcessStep p {
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.5;
  font-family: 'Interstate-Regular', arial;
}

.bigNum {
  font-size: 4em;
  font-family: 'Interstate-Regular', arial;
}

.thinText {
  font-family: 'Interstate-Regular', arial;
}



/* PERUS FORMI */

form.hs-form span {
  font-style: normal;
}

form.hs-form .hs-form-field {
  margin-bottom: 1.5rem;
}

.hbspt-form form input.hs-input, 
.hbspt-form form textarea.hs-input, 
.hbspt-form form select.hs-input {
  display: inline-block;
  font-family: 'Libre Baskerville',serif;
  border: 1px solid #ccc;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px;
}

.hbspt-form .hs-form label, .subTextWrapper .hbspt-form .hs-form label {
  font-size: 1.15em;
  line-height: 1.2em;
  display: block;
  text-transform: none;
  font-size: 1.15em;
  line-height: 1.2em;
  font-family: 'Libre Baskerville',serif;
  font-weight: normal;
}



/* Multicheckbox */

.hs-form.stacked .inputs-list,
.hs-form.stacked .inputs-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  list-style: none;
  padding-left: 0;
}

.hs-form.stacked .inputs-list.multi-container>li{
  -ms-flex-preferred-size: 30%;
  flex-basis: 100%;
  font-style: normal;
}

.hs-form.stacked .inputs-list.multi-container > li.hs-form-radio {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 100%;
  flex: 1 0 100%;
}

.hs-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1em;
  max-width: 500px;
}

.subPage .hs-form {
  padding: 1em;
}

.hs-error-msgs label {
  color: #ff4141 !important;
  margin-top: .5em;
}

/* Form button */

.row-fluid .hbspt-form .hs-form .hs-button {
  color: #fff;
  text-shadow: 0;
  background: #4a7e67;
  box-shadow: none;
  border-top: 0px;
  border-bottom: 0px;
  border-right: 0px;
  border-left: 0px;
  border-radius: 0px;
  transition: all .5s ease;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;

  padding: 1em 3em;
  text-transform: uppercase;
  font-family: 'Interstate-Bold',arial,helvetica;
  font-size: .8em;
  outline: none !important;
}

.row-fluid .hbspt-form  .hs-form .hs-button:hover:not(.inactive), .row-fluid .hbspt-form  .hs-form .hs-button:focus:not(.inactive), .row-fluid .hbspt-form  .hs-form .hs-button.hovered:not(.inactive){
  box-shadow: none;
  border-top: 0px;
  border-bottom: 0px;
  border-right: 0px;
  border-left: 0px;
}

.row-fluid .hbspt-form .hs-form .hs-button:hover {
  box-shadow: none;
  border-top: 0px;
  border-bottom: 0px;
  border-right: 0px;
  border-left: 0px;
  background: #adadad;
}

/*#hsForm_6867bd4e-e807-4345-add1-34d25a1edcc3_9536 > div.hs_submit > div.actions > input {
background: #4a7e67;
color: #fff;
transition: all .5s ease;
}*/



form.hs-form .hs-button {
  color: #fff;
  text-shadow: none;
  background: #4a7e67;
  box-shadow: none;
  border-top: 0;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  transition: all .5s ease;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  padding: 1em 3em;
  text-transform: uppercase;
  font-family: 'Interstate-Bold',arial,helvetica;
  font-size: .9em;
  line-height: 1;
  outline: none !important;
}

form.hs-form .hs-button:hover:not(.inactive),
form.hs-form .hs-button:focus:not(.inactive),
form.hs-form .hs-button.hovered:not(.inactive){
  box-shadow: none;
  border-top: 0px;
  border-bottom: 0px;
  border-right: 0px;
  border-left: 0px;
}

form.hs-form .hs-button:hover {
  box-shadow: none;
  border-top: 0px;
  border-bottom: 0px;
  border-right: 0px;
  border-left: 0px;
  background: #adadad;
}


/* ===================================================================
MALLISTO SIVU
================================================================== */

.filterNavContainer {
  margin-bottom: 2em;
}

.filterNav .cell-wrapper .hs_cos_wrapper_type_rich_text {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-align-content: space-around;
  align-content: space-around;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

.filterNavItem {
  width: 31%;
  margin-bottom: 3em;
  margin: 0 1% 3em;
  cursor: pointer;
}

.filterNavItem img {
  width: 100%;
  height: auto;
}

.filterNavItem h3 {
  text-align: center;
  text-transform: uppercase;
  word-break: break-word;
}

.filterNavItem:after {
  content: '';
  display: block;
  margin: auto;
  height: 10px;
  width: 0px;
  background: transparent;
  transition: width .5s ease, background-color .5s ease;
}

.filterNavItem.activeFilter:after {
  width: 100%;
  background: #417D9F;
}

@media screen and (min-width: 1100px){
  .filterNavItem:hover:after {
    width: 100%;
    background: #417D9F;
  }

}


/*.filterGroupContainer {
  visibility: hidden;
  opacity: 0;
}*/


.filterGroupContainer .hs_cos_wrapper_type_widget_container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: space-around;
  align-content: space-around;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

.filterGroupContainer .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
  width: 31%;
  margin-bottom: 3em;
  margin: 0 1% 6em;
}



/* SINGLE HOUSE ITEMS */
.houseModel img {
  width: 100%;
  height: auto;
}

.houseModel .houseModelHeading h4 {
  font-size: 1.2em;
  text-transform: uppercase;
  margin-bottom: .2em;
}

.houseModel .houseModelHeading p {
  margin-top: 0.5em;
  font-size: 1.1em;
}

.houseModel .houseModelHeading {
  margin-bottom: 2.5em;
}

.houseModel .bigText {
  font-family: 'Interstate-Bold', arial;
  text-transform: uppercase;
}

.houseModelDetails {
  margin-bottom: 2.5em;
}

.houseModelDetails p {
  margin: 0 0 .5em 0;
  font-size: 0.9em;
}




/* MALLISTO ELEMENTTI SLIDER */

ul.houseModelSlider {
  list-style: none;
  padding-left: 0;
  opacity: 0.85;
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -ms-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

ul.houseModelSlider:hover {
  opacity: 1;
}

ul.houseModelSlider li {
  display: inline;
}





/* ====================================================================================
SUUNNITTELUPALVELUT SIVU
=================================================================================== */



.palvelut-kuvausteksti {

}

.palvelut-group {

}

.palvelut-group .hs_cos_wrapper_type_widget_container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-justify-content: center;
  justify-content: center;
}

.palvelut-group .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
  max-width: 23%;
  -webkit-flex: 1 1 23%;
  flex: 1 1 23%;
  margin: 0 1%;
}

.palvelut-group .hs_cos_wrapper_type_module {
  max-width: 31.33%; 
  flex: 1 1 31.33%;
  margin: 0 1%;
}

@media (max-width: 768px) {
  .palvelut-group .hs_cos_wrapper_type_module {
    max-width: 100%;
    flex: 1 1 100%;
    margin: 0 1% 20px;
  }
}

@media screen and (min-width: 1101px){
  .palvelut-group.refeGroup .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    max-width: 31%;
    -webkit-flex: 1 1 31%;
    flex: 1 1 31%;
    margin: 0 1%;
  }

  .palvelut-group.insOpi3Group .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    max-width: 31%;
    -webkit-flex: 1 1 31%;
    flex: 1 1 31%;
    margin: 0 1%;
  }


}

.palvelut-koko-laatikko {
  margin-bottom: 5em;
}
.palvelut-kuva {
  min-height: 200px;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
  margin-bottom: 3em;
}

.palvelut-tekstit h3 {
  text-transform: uppercase;
  font-size: 1.3em;
  line-height: 1;
}

.palvelut-tekstit h3,
.palvelut-tekstit p {
  text-align:center;
}

.palvelut-tekstit p {
  line-height: 1.7;
}

.palvelut-tekstit p:last-child {
  margin-top: 3em;
}


/* LUONNOSPANKKI */

.pageHeader {
  margin-bottom: 5em;
  text-align: center;
}

.bannerImg {
  margin-bottom: 3em;
}

.skectContainer {
  margin-top: 3em;
}

/* Sketch container parent */
.sketchContainer > .hs_cos_wrapper_type_widget_container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: space-between;
  align-content: space-between;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

/* Sketch container child */
.sketchContainer > .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
  width: 30%;
  margin-bottom: 3em;
  margin: 0 1.6% 6em;
}

/* Sketch element */
.sketchElement {
  text-align: center;
}

.sketchImgWrap {

}

img.sketchImg {

}

.sketchDesc {

}

/* Sketch modal */

.sketchContent {
  position: relative;
}

.closeModal {
  position: absolute;
  right: 0;
  top: -1.5em;
  font-size: 3em;
}

.sketchModal {
  transition: all .5s ease;
}

.sketchModalClose {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  padding: 1em;
  top: 50%;
  left: 50%;
  width: 0%;
  height: 0%;
  background: #fff;
  border: 3px solid #676767;
  box-sizing: border-box;
  overflow-y: auto;
}

.sketchModalOpen {
  opacity: 1;
  visibility: visible;
  display: block;
  position: fixed;
  padding: 5em 1em 1em;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: #fff;
  border: 3px solid #676767;
  box-sizing: border-box;
  overflow-y: auto;
  z-index: 1;
}







/* ===================================================================
BLOG STYLES
================================================================== */

.blogMainText {
  max-width: 70%;
  float: none !important;
  margin: 0 auto !important;
}


.blogTitle {
  text-align: center;
  text-transform: uppercase;
}


/* REST OF THE BLOG LISTING */



.post-item .hs-featured-image {
  float: none !important;
  margin: 0;
  max-width: 100%;
}

.lowerBlogsWrapper {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  flex-direction: row;
  align-items: flex-start;
  -webkit-justify-content: center;
  justify-content: center;
  margin-bottom: 3em;
}

.lowerBlogsWrapper .post-item {
  max-width: 31%;
  -webkit-flex: 1 1 31%;
  flex: 1 1 31%;
  padding: 1%;
  margin-bottom: 2.5em;
}

.lowerBlogsWrapper .post-item {
  opacity: 0.8;
  -webkit-transition: opacity 0.5s ease;
  -moz-transition: opacity 0.5s ease;
  -ms-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

.lowerBlogsWrapper .post-item:hover {
  opacity: 1;
}

.lowerBlogsWrapper .hs-featured-image-wrapper {
  min-height: 17em;
  overflow: hidden;
  display: block;
  position: relative;
  margin-bottom: 2em;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.topic-link {
  font-family: serif;
  color: #777;
  font-size: 1.2em;
}

.custom-blog-date {
  color: #777;
  font-family: 'Interstate-Regular', arial;
}

.post-listing .post-header h2 {
  margin-top: 0.4em;
  text-transform: uppercase;
  line-height: 1.3;
  font-size: 1.2em;
  margin-bottom: .5em;
}

.blog-pagination {
  text-align:center;
}

.author-link {
  font-weight: normal;
  text-transform: uppercase;
  font-family: 'Interstate-Regular', arial;
}

.readMoreLink {
  font-weight: bold;
  border-bottom: 1px solid #c3c3c3;
  font-family: 'Interstate-Regular', arial;
  text-transform: uppercase;
  letter-spacing: .1em;
}


/* BLOG NAV */

.blogNavWrapper {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  height: auto;
}

#hs_cos_wrapper_blogNav {

}

/*#hs_menu_wrapper_blogNav ul {
float: none !important;
position: relative;
top: 1em;
white-space: nowrap;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-align-items: flex-start;
align-items: flex-start;
-webkit-justify-content: flex-start;
justify-content: flex-start;
padding-bottom: 2em;
}*/

#hs_menu_wrapper_blogNav ul {
  float: none !important;
  position: relative;
  top: 0;
  white-space: nowrap;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  padding: 1em 0 1em;
}

/*#hs_cos_wrapper_blogNav ul li {
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
zoom: 1;
-webkit-flex: 1 1 auto;
flex: 1 1 auto;
text-align: left;
width: auto;
min-width: auto;
}*/

/*#hs_cos_wrapper_blogNav ul li {
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
zoom: 1;
-webkit-flex: 0;
flex: 0;
margin-right: 2em;
text-align: left;
width: auto;
min-width: auto;
}*/

/* VANHA BLOGINAV 
#hs_cos_wrapper_blogNav ul li {
display: inline-block;
vertical-align: top;
zoom: 1;
-webkit-box-flex: 1;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
margin-right: 2em;
text-align: left;
width: auto;
min-width: auto;
}*/

#hs_cos_wrapper_blogNav ul li {
  display: inline-block;
  vertical-align: top;
  zoom: 1;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  text-align: left;
  width: auto;
  min-width: auto;
  text-align: center;
}


#hs_cos_wrapper_blogNav ul li a {
  font-family: 'Interstate-Bold', arial, helvetica;
  font-size: 1.2em;
  line-height: 1.1;
  padding: .3em 0;
  margin-right: .8em;
  text-transform: uppercase;
  font-weight: bold;
  text-overflow: inherit;
  max-width: 100%;
  transition: all .3s;
  letter-spacing: .1em;
}


#hs_cos_wrapper_blogNav ul li a:after {
  content: '';
  display: block;
  margin: auto;
  height: 5px;
  width: 0px;
  background: transparent;
  transition: width .5s ease, background-color .5s ease;
}

#hs_cos_wrapper_blogNav ul li.active a:after {
  width: 100%;
  background: #417D9F;
}


@media screen and (min-width:1280px){
  #hs_cos_wrapper_blogNav ul li a:hover:after {
    width: 100%;
    background: #417D9F;
  }
  /*#hs_cos_wrapper_blogNav ul li:first-child.active a:after {
  width: 0;
  background: #417D9F;
}*/
}

.widget-type-raw_html h3 {
  margin-bottom: 0;
}



/* PERSON ELEMENTS */

.subTextWrapper .section-header {
  text-align:center;
}

.personElement {
  margin-bottom: 5em;
}

.personImg p {
  text-align: center;
}

.subTextWrapper .personImg img {
  margin: 0 auto;
}

.personContainer .hs_cos_wrapper_type_widget_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
}



.personContainer .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 31%;
  flex: 0 0 31%;
  margin: 0 1%;
}

@media screen and (min-width: 1270px){
  .personContainer .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 31%;
    flex: 0 0 31%;
    margin: 0 1%;
  } 
}

.personTexts {
  text-align: center;
  word-break: break-word;
}

.personTexts p {
  /*font-family: 'Interstate-Bold',arial,helvetica;*/
  font-family: 'Libre Baskerville',serif;
  letter-spacing: .1em;
  line-height: 1.5;
  font-weight: normal !important;
}

.personQuote {
  margin-bottom: 3em;
}

.personLinks {
  text-align: center;
}

.personLinks a {
  display: inline-block;
  margin-bottom: 1em;
  padding: .7em 2em;
}


/* CODED IMAGES */
.imgSpotOne, 
.imgSpotTwo,
.imgSpotThree {
  margin: 3em 0;
  text-align:center;
}

.imgSpotOne {

}

.imgSpotOne.absImgOne img {
  margin-top: 0;
}

.absImgOne, .absImgTwo {
  position: absolute;
  top: 0;
  right: -270px;
  max-width: 250px;
  text-align: right;
  max-height: 200px;
  height: auto;
  margin: 0;
  text-align: left;
}

.absImgTwo {
  margin-top: 220px;
}

.absImgTwo {

}

.absImgThree {
  margin: 2em 0;
  left: -20%;
  position: relative;
  height: auto;
  text-align: left;
}


.post-item .hs-featured-image {
  float: none !important;
  margin: 0;
  max-width: 100%;
}


/* REST OF THE BLOG POST */

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
  text-transform: uppercase;

}

.post-body img {
  margin: 2.5em 0;
}

.post-body {
  line-height: 1.7;
}

.post-body h1,
.post-body h2,
.post-body h3 {
  margin-top: 2em;
}

.postHeaderImage {
  display: block;
  position: relative;
  width: 100%;
  min-height: 400px;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
  margin-bottom: 4em;
}


.section.post-body {
  position: relative;
  max-width: 60%;
  margin: 0 20% 0 20% !important;
}

@media screen and (min-width: 1820px){
  .section.post-body {
    max-width: 50%;
  }   

}

.section.post-header {
  margin: 0 auto 3em 20% !important;
}

.section .postDate {
  margin: 0;
}

.section.post-header h1 {
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0.2em 0;
}

.section.post-header #hubspot-topic_data {
  margin-bottom:0;
}

.section.post-header .topic-link {
  font-size: 1.4em;
  color: #777;
}

.section .postDate {
  font-size: 1em;
  font-family: 'Interstate-Regular', arial;
  color: #777;
  letter-spacing: .1em;
}

.hs-blog-post .blogSocial {

}

.hs-blog-post .blogSocial ul {
  padding-left: 0;
  list-style: none;
}

/*.hs-blog-post .blogSocial ul {
left: 162px;
position: fixed;
top: 475px;
max-width: 35px;
}*/

.hs-blog-post .blogSocial ul li {
  margin-bottom: 1.5em;
  display: inline-block;
  margin: 0 1em 1em 0;
}

.hs-blog-post .blogSocial ul li .fa {
  font-size: 2em;
}

.someFixed {
  position: fixed;
  top: 475px;
  left: 5%;
  max-width: 35px;
  opacity: 1;
}

.someJs {
  max-width: 35px;
  opacity: 0;
}





/* CUSTOM FIRST POST */
.customFirstPost {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  margin-bottom: 2em;
}

.customFirstPost .hs-featured-image {
  float: none !important;
}

.customFirstPost .hs-featured-image-wrapper,
.customFirstPost .custom-first-post-content {
  padding-right: 2%;
}

.customFirstPost .custom-first-post-content {
  padding-top: .5em;
}

.customFirstPost .hs-featured-image-wrapper {
  width: 58%;
}

.customFirstPost .custom-first-post-content {
  width: 38%;
}

.customFirstPost .hs-featured-image-wrapper {
  max-height: 30em;
  overflow: hidden;
}

.post-listing .post-header.customFirstPost h2 {
  margin-top: .4em;
  text-transform: uppercase;
  line-height: 1.4;
  font-size: 2em;
  margin-bottom: .5em;
}

.post-listing .post-header.customFirstPost h2 a {
  font-family: 'Interstate-Bold', arial, helvetica;
}

.customFirstPost .custom-blog-date {

}



.customFirstPost .author-link {
  font-family: 'Interstate-Bold', arial, helvetica;
  letter-spacing: .1em;
}

.customFirstPost .custom-blog-date,
.customFirstPost .topic-link,
.customFirstPost .author-link,
.customFirstPost .readMoreLink {
  font-size: 1.2em;
  line-height: 1.3;
}

.customFirstPost .topic-link {
  color: #000;
  font-size: 1.5em;
}

.customFirstPost .post-body p {
  font-family: serif;
  font-size: 1.7em;
  line-height: 1.4em;
}



/* FOOTER */


/* FOOTER RAJA/KUVA */
.footer-raja {

}

/* FOOTER BLOCKS */

.footerLogo {
  display: inline-block;
  position: relative;
  left: 1.5em;
  margin-bottom: 1em;
}

.footerLogo {
  display: inline-block;
  position: relative;
  margin-bottom: 1em;
  left: -2em;
}

.footerLogo img {
  max-width: 320px;
  margin: 1em 0;
}


/* FOOTER FLEXBOX */
.footerBlockWrapper .row-number-5 > .row-fluid {
  width: 100%;
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

.footerBlock {
  max-width:14%;
  -webkit-flex: 1 1 14%;
  flex: 1 1 14%;
  font-family: 'Interstate-Bold', arial;
}

.footerHeader {
  text-transform: uppercase;
}

.footerBlock p,
.footerBlock .hs-menu-wrapper ul li a {
  font-family: 'Interstate-Regular', arial;
  color: #3e3e3e;
}

.footerBlock .hs_cos_wrapper_type_rich_text p:first-child {
  margin-top: .3em !important;
}



.footerBlock .socialLinks a img {
  max-width: 2.8em;
}

/* FOOTER NAVS */

.footerBlock .hs-menu-wrapper ul li a {
  padding: .3em 0 !important;
  text-transform: uppercase;
}

.footerBlock .footer-linkit .hs-menu-wrapper ul li a {
  font-family: 'Interstate-Bold', arial;
  color: #000;
}

.footerBlock .footer-linkit .hs-menu-wrapper ul li:first-child a {
  padding-top: 0 !important;
  font-family: 'Interstate-Bold', arial;
}

.footerBlock li a {
  overflow: visible !important;
}

/* FOOTER ALA-OSIO */
.footer-ala-osio {
  margin-top: 3em;
  font-family: 'Interstate-Bold', arial;
}

.footer-ala-osio p {
  font-family: 'Interstate-Bold', arial;
}

.footer-teksti {
  /*padding-left: 50px;*/
}
.footer-teksti p {
  font-size: 10px !important;
  text-transform: uppercase !important;
  margin-top: 0px !important;
}    
.footer-ala-linkit {
  /*padding-left: 50px;*/
  text-align: center;
}

.footer-valikko-group {
  width:100%;
}

.footer-valikko {
  display: inline-block;

}
.footer-valikko p {
  color: #9a9a9a;
  text-transform: uppercase;
  padding-left: 3px;
  padding-right: 3px;
  font-size: 10px;
  margin-bottom: 0px !important;
}

.footer-valikko-1 p {
  padding-left: 0px !important;
}

.footer-teksti-in {
  text-align: center;
}




/* =====================================================================================
MOBILE MEDIA QUERIES
==================================================================================== */




@media screen and (min-width: 2200px){
  .processImg {
    height: 10rem;
    max-width: 70%;
  }

}

/* ENSIMMÄISET 3 BLOGINAVIN LINKKIÄ
@media screen and (max-width: 2050px){
#hs_cos_wrapper_blogNav ul li:nth-child(1),
#hs_cos_wrapper_blogNav ul li:nth-child(2),
#hs_cos_wrapper_blogNav ul li:nth-child(3){
-webkit-box-flex: 1;
-ms-flex: 1 0 31.3333% !important;
flex: 1 0 31.3333% !important;
}   
}
*/


@media screen and (min-width: 1980px){
  .subHeroImage {
    min-height: 750px;
  }

  .palvelut-kuva {
    min-height: 300px;
    background-size: contain !important;
  }

  .customFirstPost .hs-featured-image {
    float: none !important;
    width: 100%;
  }

  .lowerBlogsWrapper .hs-featured-image-wrapper {
    min-height: 29em;
    background-size: contain !important;
  }

  .customFirstPost .hs-featured-image-wrapper {
    max-height: 55em;
  }
}

/* ENSIMMÄISET 3 BLOGINAVIN LINKKIÄ
@media screen and (max-width: 1820px){
#hs_cos_wrapper_blogNav ul li:nth-child(1),
#hs_cos_wrapper_blogNav ul li:nth-child(2),
#hs_cos_wrapper_blogNav ul li:nth-child(3){
-webkit-box-flex: 1;
-ms-flex: 1 0 26% !important;
flex: 1 0 26% !important;
}   
}
*/


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

  /*#hs_menu_wrapper_blogNav ul {
  float: none !important;
  position: absolute;
  top: 1em;
  white-space: nowrap;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}*/

  #hs_cos_wrapper_blogNav ul li {
    vertical-align: top;
    zoom: 1;
  }   
}


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

  .body-container-wrapper, .footer-container-wrapper {
    max-width: 90%;
    float: none !important;
    margin: 0 auto !important;
  }

  .footer-container-wrapper {
    max-width: 100%;
    padding: 0 5%;
  }

  .header-container {
    max-width: 90%;
  }

  .personContainer .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 48%;
    flex: 1 1 48%;
    margin: 0 1%;
    max-width: 48%;
  }

}



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

  .palvelut-group .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    max-width: 48%;
    -webkit-flex: 1 1 48%;
    flex: 1 1 48%;
  }

}

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

  .blogSocial {
    left: 0;
    opacity: 1;
  }

}

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

  .body-container-wrapper {
    padding-top: 5.96em;
  }    

  .footerBlock {
    max-width: 30%;
    -webkit-flex: 1 1 30%;
    flex: 1 1 30%;
  }

}


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

  .fiveProcessStep {
    max-width: 31%;
    -webkit-flex: 1 1 31%;
    flex: 1 1 31%;
    padding: 1%;
    text-align: center;
  }

  .personContainer .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    margin: 0 1%;
    max-width: 100%;
  }

}



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

  .hover-element {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 100%;
    flex: 1 0 100%;
    margin: 0 0 4em;
  }

  .subHeroTextWrapper hr,
  .hs-blog-listing hr {
    margin-top: 1em !important;
  }

  .simplePage .subHeroTextWrapper {
    margin: 2em 0 1em 0;
  }

  .subHeroImage {
    min-height: 200px;
  }

  .subHeroTextWrapper {
    margin: 2em 0 2em 0;
  }

  .subTextWrapper {
    margin: 0 auto 2em auto !important;
    max-width: 100%;
    float: none !important;
  }

  #hs_cos_wrapper_blogNav ul li:nth-child(1),
  #hs_cos_wrapper_blogNav ul li:nth-child(2),
  #hs_cos_wrapper_blogNav ul li:nth-child(3),
  #hs_cos_wrapper_blogNav ul li {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 100% !important;
    flex: 1 0 100% !important;
  }

  #backbutton {
    display: block;
    position: fixed;
    bottom: 40%;
    left: 3%;
  }

  #nextbutton {
    display: block;
    position: fixed;
    bottom: 40%;
    right: 3%;
  }

  .blogMainText {
    max-width: 100%;
    float: none !important;
    margin: 0 auto !important;
  }


  .filterNavItem h3 {
    font-size: .9em;
    line-height: 1.2;
  }

  .head-nav .nav-haku {
    margin-top: 1em;
  }

  /* SEARCH */

  #___gcse_0 {

  }

  #___gcse_0 .gsc-control-cse {
    border-color: #000 !important;
    background-color: #000 !important;
  }

  #___gcse_0 table.gsc-search-box td {
    vertical-align: middle;
    display: inline-block;
    padding-left: 0;
  }

  #___gcse_0 .cse .gsc-control-cse, 
  #___gcse_0 .gsc-control-cse {
    padding: 0;
    width: auto;
  }

  /*
  #___gcse_0 input.gsc-search-button, 
  #___gcse_0 input.gsc-search-button:hover, 
  #___gcse_0 input.gsc-search-button:focus {
  border-color: #000;
  background-color: #000;
  background-image: none;
  filter: none;
  padding: 1em 0 0;
  outline: 0;
}
  */

  #___gcse_0 input.gsc-search-button, 
  #___gcse_0 input.gsc-search-button:hover, 
  #___gcse_0 input.gsc-search-button:focus {
    border-color: #666;
    background-color: transparent !important;
    padding: 0 !important;
    background-image: none;
    filter: none;
    height: 1rem !important;
    width: 1.5em !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: inset 0 0 0 0 rgba(255,255,255,0.5) !important;
    -webkit-box-shadow: inset 0 0 0 0 rgba(255,255,255,0.5) !important;
    -moz-box-shadow: inset 0 0 0 0 rgba(255,255,255,0.5) !important;
  }

  #___gcse_0 .gsst_a .gscb_a {
    display: none;
  }

  #___gcse_0 .gsc-input-box {
    border: 0px;
    border-bottom: 1px solid #D9D9D9;
    color: #fff;
    height: 25px;
    box-shadow: none !important;
    background: #000;
  }

  #___gcse_0 .gsc-search-box-tools .gsc-search-box .gsc-input {
    padding-right: 5px;
    background: #000 !important;
    color: #fff;
    max-width: 60%;
    display: inline-block;
  }

  #gs_tti51 {
    padding: .7em 0;
  }

  #gsc-i-id2 {
    font-size: .9em;
    line-height: 1em;
  }

  #__gcse_0 .gsib_b {
    display: none;
  }

  #loader {
    margin: -150px 0 0 -150px;
    width: 300px;
    height: 300px;
  }

  .headerWrap > .row-number-3 {
    height: 0;
  }

  .subHeroText {
    max-width: 100%;
    margin: 0 auto !important;
    float: none !important;
  }



  .subImg {
    text-align: center;
  }

  .sketchContainer > .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    width: 48%;
    margin: 0 1% 6em;
  }

  .filterGroupContainer .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    width: 48%;
  }

  .filterNavItem {
    width: 31%;
  }

  .nav-haku {
    display: none !important;
  }

  .head-nav .nav-haku {
    display: block !important;
    padding-left: 1.5em;
  }

  .langLinks a.activeLang {
    color: #fff;
  }


  .headerWrap {
    padding-top: 1em;
  }

  .singleProcess {
    margin-bottom: 4em;
  }

  .singleProcess p {
    max-width: 90%;
  }

  .body-container-wrapper, .footer-container-wrapper {
    max-width: 100%;
    float: none !important;
    margin: 0 auto !important;
    padding: 0 .5em;
  }

  .header-container {
    max-width: 100%
  }

  .body-container-wrapper {
    padding-top:7em;
  }

  .header-container {
    max-width: 100%;
  }

  .smallLogo {
    display: block;
    left: -1em;
    position: relative;
    top: -.5em;
    max-height: 3em;
  }

  .bigLogo {
    display: none;
  }

  .headerLogo {
    position: relative;
    left: .5em;
    top: 0;
    z-index: 1;
    max-width: 50%;
  }

  .singleLiftedFirst {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
  }

  .singleLiftedFirstImg,
  .singleLiftedFirstText {
    width: 100%;
  }

  .singleLiftedFirstText h2 {
    text-align:center;
    padding-left: 0;
  }


  .emptySpace {
    display: none !important;
  }

  .top-footer-group-1>.row-fluid-wrapper>.row-fluid {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    margin-bottom: 3em;
  }

  .footer-group-1 {
    width: 100% !important;
    font-family: 'Interstate-Bold', arial;
  }

  .footer-group-2,
  .footer-group-3,
  .footer-group-4,
  .footer-group-5,
  .footer-mallisto-nav,
  .footer-palvelut-nav,
  .footer-inspiraatio-nav,
  .footer-meista-nav,
  .footer-linkit {
    width: 49% !important;
  }

  .top-footer-group-2>.row-fluid-wrapper>.row-fluid {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }

  .footer-somelinkit {
    padding-left: 0;
    padding-top: 5px;
  }

  .footer-linkit a {
    padding: 10px 20px 10px 0 !important;
    text-decoration: none;
  }


}


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



  .subHeroText h1,
  .subTextWrapper h1 {
    text-transform: uppercase;
    font-size: 1.6em;
  }

  .subPage .contentWrap {
    max-width: 95%;
  }

  #backbutton {
    bottom: 40%;
    left: 3%;
  }

  #nextbutton {
    bottom: 40%;
    right: 3%;
  }

  #hs_cos_wrapper_blogNav ul li {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 100%;
    flex: 1 0 100%;
  }

  .subHeroTextWrapper {
    margin: 2em 0 7em 0;
  }

  .subHeroImage {
    min-height: 150px;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: left !important;
  }

  .footerBlockWrapper .row-number-5 > .row-fluid {
    width: 100%;
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }

  .footerBlock {
    max-width: 49%;
    -webkit-flex: 1 1 49%;
    flex: 1 1 49%;
    margin-bottom: 3em;
  }

  .singleLiftedFirst h2 {
    font-size: 2.5em;
    text-transform: uppercase;
    padding-left: 1em;
  }

  .fiveProcessStep {
    max-width: 98%;
    -webkit-flex: 1 1 98%;
    flex: 1 1 98%;
    padding: 1%;
    text-align: center;
  }



  .section.post-body {
    max-width: 100%;
    margin: 0 auto 0 auto !important;
  }

  .section.post-header {
    margin: 0 auto 3em auto !important;
  }

  .absImgThree {
    margin: 2em 0;
    left: 0;
    position: relative;
    height: auto;
    text-align: left;
  }

  .absImgOne, .absImgTwo {
    position: relative;
    top: 0;
    right: 0;
    max-width: 100%;
    text-align: right;
    max-height: 100%;
    height: auto;
    margin: 0 auto 2em !important;
    float: none !important;
    text-align: center;
  }

  .lowerBlogsWrapper .post-item {
    max-width: 48%;
    -webkit-flex: 1 1 48%;
    flex: 1 1 48%;
    padding: 1%;
  }

  .customFirstPost .hs-featured-image-wrapper, .customFirstPost .custom-first-post-content {
    width: 98%;
    padding-right: 0;
  }

  .customFirstPost .hs-featured-image-wrapper {
    margin-bottom: 2em;
  }

  .customFirstPost {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    margin-bottom: 3em;
  }


  .palvelut-group .hs_cos_wrapper_type_widget_container {
    -webkit-justify-content: center;
    justify-content: center;
  }

  .palvelut-group .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    max-width: 98%;
    -webkit-flex: 1 1 98%;
    flex: 1 1 98%;
  }

  .body-container-wrapper {

  }


}


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

  .footerBlock p, .footerBlock .hs-menu-wrapper ul li a {
    font-family: 'Interstate-Regular',arial;
    color: #3e3e3e;
    font-size: 0.8em;
  }

  .filterGroupContainer .hs_cos_wrapper_type_widget_container {
    flex-wrap: wrap;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-content: space-around;
    align-content: space-around;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }

  .sketchContainer .hs_cos_wrapper_type_widget_container {
    flex-wrap: wrap;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-content: space-around;
    align-content: space-around;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }


  .lowerBlogsWrapper {
    -webkit-flex-direction: column;
    flex-direction: column;
  }

  .lowerBlogsWrapper .post-item {
    width: 100%;
    max-width: 98%;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    margin-bottom: 3em;
  }

  .fiveProcess {
    -webkit-flex-direction: column;
    flex-direction: column
  }

  .fiveProcessStep {
    width: 100%;
    max-width: 98%;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0;
    text-align: center;
  }

  .palvelut-group .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    max-width: 98%;
    -webkit-flex: 1 1 98%;
    flex: 1 1 98%;
  }




  .filterGroupContainer .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    width: 100%;
  }

  .sketchContainer > .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {
    width: 100%;
  }

  .filterNavItem {
    width: 31%;
  }




  .palvelut-group .hs_cos_wrapper_type_widget_container .hs_cos_wrapper_type_custom_widget {

  }

  .palvelut-group .hs_cos_wrapper_type_widget_container {
    -webkit-justify-content: center;
    justify-content: center;
  }


}



/* ==========================================================================
Custom Menu Primary
========================================================================== */


 /* Set ul background color */
 /* Set li background Color */
 /* Set link Color */
 /* Set link Hover Color */

/* Parent List */
.head-nav .hs-menu-wrapper > ul{ 
  background:;
}
.head-nav .hs-menu-wrapper > ul > li{
  background:;
}
.head-nav .hs-menu-wrapper > ul > li > a{
  color:;
}
.head-nav .hs-menu-wrapper > ul > li > a:hover{
  color:;
}

/* Child List */
.head-nav .hs-menu-wrapper > ul ul{}
.head-nav .hs-menu-wrapper > ul ul li{
  background:;
}
.head-nav .hs-menu-wrapper > ul ul li a{
  color:;
}
.head-nav .hs-menu-wrapper > ul ul li a:hover{
  color:;
}

/* Override max width on menu links */
.head-nav .hs-menu-wrapper > ul li a, 
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
  overflow: visible !important;
  max-width: none !important;
  width: auto !important;
}

/* Fix menu disappearing on desktop after toggling mobile menu */
@media screen and (min-width:769px) {
  .head-nav .hs-menu-wrapper { 
    display:block !important;
  }
}




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


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

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

@media (max-width: 768px){


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

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

  /* 
  * Menu Reset
  *
  * Remove styling from desktop version of head-nav. Place any 
  * additional CSS you want removed from the mobile menu in this reset 
  */

  .head-nav,
  .head-nav .hs-menu-wrapper > ul,
  .head-nav .hs-menu-wrapper > ul li,
  .head-nav .hs-menu-wrapper > ul li a{
    display: block;
    float: none;
    position: static;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    padding: 0px;
    margin: 0px;
    background-image: none;
    background-color: transparent;
    border: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none; 
    max-width: none;
    width: 100%;
    height: auto;
    line-height: 1;  
    font-weight: normal;
    text-decoration: none;
    text-indent: 0px;
    text-align: left;
    color:#ffffff;
  }


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

  .mobile-trigger{
    display: inline-block !important; /* Show button on mobile */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute; /*******************************************/
    top: .2em;          /* Position Button at right of screen  */
    right: 1em;        /*******************************************/
    width: auto; /* Button width */
    height: auto; /* Button height */      
    padding: 7px 10px 8px 10px;
    background: #ffffff; /* Background color */
    border: 1px solid #FFF;
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #000000; 
  }
  .mobile-trigger:hover{
    text-decoration: none; /* Removes link text underline on button */
    color:#ffffff;
    background-color: #000000; 
    border-color: transparent;
  }

  /* Change button when menu is open */
  .mobile-open .mobile-trigger{
    color:#ffffff;
    background-color: #000000; 
    border-color: transparent;
  }


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

  .mobile-trigger i{
    display: inline;
    position: relative;
    top: -4px;
  }
  .mobile-trigger i:before, .mobile-trigger i:after{
    position: absolute;
    content: '';
  }
  .mobile-trigger i, .mobile-trigger i:before, .mobile-trigger i:after{
    width: 22px; /* Icon line width */
    height: 2px; /* Icon line height */
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    background-color: #000000; /* Icon color */
    display: inline-block;
  }
  .mobile-trigger i:before{
    top: -6px; /* Position top line */
  }
  .mobile-trigger i:after{
    top: 6px; /* Position bottom line */
  }

  .mobile-trigger:hover i, .mobile-trigger:hover i:before, .mobile-trigger:hover i:after,  
  .mobile-open .mobile-trigger i, .mobile-open .mobile-trigger i:before, .mobile-open .mobile-trigger i:after{
    background-color: #ffffff; /* Icon color */
  }


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

  .child-trigger{
    display: block !important; /* Hide button on Desktop */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute;
    top: 0px;
    right: 0px;
    width: 55px !important; /* Button width */
    min-width: 55px !important;
    height: 45px !important; /* Button height */  
    padding: 0 !important;
    border-left: 1px dotted rgba(255, 255, 255, .20);
  }
  .child-trigger:hover{
    text-decoration: none;
  }
  .child-trigger i{
    position: relative;
    top: 50%; /* Centers icon inside button */
    margin: 0 auto !important;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  .child-trigger i:after{
    position: absolute;
    content: '';
  }
  .child-trigger i, .child-trigger i:after{
    width: 10px; /* Icon line width */
    height: 1px; /* Icon line height */
    background-color:#ffffff; /* Icon color */
    display: block;

  }
  .child-trigger i:after{
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  .child-trigger.child-open i:after{
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  .child-trigger.child-open i{
  }


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

  .head-nav.js-enabled {
    position: relative;
    padding-top: 0;
    /*margin: .5rem 0 .5rem 0;*/
    top: -44px;
  }

  /* Hide menu on mobile */
  .head-nav.js-enabled .hs-menu-wrapper,
  .head-nav.js-enabled .hs-menu-children-wrapper{
    display: none;
  }  

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

  /* Mobile Menu Styles */ 
  .head-nav.js-enabled .hs-menu-wrapper{
    width: 100%;
    position: relative; /**************************************************************/
    top: 44px;             /* Positions the menu to drop from the very top of the screen */
    left: 0;          /**************************************************************/
    padding: 0;
    top: 44px;
    transition: ease;
  }

  .head-nav.js-enabled .hs-menu-wrapper {
    position: fixed;
    top: 44px;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    overflow-y: scroll;
  }

  .head-nav .hs-menu-wrapper{
    background-color:#000000; /* Menu background color set off global menuColorMobile variable */
    width: 100%; /* Full screen width */
  }

  /* Level 1 Menu List Styles */
  .head-nav .hs-menu-wrapper > ul > li{
    position: relative;
  }
  .head-nav .hs-menu-wrapper > ul > li a{
    font-size: 1.5em; /* Font size of top level list items */
    line-height: 2em;
    overflow: visible;
  }

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

  /* Level 2 and Higher Menu List Styles */
  .head-nav .hs-menu-wrapper > ul ul li{
    background-color: rgb(47, 47, 47);
  }


  .head-nav .hs-menu-wrapper > ul ul li a{
    text-indent: 10px; /* Indent Child lists */
    font-size: 16px; /* Font size of child lists */
  }

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


/* Additions by Paper Planes, 17.6.2019 */

.bigLogo {
    max-height: 31.67px;
}

.smallLogo {
    max-width: 16.05em;
}

.footerLogo img {
    max-height: 59.82px;
}

/* Additions by Paper Planes, 21.8.2019 */

.hero-slider:not(.slick-initialized) {
  display: none;
}

.slick-dots button {
  cursor: pointer;
}

@media(min-width:1100px) {
  .image-right {
    float: right;
    max-width: 50%;
    margin: 1.5rem 0 .75rem .75rem !important;
  }
}

.hs-search-results__listing {
  margin-top: 1rem;
}

.hs-search-results__listing li {
  margin-bottom: 2rem;
}

.hs-search-results__title {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
}

.hs-search-results__description {
  line-height: 1.45;
}

.hs-search-field--open .hs-search-field__suggestions {
  padding: .5rem .5rem 0;
}

.hs-search-field__suggestions a,
.hs-search-field__suggestions #results-for {
  margin-bottom: .5rem;
}

.row-fluid .headerWrap__search {
  display: none;
  margin: .5rem 0;
}

body.search-open .headerWrap__search {
  display: block !important;
}

.hs-search-field input[type=text],
.headerWrap__search input[type=text] {
  padding: .5rem 1rem;
  font-size: 1rem;
}

@media(max-width:1180px) {
  .row-fluid .headerWrap__search {
    padding: 0 1rem;
  }
}

.head-nav.js-enabled .hs-menu-wrapper {
  z-index: 1;
}

.btn--toggle-search {
  float: right;
  display: inline-block;
  width: 42px;
  margin: .25rem 0;
  padding: 4px 8px 3px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: #fff;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

@media(max-width:1180px) {
  .btn--toggle-search {
    margin-right: 1rem;
  }
}

@media(max-width:767px) {
  .btn--toggle-search {
    position: absolute;
    right: 3.25rem;
    top: 2px;
  }
}

.btn--toggle-search:hover,
body.search-open .btn--toggle-search {
  background: #333;
}

.btn--toggle-search:hover path,
body.search-open .btn--toggle-search path {
  fill: #fff;
}

.search-results-banner {
  position: relative;
  margin-bottom: 1rem;
  padding: 4rem 10% 7rem;
  background: #f6f6f6;
}

.search-results-banner h2 {
  position: relative;
}

.search-results-banner__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100%;
  opacity: 0.8;
  object-fit: cover;
  pointer-events: none;
}

.hs-search-results__featured-image {
  float: left;
  display: inline-block;
}

.hs-search-results__featured-image img {
  width: 15rem;
  min-height: 10rem;
  max-width: 100%;
  margin: 0 1rem 1rem 0;
  object-fit: cover;
}

@media(max-width:519px) {
  .hs-search-results__featured-image img {
    width: 100%;
    min-height: auto;
    margin-right: 0;
  }
}

.hs-search-results__featured-image img[src=""] {
  display: none;
}

.hs-search-results__listing li {
  padding-bottom: 1rem;
  border-bottom: 2px solid #ccc;
}

.hs-search-results__listing li:after {
  content: "";
  display:block;
  clear: both;
}

.hs-search-results__title {
  font-family: 'Interstate-Bold',arial,helvetica;
  text-transform: uppercase;
}

.hs-search-highlight {
  font-weight: 400;
  text-decoration: underline;
}

/* Additions by Sunhouse, 22.6.2026 */

.productWrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;

  max-width: 1200px;
  margin: 3em auto;
  padding: 0 1em;
}

/* vasen sisältö */
.productWrapper .houseModel,
.productWrapper .houseModelDetails {
  max-width: 600px;
}

/* oikea kuva */
.productWrapper img,
.subImg {
  width: 100%;
  height: auto;
  display: block;
}


/* =========================
   GALLERY SECTION WRAPPER
========================= */

.gallerySection {
  max-width: 1200px;
  margin: 4em auto;
  padding: 0 1em;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .productWrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .subImg {
    margin-top: 20px;
  }

}
``
}