.row-custom-apartment {
  flex-direction: row-reverse;
}

.text-left.font-weight-bold.text-danger.pb-2,
.list_prices_custom {
  display: none !important;
}

.increase-gallery-thumbnails {
  margin-top: 15px;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
  opacity: 0;
}

.showslick.increase-gallery-thumbnails {
  opacity: 1;
}

.wrapper-promo-banner img {
  width: 100%;
  height: auto;
}

.thumb-h-100 {
  -webkit-background-size: cover;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 1067px;
}

.thumb-h-100:before {
  padding: 0;
}

.swiper-button-prev,
.swiper-button-next,
.slick-next,
.slick-prev {
  color: #1a1a1a;
  background: white;
  width: 50px !important;
  height: 50px !important;
  transition: all 0.3s ease;
  background: url(../assets/images/left_arrow_red.svg) center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  transform: none !important;
  outline: none !important;
  border: 0 !important;
  z-index: 9 !important;
  left: 0 !important;
  right: auto !important;
}

.swiper-button-next,
.slick-next {
  transform: rotate(180deg) !important;
  right: 0 !important;
  left: auto !important;
}
@media screen and (min-width: 1280px){
  .swiper-wrapper-container .swiper-button-prev{
    left: -60px !important;
    top: calc(50% - 100px)!important;
  }
  .swiper-wrapper-container .swiper-button-next{
    left: -60px !important;
    top: calc(50% - 30px)!important;
  }
  .increase-gallery-wrapper .slick-prev.slick-arrow{
    left: -60px !important;
  }
   .increase-gallery-wrapper .slick-next.slick-arrow{
    right: -60px !important;
  }
}
.similar-apartments-slider {
  position: relative;
  margin: 0 0 50px !important;
  padding-top: 60px;
}

.similar-apartments-slider::before {
  content: '';
  background: #FCFAFA;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
}

.swiper-pagination {
  display: none;
}

#contact {
  padding-bottom: 80px;
}
.swiper-wrapper-container{
  position: relative;
}
@media screen and (min-width:1200px) {
  .similar-apartments-slider .container-fluid {
    padding-left: calc(50vw - 600px)
  }
  .similar-apartments-slider .container-fluid .swiper-container {
    position: relative;
    overflow: hidden;
  }
}

@media screen and (max-width:991px) {
  .slick-next,
  .slick-prev {
    width: 40px !important;
    height: 40px !important;
  }
}

.increase-gallery .slick-prev:before,
.increase-gallery .slick-next:before {
  display: none;
}

.content-lista-parcare {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.content-lista-parcare>.row {
  margin: 0;
  align-items: center;
}

a[data-fancybox="gallery-single"] {
  min-height: 720px;
  max-height: 720px;
  overflow: hidden;
}

.col-12.col-lg-12.main-content {
  padding: 0;
}

a[data-fancybox="gallery-single"] img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  min-height: 720px;
  transition: .5s all;
  max-width: fit-content;
  min-width: 100%;
}

.wrapper-promo-banner {
  margin-right: 15px;
}

.text-right-md {
  float: right;
}

.table-custom tbody {
  display: flex;
  flex-wrap: wrap;
}

.table-custom tr {
  width: 100%;
}

