/* @font-face {
  font-family: 'Averta Bold', sans-serif;
  src: url('https://f.hubspotusercontent30.net/hubfs/4094189/Fonts/Intelligent%20Design%20-%20AvertaPE-Bold.otf');
  font-weight: bold;
}
 */

@font-face {
  font-family: 'averta-regular';
  src: url('https://f.hubspotusercontent30.net/hubfs/4094189/EPM_May2019%20Theme/Fonts/averta_regularregular/averta-regular-webfont.eot') format('eot');
}

@font-face {
  font-family: 'averta-bold';
  src: url('https://f.hubspotusercontent30.net/hubfs/4094189/EPM_May2019%20Theme/Fonts/avertabold/averta-bold-webfont.eot') format('eot');
}

.blog-listing-post-content p {
    font-size: 1rem !important;
    color: var(--grey);
    text-align: left !important;
    font-weight: normal !important;
}

.post-content ul {
    list-style: none;
    padding-left: 0;
}

.post-content li:before {
    height: 2px;
    width: 10px;
    background: #1381BE;
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 14px;
}

.post-content li {
    position: relative;
    padding-left: 22px;
}

.post-share svg {
    height: 24px;
    width: 24px;
}

.post-share a {
    height: 46px;
    width: 46px;
    background: #3b597b;
    border-radius: 100%;
    margin: 0 10px;
    padding: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .3s ease;
}

.post-share svg * {
    fill: white;
}

.post-share a:hover {
    background: #ff4874;
}

.blog-post-tags {
	text-align: center;
}

.blog-post-tags a {
	font-weight: normal;
	color: #3c597b;
}

.blog-post-tags {
    margin-left: 20px;
}

.blog-meta-top>div {
    display: flex;
    align-items: center;
}

.blog-meta-top>div svg {
    margin-right: 6px;
    fill: #ff4874;
}

.blog-post-blog a {
    color: #3c597b;
}

.blog-meta {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0 auto;
	background: #f7f7f7;
	padding: 30px;
}

.blog-listings .blog-meta {
  flex-flow: row wrap;
}

.blog-meta-single {
	margin-right: 40px;
	display: flex;
	align-items: center;
	width: 33.3%;
}

.blog-meta-single:nth-last-child(1) {
	margin-right: 0;
}

.blog-listings .blog-meta-single:nth-child(1) {
    width: 100%;
    margin-right: 0;
    margin-bottom: 12px;
}

.blog-listings .blog-meta-single:nth-child(2) {
    margin-right: 20px;
}

.blog-meta-image img {
	width: 54px;
	height: 54px;
	border-radius: 100%;
	object-fit: cover;
  max-width: inherit;
}

.blog-meta-content>p {
	margin-top: 0;
	line-height: 20px;
	margin-bottom: 0px;
}

.blog-meta-image {
	margin-right: 20px;
}

.blog-meta-image svg {
	height: 54px;
	width: 54px;
	background: #3b597b;
	border-radius: 100%;
	padding: 12px;
	fill: #fff;
  max-width: inherit;
}

.blog-meta-image svg path {
	color: #fff !important;
}

.blog-meta-content>*:nth-last-child(1) {
	color: #3b597b;
	font-weight: bold;
}

.blog-post-featured-image img {
	width: 100%;
	height: 295px;
	object-fit: cover;
	object-position: center;
}

.blog-post-contents {
	max-width: 1000px;
  width: 90%;
	margin: 0 auto;
	margin-top: -40px;
	background: white;
	padding: 30px;
	z-index: 999;
	position: relative;
}

.blog-post-contents-inner {
	width: 95%;
	margin: 0 auto;
}

.blog-post-contents h1 {
	color: #3b597b;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 40px;
}

.blog-post-contents h2,.blog-post-contents h3 {
	font-size: 26px;
	margin-bottom: 0;
	font-weight: bold;
}

.blog-post-contents p {
	margin-top: 6px;
}

.button {
	padding: 4px 11px;
	display: inline-flex;
	align-items: center;
	border-radius: 10px;
	transition: .3s ease;
	border: solid 2px;
}

.blog-button {
	background: #ff4874;
	border-color: #ff4874;
}

.blog-button span {
	color: white;
	font-weight: bold;
	transition: .3s ease;
	font-size: 14px;
}

.blog-button svg {
	fill: white;
	margin-left: 7px;
	transition: .3s ease;
}

.blog-button:hover {
	background: transparent;
}

.blog-button:hover * {
	color: #ff4874;
	fill: #ff4874;
}

.blog-recent-posts {
	background: #f7f7f7;
	padding: 70px 0;
}

.blog-recent-posts>div {
	width: 90%;
	margin: 0 auto;
}

