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


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

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


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


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

@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

.carousel li {margin-right: 5px}

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

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


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

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



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

body {
  margin: 0;
  color: #000;
  font: 12px/16px Verdana,Helvetica,sans-serif;
  background: #fff;
  -ms-text-size-adjust: none;
  -webkit-text-size-adjust: 100%;
  background-color: #ebebeb;
  font-size: 14px;
  line-height: 22px;
  width: 100%;
}

/* Page Center */

.container-fluid .row-fluid .page-center {
  float: none;
  max-width: 1200px;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0 auto;
}


/* Highlighted Text */

::-moz-selection {
  background: #39f;
  color: #fff;
  text-shadow: none;
}

::selection {
  background: #39f;
  color: #fff;
  text-shadow: none;
}


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

/* Basic text */

p {
  margin: 0 0 16px;
}

small {}

strong {}

em {}

cite {}

code {}

pre {}

sup,
sub {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}


/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 15px 0;

}

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

h1 {
  font-weight: 400;
  color: #004d95;
  font-family: Verdana,Times,serif;
  line-height: 130%;
  font-size: 28px;
  margin: 0 0 20px;
}

h2 {
  font-size: 22px;
  font-weight: 400;
  color: #004d95;
  font-family: Verdana,Times,serif;
  line-height: 130%;
  margin: 0 0 16px;
}

h3 {
  font-weight: 400;
  color: #004d95;
  font-family: Verdana,Times,serif;
  line-height: 130%;
  font-size: 18px;
  margin: 0 0 16px;
}

h4 {
  margin: 0 0 16px;
}

h5 {}

h6 {}

/* Anchor Links */

a {
  color: #00305e;
  outline: 0; 
  text-decoration: underline;
  font-weight: 700;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Lists */

ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
}

ul ul,
ul ol,
ol ol,
ol ul {}

li {}

/* Block Quotes */

blockquote {}

blockquote p {}

blockquote small {}

/* Horizontal Rules */

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


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

/* Confirmation Outer Wrapper*/

#hs-eu-cookie-confirmation {}

/* Confirmation Inner Wrapper*/

#hs-eu-cookie-confirmation-inner {}

#hs-eu-cookie-confirmation-inner p {}

/* Confirmation Button */

#hs-en-cookie-confirmation-buttons-area {}

a#hs-eu-confirmation-button {}


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

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

/* The outer wrappers of your website */

.header-container-wrapper,
.body-container-wrapper,
.footer-container-wrapper {}

/* The inner wrappers of your website */

.header-container,
.body-container,
.footer-container {}


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

.header-container-wrapper {}

.header-container {}

.header-wrapper {
  width: 100%;
  z-index: 999;
  background: #03315d;
}

.header-wrapper:after {
  content: '';
  width: 100%;
  background: #ffca38;
  height: 4px;
  display: block;
}

.header-wrapper > div {
  padding: 0 40px;
}

.header-wrapper .custom-logo {
  margin: 0;
  float: left;
  display: block;
  width: auto;
  height: auto;
  padding: 20px 0;
  line-height: 100%;
}

.header-wrapper .row-fluid .page-center {
  padding: 0;
}

