@import url('https://fonts.googleapis.com/css?family=Hind:300,400,500,600,700');

body.custom-blog,
.custom-blog h1,
.custom-blog h2,
.custom-blog h3,
.custom-blog h4,
.custom-blog h5{font-family: 'Hind',sans-serif !important;}

.header-social li a {width: 30px;display: block;text-align: center;font-size: 14px;}
.header-social li.yahoo {margin-right: -2px;}

.custom-blog .hero-section h1{font-size:36px;line-height:46px;font-weight:600;}

.custom-blog .header-container {background:#fff;box-shadow:10px 0 25px -1px rgba(0, 0, 0, 0.05); }
.custom-menu-primary .hs-menu-wrapper > ul > li > a {color:#2e2e2e;}
.valley-footer-background {background: #fff !important;}
.posts-listing-wrapper{padding:50px 0px;}
.posts-listing-wrapper .page-center{padding:0px 60px;}
.listing-outer-wrapper {padding:0px 0 20px 0;box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.2);margin-bottom: 40px;}
.post-header h3 {font-weight: 600;font-size: 26px;color: #4c4c4c;line-height: 36px;margin-bottom: 5px;text-transform: uppercase;}
.post-header h3 a, .post-header h3 a:hover{color: #4c4c4c;} 
.post-listing{padding:0 0px;}
.blog-listing-wrapper .post-listing .post-item {max-width: 33.3%;float: left;padding:0px 0 15px 0;position: relative;}
.blog-listing-wrapper .post-listing .post-item .post-inner-wrapper {padding:20px;border:solid 2px #fff;height:100%;}
.blog-listing-wrapper .post-listing .post-item .post-inner-wrapper:after {content: "";background: #28894b;position: absolute;top: 80px;right: 0px;width: 2px;height: 70%;}
.remove-after:after {width:0 !important;}
.post-body{color:#4c4c4c;}
.blog-listing-wrapper .post-listing .post-item:nth-child(3n+1) {clear:left;}
.blog-listing-wrapper .post-listing .post-item:nth-child(2n+1) {clear:right;}
.blog-listing-wrapper .post-listing .post-item:nth-child(3n) .post-inner-wrapper:after {display:none !important;}
.more-link-wrapper {bottom: 20px !important;left:0;right:0;text-align:center} 

.blog-listing-wrapper .post-listing .post-item .post-inner-wrapper:hover .more-link {background-color: #0b5586;border: 2px solid #0b5586;position: relative;color: #fff;transition: background-color 300ms ease-out;}*/
.hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {margin:0 !important;}
.post-table td {
    border: 1px solid #000;
    display: table-cell;
    margin: 0px;
    border-left: unset;
    border-top: unset;
}
ol.dashed {
    list-style: none;
}
.hs-featured-image-wrapper {width: 100%;height: 239px;background-size: cover !important;overflow: hidden;margin-bottom: 20px;}
.hs-featured-image-wrapper .hs-featured-image-link { display: block; }
.hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image{
    border-width: 0;
    max-height: 300px;
    max-width: 100%;
    display: inline-block !important;
    float: none!important;
    margin: 10px 0px 10px 0px;
}

/* Read More Link */
.more-link-wrapper {text-align:center;margin: 15px 0;}

.more-link {background: transparent;color: #0b5586;font-size: 18px;text-transform: uppercase;padding: 14px 21px;border: 2px solid #0b5586;display: inline-block;cursor: pointer;width: 100%;max-width: 200px;outline: none;vertical-align: middle;text-align: center;position: relative;overflow: hidden;font-weight: 600;
	transition: color 0.1s cubic-bezier(0.16, 0.08, 0.355, 1), background 0.1s cubic-bezier(0.16, 0.08, 0.355, 1);
  -webkit-transition: color 0.1s cubic-bezier(0.16, 0.08, 0.355, 1), background 0.1s cubic-bezier(0.16, 0.08, 0.355, 1);
	-moz-transition: color 0.1s cubic-bezier(0.16, 0.08, 0.355, 1), background 0.1s cubic-bezier(0.16, 0.08, 0.355, 1);
	-o-transition: color 0.1s cubic-bezier(0.16, 0.08, 0.355, 1), background 0.1s cubic-bezier(0.16, 0.08, 0.355, 1);
}
.more-link:hover, .more-link:focus {background-color: #0b5586;border: 2px solid #0b5586; position: relative;color:#fff !important;
  transition: background-color 300ms ease-out;
	-webkit-transition: background-color 300ms ease-out;
  -moz-transition: background-color 300ms ease-out;
  -o-transition: background-color 300ms ease-out;
}
.more-link span {display: inline-block;position: relative;will-change: transform;
	transition: all 300ms ease-out;
  -webkit-transition: all 300ms ease-out;
  -moz-transition: all 300ms ease-out;
  -o-transition: all 300ms ease-out;
}
.hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {margin-top:0 !important;}
.post-inner-wrapper:hover .hs-featured-image-wrapper .hs-featured-image {-webkit-filter: grayscale(1);margin-top:0;}

.post-inner-wrapper:hover .hs-featured-image-wrapper:before {
    -webkit-transform: skew(45deg) translateX(0%);
    -moz-transform: skew(45deg) translateX(0%);
    -ms-transform: skew(45deg) translateX(0%);
    -o-transform: skew(45deg) translateX(0%);
    transform: skew(45deg) translateX(0%);
    z-index: 1;
      -webkit-filter: grayscale(0) !important; 
}

.post-inner-wrapper:hover .hs-featured-image-wrapper:after {
    -webkit-transform: skew(45deg) translateX(0%);
    -moz-transform: skew(45deg) translateX(0%);
    -ms-transform: skew(45deg) translateX(0%);
    -o-transform: skew(45deg) translateX(0%);
    transform: skew(45deg) translateX(0%);
  -webkit-filter: grayscale(0) !important;
}

.post-inner-wrapper .hs-featured-image-wrapper:after, .post-inner-wrapper .hs-featured-image-wrapper:before {
    background: rgba(40,138,75,0.50);
    position: absolute;
    content: '';
}
/*.post-inner-wrapper .hs-featured-image-wrapper:after, .post-inner-wrapper .hs-featured-image-wrapper:before {
    background: rgba(40,138,75,0.75);-webkit-filter: grayscale(0) !important;}*/


.hs-featured-image-wrapper:after, .hs-featured-image-wrapper:before {
    width: 200%;
    height: 200%;
    -webkit-transition: all .6s ease;
    -moz-transition: all .6s ease;
    transition: all .6s ease;
}
.hs-featured-image-wrapper:before {
    -webkit-transform: skew(45deg) translateX(100%);
    -moz-transform: skew(45deg) translateX(100%);
    -ms-transform: skew(45deg) translateX(100%);
    -o-transform: skew(45deg) translateX(100%);
    transform: skew(45deg) translateX(100%);

}
.hs-featured-image-wrapper:after {
    -webkit-transform: skew(45deg) translateX(-100%);
    -moz-transform: skew(45deg) translateX(-100%);
    -ms-transform: skew(45deg) translateX(-100%);
    -o-transform: skew(45deg) translateX(-100%);
    transform: skew(45deg) translateX(-100%);
  top:0;
}
.hs-featured-image-wrapper{position:relative;}
.blog-pagination {text-align: center;display: inline-block;width: 100%;padding: 0 20px;}
.post-listing-simple{display:inline-block;}
.simple .featured-post {display: none;}
.simple .listing-outer-wrapper {padding-bottom:0 !important;} 

/* Featured Aritcle Style */

.featured-article{width: 100%; border: solid 2px #288a4b;display: inline-block;margin-bottom: 60px;}
.featured-article .hs-featured-image-wrapper {width: 50%;float: left;margin-bottom: 0;height:364px;}

@-moz-document url-prefix() {
  .featured-article .hs-featured-image-wrapper{height:368px;}
}

.featured-article .post-body {width: 50%;float: left;padding:20px 20px 20px 30px;}
.featured-article h2, .featured-article h2 a {font-size: 42px;line-height: 52px;color: #4c4c4c;font-weight:600;     text-transform: uppercase;}
.featured-article .more-link {background: #288a4b;border: solid 2px #288a4b;color: #fff;font-weight: 400;max-width: 225px;margin-top: 15px;/*font-size: 18px;padding: 12px 20px;*/}
.featured-article .more-link:hover {background: #fff;color:#288a4b !important;}


.news-blog .featured-article h2, 
.news-blog .featured-article h2 a {
    color: #7C928C;
    font-weight: 300;
}
.news-blog .post-header h3 a, 
.news-blog .post-header h3 a:hover {
    color: #7C928C;
    font-weight: 300;
}
.news-blog .featured-article .post-body p,
.news-blog .blog-listing-wrapper .post-listing .post-item .post-body p {
  text-align:left !important;
    font-size: 16px !important;
    color: #474747 !important;
}
.news-blog .featured-article .post-body p strong,
.news-blog .blog-listing-wrapper .post-listing .post-item .post-body p strong {
    font-weight: 500;  
}
.news-blog .featured-article .post-body p span, 
.news-blog .blog-listing-wrapper .post-listing .post-item .post-body p span {
    color: #474747 !important;
}

/* Search Section */
.search-icon {text-align: center;max-width: 60%;margin: 0 auto;margin-bottom: 60px;position: relative;}
.search-icon #search {font-family: 'Hind',sans-serif !important;border: solid 2px #288a4b;text-align: center;background: url(https://5109481.fs1.hubspotusercontent-na1.net/hubfs/5109481/Blog/search-icon.svg);background-position: 58% center;background-repeat: no-repeat;background-size: 20px;font-size:18px;}
.search-icon #search:hover, .search-icon #search:focus {box-shadow:none;}
.cross-hide {display:none;}
.search-active {background: none !important;}
.cross-show {position: absolute;top: 7px;right: 14px;font-size: 24px;display:block;}

/*Single Post */

.hs-blog-listing .related-posts-wrapper {display: none !important;}
/*.hs-blog-post .related-posts-wrapper {display: block !important;}*/ 
.hs-blog-post .hero-section, .hs-blog-post .featured-post {display: none;}
.hs-blog-post .single-blog-hero-image-wrapper {margin-top:-53px;}
.hs-blog-post .single-blog-hero-image-wrapper h1 {padding: 0;text-align: center;font-size: 36px;font-weight: 600;line-height:46px;}
.hs-blog-post .single-blog-hero-image-wrapper h2 {padding: 0;text-align: center;font-size: 36px;font-weight: 500;line-height:46px;color:#fff;}
.hs-blog-post .single-blog-hero-image-wrapper .overlay {padding: 10% 0;background: rgba(0,0,0,0.5);}
.hs-blog-post .post-body {padding-top:40px;}
.hs-blog-post .post-body h1{font-size:36px; line-height:46px;}
.hs-blog-post .post-body h2{font-size:28px; line-height:38px;}
.hs-blog-post .post-body p {margin: 25px 0;}
.hs-blog-post .post-body img {margin: 0px 15px 15px 15px !important;}
.related-posts-wrapper .page-center{padding:0 60px 60px;}
.related-posts-wrapper .post-header h3 {text-align: center;}
.related-posts-wrapper .listing-outer-wrapper, .related-posts-wrapper .listing-outer-wrapper .post-item {padding-bottom: 0;}
.not-found {padding:20px;text-align:center;}
/*.not-found:last-child {display:block;}*/
.not-found:not(:first-child){display:none;}

.valley-footer-background.iner h3 a {
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Hind',sans-serif;
    line-height: 14px;
    color: #000;
}
.valley-footer-background.iner h3 a:hover{
  color: #0c435a;
}
.valley-footer-background a{
  color: #000;
}
.valley-footer-background a:hover{
  color: #0c435a;
}
.valley-footer-background p{
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
}
.post-header a{
  color:#0076a3;
}


.hs-blog-post .post-body .left-img {
    float: left;
    margin: 0px 20px 20px 0px !important;
}
.hs-blog-post .post-body .right-img {
    float: right;
    margin: 0px 0px 20px 20px !important;
}
.hs-blog-post .post-body .left-img img,
.hs-blog-post .post-body .right-img img {
  margin:0px !important;
}
.hs-blog-post .post-body em {
    font-weight: 500;
}
.hs-blog-post .post-body strong em {
    font-weight: 700;
}
.hs-blog-post .post-body ol {
    padding: 0px 0px 0px 15px;
}
.hs-blog-post .post-body ol li,
.hs-blog-post .post-body ul li {
  margin-bottom:5px;
}
.hs-blog-post .post-body a {
    color: #3574e3;
}

@media(max-width:575px){
  .right-img img {
    width: 100% !important;
    padding-bottom: 20px;
}
  .left-img img {
    width: 100% !important;
    padding-bottom: 20px;
}
}
@media(max-width:1200px){
  /*.featured-article .hs-featured-image-wrapper {width: 44%;}
  .featured-article .post-body {width: 56%;}*/
  .hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {max-width:130%;}
}
@media(max-width:1080px){
  /*.featured-article .hs-featured-image-wrapper {width: 39%;}
  .featured-article .post-body {width: 61%;}*/
  .featured-article .hs-featured-image-wrapper {width: 47%;}
  .featured-article .post-body {width: 53%;}
}
@media (max-width: 1150px){
/*   .custom-menu-primary .hs-menu-wrapper>ul>li>a{
    padding: 11px 6px 8px 7px;
  } */
}
@media(max-width:1000px){
  .featured-article .hs-featured-image-wrapper {width: 100%;}
  .featured-article .post-body {width: 100%;padding:20px;}
  .search-icon #search {background-position: 62% center;}
  .hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {max-width:140%;}
}
@media(max-width:991px){

.blog-listing-wrapper .post-listing .post-item {max-width:50%;}
  .blog-listing-wrapper .post-listing .post-item:nth-child(2n) {clear: inherit;}
  .blog-listing-wrapper .post-listing .post-item:nth-child(2n) .post-inner-wrapper:after {display:none !important;}
  .blog-listing-wrapper .post-listing .post-item:nth-child(2n + 1) .post-inner-wrapper:after {display:block !important;}

}
@media(max-width:767px){
  .post-main{
    overflow:scroll !important;
  }
.post-table {
    width: 766px !important;
}
  .blog-listing-wrapper .post-listing .post-item {max-width: 100%;width:100%;}
  .blog-listing-wrapper .post-listing .post-item:nth-child(2n) .post-inner-wrapper:after {display:none !important;}
  .blog-listing-wrapper .post-listing .post-item:nth-child(2n + 1) .post-inner-wrapper:after  {display:none !important;}
  .hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {max-width: 100%;width: 100%;height: auto !important;max-height: 100%!important;}
  .search-icon #search {background-position: 65% center;}
  .posts-listing-wrapper .page-center, .page-center, .related-posts-wrapper .page-center {padding: 0px 15px;}
  
.hs-blog-post .post-body .left-img,
.hs-blog-post .post-body .right-img {
    margin: 0px auto 20px !important;
    float: none !important;
    display: block !important;
  }
}


@media(max-width:575px){
  .search-icon #search {background-position: 62% center;}
  .featured-article .more-link {margin: 15px auto 0 !important;display: block;}
  .search-icon {max-width: 100%;}
  .hero-section h1{padding:10px;}
  .left-img,
  .right-img {
    float: none;
    margin: 0px 0px 20px 0px;
    text-align: center;
}
}
@media(max-width:480px){
  .search-icon #search {background-position: 64% center;}
  .hs-featured-image-wrapper .hs-featured-image-link img.hs-featured-image {max-width:130%;width:130%;}
  .featured-article h2, .featured-article h2 a {font-size: 22px;line-height: 32px;}
  .hero-section h1{font-size: 26px !important;line-height: 36px;}
  
}
@media(max-width:480px){
  .search-icon #search {background-position: 66% center;}
}