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


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

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


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


/* =============== @import, @font-face, and CSS File Includes =============== */
@import url('//fonts.googleapis.com/css?family=PT+Serif:400,400i,700,700i');
/* EX: @import url('http://example.com/example_style.css'); */

@font-face {
 font-family:'squarespace-ui-font';
 src:url(//static.squarespace.com/universal/fonts/squarespace-ui-font.woff);    
}

@font-face {
 font-family:proxima-nova;
 src:url(//use.typekit.net/af/03ff77/00000000000000003b9b0934/27/l?subset_id=2&fvd=n4&v=3) format("woff2"),
     url(//use.typekit.net/af/03ff77/00000000000000003b9b0934/27/d?subset_id=2&fvd=n4&v=3) format("woff"),
     url(//use.typekit.net/af/03ff77/00000000000000003b9b0934/27/a?subset_id=2&fvd=n4&v=3) format("opentype");
    font-weight:400;
    font-style:normal;
}
@font-face {
 font-family:proxima-nova;
 src:url(//use.typekit.net/af/138935/00000000000000003b9b0939/27/l?subset_id=2&fvd=n6&v=3) format("woff2"),
     url(//use.typekit.net/af/138935/00000000000000003b9b0939/27/d?subset_id=2&fvd=n6&v=3) format("woff"),
     url(//use.typekit.net/af/138935/00000000000000003b9b0939/27/a?subset_id=2&fvd=n6&v=3) format("opentype");
    font-weight:600;
    font-style:normal;
}
@font-face {
 font-family:proxima-nova;
 src:url(//use.typekit.net/af/d0b1d4/00000000000000003b9b0935/27/l?subset_id=2&fvd=i4&v=3) format("woff2"),
     url(//use.typekit.net/af/d0b1d4/00000000000000003b9b0935/27/d?subset_id=2&fvd=i4&v=3) format("woff"),
     url(//use.typekit.net/af/d0b1d4/00000000000000003b9b0935/27/a?subset_id=2&fvd=i4&v=3) format("opentype");
    font-weight:400;
    font-style:italic;
}
@font-face {
 font-family:adelle-sans;
 src:url(//use.typekit.net/af/08f8b6/00000000000000003b9acf2d/27/l?subset_id=2&fvd=n4&v=3) format("woff2"),
     url(//use.typekit.net/af/08f8b6/00000000000000003b9acf2d/27/d?subset_id=2&fvd=n4&v=3) format("woff"),
     url(//use.typekit.net/af/08f8b6/00000000000000003b9acf2d/27/a?subset_id=2&fvd=n4&v=3) format("opentype");
    font-weight:400;
    font-style:normal;
}
@font-face {
 font-family:adelle-sans;
 src:url(//use.typekit.net/af/7d0c2d/00000000000000003b9acf30/27/l?subset_id=2&fvd=n7&v=3) format("woff2"),
     url(//use.typekit.net/af/7d0c2d/00000000000000003b9acf30/27/d?subset_id=2&fvd=n7&v=3) format("woff"),
     url(//use.typekit.net/af/7d0c2d/00000000000000003b9acf30/27/a?subset_id=2&fvd=n7&v=3) format("opentype");
    font-weight:700;
    font-style:normal;
}
@font-face {
 font-family:adelle-sans;
 src:url(//use.typekit.net/af/19e135/00000000000000003b9acf2e/27/l?subset_id=2&fvd=i4&v=3) format("woff2"),
     url(//use.typekit.net/af/19e135/00000000000000003b9acf2e/27/d?subset_id=2&fvd=i4&v=3) format("woff"),
     url(//use.typekit.net/af/19e135/00000000000000003b9acf2e/27/a?subset_id=2&fvd=i4&v=3) format("opentype");
    font-weight:400;
    font-style:italic;
}
@font-face {
 font-family:adelle-sans;
 src:url(//use.typekit.net/af/b4d442/00000000000000003b9acf2f/27/l?subset_id=2&fvd=i7&v=3) format("woff2"),
     url(//use.typekit.net/af/b4d442/00000000000000003b9acf2f/27/d?subset_id=2&fvd=i7&v=3) format("woff"),
     url(//use.typekit.net/af/b4d442/00000000000000003b9acf2f/27/a?subset_id=2&fvd=i7&v=3) format("opentype");
    font-weight:700;
    font-style:italic;
}
@font-face {
 font-family:futura-pt;
 src:url(//use.typekit.net/af/b73c18/000000000000000000010091/27/l?subset_id=2&fvd=n7&v=3) format("woff2"),
     url(//use.typekit.net/af/b73c18/000000000000000000010091/27/d?subset_id=2&fvd=n7&v=3) format("woff"),
     url(//use.typekit.net/af/b73c18/000000000000000000010091/27/a?subset_id=2&fvd=n7&v=3) format("opentype");
    font-weight:700;
    font-style:normal;
}
@font-face {
 font-family:futura-pt;
 src:url(//use.typekit.net/af/f8b1e3/000000000000000000010092/27/l?subset_id=2&fvd=i7&v=3) format("woff2"),
     url(//use.typekit.net/af/f8b1e3/000000000000000000010092/27/d?subset_id=2&fvd=i7&v=3) format("woff"),
     url(//use.typekit.net/af/f8b1e3/000000000000000000010092/27/a?subset_id=2&fvd=i7&v=3) format("opentype");
    font-weight:700;
    font-style:italic;
}
@font-face {
 font-family:eurostile;
 src:url(//use.typekit.net/af/18a4e6/000000000000000000017994/27/l?subset_id=2&fvd=n4&v=3) format("woff2"),
     url(//use.typekit.net/af/18a4e6/000000000000000000017994/27/d?subset_id=2&fvd=n4&v=3) format("woff"),
     url(//use.typekit.net/af/18a4e6/000000000000000000017994/27/a?subset_id=2&fvd=n4&v=3) format("opentype"),
  	url('//cdn2.hubspot.net/hubfs/3834002/Fonts/Eurostile.ttf') format("truetype");
    font-weight:400;
    font-style:normal;
}
@font-face {
 font-family:eurostile;
 src:url(//use.typekit.net/af/bf7162/000000000000000000017997/27/l?subset_id=2&fvd=n7&v=3) format("woff2"),
     url(//use.typekit.net/af/bf7162/000000000000000000017997/27/d?subset_id=2&fvd=n7&v=3) format("woff"),
     url(//use.typekit.net/af/bf7162/000000000000000000017997/27/a?subset_id=2&fvd=n7&v=3) format("opentype"),
  	url('//cdn2.hubspot.net/hubfs/3834002/Fonts/Eurostile.ttf') format("truetype");
    font-weight:700;
    font-style:normal;
}
@font-face {
 font-family:eurostile;
 src:url(//use.typekit.net/af/37a900/0000000000000000000179a2/27/l?subset_id=2&fvd=i4&v=3) format("woff2"),
     url(//use.typekit.net/af/37a900/0000000000000000000179a2/27/d?subset_id=2&fvd=i4&v=3) format("woff"),
     url(//use.typekit.net/af/37a900/0000000000000000000179a2/27/a?subset_id=2&fvd=i4&v=3) format("opentype");
    font-weight:400;
    font-style:italic;
}
@font-face {
 font-family:eurostile;
 src:url(//use.typekit.net/af/262939/0000000000000000000179a3/27/l?subset_id=2&fvd=i7&v=3) format("woff2"),
     url(//use.typekit.net/af/262939/0000000000000000000179a3/27/d?subset_id=2&fvd=i7&v=3) format("woff"),
     url(//use.typekit.net/af/262939/0000000000000000000179a3/27/a?subset_id=2&fvd=i7&v=3) format("opentype");
    font-weight:700;
    font-style:italic;
}

/* 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 {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
} 

body {
  background: #fff;
  font-family: sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #646262;
  font-size: 16px;
  letter-spacing: .015em;
  line-height: 1.8em;
}

.hide {
  display: none !important;
}

/* Page Center */
.container-fluid .row-fluid .page-center {
  float: none;
  max-width:calc(960px + 16%);
  margin: 0 auto;
}

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

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


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

/* Basic text */
p {} 
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: eurostile;
  color: #333;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {}

h1 {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .015em;
    line-height: 1.2em;
}
h2 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .015em;
    line-height: 1.2em;
}
h3 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: .015em;
    line-height: 1.8em;
}
h4 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: .015em;
    line-height: 1.8em;
}
h5 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .015em;
    line-height: 1.8em;
}
h6 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .015em;
    line-height: 1.8em;
}

/* Anchor Links */
a { 
  color: #1461b8;
  text-decoration: none;
}
a:hover, a:focus { color: rgba(20,97,184,.7); }

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

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

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


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

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

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

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


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


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

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

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


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

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

.custom-header{ 
  background-color: rgba(20,93,138,.75);
  position:fixed;
  top:0;
  left:auto;
  right:0;
  width:100% !important;
  z-index:999;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.custom-share-wrapper {
    display: inline-block;
}
.custom-header .page-center > .row-fluid-wrapper > .row-fluid:before,
.custom-header .page-center > .row-fluid-wrapper > .row-fluid:after{
  content:none;
}
.custom-header .page-center > .row-fluid-wrapper > .row-fluid{
  display: table;
  padding: 25px 80px;
  vertical-align: middle;
  height:100%;
  width:100%;
}
.custom-header-logo{
  display: table-cell !important;
  width: 30% !important;
  vertical-align: middle;
  float: none !important;
}
.custom-header-logo h1{
  line-height: 1em;
  font-family: eurostile;
  font-size: 18px;
  font-weight: 700;
  text-transform: capitalize;
  font-style: normal;
  letter-spacing: .1em;
  text-decoration: none;
  margin: 0;
  padding: 0;
}
.custom-header-logo h1 a{
  color:#fff;
}
.custom-header-logo h1 a:hover{
  color: rgba(255,255,255,.7); 
}
.custom-menu-primary{
  display: table-cell !important;
  width: 70% !important;
  text-align: right;
  float: none !important;
  vertical-align: middle; 
  margin-left:0 !important;
}
/* =============== Content =============== */

.body-container-wrapper {}
.body-container {
  color: #646262;
  font-family: sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .015em;
  line-height: 1.8em;
  padding-bottom:100px;
}
.body-container .page-center{
  padding: 100px 8% 0; 
}
.custom-banner{
  padding:196px 80px 80px 80px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  position:relative;
  background-color:rgba(20,93,138,.75);
}
.custom-banner:before{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  content:"";
  left: 0;
  z-index: 8;
  background-color: rgba(31,33,35,.33);
}
.custom-banner .page-center{
  max-width:800px !important; 
  padding: 50px 0;
}
.custom-banner h1{
  padding: 15px 20px; 
  margin:0;
  font-family:eurostile;
  font-size:62px;
  line-height:1;
  color:#fff;
  text-transform:capitalize;
  text-align:center;
  font-weight:700;
  position:relative;
  z-index:9;
}
.custom-banner p{
  font-size: 24px;
  position:relative;
  z-index:9;
  color: #fff;
  text-align:center;
  margin: 25px 0 0;
  padding:36px;
  font-family:eurostile;
  padding: 1.5em; 
}
.custom-banner p span{
  display: block;
}
.custom-banner p span a{
  color:#fff;
  text-decoration:underline;
}
.hs-blog-post .custom-banner{
  position:relative;
}
.hs-blog-post .custom-banner:before{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 8;
  background-color: rgba(31,33,35,.33);
  content:"";
}
.content-wrapper {}
.main-content {}
.sidebar{}
.sidebar.right{}
.sidebar.left{}


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

.footer-container-wrapper {}
.footer-container {}
.custom-footer{
  position:relative;
  background-color: #245f84; 
}
.custom-footer .page-center{
  padding: 80px 8%; 
}
.custom-footer-copyright{
 padding:17px 0; 
}
.custom-footer-copyright p{
  margin:0;
  text-align:center;
  color: #fff;
  font-family: sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .015em;
  line-height: 1.8em;
}
.custom-footer-location{
  padding:0 0 68px; 
}
.custom-footer-location p{
  margin:0;
  width:25%;
  float:left;
  padding:17px;
  font-family: sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .015em;
  line-height: 1.8em;
  color:#fff;
}
.custom-footer-location p:nth-child(2) {
  padding-left: 0;
}
.custom-footer-location p:last-child{
  padding-right:0;
}
.custom-footer-location h3{
  font-family: eurostile;
  font-size: 22px;
  font-weight: 400;
  text-transform: none;
  font-style: normal;
  letter-spacing: .015em;
  text-decoration: none;
  line-height: 1.8em; 
  text-align:center;	
  margin:0;
  padding:17px;
  color:#fff;
}
nav.sqs-svg-icon--list {
  text-align: center;
  display:block;
  padding: 0 0 17px;
  transition: all 0.3s;
}
.sqs-svg-icon--list a{
  margin: 0 5px;
  position:relative;
  width: 36px;
  display:inline-block;
  height: 36px;
  fill: #fff;
  -webkit-transition: background-color 170ms ease-in-out;
  -moz-transition: background-color 170ms ease-in-out;
  -o-transition: background-color 170ms ease-in-out;
  transition: background-color 170ms ease-in-out;
}
nav.sqs-svg-icon--list:hover a{
  opacity:0.4;
  transition: all 0.3s;
}
nav.sqs-svg-icon--list:hover a:hover{
  opacity:1;
  transition: all 0.3s;
}
.sqs-svg-icon--list a svg{
  border-radius: 50%;
  height:36px;
  width:36px;
}
.sqs-use--icon {
    fill: #245F84;
}
/* ==========================================================================
   4. MAIN NAVIGATION                                            
   ========================================================================== */


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

/* Parent List */
.custom-menu-primary .hs-menu-wrapper > ul{
  display: block;
  float:right;
  line-height: 22px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li{
	padding: 0 0 0 29.3px;
  float:none !important;
  display:inline-block;
  line-height: 22px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a{
  color: #fff;
  font-size: 13px;  
  font-family: eurostile;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1.3px;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a:hover{
  color:rgba(255, 255, 255, 0.7);
}
.custom-menu-primary .hs-menu-wrapper > ul > li.active > a{
  color: #bb943a;
}
/* Child List */


/* 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 ul{
      background-color: rgba(20,93,138,.75);
      border: 1px solid rgba(17, 81, 120, 0.75);
      width: 200px;
      left: 50% !important;
      margin-left: -85px;
      margin-top: 25px;
    }
    .custom-menu-primary .hs-menu-wrapper > ul ul:after {
      position: absolute;
      content: "";
      padding: 29px 0 0;
      display: block;
      top: -29px;
      left: 0;
      right: 0;
      width: 100%;
    }
    .custom-menu-primary .hs-menu-wrapper > ul ul:before{
      content: '';
      display: block;
      width: 0;
      height: 0;
      border-width: 0 0 10px;
      border-style: solid;
      border-right: solid 10px transparent !important;
      border-left: solid 10px transparent !important;
      position: absolute;
      top: -10px;
      left: 50%;
      color: rgba(17,81,120,.75);
      margin-left: -10px; 
    }
    .custom-menu-primary .hs-menu-wrapper > ul ul li{
      border-bottom:1px solid rgba(17, 81, 120, 0.75);
  	}
  .custom-menu-primary .hs-menu-wrapper > ul ul li:last-child{
      border-bottom:none;
  	}
    .custom-menu-primary .hs-menu-wrapper > ul ul li a{
      padding: 12px;
      text-align: center;
      line-height: 2;
      font-size: 13px;
      font-weight: 400;
      color: #fff;
      border-bottom: 1px solid transparent;
      font-family: eurostile;
      letter-spacing: 1.24px;
    }
    .custom-menu-primary .hs-menu-wrapper > ul ul li a:hover{
      color:rgba(255, 255, 255, 0.7);
    }
}


/* =============== 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; /* Show button on mobile */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute; /**************************************/
    top: 0px;           /* Position Button at right of screen */
    right: 0;        /**************************************/
    font-size: 32px;
    width: 32px;
    height: 32px;
    line-height: 32px; 
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #000; 
  }
  .mobile-trigger:hover{
    text-decoration: none; /* Removes link text underline on button */
    color: #fff;
    background-color: transparent; 
    border-color: transparent;
  }

  /* Change button when menu is open */
  .mobile-open .mobile-trigger{
    color: #fff;
    background-color: transparent; 
    border-color: transparent;
  }

  /* Toggle Button Icon */
  .mobile-trigger i{
    display: inline;
    position: relative;
    top: -4px;
  }
  .mobile-trigger i:after{
    font-family: 'squarespace-ui-font';
    font-style: normal;
    speak: none;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    content: "\e030";
    color:#fff;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
  }
  .mobile-trigger:hover i:after{
    color: rgba(255,255,255,.7);
  }
  /* ===== Mobile Child Toggle Buttons ===== */

  .child-trigger{
    display: block !important; /* Hide button on Desktop */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100% !important; /* Button width */
    min-width: 100% !important;
    height: 66px !important; /* Button height */  
    padding: 0 !important;
  }
  .child-trigger:hover{
    text-decoration: none;
  }

 
  /* ===== Mobile Menu Styles ===== */  
     
  .custom-menu-primary.js-enabled{
    position: relative;
    padding-top: 32px; /* Makes room for button */
    margin:0;
  }

  /* Hide menu on mobile */
  .custom-menu-primary.js-enabled .hs-menu-wrapper{
    display:block;
  }
  .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 */ 
   /* Mobile Menu Styles */ 
  .custom-menu-primary.js-enabled .hs-menu-wrapper{
    width: 79%;
    height: 100%;
    position: fixed;
    top: 0;
    right: -79%;
    padding: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 5103;
    overflow-y: scroll !important;
  }
  .mobile-open .custom-menu-primary.js-enabled .hs-menu-wrapper{
     right: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .mobile-open{
    overflow:hidden;
  }
  #site-wrapper{
    position: relative;
    right: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .mobile-open #site-wrapper{
      right: 79%;
      -webkit-transition: all 0.3s ease;
      -moz-transition: all 0.3s ease;
      transition: all 0.3s ease;
  }
  .custom-menu-primary .hs-menu-wrapper{
    background-color: rgb(35, 103, 145);
    width: 100%; /* Full screen width */
  }

   /* Level 1 Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul{
  text-align:center;
  }


  /* Level 1 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul li{
  
  }
  .custom-menu-primary .hs-menu-wrapper >  ul li a{
  }
  .custom-menu-primary .hs-menu-wrapper > ul li a:hover,
  .custom-menu-primary .hs-menu-wrapper > ul > li:hover > a{
    color:rgba(255, 255, 255, 0.7);
  }

  /* Level 2 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul {
    background-color: transparent;
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul li{
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul li a{
    padding: 5px 20px 25px;
    text-align: center;
    line-height:26px;
    font-size:13px;
    color:#fff;
    letter-spacing:1.5px;
    font-weight:normal;
    font-family:eurostile;
  }
.custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children > a:before {
    content: '+';
    margin-right: .25em;
    font-size: 15.6px;
    width: 1em;
    display: inline-block;
}
.custom-menu-primary .hs-menu-wrapper > ul > li.child-open > a:before {
    content: '–';
}
  /* Level 3 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul ul li a{
  }

  /* Level 4 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul ul ul li a{
  }
}

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


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

/* Form Field */
.hs-form-field {}
.hs-form{
 margin:0 0 30px; 
}
/* Descriptions */
.hs-field-desc {}

/* Labels and Legends */
label {}
body .hs-form-field > label,
.widget-type-google_search label,
#comment-form li.hs-form-booleancheckbox label {
  display: block;
  margin-bottom: 4px;
  font-family: sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #646262;
  font-size: 16px;
  letter-spacing: .015em;
}

/* One Line Inputs */
input[type="text"],
input[type="password"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="date"], 
input[type="month"], 
input[type="time"], 
input[type="week"], 
input[type="number"], 
input[type="email"], 
input[type="url"], 
input[type="search"], 
input[type="tel"], 
input[type="color"],
input[type="file"],
textarea,
select {
  width: 100%;
  padding: 12px;
  margin: 0 0 15px;
  border: 1px solid #ccc;
  background: #fafafa;
  color: #000;
  font-family: sans-serif;
  font-size: 14px;
  line-height: normal;
  box-sizing: border-box;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

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

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

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

/* Multiple Selection Inputs */
form.hs-form .hs-form-field ul.inputs-list {
  list-style: none;
  padding: 0;
}
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{
}
ul.hs-error-msgs.inputs-list{
  margin:0;
  padding:0;
  list-style:none;
}
.hs-input.invalid.error {
    border: 1px solid #e99292;
}
ul.hs-error-msgs.inputs-list li {
    color: #fff;
    background: #cc3b3b url(//cdn2.hubspot.net/hubfs/3834002/ClarkPowell_March2018%20Theme/Images/icon_close_7_light.png) no-repeat 9px 50%;
    padding: 5px 15px 3px 25px;
    font-size: 13px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    margin: 0 0 4px;
    line-height: 23px;
    display: inline-block;
}
/* 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; }
}



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

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

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


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


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

.hs-button.primary,
input[type="submit"],
input[type="button"] {
  cursor: pointer;
  -webkit-appearance: none;
  text-decoration: none !important;
  display: inline-block;
  width: auto;
  padding: 1em 2.5em;
  color: #fff;
  /*margin:10px 0 0;*/
  background-color: #272727;
  border-width: 0;
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0px;
  text-align: center;
  text-decoration: none;
  outline: none;
  white-space:normal !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 14px;
  text-transform: none;
}

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

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


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

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


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

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


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

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


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

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


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


.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%;
}
.body-container .row-fluid-wrapper:last-child .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    padding: 0 0 20px;
}
.error-template.one-column .custom-header-wrapper, 
.password-template.one-column .custom-header-wrapper, 
.subscription-template.one-column .custom-header-wrapper{
  min-height:94px !important;
}
.subscribe-options label{
 margin:0; 
}
.back-to-top-link {
  display: block;
  z-index: 10;
  background-color: #fff;
  width: 50px;
  height: 50px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-left: -25px;
  z-index: 100;
  top: -25px;
  padding-top: 2px;
}
.back-to-top-link a {
    display: block;
    font-family: eurostile;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    color: #646262;
    padding-left: 2px;
    padding-top: 4px;
}
.back-to-top-link a .arrow {
    display: block;
    text-align: center;
    width: 16px;
    margin: 0 auto 4px;
}
.back-to-top-link a {
    display: block;
    font-family: eurostile;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1;
    color: #646262;
    padding-left: 2px;
    padding-top: 4px;
}
.back-to-top-link a .arrow:before {
  width: auto;
  height: auto;
  line-height: 1;
  font-size: 16px;
  text-align: center;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  cursor: pointer;
  color: #646262;
  display: block;
  margin-left: -2px;
  font-family: 'squarespace-ui-font';
  font-style: normal;
  speak: none;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  content: "\e02d";
  text-align: center;
  display: inline-block;
  vertical-align: middle;
}
/* ==========================================================================
   9. MEDIA QUERIES                              
   ========================================================================== */


/* =============== Screen sizes smaller than .page-center =============== */
@media (max-width: 1317px){
 .custom-banner {
    padding: 184px 80px 80px;
  }
}
@media (max-width: 1266px){
 .custom-menu-primary .hs-menu-wrapper > ul > li {
    padding: 0px 0 0 5.3px;
	} 
  .custom-menu-primary .hs-menu-wrapper > ul > li > a{
   font-size:12px; 
    letter-spacing:0.3px;
  }

}
@media (max-width: 1024px) {
.custom-header .page-center > .row-fluid-wrapper > .row-fluid{
    padding-left:5%;
    padding-right:5%;
  }
  .custom-footer .page-center {
    padding: 5%;
  }
}

@media (max-width: 875px){
    .custom-left-wrapper h2 {
      font-size: 32px;
    } 
}
/* =============== Landscape tablet and smaller devices =============== */

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

  .custom-left-wrapper h2 {
    font-size: 36px;
  } 
	.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: 0;
  }   
  .custom-header-logo{
    width:80% !important; 
  }
  .custom-menu-primary{
    width:20% !important; 
  }
  .custom-header-logo h1{
   font-size:13px; 
  }
  .custom-header .page-center > .row-fluid-wrapper > .row-fluid{
    padding:20px;
  }
  .custom-footer .page-center {
      padding: 50px 20px 20px;
  }
  .custom-footer-location {
    overflow: hidden;
  }
  .custom-banner {
    padding: 72px 0 0;
  }
  .custom-banner .page-center {
    padding: 20px;
  }
  .custom-banner p {
    font-size: 13px;
    line-height:15px;
    margin: 20px 0 0;
    padding: 15px 20px;
	}
  .body-container .page-center{
    padding:20px 20px 50px; 
  }
  .custom-left-wrapper,
  .blog-listing-wrapper .post-listing .post-item .post-body{
    width:100%; 
    padding:0;
  }
  a.more-link{
   display:none; 
  }
  .mobile-open .custom-header {
    right: 79%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li{
    position: relative;
    border-bottom:1px solid rgba(17,81,120,.75);
    line-height: 1em;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li > a{
    text-align:center;
    padding: 20px;
    line-height:26px;
    font-size:13px;
    color:#fff;
    letter-spacing:1.5px;
    font-weight:normal;
    font-family:eurostile;
  }
}  
@media (max-width: 640px) {
	.custom-footer-location p{
    width:100%;
    padding-left:0 !important;
    padding-right:0 !important;
  }
  .custom-footer-location {
    padding: 0;
  }
  nav.sqs-svg-icon--list {
    padding: 17px 0;
  }
  .body-container{
   padding-bottom:0;
  }
}

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

@media (max-width: 479px) {
  .blog .custom-banner h1 {
    font-size: 40px;
  }
}