/* ==========================================================================
   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
   10. CASE STUDY CLASSES
   ========================================================================== */


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


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

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

@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css');
@import url('//fonts.googleapis.com/css?family=Libre+Franklin:400,700');

/* 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 {
  height: 100%;
  margin: 0;
  padding: 0;
  	font-size: 18px;
} 

body {
  background: #fff;
  font-family: Libre Franklin,sans-serif;
	line-height: 1.15;
	color: #000;
	font-size: 1rem;
  display: flex;
  flex-direction: column;
}

/* Page Center */
.container-fluid .row-fluid .page-center {
  float: none;
  width: 100%;
  max-width: 96rem;
  margin: 0 auto;
}

/* Highlighted Text */
::-moz-selection {
  color: #fff;
  background: #39f;
  text-shadow: none;
}
::selection {
  color: #fff;
  background: #39f;
  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 {
    margin: 0 0 15px;
    font-family: Libre Franklin,sans-serif;
    line-height: 1.15;
    color: #000;    
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {}

h1 {
    font-size: 1.8em;
    font-weight:500;
    line-height:1.4;
}
h2 {
    font-size: 1.3em;
    color:#f0505c;
    padding: .6em 0 .3em 0;
  	font-weight:500;
  	line-height: 1.4;
}
h3 {
	  font-size: 1.2em;
    font-weight: 500;
    margin: 1em 0;
}
h4 {
	font-size: 16px;
}
h5 {
	font-size: 0.83em;
}
h6 {
	font-size: 0.67em;
}

/* Anchor Links */
a {
    text-decoration: none;
    color: #1b517c;
}
a:hover, a:focus {
    outline: 0;
    text-decoration: none;
	cursor: pointer;
}


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

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

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

hr.red-post-rule {
    color: #f0505c;
    background-color: #f0505c;
    height: 5px;
}


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

.widget-span.cm-header {
    background-color: #fff;
    z-index: 999;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0 0 4px 2px rgba(0,0,0,.2);
    border-bottom: 1px solid #eee;
    font-size: .875rem;
}
.widget-span.cm-outer-header {
    min-height: 70px;
}
.widget-span.cm-header .page-center {
    max-width: 100%;
    width: 100%;
}

.widget-span.cm-logo {
    width: auto;
    float: left;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
}
.widget-span.cm-menu-search-wrapper {
    width: 80%;
    float: right;
    margin: 0;
    padding-top: 2rem;
    padding-bottom: 1rem;
  	padding-right: 4rem;
}

.search-wrapper,
.custom-right-setting-wrapper {
    padding-left: .5rem;
    padding-right: .5rem;
    display: inline-block;    
    vertical-align: middle;
}
.search-wrapper input#sTerm {
    margin: 0;
    vertical-align: middle;
    font-size: .75rem;
    padding: .5rem;
    color: #777;
    width: 16rem;
    display: inline-block;
    border-radius: .25rem;
    border: 1px solid #aaa;
    box-shadow: none;
    min-height: 32px;
    position: relative;
    top: -1px;
}
.search-wrapper input#sTerm::-moz-placeholder {
    opacity: 1;
}
.widget-span.marketing-resources-menu {
    width: auto;
    float: initial;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}
.widget-span.cm-setting-wrapper {
    width: auto;
    margin: 0;
    display: inline-block;
    float: initial;
    vertical-align: middle;
}
.topNavAccount {
    border-top: 1px solid #ddd;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,.2);
    position: fixed;
    width: 100%;
    left: 0;
    background: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: none;
    margin: 8px 0 0;
}
.submenu {
    width: 20%;
    float: right;
}
.submenu > ul {
    list-style-type: none;
    padding: 0 0 0 40px;
    margin: 14px 0;
}
.submenu > ul > li {
    padding-bottom: .75rem;
}
span.dn-l {
    display: none;
}
input.button {
    vertical-align: middle;
    outline: 0 !important;
    cursor: pointer;
}
.search-wrapper {
    padding: 0;
}

a.setting-button {
    border-bottom: 4px solid transparent;
    text-decoration: none;
    padding: 0 0 7px;
}
a.setting-button:hover,
a.setting-button.active{
    border-bottom: 4px solid #ef5350;
}

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

.body-container-wrapper {    
    position: relative;
    font-size: 1rem;
    color: #111;
    line-height: 1.5;
    font-family: georgia,serif;
    max-width: 1180px;
    margin: .5em auto 0 auto;
   	padding: 0 2em 3.5em 2em;
    flex: 1 0 auto;
  	width:100%
}

.body-container {}

.content-wrapper {}
.main-content{
    box-shadow: 0 0 4px 2px rgba(0,0,0,.2);
    background-color: #fff;
    padding: 1rem;
    margin-bottom: 1rem;    
}

.sidebar{
    box-shadow: 0 0 4px 2px rgba(0,0,0,.2);
    background-color: #fff;
    padding: 2rem;
    margin-bottom: 1rem;    
}

.sidebar .main-content {
    padding: 0;
    background: none;
}

.main-content.web-page{
 box-shadow:none;
}

.sidebar{}
.sidebar.right{}
.sidebar.left{}

.custom-banner {
    height: 60px;
   /* -webkit-transform: skewY(-5deg);
    transform: skewY(-5deg);
    top: -80px;*/
    position: relative;
}