.header-wrapper .custom-logo img {
  width: auto !important;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  display: block;
  height: auto;
  opacity: 1;
}
.custom-mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal.no-flyouts>ul >li.hs-item-has-children {
  overflow: hidden;
}
.custom-mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal.no-flyouts>ul >li.hs-item-has-children:hover {
  overflow: visible;
}
.custom-mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal.no-flyouts>ul >li.hs-item-has-children >ul.hs-menu-children-wrapper {
  opacity: 0;
  visibility: hidden;
  transition:0.3s all linear;
}
.custom-mega-menu .hs-menu-wrapper.hs-menu-flow-horizontal.no-flyouts>ul >li.hs-item-has-children:hover >ul.hs-menu-children-wrapper{
  opacity: 1;
  visibility: visible;
}
.custom-search {
  min-height: 0 !important;
  display: none;
}
.post-header-title {
  padding: 0 15px;
}
.header-wrapper .custom-mega-menu.desktop {
  float: right;
  display: block;
  margin-right: 0;
  width: auto;
  clear: none;
  position: relative;
  margin-left: 0;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul {
  text-align: right;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 15px;
  text-transform: uppercase;
  display: block;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li {
  position: relative;
  display: inline-block;
  vertical-align: top;
  padding: 0;
  line-height: 134px;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  float:none;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li.hs-item-has-children {
  border-top: solid 1px rgba(254,254,254,.1);
  border-bottom: solid 1px rgba(254,254,254,.1);
}

.custom-mega-menu .hs-menu-wrapper > ul li a {
  display: block;
  color: #FFF;
  padding: 0 8px;
  -webkit-transition: all .2s ease-out 0s;
  -moz-transition: all .2s ease-out 0s;
  transition: all .2s ease-out 0s;
  border-left: none;
  position: relative;
  font-weight: normal;
  text-decoration: none;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li.hs-item-has-children > a:after {
  opacity: 0;
  visibility: hidden;
  bottom: 0;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(0,77,149,0);
  border-bottom-color: #004d95;
  border-width: 20px;
  margin-left: -20px;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li.hs-item-has-children > a {
  position: relative;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li.hs-item-has-children > ul {
  background-color: #004d95;
  background-image: url(//cdn2.hubspot.net/hubfs/5239298/ChristChurchGrammarSchool_March2019/images/submenu_vertical_divider.png);
  background-repeat: repeat-y;
  background-position: top center;
  width: 660px;
  height: auto;
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -330px;
  z-index: 99999;
  padding: 5px 0;
  border-top: solid #004d95 15px;
  border-bottom: solid #004d95 15px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .1s ease 0s;
  -moz-transition: all .1s ease 0s;
  transition: all .1s ease 0s;
  -webkit-box-shadow: 0 3px 5px 0 rgba(0,0,0,.2);
  box-shadow: 0 3px 5px 0 rgba(0,0,0,.2);
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li:last-child > a,
.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li:first-child > a {
  font-size: 18px;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li:first-child {
  margin-right: -5px;
}

div#inner_banner {
  width: 100%;
}

#inner_banner .ib_left, #inner_banner .ib_right {
  float: left;
  position: relative;
  padding: 0 0 17%;
  box-sizing: border-box;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

#inner_banner .ib_left {
  width: 30%;
  background-color: #f6f6f6;
}

#inner_banner .ib_right {
  width: 70%;
  background-color: #ececec;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li.hs-item-has-children > ul > li {
  width: 50%;
  float: left;
  display: block;
  padding: 10px 0;
  position: relative;
  vertical-align: top;
  line-height: 134px;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li.hs-item-has-children > ul li a {
  padding: 0 25px;
  color: #FFF;
  line-height: 18px;
  font-weight: 600;
  text-transform: none;
  text-align: left;
  border: none;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li.hs-item-has-children > ul li ul {
  -webkit-transition: all .3s ease 0s;
  -moz-transition: all .3s ease 0s;
  transition: all .3s ease 0s;
  visibility: visible;
  opacity: 1;
  position: relative;
  top: 0;
  left: 0;
  margin-left: 0;
  width: 100%;
  padding: 12px 0;
  border: 0;
  background-color: transparent;
  background-image: url(//cdn2.hubspot.net/hubfs/5239298/ChristChurchGrammarSchool_March2019/images/submenu_horizontal_divider.png);
  background-repeat: no-repeat;
  background-position: 25px 100%;
  -webkit-box-shadow: none;
  box-shadow: none;
  height: auto;
  font-size: 13px;
  line-height: 15px;
  text-transform: uppercase;
  list-style: none;
  text-align: right;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li.hs-item-has-children > ul li ul li {
  float: none;
  width: 100%;
  padding: 0 0 8px;
  display: block;
  line-height: 134px;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  position: relative;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li.hs-item-has-children > ul li ul li a {
  font-size: 13px;
  line-height: 17px;
  font-weight: 100;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul > li.hs-item-has-children:hover > a:after {
  -webkit-transition: all .3s ease 0s;
  -moz-transition: all .3s ease 0s;
  transition: all .3s ease 0s;
  visibility: visible;
  opacity: 1;
}

.custom-mega-menu .hs-menu-wrapper > ul li a:hover {
  cursor: pointer;
  display: block;
  color: #ffca38 !important;
  text-decoration: none;
}

.header-wrapper .custom-mega-menu.desktop .hs-menu-wrapper > ul li a {
  white-space: normal !important;
}
/* =============== Content =============== */

.body-container-wrapper {
  font-weight: 100;
  line-height: 160%;
  padding-top: 35px;
  padding-bottom: 35px;
  padding-left: 40px;
  padding-right: 40px;
  background: #fff;
}

.body-container {}

.content-wrapper {}

.main-content {}

.sidebar {}

.sidebar.right {}

.sidebar.left {}


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

.footer-container-wrapper {}

.footer-container {}

.footer-wrapper {
  border-top: 6px solid #ffca38;
  background: #00305e;
  font: 9px/12px Helvetica,Verdana,sans-serif;
  color: #fff;
}

.footer-wrapper .footer-inner {
  font: 9px/12px Helvetica,Verdana,sans-serif;
  color: #fff;
}

.footer-wrapper .left-col {
  background: #004d95;
  float: right;
  padding: 60px 0 110px 60px;
  text-align: left;
  width: 55%;
}

.footer-wrapper .right-col {
  background: #03315d;
  padding: 30px 60px 30px 0;
  float: left;
  width: 45%;
  text-align: right;
  margin-left: 0;
}

.right-col img {
  height: auto;
  width: 220px;
  display: inline-block;
  vertical-align: middle;
}

.right-col ul {
  margin: 13px 0 10px;
  padding: 0;
  list-style: none;
}

.right-col ul li {
  font-size: 1.5em;
  padding: 5px 0;
}

.right-col ul li span.fa {
  color: #0154a2;
  display: inline-block;
  font-size: 1.125em;
  text-align: center;
  width: 35px;
}

.right-col ul li a {
  -webkit-transition: all .2s ease-out 0s;
  -moz-transition: all .2s ease-out 0s;
  transition: all .2s ease-out 0s;
}

.footer-wrapper a {
  color: #fff;
  text-decoration: none;
  font-weight: normal;
}

.footer-wrapper .partner img {
  width: auto;
  max-width: 220px;
  height: 39px;
}

.footer-wrapper .partner a {
  margin-left: 5px;
}

.left-col ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.left-col ul li {
  display: inline-block;
  margin: 0 20px 0 0;
}

.left-col ul li a {
  font-size: 1.625em;
  -webkit-transition: all .2s ease-out 0s;
  -moz-transition: all .2s ease-out 0s;
  transition: all .2s ease-out 0s;
}

.left-col div.social-media-links {
  float: left;
  width: 100%;
  margin: 15px 0 20px;
}

.left-col div.social-media-links a {
  float: left;
  display: inline-block;
  height: 40px;
  margin: 0 3px 0 0;
  width: 40px;
}

.left-col div.social-media-links span.fa {
  border: 1px solid #2f71ab;
  border-radius: 3px;
  display: inline-block;
  color: #FFF;
  font-size: 2.5em;
  height: 40px;
  text-align: center;
  width: 40px;
  padding: 10px 0 0;
  -webkit-transition: all .2s ease-out 0s;
  -moz-transition: all .2s ease-out 0s;
  transition: all .2s ease-out 0s;
}

.copyright p {
  clear: both;
  font-size: 1.375em;
  padding: 2px 0 0;
  margin-bottom:0;
}

.left-col div.social-media-links #google_language_translator {
  float: left;
  overflow: visible!important;
  padding-right: 0;
}

.left-col div.social-media-links #google_language_translator select {
  width: 140px!important;
  height: 40px!important;
  padding: 10px!important;
  margin: 0!important;
  background: #004d95!important;
  border: 1px solid #2f71ab!important;
  border-radius: 3px!important;
  font-size: 12px;
  -moz-appearance: none;
  -webkit-appearance: none;
  color: #FFF;
  cursor:pointer;
}

.footer-wrapper a:hover {
  color: #FFCA38;
  text-decoration: none;
}

.left-col div.social-media-links a:hover {
  cursor: pointer;
}
.left-col div.social-media-links a:hover span.fa {
  color: #FFCA38;
}
.footer-wrapper p {
  font-weight: 100;
  line-height: 160%;
  white-space: normal;
  padding-right: 15px;
}
/* ==========================================================================
4. MAIN NAVIGATION                                            
========================================================================== */

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

/* Parent List */

.custom-menu-primary .hs-menu-wrapper > ul {}

.custom-menu-primary .hs-menu-wrapper > ul > li {}

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

.custom-menu-primary .hs-menu-wrapper > ul > li > a:hover {}

/* Child List */

.custom-menu-primary .hs-menu-wrapper > ul ul {
  background-color: #fff;
}

.custom-menu-primary .hs-menu-wrapper > ul ul li {}

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

.custom-menu-primary .hs-menu-wrapper > ul ul li a:hover {}

/* Override max width on menu links */

.custom-menu-primary .hs-menu-wrapper > ul li a,
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
  overflow: visible !important;
  max-width: none !important;
  width: auto !important;
}

/* Fix menu disappearing on desktop after toggling mobile menu */

@media screen and (min-width:768px) {

  .custom-menu-primary .hs-menu-wrapper,
  .custom-menu-primary .hs-menu-wrapper > ul ul {
    display: block !important;
  }
}


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

/* Hide button on Desktop */

.mobile-trigger,
.child-trigger {
  display: none;
}

@media (max-width: 767px) {

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

  /* ===== Mobile Toggle Button ===== */
  .mobile-trigger {
    display: inline-block !important;
    /* Show button on mobile */
    cursor: pointer;
    /* Mouse pointer type on hover */
    position: absolute;
    /**************************************/
    top: 0px;
    /* Position Button at right of screen */
    right: 10px;
    /**************************************/
    width: auto;
    /* Button width */
    height: auto;
    /* Button height */
    padding: 7px 10px 8px 10px;
    background: #ffffff;
    /* Background color */
    border: 1px solid #000;
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #000;
  }

  .mobile-trigger:hover {
    text-decoration: none;
    /* Removes link text underline on button */
  }



  /* 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: #000;
    /* Icon color */
    display: inline-block;
  }

  .mobile-trigger i:before {
    top: -6px;
  }

  /* Position top line */
  .mobile-trigger i:after {
    top: 6px;
  }

  /* Position bottom line */
  .mobile-trigger:hover i,
  .mobile-trigger:hover i:before,
  .mobile-trigger:hover i:after,
  .mobile-open .mobile-trigger i,
  .mobile-open .mobile-trigger i:before,
  .mobile-open .mobile-trigger i:after {
    background-color: #000
      /* Icon color */
  }

  /* ===== Mobile Child Toggle Buttons ===== */
  .child-trigger {
    display: block !important;
    /* Hide button on Desktop */
    cursor: pointer;
    /* Mouse pointer type on hover */
    position: absolute;
    top: 0px;
    right: 0px;
    width: 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;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  .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: #fff;
    /* Icon color */
    display: block;
  }

  .child-trigger i:after {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }

  .child-trigger.child-open i {}

  .child-trigger.child-open i:after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }

  /* ===== Mobile Menu Styles ===== */
  .custom-menu-primary.js-enabled {
    position: relative;
  }

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

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

  /* Mobile Menu Styles */
  .custom-menu-primary.js-enabled .hs-menu-wrapper {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
  }

  .custom-menu-primary .hs-menu-wrapper {
    background-color: #000;
    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 {
    overflow: visible;
  }

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

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

  .custom-menu-primary .hs-menu-wrapper > ul li a:hover {}

  /* Level 2 and Higher Menu List Styles */
  .custom-menu-primary .hs-menu-wrapper > ul ul {
    background-color: transparent;
  }

  .custom-menu-primary .hs-menu-wrapper > ul ul li {}

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

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

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


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

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

/* Blog Post and Listing Body Class */

.blog {}

/* Blog Post */

.hs-blog-post {}

/* Blog Listing */

.hs-blog-listing {}

/* Blog Columns Wrapper */

.blog .content-wrapper {}


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

.blog .blog-content {}

/* Use this to style the main wrapper for the blog listing pages */

.blog-listing-wrapper {}

/* Use this to style the main wrapper for the blog post pages */

.blog-post-wrapper {}

/* Blog Title */

.hs-blog-header h1 {}

.hs-blog-header h1 a {}

/* Blog Post Title */

.post-header h2 {}

.post-header h2 a {}

/* Blog Author and Avatar */

#hubspot-author_data {}

#hubspot-author_data:after {
  content: '';
  display: block;
  clear: both;
}

#hubspot-author_data a.author-link {}

#hubspot-author_data .hs-author-avatar {}

#hubspot-author_data .hs-author-avatar img {
  width: 50px;
  float: left;
  margin-right: 15px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

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

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

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

#hubspot-topic_data a.topic-link {}

/* Blog Social Sharing Icons */

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

/* Blog Commments */

#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: left;
  display: block;
}

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

/* Blog All Posts Page */

.hs-content-path-blog-all {}

div.post-listing-simple {}

div.post-listing-simple .post-item {}

h2.post-listing-simple {}

h2.post-listing-simple a {}


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

.blog .blog-sidebar {}

/* Blog Modules */

.blog .blog-sidebar .widget-span {}

.blog .blog-sidebar .more-topics {
 margin-top:40px; 
}

.blog .blog-sidebar .more-topics h3 {
  color: #FFCA37;
}


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

.hs-blog-listing .hs-author-profile {
  border-bottom: 1px solid #ccc;
  padding: 0 0 20px 0;
  margin: 0 0 20px 0;
}

.hs-blog-post .hs-author-profile {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 20px 0 20px 0;
  margin: 20px 0 20px 0;
}

.hs-author-profile .hs-author-profile:after {
  content: '';
  display: block;
  clear: both;
}

/* Author Avatar */

.hs-author-profile .hs-author-avatar {
  float: left;
  margin-right: 15px;
  max-width: 100px;
}

.hs-author-profile .hs-author-avatar img {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  max-width: 100%;
}

/* Author Bio Wrapper*/

.hs-author-profile .hs-author-bio {
  overflow: hidden;
}

/* Author Name */

.hs-author-profile h2.hs-author-name {
  margin: 0 0 10px 0;
}

/* Author Social Follow Me */

.hs-author-profile .hs-author-social-section {}

.hs-author-profile .hs-author-social-label {}

.hs-author-profile .hs-author-social-links {}

.hs-author-profile .hs-author-social-link {}

.hs-author-profile .hs-social-facebook {}

.hs-author-profile .hs-social-linkedin {}

.hs-author-profile .hs-social-twitter {}

.hs-author-profile .hs-social-google-plus {}


/* =============== Pillar Page Styles =============== */
.pillar-title h2 {
  color: #FFCA37;
  font-size: 24pt;
  font-weight:600;
}

.pillar-header .pillar-featured-image {
  width:100%; 
  height:350px;
  object-fit:cover;
}

.jump-to-section {
  margin-bottom:40px;
}

.anchor-header {
  margin-top:30px;
}

.jump-to-section-title {
  color:#FFCA37;
}

.widget-type-custom_widget.jump-to-section {
    margin-left:0px;
}

.widget-type-custom_widget.jump-to-section li {
    margin-bottom:10px;
}

.widget-type-custom_widget.jump-to-section a {
    text-decoration: none;
}


/* ==========================================================================
6. FORMS                                        
========================================================================== */
.form-title{
  font-size: 28px;
  margin: 0 0 20px;
  font-weight: 100;
  color: #004d95;
  font-family: Verdana,Times,serif;
  line-height: 130%;
  text-align:center;
}
/* =============== Global Form Styles =============== */

/* Form Field */

.hs-form-field {
  margin-bottom: 16px;
}

/* Descriptions */

.hs-field-desc {}

/* Labels and Legends */

label {}

.hs-form-field > label {
  display: -moz-inline-stack;
  display: inline-block;
  line-height: 1.3;
  clear: both;
  font-weight: 700;
  font-size: inherit;
  margin-bottom:5px;
  display:inline-block;
}

/* One Line Inputs */

.body-container input[type="text"]{
  max-width: 500px;
  -webkit-appearance: none;
  width: 100%;
  display: block;
  padding: 5px;
  background: #FFF;
  border: 1px solid #DDD;
  line-height: normal;
  font-size: 16px;
  outline: 0;
  font-size: inherit;
  font-family: inherit;
  padding: 8px 6px;
  letter-spacing: normal;
}
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
input[type="file"],
textarea,
select {
  max-width: 500px;
  -webkit-appearance: none;
  width: 100%;
  display: block;
  padding: 5px;
  background: #FFF;
  border: 1px solid #DDD;
  line-height: normal;
  font-size: 16px;
  outline: 0;
  font-size: inherit;
  font-family: inherit;
  padding: 8px 6px;
  letter-spacing: normal;
}

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

/* Separate Styles for Multiple Line Inputs */

textarea {}

textarea:focus {}

/* Separate Styles for Drop Downs */

select {}

select:focus {}

/* Multiple Selection Inputs */

form.hs-form .hs-form-field ul.inputs-list {
  list-style: none;
  padding: 0;
}

form.hs-form .hs-form-field ul.inputs-list li input {}

input[type="radio"] {}

input[type="checkbox"] {
  margin-top: 5px;
}

.hs-form-required {
  font-style: normal;
  color: #DD3C10;
}

/* Required */

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

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

/* Error */

.hs-error-msgs {
  padding: 0;
  margin: 0;
}

.hs-error-msgs li {
  list-style: none;
}

.hs-error-msgs label {
  color: #790000;
  font-weight: 700;
  letter-spacing: normal;
  padding-top: 16px;
  font-size: 80%;
  line-height: inherit;
  clear: both;
  font-family: inherit;
  background-color: rgba(255,223,224,.25);
  margin-bottom: 6px!important;
  border-top: 1px solid #C89797;
  border-bottom: 1px solid #C89797;
  padding-bottom: 6px;
  padding-top: 8px;
  box-sizing: border-box;
  display: block;
  margin: 8px 0;
}
.section.post-footer .hs-error-msgs label{
  max-width:500px;
}
.hs-input.invalid.error {
  border: 1px solid #790000;
}

.hs_error_rollup .hs-error-msgs label {
  color: #790000;
  font-size: 16px;
  font-weight: 700;
  border-top: 2px solid #790000;
  border-bottom: 2px solid #790000;
  padding: 16px 0;
  clear: both;
  width: 100%;
}
#nav_search form span input::-webkit-input-placeholder {
  color: #666!important;
}
/* Placeholder Text */

::-webkit-input-placeholder {
  color: #ddd;
}

/* Webkit Browsers */

:-moz-placeholder {
  color: #ddd;
}

/* Firefox 18- */

::-moz-placeholder {
  color: #ddd;
}

/* Firefox 19+ */

:-ms-input-placeholder {
  color: #ddd;
}

/* IE10 */

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

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

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

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

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

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

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

/* Multiple Selection Inputs */

form.hs-form .hs-form-field ul.inputs-list li input {}

input[type="radio"] {}

input[type="checkbox"] {}

form.hs-form fieldset {
  max-width: none;
}

form.hs-form fieldset .hs-form-field {
  padding: 0 10px 0 0;
}

form.hs-form fieldset[class*="form-columns"] .input {
  margin-right: 0;
}

form.hs-form fieldset[class*="form-columns"] .hs-input {
  width: 100%;
}

form.hs-form fieldset[class*="form-columns"] .hs-input[type="checkbox"] {
  width: auto;
}

form.hs-form fieldset.form-columns-3 .hs-form-field {
  width: 33.33%;
}

@media (max-width: 400px) {
  form.hs-form fieldset .hs-form-field {
    padding: 0;
  }

  form.hs-form fieldset.form-columns-3 .hs-form-field,
  form.hs-form .form-columns-2 .hs-form-field .hs-input,
  form.hs-form .form-columns-3 .hs-form-field .hs-input {
    width: 100%;
  }

  form.hs-form .form-columns-3 .hs-form-field .hs-input[type="checkbox"] {
    width: auto;
  }
}


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

#comment-form .hs-form-field > label {}

#comment-form label {
  margin: 8px 0 5px;
  line-height: 18.2333px;
}

/* Inputs */

#comment-form input[type="text"],
#comment-form input[type="email"] {
  border-radius: 0;
  padding: 2px;
  box-shadow: none;
  border: 1px solid #abadb3;
  line-height: 16px;
  width: 300px;
}

#comment-form input[type="text"]:focus,
#comment-form input[type="email"]:focus {
  border: 1px solid #abadb3;
}

#comment-form input[type="text"]:hover,
#comment-form input[type="email"]:hover {
  border: 1px solid #7EB4EA;
}

#comment-form textarea {
  border-radius: 0;
  padding: 2px;
  box-shadow: none;
  border: 1px solid #abadb3;
  width: 300px;
}

#comment-form textarea:focus {
  border: 1px solid #abadb3;
}

