/* ==========================================================================
   Drew Marketing templates - Drewsy LP                             
   ========================================================================== */


/* ==========================================================================
   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,400italic,400,600,600italic,700,800,800italic');
@import url('//fonts.googleapis.com/css?family=Montserrat:400,700');


/* 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 {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color:#121212;
    background-color: #f5f5f5;
}

/* Page Center */
.container-fluid .row-fluid .page-center {
  float: none;
  max-width:1170px;
  margin: 0 auto;
  padding-left:15px;
  padding-right:15px;
}

/* Highlighted Text */
::-moz-selection {
  color: #fff;
  background:#2e8bfa;
  text-shadow: none;
}
::selection {
  color: #fff;
  background:#2e8bfa;
  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 {
      font-family: Open Sans;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {}

h1,h2,h3{
    margin-top: 20px;
    margin-bottom: 10px;
}
h1 {
    font-weight: 400;
    font-size: 36px;
    margin-top:0;
}
h2{
    font-family: Montserrat;
    font-size: 30px;
    line-height: 40px;
    font-weight: 400;
    font-style: normal;
}

h3 {
    font-family: Open Sans;
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    font-style: normal;
    color: #1874C2;
}

h4,h5,h6{
    margin-top: 10px;
    margin-bottom: 10px;
}
h4 {
    font-family: Open Sans;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: #424242;
}
h5 {
    font-family: Open Sans;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    font-style: normal;
}
h6 {
    font-family: Open Sans;
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    font-style: normal;
}

.body-container-wrapper a { 
    color: #000;
    -webkit-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
    text-decoration:none;
}
a:hover, a:focus { 
    color: #1874C2;
    text-decoration: none;
}


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

.fixed-header {
    background: rgba(0,0,0,.85);
    padding: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 111;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    -webkit-transition-property: opacity,visibility,-webkit-transform;
    transition-property: opacity,visibility,-webkit-transform;
    transition-property: opacity,visibility,transform;
    transition-property: opacity,visibility,transform,-webkit-transform;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    line-height: 11px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    -webkit-transform: translate3d(0,-30px,0) !important;
}

.fixed .fixed-header {
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
}
.custom-logo a img {
    max-height: 69px;
    float: left;
    margin-top: 2px;
}
.header-bottom {
    padding-top: 10px;
    position: absolute;
    z-index: 99 !important;
}

.header-bottom a#ctabutton {
    background: #1874C2;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 10px 10px 7px;
    border-radius: 2px;
    margin-top: 0;
    text-decoration: none;
    top: 32px;
    z-index: 999;
    float: right !important;
    clear: right !important;
    position: fixed;
    margin-left: 20.8%;
}

.fixed-header a#ctabutton {
    display: none;
}
.header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li:hover > a:before {
    height: 100%;
    opacity: 1;
}

.custom-footer-menu2 {
    margin-left: 6px !important;
}
.header-bottom a#ctabutton strong {
    font-size: 17px;
    font-weight: 900;
    display: block;
    line-height: 24px;
}
.header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li:hover > a:after {
    opacity: 0;
}
.header-bottom svg.trisvg {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 5px;
    overflow: hidden;
}

.header-bottom path {
    fill: #1874C2;
}

.header-bottom a#ctabutton:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-bottom a#ctabutton:hover path {
    fill: #fff;
}

.custom-logo:hover .logo-text {
    opacity:1 !important;
    visibility:visible !important;
    margin-top: 20px;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    z-index: 2;
}
.logo-text {
    position: absolute;
    top: 61px;
    margin-top: 30px;
    max-width: 440px !important;
    padding: 30px 20px 24px;
    background: #1874C2;
    border-radius: 2px;
    font-size: 12px;
    display: block;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
    -webkit-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    -webkit-backface-visibility: hidden;
    z-index: -2;
    color: #fff;
    visibility: hidden !important;
    opacity: 0 !important;
}
.infocard-wrapper {
    max-width: 41.66666667%;
    float: left;
}

.infocard-wrapper img {
   margin-top: 20px;
   margin-bottom: 25px;
   max-width: 149.156px;
}

.infocard-wrapper p {
   margin: 0;
    font-size: 15px;
    padding-left: 5px;
    margin-top: 0;
}

.custom-nonav a.mobile-icon {
    display: none !important;
}
ul.social-icons li a:hover {
    opacity: .7;
}
.contact-wrapper {
    max-width: 58.33333333%;
    float: right;
    padding-left:13px;
}

