/* ============================================
   AD PAGE MAIN WRAPPER
   ============================================ */
#main_wrapper.ad-page-main-wrapper {
}

#main_wrapper.ad-page-main-wrapper .carousel {
  margin-bottom: 1rem;
}

#main_wrapper.ad-page-main-wrapper .carousel #ContainerFavIconAndShare {
  position: absolute;
  inset-inline-start: var(--main-wrapper-margin);
}

#main_wrapper.ad-page-main-wrapper .carousel #ContainerFavIconAndShare .FavIconAdPage {
  margin: 10px 0 10px 0;
  width: 40px;
  height: 40px;
  z-index: 9;
  object-fit: contain;
  position: relative;
  border-radius: 4px;
  background-color: #1D1D1B99;
  background-image: url(/Content/images/icons-svg/heart.svg);
  background-position-x: center;
  background-position-y: center;
  background-size: 24px 20px;
  background-repeat: no-repeat;
}

#main_wrapper.ad-page-main-wrapper .carousel #ContainerFavIconAndShare .FavIconAdPage.FavIconAdPageOn {
  background-color: #ffc50a !important;
  background-image: url('../../IconsND/savedAdIcon/savedAdIconOn.png') !important;
}

#main_wrapper.ad-page-main-wrapper .carousel #ContainerFavIconAndShare .ShareAdPage {
  margin: 10px 0 10px 0;
  width: 40px;
  height: 40px;
  z-index: 9;
  object-fit: contain;
  position: relative;
  border-radius: 4px;
  background-color: #1D1D1B99;
  background-image: url('../../images/icons-svg/share.svg');
  background-position-x: center;
  background-position-y: center;
  background-size: 24px 24px;
  background-repeat: no-repeat;
}

/* ============================================
   TITLE HEADER
   ============================================ */
#main_wrapper.ad-page-main-wrapper .title-header {
  padding: 10px var(--main-wrapper-margin);
  width: 100%;
  height: auto;
  background-color: #F7F7F7;
}

#main_wrapper.ad-page-main-wrapper .title-header .title {
  font-size: 1rem;
  color: #6f6f6f;
  margin-bottom: 0;
}

/* ============================================
   DATE UPDATED
   ============================================ */
#main_wrapper.ad-page-main-wrapper .date-updated {
  font-size: 0.75rem; 
  color: var(--medium-grey);
  text-align: end;
}

/* ============================================
   PRICE
   ============================================ */
#main_wrapper.ad-page-main-wrapper .price-text {
  width: 100%;
  color: #000;
  text-align: right;
  font-size: 2.125rem;
  font-weight: 400;
  font-stretch: normal;
  font-style: normal;
  line-height: 2.5rem;
  letter-spacing: -0.03375rem;
}

#main_wrapper.ad-page-main-wrapper .price-text span {
  font-size: 0.9375rem;
}

/* ============================================
   SECTION STYLES
   ============================================ */
#main_wrapper.ad-page-main-wrapper section.section {
  padding: 1.5rem var(--main-wrapper-margin);
}

#main_wrapper.ad-page-main-wrapper section.section .title-with-line {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 22px;
  font-weight: 500;
}

#main_wrapper.ad-page-main-wrapper section.section .title-with-line::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: #D9D9D9;
  margin-right: 10px;
}

#main_wrapper.ad-page-main-wrapper section.section .DetailsTextAdPage {
  padding: 0;
  color: #737373;
  font-size: 16px;
  text-align: justify;
}

#main_wrapper.ad-page-main-wrapper section.section .DetailsTextAdPage li {
  line-height: 40px;
}

#main_wrapper.ad-page-main-wrapper section.section .DetailsTextAdPagebold {
  font-weight: 600 !important;
}

#main_wrapper.ad-page-main-wrapper section.section .DetailsTextAdPageTitle {
  display: inline-block;
  width: 50%;
  margin-inline-end: 10px;
}

