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


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

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


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


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

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

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

@font-face {
  font-family: "icomoon";
  font-style: normal;
  font-weight: normal;
  src: url("//cdn2.hubspot.net/hubfs/4170656/AAID_March2018%20Theme/fonts/icomoon.eot") format("embedded-opentype"), 
    url("//cdn2.hubspot.net/hubfs/4170656/AAID_March2018%20Theme/fonts/icomoon.ttf") format("truetype"), 
    url("//cdn2.hubspot.net/hubfs/4170656/AAID_March2018%20Theme/fonts/icomoon.woff") format("woff");
}



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

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

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

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

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

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

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

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

/* Responsive Embed Container (iFrame, Object, Embed) */
.hs-responsive-embed,
.hs-responsive-embed.hs-responsive-embed-youtube,
.hs-responsive-embed.hs-responsive-embed-wistia,
.hs-responsive-embed.hs-responsive-embed-vimeo {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    padding-left: 0;
    padding-right: 0;
}
.hs-responsive-embed iframe, 
.hs-responsive-embed object, 
.hs-responsive-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.hs-responsive-embed.hs-responsive-embed-instagram {
    padding-top: 0px;
    padding-bottom: 116.01%;
}
.hs-responsive-embed.hs-responsive-embed-pinterest {
    height: auto;
    overflow: visible;
    padding: 0 0 0 0;
}
.hs-responsive-embed.hs-responsive-embed-pinterest iframe {
    position: static;
    width: auto;
    height: auto;
}
iframe[src^="http://www.slideshare.net/slideshow/embed_code/"] {
    width: 100%;
    max-width: 100%;
}
@media (max-width: 568px) {
    iframe {
        max-width: 100%;
    }
}

