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


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

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


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


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

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

@import url('//fonts.googleapis.com/css?family=Muli:300,400,600,600italic,400italic,300italic|Oswald:400,300,700');

@font-face {
  font-family: "Ionicons";
  src: url("//cdn2.hubspot.net/hubfs/5230430/GraniteHomeLoans_August2019/Fonts/Ionicons.eot") format("embedded-opentype"), 
    url("//cdn2.hubspot.net/hubfs/5230430/GraniteHomeLoans_August2019/Fonts/ionicons.ttf") format("truetype"), 
    url("//cdn2.hubspot.net/hubfs/5230430/GraniteHomeLoans_August2019/Fonts/Ionicons.woff") format("woff"), 
    url("//cdn2.hubspot.net/hubfs/5230430/GraniteHomeLoans_August2019/Fonts/Ionicons.svg") format("svg");
  font-style: normal;
  font-weight: normal;
}

/* 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 */
}
.hs-blog-social-share-list li.hs-blog-social-share-item.hs-blog-social-share-item-linkedin .IN-widget {
    vertical-align: top !important;
}

/* 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)*/
@media only screen and (max-width: 767px){
  .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.net/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.net/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;
} 

html {
  font-size: 10px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Muli', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.42857143;
  color: #555;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

/* Page Center */
.container-fluid .row-fluid .page-center {
  float: none;
  width: 100%;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

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


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

/* Basic text */
p {
  margin: 8px 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 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(8,8,8,1);
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {}

h1, h2, h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

h4, h5,  h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}

h1 {
  font-size: 30px;
}
h2 {
  font-size: 25px;
}
h3 {
  font-size: 22px;
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 16px;
}
h6 {
  font-size: 14px;
}

/* Anchor Links */
a { 
  color: rgba(50,139,9,1);
  outline: 0;
  text-decoration: none;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
}
a:hover, a:focus { 
  text-decoration: underline;
}

/* Lists */
ul, ol {
  padding: 0;
  margin: 0 0 16px 16px;
}
ul ul, ul ol, ol ol, ol ul {}
li {}

/* Block Quotes */
blockquote {
  position: relative;
  padding: 30px 0 15px;
  margin: 15px 0 10px;
  border: 0 none;
  font-size: 150%;
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
}

blockquote::before, 
blockquote::after{
  content: "\f347";
  display: inline-block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  position: absolute; 
  color: rgba(50,139,9,1);
}

blockquote::before {
  top: -5px;
  left: 0;
  font-size: 30px;
}

blockquote::after {
  bottom: 0;
  right: 0;
  font-size: 20px;
  transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
}
blockquote p {}
blockquote small {}

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


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

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

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

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


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


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

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

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


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

.header-container-wrapper {}
.header-container {
  min-height: 60px;
}

#custom-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: 60px;
  z-index: 500;
  overflow: visible;
  background: #fff;
  -webkit-transition: background-color 0.3s ease-in-out 0s, height 0.3s ease-in-out 0s, top 0.3s ease-in-out 0s, bottom 0.3s ease-in-out 0s;
  -moz-transition: background-color 0.3s ease-in-out 0s, height 0.3s ease-in-out 0s, top 0.3s ease-in-out 0s, bottom 0.3s ease-in-out 0s;
  -ms-transition: background-color 0.3s ease-in-out 0s, height 0.3s ease-in-out 0s, top 0.3s ease-in-out 0s, bottom 0.3s ease-in-out 0s;
  transition: background-color 0.3s ease-in-out 0s, height 0.3s ease-in-out 0s, top 0.3s ease-in-out 0s, bottom 0.3s ease-in-out 0s;
}

.headroom--unpinned #custom-header {
  top: -60px;
}

#custom-header .page-center {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0;
}

.widget-span .custom-logo {
  position: absolute;
  top: 2px;
  left: 15px;
  z-index: 501;
  width: 141px;
  height: 55px;
}

.custom-logo a {
  display: block;
  text-indent: -9999px;
  width: 141px;
  height: 55px;
  background-image: url(//cdn2.hubspot.net/hubfs/5230430/GraniteHomeLoans_August2019/Images/mainlogo-01.png);
  background-repeat: no-repeat;
  background-position: center;
}
@media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5), only screen and (-webkit-min-device-pixel-ratio : 2), only screen and (min-device-pixel-ratio : 2) {
  .custom-logo a {
    background-image: url('//cdn2.hubspot.net/hubfs/5230430/GraniteHomeLoans_August2019/Images/mainlogo-retina.png');
    background-size: 141px 55px;
  }
}
.widget-span .custom-menu-button {
  width: auto;
  margin-left: 0;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1000;
}

.custom-menu-button a {
  display: inline-block;
  margin-bottom: 0;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  border-width: 2px;
  border-radius: 0;
  position: relative;
  font-size: 17px;
  background: transparent;
  font-family: 'Oswald', sans-serif;
  line-height: 1.3;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0em;
  height: 50px;
  padding: 12px 20px;
  border-color: #000000;
  color: #000000;
}