.blog-recent-posts>div>h2 {
	text-align: center;
	font-weight: bold;
	margin-bottom: 70px;
}

.blog-recent-post {
	width: 33.3%;
	display: inline-block;
	background: #fff;
	margin-right: 40px;
	position: relative;
}

.recent-posts-wrapper {
	display: flex;
	align-items: stretch;
}

.blog-recent-post-image img {
	height: 260px;
	width: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.blog-recent-post-content h3 {
	margin-top: 0;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: 20px;
}

.blog-recent-post-content {
	padding: 30px;
}

.blog-recent-post:nth-last-child(1) {
	margin-right: 0;
}

.blog-recent-post-image>a {
	position: absolute;
	font-size: 12px;
	background: white;
	top: 10px;
	padding: 0 10px;
	color: #3b597b;
}

.post-share {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 70px 0 50px 0px;
}

.post-share img {
    height: 30px;
    width: 30px;
    margin: 0 5px;
}

#main-header .custom-header .span12.widget-span.widget-type-cell.page-center {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 30px;
}

#main-header .widget-span.custom-menu-wrapper {
    margin-top: -30px !important;
}

#main-header #hs_cos_wrapper_module_1558586977773793_ {
    display: inline-block;
}

.body-container-wrapper {
    padding-top: 0px !important;
}

#main-footer .row-number-4>.row-fluid {
    display: flex;
}

#main-footer .custom-footer>div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.blog-listing-post-content p * {
    color: var(--grey)!important;
}

/* Blog listing CSS */

.blog-listing-header {
    background: #3b597b;
    padding: 70px 0;
    text-align: center;
}

.blog-listing-header-inner {
    width: 1080px;
    margin: 0 auto;
}

.blog-listing-header-inner * {
    color: #fff;
}

.blog-listing-header-inner h1 {
    margin: 0;
    font-weight: bold;
}

.blog-listing-post {
	width: calc(33.3% - 26.3px);
	display: inline-block;
	background: #f7f7f7;
	margin-right: 40px;
	position: relative;
  margin-bottom: 40px;
}

.blog-listing-post:nth-child(3n) {
    margin-right: 0;
}

.recent-listing-wrapper {
	display: flex;
	align-items: stretch;
}

.blog-listing-post-image img {
	height: 260px;
	width: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
  cursor: pointer;
}

.blog-listing-post-content h3 {
	margin-top: 0;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: 20px;
  cursor: pointer;
}

.blog-listing-post-content {
	padding: 30px;
}

.blog-listing-post-image>.blog-listing-post-tags {
	    position: absolute;
    font-size: 12px;
    background: transparent;
    top: 0px;
    padding: 0 10px;
    color: #ffffff;
    width: 100%;
}

.blog-listing-post-image {
  position: relative;
}

.blog-recent-post-tags {
    position: absolute;
    top: 0;
    background: transparent;
    width: 100%;
      color: white;
    left: 10px;
    font-size: 14px;
}

.blog-recent-post-tags>* {
    font-size: 14px;
    color: #fff;
}

.blog-listing-post-tags a {
    text-transform: capitalize;
  color: #fff;
}

.blog-listing-post-image:before, .blog-recent-post-image:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgb(19 36 91 / 11%) 65%, rgb(2 2 2) 120%);
}

.blog-recent-post-image {
  position: relative;
}

.blog-listings {
    display: flex;
    flex-flow: row wrap;
    padding: 70px 0;
    width: 90%;
    margin: 0 auto;
}

.blog-listing-post-content {
    background: #f7f7f7;
}

.blog-listings .blog-meta {
    padding: 0;
    margin-bottom: 30px;
}

.blog-listings .blog-meta-image img {
    max-width: inherit;
    width: 30px;
    height: 30px;
}

.blog-listings .blog-meta-image svg {
    height: 30px;
    width: 30px;
    padding: 5px;
    display: block;
    max-width: inherit;
}

.blog-listings .blog-meta-content>* {
    font-size: 11px;
    line-height: 15px;
}

.blog-listings .blog-meta-image {
    margin-right: 6px;
    display: flex;
    align-items: center;
}

.blog-listings .blog-meta-content>a {
    display: block;
}

.blog-listings .blog-meta-single {
    margin-right: 10px;
    width: auto;
}

#topic_search {
    padding-top: 70px;
    text-align: center;
}

#all-topics {
    width: 240px;
    border: solid 3px #3b597b;
    border-radius: 0;
    display: block;
    margin: 0 auto;
    position: relative;
    content: '';
    display: block;
    background-position: right .7em top 50%, 0 0;
    background-repeat: no-repeat;
    background-image: url(https://403daa3bt54w4d2h9m4b1cmy-wpengine.netdna-ssl.com/wp-content/uploads/2019/10/sort-down.svg);
    background-size: .65em auto, 100%;
}

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

