/* hubspot specific fixes to be rolled into overrides.css later */

/*---------- Slideshow ---------------------*/
/* .hs_cos_flex-slide-main {display:none;} */
.hero-wrapper .hs_cos_flex-direction-nav {display:none;}

.hero-wrapper ul {padding:0;margin:-2px 0 0;}
.hero-wrapper ul li img {width:100%;}

.hero-wrapper .superimpose .caption,
.video-wrapper .caption {
  position:absolute;
  top:0;
  width:100%;
  text-align:center;
}

.preface-wrapper .caption h1, .preface-wrapper .caption h2 {font-size:5vw; line-height:4.3vw;text-shadow: 0px 0px 2px #111;}
.preface-wrapper .caption h3 {font-size:2.5vw;line-height:2.6vw;text-shadow: 0px 0px 2px #111;}
.preface-wrapper .caption a {font-size:1.9vw;line-height:36px;padding:1vw 2vw;}

.hs #content-container {padding-top:20px;}
.hs h1.title {padding:0 10px;}

/* ----------- responsive video -----------*/
.video-wrapper .fullscreen-bg {position:relative;}
.video-wrapper {height:30vh;overflow:hidden;margin-top:-2px;}


.content-region .field-name-field-image {margin-top:10px;}
.hs .node-article footer {height:50px;}

/* forms */
.blog .hs [type="checkbox"]:not(:checked), .blog .hs [type="checkbox"]:checked {
  left:0;
  position:relative;
  visibility:visible;
  margin-right:6px;
}

.select-wrapper {

}
.select-wrapper input.select-dropdown {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #444;
  padding: 0 4% 0 10px;
  background-image:url('//481308.fs1.hubspotusercontent-na1.net/hubfs/481308/aMaterialTheme/text-select-caret.png');
  background-repeat:no-repeat;
  background-position:99% center;
  background-size:10px;
  border-radius: 2px;
  background-clip: padding-box;
  
  
}
.hs-form fieldset .hs-input {width:100% !important;}
.hs-form fieldset .hs-input.select-wrapper {width:92% !important;}
/* recaptcha */
#recaptcha_table td {border:transparent;margin:0 !important;}
#recaptcha_table #recaptcha_response_field {border:transparent !important;margin:0;}
.recaptcha_only_if_privacy {
    float: none !important;
    height: 32px !important;
    margin: 13px !important;
    padding: 10px !important;
    position: absolute !important;
    text-align: right !important;
    width: 100px !important;
    top:40px !important;
    left:1900px !important;
}
/* social shares */
.post-footer {margin-bottom:20px;min-height:25px;}
.social-links ul.links {padding-left:0;}
.please-share {list-style-type:none;display:inline;position:relative;top:-5px;margin-right:10px;}
.hs_cos_wrapper_type_social_sharing a img {border-radius:2px;background-clip: padding-box;opacity: 0.9;}
.hs_cos_wrapper_type_social_sharing a img:hover {opacity:1;}

/* author section on blog */

.about-author-sec {
  border: 1px solid #ccc;
  border-radius: 2px;
  background-clip: padding-box;
  clear: left;
  padding: 10px;
  margin-bottom:20px;
  min-height:140px;
}
.about-author-sec > div:first-child {
  background-clip: padding-box;
  border-radius: 100px;
  clear: left;
  float: left;
  height: 100px;
  margin: 10px;
  overflow: hidden;
  width: 100px;
}
.about-author-sec h4 {
  font-size:110%;
}

.hs .social-tagline {position:relative;top:-14px;}
.hs-author-social-links {text-align:center;}

h3.comment-title {margin-bottom:-20px;margin-top:25px;font-size:1.25rem;}
.post-footer .comment.depth-0 {border:1px solid #ddd;padding:10px;border-radius: 2px;background-clip: padding-box;}
.post-footer .comment.depth-1 {border-top:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;border-left:3px solid #aaa;padding:10px;border-radius: 2px;background-clip: padding-box;margin:5px 0 0 60px;}
.post-footer .comment h4 {font-size:1.25rem;}
.post-footer .comment h4:before {
  content: "";
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-family: FontAwesome;
  font-feature-settings: normal;
  font-kerning: auto;
  font-language-override: normal;
  font-size: 1em;
  font-size-adjust: none;
  font-stretch: normal;
  font-style: normal;
  font-synthesis: weight style;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-rendering: auto;
  margin-left:0;
}
.post-footer .comment .comment-date {font-size: .8rem;}
.post-footer .comment .comment-body {font-size:1rem;}
.post-footer .comment .comment-body > p:first-child {margin-top:0;}
.post-footer .comment button.comment-reply-to {background-image:none;padding:0 15px;background-color:#ccc;font-size:.75rem;width:100%;}
.post-footer .comment button.comment-reply-to:hover {background-color:#777;color:#fff;}

.post-footer .comment button.comment-reply-to:before {
  content: "";
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-family: FontAwesome;
  font-feature-settings: normal;
  font-kerning: auto;
  font-language-override: normal;
  font-size: 1.1em;
  font-size-adjust: none;
  font-stretch: normal;
  font-style: normal;
  font-synthesis: weight style;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;}
  text-rendering: auto;
  margin-left:0;
  margin-right:5px;
}
.post-footer .new-comments {margin-top:20px;}

/* ========================== */
/* = case studies blog type = */
/* ========================== */

.case-studies .field-name-field-tags .field-item {
  clear:both;
}
.case-studies h1.view-title {text-align:center;}
.case-studies .featured-image-wrapper {padding:25px;text-align:center;}
.case-studies .node-readmore {margin:20px 0;}
.case-studies article.node.node-article footer {border-bottom:0;}
.case-studies article {border-bottom:1px solid #dedede;padding-bottom:10px;}
/*** blog tabs ***/

.t-top{position:relative;overflow:hidden;}
.t-top .tabs-body-wrapper,
.t-top .tabs-body-wrapper .tabs-body {height:500px;}
.t-top .tabs-body-wrapper .tabs-body{overflow:scroll;top:50px;}
.t-top .blog-tabs {
  padding:0;
  -webkit-box-shadow: 0px 2px 5px -2px #555;
          box-shadow: 0px 2px 5px -2px #555; 
          background-color: #fff;
          display: flex;
          height: 48px;
          margin: 0 auto;
          position: relative;
          white-space: nowrap;
}
.case-studies .case-studies-cta {
    text-align:center;
    margin: 320px 0 0 0;
}
.t-top .blog-tabs li {
  list-style:none;
  display: block;
   flex-grow: 1;
   float: left;
   height: 48px;
   letter-spacing: 0.8px;
   line-height: 48px;
   margin: 0;
   overflow: hidden;
   padding: 0;
   text-align: center;
   text-overflow: ellipsis;
   text-transform: uppercase;
 }
.t-top .blog-tabs .tab {
  cursor:pointer;
  color:#999;
  font-size:.85rem;
  border-bottom:2px solid transparent;
}

@media only screen and (max-width: 1240px){.t-top .blog-tabs .tab {font-size:.8vw;}}
@media only screen and (max-width: 600px) {.t-top .blog-tabs .tab {font-size:.9rem;}}
.t-top .blog-tabs-wrapper .moving-border {
  border-bottom:2px solid #168ABC;
  width:33.3%;
  position:relative;
  top:-2px;
  -webkit-transition: all 0.3s ease-in-out; 
          transition: all 0.3s ease-in-out; 
}

.t-top.first .blog-tabs-wrapper .moving-border {
  left:0;
}
.t-top.second .blog-tabs-wrapper .moving-border {
  left:33.3%;
}
.t-top.third .blog-tabs-wrapper .moving-border {
  left:66.6%;
}
.blog-tabs .tab:hover {
  color:#444;
  border-bottom:2px solid #444;
}

.blog-tabs .tab.on {
  color:#333;

}


.t-top .tabs-body {
  display:block;
  position:absolute;
  top:40px;
  -webkit-transition: all 0.3s ease-in-out; 
          transition: all 0.3s ease-in-out; 

}

.t-top.first #tabs-1-body.tabs-body{left:0;}
.t-top.second #tabs-1-body.tabs-body{left:-100%;}
.t-top.third #tabs-1-body.tabs-body{left:-200%;}
.t-top.first #tabs-2-body.tabs-body{left:100%;}
.t-top.second #tabs-2-body.tabs-body{left:0;}
.t-top.third #tabs-2-body.tabs-body{left:-100%;}
.t-top.first #tabs-3-body.tabs-body{left:200%;}
.t-top.second #tabs-3-body.tabs-body{left:100%;}
.t-top.third #tabs-3-body.tabs-body{left:0;}

.t-top .hs-rss-item,
.t-top .tabs-body ul li {
  border-bottom:1px solid #ddd;
  margin-bottom:5px;
  padding-bottom:5px;
}

.t-top .hs-rss-item:last-child,
.t-top .tabs-body ul li:last-child {
  border-bottom:1px solid transparent;
}
.t-top .tabs-body ul {
  padding:0;
}
.t-top .tabs-body ul li {
  list-style:none;
}
.t-top .tabs-body a {
  position:relative;
  left:0;
  -webkit-transition: all 0.3s ease-in-out; 
          transition: all 0.3s ease-in-out; 
}
.t-top .tabs-body a:hover {
  left:10px;
}

article.node.node-article footer {
  padding-bottom:20px;
  margin-bottom:20px;
  border-bottom:1px solid #eee;
  margin-top:30px;
  min-height: 75px;
}
article.node.node-article:last-child footer {
  border-bottom:1px solid transparent;
}

.hs ul.links.inline {padding-left:0;}

.blog-cta {text-align:center;}

/** hubspot menu fixes **/

/*hubspot menu colors */
#hubspot-menu-wrapper {background-color:#1C75BC;}
#hubspot-menu-wrapper .hs-menu-wrapper ul li ul{background-color:#1C75BC;}


/** general menu styling **/

.thriftstore-location #hubspot-menu-wrapper .hs-menu-wrapper ul:first-child {
  justify-content:end;
}

#hubspot-menu-wrapper .hs-menu-wrapper ul:first-child {
  display:flex;
}

#hubspot-menu-wrapper .hs-menu-wrapper ul li {text-align:center;width:100%;position:relative;float:left;list-style:none;}
#hubspot-menu-wrapper .hs-menu-wrapper ul li:hover {background-color:rgba(0,0,0,.2);}
#hubspot-menu-wrapper .hs-menu-wrapper ul a {font-size:.9rem;color:#fff;text-transform:uppercase;display:inline-block;width:100%;
  -webkit-transition: all 0.3s ease-in-out; 
          transition: all 0.3s ease-in-out; 
          position:relative;
}
#hubspot-menu-wrapper .hs-menu-wrapper ul a:hover {color:#fff;}


/* second and third level spacing */
#hubspot-menu-wrapper .hs-menu-wrapper ul li ul{width:250px;border:1px solid #fff;}
#hubspot-menu-wrapper .hs-menu-wrapper ul ul ul{left:249px;border:1px solid #fff;}
/* hubspot menu level 2 **/
#hubspot-menu-wrapper .hs-menu-wrapper ul li.hs-menu-depth-1 ul {position:absolute;display:none;visibility:hidden;opacity:0;-webkit-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;padding:0;text-align:left;}
#hubspot-menu-wrapper .hs-menu-wrapper ul li.hs-menu-depth-1:hover ul {visibility:visible;opacity:1;display:block;}
#hubspot-menu-wrapper .hs-menu-wrapper ul ul li {text-align:left;display:block;}
#hubspot-menu-wrapper .hs-menu-wrapper ul ul li:hover {background:none;}
#hubspot-menu-wrapper .hs-menu-wrapper ul ul a {
  display:block;
  -webkit-transition: all 0.3s ease-in-out; 
          transition: all 0.3s ease-in-out; 
          top:0;
          position:relative;
}
#hubspot-menu-wrapper .hs-menu-wrapper ul ul a:hover {color:#fff;padding:0 0 0 25px;}
#hubspot-menu-wrapper .hs-menu-wrapper ul ul li.hs-item-has-children:after{-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:FontAwesome;font-feature-settings:normal;font-kerning:auto;font-language-override:normal;font-size:1.1em;font-size-adjust:none;font-stretch:normal;font-style:normal;font-synthesis:weight style;font-variant:normal;font-weight:normal;line-height:1;text-rendering:auto;margin-left:0;position:absolute;right:10px;top:20px;content:"\f0da";}
/** hubspot menu level 3 **/
#hubspot-menu-wrapper .hs-menu-wrapper ul ul ul {
  top:-1px;
}
#hubspot-menu-wrapper .hs-menu-wrapper ul ul li.hs-menu-depth-2 ul {position:absolute;display:none !important;visibility:hidden;opacity:0;-webkit-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;padding:0;text-align:left;}
#hubspot-menu-wrapper .hs-menu-wrapper ul ul li.hs-menu-depth-2:hover ul {visibility:visible;opacity:1;display:block !important;}


#hubspot-menu-wrapper .hs-menu-wrapper ul li {

}
#hubspot-menu-wrapper .hs-menu-wrapper ul li li{
float:none;
}

