/* ==========================================================================
   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 =============== */

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

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

@font-face {
   font-family: "FontAwesome";
   font-style: normal;
   font-weight: normal;
   src: url("//cdn2.hubspot.net/hubfs/3926179/Smartkarma-Feb2018/Fonts/FontAwesome/fontawesome-webfont.eot") format("embedded-opentype"), 
   url("//cdn2.hubspot.net/hubfs/3926179/Smartkarma-Feb2018/Fonts/FontAwesome/fontawesome-webfont.woff") format("woff"), 
   url("//cdn2.hubspot.net/hubfs/3926179/Smartkarma-Feb2018/Fonts/FontAwesome/fontawesome-webfont.ttf") format("truetype");
}

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

body {
    background: #fff;
    color: #3a3a3c;
    line-height: 26px;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    font-family: Roboto,'Helvetica Neue',Arial,sans-serif;
}

/* Page Center */
.container-fluid .row-fluid .page-center {
  float: none;
  max-width: 1425px;
  margin: 0 auto;
}

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


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

/* Basic text */
p {
    padding-bottom: 27px;
    margin: 0;
    -webkit-font-smoothing: subpixel-antialiased;
}
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: #444;
    letter-spacing: 0px;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    font-family: Roboto;
    font-weight: 600;
    margin: 0 0 15px;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {}

h1 {
    font-weight: 300;
    font-size: 54px;
    line-height: 62px;
    color: #24a9a7;
}
h2 {
    font-weight: 300;
    font-size: 34px;
    line-height: 44px;
    color: #24a9a7;
}
h3 {
    font-weight: 400;
    font-size: 22px;
    line-height: 34px;
}
h4 {
    font-size: 18px;
    line-height: 32px;
}
h5 {
    font-size: 16px;
    line-height: 26px;
}
h6 {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}

/* Anchor Links */
a {
    color: #24a9a7;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
    -moz-transition: color 0.2s;
    -webkit-transition: color 0.2s;
}
a:hover, a:focus { color: #676767; }

/* Lists */
ul, ol {}
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-wrapper {
    padding: 28px 28px 0;
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.22);
    -moz-box-shadow: 0 0 3px 0 rgba(0,0,0,0.22);
    -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.22);
    background-color: rgba(255,255,255,100);
    width: 100% !important;
    left: 0px;
    top: 0;
    z-index: 11;
    position: absolute;
}

.custom-logo img {
    transition: opacity 0.4s ease;
    width: 158px;
}

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

.header-show .custom-header-wrapper {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    border-color: rgba(255,255,255,0);
    position: fixed;
    z-index: 99;
    -webkit-transition: all .3s; 
    -moz-transition: all .3s; 
    -o-transition: all .3s; 
    transition: all .3s; 
}


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

.body-container-wrapper {}

.body-container {
    margin-bottom: 384px;
    position: relative;
    z-index: 2;
    background-color: #fff;
}
.body-container .page-center {
    padding: 60px 90px;
}

.body-container .custom-banner {
    background-position: left top;
    background-repeat: no-repeat;
    background-color: rgb(51, 51, 51);
    height: 47.5vw;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    display: table;
    width: 100%;
    position: relative;
    padding-top: 85px;
    margin-top: -1px;
    min-height: 351px !important;
}

.custom-inner-banner .page-center {
    padding-top: 0;
    padding-bottom: 0;
}

.custom-inner-banner {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    z-index: 3;
    position: relative;
}

.custom-banner:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: ' ';
    z-index: 2;
    background-color: #012f36;
    opacity: 0.8;
}

.custom-banner-inner-wrapper {
    margin-bottom: 24px;
}

.custom-banner-inner-wrapper h2 {
    font-size: 34px;
    line-height: 44px;
    margin-bottom: 7px;
    color: #fff;
    font-family: Roboto;
    font-weight: 300;
    letter-spacing: 0px;
    -webkit-font-smoothing: antialiased;
}

.custom-banner-inner-wrapper h1 {
    color: #fff;
    margin-bottom: 0;
    font-family: Roboto;
    font-weight: 300;
    letter-spacing: 0px;
    -webkit-font-smoothing: antialiased;
    font-size: 54px;
    line-height: 62px;
}

.custom-banner p {
    font-size: 22px;
    line-height: 34px;
    color: #ffffff;
    text-align: left;
    font-family: Roboto;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 8px;
    letter-spacing: 0px;
    -webkit-font-smoothing: antialiased;
    color: #fff;
    padding: 0;
}

.custom-banner-content {
    padding-left: 2%;
    width: 82.97872339599999%;
}

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


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

.footer-container-wrapper {}
.footer-container {}

.custom-js {
    min-height: 0 !important;
}

.custom-bottom-footer-wrapper {
    padding: 20px 0px;
    font-size: 12px;
    color: #777;
    background-color: #1f1f20;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.custom-footer-wrapper .page-center {
    padding: 0 90px;
}

.custom-copyright p {
    padding-bottom: 0px;
    color: #999999;
    line-height: 22px;
    margin-top: 3px;
}

ul#social {
    float: right;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul#social li {
    float: left;
    margin-left: 20px;
}

ul#social li a {
    display: block;
    line-height: 22px;
    height: 24px;
    position: relative;
    transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    background-position: center top;
    color: #ffffff;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[class*="fa-"] {
    display: inline-block;
    font-size: 16px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    top: -2px;
    word-spacing: 1px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    max-width: 100%;
}