.blog-navigation .blog-pagination__number-link {
    display: inline-flex;
    height: 20px;
    width: 20px;
    align-items: center;
    justify-content: center;
    background: #e5e5e5;
    border-radius: 100%;
    padding: 15px;
    color: #3b597b;
    margin: 0 8px;
}

.blog-navigation .blog-pagination__number-link.blog-pagination__link--active {
    background: #3b597b;
    color: white;
}

.blog-pagination__next-link--disabled, .blog-pagination__prev-link--disabled {
    opacity: 0.3;
}

.blog-listing-post-content .hide-nbsp {
    display: none;
}

.blog-listing-post-content p span {
    font-family: 'averta_regularregular',sans-serif !important;
}

.post-content ol li:before {
    display: none;
}

.post-content ol li {
    padding-left: 0;
}

.post-content ul:first-of-type ul *:before {
    display: none;
}

.post-content ul:first-of-type ul * {
    padding-left: 0;
}

.blog-listing-author-header {
    display: flex;
    align-items: center;
}

.blog-listing-author-header img {
    height: 400px;
}

.blog-listing-author-content {
    text-align: left;
    margin-left: 70px;
}

.blog-listing-author-socials {
  display: none;
}

#topic_search {
    display: flex;
    align-items: center;
    justify-content: center;
}

#all-topics {
    display: inline-block;
    margin: 0;
    margin-right: 20px;
}

#topic_search .hs-search-field__input {
    margin-bottom: 0;
    border: solid 3px #3b597b;
    border-radius: 0;
    color: #4a4a4a;
    width: 240px;
}

#topic_search .hs-search-field__input::placeholder {
    color: #4a4a4a;
}

.blog-post-blog a {
    text-transform: capitalize;
}

.blog-post-blog a span {
    opacity: 0;
}

.blog-meta-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

/* Responsive */

@media (max-width: 1320px) {
  .blog-listings .blog-meta-single {
    flex-direction: column;
    margin: 0;
    width: 33.3%;
}
}

@media (max-width: 1200px) {
  .blog-listing-post {
    width: calc(50% - 20px);
}

.blog-listing-post:nth-child(3n) {
    margin-right: 40px;
}

.blog-listing-post:nth-child(2n) {
    margin-right: 0;
}
}


@media (max-width: 767px) {
  .blog-post-contents {
    margin-top: 0;
    padding: 30px 0;
    z-index: 0;
}
  
  #topic_search {
    flex-direction: column;
}

#all-topics {
    margin-right: 0;
    margin-bottom: 23px;
}

#topic_search .hs-search-field__input {
    width: 100%;
}

section#topic_search>form {
    width: 90%;
}
  
  .blog-listing-author-header {
    flex-direction: column;
}

.blog-listing-author-content {
    margin-left: 0;
    text-align: center;
    margin-top: 30px;
}
  
  .blog-listing-header-inner {
    width: 90%;
}

#all-topics {
    width: 90% !important;
}

.blog-post-featured-image img {
    height: 420px;
}

.blog-meta {
    padding: 15px;
    background: transparent;
}

.blog-meta-single {
    margin-right: 0;
    flex-direction: column;
    text-align: center;
}

.blog-meta-image {
    margin-right: 0;
}

.blog-meta-single:nth-last-child(1) {
    margin-bottom: 0 !important;
}

.recent-posts-wrapper {
    flex-direction: column;
}

.blog-recent-post {
    width: 100%;
    margin-right: 0 0 !important;;
    margin-bottom: 40px;
}

.blog-post-contents h1 {
    font-size: 28px;
}

.blog-post-contents h2, .blog-post-contents h3 {
    font-size: 20px;
}

.blog-recent-posts>div>h2 {
    font-size: 28px;
    margin-top: 0;
}
  
  
.blog-listing-post {
    width: 100%;
    margin-right: 0 !important;;
}
  
  .blog-listing-post-content .blog-meta-single {
    align-items: flex-start;
}

.blog-listings .blog-meta-single {
    width: auto;
    flex-direction: revert;
}
  
  .blog-meta-top {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border-bottom: solid 2px #f7f7f7;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.blog-post-tags {
    margin-left: 0;
    margin-top: 14px;
}
}

@media (max-width: 680px) {
  .blog-post .blog-meta {
    flex-direction: column;
    align-items: flex-start;
}

.blog-post .blog-meta-single {
    flex-direction: row;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.blog-post .blog-meta-image {
    margin-right: 20px;
}
}