/**
* Theme Name: WP Pro Real Estate 7 Child
* Description: This is a child theme of WP Pro Real Estate 7, generated by Real Estate 7.
* Author: <a href="https://www.contempothemes.com/">Contempo Themes</a>
* Template: realestate-7
* Version: 3.1.8
*/


/*Custome code*/

/* CT Modern 6 Item Grid Elementor Module */
.modern-item-grid .col.span_4 {
    width: 32.333%;
    margin: 6px;
    border-radius: 20px;
}

/* Header */
header#masthead .ct-menu > li > a {
    padding: 25px 20px;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 15px;
}

body:not(.home) header#masthead .logo-wrap.span_2,
body:not(.home) header#masthead .logo-wrap.span_3{
    height: 108px;
    overflow: inherit;
}
#header-wrap{
   transition: all 0.35s ease-in-out
}
body:not(.home) #header-wrap.darkHeader {
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    border: 0;
}
body:not(.home).logged-in #header-wrap.darkHeader {
    top: 32px !important;
}
body:not(.home) #header-wrap.darkHeader {
    background: rgba(79,80,82,0.7) !important;
    transform: none;
    opacity: 1;
}

#header-wrap,
header#masthead .ct-menu > li > a,
header#masthead .logo-wrap.span_2,
header#masthead .logo-wrap.span_3 {
   transition: all 0.35s ease-in-out;
}

body:not(.home) .darkHeader header#masthead .ct-menu > li > a{
    padding:  15px 20px;
    color: #fff;
}

body:not(.home) .darkHeader header#masthead .logo-wrap.span_2, .darkHeader header#masthead .logo-wrap.span_3 {
    height: 90px;
}

body:not(.home) .darkHeader header#masthead .logo-wrap img.logo {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    transform: scale(0.85);
}
body:not(.home) #header-wrap {
    background: #fff;
    position: fixed;
    top: 32px;
    left: 0;
    width: 100%;
}
.home header#masthead .ct-menu > li:hover > a {
    border-top-color: #333;
}
body:not(.home) .darkHeader header#masthead .ct-menu > li > a:hover,
body:not(.home) .darkHeader .ct-menu li.current-menu-item a,
body:not(.home) .darkHeader .ct-menu li.current_page_parent a {
    border-top-color: #fff !important;
}
body #header-wrap:not(.sticky) nav > ul.ct-menu > li:hover > a,
body #header-wrap:not(.sticky) .ct-menu li.current-menu-item > a,
body #header-wrap:not(.sticky) .ct-menu li.current-menu-ancestor > a {
    border-color: #ffffff !important;
}

nav ul.ct-menu .sub-menu li:hover > a,
.ct-menu .sub-menu li.current-menu-ancestor > a,
.ct-menu .sub-menu li.current-menu-parent > a,
.ct-menu .sub-menu li.current-menu-item > a {
    background: #171819;
}

.ctlp .search-btn,
.header-style-three .user-data-count-alert,
.user-drop .my-listings-count,
.user-drop .user-data-count,
.ct-menu .sub-menu > li > a:hover {
    background-color: #171819 !important;
}

.ctlp .btn-dropdown {
    border-color: #171819;
    color: #171819;
}

/* Header Search */
#header-search-wrap,
#advanced_search.header-search {
    background: #fff;
}
#header-search-wrap {
    border-top: 1px solid #d5d9dd;
    border-bottom: 1px solid #d5d9dd;
}

/* Links */
.hero a,
.cta a {
    color: #fff;
}

a {
    position: relative;
}

/* Apply Hover Underline to Bolded Links Only (a > strong) */
a strong:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 2px;
    background: #3f8384;
    position: absolute;
    left: 0px;
    bottom: -1px;
    transition: 0.2s ease-in;
}
a:hover strong:after {
    width: 100%;
}
.hero a strong:after,
.cta a strong:after {
    background: #fff;
}

/* Forms */
.lrg-input input {
    border-radius: 0;
}
.col.span_6.lrg-input {
    width: 48%;
    margin-left: 4%;
}
form.wpcf7-form input[type="submit"],
form.wpcf7-form .lrg-input input[type="submit"] {
    background: none;
    border: 1px solid #121212;
    border-radius: 0 !important;
    color: #121212;
    text-transform: uppercase;
    font-weight: 800 !important;
    font-size: 17px;
    line-height: 1.2em;
}
form.wpcf7-form input[type="submit"]:hover,
form.wpcf7-form .lrg-input input[type="submit"]:hover {
    background: #121212;
    color: #fff;
}

