/*
 Theme Name:   My Listing New Child
 Theme URI:    http://mylisting.27collective.net/my-city/
 Description:  MyListing New Child Theme
 Author:       27collective
 Author URI:   https://27collective.net/
 Template:     my-listing
 Version:      1.1.1.796481
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  my-listing-child
*/


footer.footer {
	position: relative;
	background: #3f4245 !important;
    /* background-repeat: no-repeat !important;
    background-size: 100% !important;
    background-position: center !important; */
	padding-top: 100px !important;
}

/* footer.footer:after {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background:#242429;
	opacity: 0.3;
	content: '';
}

footer.footer > .container {
	position: relative;
	z-index: 1;
} */

@media (max-width:768px) {
	footer.footer {
		padding-top: 50px !important;
	}
}

.footer .c_widget_title > * {
	font-size: 2rem;
	line-height: 1.3;
	min-height: 55px;
	color: #fff;
}

.footer .menu li {
	padding-bottom: .5rem
}

.footer .menu li a {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 400;
}


.footer .menu li a:hover {
	color: #0D2240;
}

.footer .wp-block-latest-posts__list li {
	padding-bottom: .7rem;
}

.footer .wp-block-latest-posts__list li a {
	color: #fff;
}

.footer .wp-block-latest-posts__list li a:hover {
	color: #0D2240;
}

.footer .wp-block-buttons a {
	border: 1px solid #142E50;
	color: #fff;
}

.footer .wp-block-buttons a:hover {
	background: transparent !important;
	color: #0D2240;
}

@media screen and (max-width: 992px) {
	.footer .c_widget_title > * {
		font-size: 1.75rem;
		line-height: 1.3;
		min-height: 1px;
	}
}

.copyright p, .copyright p a {
	color: #fff;
}

.copyright p a:hover {
	color: #0D2240;
}


.header-search-trigger-button {
    background: #142E50;
    color: #fff;
    border: 1px solid #142E50;
    padding: 10px 20px 10px 10px;
    border-radius: 5px;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all .3s;
}

.header-search-trigger-button:hover {
    background: transparent;
    color: #0D2240;
}

@media (min-width: 992px) {
	.header-search-trigger-button {
		margin-right: 10px;
	}
    .header-search-trigger-button.mobile {
        display: none;
    }
}

@media (max-width: 992px) {
    
    .header-search-trigger-button {
       display: none;
    }

    .header-search-trigger-button.mobile {
        display: flex;
        border-radius: 0;
        min-height: 50px;
        width: 100%;
        justify-content: center;
        background: #142E50 !important;
        color: #fff !important;
        margin-bottom: 1rem;
    }
}

/** Modal **/

.modal-custom {
	position: fixed !important;
	bottom: -100% !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	opacity: 0 !important;
	-webkit-transition: all 0.5s !important;
	-o-transition: all 0.5s !important;
	transition: all 0.5s !important;
	z-index: -9 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
   
}

.modal-close-bg .close {
	position: absolute !important;
    right: 5% !important;
    top: 5% !important;
    cursor: pointer !important;
	opacity: 0 !important;
	transition: all 0.7s !important;
}

.modal-content {
	position: relative !important;
	top: 50% !important;
	left: 50% !important;
	-webkit-transform: translate( -50% , -50%) scale(0.8) !important;
	    -ms-transform: translate( -50% , -50%) scale(0.8) !important;
	        transform: translate( -50% , -50%) scale(0.8) !important;
	max-width: 560px !important;	
	max-height: 98% !important;
	overflow-x: hidden !important;
	overflow-y:auto !important;
	background: #FFFFFF !important;
	/*-webkit-box-shadow: 0px 4px 40px #B8B8B8 !important;
	        box-shadow: 0px 4px 40px #B8B8B8 !important;*/
	padding: 2rem 2.5rem 1.5rem !important;
	-webkit-transition: all 0.5s !important;
	-o-transition: all 0.5s !important;
	transition: all 0.5s !important;
}

.modal-content::-webkit-scrollbar {
  width: 7px !important;
}

/* Track */
.modal-content::-webkit-scrollbar-track {
  background: #7a7a7a75 !important; 
}
 
/* Handle */
.modal-content::-webkit-scrollbar-thumb {
  background: #b3adad !important; 
}

/* Handle on hover */
.modal-content::-webkit-scrollbar-thumb:hover {
  background: #858585 !important; 
}

.modal-header {
	text-align: center !important;
}

.modal-header h2 {
	margin-bottom: 0 !important;
}

.modal-header .modal-title {
    text-align: center;
/*     margin-bottom: 1.5rem; */
}

.modal-header .modal-title h3 {
/* 	font-weight: 600 !important;
    font-size: 32px !important; */
	text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
}
.modal-header p {
	margin: 1rem !important;
}