.custom-banner:after{
		background-image: linear-gradient(135deg,#3c5c7a 45%,#ef5350);
    background-color: #354b5f;
    background-size: cover;
    content: "";
    display: block;
    height: 1200%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    bottom: 0;
    -webkit-transform: skewY(-12deg);
    transform: skewY(-12deg);
    -webkit-transform-origin: 100%;
    transform-origin: 100%;

}

.custom-banner-building {
    background-color: #354b5f;
    background-size: cover;
    height: 300px;
    -webkit-transform: skewY(-5deg);
    transform: skewY(-5deg);
    top: -80px;
    position: relative;    
}

.white-background {
    box-shadow: 0 0 4px 2px rgba(0,0,0,.2);
    background-color: #fff;
    padding: 2rem;
    margin-bottom: 1rem;
}

.span12.widget-span.widget-type-cell.main-content.web-page img {
    margin: 1.5em auto 1em auto !important;
}

.landing-page-centered p{
		padding: 2rem 0 1rem 0;
}

.span6.widget-span.widget-type-custom_widget.pdf-link-left, .span6.widget-span.widget-type-custom_widget.pdf-link-right {
    margin-bottom: .7em;
  	padding: 1.2em;
  	background: #fff;
    box-shadow: 0 0 4px 2px rgba(0,0,0,.2);
}

.logo-carousel{
		filter:grayscale(100%);
  	padding-top: 2rem;
}


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

.footer-container-wrapper {
		flex-shrink: 0;
}
.footer-container {}


.cm-footer {
    background: #607d8b;
    color: #fff;
    font-size: .875rem;
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 20px;
}
.hs-blog-listing .cm-footer {
    margin-top: 0;
}
.cm-copyright p {
    font-size: .75rem;
    margin: 18px 0 11px;
}
.cm-footer a {
    color: #fff;
}
.cm-footer-menu ul li a {
    -webkit-transition: color .15s ease-in;
    transition: color .15s ease-in;
    padding: .5rem;
    display: inline-block;
}
.cm-footer-menu ul li {
    display: inline-block;
    float: none !important;
}
.cm-footer-menu {
    padding: 30px 0 2px 0;
}
#back-to-top {
    font-size: .75rem;
    display: inline-flex;
    margin: 12px 0 2px;
}

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


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

