/* ******************************************************************************
*********************************************************************************
This file contains all the neccessary styles for your blog. The styles included
are for the listing and post templates, featured images and pagination.
Also for the post meta infromation like tags, author and published date
*********************************************************************************
****************************************************************************** */

a {
  text-decoration: none;
}

p{margin-bottom:1.86rem !important}


/* TODO: Find a better place for this */
.content-wrapper {
  padding-left: 15px;
  padding-right: 15px; 
  margin: 0 auto;
}

.blog-header {
background:transparent !important;
  text-align: left !important;
}

.blog-header__inner {
  max-width:58.33333333%;
 padding-left: 6.1vw; 
    margin-top: 10vw;
}

@media (min-width: 360px) and (max-width: 768px) {
  .blog-header__inner {
    margin-top:20vw;
  }
  
  .blog-index__post {
    padding: 1rem 0 !important;
}
}


.blog-header__title {
/*   font-size: 2rem; */
  font-family: poppins, helvetica,sans-serif!important;
  max-width: 46.25rem;
  border: 0 dashed #000;
}
.blog-header__subtitle {
/*   margin: 1rem 0 2rem; */
  font-size: 1.563rem!important;
    line-height: 2.625rem!important;
    letter-spacing: 0!important;
    margin-top: 2.125rem;
    margin-bottom: .813rem;
}

.blog-header__form {
  margin: 0 1rem;
}

@media screen and (min-width: 768px) {
  .blog-header__form {
    width: 500px;
    margin: 0 auto;
  }
}

.blog-index {
  display: flex;
  flex-wrap: wrap;
  padding: 3.3rem 0;
}
.blog-index:after {
  content: "";
  flex: auto;
}
.blog-index__tag-header {
  flex: 1 0 100%;
  padding: 1rem;
}
.blog-index__tag-subtitle {
  font-size: 1.16rem;
  line-height: 1.1;
}
.blog-index__tag-heading {
  padding-bottom: 1rem;
  border-bottom: 3px solid #D1D6DC;
}
.blog-index__post {
  flex:  0 0 100%;
  padding: 1rem;
}
@media screen and (min-width: 768px) {
  .blog-index__post {
    flex: 0 0 50%;
  }
}
@media screen and (min-width: 1000px) {
  .blog-index__post {
    flex: 0 0 30%;
  }
}
@media screen and (min-width: 768px) {
  .blog-index__post--large {
    flex: 1 0 100%;
    display: flex;
    justify-items: space-between;
  }
}
.blog-post img {
  max-width: 100%;
}
.blog-index__post-image {
  display: block;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding-bottom: 63%;
  background-image: url('');
    }
@media screen and (min-width: 768px) {
  .blog-index__post-image--large {
    flex: 1 1 100%;
    padding-bottom: 0;
  }
  .blog-index__post-content--large {
    flex: 1 1 100%;
    padding-left: 2rem;
  }
  .blog-index__post-image--large {
    flex: 1 1 48%;
  }
  .blog-index__post-content--large {
    flex: 1 1 48%;
    padding-left: 2rem;
  }
}
.blog-index__post-content h2 {
  margin:.5rem 0 1.313rem 0;
}
.blog-index__post-content--small h2 {
  font-size: ;
}
.blog-index__post-content p {
};
}
.blog-index__post-content a,
.blog-index__post-content a:hover{
  color: #333;
}
.blog-index__post img {
  max-width: 100%;
  height: auto;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: ;
  margin-bottom: 3.3rem;
}
.blog-pagination__link {
  display: inline-flex;
  padding: .25rem .4rem;
  margin: 0 .1rem;
  color: ;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
  border-radius: 7px;
}
.blog-pagination__link--active {
  border: 2px solid #B0C1D4;
}
.blog-pagination__link:hover,
.blog-pagination__link:focus {
  text-decoration: none;
}
.blog-pagination__prev-link,
.blog-pagination__next-link {
  display: inline-flex;
  align-items: center;
}
.blog-pagination__prev-link {
  text-align: right;
  margin-right: .25rem;
}
.blog-pagination__next-link {
  text-align: left;
  margin-left: .25rem;
}
.blog-pagination__prev-link--disabled,
.blog-pagination__next-link--disabled {
  color: #B0C1D4;
  pointer-events: none;
  cursor: default;
}
.blog-pagination__prev-link svg,
.blog-pagination__next-link svg {
  fill: ;
  margin: 0 5px;
}
.blog-pagination__prev-link--disabled svg,
.blog-pagination__next-link--disabled svg {
  fill: #B0C1D4;
}
.blog-pagination__number-link:hover,
.blog-pagination__number-link:focus {
  border: 2px solid #B0C1D4;
}