#comment-form textarea:hover {
  border: 1px solid #7EB4EA;
}

#comment-form input[type="submit"] {
  border: 1px solid #acacac;
  background-color: #eaeaea;
  background-image: -moz-linear-gradient(top, #f0f0f0, #e5e5e5);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f0f0f0), to(#e5e5e5));
  background-image: -webkit-linear-gradient(top, #f0f0f0, #e5e5e5);
  background-image: -o-linear-gradient(top, #f0f0f0, #e5e5e5);
  background-image: linear-gradient(to bottom, #f0f0f0, #e5e5e5);
  background-repeat: repeat-x;
  border-radius: 0;
  line-height: 16px;
  font-size: 13.33px;
  color: #000;
  padding: 1px 7px;
}

#comment-form input[type="submit"]:hover {
  border: 1px solid #7eb4ea;
  background-color: #e4f0fc;
  background-image: -moz-linear-gradient(top, #ecf4fc, #dcecfc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ecf4fc), to(#dcecfc));
  background-image: -webkit-linear-gradient(top, #ecf4fc, #dcecfc);
  background-image: -o-linear-gradient(top, #ecf4fc, #dcecfc);
  background-image: linear-gradient(to bottom, #ecf4fc, #dcecfc);
  background-repeat: repeat-x;
}


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


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

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

.hs-button.primary,
input[type="submit"],
input[type="button"] {
  cursor: pointer;
  -webkit-appearance: none;
  text-decoration: none !important;
  white-space: normal;
  text-align: center;
  font-size: 16px;
  width: auto;
  margin: 0 16px 0 0;
  display: -moz-inline-stack;
  display: inline-block;
  background: #004d95;
  border: none;
  color: #FFF;
  padding: 15px 20px;
  cursor: pointer;
  margin:15px 0;
}

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

.hs-button.primary:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
  outline: 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 {}


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

#nav_search form span input::placeholder {
   color: #666;
   opacity: 1;
}
/**** ADD IF YOU HAVE MENU IN FOOTER ****/

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

.section.post-footer form:before {
  content: "Leave A Reply";
  display: inline-block;
  font-size: 24px;
  line-height: 24px;
  font-weight: bold;
  color: #202020;
  margin: 20px 0;
}
.header-outer {
  position: relative;
}
#nav_search {
  opacity: .9;
  padding: 40px 0 38px;
  background: #FFCA38;
  text-align: center;
  margin-top: -4px;
}

.header-outer .custom-search {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100% !important;
  z-index: 999;
  display:none;
}

#nav_search .close_search {
  float: right;
  margin-top: -20px;
  margin-right: 30px;
  font-size: 20px;
  cursor: pointer;
}

div#nav_search form {
  margin: 0;
  padding: 0;
}

#nav_search form label {
  display: none;
}

#nav_search form span {
  position: relative;
  display: inline-block;
  width: 500px;
  height: 52px;
  border: 1px solid #666;
  max-width: 90%;
}