#social li a i {
    font-size: 20px;
    width: auto;
    background-color: transparent;
    transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    color: #999999;
}

.fa-twitter:before {
    content: "\f099";
}

#social li a:hover i {
    border-color: #cccccc;
    color: #cccccc;
}

.fa-facebook-f:before, .fa-facebook:before {
    content: "\f09a";
}

.fa-linkedin:before {
    content: "\f0e1";
}

.fa-youtube-play:before {
    content: "\f16a";
}

.custom-footer-wrapper {
    position: fixed;
    bottom: 0;
    width: 100% !important;
    z-index: 1;
    will-change: opacity;
    color: #ffffff;
    background-color: #1f1f20;
}

.custom-footer-menu {
    padding: 55px 0px;
}

.custom-footer-menu .hs-menu-wrapper > ul {
    display: block;
}
.custom-footer-menu .hs-menu-wrapper > ul > li {
    width: 19%;
    margin-right: 1%;
}
.custom-footer-menu .hs-menu-wrapper > ul > li:last-child {
    margin-right: 0;
}
.custom-footer-menu .hs-menu-wrapper > ul > li > a {
    font-size: 12px;
    font-family: 'Open Sans';
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: normal;
    color: #cccccc;
    line-height: 32px;
    cursor: text;
    display: block;
    -webkit-font-smoothing: antialiased;
}

.custom-footer-menu .hs-menu-wrapper > ul ul > li {
    padding: 4px 0;
}

.custom-footer-menu .hs-menu-wrapper > ul ul > li:first-child {
    padding-top: 0px;
}

.custom-footer-menu .hs-menu-wrapper > ul ul > li > a {
    color: #ffffff;
}

#back-to-top {
    display: block;
    position: fixed;
    text-align: center;
    line-height: 12px;
    right: 17px;
    bottom: -30px;
    color: #fff;
    cursor: pointer;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -o-border-radius: 2px;
    z-index: 9994;
    height: 29px;
    width: 29px;
    background-color: rgba(0,0,0,0.25);
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.1s linear;
    -moz-transition: background-color 0.1s linear;
    -webkit-transition: background-color 0.1s linear;
    -o-transition: background-color 0.1s linear;
    box-shadow: none;
    border-radius: 200px;
    -webkit-border-radius: 200px;
    -o-border-radius: 200px;
    transition: box-shadow 0.3s cubic-bezier(.55,0,.1,1),background-color 0.1s linear;
    -webkit-transition: -webkit-box-shadow 0.3s cubic-bezier(.55,0,.1,1),background-color 0.1s linear;
    -moz-transition: -moz-box-shadow 0.3s cubic-bezier(.55,0,.1,1),background-color 0.1s linear;
    background-color: rgba(0,0,0,0.25);
    overflow: hidden;
    bottom: 17px;
}

#back-to-top:before {
    display: block;
    content: ' ';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #000;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transition: all 0.3s cubic-bezier(.55,0,.1,1);
    -webkit-transition: all 0.3s cubic-bezier(.55,0,.1,1);
    -moz-transition: all 0.3s cubic-bezier(.55,0,.1,1);
    border-radius: 100px;
    -webkit-border-radius: 100px;
    background-color: rgba(255,255,255,0.25);
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transition: all 0.5s cubic-bezier(0.165,0.84,0.44,1);
    -webkit-transition: all 0.5s cubic-bezier(0.165,0.84,0.44,1);
    -moz-transition: all 0.5s cubic-bezier(0.165,0.84,0.44,1);
    opacity: 0;
    z-index: 2;
}

#back-to-top:after {
    display: block;
    content: ' ';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #000;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transition: all 0.3s cubic-bezier(.55,0,.1,1);
    -webkit-transition: all 0.3s cubic-bezier(.55,0,.1,1);
    -moz-transition: all 0.3s cubic-bezier(.55,0,.1,1);
    border-radius: 100px;
    -webkit-border-radius: 100px;
    background-color: #24a9a7;
}

#back-to-top i {
    line-height: 29px;
    width: 29px;
    height: 29px;
    font-size: 14px;
    top: 0px;
    left: 0px;
    text-align: center;
    position: relative;
    z-index: 10;
    background-color: transparent;
    -webkit-transform: translate(0,0px);
    -ms-transform: translate(0,0px);
    transform: translate(0,0px);
    transition: transform 0.2s ease;
    -webkit-transition: transform 0.2s ease;
    -moz-transition: transform 0.2s ease;
}

.fa-angle-up:before {
    content: "\f106";
}
.fa-angle-up:before {
    content: "\f106";
}

#back-to-top:hover {
    transition: box-shadow 0.3s cubic-bezier(.55,0,.1,1),background-color 0.05s linear 0.25s;
    -webkit-transition: -webkit-box-shadow 0.3s cubic-bezier(.55,0,.1,1),background-color 0.05s linear 0.25s;
    -moz-transition: -moz-box-shadow 0.3s cubic-bezier(.55,0,.1,1),background-color 0.05s linear 0.25s;
    box-shadow: 1px 2px 3px rgba(0,0,0,0.16);
    background-color: transparent;
}

#back-to-top:hover:after {
    background-color: #24a9a7;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
}