/* Listing Price */
.listing-price-wrap p.price,
li.listing.modern .price,
li.listing.modern_two .price a,
li.listing.modern_two .price a:visited {
    color: #171819;
}
li.listing.minimal p.price {
    background: #171819;
}

/* Listing Single */
.single-listings #listing-sections li {
    padding: 0 1.5%;
    font-size: 14px;
}

/* Blog */
.category-blog #header-search-wrap,
.single-post #header-search-wrap {
    display: none;
}

/* Widgets */
aside ul.user-nav li {
    border-color: #171819;
}

/* Compare Listings */
.alike-content thead {
    background: none;
}
footer.footer nav ul li a,
footer.footer p.marB0 {
    font-size: 14px;
}
header#masthead .logo-wrap img.logo {
    height: 80px;
    width: auto;
    max-width: 100%;
}

header#masthead .logo-wrap {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 10px 0;
}
.sticky header#masthead .logo-wrap {
    padding-top: 20px;
}

body #single-header h2, body #archive-header h2 p {
    font-family: "Libre Baskerville";
}
body {
    font-family: "Libre Baskerville" !important;
}
.ct-menu .sub-menu > li > a,
.listing .grid-listing-info .price * {
    font-family: 'Raleway';
}
li.listing.modern_two .grid-listing-info .location {
    font-size: 12px;
}

/*---------*/
.h-areas-listing ul.row.first > li {
    width: 50% !important;
    margin: 0;
    float: left;
}

.h-areas-listing ul.row.first  .clear {
    display: none;
}
.h-areas-listing ul.row.first > li > figure {
    height: 180px;
}
.h-areas-listing ul.row.first > li .listing-price,
.h-areas-listing ul.row.first > li .listing-price-postfix {
    font-size: 18px;
}
.h-areas-listing ul.row.first > li ul li {
    font-size: 12px;
}
.h-areas-listing ul.row.first > li .listing-title {
    font-size: 13px;
    margin-top: 6px;
}
.h-areas-listing ul.row.first > li header {
    padding: 10px;
}
.h-areas-listing ul.row.first > li .location {
    font-size: 11px;
}
.h-areas-listing ul.row.first > li .search-view-listing {
    line-height: 32px;
    height: 30px;
}
.h-areas-listing ul.row.first > li .grid-agent-info {
    display: none;
}
.h-our-endorse-col .elementor-swiper .swiper-slide {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.h-our-endorse-col .elementor-swiper .swiper-slide .elementor-testimonial__footer {
    display: none;
}
.h-our-endorse-col .swiper-container {
    position: relative;
}
.h-our-endorse-col .swiper-container:before {
    content: "";
    background: #999999;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: calc(100% - 10px);
}
.h-our-endorse-col .swiper-container:after {
    content: "";
    background: #414042;
    position: absolute;
    left: 0;
    top: 0px;
    width: calc(100% - 10px);
    height: 100%;
}
.h-our-endorse-col .elementor-swiper .elementor-testimonial__footer img {
    width: 100px;
    height: 100px;
    border: 8px solid #414042;
}
.h-our-endorse-col .elementor-swiper .elementor-testimonial__image {
    position: relative;
}

.h-our-endorse-col .elementor-swiper .elementor-testimonial__image:after {
    content: "";
    width: 85px;
    height: 85px;
    border-radius: 50%;
    position: absolute;
    left: 6px;
    top: 7px;
    z-index: -9;
    box-shadow: 30px -1px 0 0 #999999;
}


/*news media post*/
.media-post-news article.post {
    border: 0;
}
.media-post-news article.post .elementor-post__avatar {
    top: 20px;
    left: -20px;
}
.media-post-news article.post .elementor-post__avatar .avatar {
    transform: none;
    width: 35px;
    height: 35px;
}
.media-post-news article.post .elementor-post__title {
    padding-left: 45px;
}
.media-post-news article.post .elementor-post__thumbnail__link {
    margin-bottom: 0;
}
.media-post-news article.post .elementor-post__text {
    padding: 0px 15px 15px;
}
.media-post-news article.post .elementor-post__text .elementor-post__read-more {
    background: #2261a4;
    padding: 0;
    margin: 0;
    padding: 0px 10px;
}
.media-post-news article.post .elementor-post__text .elementor-post__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-post-news article.post .elementor-post__text .elementor-post__title {
    height: 32px;
    overflow: hidden;
    margin-bottom: 25px;
}

.media-post-news article.post .elementor-post__meta-data {
    border: 0;
    position: absolute;
    bottom: 155px;
    padding: 0px 15px 0px 60px;
    width: 100%;
    font-size: 10px;
}

.media-post-news article.post .elementor-post__card {
    position: relative;
}
body#home.home #main-content.trans-header {
    position: relative;
    top: 0px !important;
}
#header-wrap-placeholder {
    height: auto !important;
}
body:not(.home.search-listings) header#masthead .logo-wrap.has-sticky-logo > a:not(.sticky-logo) img.logo {
    filter: brightness(0) invert(1);
}
/*header*/
#header-wrap .container {
    max-width: 1180px;
    margin: 0 auto;
}
header#masthead .ct-menu > li:not(:first-child) > a:after {
    content: '';
    width: 1px;
    height: 20px;
    background: #fff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