#nav_search form span input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  padding: 0 50px 0 20px;
  font-size: 20px;
  line-height: 50px;
  border: 0;
  color: #333!important;
  background: #FFCA38;
  z-index: 5;
}

#nav_search form span a {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  font-size: 24px;
  line-height: 50px;
  text-align: center;
  z-index: 9;
  color: #333;
}
a.nav_search_icon {
  cursor: pointer;
}

a.nav_search_icon:hover {
  cursor: pointer;
  display: block !important;
  color: #ffca38 !important;
  text-decoration: none !important;
}

.breadcrumb {
  overflow: hidden;
  margin: 0;
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: solid 1px #DDD;
  color: #888;
  font-size: 12px;
  padding-left: 40px;
  padding-right: 40px;
  background: #fff;
}

.breadcrumb .wrap-large.page-center {
  padding: 0;
}

.breadcrumb span {
  color: #CCC;
}

.breadcrumb a {
  color: #888;
  font-weight: normal;
  text-decoration: none;
}

.blog .body-container-wrapper a {
  font-weight: inherit;
  text-decoration: none;
}

.blog .body-container-wrapper a:hover {
  text-decoration: underline;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.blog-banner-wrapper {
  position: relative;
  padding-top: 0px;
  background:#fff;
}

.blog-banner-wrapper h2 {
  font-size: 48px;
  font-weight: 700;
  color: #ffca37;
  text-align: center;
  margin: 0px 0px 12px;
  position: absolute;
  top: -75px;
  left: 0px;
  right: 0px;
}

.custom-blog-menu {
  background-color: #ffca37;
}

.custom-blog-menu .hs-menu-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.custom-blog-menu .hs-menu-wrapper > ul li:not(:last-child) {
  border-right: 1px solid rgba(0,0,0,.1);
}

.custom-blog-menu .hs-menu-wrapper > ul li a {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 15px;
  transition: all .2s ease-in-out;
  display: block;
  font-size: 12px;
  font-weight: 700;
  padding-left: 45px;
  padding-right: 45px;
}

.custom-blog-menu .hs-menu-wrapper > ul:after,.custom-blog-menu .hs-menu-wrapper > ul:before {
  content: none;
}

.custom-blog-menu .hs-menu-wrapper > ul li.active > a {
  background-color: #03315d;
  color: #fff;
}

.custom-blog-menu .hs-menu-wrapper > ul li:not(.active) > a:hover {
  background-color: rgba(0,0,0,.03);
}

.post-header-title {
  min-height: 0 !important;
}

.blog .body-container-wrapper {
  padding: 50px 15px 50px;
}

.blog .page-center.content-wrapper > div {
  margin: 0px -15px;
}

.bgm-post-item {
  padding: 0px 15px 30px !important;
}

.bgm-post-item .bgm-post-inner {
  background-color: #01305f;
  border-left: 8px solid #FFCF2A;
  padding: 20px 20px 0px;
  color: #fff;
  overflow: hidden;
}
.bgm-post-item a {
  color: inherit;
  text-decoration: none;
  outline: none;
}
.bgm-post-item a.bgm-post-category {
  display: inline-block;
  color: #ffca37;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 7px;
}
.bgm-post-item p.bgm-post-title {
  position: relative;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  padding-top: 10px;
  margin: 0px 0px 30px;
}
.bgm-post-item p.bgm-post-title:before {
  content: '';
  width: 100px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  top: 0px;
  left: 0px;
}

.bgm-post-item div.bgm-post-thumbnail {
  display: block;
  position: relative;
  height: 160px;
  margin: 0px -20px 0px -28px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.bgm-post-item a.bgm-post-link {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  outline: none;
}
.blog.hs-blog-listing .blog-content {
  width: 100%;
}

.bgm-post-lists {
  display: flex;
  flex-wrap: wrap;
}
.bgm-post-item a {
  text-decoration: none !important;
}
.blog .row-fluid .page-center {
  padding: 0;
}
.blog .row-fluid .page-center {
  padding: 0;
}

.blog-pagination {
  margin: 0px 0px;
  padding: 20px 0px 0px;
  list-style: none;
  text-align: center;
}

.blog-pagination * {
  display: inline-block;
}

.blog-pagination-center * {
  display: inline-block;
  margin: 0px 2px;
}

.blog-pagination-left,.blog-pagination-right {
  margin: 0px 2px;
}

.blog-pagination a {
  display: inline-block;
  width: 45px;
  height: 45px;
  font-weight: 700 !important;
  line-height: 45px;
  color: #fff;
  text-align: center;
  text-decoration: none !important;
  background-color: #00315F;
  border-radius: 4px;
}

.blog-pagination a.active {
  background-color: #ccc;
  border-radius: 50%;
  pointer-events: none;
}

.blog-pagination a:not(.active):hover {
  background: #FFCF2A;
  color: #00315F;
}

.blog.hs-blog-post .page-center.content-wrapper > div {
  margin: 0;
}

.bgm-post-header {
  margin: 0px 0px 40px;
}

.bgm-post-header .bgm-post-meta {
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 10px;
}

.bgm-post-header .bgm-post-meta a {
  display: inline-block;
  margin-right: 10px;
  font-weight: 700;
  color: #004d95;
}

.bgm-post-header h1 {
  font-size: 38px;
  line-height: 45px;
  font-weight: 700;
  color: #000;
  border-bottom: 1px solid #00315F;
  padding: 0px 0px 20px;
  margin: 0px 0px 20px;
}

.bgm-post-header .bgm-post-thumbnail {
  height: 400px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hs-blog-post .blog-content {
  width: 75%;
  padding-right: 30px;
  font-size: 14px;
}

.blog.hs-blog-post .blog-sidebar {
  width: 25%;
  margin: 0;
}

.widget.widget-form {
  background-color: #eee;
  padding: 20px 20px;
  margin-bottom: 30px;
}

.widget.widget-form .bgm-widget-title {
  margin: 0px 0px 20px;
  font-size: 16px;
  color: #004d95;
  font-weight: 400;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  margin-bottom: 14px;
}

.widget.widget-form .bgm-widget-title span {
  border: 0px;
  padding: 0px;
}

.bgm-widget-title span {
  display: inline-block;
}

.widget.widget-form .form-title {
  margin-bottom: 18px;
  font-size: 14px;
  color: #00315F;
  font-weight: normal;
  line-height: 20px;
  display: block;
  width: calc(100% - 16px);
}

.widget.widget-form  h3#hs_cos_wrapper_form_646279748_title {
  display: none;
}

.widget.widget-form .hs-form-field > label {
  display: inline;
}

.widget.widget-form .hs-form-field .hs-input {
  letter-spacing: normal;
  font-size: inherit;
  font-family: inherit;
  height: 42px;
  border: 1px solid #ddd;
  padding: 5px 15px !important;
  margin: 0px;
  max-width: 100%;
  display: block;
  width: 100%;
}
.widget.widget-form .hs_cos_wrapper_type_form .hs-button.primary.large {
  display: block;
  width: 100%;
  padding: 0px 0px;
  line-height: 40px;
  background-color: #00315F;
  font-size: 14px;
  outline: none;
  margin: 0;
}
.widget.widget-form .hs_cos_wrapper_type_form .hs-button.primary.large:hover {
  background-color: #004d95;
}
.widget.widget-form input[type="text"], 
.widget.widget-form input[type="email"], 
.widget.widget-form select {
  height: 42px;
  border: 1px solid #ddd;
  padding: 5px 15px !important;
  margin: 0px;
}
.widget.widget-form input[type="text"]:focus, 
.widget.widget-form input[type="email"]:focus, 
.widget.widget-form select:focus {
  outline:0;
}
.widget.widget-form .hs-form-field{
  margin: 0px 0px 10px;
}
.bgm-widget-title {
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 700;
  color: #00315F;
  text-transform: uppercase;
  margin: 0px 0px 20px;
  font-family: Verdana,Times,serif;
  line-height: 130%;
}

.bgm-widget-title span {
  display: inline-block;
  border-bottom: 1px solid #00315F;
  padding-bottom: 7px;
}

ul.bgm-sharing {
  display: flex;
  flex-wrap: wrap;
  margin: 0px 0px;
  padding: 0px 0px;
  list-style: none;
}

ul.bgm-sharing li {
  display: inline-block;
  margin: 0px 5px 0px 0px;
}

ul.bgm-sharing li a {
  display: inline-block;
  width: 35px;
  height: 35px;
  font-size: 18px;
  line-height: 35px;
  color: #fff;
  text-align: center;
  outline: none;
}

ul.bgm-sharing li.facebook a {
  background-color: #3c589a;
}

ul.bgm-sharing li.twitter a {
  background-color: #55acee;
}

ul.bgm-sharing li.email a {
  background-color: #649a3f;
}
.bgm-related-posts {
  margin: 0 -15px;
}

.bgm-related-posts h4 {
  padding: 0 15px;
}

.custom-blog-menu .hs-menu-wrapper > ul li a i {
  font-size: 18px;
  margin-right: 3px;
}
.bgm-related-posts {
  margin-top: 50px;
}

.widget.widget-form ::-webkit-input-placeholder,
.widget.widget-form ::placeholder{
  color: #777;
}
.widget.widget-form ::placeholder{
  opacity: 1;
}


.bgm-post-header .bgm-post-meta span {
  font-weight: normal;
}
/* ==========================================================================
9. MEDIA QUERIES                              
========================================================================== */
@media (min-width: 768px){
  .bgm-post-item {
    width: 50%;
    padding: 0px 15px 30px;
  }
  .bgm-post-item.bgm-post-featured {
    display: flex;
    flex-wrap: wrap;
    width: 100% !important;
  }
  .bgm-post-item .bgm-post-inner {
    position: relative;
    min-height: 100%;
    padding-bottom: 160px;
  }
  .bgm-post-item.bgm-post-featured .bgm-post-inner {
    width: calc(25% - 22.5px);
    height: 350px;
    padding-bottom: 20px;
    order: 2;
  }
  .bgm-post-item div.bgm-post-thumbnail {
    position: absolute;
    right: 0px;
    bottom: 0px;
    left: -8px;
    margin: 0px;
  }
  .bgm-post-item.bgm-post-featured .bgm-post-thumbnail {
    height: 100%;
    width: calc(75% + 22.5px);
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    order: 1;
  }
  .footer-wrapper.lp .footer-inner > div > div.row-fluid {
    display: flex;
    flex-direction: row-reverse;
  }
}
@media (min-width: 992px){
  .bgm-post-item {
    width: 25%;
    padding: 0px 30px 60px;
  }
}
@media (min-width: 1024px) {
  .mobile{
    display:none !important;
  }
  .header-wrapper.lp .custom-logo {
    margin-bottom: 11px;
  }
}

@media (max-width: 1170px) and (min-width: 1101px){
  .custom-mega-menu .hs-menu-wrapper > ul > li > a {
    font-size: 11.5px;
  }
}

@media (max-width: 1100px) and (min-width: 1024px){
  .header-wrapper .custom-logo img {
    max-width: 170px;
  }
  .custom-mega-menu .hs-menu-wrapper > ul > li > a {
    font-size: 10.6px;
  }
}

@media(max-width:1199px){
  .custom-blog-menu .hs-menu-wrapper > ul {
    display: block;
  }

  .custom-blog-menu .hs-menu-wrapper > ul li {
    float: none !important;
  }

  .custom-blog-menu .hs-menu-wrapper > ul li a {
    padding: 15px 15px;
  }

  .custom-blog-menu .hs-menu-wrapper > ul li:not(:last-child) {
    border-right: 0px;
    border-bottom: 1px solid rgba(0,0,0,.1);
  }
}
/* =============== Screen sizes smaller than .page-center =============== */

@media (max-width: 1023px) {
  .desktop{
    display:none !important;
  }
  .header-wrapper .custom-logo img {
    max-height: 70px;
    display: inline-block;
  }
  .header-wrapper:after{
    margin-top: 2px;
    height: 6px;
  }
  .menu-trigger.mobile {
    position: fixed;
    top: 34px;
    right: 30px;
    width: 50px;
    height: 50px;
    z-index: 999;
    margin: 0;
    background: no-repeat #03315d;
    background-size: contain;
    padding: 16px 13px;
    cursor: pointer;
    -webkit-filter: drop-shadow(0 0 5px rgba(0, 0, 0, .3));
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, .3));
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    border-radius: 50%;
  }
  .navigation-button li {
    border: 1px solid #FFF;
    width: 100%;
    display: block;
    margin-bottom: 6px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
  }
  ul.navigation-button {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .custom-mega-menu.mobile .hs-menu-wrapper {
    display: none;
  }

  .custom-mega-menu.mobile {
    min-height: 0 !important;
  }

  .mobile-open .header-wrapper {
    position: fixed;
    z-index: 99;
    width: 100%;
  }

  .header-outer {
    min-height: 118px !important;
  }
  .mobile-open .header-wrapper .custom-mega-menu.mobile {
    height: calc(100vh - 109px);
    padding-bottom: 45px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    margin-top: 2px;
  }

  .mobile-open .header-wrapper .custom-mega-menu.mobile .hs-menu-wrapper {
    display: block;
  }
  .navigation-button.active li {
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
  }
  .navigation-button.active li:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-top: 8px;
  }
  .navigation-button.active li:nth-child(2) {
    opacity: 0;
  }
  .navigation-button.active li:last-child {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-top: -16px;
  }
  .custom-mega-menu .hs-menu-wrapper > ul > li {
    border-top: solid 1px rgba(254,254,254,.1);
    border-bottom: solid 1px rgba(254,254,254,.1);
    display: block;
    line-height: 120%;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    vertical-align: top;
    position: relative;
  }

  .custom-mega-menu .hs-menu-wrapper > ul > li > ul {
    display: none;
  }
  .custom-mega-menu .hs-menu-wrapper > ul li a{
    white-space:normal !important;
  }
  .custom-mega-menu .hs-menu-wrapper > ul > li > a {
    display: block;
    color: #FFF;
    padding: 0 8px;
    -webkit-transition: all .2s ease-out 0s;
    -moz-transition: all .2s ease-out 0s;
    transition: all .2s ease-out 0s;
    border-left: none;
    position: relative;
    width: calc(100% - 45px) !imporatnt;
    padding: 15px 0;
    text-transform: uppercase;
  }

  .custom-mega-menu .hs-menu-wrapper > ul {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 15px;
    text-transform: uppercase;
  }

  .custom-mega-menu .hs-menu-wrapper > ul > li:not(.hs-item-has-children) {
    border: 0;
  }

  .d-hide {
    color: #FFF;
    position: absolute;
    right: 0;
    top: 0;
    height: 45px;
    line-height: 45px;
    text-align: center;
    width: 45px;
    background: rgba(254,254,254,.1);
    cursor:pointer !important;
  }
  .custom-mega-menu .hs-menu-wrapper > ul > li > ul {
    font-size: 13px;
    line-height: 15px;
    text-transform: uppercase;
  }
  .custom-mega-menu .hs-menu-wrapper > ul > li > ul > li:first-child {
    padding-top:15px;
  }
  .custom-mega-menu .hs-menu-wrapper > ul > li > ul > li:last-child {
    margin-bottom:15px;
  }
  .custom-mega-menu .hs-menu-wrapper > ul > li > ul > li {
    width: 100%;
    float: none;
    padding: 0 0 8px;
    line-height: 120%;
    display: block;
    vertical-align: top;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    padding-left:8px;
  }

  .custom-mega-menu .hs-menu-wrapper > ul > li > ul > li > a {
    color: #FFF;
    line-height: 18px;
    font-weight: 600;
    text-transform: none;
    text-align: left;
    border: none;
    padding: 0;
  }

  .custom-mega-menu .hs-menu-wrapper > ul > li > ul > li > ul {
    background: 0 0;
    padding: 12px 0 12px 12px;
  }

  .custom-mega-menu .hs-menu-wrapper > ul > li > ul > li > ul > li {
    float: none;
    width: 100%;
    padding: 0 0 8px;
  }

  .custom-mega-menu .hs-menu-wrapper > ul > li > ul > li > ul > li > a {
    font-size: 13px;
    line-height: 17px;
    font-weight: 100;
    text-transform: none;
    padding: 0;
  }

  .custom-mega-menu .hs-menu-wrapper > ul > li > ul {
    display: none;
  }
}

