﻿/* Details */

#ic-detGallery {
  position: relative;
}
#wrap-detail {
  padding: 0 5rem;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}
#ic-photosBTN {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 2;
  width: 20rem;
}
#asideDet {
  position: sticky;
  top: 1rem;
  align-self: start;
  width: 32.4%;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

#ic-detMoreBTN {
  display: none;
}
#wrap_priceMovil {
  display: none;
}
.downloadPdf .btnBlue {
  width: 22.3rem;
}
#reqDetail,
#contentAside {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  flex-shrink: 0;
  align-self: stretch;
  background: #fff;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
}
.wrap__agent,
.wrap__price,
.wrap__area {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}
.wrap__btns {
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}
.wrap__btns svg {
  width: 2.5rem;
  height: 2.5rem;
}
.wrap__btns p,
.wrap__btns p a,
.wrap__btns a {
  font-weight: 550;
  width: max-content;
}
.slToggleState .label {
  font-family: "Open Sans", sans-serif;
  text-align: center;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 550;
  line-height: normal;

  display: flex;
  align-items: center;
  gap: 1rem;
}
.downloadPdf a,
#ic-detShare button,
#ic-shortlist button {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.downloadPdf a {
  color: var(--color-black);
}
.wrap__area h3 {
  color: var(--color-blue);
}
.wrap__price {
  flex-wrap: wrap;
}

.priceDev,
.wrap__price h3 {
  color: var(--color-blue);
  font-family: "Open Sans";
  font-size: 3.5rem;
  font-style: normal;
  font-weight: 550;
  line-height: normal;
  text-transform: uppercase;
}
#ic-detInfo {
  display: flex;
  gap: 3rem;
}
#ic-detGallery .swiper-slide {
  display: block;
  height: 74.1rem;
}
.agentContent {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
}
.agentPhoto .agentePhoto {
  width: 15.5rem;
  height: 15.5rem;
}
.agentContent p a,
.agentContent p,
.agentContent h3 {
  text-align: start;
}

.nameAgent {
  color: var(--color-black);
}

.phoneAgent a,
.emailAgent a {
  font-weight: 350;
  font-family: "Open Sans", sans-serif;
  font-size: 1.8rem;
  font-style: normal;
  line-height: normal;
  color: var(--color-black);
  transition: var(--transition);
}
.phoneAgent a{
      font-weight: 550;
}
.phoneAgent a:hover,
.emailAgent a:hover {
  color: var(--color-light-blue);
}
#ic-detTags .shortlistToggle {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  color: white;
  font-size: 2rem;
}

#ic-detShare {
  position: relative;
}
#ic-detShare ul {
  display: none;
  position: absolute;
  left: 0;
  bottom: 110%;
  padding: 0;
  margin: 0;
  width: 100%;
  background: var(--color-blue);
  z-index: 1000;
}
#ic-detShare li::before {
  display: none;
}
#ic-detShare li {
  display: inline-block;
  vertical-align: middle;
}
#ic-detShare a {
  color: #fff;
  font-size: 2rem;
  display: block;
  padding: 10px;
}
#ic-detShare a:hover {
  color: #e2dad1;
}

#ic-detBasic {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
  width: 62.91%;
}

#ic-detInfo li::before,
#ic-features li::before {
  display: none;
}
#ic-detInfo li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
#ic-detInfo li span {
  vertical-align: middle;
}
#ic-detInfo li svg {
  width: 3.5rem;
  height: 3.5rem;
}
#ic-detContent {
  align-items: flex-start;
  justify-content: space-between;
  margin: 70px auto;
}

#ic-video,
.equipment,
.detIntro,
#ic-energy,
#ic-features,
#ic-map {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.ic-video iframe,
.ic-video,
#ic-video {
  width: 100%;
}
.equipment ul,
.ic-featuresList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 3rem;
  list-style: inside;
}
.equipment ul li,
.equipment ul li span,
.ic-featuresList li {
  color: #000;
  font-family: "Open Sans";
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.detIntro h1,
.detIntro p,
#ic-energy h2,
#ic-features h2,
#ic-map h2 {
  text-align: start;
}

#ic-map {
  position: relative;
  width: 100%;
}

