/* ==========================================================================
HubSpot Migrations Services - COS Boilerplate v2.0.0                              
========================================================================== */


/* ==========================================================================
Table of Contents:

1. EXTERNAL RESOURCES
2. BASE STYLES
3. COS STRUCTURE
4. MAIN NAVIGATION
5. BLOG
6. FORMS
7. BUTTONS
8. MISCELLANEOUS
9. MOBILE MEDIA QUERIES
========================================================================== */


/* ==========================================================================
1. EXTERNAL RESOURCES                                            
========================================================================== */

/* =============== @import, @font-face, and CSS File Includes =============== */

@import url('//fonts.googleapis.com/css?family=Open+Sans:300|Raleway:900');

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

/* HubSpot_Boilerplate-modules.css is required to address style issues with the default modules and responsive grid layout */
/* Images */
img {
    max-width: 100%;
    height: auto;
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: bottom; /* Suppress the space beneath the baseline */
}
img.alignRight, img.alignright{ margin: 0 0 5px 15px; }
img.alignLeft, img.alignleft{ margin: 0 15px 5px 0; }

/* Reduces min-height on bootstrap structure */
.row-fluid [class*="span"] { min-height: 1px; }

/* Blog Social Sharing */
.hs-blog-social-share .hs-blog-social-share-list {
    margin: 0;
    list-style: none !important;
}
.hs-blog-social-share .hs-blog-social-share-list .hs-blog-social-share-item {
    height: 30px;
    list-style: none !important;
}
@media (max-width: 479px){
    .hs-blog-social-share .hs-blog-social-share-list .hs-blog-social-share-item:nth-child(2) {
        float: none !important; /* Stack social icons into two rows on phones */
    }
}
.hs-blog-social-share .hs-blog-social-share-list .hs-blog-social-share-item .fb-like > span{
    vertical-align: top !important; /* Aligns Facebook icon with other social media icons */
}

/* Captcha */
#recaptcha_response_field {
    width: auto !important;
    display: inline-block !important;
}

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

@media all and (max-width: 400px) {
/* beat recaptcha into being responsive, !importants and specificity are necessary */
    #captcha_wrapper,
    #recaptcha_area,
    #recaptcha_area table#recaptcha_table,
    #recaptcha_area table#recaptcha_table .recaptcha_r1_c1 {
        width: auto !important;
        overflow: hidden; 
    }
    #recaptcha_area table#recaptcha_table .recaptcha_r4_c4 { width: 67px !important; }
    #recaptcha_area table#recaptcha_table #recaptcha_image { width:280px !important; }
}

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

/* Date Picker */
#calroot {
    width: 202px !important;
    line-height: normal;
}
#calroot,
#calroot *,
#calroot *:before,
#calroot *:after {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
} 
#calroot select {
    min-height: 0 !important;
    padding: 1px 2px !important;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet MS", Verdana, sans-serif !important;
    font-size: 10px !important;
    line-height: 18px !important;
    font-weight: normal !important;
} 
#caldays {
    margin-bottom: 4px;
}

/* Responsive Embed Container (iFrame, Object, Embed) */
.hs-responsive-embed,
.hs-responsive-embed.hs-responsive-embed-youtube,
.hs-responsive-embed.hs-responsive-embed-wistia,
.hs-responsive-embed.hs-responsive-embed-vimeo {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    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-instagram {
    padding-top: 0px;
    padding-bottom: 116.01%;
}
.hs-responsive-embed.hs-responsive-embed-pinterest {
    height: auto;
    overflow: visible;
    padding: 0 0 0 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 {
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Fix radio button and check box fields in multi column forms*/
.hs-form fieldset[class*="form-columns"] input[type="checkbox"].hs-input,
.hs-form fieldset[class*="form-columns"] input[type="radio"].hs-input {
    width: auto;
}

/* System Template Forms */
#email-prefs-form .email-edit {
    width: 100% !important;
    max-width: 507px !important;
}
#hs-pwd-widget-password {
    height: auto !important;
}

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

/* Horizontal Menu
   ========================================================================== */

.hs-menu-wrapper.hs-menu-flow-horizontal ul {
    list-style: none;
    margin: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    display: inline-block;
}
.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;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children {
    position: relative;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > 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;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-item-has-children ul.hs-menu-children-wrapper {
    left: 100%;
    top: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > 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;
}
.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;
}

/* Vertical Menu
   ========================================================================== */ 

.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;
}
.hs-menu-wrapper.hs-menu-flow-vertical > ul {
    margin-bottom: 0;
}
.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.hs-item-has-children {
    position: relative;
}

/* Flyouts */
.hs-menu-wrapper.hs-menu-flow-vertical.flyouts > 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-vertical > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
    display: block;
    white-space: nowrap;
}
.hs-menu-wrapper.hs-menu-flow-vertical.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    left: 100%;
    top: 0;
}
.hs-menu-wrapper.hs-menu-flow-vertical.flyouts > ul li.hs-item-has-children:hover > ul.hs-menu-children-wrapper {
    opacity: 1;
    visibility: visible;
}


@media (max-width: 767px) {
    .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;
    }

    /* Stacking Horizontal Nav for Mobile */
    .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper {
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal ul ul ul {
        padding: 0;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
        white-space: normal;
    }

    /* Stacking Vertical Nav for Mobile */
    .hs-menu-wrapper.hs-menu-flow-vertical.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper  {
        position: static;
        opacity: 1;
        visibility: visible;
    }
}

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

/* Space Module */
.widget-type-space { visibility: hidden; }

/* Blog Author Section */
.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");
}

/* Fix for CTA border box issue */
.hs-cta-wrapper a {
box-sizing: content-box;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
}

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

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

/* FlexSlider Necessary Styles
*********************************/
.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%;}


/* 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("//cdn2.hubspotqa.com/local/hub/124/file-52894-png/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("//cdn2.hubspotqa.com/local/hub/124/file-52894-png/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: black;
    position: static;
    font-size: 2em;
    line-height: 1.1em;
    color: white;
    padding: 0px 5% 0px 5%;
    width: 100%;
    top: 40%;
    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;
    }
}

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

/* Corrects width issues in table elements created via the wysiwyg editor */
table tr td img { max-width: initial; }

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

/* ==========================================================================
2. BASE STYLES                                             
========================================================================== */

/* =============== Base =============== */

*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%;
} 

body {
  font-size: 1.6rem;
  font-family: "Open Sans","Helvetica Neue",Helvetica,sans-serif;
  color: #222;
  font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
}

/* Page Center */
.container-fluid .row-fluid .page-center {
  float: none;
  margin: 0 auto;
  padding-right: 1rem;
  padding-left: 1rem;
  max-width: 100%;
  background: #fff;
}

/* Highlighted Text */
::-moz-selection {
  color: #fff;
  background: #3297FD;
  text-shadow: none;
}
::selection {
  color: #fff;
  background: #3297FD;
  text-shadow: none;
}


/* =============== Typography =============== */

/* Basic text */
p {} 
small {}
strong {}
em {}
cite {}
code {}
pre {}