ul.social-icons {
    margin: 0;
    padding: 0;
    z-index: 1;
    margin-top: 22px;
}

ul.social-icons li {
    display: inline-block;
}
.contact-details a:hover {
    color: rgba(255,255,255,.7);
}
ul.social-icons li a {
    display: inline-block;
    color: #fff;
    width: 30px;
    height: 30px;
    position: relative;
    border-radius: 3px;
    text-align: center;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    font-size: 14px;
    font-weight: normal;
    opacity: 1;
    text-decoration:none;
}
.header-bottom .page-center {
    position: relative;
}


ul.social-icons li a.icon-linkedin:before {
    font-family: "Montserrat", 'Glyphicons Halflings', 'icomoon';
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    text-align: center;
    opacity: .8;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
    content: '\e857';
}
ul.social-icons li a:before {
    line-height: 30px;
}
ul.social-icons li a.icon-facebook:before {
    font-family: "Montserrat", 'Glyphicons Halflings', 'icomoon';
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    text-align: center;
    opacity: .8;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
    content: '\e854';
}
.contact-details strong {
    font-weight: bold;
}

.contact-details p {
    margin: 0 0 20px;
    font-size: 15px;
    margin-top: 0;
    line-height:24px;

}
.contact-details {
    margin-top: 0px;
}
.contact-details a {
    color: #FFF;
    font-weight: normal;
    line-height: 1.6;
    transition: color .25s ease-in-out;
    text-decoration: none;
}
.logo-text span.glyphicon.glyphicon-map-marker.icon-white {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family:'Montserrat';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
}

.logo-text span.glyphicon.glyphicon-map-marker.icon-white:before {
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    font-size: 120%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
    content: "\e062";
    font-family: "Montserrat", 'Glyphicons Halflings', 'icomoon';
    font-size: 12px;
    opacity: 0.8;
}
.custom-logo {
    min-width: 192px;
}

.cm-banner-video {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 60px;
    z-index: 1;
}

svg.kl-bottommask--mask7.screffect.opacity3 {
    -webkit-transform-origin: 0 100%;
    -ms-transform-origin: 0 100%;
    transform-origin: 0 100%;
}

svg.kl-bottommask--mask7 {
    width: 100%;
    baseline-shift: 60px;
}

.opacity3, .hov-opacity3:hover {
    opacity: .3;
}

.kl-bottommask.kl-bottommask--mask7 {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
    left: 0;
}

.kl-bottommask--mask7 {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
    left: 0;
}

.cm-banner-video.no-banner {
    min-height: 100px;
    background: #000;
}

.cm-banner-video .video-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.cm-banner-video .video-wrapper {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.cm-banner-video video {
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    max-width: none;
}

.cm-banner-video .video-content {
    padding-top: 200px;
    padding-bottom: 200px;
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 11;
}

.cm-banner-video .video-content h1 {
    font-size: 64px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
    line-height: 1.3;
    font-family: Montserrat;
    margin: 0;
}

.cm-banner-video .video-grid-overlay {
    background: rgba(0, 137, 255, 0.3);
    background: -moz-linear-gradient(left, rgba(0, 137, 255, 0.3) 0%, rgba(0, 102, 255, 0.3) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0, 137, 255, 0.3)), color-stop(100%,rgba(0, 102, 255, 0.3)));
    background: -webkit-linear-gradient(left, rgba(0, 137, 255, 0.3) 0%,rgba(0, 102, 255, 0.3) 100%);
    background: -o-linear-gradient(left, rgba(0, 137, 255, 0.3) 0%,rgba(0, 102, 255, 0.3) 100%);
    background: -ms-linear-gradient(left, rgba(0, 137, 255, 0.3) 0%,rgba(0, 102, 255, 0.3) 100%);
    background: linear-gradient(to right, rgba(0, 137, 255, 0.3) 0%,rgba(0, 102, 255, 0.3) 100%);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    pointer-events: none;
    z-index:1;
} 

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

body.error-template.one-column .header-bottom, body.password-template.one-column .header-bottom, body.subscription-template.one-column .header-bottom{
    background: #000;
    width: 100% !important;
}


.footer-nonav.footer-content-wrapper{
        padding: 10px 0 10px;
}

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

.body-container-wrapper {
        margin-top: -1px;
}
.body-container {}