.modal-header .close:hover path, .modal-header .close:focus path{
	fill: var(--color-custom-sun) !important;
}

.modal-content input[type=submit],
.custom-contact-form  input[type=submit]{
	font-size: 1rem;
	font-weight: 500;
	width: 100% !important;
	background-color: #9F3232;
    padding: 20px 20px 20px 20px;
    color: #ffffff;
    border-style: none;
    border-radius: 100px 100px 100px 100px;
    box-shadow: 0px 0px 0px 0px #FFFFFF;
}
.modal-content .modal-content-submit {
     padding-top: 1.5rem !important;
}

.modal-content .modal-content-submit p {
    display: -ms-grid !important;
    display: grid !important;
}


.activeModal .modal-content {
	-webkit-transform: translate( -50% , -50%) scale(1) !important;
	    -ms-transform: translate( -50% , -50%) scale(1) !important;
	        transform: translate( -50% , -50%) scale(1) !important;
}
.activeModal {
	bottom: 0 !important;
	opacity: 1 !important;
}
.activeModal.modal-custom {
	z-index: 1045 !important;
}

.modal-custom:after {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	height: 100% !important;
	width: 100% !important;
	content: '' !important;
	background: #000 !important;
	opacity: 0 !important;
	transition: all 0.6s ease !important;
	z-index: -1 !important;
}

.activeModal.modal-custom:after {
	opacity: 0.5 !important;
}

.activeModal .modal-close-bg .close {
	opacity: 1 !important;
}

.modal-content input[type="date"], 
.custom-contact-form input[type="date"],
.modal-content input[type="email"], 
.custom-contact-form  input[type="email"],
.modal-content input[type="number"], 
.custom-contact-form  input[type="number"], 
.modal-content input[type="password"], 
.custom-contact-form  input[type="password"], 
.modal-content input[type="search"],
.custom-contact-form  input[type="search"],
.modal-content input[type="tel"],
.custom-contact-form  input[type="tel"],
.modal-content input[type="text"],
.custom-contact-form  input[type="text"],
.modal-content input[type="url"],
.custom-contact-form  input[type="url"],
.modal-content select,
.custom-contact-form select,
.modal-content textarea,
.custom-contact-form textarea {
    height: 60px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.33 !important;
    color: #000000;
    border: 1px solid #c9c9c9 !important;
    border-radius: 5px !important;
}

::placeholder {
    color: #c9c9c9 !important;
}

.modal-content textarea,
.custom-contact-form textarea{
	padding: 15px 20px !important;
}

.modal-content label,
.custom-contact-form label {
    width: 100% !important;
}

.modal-content-type > span.label,
.custom-contact-form  > span.label{
    font-size: 20px !important;
    display: block !important;
    margin-bottom: -1rem !important;
}

.modal-content .modal-content-type .wpcf7-form-control.wpcf7-radio,
.custom-contact-form .wpcf7-form-control.wpcf7-radio{
    display: -ms-grid !important;
    display: grid !important;
    gap: 0.5rem !important;
}

.modal-content .modal-content-type .wpcf7-form-control.wpcf7-radio .wpcf7-list-item,
.custom-contact-form .wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
    margin: 0 0 0 2em !important;
}


.modal-content .modal-content-type .wpcf7-form-control.wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label,
.custom-contact-form .wpcf7-form-control.wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label {
    position: relative !important;
    cursor: pointer !important;
}

.modal-content .modal-content-type .wpcf7-form-control.wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label:before,
.custom-contact-form .wpcf7-form-control.wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label:before{
    position: absolute !important;
    top: 50% !important;
    left: -1.5rem !important;
    -webkit-transform: translateY(-50%) !important;
        -ms-transform: translateY(-50%) !important;
            transform: translateY(-50%) !important;
    content: '' !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    padding: 5px !important;
    -webkit-box-shadow: 0px 0px 0px 2px #000 !important;
            box-shadow: 0px 0px 0px 2px #000 !important;
    background-color: transparent !important;
}
.modal-content .modal-content-type .wpcf7-form-control.wpcf7-radio .wpcf7-list-item input[type="radio"],
.custom-contact-form .wpcf7-form-control.wpcf7-radio .wpcf7-list-item input[type="radio"]{
-webkit-appearance: none !important;
  -moz-appearance: none !important;
     appearance: none !important;
}
.modal-content .modal-content-type .wpcf7-form-control.wpcf7-radio .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label:before,
.custom-contact-form .wpcf7-form-control.wpcf7-radio .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label:before{
    background-color: #000000 !important;
}