sup, sub {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #222;
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 700;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {}

h1 {
  font-size: 3.2vw;
}
h2 {
  font-size: 2vw;
}
h3 {
  font-size: 1.2vw;
}
h4 {
  font-size: 1.1vw;
}
h5 {
  font-size: 1vw;
}
h6 {
  font-size: 1.2vw;
}

/* Anchor Links */
a { 
  color: #00931d;
  text-decoration: underline;
  -webkit-tap-highlight-color: transparent;
}
a:hover, a:focus { 
  color: #111;
  text-decoration: none;
}

/* Lists */
ul, ol {
  margin: 0 0 10px;
  padding-left: 25px;
}
ul ul, ul ol, ol ol, ol ul {}
li {}

/* Block Quotes */
blockquote {}
blockquote p {}
blockquote small {}

/* Horizontal Rules */
hr {
  color: #ccc;
  background-color: #ccc;
  height: 1px;
  border: none;
}


/* =============== EU Cookie Confirmation Bar =============== */

/* Confirmation Outer Wrapper*/
#hs-eu-cookie-confirmation {}

/* Confirmation Inner Wrapper*/
#hs-eu-cookie-confirmation-inner {}
#hs-eu-cookie-confirmation-inner p{}

/* Confirmation Button */
#hs-en-cookie-confirmation-buttons-area {}
a#hs-eu-confirmation-button {}


/* ==========================================================================
3. COS STRUCTURE                                            
========================================================================== */


/* =============== Structure =============== */

/* The outer wrappers of your website */
.header-container-wrapper, 
.body-container-wrapper, 
.footer-container-wrapper {}

/* The inner wrappers of your website */
.header-container, 
.body-container, 
.footer-container {}


/* =============== Header =============== */

.header-container-wrapper {}
.header-container {}
.custom-header {
  background-color: #fff;
}

.custom-header .page-center > .row-fluid-wrapper > .row-fluid {
  position: relative;
  z-index: 15;
  padding-bottom: 20px;
  padding-bottom: 2rem;
  padding-top: 20px;
  padding-top: 2rem;
  padding-left: 20px;
  padding-left: 2rem;
  padding-right: 20px;
  padding-right: 2rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.custom-header .page-center > .row-fluid-wrapper > .row-fluid:before, .custom-header .page-center > .row-fluid-wrapper > .row-fluid:after {
  content: none !important;
}

.custom-header .page-center {
  padding: 0 !important;
  max-width: 100% !important;
}

.custom-logo {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  line-height: 0;
}

/* =============== Content =============== */

.body-container-wrapper {}
.body-container-wrapper .page-center {
  padding-top: 50px;
  padding-bottom: 50px;
}
.body-container {}

.content-wrapper {}
.main-content {}
.sidebar{}
.sidebar.right{}
.sidebar.left{}


/* =============== Footer =============== */

.footer-container-wrapper {}
.footer-container {}
.custom-footer {
  padding: 0;
  background: #1C5C39; /* TUOMAS #00931d */
  color: #fff;
  overflow: hidden;
  clear: both;
  text-align: center;
}

.custom-footer .page-center { 
  background: #1C5C39 !important; /* TUOMAS #00931d */
  max-width: 600px !important;
  padding-bottom: 1rem;
  padding-top: 4rem;
}

.custom-ft-logo {
  margin: 6rem 0;
  text-align: center;
  line-height: 0.9;
}

.custom-ft-logo svg {
  width: 160px;
  height: 60px;
  fill: #fff !important;
  line-height: 0;
}

.custom-ft-logo svg * {
  fill: #fff !important;
}

.custom-ft-services {
  margin: 2rem 0 .2rem 0;
  text-align: center;
}

.links p {
  margin-bottom: 2.9rem;
  line-height: 1.78;
  color: #fff;
  margin-top: 0;
  white-space: pre-line;
}

.links h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 0.84em;
}

.links a {
  position: relative;
  cursor: pointer;
  -webkit-transition: 150ms linear background;
  -o-transition: 150ms linear background;
  transition: 150ms linear background;
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 30px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 1rem 2rem;
  border: 0;
  width: auto;
  font-size: 1rem;
  background-color: #f5ec00;
  color: #222;
  margin-left: .5rem;
  display: inline-block;
  margin-right: .5rem;
  text-decoration: none;
}

.footer-container-wrapper form.hs-form fieldset:nth-child(3) {
  margin: 1rem auto 2.8rem;
}

.custom-ft-icons {
  margin: 0;
  clear: both;
  list-style: none;
  padding: 4rem 0 3.8rem 20px;
  text-align: center;
}

ul.kuulu-somechannels {
  list-style: none;
  padding: 0;
  margin: 0;
}

li.channel {
  position: relative;
  border-radius: 50%;
  padding: 0;
  display: inline-block;
  margin-right: 2rem;
  background-color: #f5ec00;
  height: 4rem;
  width: 4rem;
  font-size: 16px;
  letter-spacing: -.003em;
  line-height: 1.68;
  vertical-align: middle;
}

li.channel a svg {
  fill: #00931d;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  text-decoration: none;
}

ul.locations {
  margin: 0;
  list-style: none;
  padding: 0;
  margin-top: 3.9rem;
}

li.location {
  padding: 0;
  text-align: center;
  width: 50%;
  float: left;
}

li.location h3 {
  text-transform: uppercase;
  margin: .5em 0;
  font-size: 22px;
  color: #fff;
  text-align: center;
  line-height: 1.68;
  letter-spacing: -.003em;
}

li.location p {
  line-height: 1.78;
  margin-bottom: 0;
  color: #fff;
  margin-top: 0;
  white-space: pre-line;
  font-size: 16px;
  letter-spacing: -.003em;
}

h2.ct-dtls a {
  color: #fff;
  text-align: center;
}

h2.ct-dtls {
  margin: 0;
  margin-top: 6rem;
}

.footer-container-wrapper .form-title {
  color: #fff;
  text-align: center;
  font-size: 32px;
  margin-bottom: 26.5px;
  margin-top: 27px;
}

/* ======= Footer Form ======== */

.footer-container-wrapper form.hs-form fieldset {
  max-width: none;
  border: 0;
  padding: 0;
  margin: 1rem auto;
  text-align: left;
}

.footer-container-wrapper form.hs-form fieldset .hs-form-field:nth-child(odd) {
  padding-left: 0;
  padding-right: 1rem;
}

.footer-container-wrapper form.hs-form fieldset .hs-form-field:nth-child(even) {
  padding-left: 1rem;
  padding-right: 0;
}

.footer-container-wrapper label {
  margin-bottom: .5rem;
  font-size: 16px;
  letter-spacing: -.003em;
  line-height: 1.68;
  display: inline-block;
}

.footer-container-wrapper .hs_viesti.hs-viesti.hs-fieldtype-textarea.field.hs-form-field {
  padding-right: 0;
}

.footer-container-wrapper input[type="text"],
.footer-container-wrapper input[type="password"],
.footer-container-wrapper input[type="datetime"],
.footer-container-wrapper input[type="datetime-local"],
.footer-container-wrapper input[type="date"],
.footer-container-wrapper input[type="month"],
.footer-container-wrapper input[type="time"],
.footer-container-wrapper input[type="week"],
.footer-container-wrapper input[type="number"], 
.footer-container-wrapper input[type="email"],
.footer-container-wrapper input[type="url"],
.footer-container-wrapper input[type="search"],
.footer-container-wrapper input[type="tel"],
.footer-container-wrapper input[type="color"],
.footer-container-wrapper input[type="file"],
.footer-container-wrapper textarea,
.footer-container-wrapper select {
  white-space: normal;
  display: block;
  width: 100%;
  vertical-align: middle;
  margin: 0;
  letter-spacing: -.003em;
  font-size: 16px;
  font-family: "Open Sans","Helvetica Neue",Helvetica,sans-serif;
  background: #fff;
  border: 1px solid #00931d;
  padding: 5px;
  line-height: 24px;
  -webkit-transition: background .55s;
  -o-transition: background .55s;
  transition: background .55s;
  text-decoration: none;
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-bottom: 0;
}

.footer-container-wrapper body .hs-form-field > label, 
.footer-container-wrapper .widget-type-google_search label,
.footer-container-wrapper li.hs-form-booleancheckbox label {
  display: block;
  letter-spacing: -.003em;
  line-height: 1.68;
  font-size: 16px;
  margin-bottom: .5rem;
  text-align: left;
}

.footer-container-wrapper .hs-form-required {
  color: #fff;
  margin-top: 0;
  white-space: pre-line;
}

.footer-container-wrapper form.hs-form .hs-form-field ul.inputs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-container-wrapper .hs-button.primary,
.footer-container-wrapper input[type="submit"],
.footer-container-wrapper input[type="button"] {
  text-decoration: none !important;
  white-space: normal;
  text-align: center;
  vertical-align: middle;
  line-height: 1.15;
  -webkit-appearance: none;
  position: relative;
  cursor: pointer;
  -webkit-transition: 150ms linear background;
  -o-transition: 150ms linear background;
  transition: 150ms linear background;
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 30px;
  text-transform: uppercase;
  border: 0;
  background: #00931d;
  width: auto;
  padding: 1.5rem 3rem;
  font-size: 1.6rem;
  background-color: #f5ec00;
  color: #222;
  display: block;
  margin: 0 auto;
}

.footer-container-wrapper ul.hs-error-msgs.inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-container-wrapper .hs-error-msgs label {
  color: red;
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 700;
  letter-spacing: -.003em;
  line-height: 1.68;
  font-size: 16px;
}

/* ==========================================================================
4. MAIN NAVIGATION                                            
========================================================================== */


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

/* Override max width on menu links */
.custom-menu-primary .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:960px) {
  .custom-menu-primary .hs-menu-wrapper,
  .custom-menu-primary .hs-menu-wrapper > ul ul { 
    display:block !important;
  }

  /* Parent List */
  .custom-menu-primary {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
  }

  .custom-menu-primary .hs-menu-wrapper {
    padding: 0.2rem 0 0.1rem;
    float: right;
  }

  .custom-menu-primary .hs-menu-wrapper > ul {
    letter-spacing: -.003em;
    line-height: 1.68;
    font-size: 16px;
    margin: 0;
    padding: 0;
    background: 0 0;
    position: relative;
    float: left;
    display: block;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: normal;
    direction: ltr;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li > a {
    text-decoration: none;
    position: relative;
    color: #333;
    font-size: 16px;
    padding: 10px 12px;
    font-weight: 700;
    font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
    text-transform: uppercase;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children > a:after {
    content: "5";
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(//cdn2.hubspot.net/hubfs/450584/Kuulu_December2018%20Theme/Images/chevron-down-dark.svg);
    height: 8px;
    width: 8px;
    color: transparent;
    display: inline-block;
    -webkit-transform: translate(50%, 5px);
    -ms-transform: translate(50%, 5px);
    transform: translate(50%, 5px);
    margin: 0 0 0 3px;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li > ul {
    text-align: left;
    display: block;
    background: #fff;
    padding-top: 14px;
    padding-bottom: .5rem;
    font-size: 16px;
    letter-spacing: -.003em;
    width: 19rem;
    -webkit-transform: translateY(-2em);
    -ms-transform: translateY(-2em);
    transform: translateY(-2em);
    z-index: -1;
    -webkit-transition: all .3s ease-in-out .3s,visibility .3s linear .3s,z-index 0s linear 10ms !important;
    -o-transition: all .3s ease-in-out .3s,visibility .3s linear .3s,z-index 0s linear 10ms !important;
    transition: all .3s ease-in-out .3s,visibility .3s linear .3s,z-index 0s linear 10ms !important;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li:hover > ul {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: 0s,0s,.3s !important;
    -o-transition-delay: 0s,0s,.3s !important;
    transition-delay: 0s,0s,.3s !important;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li > ul > li > a {
    text-decoration: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    font-weight: 700;
    font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
    text-transform: uppercase;
    padding: .8rem 1.5rem;
    font-size: 1.4rem;
    color: #333;
    display: block;
    white-space: normal !important;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li > ul > li > a:hover {
    color: #00931d;
  }
}


/* =============== Mobile Toggle Menu =============== */

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

@media (max-width: 959px){

  /* Menu Reset */
  .custom-menu-primary,
  .custom-menu-primary .hs-menu-wrapper > ul,
  .custom-menu-primary .hs-menu-wrapper > ul li,
  .custom-menu-primary .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:#fff;
  }

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

  .mobile-trigger{
    display: block !important;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 0;
    width: auto;
    height: auto;
    z-index: 99999;
    border-radius: 30px;
    -webkit-transition: 150ms linear background;
    -o-transition: 150ms linear background;
    transition: 150ms linear background;
    -webkit-transition-property: opacity,-webkit-filter;
    transition-property: opacity,-webkit-filter;
    -o-transition-property: opacity,filter;
    transition-property: opacity,filter;
    transition-property: opacity,filter,-webkit-filter;
    -webkit-transition-duration: .15s;
    -o-transition-duration: .15s;
    transition-duration: .15s;
    -webkit-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
    font: inherit;
    background: 0 0;
    padding: 2rem 2rem 2.5rem;
    -webkit-tap-highlight-color: transparent;
    border: 0;
    overflow: visible;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
  }
  .mobile-trigger:hover{
    background: #00470e;
    opacity: .8;
  }

  .mobile-open  .mobile-trigger:hover{
    opacity: 1;
  }

  /* Change button when menu is open */
  .mobile-open .mobile-trigger{
    background: #00470e;
    right: 10px;
  }

  /* 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{
    display: inline-block;
    height: .2rem;
    background-color: #333;
    border-radius: 0;
    width: 4rem;
    -webkit-transition-duration: .22s;
    -o-transition-duration: .22s;
    transition-duration: .22s;
    -webkit-transition-timing-function: cubic-bezier(.55,.055,.675,.19);
    -o-transition-timing-function: cubic-bezier(.55,.055,.675,.19);
    transition-timing-function: cubic-bezier(.55,.055,.675,.19);
  }
  .mobile-trigger i:before{ 
    top: -.8rem;
    -webkit-transition: top .1s .25s ease-in,opacity .1s ease-in;
    -o-transition: top .1s .25s ease-in,opacity .1s ease-in;
    transition: top .1s .25s ease-in,opacity .1s ease-in;
  }
  .mobile-trigger i:after{ 
    bottom: -.8rem;
    -webkit-transition: bottom .1s .25s ease-in,-webkit-transform .22s cubic-bezier(.55,.055,.675,.19);
    transition: bottom .1s .25s ease-in,-webkit-transform .22s cubic-bezier(.55,.055,.675,.19);
    -o-transition: bottom .1s .25s ease-in,transform .22s cubic-bezier(.55,.055,.675,.19);
    transition: bottom .1s .25s ease-in,transform .22s cubic-bezier(.55,.055,.675,.19);
    transition: bottom .1s .25s ease-in,transform .22s cubic-bezier(.55,.055,.675,.19),-webkit-transform .22s cubic-bezier(.55,.055,.675,.19);
  }

  .mobile-open .mobile-trigger i, .mobile-open .mobile-trigger i:before, .mobile-open .mobile-trigger i:after{
    background-color: #fff;
  }

  .mobile-open .mobile-trigger i {
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
    -webkit-transition-delay: .12s;
    -o-transition-delay: .12s;
    transition-delay: .12s;
    -webkit-transition-timing-function: cubic-bezier(.215,.61,.355,1);
    -o-transition-timing-function: cubic-bezier(.215,.61,.355,1);
    transition-timing-function: cubic-bezier(.215,.61,.355,1);
  }

  .mobile-open .mobile-trigger i:before {
    top: 0;
    opacity: 0;
    -webkit-transition: top .1s ease-out,opacity .1s .12s ease-out;
    -o-transition: top .1s ease-out,opacity .1s .12s ease-out;
    transition: top .1s ease-out,opacity .1s .12s ease-out;
  }

  .mobile-open .mobile-trigger i:after {
    bottom: 0;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transition: bottom .1s ease-out,-webkit-transform .22s .12s cubic-bezier(.215,.61,.355,1);
    transition: bottom .1s ease-out,-webkit-transform .22s .12s cubic-bezier(.215,.61,.355,1);
    -o-transition: bottom .1s ease-out,transform .22s .12s cubic-bezier(.215,.61,.355,1);
    transition: bottom .1s ease-out,transform .22s .12s cubic-bezier(.215,.61,.355,1);
    transition: bottom .1s ease-out,transform .22s .12s cubic-bezier(.215,.61,.355,1),-webkit-transform .22s .12s cubic-bezier(.215,.61,.355,1);
  }

  body.mobile-open {
    overflow: hidden;
  }

  /* ===== Mobile Child Toggle Buttons ===== */

  .child-trigger{
    display: block !important;
    cursor: pointer;
    margin: 0;
    letter-spacing: 1px;
    border-radius: 30px;
    text-transform: uppercase;
    -webkit-transition: 150ms linear background;
    -o-transition: 150ms linear background;
    transition: 150ms linear background;
    margin-bottom: 1rem;
    text-decoration: none;
    position: absolute;
    top: 0;
    margin-top: 0;
    left: auto;
    right: 2rem;
    width: 3.7rem;
    height: 3.7rem;
    overflow: hidden;
    font: bold 18px/37px monospace;
    text-align: center;
    background: #202020;
    color: #fff;
    padding: 0;
    z-index: 9999;
    border: 0;
  }
  .child-trigger:hover{
    background-color: #3e4853;
    color: #fff;
  }
  .child-trigger:before{
    content: '+';
  }  
  .child-trigger.child-open:before{
    display: block;
    content: '-';
  }

  /* ===== Mobile Menu Styles ===== */  

  .custom-menu-primary.js-enabled{
    position: static;
    padding-top: 61px;
    margin: 0;
    min-height: 0;
  }

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

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

  /* Mobile Menu Styles */ 
  .custom-menu-primary .hs-menu-wrapper{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    height: 100vh;
    overflow-y: auto !important;
    z-index: 9;
    background: #00931d;
  }

  /* Level 1 Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul {
    margin: 0;
    width: 100%;
    float: none;
    padding: 15% 0;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li{
    position: relative;
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: normal;
    direction: ltr;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    float: none !important;
    font-size: 16px;
    letter-spacing: -.003em;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li > a{
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 5%;
    padding-right: 5.8rem;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
    text-transform: uppercase;
    line-height: 1.7rem;
    text-decoration: none;
    position: relative;
    z-index: 0;
    display: block;
    outline: 0;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li > a:hover{
    color: #fff;
  }

  /* Level 2 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul  > li > ul {
    background: rgba(102,102,102,.1);
    line-height: normal;
    direction: ltr;
    text-align: left;
    margin: 0;
  }
  .custom-menu-primary .hs-menu-wrapper > ul  > li > ul > li{
    letter-spacing: -.003em;
    font-size: 16px;
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: normal;
    direction: ltr;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    padding-left: 1.5rem;
  }
  .custom-menu-primary .hs-menu-wrapper > ul  > li > ul > li > a{
    font-weight: 700;
    font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
    text-transform: uppercase;
    line-height: 1.7rem;
    text-decoration: none;
    position: relative;
    z-index: 0;
    display: block;
    outline: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 5%;
    padding-right: 5.8rem;
    color: #fff;
    font-size: 1.4rem;
  }

  .mobile-open .mobile-trigger:hover {
    opacity: .8;
  }
}

/* ==========================================================================
5. BLOG                                        
========================================================================== */



/* =============== General Blog Styles =============== */

/* Blog Post and Listing Body Class */
.blog {}

/* Blog Post */
.hs-blog-post {}

/* Blog Listing */
.hs-blog-listing {}

/* Blog Columns Wrapper */
.blog .content-wrapper {}


/* =============== Blog Content Column =============== */

.blog .blog-content {}

/* Use this to style the main wrapper for the blog listing pages */
.blog-listing-wrapper {}

/* Use this to style the main wrapper for the blog post pages */
.blog-post-wrapper {}

/* Blog Title */
.hs-blog-header h1 {}
.hs-blog-header h1 a{}

/* Blog Post Title */
.post-header h2 {}
.post-header h2 a {
  color: inherit;
  text-decoration: none !important;
}
span.filter-link-count {
  display: none;
}
/* Blog Author and Avatar */
#hubspot-author_data {}
#hubspot-author_data:after {
  content: '';
  display: block;
  clear: both;
}
#hubspot-author_data a.author-link {}
#hubspot-author_data .hs-author-avatar {
  max-width: 70px;
  padding: 10px 10px 10px 0;
}
#hubspot-author_data .hs-author-avatar img {
  height: auto !important;
  max-width: 100%;
}

/* Use this to set up different styling for your blog posts */
.blog .post-item {
  padding-right: 1rem;
  float: left;
  color: #fff;
  display: block;
  width: 50%;
  height: 300px;
  margin-bottom: 19.9px;
}

.blog .post-item > a {
  text-decoration: none;
}
.blog-listing-wrapper .post-listing .post-item .post-body {}
.blog-post-wrapper .post-body {}

/* Post Featured Image on Listings Page */
.hs-featured-image-wrapper {}
.hs-featured-image-wrapper .hs-featured-image-link {}
.hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image{
  border-width: 0;
  max-width: 210px;
  height: auto;
  width: auto;
  display: block !important;
  float: right;
  margin: 20px 0 20px 20px;
}

/* Read More Link */
a.more-link {
  display:block;
  margin:15px 0;
}

/* Blog Topics List */
#hubspot-topic_data {}
#hubspot-topic_data a.topic-link {}

/* Blog Social Sharing Icons */
.hs-blog-social-share {
  margin-top: 20px;
  padding: 10px 0 0 0;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  height: auto;
}
.body-container .hs-blog-social-share li{
  background: none;
  padding: 0;
}
#comment-form .hs_subscribe li {
  list-style: none;
  padding: 0;
}


/* Blog Commments */
#comments-listing {
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
  margin-top: 30px;
}

#comments-listing:before {
  content: "Leave a Reply ";
  display: block;
  font-size: 22px;
  color: #222;
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}

#comments-listing.no-comments {
  border: none;
}
.comment {
  margin: 10px 0;
  border-top: 1px solid #ccc;
  padding: 15px 0;
}
.comment.depth-0 {
  border-bottom: 1px solid #000 !important;
  border-top: medium none !important;
  margin: 0 10px 10px !important;
  padding: 0 15px !important;
}