.blog-header__author-avatar {
  height: 200px;
  width: 200px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 50%;
  box-shadow: 0 0 12px 0 rgba(0,0,0,0.15);
  margin: 0 auto 1.5rem;
}
.blog-header__author-social-links a {
  display: inline-block;
  position: relative;
  background-color: #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 5px;
}
.blog-header__author-social-links a:hover {
  background-color: ;
}
.blog-header__author-social-links svg {
  fill: #fff;
  height: 15px;
  width: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* .blog-post {
  max-width:1024px;
  margin: 0 auto;
  padding: 3.3rem 0;
} */
.blog-post h1 {
  font-size: 2.25rem;
  line-height:4.063rem !important;
}
.blog-post__meta {
  margin:1rem 0 4rem 0;
  color:#aaa;
}
.blog-post__meta a {
  color:#aaa !important;
  text-decoration: underline;
}

.blog-post__tags {
  font-family: ;
  color: #000;
}
.blog-post__tags svg {
  width: 15px;
  height: auto;
  margin-right: 10px;
}
.blog-post__tag-link {
  font-size: .8rem;
  color: #000;
}

.blog-recent-posts {
  margin-top: 3rem;
  background-color: ;
  padding: 2rem 0;
}
.blog-recent-posts h2 {
  text-align: center;
}
.blog-recent-posts__list {
  display: flex;
}
.blog-recent-posts__post {
  display: block;
  flex:  0 0 100%;
  color: ;
  padding: 1rem;
}
@media screen and (min-width: 768px) {
  .blog-recent-posts__post {
    flex:  0 0 calc(100%/2);
  }
}
@media screen and (min-width: 1000px) {
  .blog-recent-posts__post {
    flex:  0 0 calc(100%/3);
  }
}
.blog-recent-posts__post:hover {
  text-decoration: none;
}
.blog-recent-posts__image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding-bottom: 63%;
}
.blog-recent-posts__title {
  margin: 1rem 0 .5rem;
}

.blog-comments {
  max-width: 680px;
  margin: 0 auto;
}
.blog-comments form {
  max-width: 100%;
}
.blog-comments .hs-submit {
  text-align: center;
}
.blog-comments .hs-button {


}
.blog-comments .hs-button:hover {

}
.blog-comments .comment-reply-to {
  border: 0 none;
}
.blog-comments .comment-reply-to:hover {
  background-color: transparent;
  text-decoration: underline;
  color: ;
}

/*             Blog Listing with Sidebar            */

.post-item .page-center{
  display: -webkit-flex; /* Safari */
  display: flex; /* Standard syntax */
  margin-bottom: 20px;
}
.post-item .page-center .span4, .post-item .page-center .span8 {
  -webkit-flex: 1; /* Safari */
  -ms-flex: 1; /* IE 10 */
  flex: 1; /* Standard syntax */
}
.post-item .page-center .span8 {
  flex-basis: 31.914893614%;

}
img.featured-image {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover;
}
@media(max-width: 480px){
  .blog-post img {
    width: 100% !important;
    float: none !important;
  }
}

/*             Blog Grid Listing            */

.blog-index__post.blog-index__post--small {
  display: flex;
}

.blog-index__post-inner-card {
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  border-radius: 5px;
  background: #fff;
}