.table-custom tr.border-bottom {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.content-lista-parcare td[colspan="2"] {
  font-size: 24px;
  font-weight: 500;
  line-height: 33px;
  text-align: left;
  color: #172440;
}

.content-lista-parcare table,
.table-custom {
  font-size: 22px;
  font-weight: 300;
  line-height: 33px;
  text-align: left;
}

.table-custom .text-primary {
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 33px !important;
  text-align: right;
  color: #DE184B !important;
}

.table-custom {
  border: 0 !important;
}

.table-custom tr.border-bottom {
  border: 0 !important;
}

.wrapper-info-prices * {
  font-size: 22px;
  font-weight: 300;
  line-height: 33px;
  text-align: left;
}

.thumbnail.slick-slide img {
  min-height: 150px;
}

.content-lista-parcare table,
.table-custom,
.wrapper-info-prices * {
  font-family: Satoshi;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 1%;
  color: #333 !important;
}

.table-custom .text-primary {
  font-weight: 500 !important;
  text-align: right;
  color: #DE184B !important;
}

.content-lista-parcare td[colspan="2"] {
  font-weight: 500 !important;
  text-align: left;
  color: #172440;
}

.context-apartment h2 {
  color: #171C26;
  font-size: 36px;
  font-weight: 600;
  line-height: 54px;
  text-align: left;
  margin: 0 0 30px;
}

.context-apartment p {
  font-size: 22px;
  font-weight: 300;
  line-height: 33px;
  text-align: left;
  color: #171C26;
}

.wrapper-info-prices .font-weight-bold,
.wrapper-info-prices .font-weight-bold * {
  font-weight: 500 !important;
}

.wrapper-info-prices .font-weight-bold td {
  font-weight: 700 !important;
}

.wrapper-info-prices tr:last-child td {
  font-weight: 700 !important;
}

.wrapper-info-prices .font-weight-bold .border-top.border-primary {
  border-top: 1px dashed #F35257 !important;
}

table.border-primary {
  border: 0 !important;
}

.lista-parcare .wrapper-table {
  border: 1px solid #EBEDF0 !important;
  padding: 30px;
  background: #fff;
  margin: 0 0 30px;
}

.wrapper-info-prices {
  border: 0;
}

.custom-gallery {
  display: inline-block;
  width: 100%;
  position: relative;
  padding: 80px 0 0;
}

.custom-gallery::before {
  background: #FAF7F7;
  content: '';
  width: 100%;
  height: 600px;
  position: absolute;
  top: 0;
  left: 0;
}

.lista-parcare {
  padding: 50px 0 20px;
  position: relative;
  min-height: 0;
  display: inline-block;
  width: 100%;
  margin-bottom: 50px;
}

.section-contact {
  padding: 50px 0;
}

.lista-parcare::before {
  content: '';
  background: aliceblue;
  position: absolute;
  left: calc(-50vw + 660px);
  width: 100vw;
  height: 100%;
  top: 0;
}

.site-main {
  overflow: hidden;
}

@media screen and (max-width:1600px) {
  .row-custom-apartment {
    flex-direction: row;
  }
  .row-custom-apartment .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    width: 100%;
    margin-bottom: 0 !important;
  }
  .row-custom-apartment .col-lg-6.context-apartment {
    margin-bottom: 30px !important;
  }
}

@media screen and (max-width:991px) {
  .row-custom-apartment {
    flex-direction: column;
  }
  .row-custom-apartment .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin-bottom: 0 !important;
    padding: 0;
    margin: 0;
  }
  .align-items-stretch .row {
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
}

@media screen and (min-width:1600px) {
  .lista-parcare::before {
    left: calc(-50vw + 800px);
  }
}

.subtitle-small-general-custom {
  color: #172440;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: 54px;
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
}

.wrapper-info-prices .text-left.text-danger.pb-2 {
  font-size: 22px;
  font-weight: 500 !important;
  line-height: 33px;
  text-align: left;
  color: #172440 !important;
}

.custom-td {
  font-weight: 500 !important;
  color: #DE184B !important;
}

.align-items-stretch {
  padding-top: 50px;
  padding-bottom: 50px;
}
.term-8 .align-items-stretch{
  flex-direction: column;
}
.term-8 .align-items-stretch .col-lg-6{
  width: 100%;
  max-width: 100%;
}
.term-8 #increase-imagemap-image{
  width: 100%;
}
.increase-gallery-thumbnails img {
  width: 100%;
  max-width: calc(100% - 10px);
  min-height: 150px;
}

.increase-gallery-single-property .thumb-bg {
  min-height: 640px;
}

@media screen and (max-width:1600px) {
  .thumb-h-100 {
    min-height: 860px;
  }
}

@media screen and (max-width:1441px) and (min-width:992px) {
  .wrapper-info-prices .text-left.text-danger.pb-2,
  .wrapper-info-prices * {
    font-size: 18px;
    line-height: 24px;
  }
}