.comment-body {
  border-bottom: medium none;
  color: ;
  display: block;
  font-family: ;
  font-size: ;
  line-height: ;
  padding: 0;
}

.comment-reply-to{
  margin-bottom: 15px;
}

.comment-from h4 {
  margin: 0;
  padding-top: 15px;
}

.comment-date {
  color:  !important;
  display: block !important;
  font-size: 13px;
  text-align: left;
}
.comment-from { font-weight: bold; }
.comment-body { padding: 10px 0; }
.custom_listing_comments{
  border: 1px solid #E2E2E2;
  display: block;
  line-height: 165%;
  padding: 15px;
  line-height:26.4px;
}

/* Pagination */
.blog-pagination {}
.blog-pagination a {
  display:inline-block;
  padding-right:7px;
}
.blog-pagination > div {
  display: inline-block;
}
.blog-pagination a.previous-posts-link {}
.blog-pagination a.all-posts-link {}
.blog-pagination a.next-posts-link {}

/* Blog All Posts Page */
.hs-content-path-blog-all {}
div.post-listing-simple {}
div.post-listing-simple .post-item {}
h2.post-listing-simple {}
h2.post-listing-simple a {}


/* =============== Blog Sidebar =============== */

.blog .blog-sidebar {}

/* Blog Modules */
.blog .blog-sidebar .widget-span {
  margin-bottom: 30px;
}