.content-wrapper {
    padding-top: 35px;
    padding-bottom: 35px;
}
.main-content {}
.sidebar{}
.sidebar.right{}
.sidebar.left{}


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

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

.footer-content-wrapper {
    background: #2f2f2f;
    padding: 60px 0 20px;
    color: #d5d5d5;
    border-top: 4px solid #fff;
    position: relative;
}

.footer-bottom-logo img {
    max-width: 100px;
    text-align: center;
    margin: 0 auto;
}
.footer-bottom-logo {
    text-align: center;
    margin-top: 23px;
}

.footer-bottom-logo p {
    margin: 0 0 20px;
    font-size: 15px;
}

.footer-social-icon ul {
    margin: 0px;
    padding: 0px;
}

.footer-social-icon ul li {
    display: inline-block;
}

.footer-social-icon ul a {
    background: none;
    box-shadow: none;
    display: inline-block;
    color: #fff;
    width: 30px;
    height: 30px;
    position: relative;
    border-radius: 3px;
    text-align: center;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    font-weight: normal;
    opacity: 1;
    text-decoration: none;
}

.footer-social-icon ul a:before {
    font-family: "Montserrat", 'Glyphicons Halflings', 'icomoon';
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
    line-height: 30px;
}

.footer-container input::-webkit-input-placeholder, textarea::-webkit-input-placeholder{color: #999999;opacity: 1;}
.footer-container input:-moz-placeholder, textarea:-moz-placeholder{color: #999999;opacity: 1;}
.footer-container input::-moz-placeholder, textarea::-moz-placeholder{color: #999999;opacity: 1;}
.footer-container input:-ms-input-placeholder, textarea:-ms-input-placeholder{color: #999999;opacity: 1;}


.bottom-wrapper {
    padding-top: 30px;
    border-top: 5px solid #484848;
    color: #8b8c8d;
}

.footer-social-icon ul a.icon-facebook:before {
    content: '\e854';
    padding-right: 27px;
}
.footer-social-icon ul a.icon-linkedin:before {
    content: '\e857';
}

.bottom-wrapper .footer-bottom-image img {
    max-width: 92px;
}
.bottom-wrapper .footer-social-icon {
    text-align: right;
    margin-left: 10px !important;
    float: right !important;
}

.custom-footer-list h3 {
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px !important;
    margin-top: 0px;
    font-weight: 400;
}

.custom-footer-list .custom-footer-menu ul li a {
    color: #fff;
    -webkit-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
    padding-right: 10px;
    display: inline-block;
    text-decoration: none;
}

.custom-footer-list .custom-footer-menu ul li {
    display: block !important;
    float: none !important;
}
.custom-footer-list .custom-footer-menu ul li a:hover {
    color: #d5d5d5;
}

.custom-footer-wrapper .form-top-text h3, .footer-right-text h3 {
    font-size: 14px;
    color: #fff;
    text-shadow: none;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 0px;
    margin-bottom: 10px !important;
}
.custom-footer-wrapper .form-top-text p {
    margin-bottom:0px;
    font-size: 15px;
    color: #d5d5d5;
}

.footer-form .hs-button.primary, .footer-form input[type="submit"], .footer-form input[type="button"] {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    font-weight: 700;
    font-size: 13px;
    padding: 5px 15px;
    display: inline-block !important;
    line-height: 28px;
    margin-left: -5px;
    min-width: 120px;
    position: absolute;
    top: 0px;
    right: 0px;
}

.footer-form .hs-button.primary:hover, .footer-form input[type="submit"]:hover, .footer-form input[type="button"]:hover {
    background: #000 !important;
    color: #fff;
}
.footer-form .hs-form {
    position: relative;
}

.footer-right-text a {
    color: #fff;
    text-decoration: none;
    -webkit-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
    font-size: 15px;
    display: inline-block !important;
}

.form-title:empty {
display: none;
}

.footer-right-text a:hover {
    color: #d5d5d5;
}

.footer-form .hs-input {
    border: none;
    vertical-align: top;
    margin-bottom: 10px;
    display: inline-block;
    padding: 9px 12px 10px!important;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    line-height: 21px;
    max-width: calc(90% - 81px);
    float: left;
    position:relative;
}

.footer-form .hs_email.field.hs-form-field span {
    display: none;
}
.footer-form .hs-input:focus {
    outline: none;
}
.footer-form .hs_email.field.hs-form-field {
    margin-bottom: 0px;
    position: relative;
}

.footer-form .invalid.error, .footer-form textarea.error {
    border: none !important;
}

.footer-right-text p {
    font-size: 15px;
}

.custom-footer-wrapper p {
    margin: 0 0 20px;
    font-size: 15px;
}


.footer-form {
    position: relative;
}

.footer-form .hs-error-msgs label {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
}
.footer-social-icon ul a:hover {
    color: #d5d5d5;
}

.footer-right-text p:first-of-type {
    margin-top: 0px;
    margin-bottom:20px;
}

a#back-to-top {
    right: 10px;
    opacity: 0.7;
    webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    height: 9px;
    position: fixed;
    width: 49px;
    z-index: 111;
    display: block;
    top: 85%;
    background-repeat: no-repeat;
    background-position: center 15px;
    background-color: #404040;
    font-size: 9px;
    font-weight: 900;
    color: #fff;
    text-align: center;
    line-height: 1;
    border-radius: 2px;
    padding: 28px 0 21px 0;
}

a#back-to-top:before {
    position: absolute;
    content: "\e080";
    top: 20px;
    left: 50%;
    margin-left: -6px;
    font-size: 11px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
a#back-to-top:hover {
    opacity: 1;
}
@media screen and (min-width:992px) {

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


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

/* Parent List */
.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;
    color: #ddd;
    font-size: 12px;
    line-height: 1.4;
    padding: 7px 15px;
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    position: relative;
    text-transform: uppercase;
    text-decoration: none;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:last-child {
    position: relative;
}

.custom-menu-primary .hs-menu-wrapper > ul > li:last-child>a {
    padding-right: 25px;
}

.fixed-header  .custom-menu-primary .hs-menu-wrapper > ul > li:last-child>a:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 9px;
    margin-top: -1px;
    height: 2px;
    width: 6px;
    background: #ccc;
    opacity: .5;
}
.custom-menu-primary .hs-menu-wrapper > ul >li > ul >li {
    position: relative;
}

.custom-menu-primary .hs-menu-wrapper > ul >li > ul >li >a {
    padding-right: 25px;
}

.custom-menu-primary .hs-menu-wrapper > ul >li > ul >li >a:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 9px;
    margin-top: -1px;
    height: 2px;
    width: 6px;
    background: #ccc;
    opacity: .5;
}



.custom-menu-primary .hs-menu-wrapper > ul >li > ul  {
    background: rgba(0,0,0,0.9);
    min-width: 220px;
    padding: 5px;
    -webkit-transition: opacity .15s ease-in-out, -webkit-transform .15s ease-in-out;
    transition: opacity .15s ease-in-out, transform .15s ease-in-out;
}
.custom-menu-primary .hs-menu-wrapper > ul >li > ul >li >ul {
    left: 100% !important;
    top: -4px !important;
    background: rgba(0,0,0,0.9);
    min-width: 220px;
}
.fixed-header .custom-menu-primary .hs-menu-wrapper > ul  li  a:hover{
    color: #fff;
    background: #000;
}
.header-bottom .custom-menu-primary.js-enabled {
    font-size: 14px;
    text-align: left;
    margin-left:0 !important;
}
.header-bottom .custom-menu-primary .hs-menu-wrapper > ul {
    margin-top: 17px;
    margin-bottom: 15px !important;
    margin-left: 47px;
}
.header-bottom .custom-menu-primary .hs-menu-wrapper > ul li a {
    position: relative;
    padding: 6px 12px;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 14px;
    color: #fff;
    z-index: 1;
    font-weight: 400;
    -webkit-transition: padding .2s ease-in-out, -webkit-transform .2s ease-in-out;
    transition: padding .2s ease-in-out, transform .2s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    font-family: "Montserrat" , "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding-right: 17px;
}

.header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li > a:before {
    content: '';
    opacity: 0;
    position: absolute;
    border-radius: 2px;
    height: 50%;
    width: 100%;
    top: 50%;
    left: 0;
    background-color: #1874C2;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: height .2s ease-in-out;
    transition: height .2s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: -1;
}
.header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li > a:after {
    content: '';
    opacity: 1;
    position: absolute;
    height: 1px;
    width: 7px;
    bottom: 3px;
    left: 17px;
    background-color: rgba(255,255,255,.4);
    -webkit-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
}
.header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li > a:hover:before {
    height: 100%;
    opacity: 1;
}
.header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li > a:hover {
    text-decoration: none;
    color: #fff;
}
.header-bottom .custom-menu-primary .hs-menu-wrapper > ul >li > ul {
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 0 4px rgba(0,0,0,.4);
    padding: 6px 0;
    background: rgba(245, 245, 245, 1);
    top: 137%;
    -webkit-transition: opacity .4s ease, top .45s ease;
    transition: opacity .4s ease, top .45s ease;
}

.header-bottom .custom-menu-primary .hs-menu-wrapper > ul >li > ul:before {
    content: '';
    display: block;
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li > ul >li >a {
    min-width: 235px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgba(0, 0, 0, 0.03);
    padding: 10px 20px;
    font-size: 12px;
    color: #757575;
    position: relative;
    text-transform: uppercase;
    line-height: 12px;
}

.header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li > ul >li >a:after {
    position: absolute;
    top: 50%;
    margin-top: -1px;
    right: 10px;
    content: '';
    opacity: .6;
    background-color: rgba(0, 0, 0, 0.3);
    width: 10px;
    height: 2px;
}
.header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li > ul >li >ul {
    left: 100%;
    top: -3px;
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 0 4px rgba(0,0,0,.4);
    padding: 6px 0;
    background: rgba(245, 245, 245, 1);
}

.header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li > ul >li >ul >li>a {
    min-width: 235px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgba(0, 0, 0, 0.03);
    padding: 10px 20px;
    font-size: 12px;
    color: #757575;
    position: relative;
    text-transform: uppercase;
    line-height: 12px;
}

.header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li > ul li a:hover {
    color: #323232;
    background: rgba(0,0,0,0.04);
}
.header-bottom .custom-menu-primary .hs-menu-wrapper > ul >li > ul:after {
    content: '';
    display: block;
    position: absolute;
    top: -11px;
    left: 14px;
    border: 6px solid transparent;
    border-bottom-width: 5px;
    border-bottom-color: #f5f5f5;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li{}
.custom-menu-primary .hs-menu-wrapper > ul ul li a{}
.custom-menu-primary .hs-menu-wrapper > ul ul li a:hover{}

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

    .custom-menu-primary .hs-menu-wrapper,
    .custom-menu-primary .hs-menu-wrapper > ul ul { 
        display:block !important;
    }
    .custom-menu-primary {
          height: auto !important;
          width:auto !important;
     }
     
     .outer-menu {
        display: none !important;
    }
}


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

/* Hide button on Desktop */
.mobile-trigger, .child-trigger{ display: none; }
.mobile-icon {
  display: none;    /* Hide button on Desktop */
  cursor: pointer;  /* Mouse pointer type on hover */
  width: 40px;      /* Button width */
  height: 40px;     /* Button height */  
  margin: 10px; 
  top: 0px;
  right: 0px;
}
.mobile-icon:hover {
    text-decoration: none; /* Removes link text underline on button */
}
 
/* Three line icon */
.mobile-icon span {
    margin: 0 auto;
    position: relative;
    top: 17px;
}
.mobile-icon  span:before, .mobile-icon span:after {
    position: absolute;
    content: '';
}
.mobile-icon  span, .mobile-icon  span:before, .mobile-icon  span:after {
    width: 25px; /* Icon line width */
    height: 4px; /* Icon line height */
    background-color: #fff; /* Color of all three lines */
    -webkit-border-radius: 2px; /**********************************************/
    -moz-border-radius: 2px;    /* Border Radius - must be half of the height */
    border-radius: 2px;         /**********************************************/
    display: block;
}
.mobile-icon  span:before {
    margin-top: -8px; /* Position top line */
}
.mobile-icon  span:after {
    margin-top: 8px; /* Position bottom line */
}
 

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



.close-icon:before {
    padding: 0 !important;
    right: 0;
    height: 47px;
    width: 49px !important;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e014";
    top: 0px;
    border-left: solid 1px #ccc !important;
    float: right;
    padding: 15px !important;
   
}

.close-icon {
    display: none !important;
    cursor: pointer;
    position: relative;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #8C8C8C;
    font-size: 12px;
    top: 0;
    height: 47px;
    width: 100% !important;
    text-align: center;
    line-height: 47px;
    right: 0;
    float: right;
    margin: 0px !important;
    border-bottom: 1px solid #D9D9D9;
}

a.back-menu {
    display: inline-block !important;
    width: calc(100% - 49px);
    border-color: #D9D9D9;
    padding: 13px 28px;
    border-bottom: 1px solid #D9D9D9;
    display: block;
    z-index: 1;
    color: #8C8C8C;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
}

a.close-icon span {
    color: #8C8C8C;
    font-size: 12px;
    text-transform: uppercase;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding-left: 48px;
    position: relative;
    top: -2px;
}

a.close-icon:hover {
    color: #8C8C8C !important;
}

@media (min-width: 992px) {

     /* Will prevent the '100% Height' script for the Main Menu to affect desktop */
     .custom-menu-primary {
          height: auto !important;
     }

}

@media (max-width: 991px){
    
    .custom-logo-wrapper {
        width: auto !important;
    }

     /* Show the Mobile and Close Icons */
     .mobile-icon,
     .close-icon {
            display: inline-block !important;
     }
     
     .custom-logo {
        display: inline-block;
    }
     /* Container added with js and is required for transforms to work */
     #site-wrapper{
        max-width: 100%;
        height: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
        position: relative;
     }

     /* Provide room in header for the toggle button */ 
     .header-container-wrapper .page-center{
        padding-right: 60px;
     }

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

     /* Mobile Nav is HIDDEN By Default */
     .custom-menu-primary {
        right: 0;
        top: 0;
        position: fixed;
        width: 100%;
        height: 100vh !important;
        background: #fff;
        overflow: auto;
        z-index: 999999;
        -webkit-backface-visibility: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-transform: translate(100%,0);
        -webkit-transform: translate3d(100%,0,0);
        -moz-transform: translate3d(100%,0,0);
        -ms-transform: translate3d(100%,0,0);
        -o-transform: translate3d(100%,0,0);
        transform: translate3d(100%,0,0);
        -webkit-transition: -webkit-transform .5s ease;
        -moz-transition: -moz-transform .5s ease;
        -ms-transition: -ms-transform .5s ease;
        -o-transition: -o-transform .5s ease;
        transition: transform .5s ease;
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        -ms-transform-style: preserve-3d;
        -o-transform-style: preserve-3d;
        transform-style: preserve-3d;
        padding: 0;
        width: 50% !important;
          
     }

     /* Set Link Colors */
     .custom-menu-primary a { color: ; }
     .custom-menu-primary a:hover { color: ; }

    .show-mobile-nav .custom-menu-primary {
         display: block;
        -ms-transform: translate(0,0);
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        -o-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);        
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul li a {
        padding: 13px 28px;
        border-bottom: 1px solid;
        border-bottom-color: inherit;
        display: block !important;
        z-index: 1;
        color: #8C8C8C !important;
        font-size: 12px !important;
        text-transform: uppercase;
        text-decoration:none;
        display:inline-block !important;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul li {
        float: none !important;
        display: block !important;
    }
    
    .custom-menu-primary .hs-menu-flow-horizontal>ul {
        margin: 0px !important;
        width: 100%;
        padding: 0px !important;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul li a:hover {
        background: none !important;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul li a {
        padding: 13px 28px !important;
        border-bottom: 1px solid;
        z-index: 1;
        color: #8C8C8C !important;
        font-size: 12px !important;
        text-transform: uppercase;
        width: 100% !important;
        border-color: #D9D9D9;
        line-height: 20px !important;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul li a:hover:before {
        background: none !important;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul >li > ul {
        display:  block!important;
       width:  100%!important;
       visibility: visible!important;
       opacity: 1!important;
    }
    
    .show-mobile-nav .footer-container-wrapper .overlay {
        opacity: 1;
        visibility: visible;
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul li {
       position: static !important;
    }
    
    .footer-container-wrapper .overlay {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.8);
        z-index: 11111;
        opacity: 0;
        visibility: hidden;
        transition: opacity .4s ease-out, visibility .4s ease-out;
    }
    
    .header-container-wrapper .custom-menu-primary{
        display:none;
        
    }
    
    body.show-mobile-nav {
        overflow: hidden;
    }
    
    .cm-banner-video .video-content h1 {
        font-size: 32px;
    }
    
    .child-trigger {
       display: block;
       background:transparent;
       height: 46px;
       margin-top: -48px;
       position: relative;
       z-index: 11;
       cursor: pointer;
       
    }
    
    .custom-menu-primary .hs-menu-wrapper > ul {
        border-bottom: 1px solid #D9D9D9 !important;
    }
    
    

  
}


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

/* 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 {}
#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 {}
.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 {}

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

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

/* Pagination */
.blog-pagination {}
.blog-pagination a {}
.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 {}


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

/* Labels and Legends */
label {}
.hs-form-field ,.widget-type-google_search input[type="text"],#hs-pwd-widget-password  {
    margin-bottom:30px;
}

/* 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 {
    padding: 16px 16px 16px 16px;
    outline: none;
    box-shadow: inset 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #D9D9D9;
    font-size: 13px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border-radius: 4px;
    -webkit-box-shadow: inset 1px 2px 0 rgba(0, 0, 0, 0.06);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    width:100%;
    max-width:600px;
    display:block;
}

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: rgba(0, 0, 0, 0.26);
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
    outline:none;
}

/* 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;
  margin:4px 0px;
}
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 {}
.invalid.error, textarea.error {
    border: 1px solid #EB3034 !important;
}
ul.hs-error-msgs.inputs-list {
    list-style: none;
    padding-left: 0;
    margin: 4px 0px;
}
/* Error */
.hs-error-msgs label{
    color:red;
}

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

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

.hs-form.stacked {
    margin-bottom: 20px;
}


/* =============== 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;
    background-color: #1874C2;
    color: #fff;
    text-shadow: none;
    padding: 10px 20px;
    line-height: 1.6;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    border-style: solid;
    border-radius: 3px;
    -webkit-transition: background-color .15s ease-out;
    transition: background-color .15s ease-out;
    display:inline-block;
    white-space:normal;
    text-align:center;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-radius: 3px;
    border: 1px solid transparent;
}

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

.hs-button.primary:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
    outline:none;
}


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

    .blog-listing-wrapper .post-listing .post-item {
        border-bottom: 1px solid #cccccc;
        padding: 0 0 20px;
        margin: 0 0 20px;
    }
    .blog-listing-wrapper .post-listing .post-item .post-body {}
    
    .blog-post-wrapper h2, .post-header h2{
        margin-bottom: 20px;
    }
    
    .blog-post-wrapper h2 a, .post-header h2 a{
        text-decoration: none;
    }
    .blog-post-wrapper h2 a:hover, .post-header h2 a:hover{}
    
    #hs_cos_wrapper_blog_subscription_title{}
    
    #comment-form h4{}
    
    #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;
    }
    
    #hubspot-topic_data{
        color: #888888;
        font-weight:700;
    }
    .post-listing #hubspot-author_data{
        margin-top: 0;
    }
    .hs-form .input ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .hs-form .input ul li{
        padding: 0 !important;
    }
    .custom_listing_comments {
        border: 1px solid #ccc;
        padding: 10px;
        margin: 10px 0;
    }
    .more-link{
        display: inline-block;
        padding-top: 20px;
    }
    .hs-blog-social-share{
        height: auto;
    }
    .blog-template .blog-sidebar .cell-wrapper{
        margin-bottom: 15px;
    }
    .blog-template .blog-sidebar ul{
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .blog-template .blog-sidebar ul li{
        padding: 0 0 10px;
    }
    .blog-pagination .previous-posts-link {
        display: block;
    }
    .blog-pagination .all-posts-link {
        display: block;
    }
    .blog-pagination .next-posts-link {
        display: block;
    }
    #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%;
    }
    .hs-blog-social-share {
         border-bottom: 1px solid #cccccc;
         border-top: 1px solid #cccccc;
         height: auto;
         margin-top: 10px;
         padding: 10px 0 0;
    }
    #recaptcha_response_field{
        width:auto !important;
        display:inline-block !important;
    }
    #captcha_wrapper > #recaptcha_area {
      margin: 0 0 20px;
    }
    #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%;
    }
    
    .hs-author-profile .hs-author-avatar img {
        height: auto !important;
        max-width: 100%;
    }
    .hs-author-profile .hs-author-avatar {
        max-width: 70px;
        padding: 10px 10px 10px 0;
    }
    
 /* Styles that do not fit into any of the available sections above can go here. */


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


/* =============== Screen sizes smaller than .page-center =============== */
@media (max-width: 1199px) and (min-width: 992px) {
    .header-bottom .custom-menu-primary .hs-menu-wrapper > ul > li> a {
            font-size: 11px;
    }
    
    .custom-menu-primary {
        width: auto !important;
    }
    
    .custom-logo-wrapper {
        width: auto !important;
    }
    
}
@media (max-width: 1199px) {
    .container-fluid .row-fluid .page-center {
      max-width:970px;
    }
}
@media (max-width: 991px) {
    .container-fluid .row-fluid .page-center {
      max-width:750px;
    }
    .fixed-header {
        position:static !important;
        display:none !important;
    }
    
    .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    visibility: visible!important;
    opacity: 1!important;
    }
}
/* =============== Landscape tablet and smaller devices =============== */
@media (max-width: 1248px) and (min-width:992px){
    
    .custom-menu-primary .hs-menu-wrapper > ul >li > ul >li >ul {
        left: auto !important;
        right: 100% !important;
    }
}

@media(min-width: 992px) and (max-width: 1220px){
    
    .header-bottom a#ctabutton{
            margin-left: 12.8%;
    }
}

@media (min-width: 990px) and (max-width: 1199px){
    
    .footer-form .hs-input{
        max-width: calc(90% - 61px);
    }
    
    .footer-form .hs-button.primary, .footer-form input[type="submit"], .footer-form input[type="button"]{
            min-width: 100px;
    }
    
    .header-bottom .custom-menu-primary .hs-menu-wrapper > ul{
            margin-left: 3px;
    }
    
    .fixed-header .custom-menu-primary .hs-menu-wrapper > ul li a {
        font-size: 10px;
    }
    
    
}
@media (max-width: 990px){
    
    .footer-form .hs-button.primary, .footer-form input[type="submit"], .footer-form input[type="button"] {
        padding: 5px 0px !important;
        min-width: 90px !important;
    }

    .footer-form .hs-input {
        border: none;
        max-width: calc(90% - 65px) !important;
        padding: 9px 15px 10px!important;
        line-height:21px;
    }
    
   
}

@media (min-width: 768px) and (max-width: 990px){
    .container-fluid .row-fluid .page-center {
        width: 750px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .header-bottom a#ctabutton {
        right: 5%;
    }
    
}

@media (max-width: 767px) {
    .container-fluid .row-fluid .page-center {
      max-width:100%;
      padding-left: 15px;
      padding-right: 15px;
    }
    
     .custom-menu-primary{
         width:100% !important;
     }
     
     .bottom-wrapper .footer-social-icon {
        text-align: left;
        margin-left: 10px !important;
        float: none !important;
    }
    
    .custom-footer-menu2 {
        margin-left: 0px !important;
    }
    
    .footer-form .hs-button.primary, .footer-form input[type="submit"], .footer-form input[type="button"] {
        width: 100% !important;
        float: none;
        position: static;
    }
    
    .footer-form .hs-input {
        max-width: 100% !important;
        float: none !important;
    }
    .footer-form .hs-error-msgs label{
        margin-bottom:0px;
    }
    
    .logo-text {
        display: none;
    }
    
    .footer-bottom-logo {
        text-align: center;
        margin-top: 67px;
    }
    
    .footer-right-text p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .mobile-icon {
        display: block !important;
    }
    
    .custom-logo a img {
        float: none !important;
    }
    
    .custom-logo-wrapper {
        width: 100% !important;
    }
    .header-bottom {
        /*background:#151515;*/
        width: 100% !important;
        display: block !important;
        text-align: center;
    }
    
   .custom-logo {
        display: block !important;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        margin-bottom: 5px;
        padding-bottom:5px;
    }
    
    .header-bottom a#ctabutton {
        top: 90px;
        right: 30px;
    }
    
    .cm-banner-video .video-content {
        padding-top: 200px;
        padding-bottom: 140px;
    }
    
    .cm-banner-video .video-content h1 {
         padding-top: 60px;
    }
    
    .cm-banner-video.no-banner {
        min-height: 150px;
    }
    
    body.error-template.one-column .body-container, body.password-template.one-column .body-container, body.subscription-template.one-column .body-container {
        padding-top: 140px;
    }
}  


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

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



@media (max-width: 390px) {
    
     .subscribe-options label {
        margin:0px;
    }
    
    div#recaptcha_area {
        width: 100% !important;
        overflow-x: auto !important;
    }


    
}