body:not(.home) #header-wrap-placeholder {
    background-image: url(/wp-content/uploads/2022/06/home-perfomed-num-scaled.jpg);
    min-height: 311px;
    position: relative;
    background-position: center 65%;
    background-size: cover;
    background-repeat: no-repeat;
}

body:not(.home) #header-wrap-placeholder:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
}

header#masthead {
    z-index: 9999;
    position: relative;
}

body:not(.home) #header-wrap {
    background: transparent;
}
body:not(.home) header#masthead .ct-menu > li > a {
    color: #fff;
}
/*footer*/

footer.footer.muted {
    display: none;
}
.custom-footer .first-col .elementor-icon-box-content p{
    max-width: 250px
}
.custom-footer .first-col .elementor-widget:not(:last-child) {
    margin-bottom: 10px;
}
.media-post-news .elementor-posts-container article.elementor-post {
    padding: 15px;
}



@media (min-width: 1280px){
    header#masthead .ct-menu > li {
        min-width: 85px;
        text-align: center;
    }
    
}
@media (min-width:  1025px){
	.h-our-endorse-col .swiper-container {
	    position: relative;
	    top: 80px;
	}

}
@media only screen and (min-width: 1024px) and (max-width: 1440px) {
    /* Header > Nav */
    .header-style-three .ct-menu > li > a {
        font-size: 13px;
        padding: 0 10px;
    }
}		


@media (min-width:  992px) and (max-width: 1199px){
	.h-areas-listing ul.row.first > li {
	    width: 25% !important;
	}
	.h-areas-listing ul.row.first > li .search-view-listing {
	    position: relative;
	    left: 10px;
	    margin-top: 10px;
	}
}

@media(max-width: 1199px){
	.media-post-news article.post .elementor-post__meta-data {
	   display: none;
	}
	#masthead nav.left ul, #masthead nav.right ul, #nav-full-width, .col-title {
	    display: none;
	}
	.show-hide {
	    display: inline-block !important;
	    position: absolute;
	    top: 28px;
	    right: 0;
	    font-size: 16px;
	    border-radius: 3px;
	    padding: 3px 12px;
	    color: #fff !important;
	}
	header#masthead .logo-wrap.col {
	    width: 100% !important;
	    margin-left: 0 !important;
	}
	#header-wrap.sticky header#masthead {
	    -webkit-transition: all 0.3s ease;
	    -moz-transition: all 0.3s ease;
    	transition: all 0.3s ease;
	}

	#header-wrap.sticky.to-left header#masthead {
	    margin-left: -280px;
	}
}


@media (min-width: 768px) and (max-width:  991px){
	.custom-footer .elementor-container .elementor-column {
	    width: 50%;
	}
	.custom-footer .first-col .elementor-widget-container {
	    text-align: left;
	}
}
@media (max-width:  567px) {
	.h-areas-listing ul.row.first > li {
	    width: 100% !important;
	    margin: 8px 0;
	}
	.custom-footer .first-col .elementor-icon-box-content p {
	    max-width: 100%;
	}
	.custom-footer .sec-col .elementor-widget-wrap.elementor-element-populated,
	.custom-footer .third-col .elementor-widget-wrap.elementor-element-populated,
	.custom-footer .fourth-col .elementor-widget-wrap.elementor-element-populated {
	    padding: 20px 0 0 !important;
	}
	.custom-footer .third-col .elementor-widget-container {
	    padding-right: 0 !important;
	}
	.custom-footer .first-col .elementor-widget-container{
	    text-align: center;
	    max-width: 210px;
	    margin: 0 auto 20px !important;
	}
	body .custom-footer .first-col .elementor-icon-box-icon {
	    margin-bottom: 0;
	}

	.custom-footer .first-col  .elementor-widget-social-icons .elementor-widget-container {
	    margin-bottom: 0 !important;
	    padding-top: 0 !important;
	}

	.custom-footer .first-col .broker-text .elementor-widget-container {
	    margin: 0px auto !important;
	}

}