/* Parent List */
.custom-menu-primary .hs-menu-wrapper > ul{
    display: block;
  	float:right;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper{
  left:auto;
}

.custom-menu-primary .hs-menu-wrapper > ul > li{
    position: static !important;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:not(:first-child) {
    padding: 0 0 0 3px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a{
    -webkit-transition: color .15s ease-in;
    transition: color .15s ease-in;
    margin-right: 1rem;
    padding-bottom: 2px;
    color: #555;
    position: relative;
}
.custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children > a:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    color: #ff725c;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:before {
    content: "";
    height: 4px;
    width: 100%;
    display: block;
    background: #ef5350;
    position: absolute;
    top: 32px;
    opacity: 0;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:hover:before,
.custom-menu-primary .hs-menu-wrapper > ul > li.clicked > a:before,
.custom-menu-primary .hs-menu-wrapper > ul > li.active > a:before{
    opacity: 1;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:hover{}

/* Child List */
.custom-menu-primary .hs-menu-wrapper > ul > li > ul {
    background-color: #fff;
    width: auto;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,.2);
    margin-top: 18px;
    padding: 1rem 1rem 1rem 0;   
    display: none !important;
}
.custom-menu-primary .hs-menu-wrapper > ul > li.clicked > ul {
    display: block !important;
}
.sub-menu-wrapper {
    max-width: 64rem;
    margin: 0 auto;
}
/*
.row-fluid-wrapper:last-child .hs-menu-wrapper.hs-menu-flow-horizontal > ul{
    float: right;
}
*/
.custom-menu-primary .hs-menu-wrapper > ul > li .sub-menu-wrapper {
    max-width: 48rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 10px;
}

.custom-menu-primary .hs-menu-wrapper > ul > li > ul > div > li{
    display: block;
    margin-bottom: 1rem;
    vertical-align: top;
    width: auto;
    padding-right: 1rem;
    float: none;
    counter-increment: a;
    position: relative;
    padding-left: 0;
    padding-bottom: .875rem;
}

.custom-menu-primary .hs-menu-wrapper > ul > li > ul > div > li.hs-item-has-children > a:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    vertical-align: middle;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid;
    color: #ff725c;
}

.custom-menu-primary .hs-menu-wrapper > ul > li > ul > div > li> ul {
    background-color: #fff;
    width: auto;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,.2);
    padding: 1rem 1rem 1rem 0;   
    display: none !important;
  	max-width: 48rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 10px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > ul > div > li.clicked > ul { 
    display: block !important;
}

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

.custom-menu-primary .hs-menu-wrapper > ul > li > ul > div > li.clicked > ul > li{
		display: block;
    margin-bottom: .5rem;
    vertical-align: top;
    width: auto;
    padding-right: 1rem;
    float: none;
    counter-increment: a;
    position: relative;
    padding-left: 0;
    padding-bottom: .5rem;
} 

.custom-menu-primary .hs-menu-wrapper > ul > li> ul > div > li > a {

}

.custom-menu-primary .hs-menu-wrapper > ul ul li{}
.custom-menu-primary .hs-menu-wrapper > ul ul li a{
    white-space: normal !important;
}
.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 */
@media screen and (min-width: 1104px) {
    .custom-menu-primary .hs-menu-wrapper,
    .custom-menu-primary .hs-menu-wrapper > ul ul { 
        display:block !important;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children:hover > ul.hs-menu-children-wrapper {
        opacity: 0;
        visibility: hidden;
    }
    
    .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children.clicked > ul.hs-menu-children-wrapper{
        opacity: 1 !important;
        visibility: visible !important;
    }
    .widget-span.cm-menu-search-wrapper {
        overflow-y: initial !important;
    }
}


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

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

@media (max-width: 1103px){

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

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

.mobile-trigger {
    display: inline-block !important;
    cursor: pointer;
    float: right;
    padding-right: 1rem;
    text-transform: uppercase;
    font-size: .8rem;
    color: #ef5350;
}
 .line {
    width: 26px;
    height: 3px;
    background-color: #ef5350;
    display: block;
    margin: 6px 5px 6px 15px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.mobile-trigger > div {
    display: inline-block;
    padding: 0 0 0 3px;
    vertical-align: middle;
}
.text {
    position: relative;
    top: 1px;
}
.mobile-open .line:nth-child(2) {
    opacity: 0;
}
.mobile-open .line:first-child {
    -webkit-transform: translateY(13px) rotate(45deg);
    transform: translateY(13px) rotate(45deg);
    margin: 9px 5px 14px 15px;
  
}
.mobile-open .line:nth-child(3) {
    -webkit-transform: translateY(-13px) rotate(-45deg);
    transform: translateY(-13px) rotate(-45deg);
}


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

  /* Mobile Menu Styles */ 
  .custom-menu-primary.js-enabled .hs-menu-wrapper{
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    font-size: 1.1rem;
  }
.custom-menu-primary .hs-menu-wrapper > ul > li > a {
    -webkit-transition: color .15s ease-in;
    transition: color .15s ease-in;
    margin-right: 0;
    padding-bottom: 0;
    color: #555;
    position: relative;
    display: inline-block;
    width: auto !important;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:not(:first-child),
.custom-menu-primary .hs-menu-wrapper > ul > li {
    padding: 0 0 1rem;
    text-align: center;
    margin: 0 0 1px;
}
.custom-menu-primary .hs-menu-wrapper > ul {
    padding: 16px 0 0 0;
}
.custom-menu-primary .hs-menu-wrapper > ul > li:last-child {
    padding-right: 9px;
}
.search-wrapper,
.custom-right-setting-wrapper {
    display: block;
}
.search-wrapper input#sTerm {
    width: 20rem !important;
    top: -2px;
}
input.button {
    position: relative;
    top: -1px;
}
span.dn-l {
    display: inline-block;
    vertical-align: 9px;
    position: relative;
    left: -3px;
}
a.setting-button {
    border-bottom: 0 !important;
    text-decoration: none;
    padding: 0;
    display: inline-block;
    margin: 13px 0 0 4px;
}
.widget-span.custom-menu-primary,
.widget-span.cm-setting-wrapper {
    display: block;
    width: 100%;
}
.widget-span.cm-menu-search-wrapper {
    width: 100%;
    display: none;
    overflow-y: auto !important;
}
.widget-span.cm-menu-search-wrapper {
    border-top: 1px solid rgba(0,0,0,.3);
    padding-bottom: 2rem;
    padding-top: 1rem;
    text-align: center;
}
.widget-span.cm-logo {
    width: 100%;
    float: left;
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 1rem;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:before {
    content: none;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a {
    color: #1b517c;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > ul {
    overflow: hidden;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > ul > div > li{
    float: none;
    text-align: center;
  	padding-right: 0;
}
.submenu {
    width: 100%;
}
.topNavAccount {
    box-shadow: none;
    position: static;
    padding-bottom: 0;
}
.custom-right-setting-wrapper {
    padding: 0;
}
.submenu > ul {
    margin-bottom: 0;
}
}

/* =============== Breadcrumb Menu =============== */

.hs-breadcrumb-menu {
  font-family: Libre Franklin,sans-serif;  
  font-size: 14px;
  	line-height:0;
}

.hs-breadcrumb-menu-wrapper{
		padding: 20px 0 0 10px;
}



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


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


.blog-content{
		background: #fff;
    padding: 3em 2em 3.5em 2em;
  	box-shadow: 0 0 4px 2px rgba(0,0,0,.2);
}

.hs-blog-post.blog .content-wrapper {
    width: 80% !important;
    max-width: 64rem !important;
    box-shadow: 0 0 4px 2px rgba(0,0,0,.2);
    padding: 2rem;
    background: #fff;
}
.hs-blog-post.blog .blog-content {
    width: 70%;
    padding-right: 2rem;
    padding-left: .5rem;
    border-right: 1px solid #eee;
}
.hs-blog-post.blog .blog-sidebar {
    padding-left: 2rem;
    width: 30%;
    margin: 0;
}
.cm-post-title-wrapper {
    text-align: center;
}
.date {
    font-size: .75rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
    color: #999;
}


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

.blog .blog-content {}
.hs-blog-listing.blog .blog-content {
    width: 70%;
    padding-right: 2rem;
}

/* 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 {
		margin-right: 1rem;
}

/* Blog Title */
.hs-blog-header h1 {
    font-size: 1rem;
    text-transform: uppercase;
    /*color: #777;*/
    color: #fff;
    font-weight: 500;
    padding-left: .5rem;
    padding-right: .5rem;
}

h1.post-listing{
		text-transform: capitalize;
}

/* Blog Post Title */
.post-header h2,
h2.post-listing-simple {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: .5rem;
}
.post-header h2 a,
h2.post-listing-simple a {
    text-decoration: none !important;
}
span.filter-link-count {
    display: none;
}
/* Blog Author and Avatar */
#hubspot-author_data {
    font-size: .75rem;
    color: #999;
    line-height: 1.25;
    font-family: "Libre Franklin", sans-serif;
}
#hubspot-author_data:after {
    content: '';
    display: block;
    clear: both;
    width: 4rem;
    border-bottom: 1px solid #ff725c;
    padding-bottom: 1rem;
}
#hubspot-author_data a {
    color: #999;
}
#hubspot-author_data a.author-link {}
#hubspot-author_data .hs-author-avatar {
    max-width: 70px;
    padding: 10px 10px 10px 0;
}
#hubspot-author_data .hs-author-avatar img {
    height: auto !important;
    max-width: 100%;
}

/* Use this to set up different styling for your blog posts */

.post-item-inner {
    width: 100%;
  	padding: .9em;
}
.blog-listing-wrapper .post-listing .post-item .post-body {
    font-size: 1rem;
    color: #111;
    line-height: 1.5;
    font-family: georgia,serif;
}
.blog-post-wrapper .post-body {
    font-size: 18px;
    color: #263238;
    font-family: georgia,serif;
    line-height: 1.618em;
    letter-spacing: .2px;
}
.hs-blog-post .blog-sidebar h3 {
    font-size: .875rem;
    margin-bottom: .5rem;
    text-transform: uppercase;
    color: #555;
}
.blog-post-wrapper .post-body hr {
    display: none;
}

.post-body li {
    padding-bottom: .6rem;
}
.widget-span.cm-author .span2,
.widget-span.cm-author .span10{
    margin: 0;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}
.span2 > a > img {
    max-width: 50px;
    margin-right: 10px;
    margin-bottom: 10px;
}
a.author-link {
    font-weight: normal;
    font-size: .875rem;
    line-height: 1.25;
}
.cm-follow ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cm-follow ul li {
    display: inline-block;
    margin-right: 1px;
}
.cm-follow h3 {
    font-size: .875rem;
    text-transform: uppercase;
    margin-bottom: .5rem;
    color: #555;
}
.cm-sidebar-image {
    text-align: center;
}
.cm-sidebar-image img {
    margin-top: 2rem;
    display: block;
}

.cm-related-latest-post h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    padding-top: 1rem;
    border-width: .125rem;
    border-top-style: solid;
    margin-top: 20px;
    margin-bottom: 16px;
}
.view-all-btn {
    text-align: right;
    margin: 12px 0;
    font-size: .75rem;
}
.view-all-btn a {
    color: #ef5350;
}
.cm-related-latest-post ul {
    font-size: .875rem;
    padding-left: 1rem;
    line-height: 1.5;
    font-weight: 700;
    margin: 14px 0;
    overflow: hidden;
}
.cm-related-latest-post ul li {
    width: 50%;
    padding-bottom: 1rem;
    padding-right: 2rem;
    float: left;
}
.hs-blog-post .cm-footer {
    margin-top: 2rem;
}
/* Post Featured Image on Listings Page */
.hs-featured-image-wrapper {}
.hs-featured-image-wrapper .hs-featured-image-link {}
.hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image{
  border-width: 0;
  max-width: 210px;
  height: auto;
  width: auto;
  display: block !important;
  float: right;
  margin: 20px 0 20px 20px;
}

/* Read More Link */
a.more-link {
    display: inline-block;
    margin:0 0;
    font-size: .875rem;
}

/* Blog Topics List */
div#hubspot-topic_data {
    font-family: libre franklin, sans-serif;
}
#blue-topic-pill {
		background-color: #e1f5fe; 
  	border-radius: 9999px; 
  	font-family: Libre Franklin, sans-serif;
  	font-size: 16px; 
  	padding: .5rem 1rem .5rem 1rem;
		width: auto;
  	display: inline-block;
  	margin-top: .7em;
}
#hubspot-topic_data a.topic-link {
}