#ic-map iframe {
  height: 51.7rem;
}
.ic-similarProp {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ENERGY */
.ic-epc-container {
  min-width: 45.7rem;
  max-width: 56rem;
  background: #e6e6e6;
  border-radius: 2px;
}
.ic-epc-container h3 {
  margin: 0 0 10px 0;
}
.ic-epc-container div {
  margin: 0px !important;
}
.ic-epc-arrow-right {
  position: relative;
  float: left;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid transparent;
}
.ic-epc-container .row {
  clear: both;
  padding: 0 4px;
  width: 100%;
  height: 24px;
}
.ic-epc-container .ic-epc-label_col {
  width: 50%;
  position: relative;
  float: left;
  background: #fff;
  padding: 0px;
  border: 2px solid #e6e6e6;
  border-radius: 5px;
  overflow: hidden;
}
.ic-epc-container .row:first-of-type .ic-epc-label_col {
  background: #e6e6e6;
}
.ic-epc-container .ic-epc-consumption_col,
.ic-epc-container .ic-epc-emissions_col {
  width: 25%;
  height: 28px;
  line-height: 28px;
  position: relative;
  float: left;
  padding-left: 5px;
  overflow: hidden;
  text-align: center;
  color: #1d252c;
  background: #fff;
  border: 2px solid #e6e6e6;
  border-radius: 4px;
}
.ic-epc-container .row:first-of-type .ic-epc-consumption_col,
.ic-epc-container .row:first-of-type .ic-epc-emissions_col {
  background: #e6e6e6;
  padding-left: 0;
}
.ic-epc-consumption_col .ic-epc-column_label,
.ic-epc-emissions_col .ic-epc-column_label {
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
  white-space: nowrap;
  line-height: 25px;
  font-size: 11px;
}
.ic-epc-column_label {
  font-size: 1.1em;
}
.ic-epc-consumption_col.active .ic-epc-consumption_value,
.ic-epc-emissions_col.active .ic-epc-emissions_value {
  background-color: #1d252c !important;
  color: white !important;
  font-weight: bold;
  height: 24px;
  font-size: 1.1em;
  line-height: 24px;
  padding: 0 5px 0 5px;
  float: right;
}
.ic-epc-block {
  position: relative;
  float: left;
  height: 24px;
  color: #fff;
  text-align: left;
  font-weight: bold;
  font-size: 1.1em;
  line-height: 24px;
  padding-left: 8px;
}
.ic-epc-shaft-a {
  width: 42%;
  background-color: #0d944f;
  margin: 0px !important;
}
.ic-epc-shaft-b {
  width: 50%;
  background-color: #21b24b;
  margin: 0px !important;
}
.ic-epc-shaft-c {
  width: 58%;
  background-color: #99c83c;
  margin: 0px !important;
}
.ic-epc-shaft-d {
  width: 66%;
  background-color: #ece824;
  margin: 0px !important;
}
.ic-epc-shaft-e {
  width: 74%;
  background-color: #f1b41b;
  margin: 0px !important;
}
.ic-epc-shaft-f {
  width: 82%;
  background-color: #e17628;
  margin: 0px !important;
}
.ic-epc-shaft-g {
  width: 90%;
  background-color: #e72e2c;
  margin: 0px !important;
}
.ic-epc-head-a {
  border-left-color: #0d944f;
  margin: 0px !important;
}
.ic-epc-head-b {
  border-left-color: #21b24b;
  margin: 0px !important;
}
.ic-epc-head-c {
  border-left-color: #99c83c;
  margin: 0px !important;
}
.ic-epc-head-d {
  border-left-color: #ece824;
  margin: 0px !important;
}
.ic-epc-head-e {
  border-left-color: #f1b41b;
  margin: 0px !important;
}
.ic-epc-head-f {
  border-left-color: #e17628;
  margin: 0px !important;
}
.ic-epc-head-g {
  border-left-color: #e72e2c;
  margin: 0px !important;
}

.ic-epc-consumption_col.active .ic-epc-consumption-arrow-left,
.ic-epc-emissions_col.active .ic-epc-consumption-arrow-left {
  position: relative;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 12px solid transparent;
  border-right-color: #1d252c;
  float: right;
}

.ic-epc-consumption_col.active .ic-epc-consumption_value,
.ic-epc-emissions_col.active .ic-epc-emissions_value {
  margin-left: 6px;
  width: 82%;
}
.ic-epc-column_label,
.ic-epc-column_label {
  font-size: 10px;
  font-weight: bold;
}
.ic-epc-container #epFootnote {
  padding: 11px 0 5px;
}
.ic-epc-container #epFootnote div {
  margin-left: 0 !important;
  padding: 0 6px;
  font-size: 0.8em;
  line-height: 1;
}
.ic-flagInfo {
  padding-top: 5px;
  padding-bottom: 5px;
  transform: rotate(315deg);
  position: absolute;
  z-index: 9;
  color: #1d252c;
  top: 100px;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 24px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-weight: bold;
}