.blog .blog-sidebar .cell-wrapper{
  margin:0 0 30px;
}

/* %%%%%%% Blog Sidebar Heading %%%%%%% */
.blog .blog-sidebar .widget-span h1,
.blog .blog-sidebar .widget-span h2,
.blog .blog-sidebar .widget-span h3,
.blog .blog-sidebar .widget-span h4,
.blog .blog-sidebar .widget-span h5,
.blog .blog-sidebar .widget-span h6{
  font-size: ;
  line-height: ;
}

/* =============== Blog Author Page and Author Bio =============== */

/*Author Page*/
.hs-author-profile {
  margin-bottom: 20px;
}
.hs-author-profile h2.hs-author-name {}
.hs-author-profile .hs-author-bio {
  margin: 10px 0;
}
.hs-author-profile .hs-author-avatar {
  max-width: 75px;
  border-radius: 100%;
}
.hs-author-profile .hs-author-avatar img {
  border-radius: 100%;
}
h3.hs-author-listing-header {}

/* =============== Blog Listing Page =============== */
.post-item-inner {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
  box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
  overflow: hidden;
}

h2.post-header {
  right: 1rem;
  color: #fff;
  z-index: 2;
  margin: 0;
  position: absolute;
  left: 3rem;
  -webkit-hyphens: unset;
  -ms-hyphens: unset;
  hyphens: unset;
  font-size: 32px;
  bottom: 6rem;
}

