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

/**
 * CSS @imports must be at the top of the file.      
 * Add them above this section.                             
 */



/* ==========================================================================
   HS COS Boilerplate v1.5.0                                
   ========================================================================== */

/* This responsive framework is required for all styles. */
/* Responsive Grid */

.row-fluid {
    width: 100%;
    *zoom: 1;
}

.row-fluid:before, .row-fluid:after {
    display: table;
    content: "";
}

.row-fluid:after {
    clear: both;
}

.row-fluid [class*="span"] {
    display: block;
    float: left;
    width: 100%;
    min-height: 28px;
    margin-left: 2.127659574%;
    *margin-left: 2.0744680846382977%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.row-fluid [class*="span"]:first-child {
    margin-left: 0;
}

.row-fluid .span12 {
    width: 99.99999998999999%;
    *width: 99.94680850063828%;
}

.row-fluid .span11 {
    width: 91.489361693%;
    *width: 91.4361702036383%;
}

.row-fluid .span10 {
    width: 82.97872339599999%;
    *width: 82.92553190663828%;
}

.row-fluid .span9 {
    width: 74.468085099%;
    *width: 74.4148936096383%;
}

.row-fluid .span8 {
    width: 65.95744680199999%;
    *width: 65.90425531263828%;
}

.row-fluid .span7 {
    width: 57.446808505%;
    *width: 57.3936170156383%;
}

.row-fluid .span6 {
    width: 48.93617020799999%;
    *width: 48.88297871863829%;
}

.row-fluid .span5 {
    width: 40.425531911%;
    *width: 40.3723404216383%;
}

.row-fluid .span4 {
    width: 31.914893614%;
    *width: 31.8617021246383%;
}

.row-fluid .span3 {
    width: 23.404255317%;
    *width: 23.3510638276383%;
}

.row-fluid .span2 {
    width: 14.89361702%;
    *width: 14.8404255306383%;
}

.row-fluid .span1 {
    width: 6.382978723%;
    *width: 6.329787233638298%;
}

.container-fluid {
    *zoom: 1;
}

.container-fluid:before, .container-fluid:after {
    display: table;
    content: "";
}

.container-fluid:after {
    clear: both;
}

@media (max-width: 767px) {
    .row-fluid {
        width: 100%;
    }

    .row-fluid [class*="span"] {
        display: block;
        float: none;
        width: auto;
        margin-left: 0;
    }
}

@media (min-width: 768px) and (max-width: 1139px) {
    .row-fluid {
        width: 100%;
        *zoom: 1;
    }

    .row-fluid:before, .row-fluid:after {
        display: table;
        content: "";
    }

    .row-fluid:after {
        clear: both;
    }

    .row-fluid [class*="span"] {
        display: block;
        float: left;
        width: 100%;
        min-height: 28px;
        margin-left: 2.762430939%;
        *margin-left: 2.709239449638298%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

    .row-fluid [class*="span"]:first-child {
        margin-left: 0;
    }

    .row-fluid .span12 {
        width: 99.999999993%;
        *width: 99.9468085036383%;
    }

    .row-fluid .span11 {
        width: 91.436464082%;
        *width: 91.38327259263829%;
    }

    .row-fluid .span10 {
        width: 82.87292817100001%;
        *width: 82.8197366816383%;
    }

    .row-fluid .span9 {
        width: 74.30939226%;
        *width: 74.25620077063829%;
    }

    .row-fluid .span8 {
        width: 65.74585634900001%;
        *width: 65.6926648596383%;
    }

    .row-fluid .span7 {
        width: 57.182320438000005%;
        *width: 57.129128948638304%;
    }

    .row-fluid .span6 {
        width: 48.618784527%;
        *width: 48.5655930376383%;
    }

    .row-fluid .span5 {
        width: 40.055248616%;
        *width: 40.0020571266383%;
    }

    .row-fluid .span4 {
        width: 31.491712705%;
        *width: 31.4385212156383%;
    }

    .row-fluid .span3 {
        width: 22.928176794%;
        *width: 22.874985304638297%;
    }

    .row-fluid .span2 {
        width: 14.364640883%;
        *width: 14.311449393638298%;
    }

    .row-fluid .span1 {
        width: 5.801104972%;
        *width: 5.747913482638298%;
    }
}

@media (min-width: 1280px) {
    .row-fluid {
        width: 100%;
        *zoom: 1;
    }

    .row-fluid:before, .row-fluid:after {
        display: table;
        content: "";
    }

    .row-fluid:after {
        clear: both;
    }

    .row-fluid [class*="span"] {
        display: block;
        float: left;
        width: 100%;
        min-height: 28px;
        margin-left: 2.564102564%;
        *margin-left: 2.510911074638298%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

    .row-fluid [class*="span"]:first-child {
        margin-left: 0;
    }

    .row-fluid .span12 {
        width: 100%;
        *width: 99.94680851063829%;
    }

    .row-fluid .span11 {
        width: 91.45299145300001%;
        *width: 91.3997999636383%;
    }

    .row-fluid .span10 {
        width: 82.905982906%;
        *width: 82.8527914166383%;
    }

    .row-fluid .span9 {
        width: 74.358974359%;
        *width: 74.30578286963829%;
    }

    .row-fluid .span8 {
        width: 65.81196581200001%;
        *width: 65.7587743226383%;
    }

    .row-fluid .span7 {
        width: 57.264957265%;
        *width: 57.2117657756383%;
    }

    .row-fluid .span6 {
        width: 48.717948718%;
        *width: 48.6647572286383%;
    }

    .row-fluid .span5 {
        width: 40.170940171000005%;
        *width: 40.117748681638304%;
    }

    .row-fluid .span4 {
        width: 31.623931624%;
        *width: 31.5707401346383%;
    }

    .row-fluid .span3 {
        width: 23.076923077%;
        *width: 23.0237315876383%;
    }

    .row-fluid .span2 {
        width: 14.529914530000001%;
        *width: 14.4767230406383%;
    }

    .row-fluid .span1 {
        width: 5.982905983%;
        *width: 5.929714493638298%;
    }
}

/* Clearfix */

.clearfix {
    *zoom: 1;
}

.clearfix:before, .clearfix:after {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}

/* Visibilty Classes */

.hide {
    display: none;
}

.show {
    display: block;
}

.invisible {
    visibility: hidden;
}

.hidden {
    display: none;
    visibility: hidden;
}

/* Responsive Visibilty Classes */

.visible-phone {
    display: none !important;
}

.visible-tablet {
    display: none !important;
}

.hidden-desktop {
    display: none !important;
}

@media (max-width: 767px) {
    .visible-phone {
        display: inherit !important;
    }

    .hidden-phone {
        display: none !important;
    }

    .hidden-desktop {
        display: inherit !important;
    }

    .visible-desktop {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1139px) {
    .visible-tablet {
        display: inherit !important;
    }

    .hidden-tablet {
        display: none !important;
    }

    .hidden-desktop {
        display: inherit !important;
    }

    .visible-desktop {
        display: none !important ;
    }
}
/* Images */
img {
   /* max-width: 100%; */
    /* height: auto; */
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: bottom; /* Suppress the space beneath the baseline */
}

img.alignRight{
    margin: 0 0 5px 15px;
}

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

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

/* Embed Container (iFrame, Object, Embed) */
.hs-responsive-embed {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-top: 0;
    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.hs-responsive-embed-youtube,
.hs-responsive-embed.hs-responsive-embed-wistia,
.hs-responsive-embed.hs-responsive-embed-vimeo {
    padding-bottom: 56.25%;
}
.hs-responsive-embed.hs-responsive-embed-instagram {
    padding-bottom: 116.01%;
}
.hs-responsive-embed.hs-responsive-embed-pinterest {
    height: auto;
    overflow: visible;
    padding: 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;
}

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

/* FlexSlider Necessary Styles
*********************************/
.hs_cos_flex-slider {margin: 0; padding: 0;}
.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%;}

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


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

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

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


/* These includes are optional, but helpful. */
/* 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;
}

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

 





/* ==========================================================================

   Index:         

  1. BASE STYLES   
    - Variables
    - Macros
    - Base
    - Typography

  2. COS STRUCTURE
    - Structure
    - Header
    - Content
    - Footer

  3. MAIN NAVIGATION
    - Custom Menu Primary
    - Mobile Menu

  4. TEMPLATE MODULE CLASSES
    - Common Template Classes
    - Site Pages
    - Landing Pages
    - System Pages

  5. COS COMPONENTS
    - Blog
    - Forms
    - Buttons

  6. MISCELLANOUS

  7. MOBILE MEDIA QUERIES

   ========================================================================== */








/* ==========================================================================


   1. BASE STYLES                                             


   ========================================================================== */





/* ==========================================================================
   Variables                                               
   ========================================================================== */


/**
 * Find the most consistently used font styles, colors, and container widths 
 * for your site and assign them to the jinja variables below for easy use 
 * and reference. 
 *
 * Apply the variable as shown below.  Ignore the jingja comment tags.
 *
 * 
 */

/* Colors */
    /*  */
    /*  */
    /*  */
    /*  */
    /*  */
    /*  */

/* Typography */
            /*  */
                         /*  */
                          /*  */
 /*  */

/* Containers */
 /* Used on '.page-center' in 'Base' and in the 'Portrait tablet to landscape and desktop' media query */

    


/* ==========================================================================
   Macros                                                  
   ========================================================================== */


/** 
  * Create jinja macros for CSS3 properties that need browser prefixes.
  *
  * Apply the style as shown below on it's own CSS property line.  
  * Ignore the jinja comment tags. 
  *
  * 
  */

 

/** 
  * Example of how to apply the above macro (ignore the jinja comment tags):
  *
  * a {
  *   color: red;
  *   font-size: 12px;
  *    
  * }
  */




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


/** 
 * Box Sizing
 * 
 * Applies a natural box layout model to all elements so that width and padding 
 * are essentially combined, making responsive styles easier to manage.
 */

*, *: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;
  font-size: 0.95em;
  color: #797979;
  font-family: Georgia,'Times New Roman',Times,serif;;
  line-height: 145%;
} 

/* Website background color and default font styles */
body {
  background: #ede9cc;
}

/**
 * Page Center
 *
 * Apply .page-center to full-width modules.
 */

.container-fluid .row-fluid .page-center {
  float: none;
  max-width: 760px;
  margin: 0 auto;
}

a { color: #792a2d; }
a:hover, a:focus { text-decoration: none;outline: 0;color: #792a2d; }

hr {
  color: #ccc;
  background-color: #ccc;
  height: 1px;
  border: none;
}

/* Highlighted Text
::-moz-selection {
  color: #fff;
  background: #797979;
  text-shadow: none;
}
::selection {
  color: #fff;
  background: #797979;
  text-shadow: none;
}
 */
 
/* Corrects width issues in table elements created via the wysiwyg editor */
table tr td img {
  max-width: initial;
}



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


/* Basic text */
p {
    font-size: 0.9em;
    line-height: 165%;
} 

.sidebar p {
    font-size: 0.9em;
    line-height: 145%;
    margin: 5px 0 15px;
    padding: 0;    
}

small {}
strong {}
em {}
cite {}
pre, code {
    white-space: pre-wrap;
    word-wrap: break-word;
}

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 {}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {}

h1 {}
h2 {}
h3 {}
h4 {}
h5 {}
h6 {}

.main-content .hs_cos_wrapper_type_rss_listing h3,
.main-content .hs_cos_wrapper_type_follow_me h3,
.main-content h3.form-title,
.main-content h1 {
    font-size: 1.6em;
    line-height: 115%;
    margin: 8px 0 15px;
    padding: 0;
    color: #979582;
    font-family: Georgia,"Times New Roman",Times,serif;
    font-weight: bold;
}

.main-content h2 {
color: #792a2d;
font-family: Georgia,"Times New Roman",Times,serif;
font-size: 1.3em;
font-weight: normal;
line-height: 145%;
margin: 15px 0;
padding: 0;
}

.main-content h3 {
color: #979582;
font-family: Georgia,"Times New Roman",Times,serif;
font-size: 1.1em;
font-weight: normal;
line-height: 135%;
margin: 15px 0;
padding: 0;
}

.main-content h4 {
color: #979582;
font-family: Georgia,"Times New Roman",Times,serif;
font-size: 1em;
margin: 15px 0;
padding: 0;
}

.sidebar h3 {
color: #792a2d;
font-family: Georgia,"Times New Roman",Times,serif;
font-size: 1.3em;
font-weight: normal;
line-height: 125%;
margin: 0 0 10px;
padding: 5px 0 0;
white-space: normal;
}

/* Lists */
ul, ol {}
ul ul, ul ol, ol ol, ol ul {}
li {}

ul.unstyled, ol.unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-content ul {
    list-style-type: square;
    margin: 6px 0 6px 14px;
    padding: 0;
}

.main-content ol {
    margin: 0 0 6px 25px;
    padding: 0;
}

.main-content li {
    font-size: 0.9em;
    line-height: 145%;
    margin: 0;
    padding: 0 0 10px;
}

.sidebar ul {
    line-height: 145%;
    list-style-type: square;
    margin: 12px 0 0 14px;
    padding: 0;
}

.sidebar ol {
    line-height: 145%;
    margin: 12px 0 0 18px;
    padding: 0;
}

.sidebar li {
    font-size: 0.9em;
    margin: 0;
    padding: 0 0 10px;
}




/* Quotes */
blockquote {}
blockquote p {}
blockquote small {}
blockquote small:before {}

q:before, q:after, blockquote:before, blockquote:after {}




iframe {vertical-align: bottom;}



/* ==========================================================================


   2. 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 {}

/* Logo styling */
.header-container .hs_cos_wrapper_type_logo {}
.header-container .hs_cos_wrapper_type_logo a {}
.header-container .hs_cos_wrapper_type_logo a img {}




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


.body-container-wrapper {}
.body-container {}


/* Unique Pages
   ========================================================================== */

/* Homepage */
.home-template .sidebar.right .widget-type-widget_container > span > div {
  padding: 8px 20px 8px 9px;
  margin-bottom: 10px;
  overflow: hidden;
  background: transparent;
}


.home-template .main-content {padding-left: 5px;padding-right: 13px;}
.home-template .sidebar .hs_cos_wrapper_type_follow_me > .block > div {padding-top: 25px;padding-bottom: 20px;}

/* Contact Us */

/* About Us */


/* Modular & Reusable Components
   ========================================================================== */

/* Callouts */

/* Social Media Custom Icons */
.hs_cos_wrapper_type_follow_me > div {padding: 10px;}
.hs_cos_wrapper_type_follow_me > div.block {padding: 0;}
.hs_cos_wrapper_type_follow_me > div.block > div {padding: 15px 10px 20px;}

/* RSS Module */
.hs-rss-item {
  width: 91%;
  border-top: 1px dotted #dddddd;
  font-size: 12px;
  line-height: 100%;
  margin: 5px 0;
  padding: 15px 0 0;
  font-family: arial,helvetica,verdana,sans-serif;
  color: #020202;
}

.hs-rss-item-text {
  padding: 0 15px;
  display: flex;
  flex-flow: row wrap;
}

.hs-rss-title {
  display: block;
  line-height: 23px;
  text-decoration: none;
}

.hs-rss-title span {
  background: url("//static.hubspot.com/webVoter/img/linkLine.png") repeat-x scroll 0 95% rgba(0, 0, 0, 0);
  color: #0066ff;
  font-size: 19px;
  text-decoration: none;
}

.hs-rss-description {
  display: block;
  font-size: 13px;
  line-height: 155%;
  padding: 8px 0;
  opacity: 1;
  color: #414141;
}

.hs-rss-description {order: 2;width: 100%;}
.hs-rss-byline {order: 3;width: 100%;}
.hs-rss-description p {margin: 0;}
.hs-rss-description p a:last-child {margin-left: 5px;}

.hs-rss-byline {
  color: #777777;
  font-size: 10px;
  text-transform: uppercase;
  opacity: 1;
  padding: 0 0 8px;
}

.hs-rss-date {font-weight: bold;font-style: italic;}


/* Additional Menus aside from the Main Nav */

/* Vertical Menu */
#foxboro_side-menu > div {min-height: 0!important;}
#foxboro_side-menu ul {margin: 0;}
.body-container .hs-menu-flow-vertical {margin-bottom: 25px;}
.body-container .hs-menu-flow-vertical ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.11111113557em;
}

.body-container .hs-menu-flow-vertical ul li {
  background-color: #ffffff;
  font-size: 0.9em;
  line-height: 16px;  
  padding-bottom: 0;
}

.body-container .hs-menu-flow-vertical > ul > li:first-child > a {border-top: 1px solid #797979;}
.body-container .hs-menu-flow-vertical ul li a {
  border-bottom: 1px solid #797979;
  line-height: 17px;
  padding: 7px 15px 7px 14px;
  text-decoration: none;
}

.body-container .hs-menu-flow-vertical ul .active-branch > a,
.body-container .hs-menu-flow-vertical ul .active > a,
.body-container .hs-menu-flow-vertical ul li a:hover {
    background-color: #792a2d;
    color: #ffffff;
}

.body-container .hs-menu-flow-vertical ul .active-branch > a,
.body-container .hs-menu-flow-vertical ul .active > a {
    font-weight: bold;
}

.body-container .hs-menu-flow-vertical ul ul {
    border-bottom: 1px solid #797979;
    padding-bottom: 10px;
}

.body-container .hs-menu-flow-vertical ul li:last-child ul {padding-bottom: 0;border-bottom: medium none;}

.body-container .hs-menu-flow-vertical ul ul li a {
    padding-left: 29px;
    white-space: normal!important;
    border-bottom: medium none;
}

.body-container .hs-menu-flow-vertical ul .hs-item-has-children > ul {display: none;}

.body-container .hs-menu-flow-vertical ul .active-branch > ul,
.body-container .hs-menu-flow-vertical ul .active > ul {
    display: block;
}


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


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

.footer-container .page-center {
  background: none repeat scroll 0 0 #979582;
  border-top: 1px solid #b5b4a7;
  clear: both;
  display: block;
  font-size: 0.9em;
  margin: 0;
  padding: 5px 15px 15px;  
  color: #fff;
}

.footer-container a,
.footer-container p {
  color: #fff;
}

p.copyright {
  clear: both;
  font-size: 0.9em;
  margin: 0 0 13px;
  padding: 0;
}

p.copyright a {text-decoration: underline;}


.hs-menu-wrapper.hs-menu-flow-horizontal > ul {display: block;}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li {
  font-size: 0.9em;
  margin: 0 20px 0 0;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
  padding: 8px 0;
  text-decoration: none;
  display: block;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul ul {display: none;}






/* ==========================================================================


   3. MAIN NAVIGATION                                            


   ========================================================================== */





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


 /* Set ul background color */
 /* Set li background Color */
 /* Set link Color */
 /* Set link Hover Color */

.header-container .row-fluid .custom_nav-bg {min-height: 6px;background-color: #979582;}

/* Parent List */
.custom-menu-primary .hs-menu-wrapper > ul{ 
  display: block;
  padding: 0 10px;
  background:#979582;
}
.custom-menu-primary .hs-menu-wrapper > ul > li{
    font-size: 0.73em;
    font-weight: bold;
    margin: 0 1px 0 2px;    
  background:#979582;
}
.custom-menu-primary .hs-menu-wrapper > ul > li > a{
  text-decoration: none;    
  padding: 5px 8px;
  color:#ffffff;
}

.custom-menu-primary .hs-menu-wrapper > ul > li:hover > a {
  background-color: #c1c1c1;
  color:#792a2d;
}

.custom-menu-primary .hs-menu-wrapper > ul > li.active-branch > a,
.custom-menu-primary .hs-menu-wrapper > ul > li.active > a {
  background-color: #797979;
  color: #c1c1c1;
}

/* Child List */
.custom-menu-primary .hs-menu-wrapper > ul ul{ display: none; }
.custom-menu-primary .hs-menu-wrapper > ul ul li{
  background:#979582;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a{
  color:#ffffff;
  padding: 5px 8px;
  text-decoration: none;
}
.custom-menu-primary .hs-menu-wrapper > ul ul li a:hover{
  color:#792a2d;
}

/* 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 { 
          display:block !important;
      }
  }




/* ==========================================================================
   Mobile Menu - Hubspot Standard Toggle Menu
   ========================================================================== */


/**
 * Special Note
 *
 * When the menu is open, a class of .mobile-open is applied to the body. You can 
 * use this for custom styling on any element when the menu is in the open position.                     
 */

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

@media (max-width: 767px){


  /* Variables
     ========================================================================== */

     /* Set Mobile Menu Background Color */
        /* Set Link Color */
   /* Set Link Hover Color */

  /* 
    * Menu Reset
    *
    * Remove styling from desktop version of custom-menu-primary. Place any 
    * additional CSS you want removed from the mobile menu in this 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:#ffffff;
  }


  /* 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;        /*******************************************/
    width: 100%; /* Button width */
    height: auto; /* Button height */      
    padding: 7px 10px 8px 10px;
  /*  background: #ffffff; /* Background color */
    border: 1px solid #979582;
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-align: center;
    color: #979582; 
  }
  .mobile-trigger:hover{
    text-decoration: none; /* Removes link text underline on button */
    color:#792a2d;
    background-color: #979582; 
    border-color: transparent;
  }

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


  /* 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: 22px; /* Icon line width */
    height: 2px; /* Icon line height */
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    background-color: #fff; /* Icon color */
    display: inline-block;
  }
  .mobile-trigger i:before{
    top: -6px; /* Position top line */
    left: 0;
  }
  .mobile-trigger i:after{
    top: 6px; /* Position bottom line */
    left: 0;
  }
  
  .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: #792a2d; /* Icon color */
  }


  /* Child Toggle Button
     ========================================================================== */

  .child-trigger{
    display: block !important; /* Hide button on Desktop */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute;
    top: 0px;
    right: 0px;
    width: 55px !important; /* Button width */
    min-width: 55px !important;
    height: 45px !important; /* Button height */  
    padding: 0 !important;
    border-left: 1px dotted rgba(255, 255, 255, .20);
  }
  .child-trigger:hover{
    text-decoration: none;
  }
  .child-trigger i{
    position: relative;
    top: 50%; /* Centers icon inside button */
    margin: 0 auto !important;
  }
  .child-trigger i:after{
    position: absolute;
    content: '';
  }
  .child-trigger i, .child-trigger i:after{
    width: 10px; /* Icon line width */
    height: 1px; /* Icon line height */
    background-color:#ffffff; /* Icon color */
    display: block;
  }
  .child-trigger i:after{
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  .child-trigger.child-open i:after{
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  .child-trigger.child-open i{
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }

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

  /* 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;             /* Positions the menu to drop from the very top of the screen */
    left: 0;          /**************************************************************/
    padding: 0;
  }
  .custom-menu-primary .hs-menu-wrapper{
    background-color:#979582; /* Menu background color set off global menuColorMobile variable */
    width: 100%; /* Full screen width */
  }

   /* Level 1 Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul > li{
    position: relative;
  }
  .custom-menu-primary .hs-menu-wrapper > ul > li a{
    font-size: 16px; /* Font size of top level list items */
    line-height: 45px;
    overflow: visible;
  }

  /* Level 1 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul li{
    border-top: 1px dotted rgba(255, 255, 255, .35); /* Adds transparent dark highlights to top of top level list items */
  }
  .custom-menu-primary .hs-menu-wrapper >  ul li a{
    padding: 0 10px;
    color:#ffffff; /* link color set by global mobile-aColor variable */
  }
  
  .custom-menu-primary .hs-menu-wrapper > ul > li:hover > a {background-color: transparent;color:#ffffff;}
  .custom-menu-primary .hs-menu-wrapper > ul li > a:hover{
    background-color: #c1c1c1;
    color:#792a2d; /* link hover color set by global mobile-aColorHover variable */
  }
  
  .custom-menu-primary .hs-menu-wrapper ul li.active-branch > a,
  .custom-menu-primary .hs-menu-wrapper ul li.active > a {
    background-color: #797979;
    color: #c1c1c1;
  }

  /* Level 2 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul li{
   /* background-color: rgba(255, 255, 255, .08); */
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul li a{
    padding: 0 10px;
    text-indent: 10px; /* Indent Child lists */
    font-size: 16px; /* Font size of child lists */
  }

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








/* ==========================================================================


   4. TEMPLATE MODULE SELECTORS                                         


   ========================================================================== */





/* Common Template Selectors                                             
   ========================================================================== */

body.one-column {}
body.two-column {}
body.three-column {}
.content-wrapper.page-center,
.cms-migrated .content-wrapper .page-center {
    padding-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #fff;    
}

.main-content {padding-bottom: 35px;}
.sidebar {
    display: block;
    font-size: 0.9em;
    line-height: 145%;
}    

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


.sidebar.widget-type-widget_container > span > div,
.sidebar .widget-type-widget_container > span > div {
  background-color: #dcdcdc;
  padding: 8px 20px;
  margin: 0 0 35px;
  overflow: hidden;
}

.sidebar .widget-type-widget_container > span > .hs_cos_wrapper_type_raw_html {
  background: transparent;
  padding: 0;
  margin: 0 0 10px;
}

.sidebar.left .widget-type-widget_container > span > .hs_cos_wrapper_type_raw_html {margin-left: -15px;}
.sidebar.right .widget-type-widget_container > span > .hs_cos_wrapper_type_raw_html {margin-right: -15px;}


/* Common One Column Selectors */
body.site-page.one-column, 
body.landing-page.one-column, 
body.error-template.one-column, 
body.password-template.one-column, 
body.subscription-template.one-column {}

body.site-page.one-column .main-content, 
body.landing-page.one-column .main-content, 
body.error-template .main-content, 
body.password-template .main-content, 
body.subscription-template .main-content {
    padding-left: 5px;
    padding-right: 5px;
}

/* Common Two Column Selectors */
body.site-page.two-column, 
body.landing-page.two-column, 
body.blog {}  

body.site-page.two-column .main-content, 
body.landing-page.two-column .main-content, 
body.blog .blog-content {}

/* Common Three Column Selectors */
body.site-page.three-column, 
body.landing-page.three-column {}

body.site-page.three-column .main-content, 
body.landing-page.three-column .main-content {}


/* Site Pages                                            
   ========================================================================== */

/* One Column Template */
body.site-page.one-column {}
body.site-page.one-column .content-wrapper {}
body.site-page.one-column .main-content {}

/* Two Column Template */
body.site-page.two-column {}
body.site-page.two-column .content-wrapper {}
body.site-page.two-column .main-content {}
body.site-page.two-column .sidebar.right {}

/* Three Column Template */
body.site-page.three-column {}
body.site-page.three-column .content-wrapper {}
body.site-page.three-column .main-content {}


/* Landing Pages                                           
   ========================================================================== */

/* One Column Template */
body.landing-page.one-column {}
body.landing-page.one-column .content-wrapper {}
body.landing-page.one-column .main-content {}

/* Two Column Template */
body.landing-page.two-column {}
body.landing-page.two-column .content-wrapper {}
body.landing-page.two-column .main-content {}
body.landing-page.two-column .sidebar.right {}

/* Three Column Template */
body.landing-page.three-column {}
body.landing-page.three-column .content-wrapper {}
body.landing-page.three-column .main-content {}


/* System Pages                                          
   ========================================================================== */

/* Error Templates 404, 500 */
body.error-template.one-column {}
body.error-template.one-column .content-wrapper {}
body.error-template.one-column .main-content {}

body.error-template .widget-type-google_search .hs-button.primary {padding: 0 2px;}

/* Password template */
body.password-template.one-column {}
body.password-template.one-column .content-wrapper {}
body.password-template.one-column .main-content {}

body.password-template .main-content .hs-button.primary {font-size: 13px;}

/* Email Subscribition templates */
body.subscription-template.one-column {}
body.subscription-template.one-column .content-wrapper {}
body.subscription-template.one-column .main-content {}

body.subscription-template #submitbutton {font-size: 13px;}


/* CMS Migrate Template                                          
   ========================================================================== */
    
/* One Column Template */
.cms-migrated .one-column {}
div.one-column {}

div.one-column .top-content {}
div.one-column .middle-content {}
div.one-column .bottom-content {}

div.one-column .main-content {padding-left: 5px;padding-right: 5px;}

.content-wrapper .top-content.page-center {padding: 0;min-height: 0;}
.content-wrapper .top-content.page-center .widget-span {min-height: 0;}

.content-wrapper .bottom-content.page-center {padding: 0;min-height: 0;}
.content-wrapper .bottom-content.page-center .widget-span {min-height: 0;}

/* Two Column Right Template */
.cms-migrated .two-column-right {}
div.two-column-right {}

div.two-column-right .top-content {}
div.two-column-right .middle-content {}
div.two-column-right .bottom-content {}

div.two-column-right .main-content {}
div.two-column-right .sidebar {}

div.two-column-right .main-content {padding-left: 5px;padding-right: 13px;}
div.two-column-right .sidebar.right {float: right;}
div.two-column-right .sidebar.right .widget-type-widget_container > span {
  display: block;
  margin-left: -6px;
}

/* Two Column Left Template */
.cms-migrated .two-column-left {}
div.two-column-left {}

div.two-column-left .top-content {}
div.two-column-left .middle-content {}
div.two-column-left .bottom-content {}

div.two-column-left .main-content.span9 {padding-left: 7px;padding-right: 6px;}
div.two-column-left .sidebar.left.span3 > div {margin-right: -6px;}



/* Three Column Template */
.cms-migrated .three-column {}
div.three-column {}

div.three-column .top-content {}
div.three-column .middle-content {}
div.three-column .bottom-content {}

div.three-column .main-content {padding-left: 7px;padding-right: 7px;}
div.three-column .sidebar.right {float: right;}
div.three-column .sidebar.right > span {margin-left: -6px;display: block;}
div.three-column .sidebar.left > div {margin-right: -6px;}


/* Three Equal Column Template */
.cms-migrated .three-column-equal {}
div.three-column-equal {}

div.three-column-equal .top-content {}
div.three-column-equal .middle-content {}
div.three-column-equal .bottom-content {}

div.three-column-equal .main-content {}
div.three-column-equal .main-content:first-child {}
div.three-column-equal .sidebar.right {}


/* Two Equal Column Template */
.cms-migrated .two-column-equal {}
div.two-column-equal {}

div.two-column-equal .main-content:first-child {}
div.two-column-equal .main-content:last-child {}





/* ==========================================================================


   5. COS COMPONENTS                                        


   ========================================================================== */





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


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

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

/* Blog Listing */
body.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 {
    border-bottom: 1px solid #cccccc;
    display: block;
    font-size: 0.9em;
    line-height: 165%;
    margin: 0 0 20px;
    padding: 0 0 30px;    
}

/* Blog Title */
.hs-blog-header h1 {margin-bottom: 5px;}
.hs-blog-header h1 a{}

/* Blog Post Title */
.post-header h1 {
  font-size: 1.2em;
  color: #979582;
  margin: 10px 0 0;
  padding: 0;
  font-weight: normal;
  font-family: Georgia,"Times New Roman",Times,serif;
  line-height: 135%;
}

.post-header h2 {
  font-size: 1.2em;
  color: #979582;
  margin: 10px 0 0;
  padding: 0;
  font-weight: normal;
  font-family: Georgia,"Times New Roman",Times,serif;
  line-height: 135%;  
}

.post-header h2 a {
  color: #979582;
  text-decoration: none;
}

.post-header h2 a:hover {
  text-decoration: underline;
}

/* Blog Author and Avatar */
#hubspot-author_data {
    font-size: 0.8em;
    font-style: italic;
    margin: 0 0 10px;
    padding: 0;    
}

#hubspot-author_data a.author-link {}
#hubspot-author_data .hs-author-avatar {}
#hubspot-author_data .hs-author-avatar img {}

/* Use this to set up different styling for your blog posts */
.blog-listing-wrapper .post-listing .post-item {
    border-bottom: 1px solid #cccccc;
    display: block;
    font-size: 0.9em;
    line-height: 165%;
    margin: 0 0 20px;
    padding: 0 0 30px;    
}

.blog-listing-wrapper .post-listing .post-item .post-body {}
.blog-post-wrapper .post-body {}

/* Post Featured Image on Listings Page */
.hs-featured-image-wrapper {}
.hs-featured-image-wrapper .hs-featured-image-link {}
.hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image{
  border-width: 0;
  max-height: 170px;
  max-width: 210px;
  height: auto;
  width: auto;
  display: inline-block !important;
  float: right;
  margin: 20px 0 20px 20px;
}

/* Read More Link */
a.more-link {}

/* Blog Topics List */
#hubspot-topic_data {
    color: #888888;
    font-weight: bold;
    margin: 4px 0;
}

#hubspot-topic_data a.topic-link {}

/** 
 * Blog Social Sharing icons
 *
 * Overrides defaults to better align icons and prevent overlapping 
 */

.hs-blog-social-share {
  padding: 10px 0 0 0;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  height: auto;
}

.social-sharing-widget-vertical {
    border-bottom: 1px solid #e2e2e2;
    border-top: 1px solid #e2e2e2;
    color: #e2e2e2;
    margin: 0;
    padding: 7px 0;
    overflow: hidden;
}

.social-sharing-widget-vertical > div {
  float: left;
  margin-top: 5px;
  padding-right: 4px;
}


/** 
 * Blog Commments 
 *
 * Custom styles are listed below, as the COS does not provide default styles.
 */

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

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

/* Pagination */
.blog-pagination {}
.blog-pagination a {}
.blog-pagination a.previous-posts-link {}
.blog-pagination a.all-posts-link {}
.blog-pagination a.next-posts-link {}

.hs-blog-social-share {
  border-bottom: 1px solid #e2e2e2;
  border-top: 1px solid #e2e2e2;
  color: #e2e2e2;
  margin: 0;
  padding: 7px 0;
  height: auto;
}

.blog-section .hs-blog-social-share .hs-blog-social-share-list .hs-blog-social-share-item {
  clear: right;
  display: block;
  float: left;
  font-size: medium;
  height: 26px;
  margin: 2px 15px 0 0;
  padding: 0;
  background: none;
}

.hs-author-social-links {
    display: inline-block;
    vertical-align: middle;
}

.hs-author-social-links a.hs-author-social-link {
    text-indent: 9999em;
    overflow: hidden;
}

/** 
 * Blog Author Page 
 *
 * ALWAYS be sure to set styles to these selectors, as the COS does not provide default styles
 */

.hs-author-profile {}
.hs-author-profile h2.hs-author-name {}
.hs-author-profile .hs-author-bio {
    line-height: 1.3;
    margin-bottom: 10px;    
}

.hs-author-profile .hs-author-avatar {}
.hs-author-profile .hs-author-avatar img {border-radius: 50%;}
h3.hs-author-listing-header {margin: 20px 0;}

/** 
 * Blog All Posts Page
 *
 * ALWAYS be sure to set styles to these selectors, as the COS does not provide default styles
 */

body.hs-content-path-blog-all {}
div.post-listing-simple {}
div.post-listing-simple .post-item {}
h2.post-listing-simple {
    color: #979582;
    font-family: Georgia,"Times New Roman",Times,serif;
    font-size: 1.1em;
    font-weight: normal;
    line-height: 135%;
    margin: 15px 0;
    padding: 0;    
}

h2.post-listing-simple a {}
h2.post-listing-simple a:hover {}




@media (max-width:767px) {

.hs-author-profile .span2 {float: left;}
.hs-author-profile .span10 {overflow: hidden;padding-left: 15px;}
.hs-author-profile .hs-author-avatar img {
    max-width: 100px;
    margin-bottom: 10px;
}

}


@media (max-width: 479px) {
    
    .hs-author-profile .span2 {float: none;}
    .hs-author-profile .span10 {overflow: hidden;padding-left: 0;}
    
    
}


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

.blog .blog-sidebar {}

/* Blog Modules */
.blog .blog-sidebar .widget-span {
  background-color: #dcdcdc;
  padding: 8px 20px;
  margin: 0 0 35px;
  overflow: hidden;
}

.blog .blog-sidebar .widget-type-raw_html {
  background: transparent;
  padding: 0;
  margin: 0 0 10px;
}

div.two-column-right .sidebar.right.blog-sidebar > div {
  display: block;
  margin-left: -6px;
}

.widget-type-blog_subscribe label {
  display: block;
  font-size: 14px;
  margin: 0 0 4px;
  text-align: left;
}


/* ==========================================================================
   Forms
   ========================================================================== */

.hs-form {
    font-size: 12px;
    margin-bottom: 25px;
}

body .hsformerror .close-form-error {top: 0!important;}

/* All Global Forms
   ========================================================================== */

/* Form Field */
body .hs-form-field {margin-bottom: 10px;}

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

/* Labels */
body label {
  display: block;
  margin: 0 0 4px;    
}

body .hs-form-field > label {}

span.hs-form-required {color: #ff0000;}

/* One Line Inputs */
body input[type="text"],
body input[type="password"], 
body input[type="datetime"], 
body input[type="datetime-local"], 
body input[type="date"], 
body input[type="month"], 
body input[type="time"], 
body input[type="week"], 
body input[type="number"], 
body input[type="email"], 
body input[type="url"], 
body input[type="search"], 
body input[type="tel"], 
body input[type="color"],
body input[type="file"],
body textarea,
body select {
  color: #414141;
  font-size: 1.1em;
  margin: 0 0 10px;
  padding: 2px;
  width: 90%;
  box-sizing: content-box;
}

body .main-content input[type="text"],
body .main-content input[type="password"], 
body .main-content input[type="datetime"], 
body .main-content input[type="datetime-local"], 
body .main-content input[type="date"], 
body .main-content input[type="month"], 
body .main-content input[type="time"], 
body .main-content input[type="week"], 
body .main-content input[type="number"], 
body .main-content input[type="email"], 
body .main-content input[type="url"], 
body .main-content input[type="search"], 
body .main-content input[type="tel"], 
body .main-content input[type="color"],
body .main-content input[type="file"],
body .main-content textarea,
body .main-content select {
    max-width: 230px;
}

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

/* Separate Styles for Multiple Line Inputs */
body textarea {
  min-height: 130px;    
  margin: 0;
}

.hs-form > div.hs_message:nth-last-child(2) {margin-bottom: -3px;}

@-moz-document url-prefix() {
    body textarea {
     margin: 1px 0 0;
    }
    
    .hs-form > div.hs_message:nth-last-child(2) {margin-bottom: 9px;}
}

body textarea:focus {}

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

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

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

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

/* Placeholder Text */
::-webkit-input-placeholder { /* Webkit Browsers */
   /* color: #555;
   opacity: 1; */
}
:-moz-placeholder { /* Firefox 18- */
   /* color: #555;
   opacity: 1; */
}
::-moz-placeholder { /* Firefox 19+ */
   /* color: #555;
   opacity: 1; */
}
:-ms-input-placeholder { /* IE10 */
   /* color: #555;
   opacity: 1; */
}


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

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

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

/* Labels */
.hs_cos_wrapper_type_form label {}
.hs_cos_wrapper_type_form .hs-form-field > label {}

/* One Line Inputs */
.hs_cos_wrapper_type_form input[type="text"],
.hs_cos_wrapper_type_form input[type="password"], 
.hs_cos_wrapper_type_form input[type="datetime"], 
.hs_cos_wrapper_type_form input[type="datetime-local"], 
.hs_cos_wrapper_type_form input[type="date"], 
.hs_cos_wrapper_type_form input[type="month"], 
.hs_cos_wrapper_type_form input[type="time"], 
.hs_cos_wrapper_type_form input[type="week"], 
.hs_cos_wrapper_type_form input[type="number"], 
.hs_cos_wrapper_type_form input[type="email"], 
.hs_cos_wrapper_type_form input[type="url"], 
.hs_cos_wrapper_type_form input[type="search"], 
.hs_cos_wrapper_type_form input[type="tel"], 
.hs_cos_wrapper_type_form input[type="color"],
.hs_cos_wrapper_type_form input[type="file"],
.hs_cos_wrapper_type_form textarea,
.hs_cos_wrapper_type_form select {}

.hs_cos_wrapper_type_form input[type="text"]:focus,
.hs_cos_wrapper_type_form input[type="password"]:focus, 
.hs_cos_wrapper_type_form input[type="datetime"]:focus, 
.hs_cos_wrapper_type_form input[type="datetime-local"]:focus, 
.hs_cos_wrapper_type_form input[type="date"]:focus, 
.hs_cos_wrapper_type_form input[type="month"]:focus, 
.hs_cos_wrapper_type_form input[type="time"]:focus, 
.hs_cos_wrapper_type_form input[type="week"]:focus, 
.hs_cos_wrapper_type_form input[type="number"]:focus, 
.hs_cos_wrapper_type_form input[type="email"]:focus, 
.hs_cos_wrapper_type_form input[type="url"]:focus, 
.hs_cos_wrapper_type_form input[type="search"]:focus, 
.hs_cos_wrapper_type_form input[type="tel"]:focus, 
.hs_cos_wrapper_type_form input[type="color"]:focus,
.hs_cos_wrapper_type_form input[type="file"]:focus,
.hs_cos_wrapper_type_form textarea:focus,
.hs_cos_wrapper_type_form select:focus {}

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

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

/* Multiple Selection Inputs */
.hs_cos_wrapper_type_form form.hs-form .hs-form-field ul.inputs-list li input {}
.hs_cos_wrapper_type_form input[type="radio"] {}
.hs_cos_wrapper_type_form input[type="checkbox"] {}


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

#comment-form {
  background: none repeat scroll 0 0 #f1f1f1;
  border: 1px solid #cccccc;
  display: block;
  margin: 15px 0;
  padding: 15px;
}

#comment-form form {
  padding: 5px 13px 10px;
  margin: 10px 2px 0;
}

/* Label */
#comment-form .hs-form-field > label {}
#comment-form label {
  font-size: 14px;
}

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

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

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

/* Error */
body .hs-common-error-message {}


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

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

/* Inputs */
#hs_form_target_blog_subscription input[type="email"] {}
#hs_form_target_blog_subscription input[type="email"]:focus {}

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


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

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

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


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

body .hs-form fieldset.form-columns-1 {}
body .hs-form fieldset.form-columns-1 .hs-form-field {}

body .hs-form fieldset.form-columns-2 {}
body .hs-form fieldset.form-columns-2 .hs-form-field {}

body .hs-form fieldset.form-columns-3 {}
body .hs-form fieldset.form-columns-3 .hs-form-field {}

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

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




/* ==========================================================================
   Buttons                                              
   ========================================================================== */


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

body .hs-button.primary,
body input[type="submit"],
body input[type="button"] {
    cursor: pointer;
    text-decoration: none !important;
    display: block;
    margin-top: 8px;
    margin-bottom: 10px;
    color: #414141;
    font-size: 1.1em;
    padding: 2px;
    width: 98%;
}

body .main-content .hs-button.primary, 
body .main-content input[type="submit"], 
body .main-content input[type="button"] {
  width: auto;
}

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

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


/* Default Buttons for Anchors */
body a.hs-button.primary {
  background: rgb(240,240,240); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(240,240,240,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(240,240,240,1)), color-stop(100%,rgba(229,229,229,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(240,240,240,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(240,240,240,1) 0%,rgba(229,229,229,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(240,240,240,1) 0%,rgba(229,229,229,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(240,240,240,1) 0%,rgba(229,229,229,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f0f0', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
  border: 1px solid #ACACAC;
  box-shadow:0 0 1px 0 #efefef inset;
  padding: 3px 2px 2px;
  color: #414141;
  text-decoration: none;
  cursor: pointer;
  display: inline-block!important;
  font-family: MS Shell Dlg,Arial,Helvetica,sans-serif;
  font-weight: normal;
  -webkit-appearance: none;
  text-align: center;
}


body a.hs-button.primary:hover,
body a.hs-button.primary:focus  {
  background: rgb(236,244,252); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(236,244,252,1) 0%, rgba(220,236,252,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(236,244,252,1)), color-stop(100%,rgba(220,236,252,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(236,244,252,1) 0%,rgba(220,236,252,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(236,244,252,1) 0%,rgba(220,236,252,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(236,244,252,1) 0%,rgba(220,236,252,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(236,244,252,1) 0%,rgba(220,236,252,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecf4fc', endColorstr='#dcecfc',GradientType=0 ); /* IE6-9 */
  border: 1px solid #7EB4EA;
}

body a.hs-button.primary:active,
body a.hs-button.primary:focus {
  border: 1px solid 569de5;
  background: rgb(218,236,252); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(218,236,252,1) 0%, rgba(196,224,252,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(218,236,252,1)), color-stop(100%,rgba(196,224,252,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(218,236,252,1) 0%,rgba(196,224,252,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(218,236,252,1) 0%,rgba(196,224,252,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(218,236,252,1) 0%,rgba(196,224,252,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(218,236,252,1) 0%,rgba(196,224,252,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#daecfc', endColorstr='#c4e0fc',GradientType=0 ); /* IE6-9 */
}


/* Chrome Button */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  body a.hs-button.primary {
    background: rgb(246,246,246); /* Old browsers */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(246,246,246,1)), color-stop(100%,rgba(221,221,221,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(246,246,246,1) 0%,rgba(221,221,221,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(246,246,246,1) 0%,rgba(221,221,221,1) 100%); /* Opera 11.10+ */
    border: 1px solid #A0A0A0;
    color: black;
    padding: 3px 7px;
    font-size: 1.1em;
    border-radius: 2px;
    outline: none;
    text-decoration: none;
    cursor: pointer;
  }

  body a.hs-button.primary:hover {
    background: rgb(246,246,246); /* Old browsers */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(246,246,246,1)), color-stop(100%,rgba(221,221,221,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(246,246,246,1) 0%,rgba(221,221,221,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(246,246,246,1) 0%,rgba(221,221,221,1) 100%); /* Opera 11.10+ */
    border: 1px solid #767676;
  }

  body a.hs-button.primary:active,
  body a.hs-button.primary:focus {
    background: rgb(222,222,222); /* Old browsers */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(222,222,222,1)), color-stop(100%,rgba(247,247,247,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(222,222,222,1) 0%,rgba(247,247,247,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(222,222,222,1) 0%,rgba(247,247,247,1) 100%); /* Opera 11.10+ */
    border: 1px solid #A0A0A0;
  }

}


@media all and (-ms-high-contrast:none) {
  body a.hs-button.primary {
    background: rgb(236,236,236); /* Old browsers */
    background: -ms-linear-gradient(top,  rgba(236,236,236,1) 0%,rgba(213,213,213,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(236,236,236,1) 0%,rgba(213,213,213,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ececec', endColorstr='#d5d5d5',GradientType=0 ); /* IE6-9 */
    border: 1px solid #707070;
    padding: 2px 2px 1px;
  }

  body a.hs-button.primary:hover {
    background: rgb(236,236,236); /* Old browsers */
    background: -ms-linear-gradient(top,  rgba(236,236,236,1) 0%,rgba(213,213,213,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(236,236,236,1) 0%,rgba(213,213,213,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ececec', endColorstr='#d5d5d5',GradientType=0 ); /* IE6-9 */
    border: 1px solid #707070;
    padding: 2px 2px 1px;
  }

  body a.hs-button.primary:active,
  body a.hs-button.primary:focus {
    background: #34b4e3;
    border: 1px solid #0089b4;
    box-shadow: none;
  }

}



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

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


/* Blog Comment Button
   ========================================================================== */
#add-comment-button.hs-button.primary {}
#add-comment-button.hs-button.primary:hover {}
#add-comment-button.hs-button.primary:focus {}


/* Blog Subscription Button
   ========================================================================== */
#hs_form_target_blog_subscription .hs-button.primary.large {}
#hs_form_target_blog_subscription .hs-button.primary.large:hover {}
#hs_form_target_blog_subscription .hs-button.primary.large:focus {}


/* Google Search Button
   ========================================================================== */
.widget-type-google_search .hs-button.primary {}
.widget-type-google_search .hs-button.primary:hover {}
.widget-type-google_search .hs-button.primary:focus {}


/* CTA Buttons
   ========================================================================== */

/** 
 * Override global CTA styles by wrapping the CTA module in a module group 
 * that has an ID, and use that ID to prefix your CTA selector. Example shown below.
 *
 * All overriding properties require !important tags. 
*/
#module-group-ID .cta_button {}
#module-group-ID .cta_button:hover {}
#module-group-ID .cta_button:focus {}


#cta_button_52046_8894d1f6-7c42-493b-ae18-c8ac3d588ef0 {text-align: center;display: block;}





/* ==========================================================================


   6. MISCELLANOUS                                        


   ========================================================================== */





/** 
 * Styles that do not fit into available sections above can go here.
 * For example, one would place 3rd party plugin overriding styles here.
 *
 * This section is NOT for 'Custom' styles.  All custom styles must go in the
 * proper sections above.
 *
 * For instance, custom header and footer styles must go in the HEADER and 
 * FOOTER sections.  Custom styles for anything in-between the header and footer 
 * (such as, styles that are unique to the HOMEPAGE only), must go in the 
 * CONTENT section.
*/ 

.body-container .row-fluid .Apple-style-span,
.row-fluid .skype_pnh_container [class*="span"] {width: auto;float: none;display: inline;min-height: 0;margin: 0;}


/* Aligns */
.main-content img.alignRight {
border: 0 solid #cccccc;
margin: 0 0 5px 15px;
padding: 2px;
}

.main-content img.alignLeft {
border: 0 solid #cccccc;
margin: 0 15px 5px 0;
padding: 2px;
}

.sidebar img.alignRight,
.sidebar img.alignLeft {margin: 0;}


.custom_form-table form {padding-top: 2px;}
.custom_form-table tbody {vertical-align: top;}
.custom_form-table tbody input[type="password"] {width: 91%;  margin: 0 0 3px;padding: 1px 2px;}
.custom_form-table tbody input[type="submit"] {
  font-size: 13px;
  line-height: 16px;
  margin: 0 4px 0 0;
  color: #000;
  padding: 1px 6px;
}

.custom_form-table tbody tr:last-child b {padding-right: 4px;}

@-moz-document url-prefix() {
    .custom_form-table tbody input[type="password"] {width: 95%;padding: 2px;margin-bottom: 2px;}
    .custom_form-table tbody tr:last-child b {padding-right: 0;}
    
    .custom_form-table tbody input[type="submit"] { margin: 0 0 1px;padding: 0 6px;}
}


/* ==========================================================================


   7. MOBILE MEDIA QUERIES                              


   ========================================================================== */



   

/* Screen sizes smaller than site maxWidth (.page-center)
   ========================================================================== */

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


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

@media (max-width: 767px) {
    img {
    height: auto;
    max-width: 100%;
    }

    /* Responsive Youtube Video */
    .video-container {
      position: relative;
      padding-bottom: 56.25%;
      padding-top: 30px;
      height: 0;
      overflow: hidden;
      display: block;
    }
    
    .video-container iframe,
    .video-container object,
    .video-container embed {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }


    .middle-content > .row-fluid-wrapper > .row-fluid {
    display: flex;
    flex-flow: row wrap;
    }
    
    .sidebar {padding-bottom: 20px;}
    
    .sidebar.left {
    flex: 1 0 20%;
    order: 2;
    }
    
    .main-content {
    flex: 1 0 auto;
    order: 1;
    width: 100% !important;
    }
    
    .sidebar.right {
    flex: 1 0 90%;
    order: 3;
    }

    body.site-page.one-column .main-content, 
    body.landing-page.one-column .main-content, 
    body.error-template .main-content, 
    body.password-template .main-content, 
    body.subscription-template .main-content {
        padding-left: 0;
        padding-right: 0;
    }

    div.two-column-right .sidebar.right {float: none;}
    div.two-column-right .sidebar.right .widget-type-widget_container > span {margin: 0;}
    div.two-column-right .sidebar.right.blog-sidebar > div {margin-left: 0;}
    div.two-column-right .main-content {padding-left: 0;padding-right: 0;}
    
    div.two-column-left .main-content.span9 {padding-left: 0;padding-right: 0;}
    div.two-column-left .sidebar.left.span3 > div {margin-right: 0;}
    
    div.three-column .main-content {padding-left: 0;padding-right: 0;}
    div.three-column .sidebar.right {float: none;}
    div.three-column .sidebar.right > span {margin-left: 0;display: block;}
    div.three-column .sidebar.left > div {margin-right: 0;}
    
    body input[type="text"],
    body input[type="password"], 
    body input[type="datetime"], 
    body input[type="datetime-local"], 
    body input[type="date"], 
    body input[type="month"], 
    body input[type="time"], 
    body input[type="week"], 
    body input[type="number"], 
    body input[type="email"], 
    body input[type="url"], 
    body input[type="search"], 
    body input[type="tel"], 
    body input[type="color"],
    body input[type="file"],
    body textarea,
    body select {
      width: 100%;
      box-sizing: border-box;
    }
    
    body .main-content input[type="text"],
    body .main-content input[type="password"], 
    body .main-content input[type="datetime"], 
    body .main-content input[type="datetime-local"], 
    body .main-content input[type="date"], 
    body .main-content input[type="month"], 
    body .main-content input[type="time"], 
    body .main-content input[type="week"], 
    body .main-content input[type="number"], 
    body .main-content input[type="email"], 
    body .main-content input[type="url"], 
    body .main-content input[type="search"], 
    body .main-content input[type="tel"], 
    body .main-content input[type="color"],
    body .main-content input[type="file"],
    body .main-content textarea,
    body .main-content select {
      max-width: 100%;
    }
    
    body .hs-button.primary, 
    body input[type="submit"], 
    body input[type="button"] {
      width: 100%;
    }
    
    .body-container p[style*="240px"] {
      padding: 0!important;
    }
    
    .avvo_badge {width: 145px!important;}
    
    .skype_pnh_highlighting_inactive_common {display: block;}
    
    .hs-rss-item {width: 100%;}
    .hs-rss-item-text {padding: 0;}


    .footer-container .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
      width: auto;
      display: inline-block;
    }
    
    .post-item {overflow: hidden;}
    .post-item table {width: 100%!important;}
    
    
    .custom_form-table tbody input[type="password"] {
      width: 97%;
      margin: 0 0 3px;
      padding: 1px 2px;
    }

}
     

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

@media (max-width: 479px) {
    
    .main-content img.alignLeft,
    .main-content img.alignRight {
    border: 0 solid #cccccc;
    margin: 10px auto;
    padding: 0;
    float: none!important;
    display: block;
    }
    
    
    .avvo_badge {
      text-align: center;
      width: 100% !important;
      float: none!important;
    }
    
    .avvo_badge + a {clear: both;float: none;}
    .avvo_badge + a img {
      margin: 10px auto;
      display: block;
    }
    
}

@media (max-width: 410px){
    
    #comment-form #captcha_wrapper {
		overflow: visible;
		margin-left: -10px;
	}
	.recaptchatable #recaptcha_image #recaptcha_challenge_image {
		width: 100%;
	}
	.recaptchatable .recaptcha_r4_c2 {
		width: 0;
	}
	#recaptcha_area table#recaptcha_table .recaptcha_r4_c4 {
		width: 93px !important;
	}
}

@media (max-width: 374px){
	#comment-form #captcha_wrapper {
		overflow: visible;
		margin-left: -45px;
	}

}