.ic-epc-container.ic-epc-empty {
  overflow: hidden;
  position: relative;
}
.ic-epc-container.ic-epc-empty > div {
  opacity: 0.3;
}
.ic-epc-empty .ic-flagInfo {
  opacity: 0.8;
}
#ic-units {
  width: 100%;
}

#ic-tableUnits {
  width: 100%;
}

#ic-tableUnits h2 {
  margin-bottom: 2rem;
  text-align: start;
}

#ic-tableUnits > div {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

#ic-tableUnits table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: #f8f8f8;
  border: 2px solid #e6e6e6;
  border-radius: 1.6rem;
  overflow: hidden;
  table-layout: fixed;
}

#ic-tableUnits tbody {
  width: 100%;
}

#ic-tableUnits tr:first-child {
  background: #f1f1f1;
}

#ic-tableUnits th,
#ic-tableUnits td {
  padding: 2rem 2rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e6e6e6;
  font-size: 1.8rem;
  color: var(--color-black);
}

#ic-tableUnits th {
  font-weight: 650;
  color: var(--color-black);
  font-size: 1.7rem;
}

#ic-tableUnits td {
  font-weight: 350;
  background: #ffffff;
}

#ic-tableUnits tr:not(:first-child):hover td {
  background: #fcfcfc;
}

#ic-tableUnits tr:last-child td {
  border-bottom: 0;
}

#ic-tableUnits th:first-child,
#ic-tableUnits td:first-child {
  width: 18%;
  min-width: 16rem;
}

#ic-tableUnits td:first-child div {
  font-weight: 550;
  color: var(--color-black);
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

#ic-tableUnits th:nth-child(2),
#ic-tableUnits td:nth-child(2) {
  width: 17%;
}

#ic-tableUnits .ic-tablePrice {
  color: var(--color-light-blue);
  font-weight: 550;
  text-decoration: none;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

#ic-tableUnits .ic-tablePrice:hover,
#ic-tableUnits .ic-tablePrice:focus {
  color: var(--color-blue);
  text-decoration: underline;
}

#ic-tableUnits th:nth-child(3),
#ic-tableUnits td:nth-child(3),
#ic-tableUnits th:nth-child(4),
#ic-tableUnits td:nth-child(4),
#ic-tableUnits th:nth-child(5),
#ic-tableUnits td:nth-child(5),
#ic-tableUnits th:nth-child(6),
#ic-tableUnits td:nth-child(6) {
  width: 13%;
}

#ic-tableUnits th:last-child,
#ic-tableUnits td:last-child {
  display: none;
}

#ic-tableUnits .justifyleft {
  text-align: left;
}

#ic-tableUnits td div {
  margin: 0;
  white-space: normal;
  word-break: normal;
  width: max-content;
}

#ic-tableUnits p {
  text-align: start;
  margin: 2rem 0 0;
  font-size: 1.5rem;
  font-weight: 550;
  color: var(--color-black);
}

/* RWD */

@media only screen and (max-width: 1700px) {
  #ic-detShare .btnBlack,
  #ic-shortlist .btnBlack {
    width: 16rem;
  }
}

@media only screen and (max-width: 1300px) {
  #ic-detBasic {
    width: 55%;
  }

  #asideDet {
    width: 45%;
    gap: 3rem;
  }
  .agentPhoto .agentePhoto {
    width: 13rem;
    height: 13rem;
  }
}

