.carousel-inner {
  padding-right: 6px;
}
.nb_featured_property {
  position: relative;
}
.nb_featured_property .nb_ribbon {
  background-repeat: no-repeat;
  text-align: center;
  color: #ffffaa;
  font-size: 1.231em;
  font-weight: 200;
  display: block;
  height: 46px;
  line-height: 35px;
  position: absolute;  
  -webkit-transform-origin: right top;
  -moz-transform-origin: right top;
  -ms-transform-origin: right top;
  -o-transform-origin: right top;
  transform-origin: right top;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  behavior: url('../js/PIE.htc') !important;
  z-index: 10;
}
.nb_featured_property .featured .nb_ribbon {
	background-image: url(../../../../media/com_nbreal/images/featured-ribbon.png);
	width: 150px;
	top: 76px;
	right: -34px;
}
.nb_featured_property .featured_blue .nb_ribbon {
	background-image: url(../../../../media/com_nbreal/images/blue-ribbon.png);
	width: 161px;
	top: 76px;
	right: -33px;
}
.nb_featured_property .small_blue .nb_ribbon {
	background-image: url(../../../../media/com_nbreal/images/blue-ribbon.png);
	width: 161px;
	top: 76px;
	right: -33px;
}
.nb_featured_property .long_ribbon_blue .nb_ribbon {
	background-image: url(../../../../media/com_nbreal/images/long-ribbon-blue.png);
	width: 250px;
	top: 133px;
	right: -35px;
}
.nb_featured_property .long_ribbon_green .nb_ribbon {
	background-image: url(../../../../media/com_nbreal/images/long-ribbon-green.png);
	width: 250px;
	top: 133px;
	right: -35px;
}
.nb_featured_property .long_ribbon_lightblue .nb_ribbon {
	background-image: url(../../../../media/com_nbreal/images/long-ribbon-lightblue.png);
	width: 250px;
	top: 133px;
	right: -35px;
}
.nb_featured_property .nb_featured_image {
  height: 180px;
  overflow: hidden;
  position: relative;
  border: 1px solid #cccaca;
}
.nb_featured_property .nb_featured_image img {
  min-width: 100%;
  height: 100%;
  max-width: none !important;
}
.nb_featured_property .nb_featured_content {
  background-color: #f7fef4;
  border: 1px solid #cccaca;
  border-top: 0px none transparent;
  text-align: center;
}
.nb_featured_property .nb_featured_content h3 {
  color: #0e632c;
  font-size: 1.154em;
  font-weight: 200;
  text-align: center;
  text-transform: uppercase;
  line-height: 35px;
  margin: 0;
}
.nb_featured_property .nb_featured_content p {
  text-align: left;
  color: #616161;
  font-size: 1em;
  font-weight: 200;
  padding: 0 10px;
  height: 55px;
  overflow: hidden;
}
.nb_featured_property .nb_featured_content span {
  text-align: left;
  color: #030303;
}
.nb_featured_property .nb_featured_content .nb_price {
  float: right;
  margin-right: 10px;
  font-size: 1.077em;
}
.nb_featured_property .nb_featured_content .nb_ref {
  padding-left: 10px;
  font-size: 1.077em;
}
.nb_featured_property .nb_featured_content .btn {
  margin-bottom: 10px;
}
.btn {
  -webkit-box-shadow: 0px 0px 0px 0px transparent;
  -moz-box-shadow: 0px 0px 0px 0px transparent;
  box-shadow: 0px 0px 0px 0px transparent;
  behavior: url('../js/PIE.htc') !important;
  font-size: 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 200;
}
.btn.custom_btn,
.btn.custom_btn a {
  background-image: none;
  background-color: #348b46;
  color: white;
  text-shadow: none;
}
.btn.custom_btn a,
.btn.custom_btn a a {
  text-decoration: none;
  color: white;
}
/* CAROUSELL TEMPLATE */

/* Removes the default 20px margin and creates some padding space for the indicators and controls */
.nb_featured_property .carousel {
	margin-bottom: 0;
	/*padding: 0 40px 30px 40px;*/
 	border: 0px none transparent !important;
}
/* Changes the position of the indicators */
.nb_featured_property .carousel-indicators {
	right: 50%;
	top: auto;
	bottom: 0px;
	margin-right: -19px;
}
/* Changes the colour of the indicators */
.nb_featured_property .carousel-indicators li {
	background: #c0c0c0;
}
.nb_featured_property .carousel-indicators .active {
	background: #333333;
}

/* CAROUSELL FADE */

.nb_featured_property .carousel-fade .carousel-inner .item {
  opacity: 0;
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}
.nb_featured_property .carousel-fade .carousel-inner .active {
  opacity: 1;
}
.nb_featured_property .carousel-fade .carousel-inner .active.left,
.nb_featured_property .carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}
.nb_featured_property .carousel-fade .carousel-inner .next.left,
.nb_featured_property .carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.nb_featured_property .carousel-fade .carousel-control {
  z-index: 2;
}

/* Media Queries
*********************************************/
/* Retina */
@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
	
}
/* Landscape phones and down */
@media (max-width: 480px) {
  
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
  .nb_featured_property{
	  max-width: 400px;
	  margin: 0 auto !important;
	  margin-bottom: 10px !important;
  }
  .nb_featured_property .nb_featured_image, .nb_featured_property .nb_featured_image .span12 {
	height: auto;
  }
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    .nb_featured_property .nb_featured_image, .nb_featured_property .nb_featured_image .span12 {
		height: 120px;
	}
	.nb_featured_property .nb_featured_content p{
		height: 55px;
	}
}
@media (min-width: 980px) and (max-width: 1199px) {
	.nb_featured_property .nb_featured_image, .nb_featured_property .nb_featured_image .span12 {
		height: 150px;
	}
	.nb_featured_property .nb_featured_content p{
		height: 55px;
	}
}
/* Large desktop */
@media (min-width: 1200px) {
  
}