@media screen and (max-width:991px) {
  .thumb-h-100 {
    min-height: 400px;
  }
  .custom-gallery .main-content {
    padding: 0;
  }
  a.slick-slide {
    min-height: 320px;
    max-height: 320px;
    overflow: hidden;
  }
  a.slick-slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    min-height: 320px;
    max-height: 320px;
    transition: .5s all;
    max-width: fit-content;
  }
  .increase-gallery-thumbnails {
    max-height: calc(50vw / 3);
  }
  .subtitle-small-general-custom {
    font-size: 28px;
    line-height: 1.3;
  }
  .wrapper-table {
    min-height: 0 !important;
  }
  .lista-parcare .wrapper-table {
    padding: 15px;
    margin: 0;
  }
  .lista-parcare {
    padding: 20px 0 30px;
  }
  .lista-parcare::before {
    left: -15px;
  }
  .align-items-stretch {
    padding: 30px 0;
  }
  .align-items-stretch .col-lg-4 {
    padding: 0;
    margin-top: 30px;
  }
  .context-apartment h2 {
    font-size: 28px;
  }
  .context-apartment p {
    font-size: 18px;
    line-height: 28px;
  }
  .section-contact {
    padding: 30px 0;
  }
}

.context-apartment .solicita_oferta_btn:hover {
  background: #e0be4e !important;
  color: #18233F !important;
}

.wrapper-promo-banner .solicita_oferta_btn {
  border: 1px solid #172440 !important;
}

.wrapper-promo-banner .solicita_oferta_btn:hover {
  background: #fff !important;
  color: #172440 !important;
}

.context-apartment .wrapper_image_plan {
  border: 1px solid #D8D8D8;
  border-radius: 20px;
  overflow: hidden;
}

.wrapper-info-prices::-webkit-scrollbar {
  width: 5px;
}

.wrapper-info-prices::-webkit-scrollbar-track {
  background: #ccc;
  border-radius: 50px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.wrapper-info-prices::-webkit-scrollbar-thumb {
  background: #FED441;
}

.wrapper-info-prices::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.wrapper-info-prices .text-right {
  min-width: 110px;
}

@media screen and (min-width: 992px) {
  .wrapper-info-prices {
    overflow: auto;
  }
}

.wrapper_table {
  background: #fff;
  margin-bottom: 30px;
}

.single-increase_apartments article .container {}

.single-increase_apartments article .cta_hero {
  margin: 0;
}

@media screen and (min-width: 1200px) {
  .info-prices {
    max-width: 488px;
  }
  .single-increase_apartments article .container-fluid {
    padding: 0;
    padding-left: calc(50vw - 600px);
    max-width: 100vw;
  }
  .row-custom-apartment {
    justify-content: space-between;
  }
  .context-apartment,
  .row-custom-apartment {
    padding: 0;
  }
  .context-apartment .wrapper_image_plan {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

@media screen and (min-width: 1920px) and (max-width: 2100px) {
  .wrapper_image_plan {
    min-height: 672px;
  }
}

.title_apartment {
  font-family: DM Serif Display;
  font-weight: 400;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #333;
  margin: 0 0 20px;
}

.info-prices .cta_hero a {
  border: 0;
}

.info-prices a.white_button span {
  background: url(../assets/images/file.svg) center center no-repeat;
}

.pret_lista .font-weight-bold,
.pret_lista,
.pret_lista * {
  font-weight: 700 !important;
}

.similar-apartments-slider .swiper-container {
  padding: 20px 0 50px;
}

.similar-apartments-slider .swiper-slide {
  height: auto;
}

.similar-apartments-slider .box_apartment {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.similar-apartments-slider .box_apartment:hover {
  transform: translateY(-5px);
}

.sold-out-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.soldout-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 5;
  border-radius: 4px;
}

@media (max-width: 991px) {
  .custom-gallery {
    padding: 30px 0 0
  }
  #contact {
    padding: 40px 0 0;
  }
  #contact .row {
    flex-direction: column;
    gap: 30px;
  }
  .similar-apartments-slider .swiper-container {
    padding-bottom: 0;
    position: relative;
  }
  .title_apartment{
    font-size: 22px;
  }
}