@media only screen and (max-width: 1200px) {
  #reqDetail,
  #contentAside {
    gap: 2rem;
  }

  .wrap__price {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }

  #ic-detInfo {
    gap: 2rem;
    flex-wrap: wrap;
  }

  #ic-map iframe {
    height: 100%;
    aspect-ratio: 4/3;
  }

  #ic-detGallery .swiper-slide {
    height: 58rem;
  }
  #ic-tableUnits th,
  #ic-tableUnits td {
    padding: 1.6rem 1.4rem;
    font-size: 1.6rem;
  }

  #ic-tableUnits th {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 1024px) {
  #ic-detBasic {
    width: 56%;
    gap: 2.5rem;
  }

  #asideDet {
    width: 40%;
    gap: 2.5rem;
  }

  .downloadPdf .btnBlue {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #ic-detInfo {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
  }

  #ic-detInfo li {
    min-width: 7rem;
  }

  .phoneAgent a,
  .emailAgent a {
    font-size: 1.7rem;
  }

  #ic-detGallery .swiper-slide {
    height: 48rem;
  }
}

@media only screen and (max-width: 1000px) {
  #wrap-detail {
    flex-direction: column;
    padding: 0px 3rem;
  }
  #wrap_priceMovil {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }
  #ic-detMoreBTN {
    display: block;
  }
  #wrap_priceMovil .wrap__price {
    flex-direction: row;
  }

  #contentAside .wrap__price,
  #contentAside .wrap__area {
    display: none;
  }

  #ic-detInfo,
  #wrap_priceMovil .wrap__price #ic-detInfo {
    justify-content: space-between;
  }
  .detIntro,
  #ic-detBasic,
  #asideDet {
    width: 100%;
    gap: 5rem;
  }

  #asideDet {
    position: static;
    top: auto;
    gap: 2.5rem;
  }

  #reqDetail,
  #contentAside {
    width: 100%;
    padding: 2rem;
  }

  .wrap__price,
  .wrap__btns,
  .wrap__agent {
    gap: 3rem;
  }

  #ic-detGallery .swiper-slide {
    height: 42rem;
  }
  #ic-detShare .btnBlack,
  #ic-shortlist .btnBlack {
    width: 100%;
  }
  .wrap__agent {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .wrap__agent {
    flex-direction: row;
  }
}

@media only screen and (max-width: 660px) {
  #ic-detBasic,
  #asideDet {
    width: 100%;
  }

  #asideDet {
    position: static;
    align-self: stretch;
    gap: 2rem;
  }

  .detIntro h1,
  #ic-energy h2,
  #ic-features h2,
  #ic-map h2,
  .equipment h2,
  #ic-requestInfo h2 {
    text-align: left;
  }
  .ic-epc-container {
    min-width: 35.7rem;
  }
  .wrap__area,
  .wrap__price,
  .wrap__btns,
  .wrap__agent {
    gap: 3rem;
  }

  #ic-detInfo {
    width: 100%;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  #ic-detInfo li {
    min-width: 6rem;
    gap: 0.4rem;
  }

  .equipment ul,
  .ic-featuresList {
    grid-template-columns: repeat(1, 1fr);
  }
  .agentContent p,
  .agentContent h3 {
    text-align: start;
    width: max-content;
  }
  .agentContent {
    gap: 1rem;
  }

  .phoneAgent a,
  .emailAgent a {
    font-size: 1.6rem;
    text-align: left;
  }

  .downloadPdf,
  .downloadPdf .btnBlue,
  .wrap__btns > *,
  .wrap__btns .btnBlack,
  #ic-detShare {
    width: 100%;
  }

  .wrap__btns .btnBlack,
  .downloadPdf .btnBlue,
  #ic-requestInfo input[type="submit"] {
    width: 100%;
  }

  #ic-detShare ul {
    bottom: auto;
    top: 110%;
  }

  #ic-detGallery .swiper-slide {
    height: 35rem;
  }

  #ic-photosBTN {
    position: absolute;
    bottom: 0rem;
    right: 0rem;
    width: 15rem;
  }
  .agentPhoto .agentePhoto {
    width: 10rem;
    height: 10rem;
  }
}

@media only screen and (max-width: 480px) {
  #ic-detInfo {
    gap: 1.2rem;
  }

  .wrap__agent {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 380px) {
  #ic-detInfo {
    gap: 1rem;
  }

  #ic-detInfo li {
    min-width: 5.2rem;
  }

  #ic-map iframe {
    height: 22rem;
  }

  #ic-detGallery .swiper-slide {
    height: 25rem;
  }

  .wrap__btns {
    flex-wrap: wrap;
  }
}