.custom-menu-button a:hover {
  color: rgba(50,139,9,1);
  background-color: rgba(255,255,255,1);
  text-decoration: none;
}

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

.body-container-wrapper {}
.body-container {
  padding: 16px 0;
  line-height: 1.4;
}

.custom-page-title h1 {
  margin-top: 0;
}

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


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

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

#custom-footer {
  display: block;
  background-color: rgba(8,8,8,1);
  color: rgba(247,247,247,1);
  padding: 24px 0;
  text-align: center;
}

#custom-footer .page-center > div > div {
  margin-left: -15px;
  margin-right: -15px;
  width: auto;
}

.widget-span .custom-footerbox {
  margin-left: 0;
  position: relative;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  float: none;
}

.custom-footer-heading p {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 8px 0 16px;
  color: rgba(255,255,255,1);
  margin-bottom: 17px;
  font-size: 16px;
}

.custom-quick-links .hs-menu-wrapper > ul {
  display: block;
  line-height: 1;
  margin-top: 8px;
}

.custom-quick-links .hs-menu-wrapper > ul > li {
  display: inline-block;
  margin: 0 5px 10px;
  line-height: 1;
  float: none !important;
}

.custom-quick-links .hs-menu-wrapper > ul > li > a {
  display: inline-block;
  margin: 0 5px 10px;
  color: rgba(255,255,255,1);
  text-decoration: none;
}

.custom-quick-links .hs-menu-wrapper > ul > li > a:hover {
  color: rgba(255,255,255,0.7);
}

address {
  margin-bottom: 20px;
  font-style: normal;
  line-height: 1.42857143;
}

.custom-address p {
  line-height: 1.4;
  font-weight: 400;
}

.custom-address a {
  text-decoration: none;
  color: rgba(255,255,255,1);
}

.custom-address a:hover {
  color: rgba(255,255,255,0.7);
}

.cusotm-social-icons .hs-menu-wrapper > ul {
  line-height: 0;
  margin-top: 8px;
}

.cusotm-social-icons .hs-menu-wrapper > ul > li {
  display: inline-block;
  position: relative;
  line-height: 1;
  margin: 0 5px 10px;
}

