

/*Margin and Padding*/
* {
    /*padding: 0;*/
    margin: 0;
}

/*P Space*/
p {
    margin-bottom: 20px;
}

header {
    background: white;
    width: 100%;
    position: fixed;
    z-index: 100;
}

nav {
    float: left; /* Desplazamos el nav hacia la izquierda */
}

nav ul {
    list-style: none;
    overflow: hidden; /* Limpiamos errores de float */
}

nav ul li {
    float: left;
    font-family: Arial;
    font-size: 24px;
}

nav ul li a {
    display: block; /* Convertimos los elementos a en elementos bloque para manipular el padding */
    padding: 30px;
    color: #3c3c3b;
    text-decoration: none;
}

nav ul li a:hover {
    background: #ab2531;
    color: white;
}

.wrapper {
    width: 80%;
    margin: auto;
    overflow:hidden;
}


a.linkb_white_gray {
    text-decoration: none;
    background-color: #3c3c3b;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 20px;
    color: white;
    padding: 20px 50px 20px 50px;
    text-transform: uppercase;
    border-radius: 30px;
}

a.linkb_white_gray:hover {
    background-color: white;
    color: #3c3c3b;
}

a.linkb_white_red {
    text-decoration: none;
    background-color: #ab2531;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 20px;
    color: white;
    padding: 20px 50px 20px 50px;
    text-transform: uppercase;
    border-radius: 30px;
}

a.linkb_white_red:hover {
    background-color: #3c3c3b;
    color: white;
}

a.link_white_red {
    text-decoration: none;
    background-color: #ab2531;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    color: white;
    padding: 10px 25px 10px 25px;
    text-transform: uppercase;
    border-radius: 15px;
}

a.link_white_red:hover {
    background-color: #3c3c3b;
    color: white;
}

.mainCont {
    position: absolute;
    top:100;
    
}

#map {
    /*border: #ab2531 2px solid;*/
    height: calc(99vh - 60px);
    width: 100%; /* The width is the width of the web page */
}

.ButtonX {
    all: unset;
    text-align: center;
    position: relative;
    border: 2px solid #ab2531;
    border-radius: 50px;
    width: 170px;
    height: 30px;
    overflow: hidden;
    background-color: #ab2531;
    color: white;
    font-size: 12px;
    /*font-family: "Rubik", sans-serif;
    text-transform: uppercase;
    font-weight: 700;*/
}

.ButtonX:hover {
    cursor: pointer;
    border: 2px solid #d3242c;
    color: #d3242c;
    background-color: #d3242c;
}

.firstA {
    width: 40%;
    display: inline-block;
}

.secondA {
    padding-left: 10px;
    width: 40%;
    display: inline-block;
    background-color: #e7e7e7;
    border-top: #ab2531 2px solid;
}


@media screen and (max-width: 500px) {

    .firstA,
    .secondA {
        width: 70%;
    }
}

/*
 * Property styles in unhighlighted state.
 */
.property {
  align-items: center;
  background-color: #ab2531;
  border-radius: 20%;
  border-color: #d3242c;
  border-style: solid;
  border-width: 1px;
  color: red;
  display: flex;
  font-size: 10px;
  gap: 15px;
  height: 12px;
  justify-content: center;
  padding: 2px;
  position: relative;
  position: relative;
  transition: all 0.3s ease-out;
  width: 35px;
}

.property::after {
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #ab2531;
  content: "";
  height: 0;
  left: 50%;
  position: absolute;
  top: 95%;
  transform: translate(-50%, 0);
  transition: all 0.3s ease-out;
  width: 0;
  z-index: 1;
}

.property .icon {
  align-items: center;
  display: flex;
  justify-content: center;
  color: #FFFFFF;
}

.property .iconPrice {
  align-items: center;
  display: flex;
  justify-content: center;
  color: #FFFFFF;
}

.property .iconPriceMP {
  align-items: center;
  display: flex;
  justify-content: center;
  color: #ab2531;
}

.property img.iconMP {
    float:left;
    margin: 3px;
}

.property .icon svg {
  height: 20px;
  width: auto;
}

.property .details {
  display: none;
  flex-direction: column;
  flex: 1;
}

.property .address {
  color: #9E9E9E;
  font-size: 10px;
  margin-bottom: 10px;
  margin-top: 5px;
}

.property .price {
  color: #3c3c3b;
  font-size: 14px;
  margin-bottom: 10px;
  margin-top: 5px;
}

.property .features {
  align-items: flex-end;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.property .features > div {
  align-items: center;
  background: #F5F5F5;
  border-radius: 5px;
  border: 1px solid #ccc;
  display: flex;
  font-size: 10px;
  gap: 5px;
  padding: 5px;
}

/*
 * Property styles in highlighted state.
 */
.property.highlight {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
  height: 120px;
  padding: 8px 15px;
  width: auto;
}

.property.highlight::after {
  border-top: 9px solid #FFFFFF;
}

.property.highlight .details {
  display: flex;
}

.property.highlight .icon svg {
  width: 50px;
  height: 50px;
}

.property.highlight .iconPrice svg {
  width: 50px;
  height: 50px;
}

.property .bed {
  color: #FFA000;
}

.property .bath {
  color: #03A9F4;
}

.property .size {
  color: #388E3C;
}
