/****************************************/
/* Fonts           */
/****************************************/

@import 'https://use.typekit.net/nzp4oed.css';

/****************************************/
/* HubSpot Style Boilerplate            */
/****************************************/

/* Images */

img {
    max-width: 100%;
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: bottom; /* Suppress the space beneath the baseline */
}

/* Videos */

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

/* Embed Container (iFrame, Object, Embed) */

.hs-responsive-embed {
    position: relative;
    height: auto;
    overflow: hidden;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.hs-responsive-embed iframe, .hs-responsive-embed object, .hs-responsive-embed embed {
    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: 2%;
}

.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 {
    padding: 6px;
    display: inline-block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Menus */

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

.hs-menu-wrapper.hs-menu-flow-horizontal ul {
    list-style: none;
    margin: 0;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    display: inline-block;
    margin-bottom: 20px;
}

.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;
    padding: 10px 20px;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children {
    position: relative;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > 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;
    width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li.hs-item-has-children ul.hs-menu-children-wrapper {
    left: 180px;
    top: 0;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > 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;
    margin-bottom: 20px;
    min-height: 7em;
}

.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;
    padding: 10px 20px;
    white-space: nowrap;
    max-width: 140px;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.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;
    white-space: nowrap;
    width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul {
    margin-bottom: 20px;
}

.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 a {
    padding: 10px 20px;
    text-decoration: none;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-item-has-children {
    position: relative;
}

.hs-menu-wrapper.hs-menu-flow-vertical > 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;
    top: 0;
    left: 180px;
}

.hs-menu-wrapper.hs-menu-flow-vertical > ul li.hs-item-has-children:hover > ul.hs-menu-children-wrapper {
    opacity: 1;
    visibility: visible;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li a {
    min-width: 140px;
    width: auto;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul {
    max-width: 100%;
    overflow: hidden;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    display: none;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper,
.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch > ul li.hs-item-has-children.active-branch > ul.hs-menu-children-wrapper > li.hs-item-has-children > ul.hs-menu-children-wrapper {
    display: block;
    visibility: visible;
    opacity: 1;
    position: static;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-2 > a {
    padding-left: 4em;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-3 > a {
    padding-left: 6em;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-4 > a {
    padding-left: 8em;
}

.hs-menu-wrapper.hs-menu-flow-vertical.hs-menu-show-active-branch li.hs-menu-depth-5 > a {
    padding-left: 140px;
}

.hs-menu-wrapper.hs-menu-not-show-active-branch li.hs-menu-depth-1 ul {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
}

@media (max-width: 568px) {
    .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;
        max-width: 100%;
        width: 100%;
    }
}

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

/* Space Module */

.widget-type-space {
    visibility: hidden;
}

/* Blog Author Section */

.hs-author-listing-header {
    margin: 0 0 .75em 0;
}

.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");
}

/*
 * 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(//static.hsappstatic.net/content_shared_assets/static-1.3935/img/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(//static.hsappstatic.net/content_shared_assets/static-1.3935/img/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: rgba(0,0,0,0.5);
    position: absolute;
    font-size: 2em;
    line-height: 1.1em;
    color: white;
    padding: 0px 5% 0px 5%;
    width: 100%;
    bottom: 0;
    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;
    }

    /* beat recaptcha into being responsive, !importants and specificity are necessary */
    #recaptcha_area table#recaptcha_table {width: 300px !important;}
    #recaptcha_area table#recaptcha_table .recaptcha_r1_c1 {width: 300px !important;}
    #recaptcha_area table#recaptcha_table .recaptcha_r4_c4 { width: 67px !important;}
    #recaptcha_area table#recaptcha_table #recaptcha_image {width:280px !important;}
}

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

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

/* --- Colors --- */











/* --- Anchor --- */

a {
  color: rgb(0, 177, 177);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  color: rgb(0, 94, 105);
  text-decoration: underline;
}

/* --- Body --- */

html {
  font-size: 62.5%;
}

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

body {
  background-color: #ffffff;
  color: #000000;
  font-family: 'Open Sans', 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
}

/* --- Typography --- */

h1 {
  font-family: 'Barlow Semi Condensed', 'Roboto', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 3.08rem;
  margin-bottom: 0;
  margin-top: 0;
}

h2 {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Open Sans', 'Roboto', sans-serif;
  letter-spacing: 0.2rem;
  line-height: 2.25rem;
  text-transform: uppercase;
  margin-bottom: 0;
  margin-top: 0;
  color: #163556;
}

h3 {
  font-size: 1.6rem;
  font-weight: bold;
  font-family: 'Open Sans', 'Roboto', sans-serif;
  letter-spacing: 0.2rem;
  line-height: 2.4rem;
  text-transform: uppercase;
  margin-bottom: 0;
  margin-top: 0;
  color: #163556;
}

h1:not(:first-child),
h2:not(:first-child),
h3:not(:first-child) {
  margin-top: 4rem;
}

h1:not(:last-child) {
  margin-bottom: 4rem;
}

h2:not(:last-child),
h3:not(:last-child) {
  margin-bottom: 2rem;
}

p {
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 2.4rem;
  margin-bottom: 0;
  margin-top: 0;
}

p:not(:first-child) {
  margin-top: 2rem;
}

/* --- MG Header --- */

.mg-header {
  background-color: rgb(235, 240, 245);
  color: rgb(0, 0, 0);
}

.mg-header__container {
  background-position: -50px center;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
  display: flex;
  float: none !important;
  margin: 0 auto !important;
  max-width: 1080px;
  padding: 4rem;
}

.mg-header a {
  flex: 2.5;
  text-decoration: none;
}

.mg-header__title,
.mg-header__subtitle {
  line-height: 1;
  margin: 0;
}

.mg-header__title {
  color: rgb(0, 177, 177);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0 !important;
}

.mg-header__title span {
  color: rgb(0, 177, 177);
}

.mg-header__subtitle {
  color: rgb(22, 53, 86);
  font-weight: 600;
  margin-top: 0 !important;
}

@media screen and (max-width: 600px) {
  .mg-header {
    text-align: center;
  }
}

.mg-header__search {
  flex: 1;
  padding-left: 20px;
}

.mg-header__search label[for] {
  display: none;
}

.mg-header__search .input {
  background-color: #fff;
  box-shadow: 0 0 3rem rgba(0, 0, 0, 0.1);
}

.mg-header__search .hs-input {
  background-color: #fff;
  background-image: url(http://cdn2.hubspot.net/hubfs/2384846/Template_files/magnify_glass.png);
  background-position: 1rem center;
  background-repeat: no-repeat;
  background-size: 1.5rem;
  border: 0;
  display: inline-block;
  font-size: 1.5rem;
  margin-bottom: 0;
  outline: 0;
  padding-bottom: 1rem;
  padding-left: 3.5rem;
  padding-right: 1rem;
  padding-top: 1rem;
}

.mg-header__search .hs-button {
  display: none;
}

@media screen and (max-width: 1080px) {
  .mg-header__search {
    display: none;
  }
}

/* --- MG Container --- */

.mg-container {
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 4rem;
  margin-top: 4rem;
  max-width: 1080px;
}

@media screen and (max-width: 600px) {
  .mg-container {
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
}

/* --- MG Content --- */

.mg-content {
  padding-right: 2rem;
}

@media screen and (max-width: 1080px) {
  .mg-content {
    margin-left: 0 !important;
    padding-left: 4rem !important;
    width: 60% !important;
  }
}

@media screen and (max-width: 600px) {
  .mg-content {
    margin-left: 0 !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    width: 100% !important;
  }
}

/* --- MG Sidebar --- */

.mg-sidebar {
  padding-left: 2rem;
}

@media screen and (max-width: 1080px) {
  .mg-sidebar {
    margin-left: 0 !important;
    padding-right: 4rem !important;
    width: 40% !important;
  }
}

@media screen and (max-width: 600px) {
  .mg-sidebar {
    margin-top: 4rem;
    margin-left: 0 !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    width: 100% !important;
  }
}

.mg-sidebar__box {
  background-color: #f5fafa;
  margin-bottom: 2rem;
  padding: 2rem;
}

.mg-sidebar .row-fluid-wrapper:last-child .mg-sidebar__box {
  margin-bottom: 0;
}

.mg-sidebar__box .mg-ad img {
  border-width: 0.1rem !important;
  border-style: solid;
  border-color: rgb(228, 243, 243);
  width: 100%;
  height: auto;
}

.mg-sidebar__box .mg-ad img:hover {
  opacity: 0.5;
}

.mg-sidebar__box h3,
.mg-sidebar__box p {
  margin-bottom: 2rem;
  margin-top: 0;
}

.mg-sidebar__box p:last-child {
  margin-bottom: 0;
}

.mg-sidebar__box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mg-sidebar__box ul li {
  padding-bottom: 1rem;
  padding-right: 4rem;
  padding-top: 1rem;
}

.mg-sidebar__box ul li:first-child {
  padding-top: 0;
}

.mg-sidebar__box ul li:last-child {
  padding-bottom: 0;
}

.mg-sidebar__box ul li + li {
  border-top: 0.2rem solid rgb(228, 243, 243);
}

.mg-sidebar__box ul + a.filter-expand-link {
  display: block;
  margin-top: 2rem;
}

.mg-sidebar__form {
  background-color: #F5FAFA;
  color: rgb(0, 0, 0);
}

/* --- MG Post --- */

.mg-post__container {
  display: flow-root;
}

.mg-single p {
  margin-bottom: 0;
  margin-top: 2rem;
}

.mg-single p:first-child {
  margin-top: 0;
}

.mg-single ul {
  margin: 0;
}

.mg-single ul li {
  margin-bottom: 0;
  margin-top: 1rem;
}

.mg-single ul:first-child li:first-child {
  margin-top: 0;
}

.mg-index .mg-post {
  border-bottom: 0.2rem solid rgb(235, 240, 245);
  margin-bottom: 4rem;
  padding-bottom: 4rem;
}

.mg-post__image {
  background-color: rgb(235, 240, 245)
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  height: 40rem;
  width: 100%;
}

.mg-index .mg-post + .mg-post .mg-post__image {
  float: right;
  width: 25rem;
  height: 15rem;
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 4rem;
}

@media screen and (max-width: 1080px) {
  .mg-post__image {
    height: 30rem;
  }
}

@media screen and (max-width: 600px) {
  .mg-post__image {
    float: none !important;
    margin-left: 0 !important;
    height: 20rem !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
  }
}

.mg-post__title {
  font-size: 3rem;
  line-height: 1.15;
  margin-top: 4rem;
  margin-bottom: 4rem;
  color: #163556;
}

.mg-post__title a {
  color: #163556; !important;
}

@media screen and (max-width: 600px) {
  .mg-post__title {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
}

.mg-post__byline {
  color: rgb(22, 53, 86);
  line-height: 1;
  margin-bottom: 2rem;
}

.mg-post__sharing {
  line-height: 1;
  margin-bottom: 4rem;
}

.mg-index .mg-post + .mg-post .mg-post__title {
  font-size: 2.5rem;
}

.mg-post__topics {
  list-style: none;
  margin-bottom: 0;
  margin-top: 4rem;
  padding: 0;
}

.mg-post__topic {
display: inline-block;
}

.mg-post__topic + .mg-post__topic {
  margin-left: 1rem;
}

.mg-post__topic-link {
  color: #fff;
  background-color: #00b1b1;
  color: #fff;
  border-radius: 50px;
  display: block;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.mg-post__topic-link:hover {
  background-color: #005e69;
  color: rgb(255, 255, 255);
}

.mg-post__pagination a + a {
  margin-left: 2rem;
}



/* Author */ 

.about-author {
    padding: 10px 20px 30px 20px;
    background-color: #f5fafa;
    margin-top: 25px;
}

.vieo-author-avatar {
    float: left;
    padding: 30px 15px 5px 0px;
    margin-top: -10px;
}

.vieo-author-avatar a,
.vieo-author-title a {
    color: #333333; !important;
    font-size: 1.2em;
}

.vieo-author-title {
    float: none;
    padding: 0px;
    margin: 0px;
    margin-top: -8px;
}

.vieo-author-bio {
    color: #333333;
    margin-top: 10px;
    margin-left: 95px;
}

.vieo-author-social {
    margin-right: 6px !important;
    float: left !important;
    padding-bottom: 30px;
}

.vieo-author-social img {
    width: 25px;
}

.vieo-author-website {
margin-right: 10px !important;
float: left !important;
}

.vieo-author-avatar img {
    max-width: 80px;
    height: auto;
}



/* --- MG Footer --- */

.mg-footer {
  background-color: rgb(0, 94, 105);
  color: rgb(0, 0, 0);
}

.mg-footer__container {
  float: none !important;
  display: flex;
  margin: 0 auto !important;
  max-width: 1080px;
  padding: 4rem;
  align-items: center;
}

.mg-footer__logo {
  flex: 1;
  text-align: left;
}

.mg-footer__logo img {
  height: 4rem;
  width: auto;
}

.mg-footer__list {
  flex: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.mg-footer__list li {
  display: inline;
  margin-left: 1rem;
}

.mg-footer a {
  color: #fff;
}

/* --- HubSpot overrides --- */

.hs-rss-item {
  margin-bottom: 0;
  padding-bottom: 1rem;
  padding-top: 1rem;
  border-bottom: 0.2rem solid rgb(228, 243, 243);
}

.hs-rss-item:first-child {
  padding-top: 0;
}

.hs-rss-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hs-rss-title {
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
  padding-right: 4rem;
}

.hs-rss-byline {
  color: rgb(22, 53, 86);
}

.hs-form-field + .hs-form-field,
.legal-consent-container,
.legal-consent-container .hs-richtext,
.hs-submit {
  margin-top: 2rem;
}

label[for] {
  display: block;
  margin-bottom: 1rem;
}

input.hs-input,
select.hs-input,
input.hs-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  display: inline-block;
  font-family: inherit;
  font-size: 1.5rem;
  margin-bottom: 0;
  outline: 0;
  padding: 1rem;
}

select.hs-input {
  background-color: #ffffff;
}

input.hs-button {
  background-color: rgb(0, 177, 177);
  color: rgb(255, 255, 255);
  cursor: pointer;
  width: 100%;
  text-align: center;
  user-select: none;
  border-radius: 25px;
}

input.hs-button:active {
  background-color: rgb(0, 94, 105);
  box-shadow: 2px 2px rgba(0, 0, 0, 0.4) inset
}

input.hs-button:hover {
  background-color: rgb(0, 94, 105);
}


.hs-input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

.hs-input[type="checkbox"] + span {
  cursor: pointer;
  padding: 0;
  position: relative;
  display: inline-block;
  margin-top: 1rem;
  user-select: none;
}

.hs-input[type="checkbox"] + span:before {
  background: rgb(255, 255, 255);
  border-radius: 2rem;
  content: '';
  display: inline-block;
  height: 2rem;
  margin-right: 1rem;
  width: 2rem;
}

.hs-form-booleancheckbox-display p {
  position: relative;
  top: -0.3rem;
}

.hs-input[type="checkbox"]:checked + span:after {
  background: rgb(0, 177, 177);
  border-radius: 1.4rem;
  color: rgb(255, 255, 255);
  content: '';
  height: 1.4rem;
  left: 0.3rem;
  position: absolute;
  top: 0.3rem;
  width: 1.4rem;
  text-align: center;
}

.hs-error-msgs li {
  margin-top: 1rem;
}

.hs-error-msgs li,
.legal-consent-container .hs-error-msgs label {
  color: rgb(112, 128, 144) !important;
}

.legal-consent-container .hs-form-booleancheckbox-display span {
  display: inline-block !important;
  margin-left: 0 !important;
}

.hs-blog-social-share {
  height: 2rem;
}

.hs-blog-social-share-list,
.hs-blog-social-share-list li {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}