/*
You can add your own CSS here.

Click the help icon above to learn more.
*/


.portfolio_page-template-default .content {
	z-index: 1;
}
.jp-relatedposts-post-context,
.jp-relatedposts-post-date {
	display: none !important;
}
.jp-relatedposts-post-img {
	width: 100%;
}
#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post {
	opacity: 1;
	padding-right: 35px !important;
}
#jp-relatedposts {
  margin: 1em auto;
  padding-top: 1em;
  position: relative;
  max-width: 1280px;
}
.jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
	font-size: 20px !important;
	padding-top: 15px;
}


span.hide{display:none!important}
.portfolio_title a {
    text-transform: uppercase;
}

.blog_holder.blog_standard_type article h2 {
    display: block;
}

/* Custom Page */

body.page-id-218344 .wpb_content_element.wpb_single_image img {
    vertical-align: middle;
    padding: 20px;
}

.custom-row {
    margin-bottom: 50px !important;
}

/* Fixing form */

#product_testimonials .hbspt-form label span {
    visibility: initial !important;
}

#Newsletter label {
    display: initial !important;
}

/* Footer Change */

.footer_top_holder {
    background-color: #fff;
}

.footer_top a, .footer_top p, .footer_top li, .footer_top .textwidget, .footer_top .widget_recent_entries>ul>li>span {
    color: #000;
    line-height: 2.1;
}

.footer_top .widget p {
    color: #000;
    margin: 0 0 2em;
    font-family: Montserrat,sans-serif;
    font-weight: 400;
    font-family: 'Jost', sans-serif !important;
    font-size: 19px;
}

footer.footer_border_columns .footer_top .qode_column {
    border-left: none;
}

.footer_bottom_holder_inner {
    background-color: #fff;
}

/* Blog Changes */

@media (max-width: 540px) {
.blog_single.blog_holder.blog_standard_type article h2 {
    padding-bottom: 20px !important;
}

.blog_single .post_text p, .blog_single .post_text li {
    text-align: left;
}
.comment_list #comments {
    margin: 20px 10px;
	  font-size: 16pt;
}
.comment_list ol, .comment_list ul {
    margin: 20px;
}
}

/* Portfolio */

body.page-portfolio .title_outer {
    display: none;
}

body.page-portfolio .blog_holder:not(.blog_single) article p.post_excerpt {
    display: none;
}

body.page-portfolio .blog_holder article {
    height: 300px !important;
}

body.page-portfolio .blog_holder.masonry article {
    Margin: 0 0 24px;
}

body.page-portfolio .blog_holder.masonry article .post_text h4 {
    font-size: 22px;
    text-align: center;
    margin: 20px 0;
}

body.page-portfolio  .blog_holder article h4 a {
    color: #222;
    text-transform: capitalize;
}

nav.main_menu>ul>li:last-child>a:after {
    display: none;
}

.blog_slider_simple_holder {
    margin: 0 0 30px;
}

nav.main_menu>ul>li>a>span.item_inner {
    padding: 0 19px;
}

@media (max-width: 768px) {
body.page-portfolio .blog_holder article {
    height: 250px !important;
		min-height: 250px;
}
body.page-portfolio .blog_holder.masonry {
    width: 100% !important;
}
}

@media (max-width: 540px) {
body.page-portfolio .blog_holder article {
    height: 300px !important;
		min-height: 300px;
}
body.page-portfolio .blog_holder.masonry {
    width: 100% !important;
}
}

/* Infographics */

body.category-infographics .title_outer {
    display: none;
}

body.category-rebgv .title_outer, body.category-fvreb .title_outer, body.category-creb .title_outer, body.category-vreb .title_outer, body.category-vireb .title_outer, body.category-rae .title_outer   {
    display: none;
}

.blog_holder article h2 a, .blog_holder article h4 a {
    font-size: 20px;
    color: #2e2e2e;
    word-spacing: initial;
    line-height: 30px;
    font-weight: normal;
    text-transform: initial;
}

body.blog .title_outer {
    display: none;
}

body.category-infographics .post_text {
    margin: 30px 0 20px;
}

body.category-rebgv .blog_holder article, body.category-fvreb .blog_holder article, body.category-creb .blog_holder article, body.category-vreb .blog_holder article, body.category-vireb .blog_holder article, body.category-rae .blog_holder article  {
    height: 440px;
}

body.category-infographics .blog_holder article {
    height: 440px;
}

/* Real Estate Boards */

body.page-template-boards .easy > div > h1 {
    margin: 0.5em 0;
}

.blog_holder.blog_standard_type article h2 {
	height: auto !important;
}

/* Fixing Titles */

h2 {
text-transform: initial !important;
}

.post_text_inner h1 {
text-align: center;
}

#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img {
display: none;
}

.portfolio_title a:before {
    content: "VIEW TEMPLATE ";
}

.wp-block-social-links {
display: -webkit-inline-flex !important;
margin: 0 auto;
}