.cusotm-social-icons .hs-menu-wrapper > ul > li > a {
  display: block;
  float: left;
  text-indent: -9999px;
  width: 50px !important;
  height: 50px;
  background-image: url(//cdn2.hubspot.net/hubfs/5230430/GraniteHomeLoans_August2019/Images/social.png);
  background-repeat: no-repeat;
  background-size: 50px auto;
  border-radius: 50%;
}

.cusotm-social-icons .hs-menu-wrapper > ul > li.linkedin > a {
  background-position: left -100px;
}

.cusotm-social-icons .hs-menu-wrapper > ul > li > a:hover{
  opacity: 0.7; 
}

.widget-span .custom-copyright-menu {
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

.custom-copyright-menu .hs-menu-wrapper {
  display: block;
  padding: 80px 0 40px;
}

.custom-copyright-menu .hs-menu-wrapper > ul {
  font-size: 12px;
  line-height: 1;
}

.custom-copyright-menu .hs-menu-wrapper > ul > li {
  float: none !important;
  display: block;
  padding: 10px 0;
}

.custom-copyright-menu .hs-menu-wrapper > ul > li:first-child > a{
  cursor: text;
  color: rgba(255,255,255,1) !important;
}

.custom-copyright-menu .hs-menu-wrapper > ul > li > a {
  display: inline;
  padding: 0;
  color: rgba(255,255,255,1);
  text-decoration: none;
}

.custom-copyright-menu .hs-menu-wrapper > ul > li > a:hover {
  color: rgba(255,255,255,0.7);
}

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


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

/* Parent List */

.custom-menu-primary .hs-menu-wrapper > ul > li > i:before {
  display: inline-block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ion-chevron-down:before {
  content: "\f123";
}

.ion-android-open:before {
  content: "\f39c";
}

.custom-menu-primary .hs-menu-wrapper > ul > li > a:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  height: 100%;
}

.custom-menu-primary .hs-menu-wrapper > ul > li.active > a, 
.custom-menu-primary .hs-menu-wrapper > ul > li:hover > a {
  background-color: rgba(50,139,9,1);
  color: #fff;
}

.custom-menu-primary .hs-menu-wrapper > ul > li.active > a{
  font-weight: bold; 
}

.custom-menu-primary .hs-menu-wrapper > ul > li >  i {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  text-align: center;
  font-size: 10px;
  width: 25px;
  height: 80px;
  padding-top: 34px;
  color: #000;
}

/* 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:992px) {
  .custom-menu-primary .hs-menu-wrapper,
  .custom-menu-primary .hs-menu-wrapper > ul ul { 
    display:block !important;
  }
  #custom-header a.expand {
    display: none !important;   
  }

  .widget-span .custom-menu-primary {
    margin-left: 0;
    position: absolute;
    top: 0;
    height: 80px;
    width: 100%;
  }

  .custom-menu-primary .hs-menu-wrapper > ul {
    text-align: center;
    font-size: 15px;
    line-height: 0;
    position: relative;
    width: 100%;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li {
    display: inline-block;
    float: none !important;
    margin: 0 -2px; 
    line-height: 1;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    position: relative;
  }


  .custom-menu-primary .hs-menu-wrapper > ul > li > a {
    display: block;
    text-decoration: none;
    height: 80px;
    padding: 32px 20px;
    color: #000;
    position: relative;
  }


  .custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children > a {
    padding-right: 30px;
  }

  /* Child List */
  .custom-menu-primary .hs-menu-wrapper > ul ul {
    top: 80px;
    width: 240px;
    height: auto;
    padding: 0;
    text-align: left;
    font-size: 15px;
    background-color: rgba(50,139,9,1);
    color: #FFF;
  }

  .custom-menu-primary .hs-menu-wrapper > ul ul li {
    position: relative;
    line-height: 1;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
  }

  .custom-menu-primary .hs-menu-wrapper > ul ul li a {
    display: block;
    padding: 20px;
    color: #fff;
    text-decoration: none;
  }

  .widget-span .custom-menu-primary.mobile{
    display: none !important; 
  }

}


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

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

@media (max-width: 991px){

  .custom-lp-header a.expand {
    display: none !important;   
  }

  .widget-span .custom-menu-primary.desktop{
    display: none !important; 
  }

  .widget-span .custom-menu-primary {
    display: none;
    position: relative;
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  .widget-span .custom-menu-button {
    display: none;
  }

  #custom-header a.expand {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 300;
    width: 60px;
    height: 60px;
    display: block;
    text-indent: -9999px;
    text-decoration: none;
    cursor: pointer;
  }

  #custom-header a.expand em {
    display: none;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    transition: none;
  }

  #custom-header a.expand span {
    display: block;
    width: 30px;
    height: 3px;
    position: absolute;
    right: 15px;
    -webkit-opacity: 1;
    -moz-opacity: 1;
    -ms-opacity: 1;
    opacity: 1;
    -webkit-transition: transform 0.3s ease-in-out 0s, opacity 0.2s ease-in-out 0.3s, left 0.3s ease-in-out 0.3s, top 0.3s ease-in-out 0.3s, width 0.3s ease-in-out 0.3s;
    -moz-transition: transform 0.3s ease-in-out 0s, opacity 0.2s ease-in-out 0.3s, left 0.3s ease-in-out 0.3s, top 0.3s ease-in-out 0.3s, width 0.3s ease-in-out 0.3s;
    -ms-transition: transform 0.3s ease-in-out 0s, opacity 0.2s ease-in-out 0.3s, left 0.3s ease-in-out 0.3s, top 0.3s ease-in-out 0.3s, width 0.3s ease-in-out 0.3s;
    transition: transform 0.3s ease-in-out 0s, opacity 0.2s ease-in-out 0.3s, left 0.3s ease-in-out 0.3s, top 0.3s ease-in-out 0.3s, width 0.3s ease-in-out 0.3s;
    background: #000000;
  }

  #custom-header a.expand span.top {
    top: 21px;
  }

  #custom-header a.expand span.mid {
    top: 29px;
  }

  #custom-header a.expand span.bottom {
    top: 37px;
  }

  #custom-header a.expand:not(.active):hover span.top {
    top: 18px;
  }

  #custom-header a.expand:not(.active):hover span.bottom {
    top: 40px;
  }

  #custom-header a.expand.active {
    background-color: rgba(50,139,9);
  }

  #custom-header a.expand.active span {
    background: #fff;
  }

  #custom-header a.expand.active span.top {
    transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
  }

  #custom-header a.expand.active span.mid {
    width: 0;
  }

  #custom-header a.expand.active span.bottom {
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
  }

  #custom-header a.expand.active span.top, 
  #custom-header a.expand.active span.bottom {
    top: 29px;
  }

  body.mobile-open{
    overflow: hidden; 
  }

  .mobile-open #custom-header {
    bottom: 0;
    height: 100%;
    max-height: 100%;
    overflow: auto;
  }

  .mobile-open #custom-header .page-center {
    padding: 80px 0 20px;
  }

  .mobile-open .widget-span .custom-menu-primary {
    display: block;
  }

  .custom-menu-primary .hs-menu-wrapper {
    display: block;
    text-align: center;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: rgba(8,8,8,0.2);
  }

  .custom-menu-primary .hs-menu-wrapper > ul {
    display: block;
    line-height: 1;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li:not(:first-child) {
    border-width: 1px 0 0;
    border-style: solid;
    line-height: 1;
    border-color: rgba(8,8,8,0.2);
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    float: none !important;
    display: block;
    position: relative;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li:not(:first-child) > a {
    display: block;
    position: relative;
    height: 60px;
    padding: 22px 0 !important;
    color: #000;
    text-decoration: none;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li.hs-item-has-children > a {
    padding: 22px 60px !important;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li > i {
    width: 60px;
    height: 60px;
    z-index: 101;
    background-color: rgba(255,255,255,0.3);
    padding-top: 24px;
    color: #000000;
    font-size: 16px;
    cursor: pointer;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li > i.child-open:before {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  .custom-menu-primary .hs-menu-wrapper > ul ul {
    display: none;
    background-color: rgba(50,139,9,1);
    color: #FFF;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .custom-menu-primary .hs-menu-wrapper > ul ul li {
    border-width: 1px 0 0;
    border-style: solid;
    border-color: rgba(8,8,8,0.2);
    line-height: 1;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
  }

  .custom-menu-primary .hs-menu-wrapper > ul ul li a {
    display: block;
    color: #fff;
    height: 60px;
    padding: 22px 60px;
    text-decoration: none;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li:hover > a {
    background-color: rgba(50,139,9,1);
    color: #fff;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li:first-child {
    float: none !important;
    display: block;
    padding: 0 15px 20px;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li:first-child > a {
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    outline: 0;
    background: transparent;
    border-width: 2px;
    border-radius: 0;
    position: relative;
    padding: 15px;
    font-size: 17px;
    text-transform: uppercase;
    line-height: 1.3;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 0em;
    display: block;
    border-color: #000000;
    color: #000000;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li:first-child > a:hover {
    color: rgba(50,139,9,1);
    background-color: rgba(255,255,255,1);
  }

}

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



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


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

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

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

/* Labels and Legends */
label {}
body .hs-form-field > label,
.widget-type-google_search label,
li.hs-form-booleancheckbox label {
  font-weight: normal;
  display: block;
  margin-bottom: 5px;
  line-height: 1.42857143;
}

/* One Line Inputs */
input[type="text"],
input[type="password"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="date"], 
input[type="month"], 
input[type="time"], 
input[type="week"], 
input[type="number"], 
input[type="email"], 
input[type="url"], 
input[type="search"], 
input[type="tel"], 
input[type="color"],
input[type="file"],
textarea,
select {
  -webkit-appearance: none;
  display: inline-block;
  width:100%;
  font-family: 'Muli', sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  border-width: 2px;
  border-radius: 0;
  min-height: 40px;
}

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;
  border-color: rgba(50,139,9,1);
  box-shadow: 0 0 5px rgba(50,139,9,1);
}

/* 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;
  margin-left: 0;
}
form.hs-form .hs-form-field ul.inputs-list li input {}
input[type="radio"] {}
input[type="checkbox"] {}

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

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

/* Error */
.hs-error-msgs label{
  display: block;
  padding: 5px;
  font-size: 12px;
  background-color: #a94442;
  color: rgba(255,255,255,1);
  line-height: 1.42857143;
  margin-top: 5px;
}
ul.no-list.hs-error-msgs.inputs-list {
  list-style: none;
  padding: 0;
  margin-left: 0;
}
.hs-form-required {
  color: rgba(169,68,68,1);
}

input.error, 
select.error,
textarea.error{
  border-color: #a94442; 
}

input.hs-input.error:focus {
  border-color: #a94442;
  box-shadow: 0 1px 1px rgba(0,0,0,0.075) inset, 0 0 8px rgba(169,68,66,0.5);
}
/* Placeholder Text */
::-webkit-input-placeholder {} /* Webkit Browsers */
:-moz-placeholder {} /* Firefox 18- */
::-moz-placeholder {} /* Firefox 19+ */
:-ms-input-placeholder {} /* IE10 */


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

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

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

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


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

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

/* Inputs */
#comment-form input[type="submit"] {
  margin-top: 15px;
}
#comment-form input[type="text"] {}
#comment-form input[type="text"]:focus {}

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

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

#comment-form .hs-form:before {
  content: "Leave a Reply";
  display: block;
  margin: 0 0 25px;
  font-size: 30px;
}

/* =============== 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;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  vertical-align: middle;
  border: 1px solid transparent;
  white-space: normal;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
  outline: 0;
  background: transparent;
  border-width: 2px;
  border-radius: 0;
  position: relative;
  padding: 15px;
  font-size: 17px;
  text-transform: uppercase;
  line-height: 1.3;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0em;
  color: rgba(50,139,9,1);
  border-color: rgba(50,139,9,1);
  margin-top: 15px;
}

.hs-button.primary:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  text-decoration: none;
  color: rgba(255,255,255,1);
  background-color: rgba(50,139,9,1);
}

.hs-button.primary:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
  text-decoration: none;
  color: rgba(255,255,255,1);
  background-color: rgba(50,139,9,1);
}


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

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






/*Form Background Styling*/

.hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_google_search,
.widget-type-blog_subscribe,
.widget-span.widget-type-form,
.error-template .body-container .hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_google_search,
.password-template .body-container form,
.subscription-template .body-container .widget-type-email_simple_subscription form,
div#comment-form,
.body-container .hs_cos_wrapper_type_form,
.hs-search-field__bar {
  display:block;
  margin: 30px 0;
}

.landing-page.one-column .body-container .widget-type-form,
.error-template .body-container .hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_google_search,
.password-template .body-container form,
.subscription-template .body-container .widget-type-email_simple_subscription form,
.subscription-template .body-container .hs-search-field__bar,
.password-template .body-container .hs-search-field__bar,
.error-template .body-container .hs-search-field__bar,
.landing-page.one-column .body-container .hs-search-field__bar{
  width: 50%;
}

.hs-search-field__bar {
  max-width: 600px;
  width: 100% !important;
}
.hs-search-field__bar form {
  width: 100% !important;
}

.section.post-footer .hs-form:before {
  content: "Leave a Reply";
  display: block;
  font-size: 24px;
  margin: 0 0 40px;
}
.section.post-footer input.hs-button.primary {
  margin-top: 15px;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Back to top */

#top-link-block {
  z-index: 200;
  position: relative;
  display: block;
}

#top-link-block a {
  display: block !important;
  margin: 0 auto;
  padding: 15px;
  text-align: center;
  background-color: rgba(50,139,9,1);
  color: rgba(255,255,255,1);
}

#top-link-block a i:before {
  display: inline-block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ion-chevron-up:before {
  content: "\f126";
}

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

/* Blog Css */

.blog .body-container-wrapper i::before {
  display: inline-block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ion-chevron-left:before {
  content: "\f124";
}
.ion-chevron-right:before {
  content: "\f125";
}


.hs-blog-main-wrapper h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(8,8,8,1);
  font-size: 18px;
  margin: 8px 0 16px;
}


/****** Post navigation *******/

.text-center {
  text-align: center;
}
.pagination > li > a, .pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857143;
  text-decoration: none;
  color: #ed6d19;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  margin-left: -1px;
}

.pagination > li:first-child > a, .pagination > li:first-child > span {
  margin-left: 0;
}
nav#pagination {
  padding:30px 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

nav#pagination .pagination {
  position:relative;
  overflow:hidden;
  min-height:50px;
  margin:0;
  display:block;
  font-size:0;
  list-style: none;
  line-height: 1;
}
.listing.shop nav#pagination {
  margin:0;
}
.listing.shop nav#pagination .pagination {
  border:0 none;
}
nav#pagination .pagination li {
  border:0 none;
  display:inline-block;
  font-size:14px;
  margin:0 2px;
}
nav#pagination .pagination li.prev,
nav#pagination .pagination li.next {
  position:absolute; 
  top:0; 
  left:0;
}
nav#pagination .pagination li.next {
  right:0; left:auto;
}

