.table-wrapper {
  overflow-x: auto; /* Enable horizontal scrolling */
}

.fractions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.fractions-table thead th {
  background-color: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 8px;
  border: 1px solid #ccc;
	font-size: 13px;
}

.fractions-table tbody td {
  color:#1a1a1a;
  text-align: center;
  padding: 8px;
  border: 1px solid #ccc;
}

.fractions-table tbody tr[data-status="sold"] td{
	color:#e1e1e1;
}

.fractions-table tbody tr[data-status="sold"] td img{
	opacity:0.2;
}

.fractions-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.fractions-table tbody tr:hover {
  background-color: #f1f1f1;
}

.reserve-button {
  background-color: #1a1a1a;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.reserve-button:hover {
  background-color: #e1e1e1;
}

.icon-button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.icon-button:hover {
  color: #d1b58d;
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
  .fractions-table {
    font-size: 12px; /* Adjust font size for smaller screens */
  }

  .fractions-table thead th,
  .fractions-table tbody td {
    padding: 6px; /* Reduce padding */
  }

  .reserve-button {
    padding: 4px 8px; /* Adjust button padding */
  }
}


/* ----------------------------------------------- */


.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
	z-index:1000;
}

@media screen and (max-width: 1599px){
	.popup-content {
		height: 90vh;
	}
}

@media screen and (min-width: 1600px){
	.popup-content {
		height: initial;
	}
}

.popup-content {
	display:flex;
    background: white;
    padding: 40px;
    width: 65vw;
    max-width: 90%;
    position: relative;
    border-radius: 0px;
    text-align: left;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
	overflow-y: auto;
}

.popup-content > div{
	flex: 0 0 50%;
}

.popup-content h2,
.popup-content h3 {
    text-align: center;
}

.property-details p {
    font-size: 0.8em;
    color: #1A1A1A;
    margin: 0px 0;
	font-weight: 600;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 1.5em;
    cursor: pointer;
}

.reservation-form {
    display: flex;
    flex-direction: column;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea,
.reservation-form button {
    margin-bottom: 10px;
    padding: 8px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 0px;
	background: transparent;
	color: #323232;
}

.reservation-form p, .reservation-form input{margin:0;}

.reservation-form .wpcf7-form-control{
	width:100%;
}

.reservation-form form{
	display:flex;
	flex-wrap:wrap;
	gap: 5px;
}
.reservation-form form > p{
	display:flex;
	flex-wrap:wrap;
}

.reservation-form form .half-size{
	flex: 0 0 49.3%;
}

.reservation-form form .full-size{
	flex: 0 0 100%;
}

.reservation-form form .full-size label, .reservation-form form .full-size select{
	width:100%;
	margin-bottom: 1px;
}
.reservation-form form .half-size label{
	margin-bottom: 2px;
}

.reservation-form form textarea{
	max-height:100px;
}

.reservation-form form, .reservation-form form label{
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
}

.property-details img{
	height:300px;
	width:100%;
	object-fit:cover;
}

.reservation-form .wpcf7-acceptance span{
	text-transform:math-auto;
}

.wpcf7-acceptance label{
	font-weight: 400!important;
}

@media screen and (max-width: 1599px){
	.reservation-form .wpcf7-list-item-label{
		font-size:10px
	}
}
@media screen and (min-width: 1600px){
	.reservation-form .wpcf7-list-item-label{
		font-size:12px
	}
}

.checkbox-group {
    display: flex;
    align-items: center;
    font-size: 0.8em;
}

.checkbox-group label {
    margin-left: 5px;
}

.reservation-form button {
    background-color: #b89f6e;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.reservation-form button:hover {
    background-color: #a3865b;
}

.reservation-form .wpcf7{
	padding-left: 40px;
}

.wpcf7-not-valid-tip{
	font-size: 11px;
}

.reservation-form .wpcf7-submit{
	height: 6vh;
	margin-top: 10px;
}

.reserve-button{
	border-radius: 0px;
	font-size: 16px;
}

.property-details .popup span{
	font-weight: 300;
	text-transform: capitalize;
}
@media screen and (max-width: 1600px){
	.popup-address-info{
		font-size: 1rem!important;
		max-width: 80%;
	}
}
@media screen and (min-width: 1600px){
	.popup-address-info{
		font-size: 1.3rem!important;
	}
}

.property-details .popup{
	text-transform: uppercase;
}

.property-details .popup.ref{
    text-transform: capitalize;
    opacity: 0.6;
    font-size: 12px;
    margin-bottom: 10px;
	line-height: 1.5em;
}

.popup-address-info{
	line-height: 1.5em;
}

.popup-address-info{
	margin-top: 10px!important;
}

@media screen and (max-width: 767.98px){
	.imoveis-list{
		overflow-x: auto;
		width: 100%;
		padding: 0px 20px;
	}
	.reserve-button{
		font-size: 15px;
	}
}

/* BTN SUBMIT */

input[type=button]:hover, input[type=submit]:hover{
	color: initial!important;
	border-color: #ccc!important;
	background-color: initial!important;
}

/* SCROLLBAR */
.popup-content::-webkit-scrollbar {
  width: 7px;
}

/* Track */
.popup-content::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
.popup-content::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
.popup-content::-webkit-scrollbar-thumb:hover {
  background: #555; 
}




/* MOBILE */
@media screen and (max-width: 767.98px) {
	.close-btn{
		right: 20px;
	}
	.popup-content{
		width: 100vw;
		max-width: 95%;
		padding: 45px 20px 20px 20px;
		flex-direction: column;
	}
	.reservation-form .wpcf7{
		padding-left: 0px;
	}
	.reservation-form{
		padding-top: 20px;
	}
	.reservation-form form .half-size{
		flex: 0 0 100%;
	}
}


/* DARK MODE */

html.cmsmasters-mode-switcher-active{
	.fractions-table tbody td{
		color: #fff;
	}
	.planta a img{
		filter: invert(1);
	}
	table thead td:first-child, table thead th:first-child{
		border-left-width: 1px;
	}
	.reserve-button{
		background-color: #ffffff;
    	color: #000000;
	}
	.wpcf7-quiz-label, label{
		color: #000000;
	}
	.reservation-form .wpcf7-submit{
		color: #000!important;
	}
	.reservation-form input::placeholder{
		color: #ccc!important;
	}
	input[type=date]:focus, input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:not(.cmsmasters-header-search-form__input):focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus{
		background-color: #fff!important;
		color: #323232;
	}
}