.hs-featured-image-wrapper {
  margin-bottom: 1rem;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

img.hs-featured-image {
  vertical-align: middle;
  max-width: 100%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  -ms-interpolation-mode: bicubic;
  float: none;
  margin: 0;
}

.hs-featured-image-wrapper:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.3);
  position: absolute;
}

.blog .page-center.content-wrapper {
  background: #f5f5f5 !important;
  padding-top: 0;
}

p.cm-topic {
  letter-spacing: -.003em;
  margin-top: 2.9rem;
  margin-bottom: 0;
  padding-right: 1rem;
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 3rem;
  height: 3rem;
  bottom: 0;
  left: 0;
  background-color: #fff;
  color: #00931d;
  text-align: right;
  text-transform: uppercase;
  position: absolute;
  z-index: 2;
  width: 100%;
}

.blog .post-item:nth-child(even) {
  padding-left: 1rem;
  padding-right: 0;
}

.blog-pagination {
  margin: 10px 0;
  display: block;
}

a.next-posts-link {
  display: block;
  margin: 8px 0 0;
}

.custom-post-wrapper {
  box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
  margin-bottom: 1.5%;
  padding: 2em;
  background-color: #00931d;
  border-radius: 0;
}

.custom-post-wrapper h3 {
  font-size: 1.4vw;
  margin: .5em 0;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

.custom-post-wrapper ul {
  margin: 4rem 0 0;
  padding: 0;
  text-align: center;
  list-style-type: none;
}

.custom-post-wrapper ul li {
  display: inline-block;
  margin: 0 .2em;
  padding: 0;
  letter-spacing: -.003em;
  line-height: 1.68;
  font-size: 16px;
}

.custom-post-wrapper ul li a {
  text-decoration: none;
  position: relative;
  cursor: pointer;
  -webkit-transition: 150ms linear background;
  -o-transition: 150ms linear background;
  transition: 150ms linear background;
  font-family: "Open Sans","Helvetica Neue",Helvetica,sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 17px;
  text-transform: uppercase;
  line-height: 1.68;
  border: 0;
  width: auto;
  display: inline-block;
  color: #00931d;
  font-size: 1.4rem;
  padding: .5rem 2rem;
  margin-bottom: 1.2rem;
  background-color: #fff;
}

/* =============== Blog Post Page =============== */

.entry-meta {
  background-color: #fff;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
  box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
  overflow: visible!important;
  margin: 0;
  padding: 2em 2em 0 2em;
  position: relative;
  text-align: center;
}

p.cm-post-topic {
  letter-spacing: -.003em;
  font-size: 16px;
  left: 0;
  right: 0;
  top: -18px;
  z-index: 2;
  position: absolute;
  line-height: 1.2;
  margin: 0;
}

p.cm-post-topic a {}

a.topic-link {
  font-size: 1.2rem;
  background: #00931d;
  color: #fff;
  border: 0;
  width: auto;
  display: inline-block;
  padding: 1rem 1.8rem;
  margin-bottom: 1rem;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  -webkit-transition: 150ms linear background;
  -o-transition: 150ms linear background;
  transition: 150ms linear background;
  font-family: "Open Sans","Helvetica Neue",Helvetica,sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 10px;
  text-transform: uppercase;
}

.entry-meta img {
  -ms-interpolation-mode: bicubic;
  height: auto;
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
  border-radius: 50%;
  margin-right: 3em;
  width: 80px;
  height: 80px;
}

.post-info {
  display: inline-block;
}

p.byline.author.vcard {
  letter-spacing: -.003em;
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 400;
  color: #00931d;
}

p.byline.author.vcard a {
  text-decoration: none;
}

p.entry-time {
  letter-spacing: -.003em;
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 400;
}

.hs-blog-post hr {
  display: none;
}

.blog-post-wrapper .post-body {
  background-color: #fff;
  border-radius: 6px;
  -webkit-box-shadow: 0 1.5px 1px 0 rgba(0,0,0,.2);
  box-shadow: 0 1.5px 1px 0 rgba(0,0,0,.2);
  margin-bottom: 3%;
  padding: 1em;
  position: relative;
}

/* ==========================================================================
6. FORMS                                        
========================================================================== */


/* =============== Global Form Styles =============== */

.hs_recaptcha {
  margin: 15px 0;
}
.form-title:empty {
  display: none;
}

/* Form Field */
.hs-form-field {}

/* Descriptions */
.hs-field-desc {}

/* Labels and Legends */
label {}
body .body-container-wrapper .hs-form-field > label,
.body-container-wrapper .widget-type-google_search label,
.body-container-wrapper li.hs-form-booleancheckbox label {
  display: block;
  margin-bottom: 4px;
  margin-bottom: .5rem;
  letter-spacing: -.003em;
  line-height: 1.68;
  color: #222;
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 700;
}

/* One Line Inputs */
.body-container-wrapper input[type="text"],
.body-container-wrapper input[type="password"], 
.body-container-wrapper input[type="datetime"], 
.body-container-wrapper input[type="datetime-local"], 
.body-container-wrapper input[type="date"], 
.body-container-wrapper input[type="month"], 
.body-container-wrapper input[type="time"], 
.body-container-wrapper input[type="week"], 
.body-container-wrapper input[type="number"], 
.body-container-wrapper input[type="email"], 
.body-container-wrapper input[type="url"], 
.body-container-wrapper input[type="search"], 
.body-container-wrapper input[type="tel"], 
.body-container-wrapper input[type="color"],
.body-container-wrapper input[type="file"],
.body-container-wrapper textarea,
.body-container-wrapper select {
  white-space: normal;
  display: inline-block;
  width: 100%;
  background-color: #fff;
  margin-bottom: 10px;
  vertical-align: middle;
  letter-spacing: -.003em;
  font-size: 19px;
  font-family: "Open Sans","Helvetica Neue",Helvetica,sans-serif;
  background: #fff;
  border: 1px solid #00931d;
  padding: 5px;
  line-height: 24px;
  -webkit-transition: background .55s;
  -o-transition: background .55s;
  transition: background .55s;
  text-decoration: none;
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  max-width: 700px;
}
.body-container-wrapper input[type="search"] {
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="password"]:focus, 
input[type="datetime"]:focus, 
input[type="datetime-local"]:focus, 
input[type="date"]:focus, 
input[type="month"]:focus, 
input[type="time"]:focus, 
input[type="week"]:focus, 
input[type="number"]:focus, 
input[type="email"]:focus, 
input[type="url"]:focus, 
input[type="search"]:focus, 
input[type="tel"]:focus, 
input[type="color"]:focus,
input[type="file"]:focus,
textarea:focus,
select:focus {
  background: #dfdfdf;
  border-color: #222;
  outline: 0;
}

.body-container-wrapper .form-title {
  font-size: 2vw;
}

/* Separate Styles for Multiple Line Inputs */
textarea {}
textarea:focus {}

/* Separate Styles for Drop Downs */
select {}
select:focus {}

/* Multiple Selection Inputs */
.body-container-wrapper form.hs-form .hs-form-field ul.inputs-list {
  list-style: none;
  padding: 0;
}
.body-container-wrapper form.hs-form .hs-form-field ul.inputs-list li input {}
input[type="radio"] {}
input[type="checkbox"] {}

/* Required */
input:focus:required:invalid, 
textarea:focus:required:invalid, 
select:focus:required:invalid {}

input:focus:required:invalid:focus, 
textarea:focus:required:invalid:focus, 
select:focus:required:invalid:focus {}

.body-container-wrapper .hs-form-required {
  color: #222;
}

/* Error */
.body-container-wrapper .hs-error-msgs label{
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 700;
  letter-spacing: -.003em;
  line-height: 1.68;
  color: red;
  font-size: 16px;
}
.body-container-wrapper ul.hs-error-msgs.inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-input.invalid.error {
}

/* Placeholder Text */
::-webkit-input-placeholder {} /* Webkit Browsers */
:-moz-placeholder {} /* Firefox 18- */
::-moz-placeholder {} /* Firefox 19+ */
:-ms-input-placeholder {} /* IE10 */


/* =============== Multi Column Form =============== */

.hs-form fieldset.form-columns-1 {}
.hs-form fieldset.form-columns-1 .hs-form-field {}
.hs-form fieldset.form-columns-2 {}
.hs-form fieldset.form-columns-2 .hs-form-field {}
.hs-form fieldset.form-columns-3 {}
.hs-form fieldset.form-columns-3 .hs-form-field {}

/* Multiple Selection Inputs */
form.hs-form .hs-form-field ul.inputs-list li input {}
input[type="radio"] {}
input[type="checkbox"] {}
form.hs-form fieldset { max-width: none; }
form.hs-form fieldset .hs-form-field { padding: 0 10px 0 0; }
form.hs-form fieldset[class*="form-columns"] .input { margin-right: 0; }
form.hs-form fieldset[class*="form-columns"] .hs-input { width: 100%; }
form.hs-form fieldset[class*="form-columns"] .hs-input[type="checkbox"] { width: auto; }
form.hs-form fieldset.form-columns-3 .hs-form-field { width: 33.33%; }

@media (max-width: 400px) {
  form.hs-form fieldset .hs-form-field { padding: 0; }
  form.hs-form fieldset.form-columns-3 .hs-form-field,
  form.hs-form .form-columns-2 .hs-form-field .hs-input, 
  form.hs-form .form-columns-3 .hs-form-field .hs-input { width: 100%; }
  form.hs-form .form-columns-3 .hs-form-field .hs-input[type="checkbox"] { width: auto; }
}


/* =============== Blog Comment Form =============== */

/* Label */
#comment-form .hs-form-field > label {}
#comment-form label {}

/* Inputs */
#comment-form input[type="submit"] {
  margin-top: 15px;
}
#comment-form input[type="text"] {}
#comment-form input[type="text"]:focus {}