nav#pagination .pagination li a {
  border-width:2px; 
  border-style:solid; 
  border-color:#dfdbdc; 
  border-color:rgba(223,219,220,1);
  padding:13px 20px; 
  color:#328b09; 
  color:rgba(50,139,9,1);
}
nav#pagination .pagination li:not(.active) a:hover {
  color:rgba(255,255,255,1);
  border-color:rgba(50,139,9,1);
  background-color:rgba(50,139,9,1);
}

nav#pagination .pagination li.prev,
nav#pagination .pagination li.next {
  margin:0;
}

nav#pagination .pagination li.active a {
  color:#ffffff; 
  color:rgba(255,255,255,1);
  border-color:#080808;
  border-color:rgba(8,8,8,1);
  background-color:#080808;
  background-color:rgba(8,8,8,1);
}


/****** Post Author *****/

.hs-author-bio {
  overflow: hidden;
  height: 100%;
  position: relative;
  margin-bottom: 30px;
}
.hs-author-bio > .inner {
  background-color: rgba(247,247,247,1);
  border: 2px solid rgba(223,219,220,1);
  padding: 15px;
}
.hs-author-bio h3{
  margin-bottom:0;
}

.hs-author-bio .image {
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  position: relative;
  margin-top: 15px;
}
.hs-author-bio .image img {
  width: auto;
  border-radius: 50%;
  -webkit-transition: all 0.5s ease-in-out ;
  -moz-transition: all 0.5s ease-in-out ;
  -ms-transition: all 0.5s ease-in-out ;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  max-width: 200px;
}
.hs-author-bio .info h3 {
  font-size: 16px;
}
.hs-author-bio .info {
  padding: 15px 0;
}
nav.social {
  margin-bottom: 30px;
}
nav.social { 
  margin-bottom:30px;		
}
nav.social ul {
  line-height:0;
  padding: 0;
  margin: 0;
  list-style: none;
}
nav.social ul li {
  display:inline-block; position:relative;
  margin:0 5px 10px 0;
}
footer nav.social ul li {
  margin:0 5px 10px;
}
nav.social ul li a {
  display:block; float:left;
  text-indent:-9999px;
  width:50px; height:50px;
  background-image:url('//cdn2.hubspot.net/hubfs/5230430/GraniteHomeLoans_August2019/Images/social.png');
  background-repeat:no-repeat;
  background-size:50px auto;
  border-radius:50%;
}	
nav.social ul li a:hover { 
  opacity:0.7;
}