#main_wrapper.ad-page-main-wrapper section.section .in-the-property-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#main_wrapper.ad-page-main-wrapper section.section .in-the-property-container .in-the-property-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 calc(50% - 5px);
  padding: 5px;
}

#main_wrapper.ad-page-main-wrapper section.section .in-the-property-container .in-the-property-text.off {
  opacity: 0.4;
}

#main_wrapper.ad-page-main-wrapper section.section .in-the-property-container .in-the-property-text.off .in-the-property-description {
  text-decoration-line: line-through;
}

#main_wrapper.ad-page-main-wrapper section.section .in-the-property-container .in-the-property-text .in-the-property-icon {
  width: 1.5rem;
  height: 1.5rem;
}

#main_wrapper.ad-page-main-wrapper section.section .in-the-property-container .in-the-property-text .in-the-property-description {
  text-align: right;
  font-size: 1rem;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.47;
  letter-spacing: -0.3px;
  color: rgba(0, 0, 0, 0.8);
}

#main_wrapper.ad-page-main-wrapper section.section .links-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  height: 100%;
  padding-bottom: 1rem;
}

#main_wrapper.ad-page-main-wrapper section.section .links-bar a {
  display: block;
  margin: 0;
  padding: 0.625rem 0.75rem;
  width: 100%;
  color: var(--medium-grey);
  text-align: right;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  background-color: var(--smoke);
  border-radius: 0.375rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#main_wrapper.ad-page-main-wrapper section.section .links-bar-2-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1rem;
  width: 100%;
  height: 100%;
}

#main_wrapper.ad-page-main-wrapper section.section .links-bar-2-columns div {
  flex: 1 1 calc(50% - 6px);
}

#main_wrapper.ad-page-main-wrapper section.section .links-bar-2-columns div a {
  display: block;
  margin: 0;
  padding: 0.625rem 0.75rem;
  width: 100%;
  color: var(--medium-grey);
  text-align: right;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  background-color: var(--smoke);
  border-radius: 0.375rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================
   ARTICLES SECTION
   ============================================ */
#main_wrapper.ad-page-main-wrapper section.articles-section {
}

#main_wrapper.ad-page-main-wrapper section.articles-section .Tag {
  font-size: 14px;
  opacity: 0.9;
  background-color: #ffffff;
  color: #1c1c1c;
  padding: 3px;
  text-align: center;
  width: 38px;
  border-radius: 3px;
  opacity: 0.9;
  margin-bottom: 6px;
}

#main_wrapper.ad-page-main-wrapper section.articles-section .yellow-button-link {
  display: block;
  padding: 8px;
  color: var(--Almost-black);
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  background-color: #ffc50a;
  text-decoration: none;
}

#main_wrapper.ad-page-main-wrapper section.articles-section .links-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding-bottom: 1rem;
}

#main_wrapper.ad-page-main-wrapper section.articles-section .links-bar a {
  display: block;
  margin: 0;
  padding: 10px 12px;
  width: 100%;
  color: var(--medium-grey);
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  background-color: var(--smoke);
  border-radius: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================
  FLOATING FOOTER AND BUTTONS
  ============================================ */
#main_wrapper.ad-page-main-wrapper .floatFooter {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;  /* Must higher than the #enable-toolbar, fixes safari bottom toolbar issue */
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px var(--main-wrapper-margin);
  background-color: white;
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

#main_wrapper.ad-page-main-wrapper .floatFooter .Callbutton {
  flex: 1 1 100%;
  text-align: center;
  padding: 12px;
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 0px solid #02de74;
  border-radius: 4px;
  background: #02b25d;
}

#main_wrapper.ad-page-main-wrapper .floatFooter .WhatsAppButton {
  flex: 0 1 25%;
  padding: 12px;
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: solid 1.5px #1bd741;
  border-radius: 4px;
  background-color: #ffffff;
}

#main_wrapper.ad-page-main-wrapper .floatFooter .WhatsAppButton img {
  width: 30px;
}