#comment-form textarea {}
#comment-form textarea:focus {}

#comment-form input[type="checkbox"] {}


/* =============== Blog Subscription Form =============== */

/* Label */
#hs_form_target_blog_subscription .hs-form-field > label {}
#hs_form_target_blog_subscription label {}.

.section.post-footer .hs_subscribe.hs-subscribe label {

}

/* Inputs */
#hs_form_target_blog_subscription input[type="email"] {}
#hs_form_target_blog_subscription input[type="email"]:focus {}
#hs_form_target_blog_subscription input[type="radio"], #hs_form_target_blog_subscription input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

/* =============== Google Search Form =============== */

/* Label */
.widget-type-google_search label {}

/* Input */
.widget-type-google_search input[type="text"] {}
.widget-type-google_search input[type="focus"] {}


/* ==========================================================================
7. BUTTONS                                        
========================================================================== */


/* =============== All Global Buttons (Excluding CTAs) =============== */

.body-container-wrapper .hs-button.primary,
.body-container-wrapper input[type="submit"],
.body-container-wrapper input[type="button"] {
  text-decoration: none !important;
  display: inline-block;
  white-space: normal;
  margin-top: 10px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.15;
  -webkit-appearance: none;
  position: relative;
  cursor: pointer;
  -webkit-transition: 150ms linear background;
  -o-transition: 150ms linear background;
  transition: 150ms linear background;
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 30px;
  text-transform: uppercase;
  background: #00931d;
  color: #fff;
  border: 0;
  padding: 1.5rem 3rem;
  font-size: 1.6rem;
}

.body-container-wrapper .hs-button.primary:hover,
.body-container-wrapper input[type="submit"]:hover,
.body-container-wrapper input[type="button"]:hover {
  color: #fff;
  background: #00470e;
}

.body-container-wrapper .hs-button.primary:focus,
.body-container-wrapper input[type="submit"]:focus,
.body-container-wrapper input[type="button"]:focus {
  color: #fff;
  background: #00470e;
  outline: 4px solid #f9bf47;
  opacity: 1;
}


/* =============== Form Module Button =============== */

.hs_cos_wrapper_type_form .hs-button.primary.large {}
.hs_cos_wrapper_type_form .hs-button.primary.large:hover {}
.hs_cos_wrapper_type_form .hs-button.primary.large:focus {}


/* =============== Blog Comment Button =============== */

#add-comment-button.hs-button.primary {}
#add-comment-button.hs-button.primary:hover {}
#add-comment-button.hs-button.primary:focus {}


/* =============== Blog Subscription Button =============== */

#hs_form_target_blog_subscription .hs-button.primary.large {}
#hs_form_target_blog_subscription .hs-button.primary.large:hover {}
#hs_form_target_blog_subscription .hs-button.primary.large:focus {}


/* =============== Google Search Button =============== */

.widget-type-google_search .hs-button.primary {}
.widget-type-google_search .hs-button.primary:hover {}
.widget-type-google_search .hs-button.primary:focus {}


/* ==========================================================================
8. MISCELLANEOUS                                      
========================================================================== */


.landing-page.one-column .body-container form, 
.password-template.one-column .body-container form, 
.subscription-template.one-column .body-container form{
  width: 50%;
}
.hs-menu-wrapper.hs-menu-flow-vertical > ul{
  padding:0 0 15px; 
}

.hs-search-field__bar{
  max-width: 600px;
}
/* clears the 'X' from Internet Explorer */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }

/* clears the 'X' from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

/*Form Background Styling*/

/*.hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_google_search,
.widget-type-blog_subscribe,
.widget-span.widget-type-form,
.landing-page.one-column .body-container .widget-type-form,
.error-template .body-container .hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_google_search,
.password-template .body-container form,
.subscription-template .body-container .widget-type-email_simple_subscription form,
.section.post-footer form,
.hs-search-field__bar{
display:block;
margin-bottom: 30px;
}

.landing-page.one-column .body-container .widget-type-form,
.error-template .body-container .hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_google_search,
.password-template .body-container form,
.subscription-template .body-container .widget-type-email_simple_subscription form{
width: 50%;
}*/