nav.social ul li.facebook a {
  background-position:left top;
}
nav.social ul li.twitter a {
  background-position:left -50px;
}
nav.social ul li.linkedin a {
  background-position:left -100px;
}
nav.social ul li.google_plus a {
  background-position:left -150px;
}
nav.social ul li.pinterest a {
  background-position:left -200px;
}
nav.social ul li.instagram a {
  background-position:left -250px;
}
nav.social ul li.flickr a {
  background-position:left -300px;
}
nav.social ul li.tumblr a {
  background-position:left -350px;
}
nav.social ul li.vimeo a {
  background-position:left -400px;
}
nav.social ul li.youtube a {
  background-position:left -450px;
}
nav.social ul li.dribble a {
  background-position:left -500px;
}
nav.social ul li.skype a {
  background-position:left -550px;
}
nav.social ul li.rss a {
  background-position:left -600px;
} 
nav.social ul li.soundcloud a {
  background-position:left -700px;
}
nav.social ul li.behance a {
  background-position:left -750px;
}


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

.blog .blog-sidebar > div {
  border: 2px solid rgba(223,219,220,1);
  padding: 15px;
  position: relative;
  margin-bottom: 30px;
}
.blog .blog-sidebar > div:first-child,
.blog .blog-sidebar > div:nth-child(2){
  background-color: rgba(247,247,247,1);

}
.blog .blog-sidebar > div:last-child {
  margin-bottom: 0;
}