/* Blog Social Sharing Icons */
ul.hs-blog-social-share-list {
    width: auto;
    margin: 0;
    display: inline-block;
}
.hs-blog-social-share {
  margin-top: 20px;
  height: auto;
}
.body-container .hs-blog-social-share li{
    background: none;
    padding: 0;
}
#comment-form .hs_subscribe li {
    list-style: none;
    padding: 0;
}

.social-sharing{
		padding-top:1.5em;
}


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

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

.comment-body {
    border-bottom: medium none;
    display: block;
    padding: 0;
}

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

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

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

/* Pagination */
.blog-pagination {
    padding: 30px .5rem;
}
.blog-pagination a {
   display: inline-block;
   margin-right: 7px;
   margin-bottom: 5px;
}
.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 {
    font-family: Libre Franklin,sans-serif;
    line-height: 1.15;
    color: #000;
    font-size: 16px;    
}
.slick-dots {
    display: none !important;
}

.hs-blog-listing.blog .blog-sidebar {
    width: 30%;
    float: right;
    margin: 0;
}
.hs-blog-listing.blog .blog-sidebar h3 {
    background-color: #3c5c7a;
    font-size: .75rem;
    text-transform: uppercase;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    color: #fff;
    display: inline-block;
    font-weight: normal;
    margin: 0;
}
.cm-rss .hs-rss-module,
.hs-blog-listing .blog-sidebar .widget-module{
    background-color: #fff;
    padding: .5rem 2rem 2rem;
    font-size: .875rem;
    line-height: 1.5;
}
.hs-blog-listing .blog-sidebar .widget-module {
    padding: 1rem;
}
.cm-author {
    margin-bottom: 30px;
}
.cm-post-topics ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cm-post-topics ul li {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,.1);
}
.cm-post-topics ul li a {
    font-size: .875rem;
    line-height: 1.25;
}
.cm-rss .hs-rss-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,.1);
    margin: 0;
}
.cm-rss .hs-rss-byline {
    opacity: 1;
    color: #777;
    font-size: 14px;
    line-height: 1;
    padding-top: 10px;
}
.cm-reader-choice {
    text-align: center;
}