/* Styles that do not fit into any of the available sections above can go here. */

#recaptcha_area,#recaptcha_table {
  width: 318px !important;
  overflow-x: auto !important;
  max-width: 100% !important
}

.hs_recaptcha.hs-recaptcha.hs-form-field {
  width: 100%;
  overflow: hidden;
  overflow-x: auto
}

#recaptcha_area,#recaptcha_table {
  width: 318px !important;
  overflow-x: auto !important;
  max-width: 100% !important
}
#recaptcha_area,#recaptcha_table {
  width: 318px !important;
  overflow-x: auto !important;
  max-width: 100% !important;
}

.lp .mobile-trigger {
  display: none !important;
}

.lp .custom-menu-primary {
  display: none !important;
}

.links a:hover {
  color: #f5ec00;
  background: #00470e;
}

h2.ct-dtls a:hover {
  color: #f5ec00;
}

.footer-container-wrapper .hs-button.primary:hover,
.footer-container-wrapper input[type="submit"]:hover {
  color: #fff;
  background: #00470e;
  text-shadow: none;
}

a#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #222;
  width: 50px;
  height: 50px;
  text-decoration: none;
  -webkit-transition: opacity .3s 0s,visibility 0s .3s;
  -o-transition: opacity .3s 0s,visibility 0s .3s;
  transition: opacity .3s 0s,visibility 0s .3s;
  z-index: 10000;
  color: #fff;
}

a#back-to-top svg {
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  position: absolute;
  fill: #fff;
  margin: 0;
  opacity: .8;
  font-size: 19px;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

a#back-to-top:hover svg {
  fill: #fff;
  top: 35%;
}
a#back-to-top:hover {
  background: #00931d;
}

.banner-area {
  margin-bottom: 2rem;
  width: 100%;
  padding: 0;
}

.hero-container {
  max-width: 100%;
  margin: 0 auto;
  background-position: center;
  background-color: #fff;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  border-radius: 2px;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 35vh;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 60vh;
}

.banner-image {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-color: #444;
}

.hero-container:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.3);
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

h1.banner-title {
  position: relative;
  z-index: 2;
  color: #fff;
  margin: 0 1em 1em 1em;
  padding: 0 2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  border-bottom: 4px solid #fff;
  font-size: 36px;
}

h2.banner-subtitle {
  position: relative;
  z-index: 2;
  color: #fff;
  margin: 0 1em 1em 1em;
  font-size: 70px;
  margin-bottom: 2.5rem;
}

.page-center.blog-bg {
  padding-top: 1rem;
  background: #f5f5f5 !important;
}

.hero-container-post {
  max-width: 100%;
  margin: 0 auto;
  background-position: center;
  background-color: #fff;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  border-radius: 2px;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 35vh;
  min-height: 400px;
  text-align: center;
}

h1.banner-title-post {
  position: relative;
  z-index: 2;
  color: #fff;
  margin: 0 1em 1em 1em;
  margin-bottom: 2.5rem;
}

.blog.hs-blog-post .post-item:nth-child(even) {
  padding-left: 0;
  padding-right: 1rem;
}

.blog.hs-blog-post .post-item {
  padding-left: 1rem;
}

.related-title {
  background-color: #fff;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
  box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
  margin-bottom: 2.5%;
  padding: 1em;
}

.related-title h4 {
  font-size: 1.4vw;
  margin: .5em 0;
  text-align: center;
  text-transform: uppercase;
}

.section.post-footer {
  background-color: #fff;
  border-radius: 6px;
  -webkit-box-shadow: 0 1.5px 1px 0 rgba(0,0,0,.2);
  box-shadow: 0 1.5px 1px 0 rgba(0,0,0,.2);
  margin-bottom: 5%;
  padding: 1em;
  position: relative;
}

img.avatar-av {
  vertical-align: top;
  display: inline-block;
  border-radius: 50%;
  margin-right: 3em;
  margin-left: 3em;
  height: auto;
  max-width: 100%;
}

.page-header.entry-meta {
  background-color: #fff;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
  box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
  text-align: center;
  padding: 40px;
  padding: 4rem;
  margin-bottom: 3%;
}

h2.byline.author.vcard {
  font-family: Raleway,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 400;
  color: #00931d;
  margin: 0 0 .5rem 0;
  font-size: 1.4vw;
}

h2.byline.author.vcard a {
  text-decoration: none;
}

.page-header.entry-meta ul.kuulu-somechannels {
  margin: 1rem 0 0 0;
}

.page-header.entry-meta li.channel {
  margin-right: 0;
  width: 3rem;
  height: 3rem;
  background-color: #00931d;
}

.page-header.entry-meta li.channel a svg {
  fill: #fff;
}

.blog.hs-blog-post .custom-post-wrapper {
  display: none !important;
}

.blog.hs-blog-post .custom-post-wrapper-post {
  display: block !important;
  background-color: #fff;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
  box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
  margin-bottom: 1.5%;
  padding: 1em;
}

.blog.hs-blog-listing .custom-post-wrapper {
  display: block !important;
}

.blog.hs-blog-listing .custom-post-wrapper-post {
  display: none !important;
}

.blog.hs-blog-post .custom-post-wrapper-post h3 {
  font-size: 1.4vw;
  margin: .5em 0;
  text-align: center;
  text-transform: uppercase;
}

.blog.hs-blog-post .custom-post-wrapper-post ul {
  margin: 4rem 0 0;
  padding: 0;
  text-align: center;
  list-style-type: none;
  letter-spacing: -.003em;
  line-height: 1.68;
  font-size: 16px;
}

.blog.hs-blog-post .custom-post-wrapper-post ul li {
  letter-spacing: -.003em;
  line-height: 1.68;
  font-size: 16px;
  display: inline-block;
  margin: 0 .2em;
  padding: 0;
}

.blog.hs-blog-post .custom-post-wrapper-post ul li a {
  text-decoration: none;
  position: relative;
  cursor: pointer;
  -webkit-transition: 150ms linear background;
  -o-transition: 150ms linear background;
  transition: 150ms linear background;
  font-family: "Open Sans","Helvetica Neue",Helvetica,sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 17px;
  text-transform: uppercase;
  margin-bottom: .8rem;
  padding: .3rem 1.4rem;
  font-size: 1.2rem;
  color: #00931d;
  background-color: #fff;
  border: 0;
  width: auto;
  display: inline-block;
}

a#back-to-top.fade-bck {
  opacity: .3;
}

a#back-to-top.fade-bck:hover {
  background: #00931d;
  opacity: 1;
}

.footer-container-wrapper form.hs-form fieldset:first-of-type {
  margin: 1rem auto 1.3rem;
}

.footer-container-wrapper .form-title {
  font-size: 2vw;
  margin-bottom: 32.2px;
  margin-top: 32.5px;
}

/* ==========================================================================
9. MEDIA QUERIES                              
========================================================================== */

@media (min-width: 480px) {
  .blog-post-wrapper .post-body {
    padding: 1em 3em;
  }

  .page-header.entry-meta .post-info {
    text-align: left;
  }

  img.avatar-av {
    width: 120px;
    margin-left: 0;
  }

  body .body-container-wrapper .hs-form-field > label,
  .body-container-wrapper .widget-type-google_search label,
  .body-container-wrapper li.hs-form-booleancheckbox label {
    font-size: 16px;
  }

  .body-container-wrapper input[type="text"],
  .body-container-wrapper input[type="password"],
  .body-container-wrapper input[type="datetime"],
  .body-container-wrapper input[type="datetime-local"],
  .body-container-wrapper input[type="date"],
  .body-container-wrapper input[type="month"],
  .body-container-wrapper input[type="time"],
  .body-container-wrapper input[type="week"],
  .body-container-wrapper input[type="number"],
  .body-container-wrapper input[type="email"],
  .body-container-wrapper input[type="url"],
  .body-container-wrapper input[type="search"],
  .body-container-wrapper input[type="tel"],
  .body-container-wrapper input[type="color"],
  .body-container-wrapper input[type="file"],
  .body-container-wrapper textarea,
  .body-container-wrapper select {
    font-size: 16px;
  }
}

