/***********************************/
body {
	background: #F7F8F9;
}

p {
	font-size: 1em;
  font-family: poppins,sans-serif;
  color: #707079;
  font-weight: 400;
  line-height: 26px;
  margin: 0 0 15px;
}

.agent-information {
    padding-left: 1em;
    line-height: 25px;
}

.agent-image img {
	width: inherit;
}

@media screen and (max-width: 40em) {
	.agent-image img {
		display: none;
	}
}

.block-content-wrap .agent-details, .property-form-wrap .agent-details {
    margin-bottom: 10px;
	text-overflow: hidden;
}

@media (min-width: 992px) {
	.pd-hero-section {
		height: 380px;
		padding-top: 14em;
		position: absolute;
		z-index: 999;
		top: 0px;
		width: 100%;
		overflow: hidden;
		transition: 0.3s;
	}

	.pd-hero-section:hover {
		padding-top: 20em;
	}
}

.pd-hero-text {
	background: rgba(247, 248, 249, 0.90);
  padding: 20px 20px;
  text-align: center;
	border-radius: .25rem;
	min-height: 10em;
}

.pd-hero-text .room-location {
	font-size: 17px;
	color: #aaaab3;
}

.pd-hero-section:hover .pd-hero-text .room-location {
	color: #007bff;
}

.pd-hero-text .room-location i {
	color: #2cbdb8;
}

.pd-hero-text h2 {
	font-size: 18px;
	color: #222;
	font-weight: 600;
	margin-bottom: 20px
}
.pd-hero-text .room-price span {
	font-size: 18px;
	color: #aaaab3;
	display: inline-block;
	margin-right: 10px
}

.pd-hero-text .room-price p {
	color: #222;
	font-size: 22px;
	margin-bottom: 0;
	display: inline-block;
	font-weight: 600
}

.pd-hero-text .room-features li {
	text-align: center;
	list-style: none;
	display: inline-block;
	margin-right: 65px;
	color: white;
}

.pd-hero-text .room-features li:last-child {
	margin-right: 0
}

.pd-hero-text .room-features li p {
	font-size: 16px;
	color: #fff;
	margin-bottom: 0;
	margin-top: 5px
}

.pd-hero-text .room-features li i {
	font-size: 25px !important;
	color: #aaaab3;
}


.property-bg {
	background-position: center;
  background-size: cover;
}

.spacer {
  margin-top: 40px;
}

.spacer-10 {
  margin-top: 10px;
}

.spacer-20 {
  margin-top: 20px;
}

.block-wrap {
	padding: 9px;
  background-color: #fff;
  margin-top: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

@media screen and (min-width: 40em) {
	.block-wrap {
		padding: 40px;
	}
}

.block-title-wrap h2 {
    font-size: 18px;
}

@media screen and (max-width: 40em) {
	.block-title-wrap h2 {
		font-size: 17px;
	}
}

.block-title-wrap {
    border-bottom: 1px solid #dce0e0;
    margin-bottom: 25px;
    padding-bottom: 40px;
}

@media screen and (max-width: 40em) {
	.block-title-wrap {
		padding-bottom: 10px;
	}
}

.block-content-wrap .list-1-cols li, .block-content-wrap .list-2-cols li, .block-content-wrap .list-3-cols li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px solid;
    border-color: #dce0e0;
    padding: 10px;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    -moz-column-break-inside: avoid;
    break-inside: avoid;
}

.property-address-wrap .block-content-wrap .list-2-cols li span {
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.list-1-cols {
    -webkit-columns: 1;
    -moz-columns: 1;
    columns: 1;
}

.list-2-cols {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
}

.list-3-cols {
    -webkit-columns: 3;
    -moz-columns: 3;
    columns: 3;
}

@media screen and (max-width: 40em) {
	.list-2-cols, .list-2-cols {
		-webkit-columns: 1;
    -moz-columns: 2;
    columns: 1;
	}
}

.detail-wrap {
    background-color: rgba(0,174,255,0.1);
    border-color: #00aeff;
		border: 1px solid;
    padding: 30px;
		border-radius: 4px;
}

.property-features-wrap .list-1-cols li,
.property-features-wrap .list-2-cols li,
.property-features-wrap .list-3-cols li {
    border: none;
    display: block;
}

.property-form .btn-half-width {
	  float: left;
}

.make-me-sticky {
  position: -webkit-sticky;
	position: sticky;
	top: 20px;
  padding: 0px;
}

.primary {
	color: #007bff;
}

/* Carrusel */
.carousel-inner img {
    /*Modificado por Tony. Sin un height las imagenes se descuadran si son mas largas y sin un
    max-width se estiran si se le obliga a que ocupe siempre el 100% de su caja*/
    max-width: 100%;
    height: 72vh;
}

#cust-carousel {
    margin-top:  10px;
    width: 100%;
}
#cust-carousel .carousel-indicators {
    margin: 10px 0 0;
    overflow: auto;
    position: static;
    text-align: left;
    white-space: nowrap;
    width: 100%;
}
#cust-carousel .carousel-indicators li {
    background-color: transparent;
    -webkit-border-radius: 0;
    border-radius: 0;
    display: inline-block;
    height: auto;
    margin: 0 !important;
    width: auto;
		min-width: 10em;
		border-right: 6px solid white;
}
#cust-carousel .carousel-indicators li img {
    display: block;
    opacity: 0.5;
}
#cust-carousel .carousel-indicators li.active img {
    opacity: 1;
}
#cust-carousel .carousel-indicators li:hover img {
    opacity: 0.75;
}

