/*
 Theme Name:   WPResidence Child Theme
 Theme URI:    https://themeforest.net/item/wp-residence-real-estate-wordpress-theme/7896392
 Description:  WPResidence child theme
 Author:       WpEstate
 Author URI:   http://wpestate.org
 Template:     wpresidence
 Version:      5.4.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--red-color: #D32F2F;
	--graySecondary-color: #54595F;
}

.property_listing .listing-unit-img-wrapper,
.property_listing .carousel {
	max-height: none;
}

.elementor-kit-26 button,
.elementor-kit-26 input[type="button"],
.elementor-kit-26 input[type="submit"],
.elementor-kit-26 .elementor-button {
	font-weight: 400 !important;
}

.comment-form #submit,
input[type="submit"],
button.wpresidence_button {
	background: var(--red-color) !important;
	border-color: var(--red-color) !important;
}

.comment-form #submit:hover,
input[type="submit"]:hover,
button.wpresidence_button:hover {
	background: transparent !important;
	color: var(--red-color) !important;
}

.wpresidence_button_inverse {
	background: transparent !important;
	color: var(--red-color) !important;
	border-color: var(--red-color) !important;
}

.wpresidence_button_inverse:hover {
	background: var(--red-color) !important;
	color: #fff !important;
}

.text-image-scroller-container .text-image-scroller .text .items {
	padding-left: 5rem;
}

@media (min-width: 1200px) and (max-width: 1440px) {
	.text-image-scroller-container .text-image-scroller .text .items {
		padding-left: 5rem !important;
	}
}

.elementor-widget-WpResidence_Testimonial,
.testimonial-container {
	height: 100%;
}

@media (max-width: 767px) {
	.elementor-counter .elementor-counter-number-prefix {
		flex-grow: 0 !important;
	}
}

.wpresidence_half_map_version_1.wpestate_overlfow {
	overflow: visible !important;
}

.wpresidence_half_map_body_class_with_footer #google_map_prop_list_wrapper {
	height: 100vh !important;
}

@media screen and (max-width: 1200px) {
	.contact_map_container {
		left: 0% !important;
		margin-left: 30px !important;
	}
}

@media screen and (min-width: 767.98px) {
	.half_type1.half_mobile_hide {
		/* display: block !important; */
	}
}

@media screen and (max-width: 768.02px) {
	#google_map_prop_list_sidebar {
		width: 100% !important;
	}
}

.text-image-scroller-container .text-image-scroller .text .items .item::after {
	height: calc(50vh * 1) !important;
}


@media screen and (max-width: 1300px) {
	.title-x {
		padding-left: 2rem;
	}
}

.elementor-icon-list-item.is-active .elementor-icon-list-text {
	color: var(--red-color) !important;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
	background-color: var(--red-color) !important;
	border-color: var(--red-color) !important;
}

.services_item_lagre .blog3v .property_listing_blog {
	max-width: 100% !important;
}

.services_item_grid .blog2v .property_listing_blog {
	display: flex !important;
	flex-direction: column !important;
	max-width: 100% !important;
	border-radius: 20px;
}

.services_item_grid .blog2v .property_listing_blog .blog_unit_image {
	margin: 0px !important;
	margin-bottom: 20px !important;
}

.services_item_grid .blog2v .property_listing_blog img.wp-post-image {
	width: 100% !important;
	max-width: 100% !important;
	max-height: 300px !important;
	object-fit: cover !important;
}

@media screen and (max-width: 767.98px) {
	.services_item_grid .blog2v .property_listing_blog {
		display: block !important;
	}
}

@media screen and (min-width: 1024px) {
	.services_item_grid .blog25_shortcode_wrapper .listing_wrapper:nth-child(2n) {
		padding-left: 23px !important;
	}

	.services_item_grid .blog25_shortcode_wrapper .listing_wrapper:nth-child(2n+1) {
		padding-right: 23px !important;
	}

	.services_item_grid .blog25_shortcode_wrapper .listing_wrapper {
		margin-bottom: 45px !important;
	}
}

.logo-header .wpresidence-site-logo {
	margin: 0 auto;
}

.current_page_item>a {
	color: var(--red-color) !important;
}

.listing-unit-img-wrapper .status-wrapper .ribbon-inside {
	/* display: none !important; */
}

.listing-unit-img-wrapper .status-wrapper .action_tag_wrapper {
	display: none !important;
}

.property-panel#accordion_property_page_views {
	display: none !important;
}



/* // CF7  */
.cf7-form {
	max-width: 760px;
	margin: 0 auto;
}

.form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 22px;
}

.form-group {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.form-group.full {
	flex: 100%;
}

.form-group label {
	font-size: 14px;
	font-weight: 500;
	color: #333;
	margin-bottom: 6px;
}

.form-control {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #e5e5e5;
	border-radius: 14px;
	font-size: 14px;
	background: #fff;
	outline: none;
	transition: all 0.25s ease;
}

.form-control:focus {
	border-color: #d32f2f;
	box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

textarea.form-control {
	min-height: 130px;
	resize: vertical;
}

/* Submit button */

.form-submit {
	margin-top: 10px;
}

.btn-submit {
	width: 100%;
	padding: 16px;
	background: #d32f2f;
	background-color: #D32F2F !important;
	color: #fff;
	border: none;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s ease;
}

body .wpcf7-form input[type=submit] {
	background-color: #D32F2F !important;
	border: 1px solid transparent !important;
}

body .wpcf7-form input[type=submit]:hover {
	background-color: white !important;
	border: 1px solid #D32F2F !important;
}

body .btn-submit:hover {
	background: #b71c1c !important;
}

/* Note */

.form-note {
	margin-top: 20px;
	font-size: 13px;
	color: #777;
}

/* Validation */

.wpcf7-not-valid {
	border-color: #d32f2f !important;
}

.wpcf7-not-valid-tip {
	font-size: 12px;
	color: #d32f2f;
	margin-top: 6px;
}

/* Responsive */

@media (max-width: 768px) {
	.form-row {
		flex-direction: column;
		gap: 16px;
	}
}

.tag-wrapper .featured_div,
.tag-wrapper .ribbon-inside{
	font-size: 16px !important;
	padding: 4px 10px !important;
}

@media screen and (max-width: 1300px) {
	.elementor-counter-number-wrapper {
		font-size: 50px !important;
	}
}


@media screen and (min-width: 1024px) {
	.hero_banner_landmark .elementor-background-video-embed {
		transform: translate(-20%, -40%) !important;
	}
	.hero_banner_sell .elementor-background-video-embed {
		transform: translate(-0%, -50%) !important;
	}
}

.property_listing.property_unit_type8 h4, .property_listing.property_unit_type8 .h4 {
	font-size: 18px !important;
}