.blog-sidebar .cm-topics .widget-module > ul {
    padding: 0;
    list-style: none;
    margin: 0;
    overflow: hidden;
}
.blog-sidebar .cm-topics .widget-module > ul > li {
    float: left;
    width: auto;
}
.blog-sidebar .cm-topics .widget-module > ul > li > a {
    background-color: #cdecff;
    padding: .5rem 1rem;
    margin: .25rem;
    line-height: 1.25;
    font-weight: 700;
    display: inline-block;
    border-radius: 9999px;
}

.cm-digest-sign-up {
    text-align: center;
}
.cm-cont-wrapper {
    padding: 1rem 2rem 2rem;
    background-color: #fff;
}
.cm-cont-wrapper > ul {
    list-style: none;
    padding: 0;
    margin: 14px 0;
    font-size: .875rem;
}
.cm-cont-wrapper > ul > li {
    counter-increment: a;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}
.cm-cont-wrapper > ul > li:before {
    content: counter(a);
    border: 1px solid #ef5350;
    color: #ef5350;
    padding: 4px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: -5px;
    min-width: 26px;
}
.cm-cont-wrapper > p {
    margin: 0;
    text-align: right;
    font-size: .75rem;
    text-transform: uppercase;
}

.cm-featured-authors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-sidebar .cm-featured-authors .widget-module {
    padding: 2rem;
}
.cm-journalists {
    text-align: center;
}
.cm-contributor-inner {
    padding: 2rem;
    font-size: .875rem;
    background-color: #fff;
    line-height: 1.15;
}

.cm-image img {
    border-radius: .25rem;
    padding: .5rem;
    width: 4rem;
    border: 1px solid rgba(0,0,0,.2);
}
.cm-image {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}
.cm-title {
    width: auto;
    display: inline-block;
    vertical-align: top;
    padding-left: 15px;
}
.cm-content p {
    line-height: 1.5;
}
p.cm-byline-more {
    text-transform: uppercase;
    text-align: right;
}

.cm-recent-post-slider-wrapper {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: #fff;
}
.widget-span.cm-recent-post-slider-wrapper .page-center {
    max-width: 96rem;
    width: 70%;
}
.recent-post-item-wrapper.responsive {
    padding: 20px 20px 0 35px;
    width: 100%;
}
.custom-recent-post-slider h3 {
    font-size: 1rem;
    margin: 0;
    text-transform: uppercase;
    color: #777;
    font-weight: 500;
}
.slick-initialized .slick-slide {
    margin-right: 15px;
}
.slick-prev, .slick-next {
    position: absolute;
    width: 15px;
    cursor: pointer;
    background: #cdd 50% no-repeat;
    top: 50%;
    height: 35px;
    font-size: 0;
    margin: 0;
}

.slick-prev:before, .slick-next:before {
    content: none;
}

button.slick-prev.slick-arrow {
    background-image: url(//cdn2.hubspot.net/hubfs/4091418/JDSupra%20-Jan2018/Docs/video-nav-prev.gif) !important;
}
button.slick-next.slick-arrow {
    background-image: url(//cdn2.hubspot.net/hubfs/4091418/JDSupra%20-Jan2018/Docs/video-nav-next.gif) !important;
}

.slick-prev:hover, 
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    background: #ce2a19 50% no-repeat;
}
.recent-post-item-wrapper h2 {
    margin-top: .5rem;
    font-size: .875rem;
    line-height: 1.5;
    font-weight: normal;
}


/* Blog Modules */
.blog .blog-sidebar .widget-span {}

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

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

.hs-blog-listing .hs-author-profile {
    border-bottom: 1px solid #ccc;
    margin: 0 0 20px 0;
    overflow: hidden;
    background: #fff;
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0 0 4px 2px rgba(0,0,0,.2);
}
.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;
}


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


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



/* Descriptions */
h3.form-title{
    font-size:1rem;
}