#back-to-top:hover i.fa-angle-up {
    -webkit-transform: translate(0,-29px);
    -ms-transform: translate(0,-29px);
    transform: translate(0,-29px);
}


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


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

/* Parent List */
.custom-menu-primary .hs-menu-wrapper > ul{
    float: right;
    margin-left: -185px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li{
    font-size: 12px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a{
    display: block;
    text-decoration: none;
    color: #3a3a3c;
    font-family: Roboto;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    line-height: 21px;
    font-weight: 400;
    padding-bottom: 32px;
    padding-top: 4px;
    margin-left: 15px;
    margin-right: 15px;
    position: relative;
    -webkit-transition: color 0.2s linear;
    -moz-transition: color 0.2s linear;
    -o-transition: color 0.2s linear;
    transition: color 0.2s linear;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:hover{}

.custom-menu-primary .hs-menu-wrapper > ul > li > a:after {
    -ms-transition: -webkit-transform .3s ease-out,border-color .3s ease-out;
    -webkit-transition: -webkit-transform .3s ease-out,border-color .3s ease-out;
    transition: transform .3s ease-out,border-color .3s ease-out;
    position: absolute;
    display: block;
    bottom: -6px;
    left: 0;
    width: 100%;
    -ms-transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    border-top: 2px solid #000;
    content: '';
    padding-bottom: inherit;
    border-color: #24a9a7;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:hover:after{
    -ms-transform: scaleX(1);
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}


/* Child List */
.custom-menu-primary .hs-menu-wrapper > ul ul{
    background-color: rgba(255,255,255,0.90);
    border-top: 1px solid #e9e9e9;
    left: auto;
    padding: 20px;
    width: 20em;
    right: 0;
    box-shadow: 0px 19px 35px rgba(0,0,0,0.11);
    -webkit-box-shadow: 0px 19px 35px rgba(0,0,0,0.11);
}
.custom-menu-primary .hs-menu-wrapper > ul ul li{
    font-weight: normal;   
    font-size: 12px!impoant;
    line-height: normal;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a{
    padding: 6px 6px;
    color: #999;
    font-family: Roboto;
    text-transform: none;
    letter-spacing: 01px;
    font-size: 15px;
    line-height: 15px;
    font-weight: 400;
}
.custom-menu-primary .hs-menu-wrapper > ul ul {
    right: 0 !important;
    left: auto !important;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a:hover{
    background-color: #24a9a7;
    color: #fff;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:last-child > a:hover:after {
    display: none;
}

/* 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:1001px) {
    .custom-menu-primary .hs-menu-wrapper,
    .custom-menu-primary .hs-menu-wrapper > ul ul { 
        display:block !important;
    }
    /* Will prevent the '100% Height' script for the Main Menu to affect desktop */
     .custom-menu-primary {
        height: auto !important;
    }
    .custom-menu-primary .hs-menu-wrapper > ul > li:last-child > a {
        color: #fff;
        opacity: 1;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li:last-child > a:before {
        display: block;
        position: absolute;
        left: 0;
        padding-bottom: 10px;
        transform: translateY(-7px);
        -webkit-transform: translateY(-7px);
        -ms-transform: translateY(-7px);
        width: 100%;
        height: 36px;
        content: ' ';
        z-index: -1;
        -webkit-transition: opacity 0.2s linear;
        -moz-transition: opacity 0.2s linear;
        -o-transition: opacity 0.2s linear;
        transition: opacity 0.2s linear;
        background-color: #24a9a7;
        border-radius: 4px;
        -webkit-border-radius: 4px;
        -o-border-radius: 4px;
        padding-bottom: 10px;
        -ms-transition: opacity .45s cubic-bezier(0.25, 1, 0.33, 1), transform .45s cubic-bezier(0.25, 1, 0.33, 1), border-color .45s cubic-bezier(0.25, 1, 0.33, 1), color .45s cubic-bezier(0.25, 1, 0.33, 1), background-color .45s cubic-bezier(0.25, 1, 0.33, 1), box-shadow .45s cubic-bezier(0.25, 1, 0.33, 1);
        -webkit-transition: opacity .45s cubic-bezier(0.25, 1, 0.33, 1), transform .45s cubic-bezier(0.25, 1, 0.33, 1), border-color .45s cubic-bezier(0.25, 1, 0.33, 1), color .45s cubic-bezier(0.25, 1, 0.33, 1), background-color .45s cubic-bezier(0.25, 1, 0.33, 1), box-shadow .45s cubic-bezier(0.25, 1, 0.33, 1);
        transition: opacity .45s cubic-bezier(0.25, 1, 0.33, 1), transform .45s cubic-bezier(0.25, 1, 0.33, 1), border-color .45s cubic-bezier(0.25, 1, 0.33, 1), color .45s cubic-bezier(0.25, 1, 0.33, 1), background-color .45s cubic-bezier(0.25, 1, 0.33, 1), box-shadow .45s cubic-bezier(0.25, 1, 0.33, 1);
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li:last-child > a:hover:before {
        opacity: 0.85;
    }
    .widget-span.custom-menu-primary.mobile {
        display: none;
    }
    
    .custom-header-wrapper {
       transition: all .3s ease;
    }
    
    .header-hide .custom-header-wrapper {
       top: -85px;
    }
}


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

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

@media (max-width: 1000px){

/* ==========================================================================
   Mobile Menu - Toggle Side Menu - Right
   ========================================================================== */

 
.widget-span.custom-menu-primary.desktop {
    display: none;
}
.widget-span.custom-menu-primary.mobile {
        display: block;
    }
/* Toggle Button
   ========================================================================== */ 

.mobile-icon {
    display: none;
    cursor: pointer;
    height: 40px;
    position: absolute;
    top: 2px;
    right: 15px;
    z-index: 9999;
}

 

/* Close Button
   ========================================================================== */  

.close-icon {
    display: none !important;
    cursor: pointer;
    margin: 27px 20px 10px;
    float: left;
    position: relative;
    height: 25px;
    width: 25px !important;
}
.close-icon:after,
.close-icon:before {
    content: "";
    width: 25px !important;
    height: 4px;
    background: ;
    position: absolute;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -ms-transform: rotate(45deg); 
    -webkit-transform: rotate(45deg); 
    transform: rotate(45deg);
}
.close-icon:before {
    -ms-transform: rotate(-45deg); 
    -webkit-transform: rotate(-45deg); 
    transform: rotate(-45deg);
}

.mobile-trigger > span {
    display: block;
    height: 20px;
    transition: -webkit-transform 0.33s 0s ease;
    transition: transform 0.33s 0s ease;
}

.lines-button {
    font-style: italic;
    transition: .3s;
    cursor: pointer;
    line-height: 0px;
    top: 9px;
    position: relative;
    font-size: 0px;
    user-select: none;
    display: block;
    top: 9px;
    width: 22px;
    background-color: #999;
}

.lines {
    display: block;
    position: relative;
    height: 2px;
    width: 22px;    
    background-color: transparent;
    transition: background 0.2s linear,opacity 0.2s linear;
}

.lines:after {
    background-color: rgba(0,0,0,0.4);
    display: inline-block;
    width: 1.4rem;
    height: 2px;
    transition: transform 0.45s ease,opacity 0.2s ease,background-color 0.2s linear;
    -webkit-transition: -webkit-transform 0.45s ease,opacity 0.2s ease,background-color 0.2s linear;
    position: absolute;
    left: 0;
    top: 0px;
    content: '';
    transform: scale(1,1);
    -webkit-transform: scale(1,1);
    top: 0px;
    background-color: #999;
    height: 2px;
    width: 22px;
}

.lines:before, .lines:after {
    display: block;
    width: 1.4rem;
    height: 3px;
    background: #ecf0f1;
    transition: 0.3s;
    position: absolute;
    left: 0;
    content: '';
    -webkit-transform-origin: 0.142rem center;
    transform-origin: 0.142rem center;
}

.lines:after {
    top: -6px;
    height: 2px;
    height: 2px;
    width: 22px;
    background-color: #999;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    transition: top 0.4s 0.45s ease,-webkit-transform 0.3s ease,background-color 0.2s linear,opacity 0.2s linear;
    transition: top 0.4s 0.45s ease,transform 0.3s ease,background-color 0.2s linear,opacity 0.2s linear;
    transition: -webkit-transform 0.45s ease,background-color 0.2s linear,opacity 0.2s linear;
    transition: transform 0.45s ease,background-color 0.2s linear,opacity 0.2s linear;
}


.lines:before {
    height: 2px;
    width: 22px;
    background-color: #999;
    top: 6px;
    width: 22px;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    transition: top 0.4s 0.45s ease,-webkit-transform 0.3s ease,background-color 0.2s linear,opacity 0.2s linear;
    transition: top 0.4s 0.45s ease,transform 0.3s ease,background-color 0.2s linear,opacity 0.2s linear;
    transition: -webkit-transform 0.45s ease,background-color 0.2s linear,opacity 0.2s linear;
    transition: transform 0.45s ease,background-color 0.2s linear,opacity 0.2s linear;
}

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


     html {
          height: 100%;
     }
     body {
         overflow-x:hidden;
     }

     /* Show the Mobile and Close Icons */
     .mobile-icon,
     .close-icon {
        display: block !important;
     }

     /* Container added with js and is required for transforms to work */
     #site-wrapper{
        max-width: 100%;
        height: 100%;
        position: relative;
     }

     /* Provide spacing for the menu ul */
     .custom-menu-primary .hs-menu-flow-horizontal>ul {
         clear: both;
     }

     /* Mobile Nav is HIDDEN By Default */
     .custom-menu-primary {
          position: fixed;
          width: 340px !important; /* must match the value above in 'left' */
          z-index: 999;
          background: #24a9a7; 
          right: -340px;
          top: 0;
          box-shadow: -4px 0 30px rgba(0, 0, 0, 0.2);
          -webkit-transition: -webkit-right 0.4s 0s, box-shadow 0s 0s;
          -moz-transition: -moz-right 0.4s 0s, box-shadow 0s 0s;
          transition: right 0.4s 0s, box-shadow 0s 0s;
          height:100vh !important;
          overflow:hidden;
          overflow-y:auto;
          padding: 62px;
          padding-top: 80px;
        -webkit-transition: all .7s cubic-bezier(0.25,1,.2,1);
        -moz-transition: all .7s cubic-bezier(0.25,1,.2,1);
        -ms-transition: all .7s cubic-bezier(0.25,1,.2,1);
        transition: all .7s cubic-bezier(0.25,1,.2,1);
     }
     
     
     /* All Main Containers Display PARTIAL Width On Icon Click */
     .show-mobile-nav .custom-menu-primary{
        right:0;
     }

     /* Set Link Colors */
     .custom-menu-primary a { color: ; }
     .custom-menu-primary a:hover { color: ; }
     
     .custom-menu-primary .hs-menu-wrapper > ul.hs-menu-children-wrapper {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        position: absolute;
        top: 50%;
        bottom: 0;
        width: 100%;
        -webkit-transform: translate3d(200%,-50%,0);
        -moz-transform: translate3d(200%,-50%,0);
        -ms-transform: translate3d(200%,-50%,0);
        -o-transform: translate3d(200%,-50%,0);
        transform: translate3d(200%,-50%,0);
        -webkit-transition: -webkit-all 350ms cubic-bezier(.55,0,.1,1);
        transition: -webkit-all 350ms cubic-bezier(.55,0,.1,1);
        -webkit-transition: all 350ms cubic-bezier(.55,0,.1,1);
        -moz-transition: all 350ms cubic-bezier(.55,0,.1,1);
        -ms-transition: all 350ms cubic-bezier(.55,0,.1,1);
        -o-transition: all 350ms cubic-bezier(.55,0,.1,1);
        transition: all 350ms cubic-bezier(.55,0,.1,1);
        opacity: 0;
        display: table;
        vertical-align: middle;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul.dl-menuopen {
        -webkit-transition: -webkit-transform 350ms cubic-bezier(.55,0,.1,1);
        transition: -webkit-transform 350ms cubic-bezier(.55,0,.1,1);
        -webkit-transition: transform 350ms cubic-bezier(.55,0,.1,1);
        -moz-transition: transform 350ms cubic-bezier(.55,0,.1,1);
        -ms-transition: transform 350ms cubic-bezier(.55,0,.1,1);
        -o-transition: transform 350ms cubic-bezier(.55,0,.1,1);
        transition: transform 350ms cubic-bezier(.55,0,.1,1);
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul.go-left {
        -webkit-transform: translate3d(-200%,0,0);
        -moz-transform: translate3d(-200%,0,0);
        -ms-transform: translate3d(-200%,0,0);
        -o-transform: translate3d(-200%,0,0);
        transform: translate3d(-200%,0,0);
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul.hs-menu-children-wrapper.active {
        z-index: 2;
        -webkit-transform: translate3d(0,-50%,0);
        -moz-transform: translate3d(0,-50%,0);
        -ms-transform: translate3d(0,-50%,0);
        -o-transform: translate3d(0,-50%,0);
        transform: translate3d(0,-50%,0);
        opacity: 1;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li a:after {
        left: 0;
        position: absolute;
        top: 0;
        color: #FFF;
        display: block;
        zoom: 1;
        -webkit-transition: width .45s cubic-bezier(0.2,.7,.3,1),-webkit-transform .45s cubic-bezier(0.2,.7,.3,1);
        transition: width .45s cubic-bezier(0.2,.7,.3,1),transform .45s cubic-bezier(0.2,.7,.3,1);
        width: 0%;
        padding: 6px 0px;
        opacity: 1;
        overflow: hidden;
        pointer-events: none;
        backface-visibility: hidden;
        padding: 0;
        -webkit-transition: width .42s cubic-bezier(.52,.01,.16,1);
        transition: width .42s cubic-bezier(.52,.01,.16,1);
        content: "";
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li a {
        position: relative;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li a:hover:after {
        width: 101%;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li a:hover {
        opacity: 1;
        color: #fff;
    }

}


/* ==========================================================================
   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 {
    letter-spacing: 0px;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    font-family: Roboto;
    font-weight: 600;
    margin: 0 0 15px;
    font-weight: 300;
    font-size: 34px;
    line-height: 44px;
    color: #24a9a7;
}
.post-header h2 a {}

/* 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 {
    margin-top: 12px;
}
#hubspot-author_data .hs-author-avatar img {
  width: 50px;
  float: left;
  margin-right: 15px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

/* Use this to set up different styling for your blog posts */
.blog-listing-wrapper .post-listing .post-item {
    border-bottom: 1px solid #E2E2E2;
    margin-bottom: 20px;
    padding-bottom: 30px;
}
.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-height: 170px;
  max-width: 210px;
  height: auto;
  width: auto;
  display: inline-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;
  margin-bottom: 10px;
}

/* Blog Commments */
#comments-listing {
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
  margin-top: 30px;
}
.comment {
  margin: 10px 0;
  border-top: 1px solid #ccc;
  padding: 15px 0;
}
.comment-date { font-size: 13px; text-align: right; }
.comment-from { font-weight: bold; }
.comment-body { padding: 10px 0; }

.custom_listing_comments {
   border: 1px solid #e2e2e2;
   display: block;
   line-height: 165%;
   padding: 15px;
   margin:15px 0;
}

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

#comments-listing.no-comments {
   border: none;
}


.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;
    text-align: left;
}

#comments-listing.no-comments {
  border: none;
}


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

.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;
    text-align: left;
}

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


/* Pagination */
.blog-pagination {}
.blog-pagination a {
    display: inline-block;
    padding-right: 7px;
}
.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:0 0 20px;
    padding: 15px 20px;
}
.blog .blog-sidebar h1,
.blog .blog-sidebar h2,
.blog .blog-sidebar h3,
.blog .blog-sidebar h4,
.blog .blog-sidebar h5,
.blog .blog-sidebar h6,
.blog .blog-sidebar .form-title{
    color: #444;
    letter-spacing: 0px;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    font-family: Roboto;
    font-weight: 600;
    margin: 0 0 15px;
    font-weight: 400;
    font-size: 22px;
    line-height: 34px;
}




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

.hs-blog-listing .hs-author-profile {
  border-bottom: 1px solid #ccc;
  padding: 0 0 20px 0;
  margin: 0 0 20px 0;
}
.hs-blog-post .hs-author-profile {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 20px 0 20px 0;
  margin: 20px 0 20px 0;
}
.hs-author-profile .hs-author-profile:after {
  content: '';
  display: block;
  clear: both;
}

/* Author Avatar */
.hs-author-profile .hs-author-avatar {
  float: left;
  margin-right: 15px;
  max-width: 100px;
}
.hs-author-profile .hs-author-avatar img{
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  max-width: 100%;
}

/* Author Bio Wrapper*/
.hs-author-profile .hs-author-bio {
  overflow: hidden;
}

/* Author Name */
.hs-author-profile h2.hs-author-name {
  margin: 0 0 10px 0;
}

/* Author Social Follow Me */
.hs-author-profile .hs-author-social-section {}
.hs-author-profile .hs-author-social-label {}
.hs-author-profile .hs-author-social-links {}
.hs-author-profile .hs-author-social-link {}
.hs-author-profile .hs-social-facebook {}
.hs-author-profile .hs-social-linkedin {}
.hs-author-profile .hs-social-twitter {}
.hs-author-profile .hs-social-google-plus {}


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


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

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

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

/* Form Background */
.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,
div#comment-form{
    display: block;
    padding: 15px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,.25);
    background-color: #fff;
    margin-bottom: 30px;
}

h3.form-title {
    font-weight: 300;
    line-height: 1.18182;
    padding-bottom: 4px;
    text-rendering: optimizeLegibility;
    border-bottom: 1px solid rgba(0,0,0,.133333);
}

/* Labels and Legends */
label {
    font-weight: bold;
    margin-bottom: .375em;
    font-size: 15px;
    line-height: 1.46667;
}
.hs-form-field > label {}

/* One Line Inputs */
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"],
input[type="file"],
textarea,
select {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.06);
    font-family: Roboto,sans-serif;
    font-size: 15px;
    margin: 0 0 10px;
    padding: .5em;
    transition: border-color;
    width: 100%;
    display: block;
    line-height: normal;
}

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 {
    border-color: #24a9a7;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.06), 0 0 5px rgba(32,148,146,.7);
    outline: 0;
}

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

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

/* Multiple Selection Inputs */
form.hs-form .hs-form-field ul.inputs-list {
  list-style: none;
  padding: 0;
}
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 {}

/* Error */
.hs-error-msgs label{}

/* 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="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 {}

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

.hs-button.primary,
input[type="submit"],
input[type="button"] {
  cursor: pointer;
  -webkit-appearance: none;
  text-decoration: none !important;
    font-family: Roboto,sans-serif;
    transition: .2s;
    font-size: 15px;
    width: auto;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    border: 1px solid transparent;
    border-radius: 2px;
    color: inherit;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    margin: 0;
    outline: 0;
    padding: .75em;
    text-align: center;
    background-color: #24a9a7;
    color: #fff;
    font-weight: 500;
    line-height: 1;
}

.hs-button.primary:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #1d8988;
}

.hs-button.primary:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
    background-color: #1d8988;
    outline: 0;
}


/* =============== 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                                      
   ========================================================================== */


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

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

.hs-error-msgs.inputs-list{
    margin: 0;
}

ul.hs-error-msgs.inputs-list label {
    color: #c94962;
    font-weight: 500;
}
.subscribe-options label span {
    color: #444;
}

ul.hs-error-msgs.inputs-list {
    list-style: none;
}

.checkbox-row span.fakelabel span {
    width: calc(100% - 40px);
    float: none !important;
    font-weight: bold;
    margin-left: 7px;
    vertical-align: top;
    /* margin-top: 6px; */
}

ul.hs-error-msgs.inputs-list {
    padding: 0;
}

.custom-header-wrapper.lp {
    min-height: 85px !important;
}

.custom-lp .body-container {
    margin-bottom: 66px;
}

.subscription-template.one-column .body-container-wrapper,
.password-template.one-column .body-container-wrapper,
.error-template.one-column .body-container-wrapper {
    padding-top: 78px;
}

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


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

@media only screen and (max-width: 1300px) and (min-width: 1000px) {
    
     h4 {
        font-size: 18px;
        line-height: 28px;
    }
    
    .custom-footer-menu .hs-menu-wrapper > ul > li > a {
        line-height: 28px;
    }
    
    .custom-banner-inner-wrapper h2 {
        font-size: 28.9px;
        line-height: 35.7px;
    }
    
    .custom-banner-inner-wrapper h1 {
        font-size: 40.5px;
        line-height: 45px;
    }
    
    .custom-banner p {
        font-size: 18.7px;
        line-height: 27.2px;
    }
    
    .body-container .custom-banner {
        height: 52.5px;
    }
    
    a.close-icon {
        display: none !important;
    }
    
    .body-container {
        margin-bottom: 380px;
    }
    
    .body-container .custom-banner {
        height: 52.5vw;
    }
    
    
    
}

@media (max-width: 1136px) {
    
    .body-container {
        margin-bottom: 403px;
    }
    
    .body-container .custom-banner {
        height: 52.5vw;
    }
}

@media (max-width: 1090px) {
    
    .custom-menu-primary .hs-menu-wrapper > ul > li > a {
        margin: 0 9px;
    }
}

@media only screen and (max-width: 1020px) {
    
    #back-to-top {
        display: none!important;
    }
}

@media (max-width: 1024px) {}

@media only screen and (max-width: 1000px) and (min-width: 690px) {
    
    .container-fluid .row-fluid .page-center {
        max-width: 600px;
    }
    
    .widget-span.custom-copyright {
        width: 49%;
        margin-right: 2%;
        float: left !important;
    }
    
    .widget-span.custom-social-icons {
        width: 49%;
        float: right !important;
        margin-left: 0;
    }
    
    .custom-footer-menu .hs-menu-wrapper > ul > li > a {
        line-height: 25.2px;
    }
    
    h4 {
        font-size: 16.2px;
        line-height: 25.2px;
    }
    
}

@media (max-width: 1000px) {
    
    .custom-header-wrapper {
        padding: 10px 18px 0;
    }
    
    .custom-logo img {
        width: 126px;
        margin-top: 7px;
    }
    
    .custom-footer-menu .hs-menu-wrapper > ul > li {
        width: 48%;
        margin-right: 15px;
        margin-bottom: 40px;
        padding: 15px;
        float: left !important;
    }
    
    .custom-footer-menu .hs-menu-wrapper > ul > li:nth-child(2), 
    .custom-footer-menu .hs-menu-wrapper > ul > li:nth-child(4) {
        margin-right: 0;
    }
    
    .custom-footer-menu .hs-menu-wrapper > ul > li:nth-child(3), 
    .custom-footer-menu .hs-menu-wrapper > ul > li:nth-child(4) {
        margin-bottom: 0px;
    }
    
    .custom-footer-menu .hs-menu-wrapper > ul > li:last-child {
        margin-bottom: 0px;
    }
    
    #social li {
        width: 33px;
        margin-top: 9px;
        margin-bottom: 9px;
    }
    
    .custom-footer-wrapper .page-center,
    .body-container .page-center {
        padding-left: 0;
        padding-right: 0;
        padding-top: 20px; /*added by HubSpot Suppport 5th April 2018 */
        padding-bottom: 20px; /*added by HubSpot Suppport 5th April 2018 */
    }
    
    ul#social li:first-child {
        margin-left: 0px;
    }
    
    .body-container {
        margin-bottom: 0;
        position: static;
    }
    
    .custom-footer-wrapper {
        position: relative;
    }
    
    .custom-header-wrapper {
        min-height: 59px !important;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li > a {
        font-family: 'Open Sans';
        font-weight: 700;
        letter-spacing: -1px;
        font-size: 26px;
        line-height: 30px;
        margin: 0;
        display: inline-block;
        position: relative;
        color: rgba(255,255,255,0.7);
        opacity: 1;
        padding: 0;
        /* white-space: nowrap !important;*/
        transition: opacity 0.2s ease;
        -webkit-transition: opacity 0.2s ease;
        -moz-transition: opacity 0.2s ease;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul {
       float:  none;
       margin-left: 0;
    }
    
    .custom-menu-primary > div {
       margin-bottom: 30px;
       height: calc(100% - 75px);
       position: relative;
    }
    
    .custom-menu-primary > div > * {
       display: block;
       position: absolute;
       top: 50%;
       width: 100%;
       transform: translate(0px, -50%);
    }
    
    .container-fluid .row-fluid .page-center {
        max-width: 600px;
    }
    
    .custom-header-wrapper {
        position: absolute;
    }
    
    .body-container .custom-banner {
        padding-top: 0;
        height: 50.3vw;
        background-position: center;
    }
    
    .custom-banner-content {
        padding-left: 0;
        width: 100%;
        padding-bottom: 25px;
    }
    
    .custom-banner-inner-wrapper h2 {
        font-size: 27.2px;
        line-height: 33.6px;
    }
    
    .custom-banner-inner-wrapper h1 {
        font-size: 37.8px;
        line-height: 42px;
    }
    
    .custom-banner p {
        font-size: 17.6px;
        line-height: 25.6px;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul {
        padding-bottom: 15px;
    }
    
    a.close-icon {
        display: none !important;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li > a {
       white-space: normal !important;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li {
       margin: 5px 0;
    }
    
    
    a.mobile-icon {
       top:  20px;
       right: 18px;
    }
    
    .widget-span.custom-menu-primary {
       margin-left: 0;
       box-shadow:  none;
    }
    
    .show-mobile-nav .widget-span.custom-menu-primary {
       box-shadow: -4px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    a.mobile-icon span:after,
    a.mobile-icon span:before,
    i.lines-button:after {    
       width: 0;
       opacity:0;
       height: 2px;
       background-color: #fff;
       content:"";
       position:absolute;
       z-index:9;
    }
    
    .show-mobile-nav a.mobile-icon span:after,
    .show-mobile-nav a.mobile-icon span:before,
    .show-mobile-nav i.lines-button:after{
       width: 1.4rem;
       opacity:1;
    }
    
    a.mobile-icon span:before {
       top: 9px;
       transition: width 0.5s ease,opacity 0.2s linear;
    }
    
    a.mobile-icon span:after {
       top: 3px;
       transition: width 0.4s ease,opacity 0.2s linear;
    }
    
    i.lines-button:after {    
       top: 6px;
       transition: width 0.6s ease,opacity 0.2s linear;
    }
    
    .widget-span.custom-menu-primary.mobile {
        display: block !important;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li {
        float: none !important;
        display: block !important;
    }
    
    .custom-header-wrapper.lp {
        min-height: 59px !important;
    }
    
    .custom-lp .body-container {
        margin-bottom: 0;
    }
    
    .subscription-template.one-column .body-container-wrapper,
    .password-template.one-column .body-container-wrapper,
    .error-template.one-column .body-container-wrapper {
        padding-top: 0;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li.dl-back > a {
       background: rgba(0,0,0,0.13);
       font-size: 26px;
       line-height: 30px;
       padding: 0 6px;
       margin-left: -10px;
       margin-top: 2px;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul.hs-menu-children-wrapper > li.dl-back {
       margin-bottom: 20px;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul.hs-menu-children-wrapper > li {
       margin-bottom: 0;
       margin-top: 0;
    }
    
    .custom-menu-primary > div {
        min-height: 300px;
    }
    
    .header-hide .widget-span.custom-menu-primary.mobile {
        display: none !important;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul > li a:after {
        display: none;
    }
    
    .header-container-wrapper {
        min-height: 59px;
    }
    
    .header-hide .custom-header-wrapper {
       top: -60px;
    }
    
    .header-container .custom-header-wrapper {
       position: fixed;
       transition: all .3s ease;
    }

}


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

@media (max-width: 767px) {
    
    .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,
    div#comment-form {
        width: 100%;
    } 
    
    .blog .blog-sidebar {
        margin-top: 20px;
    }
    
    .hs-author-profile .hs-author-avatar {
       float: none;
       margin-bottom: 10px;
    }
    
    .blog .blog-sidebar .widget-span {
        padding-left: 0;
        padding-right: 0;
    }
    
    .body-container .custom-banner {
        padding-top: 0;
        height: 54.2vw;
    }
    
    .custom-blog-sidebar-form {
        padding-left: 20px;
        padding-right: 20px;
    }
}  

@media (max-width: 690px) {
    .widget-span.custom-copyright {
        width: 100%;
        margin-right: 0;
        float: none !important;
        margin-bottom: 25px;
        padding: 0;
    }
    
    .widget-span.custom-social-icons {
        width: 100%;
        float: none !important;
        margin-left: 0;
    }
    
    ul#social {
        float: left;
    }
    
    #social li {
        margin-right: 10px;
        margin-left: 0px;
    }
    
    .container-fluid .row-fluid .page-center {
        max-width: 420px;
    }
    .custom-footer-menu .hs-menu-wrapper > ul > li {
        margin-bottom: 40px !important;
    }
    
    .custom-footer-menu .hs-menu-wrapper > ul > li:last-child {
        margin-bottom: 0 !important;
    }
    
    .custom-footer-menu .hs-menu-wrapper > ul > li {
        margin-bottom: 40px !important;
        width: 100%;
        float: none !important;
        margin-right: 0;
    }
    
    .custom-footer-wrapper {
        position: relative;
    }
    
    #social li {
        margin-right: 10px;
        margin-left: 0px;
    }
    
    ul#social li {
        float: left;
        margin-left: 0;
    }
    
    .custom-footer-menu .hs-menu-wrapper > ul > li > a {
        line-height: 25.2px;
    }
    
    .custom-bottom-footer-wrapper,
    .custom-top-footer-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .custom-footer-menu .hs-menu-wrapper > ul > li {
        padding: 0;
    }
    
    .body-container .custom-banner {
        padding-top: 0;
        height: 61.2vw;
    }
    
    .custom-banner-inner-wrapper h2 {
        font-size: 28.9px;
        line-height: 35.7px;
    }
    
    .custom-banner-inner-wrapper h1 {
        font-size: 35.1px;
        line-height: 39px;
    }
    
    .custom-banner p {
        font-size: 18.7px;
        line-height: 27.2px;
    }

}


/* =============== Landscape phones and smaller devices =============== */

@media (max-width: 479px) {
    
    .hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {
        border-width: 0;
        max-height: 100%;
        max-width: 100%;
        height: 100%;
        width: 100%;
        float: none;
        margin: 20px 0 20px 0px;
    }
    
    .body-container .custom-banner {
        padding: 0 10px;
        padding-top: 10px;
        height: 96.2vw;
    }
    
    .container-fluid .row-fluid .page-center {
        max-width: 300px;
    }
    
    .body-container .custom-banner {
        min-height: 379px !important;
        padding-top: 49px;
        padding-bottom: 30px;
    }
}

@media (max-width: 344px) {
    .body-container .page-center {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 20px; /*added by HubSpot Suppport 5th April 2018 */
        padding-bottom: 20px; /*added by HubSpot Suppport 5th April 2018 */
    }
    
    .subscribe-options label span {
        font-size: 13px;
    }
    
    .body-container .custom-banner {
        height: 112.4vw;
    }
}

@media (max-width: 320px) {
    .body-container .custom-banner {
        height: 129vw;
    }
}