.blog-index__post-image {
  border-radius: 5px 5px 0 0;
}

.blog-index__post-inner-card .blog-index__post-content {
  display: flex;
  flex-direction: column;
  padding: 24px 30px 30px 30px;
  height: 100%;
}

.blog-post__tag-link,
.blog-post__tags {
  font-size: 12px;
  font-weight: 200;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01rem;
}

.blog-post__tag-link:hover{
  text-decoration: none;
}

.blog-index__post-content--small h2 {
  font-size: 18px;
  line-height: 26px;
}
.blog-index__post-content--small h2 a{
  color: #333;
}
.blog-index__post-content--small h2 a:hover {
  text-decoration: none;
  transition: all .5s;
  color: #333;
}

.blog-post__meta-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 30px;
  font-size: 14px;
}

.blog-post__read-more a:hover {
  text-decoration: none;
}

.read-more__arrow {
  position: relative;
  top: 3px;
  padding-left: 10px;
}

.blog-post__read-more svg {
  width: 15px;
  height: auto;
}

.blog-post__read-more a svg {
  -webkit-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  transition: all 0.15s linear;
}

@media screen and (max-width: 767px) {
  .blog-index.sidebar {
    padding: 1rem 0;
    padding-bottom: 3.3rem;
  }
}

/*             Blog Grid Listing with Sidebar            */

.blog-index.sidebar {
  display:flex;
}

@media screen and (min-width: 1000px) {
  .blog-index.sidebar .blog-index__post {
    flex: 0 0 calc(100%/2);
  }
}

@media screen and (max-width: 999px) {
  .blog-index.sidebar .blog-index__post {
    flex: 0 0 calc(100%/1);
  }
}

.blog-sidebar {
  padding-top: 3.9rem;
}

@media screen and (max-width: 767px) {
  .blog-sidebar {
    padding: 2rem 1rem;
    padding-bottom: 0;
  }
}

.blog-sidebar h3 {
  margin-bottom: 20px;
  font-size: 21px;
  font-weight: 600;
  line-height: 37px;
}

.blog-sidebar ul {
  padding: 30px;
  margin: 0 0 40px 0;
  list-style: none;
  border-radius: 5px;
  background: #fff;
}

.blog-sidebar ul li {
  padding: 10px 0;
  border-top: 1px solid #dfddd9;
  font-weight: 600;
}

.blog-sidebar ul li:first-child {
  border-top-color: transparent;
}

.blog-sidebar a {
  text-decoration: none;
}

.blog-sidebar a:hover {
  text-decoration: none;
}

.blog-sidebar .filter-link-count {
  display: none;
}

.blog-sidebar .filter-expand-link {
  position: relative;
  top: -15px;
  display: block;
  margin-bottom: 25px;
  text-transform: capitalize;
  text-align: center;
}

.blog-sidebar-post-listing ul li {
  padding-left: 2.3em;
  line-height: 24px;
  text-indent: -2.3em;
}

.blog-sidebar-post-listing li:before {
  position: relative;
  width: 22px;
  float: left;
  content: counter(list-item);
  margin-right: 25px;
  font-size: 36px;
  font-weight: 600;
}

.blog-sidebar-post-listing li a {
  position: relative;
  top: -3px;
}

.blog-pagination.span12 {
  display: flex;
  margin-left: 0;
}

/* Mobile Blog Sidebar */