.hs-form {
    color: #333;
    line-height: 1.618em;
    text-rendering: optimizeLegibility;
    margin-bottom: 25px;
    font-family:Libre Franklin, sans-serif;
    font-weight:500;
  	font-size:.83rem;
}
ul.hs-error-msgs {
    padding: 0;
    list-style: none;
    margin: -6px 0 8px;
}

/* Labels and Legends */
label {}
body .hs-form-field > label,
.widget-type-google_search label,
#comment-form li.hs-form-booleancheckbox label {
    display: block;
    font-size: 14px;
}

/* One Line Inputs */
.body-container-wrapper input[type="text"],
.body-container-wrapper input[type="password"], 
.body-container-wrapper input[type="datetime"], 
.body-container-wrapper input[type="datetime-local"], 
.body-container-wrapper input[type="date"], 
.body-container-wrapper input[type="month"], 
.body-container-wrapper input[type="time"], 
.body-container-wrapper input[type="week"], 
.body-container-wrapper input[type="number"], 
.body-container-wrapper input[type="email"], 
.body-container-wrapper input[type="url"], 
.body-container-wrapper input[type="search"], 
.body-container-wrapper input[type="tel"], 
.body-container-wrapper input[type="color"],
.body-container-wrapper input[type="file"],
.body-container-wrapper textarea,
.body-container-wrapper select {
    border: 1px solid #ccc;
    border-radius:0;
    padding: 6px;
    font-size: .85rem;
    line-height: 1.15;
    font-family: Libre Franklin, sans-serif;
    color: #455c78;
    display: block;
    width: 100%;
    margin-bottom: 15px;
  background-color:#fff;
    
}

.body-container-wrapper input[type="text"]:focus,
.body-container-wrapper input[type="password"]:focus, 
.body-container-wrapper input[type="datetime"]:focus, 
.body-container-wrapper input[type="datetime-local"]:focus, 
.body-container-wrapper input[type="date"]:focus, 
.body-container-wrapper input[type="month"]:focus, 
.body-container-wrapper input[type="time"]:focus, 
.body-container-wrapper input[type="week"]:focus, 
.body-container-wrapper input[type="number"]:focus, 
.body-container-wrapper input[type="email"]:focus, 
.body-container-wrapper input[type="url"]:focus, 
.body-container-wrapper input[type="search"]:focus, 
.body-container-wrapper input[type="tel"]:focus, 
.body-container-wrapper input[type="color"]:focus,
.body-container-wrapper input[type="file"]:focus,
.body-container-wrapper textarea:focus,
.body-container-wrapper select:focus {
    -webkit-box-shadow: 0 0 4px #333;
    -moz-box-shadow: 0 0 4px #333;
    box-shadow: 0 0 4px #333;
    border: 1px solid #555;
    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{
    color: red;
}

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

/* Search Results */
input.hs-search-field__input {
    max-width: 500px;
}

p.hs-search-results__description {
    margin-top: 0;
}
h2.search-results{
		margin-bottom:0;
}
a.hs-search-results__title {
    color: #f0505c;
}
.hs-search-field--open .hs-search-field__suggestions {
    border: 1px solid #ccc;
}
.hs-search-field__suggestions {
    padding: 10px;
    font-size: .8rem;
}
.hs-search-field__suggestions a, .hs-search-field__suggestions #results-for {
    padding: 4px;
}


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

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

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

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


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

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

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

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

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


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

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

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

/* =============== Intake Form, Related Content, Testimonials =============== */

.span12.widget-span.widget-type-custom_widget.intake-form, .span12.widget-span.widget-type-custom_widget.related-content, .span12.widget-span.widget-type-custom_widget.jump-to, .hs-testimonial.hs-testimonial--top.testimonial-sidebar {
    padding: 1.4em;
  	background: #fff;
    box-shadow: 0 0 4px 2px rgba(0,0,0,.2);
}
.related-content, .jump-to{
		color: #333;
    line-height: 1.618em;
    text-rendering: optimizeLegibility;
    margin-top: 2em;
    font-family: Libre Franklin,sans-serif;
}

.related-content a, .jump-to a {
    padding-bottom: 1em;

}

.testimonial-sidebar, .hs-testimonial.hs-testimonial--left.testimonial-horizontal{

    line-height: 1.8em;
    text-rendering: optimizeLegibility;
    margin: 0 auto 4em auto;
    font-family: Libre Franklin,sans-serif;
  	font-size: 14px;
  	padding:2em
}

.hs-testimonial.hs-testimonial--left.testimonial-horizontal blockquote{
		margin-top:2em;
}

.hs-testimonial.hs-testimonial--left.testimonial-horizontal{
		border: 1px solid #e6e6e6;
}

.name, .firm-name, .title{
    text-align: center !important;
}

.hs-testimonial{
		margin: 2em auto;
}

.hs-testimonial blockquote{
		background-color: #3b5b79;
  	border-radius: 22px;
  	box-shadow:none;
  	color: #fff;
  	width:100%;
}

.hs-testimonial blockquote:before{
	background-color: #3b5b79;
  border: none !important;
}

.hs-testimonial a {
    color: #5cbfe9;
}

.testimonial-text{
  width:100%;
}