#hubspot-menu-wrapper .hs-menu-wrapper .hs-menu-children-wrapper {

}

.nav-button .menu-text {
    top: -4px; }
    
    
    
/** tabs for case-studies pages **/
    
.tab-section-wrapper-top {
  text-transform:uppercase;
  color:#fff;
}

.tab-section-wrapper-top .tab-section-top .tab-icons {
  padding:10px;
  text-align:center;
}

.tab-section-wrapper-top .tab-section-top .tab-icons img {
  position:relative;

  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.tab-section-wrapper-top .tab-section-top .tab-icons:hover {
  cursor:pointer;
  position:relative;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.tab-icons {
  background:#384146;
}
.tab-icons.active {
  background:#48545A;
}
.tab-icons:hover {
  background:#505D64;
}

.tab-section-bottom {
  background-color:#fff;
}

.tab-section-bottom {
  position:relative;
}

.tab-section-bottom .tab-text {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  background-color:#fff;
  z-index:0;
  padding-bottom:30px;
}


.tab-section-bottom .tab-section.active {
  /*z-index:10;*/
  opacity:1;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.tab-section {background:tan;top:0;width:100%;opacity:0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
  
#first-tab-section {background:#fff;position:relative;}  
#second-tab-section {background:#fff;position:absolute;} 
#third-tab-section {background:#fff;position:absolute;} 
#fourth-tab-section {background:#fff;position:absolute;} 
    
@media only screen and (max-width : 600px) {
  .preface-wrapper .caption h1, #hs_cos_wrapper_hero_banner .caption h2 {font-size:5vw; line-height:4vw;}
  .preface-wrapper .caption h3 {font-size:2.5vw;line-height:1.6vw;}
  .preface-wrapper .caption a {font-size:1.4vw;line-height:24px;padding:.9vw 1.5vw;}
  .hs_cos_wrapper_type_image_slider .superimpose .caption {top:0;}
  
    .mobile-full-width {
     display:block !important;
     clear:both !important;
     float:none !important;
     width:100% !important;
     max-width:300px;
     text-align: center;
     margin:0 auto;
    }
 }


@media only screen and (min-width : 601px) {
  .hero-wrapper .superimpose .caption,
  .video-wrapper .caption {
    top:50px;
  }

}
@media only screen and (min-width : 993px) {
  .hs .sidebar-second.form.form-right-of-content {background-color:#fdfdfd;padding:0 20px 20px;margin-top:20px;float:left;width:50%;}
  .hs .side-by-side .content-region .field-name-field-image {margin-top:20px;}
}

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

}

@media only screen and (max-width: 992px) {
  article.node.node-article footer {
    min-height:100px;
  }
}