@media (min-width: 770px) {
  .container-fluid .row-fluid .page-center {
    max-width: 700px;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .blog-post-wrapper .post-body {
    margin-bottom: 1.5%;
    padding: 2em 6em;
  }

  .related-title {
    padding: 2em;
  }

  .page-header.entry-meta {
    padding: 4rem 10rem;
    margin-bottom: 1.5%;
  }

  .blog.hs-blog-post .custom-post-wrapper-post {
    padding: 2em;
  }

  .blog.hs-blog-post .custom-post-wrapper-post ul li a {
    font-size: 1.4rem;
    padding: .5rem 2rem;
    margin-bottom: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .container-fluid .row-fluid .page-center {
    max-width: 900px;
  }

  .blog-post-wrapper .post-body {
    padding: 2em 12em;
  }
}

@media (min-width: 1200px) {
  .container-fluid .row-fluid .page-center {
    max-width: 960px;
  }
}

@media (min-width: 1400px) {
  h5 {
    font-size: 14px;
  }
}

@media (min-width: 1500px){
  h6 {
    font-size: 18px;
  }

  li.location h3 {
    font-size: 1.4vw;
  }

  .custom-ft-icons {
    padding: 4rem 0 3.5rem 20px;
  }
}

@media (min-width: 1599px){
  .footer-container-wrapper .form-title {
    font-size: 2vw;
    margin-bottom: 32.2px;
    margin-top: 32.5px;
  }
}

/* =============== Screen sizes smaller than .page-center =============== */

@media (max-width: 1600px) {
  h2 {
    font-size: 32px;
  }

  .related-title h4 {
    font-size: 22px;
  }

  .custom-post-wrapper h3 {
    font-size: 22px;
  }

  .blog.hs-blog-post .custom-post-wrapper-post h3 {
    font-size: 22px;
  }

  .body-container-wrapper .form-title {
    font-size: 32px;
  }
}

@media (max-width: 1500px) {
  h3 {
    font-size: 18px;
  }
}

@media (max-width: 1456px) {
  h4 {
    font-size: 16px;
  }
}

@media (max-width: 1438px) {
  h1 {
    font-size: 46px;
  }

  h2.byline.author.vcard {
    font-size: 20px;
  }
}

@media (max-width: 1167px) {
  h5 {
    font-size: 14px;
  }
}

@media (max-width: 1023px) {
  h2.post-header {
    font-size: 24px;
    left: 3rem;
    -webkit-hyphens: unset;
    -ms-hyphens: unset;
    hyphens: unset;
  }
}

@media (max-width: 1000px) {
  h6 {
    font-size: 10px;
  }
}

/* =============== Landscape tablet and smaller devices =============== */

@media (max-width: 767px) {
  .landing-page.one-column .body-container form,  
  .password-template.one-column .body-container form, 
  .subscription-template.one-column .body-container form{
    width: 100%;
  }

  .hs-search-field__bar{
    max-width: 100%;
  }

  /*.landing-page.one-column .body-container .widget-type-form,
  .error-template .body-container .hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_google_search,
  .password-template .body-container form,
  .subscription-template .body-container .widget-type-email_simple_subscription form{
  width: 100%;
}*/
  .subscribe-options label{
    margin:0;
  }
  .hs-form {
    margin-bottom: 30px
  }
  #comment-form .hs-form {
    margin-bottom: 0;
  }
  .blog-sidebar {
    padding-top: 30px;
  }
  .hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {
    max-width: 100%;
    float: none;
    display: block !important;
    margin: 20px 0;
  }   

  .blog .post-item {
    padding-right: 0 !important;
    padding-left: 0 !important;
    width: 100%;
    float: none !important;
  }

  h2.post-header {
    right: 1rem;
    color: #fff;
    z-index: 2;
    font-size: 18px;
    left: 2rem;
    bottom: 5rem;
    margin: 0;
    position: absolute;
  }

  h2.banner-subtitle {
    font-size: 32px;
  }

  h1.banner-title {
    font-size: 24px;
  }

  .custom-ft-form form.hs-form fieldset .hs-form-field {
    padding: 0;
    text-align: left;
  }

  .custom-ft-form .hs-form-field {
    width: 100% !important;
    float: none !important;
    text-align: left !important;
  }

  .custom-ft-form .hs_firstname.hs-firstname.hs-fieldtype-text.field.hs-form-field {
    margin-bottom: 1rem;
  }

  .custom-ft-form .hs_email.hs-email.hs-fieldtype-text.field.hs-form-field {
    margin-bottom: 1rem;
  }

  .custom-ft-form label {
    font-size: 19px;
    letter-spacing: -.003em;
    line-height: 1.68;
    margin-bottom: .5rem;
    display: inline-block;
  }

  #email-prefs-form .email-edit {
    max-width: 100% !important;
  }

  h2.ct-dtls {
    margin: 0;
    margin-top: 3rem;
  }

  .custom-ft-form form.hs-form fieldset .hs-form-field {
    padding: 0 !important;
  }

  .footer-container-wrapper input[type="text"],
  .footer-container-wrapper input[type="password"],
  .footer-container-wrapper input[type="datetime"],
  .footer-container-wrapper input[type="datetime-local"],
  .footer-container-wrapper input[type="date"],
  .footer-container-wrapper input[type="month"],
  .footer-container-wrapper input[type="time"],
  .footer-container-wrapper input[type="week"],
  .footer-container-wrapper input[type="number"],
  .footer-container-wrapper input[type="email"],
  .footer-container-wrapper input[type="url"], 
  .footer-container-wrapper input[type="search"], 
  .footer-container-wrapper input[type="tel"],
  .footer-container-wrapper input[type="color"],
  .footer-container-wrapper input[type="file"], 
  .footer-container-wrapper textarea,
  .footer-container-wrapper select {
    width: 100% !important;
  }
}  

@media (max-width: 760px) {
  .page-center.blog-bg {
    padding-top: .5rem;
  }
}

/* =============== Landscape phones and smaller devices =============== */
@media (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  .custom-ft-form label {
    font-size: 19px !important;
  }
}

@media (max-width: 479px) {
  p.cm-post-topic{
    top: -34px;
    position: relative;
  }
  p.byline.author.vcard {
    font-size: 19px;
  }

  p.entry-time {
    font-size: 19px;
  }
  .entry-meta{
        padding: 1em 2em 0 2em;
  }
  .body-container-wrapper {
    font-size: 19px;
    letter-spacing: -.003em;
    line-height: 1.78;
  }
}


@media (max-width: 322px) {
  .custom-ft-logo {
    margin: 6rem 0 5.5rem;
    text-align: center;
    line-height: 0.9;
  }

  .links h2 {
    margin-bottom: 0.83em;
  }

  li.channel {
    vertical-align: unset;
  }

  .custom-ft-icons {
    padding: 4rem 0 3.7rem;
  }

  li.channel:last-of-type {
    margin-right: 0;
    margin-top: 6px;
  }

  .footer-container-wrapper form.hs-form fieldset:nth-child(3) {
    margin: 1rem auto 2.9rem;
  }

  .footer-container-wrapper form.hs-form fieldset:first-of-type {
    margin: 1rem auto 1.2rem;
  }
}