@media(max-width:991px){
  .hs-blog-post .blog-content {
    width: 100%;
    padding: 0;
  }

  .blog.hs-blog-post .blog-sidebar {
    width: 100%;
  }
  .bgm-related-posts {
    padding-bottom: 50px;
    margin-top: 50px;
  }
  .bgm-related-posts .bgm-post-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .bgm-related-posts {
    margin: 0;
  }
  .social-share {
    padding-bottom: 50px;
  }

  .bgm-related-posts h4 {
    padding: 0;
  }
}

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

@media (max-width: 767px) {

  input[type="text"],
  input[type="password"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="date"],
  input[type="month"],
  input[type="time"],
  input[type="week"],
  input[type="number"],
  input[type="email"],
  input[type="url"],
  input[type="search"],
  input[type="tel"],
  input[type="color"],
  input[type="file"],
  textarea,
  select {
    max-width: 100%;
  }
  .custom-blog-menu .hs-menu-wrapper > ul li a i {
    display: inline-block;
    width: auto;
  }
  .section.post-footer .hs-error-msgs label{
    max-width:100%;
  }
  .hs-blog-post span#hs_cos_wrapper_post_body img {
    margin: 15px auto !important;
    float: none !important;
    width: auto !important;
    display: block;
  }

  .subscribe-options label {
    font-size: 13px;
    margin-left: 0;
    margin-right: 0;
  }

  .hs-form-field {
    width: 100% !important;
  }

  .hs_recaptcha.hs-recaptcha.field.hs-form-field {
    width: 100%;
    display: inline-block;
    max-width: 300px;
    overflow: auto;
    overflow-y: hidden !important;
    margin: 10px 0;
  }

  .hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {
    float: none !important;
    width: auto;
    max-width: 100%;
    max-height: none;
    margin: 15px auto !important;
  }

  .footer-wrapper .left-col,.footer-wrapper .right-col {
    text-align: left;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
  }
  .right-col img {
    vertical-align: inherit;
  }
  .right-col ul {
    margin-top: 10px;
  }
  .blog-banner-wrapper h2 {
    position: static;
    padding-top: 20px;
  }
  .bgm-post-lists {
    display: block;
  }
  .bgm-post-item.bgm-post-featured div.bgm-post-thumbnail {
    margin: 0px;
    border-left: 8px solid #FFCF2A;
  }
}
@media screen and (max-width: 640px){
  #inner_banner .ib_left {
    width: 50%;
  }
  #inner_banner .ib_right {
    width: 50%;
  }
  #inner_banner .ib_left, #inner_banner .ib_right {
    padding: 0 0 35%;
  }
}
@media (max-width: 575px){
  .blog-banner-wrapper h2 {
    font-size: 22px;
  }
}
@media (max-width: 500px){
  .right-col ul li {
    line-height: 20px;
  }
  .right-col ul li span.fa-map-marker {
    float: left;
    padding-bottom: 20px;
  }
  .footer-wrapper p{
    width: 80%;
  }
}
/* =============== Landscape phones and smaller devices =============== */

@media (max-width: 388px) {
  .left-col div.social-media-links #google_language_translator {
    margin-top: 10px;
  }
}