@media(max-width: 767px) {
  .hs-blog-listing .content-wrapper > .row-fluid {
    display: flex;
    flex-direction: column;
  }

  .hs-blog-listing .span3 {
    order: 1;
  }

  .hs-blog-listing .span9 {
    order: 2;
  }

  .hs-blog-listing .blog-pagination {
    order: 3;
  }

  .blog-sidebar.mobile .blog-sidebar-topic-filter ul,
  .blog-sidebar.mobile .blog-sidebar-post-listing ul {
    visibility: hidden;
    opacity: 0;
    transition: all 5s;
    display: none;
  }

  .blog-sidebar.mobile .blog-sidebar-topic-filter h3,
  .blog-sidebar.mobile .blog-sidebar-post-listing h3 {
    cursor: pointer;
  }
  .blog-sidebar.mobile .blog-sidebar-topic-filter h3:after,
  .blog-sidebar.mobile .blog-sidebar-post-listing h3:after {
    content: "+";
    padding-left: 6px;
  }

  .blog-sidebar.mobile .blog-sidebar-topic-filter.clicked h3:after,
  .blog-sidebar.mobile .blog-sidebar-post-listing.clicked h3:after {
    content: "-";
    padding-left: 7px;
  }

  .blog-sidebar.mobile .clicked ul {
    display: block;
    visibility: visible;
    transition: all 1s;
    opacity: 1;
  }
}

/* Blog Subscription Section */

.subscription-form {
  display: block;
  margin: 0 auto;
  padding: 60px 0;
  width: 40%;
  text-align: center;
}

@media (max-width: 767px) {
  .subscription-form {
    width: 85%;
  }
}
@media (max-width: 767px) {

  .hs_recaptcha {
    margin: 15px 0;
    overflow-y: auto;
    width: auto;
    min-height: 80px;
  }
} 
.subscription-form label {
  text-align: center;
}

/*             Blog Post Layout          */

.post-featured-image {
  margin-bottom: -110px;
  margin-left: -30px;
  margin-right: -30px;
  min-height: 300px;
  background-size: cover;
  border-radius: 5px;
  margin-top: 40px;
  background-position: center center;
}

.blog-post {
  display:flex;
  position: relative;
  width: 90%;
  margin: 0 auto;
/*   padding: 84px 40px 80px 50px;  */
     padding: 84px 5% 80px 5%; 
  background: #fff;
/*   border-radius: 5px; */
}

@media (max-width: 768px){
.blog-post {
  display:flex;
  flex-flow:column;
  }
  
  .post-card{margin:0 !important;padding:0}
  
}

.blog-post__body{
  line-height:2.125rem !important;
}

.blog-post.no-image {
  margin-top: 50px;
}

.blog-post__title {
 font-size:2.563rem!important;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing:0 !important;
}

.blog-post__meta a {
  text-decoration: none;
}

.blog-post__links {
  display: block;
  padding: 26px 0;
  margin-top: 20px;
}

.blog-post__back-to-blog {
  text-decoration: none;
}

.blog-post__back-to-blog svg {
  position: relative;
  top: 6px;
  margin-right: 10px;
  width: 20px;
  -webkit-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  transition: all 0.15s linear;
}

@media (max-width: 767px) {
  .blog-post {
    width: 100%;
    padding: 30px;flex-flow:column;
  }
}

/* Blog Comments */

.blog-comments {
  max-width: 100%;
}

.comment.depth-0:first-child {
  margin-top: 2em;
}

.comment.depth-1 {
  padding-left: 2em;
  padding-top: 1em;
  margin-top: 1em;
}

.blog-comments form {
  margin-top: 2em;
  padding-top: 2em;
}

/* Related Articles */

.blog-recent-posts__list {
  flex-wrap: wrap;
}

.blog-recent-posts .blog-index__post-content h2 {
  text-align: left;
}

.blog-recent-posts .blog-post__meta-section {
  justify-content: flex-end;
}


.blog-index__post-content--small h2{
  font-size: 1.5rem!important;
  line-height: 2.10rem;
  font-weight:400 !important;
}

.blog-index__post-content--small{
font-size:1.12rem !important;
}

.subscription-form .hs-field-desc{margin: 0px 0px 6px;
    font-size: 14px;}

.subscription-form {border-color: rgba(51,51,51,1.0);
    color: rgba(51,51,51,1.0);
    border-radius: 3px;
}

.subscription-form .hs-button{
  background-color: rgba(73,74,82,1.0);
    border-color: rgba(73,74,82,1.0);
    border-radius: 6px;
    border-width: 1px;
    color: rgba(255,255,255,1.0);
  margin:10px 0;
    
}