.blog .blog-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog .blog-sidebar ul li {
  position: relative;
  line-height: 1;
}

.blog .blog-sidebar ul li a {
  display: block;
  padding: 10px 0;
  background: transparent;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
  text-decoration: none;
}

.blog .blog-sidebar ul li a:hover {
  padding-left: 3px;
}
.blog .blog-sidebar ul li a .filter-link-count {
  display: none;
}
.blog .blog-sidebar > div h3 a {
  color: rgba(8,8,8,1);
  text-decoration: none;
}


.custom-green-btn {
  font-weight: 700;
  letter-spacing: 0em;
  color: rgba(50,139,9,1);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  line-height: 1.3;
  text-transform: uppercase;
  font-size: 15px;
  padding: 8px;
  border-width: 2px;
  border-style: solid;
  border-radius: 0;
  position: relative;
  background: transparent;
  border-color: rgba(50,139,9,1);
  display: inline-block;
  outline: 0 none;
  margin: 40px 0 0;
}

.custom-green-btn:hover {
  color: rgba(255,255,255,1);
  background-color: rgba(50,139,9,1);
  text-decoration: none;
}
.custom-green-btn i.after{
  margin-right: 0;
  margin-left: 5px;
}
.blog-sidebar .hs-sidebar-row3 p {
  line-height: 1.4;
  margin-bottom: 0;
}

.blog .blog-sidebar > div:nth-child(4) {
  background-color: rgba(32,32,32,1);
  border:none;
}

.hs-sidebar-testimonial  blockquote {
  color: rgba(255,255,255,1);
}

.hs-sidebar-testimonial blockquote p {
  font-size: 16px;
  line-height: 1.4;
}
blockquote cite {
  font-size: 12px;
  font-weight: 400;
}
.hs-sidebar-contact-info p:last-of-type {
  margin-bottom: 0;
}


.blog-post-wrapper.cell-wrapper .meta {
  padding: 20px 0;
  margin-top: 40px;
  border-width: 2px 0 0;
  border-style: solid;
  border-color: #dfdbdc;
  border-color: rgba(223,219,220,1);
}

.meta .author-date {
  padding-bottom: 10px;
}
.hs-blog-main-wrapper {
  padding: 16px 0;
}
.intro {
  font-size: 125%;
  letter-spacing: -0.045em;
  margin: 8px 0 16px;
  line-height: 1.4;
}

.blog-listing-wrapper .post-header h2 {
  display: block;
  font-size: 18px;
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}
.blog-listing-wrapper .post-header h2 a {
  color: rgba(8,8,8,1);
  text-decoration: none;
}
.blog-listing-wrapper .post-body p {
  margin: 10px 0 0;
  line-height: 1.4;
}

.blog-listing-wrapper .meta {
  margin-top: 30px;
  font-size: 12px;
}

.blog-listing-wrapper .post-item {
  padding: 15px 0;
}


/****** Breadcrumb Menu ******/

.breadcrumb-trail {
  overflow: hidden;
  min-height: 60px;
  border-width: 1px 0 0;
  border-style: solid;
  border-color: rgba(8,8,8,0.1);
  background-color: rgba(255,255,255,1);
}

.breadcrumb-trail ol {
  padding: 0;
  margin: 0;
  background: transparent;
  font-size: 14px;
  list-style: none;
  line-height: 1;
}

.breadcrumb-trail ol li {
  position: relative;
  display: inline-block;
}