#cust-carousel .carousel-outer {
    position: relative;
}
.carousel-control-prev {
    background-image: none;
    width: 54px;
    height: 54px;
    top: 50%;
    left: 20px;
    margin-top: -27px;
    line-height: 54px;
    border: 2px solid #fff;
    opacity: 1;
    text-shadow: none;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}
.carousel-control-next {
    background-image: none;
    width: 54px;
    height: 54px;
    top: 50%;
    right: 20px;
    margin-top: -27px;
    line-height: 54px;
    border: 2px solid #fff;
    opacity: 1;
    text-shadow: none;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

.breadcrumb {
    font-size: 13px;
    background-color: transparent;
}

.item-tool {
	display: inline-block;
}

.item-tool span {
  color: #6c757d;
  border: 1px solid #6c757d;
	border-radius: 4px;
	transition: .2s;
	cursor: pointer;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  text-align: center;
	padding: 3px 6px;
	margin-left: 6px;
}

.item-tool:hover span {
	color: #007bff;
	border: 1px solid #007bff;
}

.item-tool.favorite:hover span {
	color: #DE5347;
	border: 1px solid #DE5347;
}

/* Map */
#mapid {
	height:380px;
	width:100%;
	opacity: 0.9;
}

@media screen and (max-width: 40em) {
	#mapid {
		height:250px;
	}
}

.leaflet-right {
	z-index: -1;
}

/* Share */
.addthis_sharing_toolbox {
  margin-top: 34px;
  margin-left: -178px;
}

.property-documents li {
	border: 1px solid;
	margin: 10px 0px;
	background: #F7F8F9;
}

/* Certificación energética (CES) */
.class-energy {
    clear: both;
    padding: 60px 0 0;
}
.class-energy-list li {
    clear: both;
    border-bottom: 1px solid #dce0e0;
    padding: 0 10px;
    line-height: 40px;
}

.class-energy-list li span {
	float: right;
}

.class-energy-indicator:nth-child(1) {
    background-color: #33a357;
}

.class-energy-indicator:nth-child(2) {
    background-color: #79b752;
}

.class-energy-indicator:nth-child(3) {
    background-color: #c3d545;
}

.class-energy-indicator:nth-child(4) {
    background-color: #fff12c;
}

.class-energy-indicator:nth-child(5) {
    background-color: #edb731;
}

.class-energy-indicator:nth-child(6) {
    background-color: #d66f2c;
}

.class-energy-indicator:nth-child(7) {
    background-color: #cc232a;
}

.class-energy-indicator:nth-child(8) {
    background-color: #cc232a;
}

.class-energy-indicator span {
		display: block;
}

.class-energy-indicator {
    width: calc(100% / 8);
		display: inline-block;
		position: relative;
		opacity: 0.3;
}

.class-energy-indicator span {
    font-size: 18px;
    line-height: 35px;
    text-align: center;
    color: #fff;
}

.indicator-energy {
    left: 0;
}

.indicator-energy {
    font-size: 15px;
    line-height: 30px;
    top: -48px;
		left: 4.5em;
    padding: 0 10px;
    white-space: nowrap;
    color: #fff;
    background-color: #999;
		position: absolute;
}

.indicator-energy:before {
    right: auto;
    left: 0;
    border-right: 10px solid transparent;
}
.indicator-energy:before {
    bottom: -10px;
    content: "";
    border-top: 10px solid #999;
		position: absolute;
}

@media screen and (max-width: 40em) {
	.indicator-energy {
		display: none;
	}
	.class-energy {
		padding: 0px;
	}
}

.property-overview-data div {
  border-right: 1px solid #dce0e0;
}

.property-overview-data div.last-div {
	border-right: 0px;
}

@media screen and (max-width: 40em) {
	.addthis-smartlayers {
		display: none;
	}
}


@media screen and (max-width: 40em) {
	.pd-hero-text {
		padding: 9px;
		background-color: #fff;
		margin-top: 20px;
		box-shadow: 0 2px 4px rgba(0,0,0,.1);
	}
}

/* Video y 3D */
.property-video, .property-tresd {
	height: 500px;
}

@media screen and (max-width: 40em) {
	.property-video, .property-tresd {
		height: 250px;
	}
}

/* Principal images */
.promotion-image-1 div {
	height: 40em;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.promotion-image-2 div {
	height: 20em;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border-bottom: 25px solid #f4f4f4;
}

@media screen and (max-width: 768px) {
	.promotion-image-2 div {
		border-top: 25px solid #f4f4f4;
	}
}

.promotion-image-3 div {
	height: 20em;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* All images */
.all-images img {
	width: 100%;
	border-bottom: 20px solid white;
}

/* Typologies */
.cursor-pointer {
	cursor: pointer;
}

.card {
  border: 1px solid;
  border-color: #dce0e0;
	border-radius: 0px;
  padding: 0px;
  margin-bottom: 10px;

}

.card-header {
	border: 0px;
	padding: 10px;
}

.tipology-features svg {
	margin-right: 5px;
}

/* Mostrar los tabs en versión mobile */
@media screen and (max-width: 40em) {
	.tab-content>.tab-pane {
		display: block;
	}
	.fade:not(.show) {
    opacity: 1;
	}
}

/* Mostrar ancho completo de los botones de tipologias en versión mobile */
@media screen and (max-width: 40em) {
	.card-header .btn-primary {
			display: block;
			width: 100%;
			margin-top: 1em;
	}
}

.nav-pills .nav-link{
  padding: 20px;
}