@media (max-width: 600px) {
	

	.modal-content {
		top: 0 !important;
		-webkit-transform: translate(-50%, 0%) scale(.8) !important;
		    -ms-transform: translate(-50%, 0%) scale(.8) !important;
		        transform: translate(-50%, 0%) scale(.8) !important;
		max-height: 100% !important;
		padding: 3rem 1.5rem 1.5rem !important;
	}
	.modal-content .wpcf7-form p,
	.custom-contact-form .wpcf7-form p {
		margin-bottom: 0 !important;
	} 
	.modal-content .modal-content-type {
		margin-top: 0.9rem !important;
	}
	.activeModal .modal-content {
	-webkit-transform: translate( -50% , 0) scale(1) !important;
	    -ms-transform: translate( -50% , 0) scale(1) !important;
	        transform: translate( -50% , 0) scale(1) !important;
	}
	.modal-close-bg {
		background: #000 !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 44px !important;
		z-index: 1 !important;
	}
	.modal-close-bg .close {
		top: 10px !important;
	}
}

.modal-custom .tabs-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
}

.modal-custom .btn {
	background: transparent;
    color: #000000;
    border: 1px solid #000000;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: capitalize;
  	display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    max-width: 140px;
    gap: 1rem;
    transition: all .3s;
}

.modal-custom .btn.active-item {
	background: #142E50;
    color: #fff;
    border: 1px solid #142E50;
}


.modal-custom .btn.submit {
	font-size: 1.5rem;
}

#infoModal .modal-content .modal-body {
	margin: 3rem 0;
}

#infoModal .modal-content .modal-footer {
	text-align: center;
}


#infoModal .modal-content .modal-footer .login-form {
	width: 100%;
    max-width: 250px;
    font-size: 2rem;
}

@media (max-width: 520px) {
	#infoModal .modal-content .modal-footer .login-form {
		font-size: 1.5rem;
		max-width: 150px;
	}
}

/* Blur effect for the container */
.blur-active {
  filter: blur(3px);
  pointer-events: none;
  transition: filter 0.3s ease;
}

/* Loading animation on button */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #142E50;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  transform: translateY(-50%);
}

@keyframes spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}


/* Bottom Modal styling */
.bottom-modal {
  position: fixed;
  bottom: -150px;
  left: 20px;
  transform: translateX(0);
  background: #ffffff; /* Light gray background */
  color: #333; /* Dark text */
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1044;
	transition: bottom 0.4s ease;
}

.bottom-modal.active {
  bottom: 0; 
}

.bottom-modal p {
	margin: 0;
}

/* Close button */
.close-btn {
  cursor: pointer;
    font-size: 31px;
    color: #142E50;
    position: absolute;
    background: #fff;
    padding: 14px 10px;
    top: -28px;
    right: 7px;
    line-height: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
	box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

/* Button styling */
#unlockBtn {
  background: #142E50; /* Unique Workspaces blue */
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
}

/* Button hover effect */
#unlockBtn:hover {
  background: #000; /* Darker blue on hover */
}

/* Icon styling */
.modal-icon {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #142E50; /* Unique Workspaces blue */
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	width: 40px;
    height: 40px;
  z-index: 1044;
}

.modal-icon i {
	font-size: 20px;
}


.tabs-wraper {
	position: relative;
	width: 100%;
}

.tabs-wraper .tab-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
	transition: all 0.4s ease;
}

.tabs-wraper .tab-content.active-item {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

/* Animate modal content height */
#callModalLogin .modal-content {
	transition: height 0.4s ease;
	overflow: hidden;
}

#callModalLogin .btn.submit {
	margin: 20px auto 0;
}

#callModalLogin #xs-social-login-container {
	padding 0;
	margin: 0 auto;
	max-width: 200px;
}

#xs-social-login-container span {
	display: flex;
    align-items: center;
    justify-content: center;
}

/* White header override - delete these lines to revert to black */
.c27-main-header .header-skin {
  background-color: #ffffff !important;
  border-color: #eeeeee !important;
}

.c27-main-header .header-dark-skin .nav-link,
.c27-main-header .header-dark-skin .header-phone {
  color: #333333 !important;
}

/* Search page columns: filters 22% / results 58% / map 20% (wide screens, where the map shows) */
@media only screen and (min-width: 1451px) {
	.finder-container.finder-two-columns .finder-search { width: 22% !important; }
	.finder-container.finder-two-columns .finder-listings { left: 22% !important; width: 58% !important; }
	.finder-container.finder-two-columns .finder-map { width: 20% !important; }
}

/* Search results card photo height: 340px on desktop (mobile keeps the theme default) */
@media only screen and (min-width: 1279px) {
	.finder-listings .lf-item-container { grid-template-rows: 340px 1fr 0.5fr !important; }
	.finder-listings .lf-item-container .lf-item.lf-item-default,
	.finder-listings .lf-item-container .lf-item.lf-item-default > a { height: 340px !important; }
}