/* Forms */
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"]
select {
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

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

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

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

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

.hs-menu-wrapper.hs-menu-flow-horizontal ul {
    list-style: none;
    margin: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    display: inline-block;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul:before {
    content: " ";
    display: table;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul:after {
    content: " ";
    display: table;
    clear: both;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
    float: left;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
    display: inline-block;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children {
    position: relative;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    position: absolute;
    z-index: 10;
    left: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
    display: block;
    white-space: nowrap;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-item-has-children ul.hs-menu-children-wrapper {
    left: 100%;
    top: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children:hover > ul.hs-menu-children-wrapper {
    opacity: 1;
    visibility: visible;
}
.row-fluid-wrapper:last-child .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    margin-bottom: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch {
    position: relative;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul {
    margin-bottom: 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children {
    position: static;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    display: none;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper {
    display: block;
    visibility: visible;
    opacity: 1;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper:before {
    content: " ";
    display: table;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper:after {
    content: " ";
    display: table;
    clear: both;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li {
    float: left;
}
.hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li a {
    display: inline-block;
}

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

.hs-menu-wrapper.hs-menu-flow-vertical {
    width: 100%;
}
.hs-menu-wrapper.hs-menu-flow-vertical ul {
    list-style: none;
    margin: 0;
}
.hs-menu-wrapper.hs-menu-flow-vertical li a {
    display: block;
}
.hs-menu-wrapper.hs-menu-flow-vertical > ul {
    margin-bottom: 0;
}
.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-menu-depth-1 > a {
    width: auto;
}
.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-item-has-children {
    position: relative;
}

/* Flyouts */
.hs-menu-wrapper.hs-menu-flow-vertical.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    position: absolute;
    z-index: 10;
    left: 0;
}
.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
    display: block;
    white-space: nowrap;
}
.hs-menu-wrapper.hs-menu-flow-vertical.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    left: 100%;
    top: 0;
}
.hs-menu-wrapper.hs-menu-flow-vertical.flyouts > ul li.hs-item-has-children:hover > ul.hs-menu-children-wrapper {
    opacity: 1;
    visibility: visible;
}


@media (max-width: 767px) {
    .hs-menu-wrapper, .hs-menu-wrapper * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
        width: 100%;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal ul {
        list-style: none;
        margin: 0;
        display: block;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
        display: block;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
        float: none;
    }
    .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a,
    .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a,
    .hs-menu-wrapper.hs-menu-flow-horizontal.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li a {
        display: block;
    }

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

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

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

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

/* Blog Author Section */
.hs-author-social-links { display: inline-block; }
.hs-author-social-links a.hs-author-social-link {
    width: 24px;
    height: 24px;
    border-width: 0px;
    border: 0px;
    line-height: 24px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    display: inline-block;
    text-indent: -99999px;
}
.hs-author-social-links a.hs-author-social-link.hs-social-facebook {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/facebook-24x24.png");
}
.hs-author-social-links a.hs-author-social-link.hs-social-linkedin {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/linkedin-24x24.png");
}
.hs-author-social-links a.hs-author-social-link.hs-social-twitter {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/twitter-24x24.png");
}
.hs-author-social-links a.hs-author-social-link.hs-social-google-plus {
    background-image: url("//static.hubspot.com/final/img/common/icons/social/googleplus-24x24.png");
}

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

/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

/* Wrapper */
.hs_cos_wrapper_type_image_slider {
    display: block;
    overflow: hidden
}

/* Browser Resets */
.hs_cos_flex-container a:active,
.hs_cos_flex-slider a:active,
.hs_cos_flex-container a:focus,
.hs_cos_flex-slider a:focus  {outline: none;}
.hs_cos_flex-slides,
.hs_cos_flex-control-nav,
.hs_cos_flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */

/* FlexSlider Default Theme
*********************************/
.hs_cos_flex-slider {margin: 0 0 60px; padding: 0; background: #fff; border: 0; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; zoom: 1;}
.hs_cos_flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .hs_cos_flex-viewport {max-height: 300px;}
.hs_cos_flex-slider .hs_cos_flex-slides {zoom: 1;}

.carousel li {margin-right: 5px}

/* FlexSlider Necessary Styles
*********************************/
.hs_cos_flex-slider .hs_cos_flex-slides > li {display: none; -webkit-backface-visibility: hidden; position: relative;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.hs_cos_flex-slider .hs_cos_flex-slides img {width: 100%; display: block; border-radius: 0px;}
.hs_cos_flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .hs_cos_flex-slides element */
.hs_cos_flex-slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .hs_cos_flex-slides {display: block;}
* html .hs_cos_flex-slides {height: 1%;}


/* Direction Nav */
.hs_cos_flex-direction-nav {*height: 0;}
.hs_cos_flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url("//cdn2.hubspotqa.com/local/hub/124/file-52894-png/bg_direction_nav.png") no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.hs_cos_flex-direction-nav .hs_cos_flex-next {background-position: 100% 0; right: -36px; }
.hs_cos_flex-direction-nav .hs_cos_flex-prev {left: -36px;}
.hs_cos_flex-slider:hover .hs_cos_flex-next {opacity: 0.8; right: 5px;}
.hs_cos_flex-slider:hover .hs_cos_flex-prev {opacity: 0.8; left: 5px;}
.hs_cos_flex-slider:hover .hs_cos_flex-next:hover, .hs_cos_flex-slider:hover .hs_cos_flex-prev:hover {opacity: 1;}
.hs_cos_flex-direction-nav .hs_cos_flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Direction Nav for the Thumbnail Carousel */
.hs_cos_flex_thumbnavs-direction-nav {
    margin: 0px;
    padding: 0px;
    list-style: none;
    }
.hs_cos_flex_thumbnavs-direction-nav {*height: 0;}
.hs_cos_flex_thumbnavs-direction-nav a {width: 30px; height: 140px; margin: -60px 0 0; display: block; background: url("//cdn2.hubspotqa.com/local/hub/124/file-52894-png/bg_direction_nav.png") no-repeat 0 40%; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 1; -webkit-transition: all .3s ease;}
.hs_cos_flex_thumbnavs-direction-nav .hs_cos_flex_thumbnavs-next {background-position: 100% 40%; right: 0px; }
.hs_cos_flex_thumbnavs-direction-nav .hs_cos_flex_thumbnavs-prev {left: 0px;}
.hs-cos-flex-slider-control-panel img { cursor: pointer; }
.hs-cos-flex-slider-control-panel img:hover { opacity:.8; }
.hs-cos-flex-slider-control-panel { margin-top: -30px; }



/* Control Nav */
.hs_cos_flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.hs_cos_flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.hs_cos_flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.hs_cos_flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.hs_cos_flex-control-paging li a.hs_cos_flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.hs_cos_flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.hs_cos_flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.hs_cos_flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.hs_cos_flex-control-thumbs img:hover {opacity: 1;}
.hs_cos_flex-control-thumbs .hs_cos_flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .hs_cos_flex-direction-nav .hs_cos_flex-prev {opacity: 1; left: 0;}
  .hs_cos_flex-direction-nav .hs_cos_flex-next {opacity: 1; right: 0;}
}

.hs_cos_flex-slider .caption {
    background-color: black;
    position: static;
    font-size: 2em;
    line-height: 1.1em;
    color: white;
    padding: 0px 5% 0px 5%;
    width: 100%;
    top: 40%;
    text-align: center;
}
.hs_cos_flex-slider .superimpose .caption {
    color: white;
    font-size: 3em;
    line-height: 1.1em;
    position: absolute;
    padding: 0px 5% 0px 5%;
    width: 90%;
    top: 40%;
    text-align: center;
    background-color: transparent;
}

@media all and (max-width: 400px) {
    .hs_cos_flex-slider .superimpose .caption {
        background-color: black;
        position: static;
        font-size: 2em;
        line-height: 1.1em;
        color: white;
        width: 90%;
        padding: 0px 5% 0px 5%;
        top: 40%;
        text-align: center;
    }
}

.hs_cos_flex-slider h1,
.hs_cos_flex-slider h2,
.hs_cos_flex-slider h3,
.hs_cos_flex-slider h4,
.hs_cos_flex-slider h5,
.hs_cos_flex-slider h6,
.hs_cos_flex-slider p {
    color: white;
}
/* Thumbnail only version of the gallery */
.hs-gallery-thumbnails li {
    display: inline-block;
    margin: 0px;
    padding: 0px;
    margin-right:-4px;
}
.hs-gallery-thumbnails.fixed-height li img {
    max-height: 150px;
    margin: 0px;
    padding: 0px;
    border-width: 0px;
}

/* responsive pre elements */
pre { overflow-x: auto; }

/* responsive pre tables */
table pre { white-space: pre-wrap; }

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

/* adding minimal spacing for blog comments */
.comment { margin: 10px 0 10px 0; }

/* make sure lines with no whitespace don't interefere with layout */
.hs_cos_wrapper_type_rich_text,
.hs_cos_wrapper_type_text,
.hs_cos_wrapper_type_header,
.hs_cos_wrapper_type_section_header,
.hs_cos_wrapper_type_raw_html,
.hs_cos_wrapper_type_raw_jinja,
.hs_cos_wrapper_type_page_footer {
    word-wrap: break-word;
}

/* HTML 5 Reset */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}
audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}
audio:not([controls]) {
    display: none;
}

/* Support migrations from wordpress */
.wp-float-left {
    float: left;
    margin: 0 20px 20px 0;
}

.wp-float-right {
    float: right;
    margin: 0 0 20px 20px;
}

/* Responsive Google Maps */
#map_canvas img, .google-maps img { max-width: none; }


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

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

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

html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
} 

body {
  background: #fff;
  color: #444444;
  font-family: "Open Sans",sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

/* Highlighted Text */
::-moz-selection {
  color: #444444;
  background:#3197fc none repeat scroll 0 0;
}
::selection {
  color:#444444;
  background: #3197fc none repeat scroll 0 0;
}


/* =============== 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 {
	line-height:1.2;
  margin:15px 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {}

h1 {
	font-size: 38px;
}
h2 {
  color: #547fac;
  font-size: 32px;
  font-weight: 600;
}
h3 {
  color: #f37c54;
  font-weight: 400;
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 15.9px;
  font-weight: 400;
  color: #F37C54;
}


/* Anchor Links */
a { 
  color: #6d6d6d;
  text-decoration: underline;
  transition: all 0.12s ease-in-out 0s;
}
a:hover, a:focus { 
  color: #6d6d6d;
  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 {
  min-height: 124px;
}
.custom-header-grp {
  background: #ffffff none repeat scroll 0 0;
  min-height: 120px !important;
  position: fixed;
  top: 0;
  width: 100% !important;
  z-index: 99;
}
.custom-header-top {
  background: rgba(255, 255, 255, 0.8) none repeat scroll 0 0;
  border-bottom: 2px solid #cccccc;
  min-height: 50px !important;
  padding: 0 25px;
}
.custom-header-links ul {
  padding: 14px 0 0;
  position: relative;
  right: -54px;
  text-align: right;
  z-index:10;
}
.custom-header-links ul li {
  display: inline-block;
  padding: 0 5px;
}
.custom-header-links ul li a {
  color: #547fac;
  font-size: 14.4px;
  text-decoration: none;
}
.social-icons {
  display: inline-block;
  margin: 0;
  padding: 8px 0 0 26px;
}
.social-icons > li {
  display: inline-block;
  padding: 0 5px;
  margin-right: -0.5px;
}
.social-icons a {
  color: #585858;
  font-family: "icomoon";
  font-size: 20.16px;
  text-decoration: none;
  transition: all 0.12s ease-in-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.social-icons a:hover,
.custom-header-links ul li a:hover{
  color: #f37c54;
}
.search-box {
  border: 1px solid #999;
  color: #444444;
  font-family: "Open Sans",sans-serif;
  font-size: 12.8px;
  padding: 2px 0 2px 25px;
  width: 100%;
  height: 26px;
}
.search-box:focus{
	outline: 1px solid #f37c54;
}
.search-form {
  position: relative;
  width: 100%;
}
.search-btn {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  color: #6d6d6d;
  cursor: pointer;
  font-family: "icomoon";
  font-size: 17.9167px;
  left: 0px;
  line-height: 1;
  position: absolute;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  top: 3px;
}
.search-group {
  display: inline-block;
  float: right;
  padding: 10px 20px 0 0;
}
.custom-header-bottom{
  padding: 8px 14px;
  background: rgba(255,255,255,1);
  background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 33%, rgba(227,228,229,1) 57%, rgba(227,228,229,1) 92%, rgba(227,228,229,1) 100%);
  background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(0%, rgba(255,255,255,1)), color-stop(33%, rgba(255,255,255,1)), color-stop(57%, rgba(227,228,229,1)), color-stop(92%, rgba(227,228,229,1)), color-stop(100%, rgba(227,228,229,1)));
  background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 33%, rgba(227,228,229,1) 57%, rgba(227,228,229,1) 92%, rgba(227,228,229,1) 100%);
  background: -o-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 33%, rgba(227,228,229,1) 57%, rgba(227,228,229,1) 92%, rgba(227,228,229,1) 100%);
  background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 33%, rgba(227,228,229,1) 57%, rgba(227,228,229,1) 92%, rgba(227,228,229,1) 100%);
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 33%, rgba(227,228,229,1) 57%, rgba(227,228,229,1) 92%, rgba(227,228,229,1) 100%);
  min-height: 70px !important;
}
.custom-header-grp .page-center {
  position: relative;
}
.custom-logo a {
  background: rgba(0, 0, 0, 0) url(https://cdn2.hubspot.net/hubfs/4170656/black-blue-logo.png) no-repeat scroll right bottom;
  background-size: 100% auto;
  left: -20px;
  position: absolute;
  bottom:-8px;
  max-width: 33%;
  text-indent: -9999px;
  min-height: 120px;
  width: 100%;
}
.custom-mobile-menu-grp{
	display:none !important;
}

.custom-menu-primary ul {min-height:54px;}




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

.body-container-wrapper {}
.body-container {
  padding: 0 15px;
  border-top:10px solid #547fac;
}
.body-container .page-center {
  padding: 40px 15px;
}
.custom-banner-group {
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  /*margin-top: 119px;*/
  padding: 0 0 40.5%;
  position: relative;
}
.custom-banner-group .page-center {
  position: absolute;
  left: -28px;
  right: 0;
  top: 0;
}
.banner-overlay {  
background: -moz-linear-gradient(left, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 100%);
background: -webkit-linear-gradient(left, rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 60%,rgba(0,0,0,0) 100%);
background: linear-gradient(to right, rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 60%,rgba(0,0,0,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3000000', endColorstr='#00000000',GradientType=1 );
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 4;
}
.banner-content {
  max-width: 50%;
  padding: 10% 30px;
  position: relative;
  z-index: 9;
  top: 0;
  min-width: 625px;
}
.banner-content h1 {
  color: #ffffff;
  font-size: 38px;
  font-weight: 600;
  line-height: normal;
  margin: 2px 0 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}
.banner-content p {
  color: #ffffff;
  font-size: 19.76px;
  margin: 5px 0 19px;
  line-height: normal;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}





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


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

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

.custom-footer-grp {
  padding: 15px 14px;
}
.footer-container .page-center {
  padding: 0 16px;
}
.custom-copyright p {
  font-size: 14px;
  margin: 0;
  color: #585858;
  line-height: normal;
}
.custom-copyright p a {
  text-decoration: none;
}
.custom-footer-top {
  background: #dcddde none repeat scroll 0 0;
  padding: 65px 14px 55px;
}
.custom-footer-flags ul {
  margin: 8px 0 10px;
  padding: 0;
}
.custom-footer-flags ul li {
  display: inline-block;
  margin: 5px 0;
  padding: 0 14px 0 0;
}
.custom-footer-links ul li {
  margin: 2px 0;
  line-height: 28.8px;
}
.custom-footer-links ul li a {
  color: #585858;
  font-size: 14.4px;
  text-decoration: none;
}
.custom-footer-bubble-grp .column {
  float: left;
  padding: 0 30px;
  width: 50%;
}
.custom-footer-bubble h3 a {
  color: #f37c54;
  text-decoration: none;
}
.custom-footer-bubble h3 {
  font-size: 22.4px;
  margin: 5px 0 7px;
}
.bubble {
  background: #ffe557 none repeat scroll 0 0;
  border-radius: 30px;
  color: #585858;
  display: block;
  font-size: 28px;
  font-weight: 500;
  line-height: 35px;
  margin: 0 0 30px;
  padding: 25px 5px;
  position: relative;
  text-align: center;
  text-decoration: none;
}
.bubble::after {
  border-color: #ffe557 rgba(0, 0, 0, 0) transparent transparent;
  border-image: none;
  border-style: solid solid none none;
  border-width: 40px 40px 0 0;
  bottom: 0;
  content: "";
  height: 0;
  left: 60%;
  margin-bottom: -30px;
  margin-left: -10px;
  position: absolute;
  width: 0;
}
.g-btn {
  background: #f37c54 none repeat scroll 0 0;
  color: #ffffff;
  display: inline-block;
  padding: 5px 10px;
  text-decoration: none;
  line-height: normal;
}
.g-btn:hover {
  box-shadow: 3px 2px 0 0 #bbb4b4;
  text-decoration: none;
  color:#fff;
  transition: all 0.28s ease 0s;
}
.custom-footer-smile p {
    margin: 0 0 16px;
}
.custom-footer-smile a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.custom-footer-smile a span {
  font-size: 20.8px;
  font-weight: 600;
  color:#fff;
  left: 10px;
  position: absolute;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  top: 10px;
}
.custom-footer-social ul {
  margin: 13px 0 14px;
  padding: 0;
}
.custom-footer-social ul li {
  display: inline-block;
  padding: 0 14.5px 0 5px;
}
.custom-footer-social ul li a {
  color: #585858;
  font-family: icomoon;
  font-size: 20.16px;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.custom-footer-social ul li a:hover{
    color: #f37c54;
}
.custom-footer-social h3 {
  font-size: 22.4px;
  margin: 5px 0;
  line-height: normal;
}
.custom-footer-social p a {
  color: #585858;
  text-decoration: none;
}
.custom-footer-bubble.column {
  padding-top: 3px;
}
.custom-footer-bubble-grp {
  padding: 0 7px;
}
.custom-footer-social p {
  color: #585858;
  margin: 2px 0;
  padding: 8px 0;
  line-height: normal;
}
.custom-footer-social {
  padding: 0px 0 0 22px;
}




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


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

/* Parent List */
.custom-menu-primary .hs-menu-wrapper > ul{
  float: right;
  padding: 0 16px 0 0;
}
.custom-menu-primary .hs-menu-wrapper > ul > li{
  padding: 0px 0 0 10px;
  vertical-align: top;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a{
  color: #547fac;
  display: block;
  font-size: 16px;
  font-weight: bold;
  line-height: normal;
  padding: 6px 56px 26px 11px;
  text-decoration: none;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:hover,
.custom-menu-primary .hs-menu-wrapper > ul > li.clicked > a{
  background: #ffffff none repeat scroll 0 0;
  box-shadow: 3px 2px 0 0 #bbb4b4;
}

/* Child List */
.custom-menu-primary .hs-menu-wrapper > ul ul{
  background-color: #ffffff;
  margin-left: 10px;
  min-width: 196px;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li{
  border-bottom: 1px solid #cccccc;
  margin: 5px;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a{
  font-size: 15.2px;
  padding: 3px 15px;
  color: #000000;
  line-height: normal;	
  text-decoration: none;
  white-space: normal !important;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a:hover{
  background: #e3e4e5 none repeat scroll 0 0;
  color: #000000;
}

/* 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:768px) {
  .custom-menu-primary .hs-menu-wrapper,
  .custom-menu-primary .hs-menu-wrapper > ul ul { 
    display:block !important;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li:last-child {
    float: right;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li:last-child > a {
    background: #ffffff none repeat scroll 0 0;
    font-weight: normal;
    padding: 5px 31px;
    text-align: center;
    width: 178px !important;
  }
  
  .custom-menu-primary .hs-menu-wrapper > ul > li:first-child{
    padding-left: 10px;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(2) > a {
    padding: 6px 49px 26px 10px;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(3) a {
    padding: 6px 84px 26px 10px;
  }
  .custom-menu-primary .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children ul.hs-menu-children-wrapper{
    opacity: 1;
    visibility: visible;
    display: none !important;
  }
  .custom-menu-primary .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts > ul li.hs-item-has-children.clicked ul.hs-menu-children-wrapper{
    display: block !important;
  }
  .custom-menu-primary .hs-menu-wrapper > ul li:nth-child(2) ul {
    min-width: 194px;
  }


  
  
}


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

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

@media (max-width: 767px){

  /* 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;
    position: absolute;
    top: 26px;
    right: 7px;
    width: auto;
    height: auto;
    padding: 10px;
    z-index: 99;
  }

  /* Toggle Button Icon */
  .mobile-trigger i{
    display: inline;
    position: relative;
    top: -4px;
  }
  .mobile-trigger i:before, .mobile-trigger i:after{
    position: absolute;
    content: '';
  }
  .mobile-trigger i, .mobile-trigger i:before, .mobile-trigger i:after{
    width: 35px;
    height: 5px;
    border-radius: 4px;
    background: #547fac;
    display: inline-block;
  }
  .mobile-trigger i:before{ top: -10px; } /* Position top line */
  .mobile-trigger i:after{ top: 10px; } /* Position bottom line */
  .mobile-trigger:hover i, .mobile-trigger:hover i:before, .mobile-trigger:hover i:after,  
  .mobile-open .mobile-trigger i, .mobile-open .mobile-trigger i:before, .mobile-open .mobile-trigger i:after{
      background-color:#547fac; /* Icon color */
  }

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

  .child-trigger{
    display: block !important;
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 45px !important;
    min-width: 45px !important;
    height: 42px !important;
    padding: 0 !important;
    text-align: center;
  }

  .child-trigger i{
    position: relative;
    top: 14px;
    left: 2px;
  }
  .child-trigger i:after{
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8.7px 5px 0 5px;
    border-color: #000 transparent transparent transparent;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    margin-left: 10px;
  }
  .child-trigger.child-open i:after {
    transform: scale(0.98) translateY(-75%) rotate(-180deg);
    border-top-color: #333;
  }
  .child-trigger.child-open i {
    top: 18px;
  }

  /* ===== Mobile Menu Styles ===== */  
     
  .custom-menu-primary.js-enabled{
    margin: 0;
    padding: 0 10px;
  }

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

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

  /* Mobile Menu Styles */ 
  .custom-menu-primary.js-enabled .hs-menu-wrapper{
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    border-top: 1px solid #ccc;
  }
  .custom-menu-primary .hs-menu-wrapper{
    width: 100%; /* Full screen width */
  }

   /* Level 1 Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul {
    display: block;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li{
    padding: 0 !important;
    border-top: 1px solid #ccc;
    display: block !important;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li a{
    font-size: 16px !important;
    line-height: 22px;
  }

  /* Level 1 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul li{
  }
  .custom-menu-primary .hs-menu-wrapper >  ul li a{
    padding: 10px;
    color: #000000;
  }
  .custom-menu-primary .hs-menu-wrapper > ul li a:hover{
    color: #547fac;
    background: transparent;
    box-shadow: none;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li.child-on > a{
    color: #547fac;
  }

  /* Level 2 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul {
    background-color: transparent;
    margin-top: 0 !important;
    min-width: 100% !important;
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul li{
    border-bottom: none;
    margin: 0;
    border-top: 1px solid #ccc;
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul li:first-child {
    border-top: none;
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul li a{
    padding: 5px 0 5px 15px !important;
    font-size: 15.2px !IMPORTANT;
  }

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

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


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


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

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

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

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

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


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

.blog .blog-content {}

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

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

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

/* Blog Post Title */
.post-header h2 {}
.post-header h2 a {
	color: #547fac;
  text-decoration:none;
}

/* Blog Author and Avatar */
#hubspot-author_data {}
#hubspot-author_data:after {
  content: '';
  display: block;
  clear: both;
}
#hubspot-author_data a.author-link {}
#hubspot-author_data .hs-author-avatar {}
#hubspot-author_data .hs-author-avatar img {
  width: 100px;
  float: left;
  margin: 0 15px 20px 0;
}

/* Use this to set up different styling for your blog posts */
.blog-listing-wrapper .post-listing .post-item {
	margin:0  0 40px;
}
.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: 300px;
  height: auto;
  width: auto;
  display: inline-block !important;
  float: right;
  margin: 20px 0 20px 20px;
}

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

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

/* Blog Social Sharing Icons */
.hs-blog-social-share {
  margin-top: 20px;
  padding: 10px 0 0 0;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  height: auto;
}

#comments-listing {
  border: 1px solid #ccc;
  margin-bottom: 30px;
  margin-top: 30px;
}
.comment.depth-0 {
  border-top: 1px solid #000 !important;
  border-bottom: medium none !important;
  margin: 0 10px 10px !important;
  padding: 0 15px !important;
}
.comment-body {
  border-bottom: medium none;
  color: inherit;
  display: block;
  padding: 0;
}
.comment-reply-to{
  margin-bottom: 15px;
}
.comment-from h4 {
  margin: 0;
  padding-top: 15px;
}

.comment-from h4 a {
  text-decoration: none;
}
.comment-date {
  color: inherit !important;
  display: block !important;
  text-align: left;
}

/* -------------------- Ends ----------- */

/* -------------- Default Code for Author Bio ------------ */

#hubspot-author_data .hs-author-avatar {
  max-width: 100px;
  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;
}
.custom_listing_comments{
  border: 1px solid #E2E2E2;
  display: block;
  line-height: 165%;
  padding: 15px;
}

/* -------------------- Ends ----------- */
/* Pagination */
.blog-pagination {}
.blog-pagination a {
  display:block;
}
.blog-pagination a.previous-posts-link {}
.blog-pagination a.all-posts-link {}
.blog-pagination a.next-posts-link {}

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


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

.blog .blog-sidebar {
    padding-left:40px;}

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

.hs-error-msgs {
  color: #ff0000;
}
.hs-form ul {
  list-style: outside none none;
  padding: 0;
}
.body-container .hs-form{
	margin:0 0 30px;
}
.landing-page.one-column form,
.error-template.one-column form,
.password-template.one-column form,
.subscription-template.one-column form{
  width: 50%;
}



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

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

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

/* Labels and Legends */
label {}
.body-container .hs-form-field > label {
  display: block;
  margin-bottom: 5px;
}

/* One Line Inputs */
.body-container input[type="text"],
.body-container input[type="password"], 
.body-container input[type="datetime"], 
.body-container input[type="datetime-local"], 
.body-container input[type="date"], 
.body-container input[type="month"], 
.body-container input[type="time"], 
.body-container input[type="week"], 
.body-container input[type="number"], 
.body-container input[type="email"], 
.body-container input[type="url"], 
.body-container input[type="search"], 
.body-container input[type="tel"], 
.body-container input[type="color"],
.body-container input[type="file"],
.body-container textarea,
.body-container select {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  padding: 4px 6px;
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  color: #555555;
  display: inline-block;
  margin-bottom: 10px;
  vertical-align: middle;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border linear 0.2s, box-shadow linear 0.2s;
}

.body-container input[type="text"]:focus,
.body-container input[type="password"]:focus, 
.body-container input[type="datetime"]:focus, 
.body-container input[type="datetime-local"]:focus, 
.body-container input[type="date"]:focus, 
.body-container input[type="month"]:focus, 
.body-container input[type="time"]:focus, 
.body-container input[type="week"]:focus, 
.body-container input[type="number"]:focus, 
.body-container input[type="email"]:focus, 
.body-container input[type="url"]:focus, 
.body-container input[type="search"]:focus, 
.body-container input[type="tel"]:focus, 
.body-container input[type="color"]:focus,
.body-container input[type="file"]:focus,
.body-container textarea:focus,
.body-container select:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

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

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

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

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

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

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

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


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

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

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

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


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

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

/* Inputs */
#comment-form input[type="text"] {}
#comment-form input[type="text"]:focus {}

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

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


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

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

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

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

/* Label */
.widget-type-google_search label {
  display: block;
  margin-bottom: 5px;
}

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


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


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

.body-container .hs-button.primary,
.body-container input[type="submit"],
.body-container input[type="button"] {
  cursor: pointer;
  -webkit-appearance: none;
  text-decoration: none !important;
  display: inline-block;
  padding: 4px 12px;
  margin-top: 15px;
  font-size: 14px;
  line-height: 20px;
  color: #333333;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border: 1px solid #cccccc;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-bottom-color: #b3b3b3;
  border-radius: 4px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}

.body-container .hs-button.primary:hover,
.body-container input[type="submit"]:hover,
.body-container input[type="button"]:hover {
  text-decoration: none;
  background-color: #e6e6e6;
  background-position: 0 -15px;
  transition: background-position 0.1s linear;
}

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


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

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


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

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


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

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


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

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


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


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


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


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

@media (max-width: 1290px) {

  .social-icons {
    padding: 8px 0 0 7px;
  }
  .custom-header-links ul{
  	right: -28px;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li > a,
  .custom-menu-primary .hs-menu-wrapper > ul > li:nth-child(2) > a{
      padding: 6px 40px 26px 10px;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li:last-child > a {
    padding: 5px 27px 5px 28px !important;
    width: 171px !important;
  }
  .custom-banner-group .page-center {
    left: 0;
  }
  
}

@media (max-width: 1248px) {
	.search-box {
    font-size: 9.92px;
    height: 22px;
  }
  .search-group	{
  	padding: 7px 20px 0 0;
  }
  .search-form {
    width: 140px;
  }
  .search-btn {
    font-size: 13.888px;
    top: 6px;
  }
  .social-icons a {
    font-size: 15.624px;
  }
  .social-icons {
    position: absolute;
    right: 197px;
    top: 0;
    z-index: 99;
    padding: 9px 0 0;
  }
  .social-icons > li {
    padding: 0px 4px 0 5px;
    margin-right: 0;
  }
  .custom-header-links ul {
    right: 310px;
    padding: 9px 0 0;
    position: absolute;
    top: 0;
  }
  .custom-header-links ul li a {
    font-size: 11.16px;
  }
  .custom-header-top{
  	min-height: 50px !important;
  }
  .custom-menu-primary .hs-menu-wrapper > ul {
    display: table;
    width: 100%;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li {
    padding: 6px 5px 0 !important;
    float: none !important;
    display: table-cell;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li > a {
    font-size: 12px;
    padding: 0 5px 14px !IMPORTANT;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li:last-child {
    padding-top: 0 !important;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li:last-child > a {
    padding: 6px 5px  !important;
    width: auto !important;
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul {
    margin-top: 10px;
    min-width: 180px !important;
    margin-left: 0;
  }
  .custom-logo img {
    max-width: 364px;
    z-index:1;
  }
  .header-container {
    min-height: 120px;
  }
  .custom-header-grp{
  	min-height: 120px !important;
  }
  .custom-footer-links {
    padding: 0 26px 0 0;
  }
  .bubble {
    font-size: 20px;
    line-height: 25px;
  }	
  .custom-logo a {
    min-height: 120px;
  }
  .custom-banner-group{
  	/*margin-top: 119px;*/
  }
  

 
}

@media (max-width: 1090px){
  .custom-logo a {
    min-height: 110px;
    background-position: center center;
    max-width: 34.3%;
  }
  
  
  
}


@media (max-width: 959px) {

	.social-icons {
      right: 195px;
  }
  .social-icons > li {
    padding: 0px 3px 0 2px;
  }
  .custom-header-links ul {
    right: 294px;
  }
  .custom-footer-bubble-grp .column{
    padding: 0 10px;
  }
  .bubble{
    margin: 0 0 40px;
  }

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

  .custom-menu-primary .hs-menu-wrapper > ul > li {
    padding-top: 0px 5px 0 !important;
  }
  .custom-banner-group {
    /*margin-top: 117px;*/
  }	

}
  

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

@media (max-width: 767px) {
	.custom-header-top {
    display: none !important;
  }
  .custom-logo a {
    background: rgba(0, 0, 0, 0) url("//cdn2.hubspot.net/hubfs/4170656/AAID_March2018%20Theme/images/AAIDmobilelogo.png") no-repeat scroll left center / 310px 80px;
    display: block;
    max-width: 100%;
    min-height: 85px;
    position: static;
  }
  .custom-logo {
    padding: 0 10px;
  }
  .custom-header-bottom {
    min-height: auto !important;
    padding: 0;
  }
  .header-container {
    min-height: auto;
  }
  .custom-header-grp {
    min-height: 87px !important;
    position: static;
    border-bottom: 2px solid #ccc;
  }
  .mobile-open .custom-header-grp {
  	border-bottom:none;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li {
    padding: 0px !important;
  }
  .custom-menu-primary .hs-menu-wrapper > ul li a {
    padding: 10px !important;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li:last-child > a {
    padding: 10px !important;
  }
  .mobile-open .custom-mobile-menu-grp{
    display:block !important;
  }
  .social-icons {
    position: static;
    padding: 10px;
  }
  .custom-mobile-links a {
    text-decoration: none;
    color: #547fac;
    font-size: 14.4px;
    padding: 0 5px;
    display: inline-block;
  }
  .custom-mobile-links a:hover{
  	color: #F37C54;
  }
  .custom-mobile-links {
    padding: 16px 10px 0;
  }
  .social-icons a {
    font-size: 20.16px;
  }
  .social-icons > li {
    padding: 0px 3px;
  }
	.search-group {
    padding: 4px 12px  20px;
    float: none;
    display: block;
  }	
  .search-box {
    font-size: 12.8px;
    height: 32px;
    padding: 5px 0 5px 21px;
  }
  .search-form {
    width: 179px;
  }
  .search-btn {
    font-size: 17.9px;
    top: 7px;
    left: -1px;
  }
  .body-container {
    padding: 0;
  }
  .footer-container .page-center {
    padding: 0 15px;
  }
  .custom-footer-grp {
    padding: 15px 0;
  }
  .custom-footer-social {
    padding: 0;
  }
  .custom-footer-bubble-grp .column {
    float: none;
    padding: 0 0 30px;
    width: 100%;
  }
  .custom-footer-bubble.column {
    padding-top: 15px;
  }
  .landing-page.one-column form,
  .error-template.one-column form,
  .password-template.one-column form,
  .subscription-template.one-column form{
    width: 100%;
  }
  .blog .blog-sidebar {
    margin-top: 50px;padding-left:0;
  }
  .banner-content h1 {
    font-size: 22px;
  }
  .banner-content p {
    font-size: 11.8px;
  }
  .custom-banner-group{
  	margin-top: 0;
    top: -1px;
    margin-bottom: -1px;
    padding: 1% 0 10.6%;
  }	
  .custom-banner-group:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .3);
  }
  .banner-content {
    width: 100%;
    min-width: 100%;
  }
  .custom-banner-group .page-center {
    position: static;
  }
  .bubble{
    margin: 0 0 30px;
  }

}  


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

@media (max-width: 479px) {
  .footer-container .page-center {
    padding: 0 10px;
  }
  .custom-footer-top {
    padding: 65px 0 36px;
  }
  .custom-footer-social ul {
    margin: 13px 0 14px -10px;
  }
  .custom-footer-social ul li {
    padding: 0 13px 0 3px;
  }
  .custom-footer-social {
    padding: 0 10px;
  }
  .custom-footer-bubble-grp {
    padding: 0;
  }
  .custom-footer-bubble-grp .column {
    padding: 0 10px 3px;
  }
  .custom-footer-bubble.column {
    padding-bottom: 30px;
  }
  .custom-footer-links {
    padding: 0 10px;
  }
  .custom-footer-flags {
    padding: 0 10px;
  }
  .body-container .page-center {
    padding: 30px 10px;
  }
  .custom-logo a {
    background-size: 70.2% auto;
  }

}

@media (max-width: 320x) {

  .custom-logo a {
    background-size: 80.2% auto;
  }
  
  
}






.comment.depth-1 {padding-left:4em;}