.breadcrumb-trail ol li::before, .breadcrumb-trail ol li::after {
  content: "";
  position: absolute;
  top: -7px;
  right: 15px;
  width: 2px;
  height: 40px;
  background-color: #f7f7f7;
  background-color: rgba(247,247,247,1);
  -webkit-transform: rotate(-30deg);
  -moz-transform: rotate(-30deg);
  -ms-transform: rotate(-30deg);
  transform: rotate(-30deg);
}
.breadcrumb-trail ol li::after {
  top: auto;
  bottom: -7px;
  -webkit-transform: rotate(30deg);
  -moz-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
}

.breadcrumb-trail ol li a {
  display: inline-block;
  min-height: 60px;
}

.breadcrumb-trail ol li span {
  padding: 23px 40px 0 10px;
  display: block;
  min-height: 60px;
}

.breadcrumb-trail ol li:first-child span {
  padding-left: 0;
}

.breadcrumb-trail ol li.active {
  opacity: 0.6;
}
nav a:hover {
  text-decoration: none;
}
.blog .body-container {
  padding: 0 !important;
}

h1.heading.main {
  margin-top: 0;
}
.comment-date {
  display: block;
}

#custom-header a.expand.active span {
  -moz-transition: transform 0.3s ease-in-out 0.2s, opacity 0.2s ease-in-out 0s, left 0.3s ease-in-out 0s, top 0.3s ease-in-out 0.3s, width 0.3s ease-in-out 0s;
  -ms-transition: transform 0.3s ease-in-out 0.2s, opacity 0.2s ease-in-out 0s, left 0.3s ease-in-out 0s, top 0.3s ease-in-out 0.3s, width 0.3s ease-in-out 0s;
  transition: transform 0.3s ease-in-out 0.2s, opacity 0.2s ease-in-out 0s, left 0.3s ease-in-out 0s, top 0.3s ease-in-out 0.3s, width 0.3s ease-in-out 0s;
  -webkit-transition: transform 0.3s ease-in-out 0.2s, opacity 0.2s ease-in-out 0s, left 0.3s ease-in-out 0s, top 0.3s ease-in-out 0.3s, width 0.3s ease-in-out 0s;
}

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

@media (min-width: 768px){
  .container-fluid .row-fluid .page-center {
    max-width: 750px;
  }
  .widget-span .custom-logo{
    position: relative;
    top: auto;
    left: auto;
    margin-left: 15px !important;
    margin-top: 10px; 
  }
  .body-container{
    padding: 24px 0;
  }
  .custom-copyright-menu .hs-menu-wrapper > ul > li{
    margin: 0 8px 0 0;
    padding: 0;
    display: inline-block;
  }
  .hs-author-bio .info {
    padding: 15px 15px 15px 0;
  }
  .hs-blog-main-wrapper {
    padding: 24px 0;
  }
}

@media (min-width: 992px){
  h1 {
    font-size: 35px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 25px;
  }
  h4 {
    font-size: 22px;
  }
  h5 {
    font-size: 20px;
  }
  h6 {
    font-size: 18px;
  }
  .container-fluid .row-fluid .page-center {
    max-width: 970px;
  }
  #custom-header{
    height: 80px;
  }
  body {
    font-size: 17px; 
  }
  .header-container-wrapper {
    min-height: 80px;
  }
  .headroom--unpinned #custom-header {
    top: -80px;
  }
  .body-container{
    padding: 32px 0;
  }
  #custom-footer{
    padding: 32px 0 80px;
  }
  .widget-span .custom-footerbox{
    width: 33.33333333%;
    float: left;
  }
  .custom-footer-heading p{
    font-size: 22px; 
  }
  #top-link-block{
    position: fixed;
    bottom: -60px;
    right: 20px;
    padding: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -ms-opacity: 0;
    opacity: 0;
    -webkit-transition: bottom 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    -moz-transition: bottom 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    -ms-transition: bottom 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    transition: bottom 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s; 
  }
  #top-link-block.cm-show.affix{
    bottom: 20px;
    -webkit-opacity: 1;
    -moz-opacity: 1;
    -ms-opacity: 1;
    opacity: 1; 
  }
  #top-link-block a {
    width: 60px;
    height: 60px;
    font-size: 20px;
    border-radius: 50%;
  }
  .hs-author-bio > .inner {
    padding: 20px;
  }
  .hs-sidebar-testimonial blockquote p,
  .hs-blog-main-wrapper h3{
    font-size:20px;
  }
  .hs-author-bio .image {
    float: right;
    margin: 0 0 15px 40px;
  }
  .blog .blog-sidebar > div {
    padding: 20px;
  }
  .hs-blog-main-wrapper {
    padding: 32px 0;
  }
  .intro {
    font-size: 135%;
  }
  .blog-listing-wrapper .post-header h2 {
    font-size: 20px;
  }
  .custom-menu-primary .hs-menu-wrapper > ul ul li a:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
  }

  .custom-menu-primary .hs-menu-wrapper > ul ul li a:hover:before {
    background-color: rgba(255,255,255,0.5);
  }

}