@media only screen and (min-width: 768px){
.hs-testimonial--left blockquote:before {
    bottom: calc(60% - .5em - 1px);
  }
  .hs-testimonial--left figure {
    margin: 0 auto;
  }
  .testimonial.photo-left {
    margin-right: 1.5em;
	}
  .hs-testimonial.hs-testimonial--left.testimonial-horizontal blockquote{
		margin-top: 0em;
}
}

.span12.widget-span.widget-type-custom_widget.homepage-title {
    margin-bottom: 1.3em;
}

.homepage-title h1 {
    font-size: 2.3em;
    color: #ffffff;
}

.span12.widget-span.widget-type-custom_widget.white-background.explore-homepage {
    margin-top: 1em;
}

/* =============== Blog Listings and Case Studies Listings =============== */

.blog-listing-wrapper .post-listing .post-item, .case-study-listing{
		width: 100%;
    padding: 1rem;
    float: left;
    border: 6px solid #e1f5fe;
    margin-bottom: .7em;
    height: auto;
  	font-family:Libre Franklin;
}

.post-body.clearfix p {
    margin-top: 0;
}

.case-study-listing blockquote{
		text-indent:-.5em;
  	margin: 1em 2em;  	
}
.case-study-listing p{
  	font-size:.8em;
		margin-left: 2.3em;
  	margin-right:4em  	
}
.read-now a{
    color: #eb5351;
    float: right;
    margin-right: 3em;
}

@media (max-width: 479px) {
	.case-study-listing blockquote{
		text-indent:-.5em;
  	margin: 1em .5em;  	
}
.case-study-listing p{
		margin-left: .5em;
  	margin-right:4em  	
}

}




/* ==========================================================================
   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;
    display: inline-block;
    vertical-align: bottom;
    color: #333;
    font-family: sans-serif;
    outline: 0 !important;
    font-size: 14px;
    line-height: 1.15;
    border: 1px solid #ffd725;
    border-radius:9999px;
    background-color: #ffe058;
    text-shadow: 0 1px 0 #ffe559;
    padding: 7px 25px;    
}

.hs-button.primary:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    text-decoration: none;
    background-color: #ffeb78;
    color: #000;
}

.hs-button.primary:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}


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

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


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

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


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

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


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

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


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


.landing-page.one-column .body-container form, 
.error-template.one-column .body-container form, 
.password-template.one-column .body-container form, 
.subscription-template.one-column .body-container form{
    width: 50%;
}
.cm-footer .page-center {
    width: 100% !important;
}

.error-template.one-column .body-container-wrapper, 
.password-template.one-column .body-container-wrapper, 
.subscription-template.one-column .body-container-wrapper{
    margin-top: 20px;
    top: 0;
}
div.post-listing-simple .post-item .post-item-inner {
    margin-bottom: 10px;
}

@-moz-document url-prefix() {
    .body-container-wrapper {
        margin-top: 0;
        top: 0rem;
    }
}

/* 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: 1160px) {
    .search-wrapper input#sTerm {
        width: 10rem;
    }
}

@media (max-width: 1103px) {

    .lp-header .widget-span.cm-logo {
        min-height: 63px;
    }
    .hs-blog-listing.blog .blog-content {
        width: 60%;
    }
    .hs-blog-listing.blog .blog-sidebar {
        width: 40%;
    }
    .hs-blog-post.blog .blog-content,
    .hs-blog-post.blog .blog-sidebar{
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        border-right: 0;
    }
    .hs-blog-post.blog .content-wrapper {
        width: 90% !important;
    }
    .custom-menu-primary .hs-menu-wrapper > ul > li > ul {
        box-shadow: none;
        border-bottom: 1px solid #ddd;
        width: 100%;
    }
    .submenu ul {
        padding: 0;
    }
  	.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{
 				text-align:center
  	}
      .widget-span.cm-menu-search-wrapper {
        padding: 0 0 32px 0;
    }
 		input.hs-search-field__input{
    		width: 16rem;
    		border: 1px solid #aaa;
    		border-radius: 0 !important;
      	font-size:1rem;
      	padding: 6px;
      	box-shadow:none;
  	}  
  	.span2.widget-span.widget-type-custom_widget.search-box{
    		display: block;
    		float: none;
    		width: auto;
   			margin-left: 0;
  
  	}
		textarea, input.text, input[type="text"], input[type="button"], input[type="submit"], input[type="search" i], .input-checkbox {
				-webkit-appearance: none !important;
				border-radius: 0 !important;
		}
  
  .search-box form {
    margin-top: 10rem;
    height: 32px;
    top: 210px;
    left: auto;
    right: auto;
    padding-bottom: 2rem;
}
}
/*
@media (max-width: 1024px) {
		.row-fluid-wrapper.row-depth-1.row-number-2 {
      padding-top:25px;
}
}


/* =============== Landscape tablet and smaller devices =============== */
@media (max-width: 1000px){
	.row-fluid .span8 {
    width: 100%;
	}
  div.intake-form, div.related-content, div.jump-to, div.testimonial-sidebar {
      	margin-top: 1.2em !important;
		}
  div#sidebar {
    width: 100%;
    margin: 0;
    padding-bottom:2em;
}
  
}