@media (min-width: 1200px){
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 35px;
  }
  h3 {
    font-size: 30px;
  }
  h4 {
    font-size: 25px;
  }
  h5 {
    font-size: 22px;
  }
  h6 {
    font-size: 20px;
  }
  .container-fluid .row-fluid .page-center {
    max-width: 1170px;
  }
  .body-container{
    padding: 48px 0; 
  }
  #custom-footer{
    padding: 48px 0 80px; 
  }
  .hs-author-bio > .inner {
    padding: 30px;
  }
  .hs-blog-main-wrapper h3{
    font-size:22px;
  }
  .blog .blog-sidebar > div {
    padding: 30px;
  }
  .hs-blog-main-wrapper {
    padding: 48px 0;
  }
  .intro {
    font-size: 140%;
  }
  .blog-listing-wrapper .post-header h2 {
    font-size: 24px;
  }
}


@media (max-width: 1322px) and (min-width: 1200px){
  .custom-menu-primary .hs-menu-wrapper > ul > li:last-child > a {
    padding-right: 20px;
  } 
  .custom-menu-primary .hs-menu-wrapper > ul > li > a{
    padding: 32px 9px; 
  }
}

@media (max-width: 1199px) and (min-width: 992px){
  #custom-header {
    height: auto;
  }

  .widget-span .custom-menu-primary {
    position: relative;
  }

  .custom-menu-primary .hs-menu-wrapper > ul > li:last-child > a {
    padding-right: 20px;
  } 
  .body-container,
  .hs-blog-main-wrapper {
    padding-top: 80px;
  }
}

@media (max-width: 991px) and (min-width: 768px){
  .mobile-open .widget-span .custom-logo {
    float: none;
    top: 10px;
    position: absolute;
    left: 15px;
    margin: 0 !important;
  } 
}

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

@media (max-width: 1199px) {
  .custom-menu-primary .hs-menu-wrapper > ul > li > a {
    padding: 32px 15px;
  }
}

@media (max-width: 991px){
  .widget-span .cusotm-social-icons {
    margin-bottom: 30px;
  } 
  .blog .blog-content, .blog .blog-sidebar {
    width: 100% !important;
    margin-left: 0 !important;
  }
  .blog .blog-sidebar {
    padding-top: 30px;  
  }
  .blog .blog-sidebar > div:last-child {
    margin-bottom: 30px;
  }
  .hs-sidebar-contact-info h3,
  .hs-sidebar-row3 h3 {
    font-size: 16px;
  }
  .hs-author-bio .image {
    border-radius: 0;
  }
}


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

@media (max-width: 767px) {

  .hs-search-field__bar {
    max-width: 100%;
  }
  .landing-page.one-column .body-container .widget-type-form,
  .error-template .body-container .hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_google_search,
  .password-template .body-container form,
  .subscription-template .body-container .widget-type-email_simple_subscription form{
    width: 100%;
  }
  .hs-menu-wrapper.hs-menu-flow-vertical > ul {
    margin-bottom: 20px;
  }
  .subscribe-options label {
    margin: 0;
  }
  .hs-form {
    margin-bottom: 30px
  }
  #comment-form .hs-form {
    margin-bottom: 0;
  }
  .blog-sidebar {
    padding-top: 30px;
  }
  .checkbox-row span.fakelabel span {
    width: calc(100% - 40px);
  }
  .subscribe-options label span {
    white-space: normal;
    padding-right: 30px;
  }
  .hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {
    max-width: 100%;
    float: none;
    display: block !important;
    margin: 20px 0;
  } 
  .hs-author-profile .hs-author-bio,
  .hs-author-profile .hs-author-social-section,
  .hs-author-profile .hs-author-avatar,
  .hs-blog-listing .hs-author-profile{
    width: 100%;
    float: left;
  }
  .hs-author-profile .hs-author-avatar img {
    margin-bottom: 5px;
  }
  #recaptcha_area, #recaptcha_table {
    width: 318px!important;
    overflow-x: auto !important;
    max-width: 100% !important;
  }	
  .section.post-body img {
    float: none !important;
    display: block !important;
    margin: 15px auto !important;
  }
  .widget-span .custom-menu-primary {
    width: 100%;
  }
  .custom-copyright-menu .hs-menu-wrapper {
    padding-bottom: 20px;
  }

  #custom-footer {
    padding: 16px 0;
  }

  .custom-copyright-menu .hs-menu-wrapper > ul {
    margin: 0;
  }

  .custom-quick-links .hs-menu-wrapper > ul, 
  .cusotm-social-icons .hs-menu-wrapper > ul,
  .custom-address p:last-child,
  .widget-span .cusotm-social-icons {
    margin-bottom: 0;
  }

  .widget-span .custom-footerbox {
    margin-bottom: 30px;
  }

  .cusotm-social-icons .hs-menu-wrapper > ul > li, 
  .custom-quick-links .hs-menu-wrapper > ul > li {
    width: auto;
  }

}  


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

@media (max-width: 479px) {
  .grecaptcha-badge {
    width: auto !important;
    overflow: auto;
    max-width: 256px;
    overflow-x: hidden;
  }

}