@media (max-width: 1000px) and  (min-width: 720px) {
		div.intake-form, div.related-content, div.jump-to, div.testimonial-sidebar {
      	width: 60% !important;
        display: inline-block !important;
      	float: left !important;
      	margin-left: 20px !important;
		}
  .span4.widget-span.widget-type-cell.sidebar-right {
    width: auto !important;
}

}



@media (max-width: 767px) {
	.landing-page.one-column .body-container form, 
	.error-template.one-column .body-container form, 
	.password-template.one-column .body-container form, 
	.subscription-template.one-column .body-container form{
		width: 100%;
	}
    .hs-menu-wrapper.hs-menu-flow-vertical > ul {
		margin-bottom: 20px;
	}
	.hs-form {
		margin-bottom: 30px
	}
	#comment-form .hs-form {
		margin-bottom: 0;
	}
	.blog-sidebar {
		padding-top: 30px;
	}
    .hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {
        max-width: 100%;
        float: none;
        display: block !important;
        margin: 20px 0;
    } 
    .hs-author-profile .hs-author-bio,
    .hs-author-profile .hs-author-social-section,
    .hs-author-profile .hs-author-avatar,
    .hs-blog-listing .hs-author-profile{
        width: 100%;
        float: left;
    }
    .hs-author-profile .hs-author-avatar img {
        margin-bottom: 5px;
    }
    .cm-explore p {
        margin-top: 6px;
    }
    .cm-footer-menu ul li:last-child {
        margin: -10px 0 0 0;
    }
    .hs-blog-listing.blog .blog-content {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }
    .hs-blog-listing.blog .blog-sidebar {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }
    .body-container-wrapper .container-fluid .row-fluid .page-center {
        width: 100%;
    }
    .blog-listing-wrapper .post-listing .post-item {
        padding-bottom: .5rem;
    }
    .hs-blog-listing.blog .content-wrapper {
        width: 100%;
    }
    .hs-blog-header h1 {
        padding: 0 2rem;
    }
    .blog-pagination {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .hs-blog-listing .widget-span.cm-outer-header {
        min-height: 40px;
    }
    .widget-span.cm-recent-post-slider-wrapper .page-center {
        width: 100%;
    }
    button.slick-next.slick-arrow {
        right: -10px;
    }
    .custom-recent-post-slider h3 {
        padding: 0 15px;
    }
    .cm-image {
        display: block;
    }
    .cm-title {
        display: block;
        padding: 10px 0 0;
    }
    h3.hs-author-listing-header {
        overflow: hidden;
        width: 100%;
        padding: 0 15px;
    }
    #recaptcha_area, #recaptcha_table {
       width: 318px!important;
       overflow-x: auto !important;
       max-width: 100% !important;
    }

    .custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children > a:after {
        margin-right: 8px;
    }
    .custom-menu-primary .hs-menu-wrapper > ul > li:last-child {
        padding-right: 17px;
        padding-bottom: 17px;
    }
    input.button {
        position: relative;
        top: -2px;
    }
    .custom-menu-primary .hs-menu-wrapper > ul > li > ul {
        margin-top: 1rem;
        max-height: 25rem;
        overflow: scroll;
        overflow-x: hidden;
    }
}  


@media (max-width: 720px) {
    .main-content{
  			padding:0;
  	}
    .widget-span.cm-logo {
        padding-left: .5rem;
    }
    .mobile-trigger > div.line-wrapper {
        padding: 0;
    }
    .hs-blog-post.blog .content-wrapper {
        width: 100% !important;
        padding: 1rem;
        box-shadow: none;
    }
    .hs-blog-post .widget-span.cm-outer-header {
        min-height: 40px;
    }
    .cm-post-title-wrapper {
        text-align: left;
    }
    .section.post-header h1 {
        font-size: 1.5rem;
    }
    .cm-related-latest-post ul li {
        width: 100%;
    }
    .cm-sidebar-image a:last-child img {
        margin: 36px auto -18px;
    }
    .blog-listing-wrapper .post-listing .post-item {
      width: 100%;
      padding: .5em;
      margin: .7em auto;
    }
  	.hs-breadcrumb-menu-wrapper {
    	padding-bottom: 0;
      padding-left:0;
    	margin-bottom: 60px;
}

}

@media (max-width: 959px) {
    .search-wrapper input#sTerm {
        width: 16rem !important;
    }
    .widget-span.cm-outer-header {
        min-height: 40px;
    }
    .error-template.one-column .widget-span.cm-outer-header, 
    .password-template.one-column .widget-span.cm-outer-header, 
    .subscription-template.one-column .widget-span.cm-outer-header{
    	min-height: 60px;
    }
  .custom-banner:after{
  		transform-origin: 150%;
  }

}

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

@media (max-width: 479px) {
  .body-container-wrapper {
    padding-left: .5em !important;
    padding-right: .5em !important;
		}

  h1{
  	font-size:1.5em
  	}  
  h2 {
    font-size: 1.2em;
  	}
  .blog-post-wrapper .post-body {
    font-size: 16px;
    line-height: 1.5em;
		}
  .row-fluid-wrapper.row-depth-1.row-number-2 {
      padding-top:;
		}
  .message-reply-button{
  		width:225px;
  }
    .custom-banner:after{
  		transform-origin: 330%;
  }

}

@media (max-width: 375px) {
  .white-background {
    padding: 1em;
		}

}