/*
  Body
*/
body {
  background: #f0f0f0;
}

/*
  Header
*/
#sp-header {
  max-width: 100%!important;
  left: 0!important;
  background: linear-gradient(#f0f0f0, #ffffff);
  border-bottom: solid 1px #01579b;
  border-top: solid 1px #c62828;
}

@media screen and (max-height: 600px) {
  .nav-placeholder {display: none!important;}
  #sp-header.menu-fixed {
    /*display: none!important;*/
    position: relative!important;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3)!important;
    box-shadow: 0 0 5px rgba(0,0,0,0.3)!important;
  }
}

#sp-top-bar {
  border-bottom: solid 1px #e0e0e0;
}

/*
  Logo
*/
.sp-default-logo {
  width: 100%;
}

/*
  Footer
*/
#sp-footer1 ul > li > a::before {
  content: none;
}

/*
  Menu
*/
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
  font-size: 1em;
}

/*
  Body
*/
#sp-main-body {
  margin-top: 50px!important;
  padding: 0!important;
  -webkit-font-smoothing: antialiased;
}

#domus {
  min-height: 750px;
}

/*
  All items view
*/
.sc-item {
  color: #000000;
  background: #ffffff;
  margin-bottom: 50px;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.sc-item a, .sc-item a:hover {
  color: #000000 !important;
}

.sc-item-title {
  padding: 5px 0;
  color: #ffffff !important;
  background: #01579b;
  text-align: center;
  font-size: 1.3em;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px 10px 0 0;
}

.sc-item-title > h4 {
  font-weight: normal !important;
}

.sc-item-img {
  position: relative;
  overflow: hidden !important;
}

.sc-item-img img {
  max-width: 100%;
  width: 100%;
  height: auto;
  opacity: 1;
  display: block;
  transition: .25s linear;
  backface-visibility: hidden;
}

.sc-item-img-overlay {
  transition: .25s linear;
  opacity: 0;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}

.sc-item-img-mag {
  padding: 5px;
}

.sc-item-img:hover .domus-prop-thumb {
  opacity: 0.5;
    -ms-transform: scale(1.2,1.2); /* IE 9 */
    -webkit-transform: scale(1.2,1.2); /* Safari */
    transform: scale(1.2,1.2);
}

.sc-item-img:hover .sc-item-img-overlay {
  opacity: 1;
}

.sc-item-img figure {
  margin: 0px !important;
}

.sc-item-summary{
  color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(1, 87, 155, 0.8);
  font-size: 0.9em;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-justify-content: space-around;
  display: flex;
  justify-content: space-around;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.sc-item-description {
  padding: 10px 15px;
}

.sc-item-price {
  position: absolute;
  right: 0px;
  top: 0px;
  font-size: 1.3em !important;
  padding: 5px 15px;
  background: #c62828;
  color: #ffffff;
  text-align: center;
  display: block;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.sc-item-price-type {
  font-size: 0.7em !important;
  margin: 0px !important;
}

.sc-item-price-value {
  margin: 0px !important;
}

/*
  Single item
*/
.sc-single-item .panel-heading {
  color: #ffffff !important;
  background: #01579b;
}

@media screen and (min-width: 768px) {
  .dl-horizontal dt  {
    margin: 0 !important;
    text-align: right;
  }
}

.dl-horizontal dd {
  padding-bottom: 10px;
}

img.domus-ape {
  height: auto !important;
}

/*
  CSS for carousel in single property view
*/
.carouselbs .carouselbs-slide div img {
  border-radius: 10px;
  cursor: pointer;
}

.carouselbs .carouselbs-nav div img {
  border-radius: 10px;
}

.carouselbs .slick-slide img {
  display: block;
}

@media only screen and (min-width: 768px) {

  .carouselbs .carouselbs-nav {
    background: #eee;
    border-radius: 10px;
  }

  .carouselbs .carouselbs-nav div img {
    width: 75% !important;
    margin: 5px auto;
  }

  .carouselbs .carouselbs-nav .fa {
    padding: 0 5px;
  }

  .carouselbs .carouselbs-nav .slick-arrow {
    position: static;
    width: 100%;
    height: 28px;
    border: 0;
    text-align: center;
    cursor: pointer;
  }

  .carouselbs .carouselbs-nav .btn-arrow-down {
    margin-bottom: -1px;
  }

  .carouselbs .carouselbs-nav .btn-arrow-up {
    margin-top: -1px;
  }
}

@media only screen and (max-width: 767px) {

  .carouselbs .carouselbs-nav {
    margin: 0;
  }

  .carouselbs .carouselbs-slide .slick-slide {
    padding: 10px 0;
  }

  .carouselbs .carouselbs-nav .slick-slide {
    padding: 5px;
    margin: auto;
  }
}

.carouselbs .carouselbs-nav .slick-dots li {
  display: inline-block!important;
  border: none!important;
}

.carouselbs .carouselbs-nav .slick-dots li button:before {
  font-size: 17px!important;
}

.carouselbs .carouselbs-nav .slick-dots {
  position: relative;
  bottom: 0px;
}

/*
  CSS for featured properties carousel in home page
*/
.vetrina {
  margin-top: 30px;
}

.vetrina-title h5 {
  text-align: center;
  background: rgba(198, 40, 40, 0.8);
  margin-left: -15px;
  margin-bottom: 0;
  padding: 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #ffffff !important;
  border-radius: 0 0 10px 10px;
}

.vetrina-nav div {
  text-align: center;
  display: block;
}

.vetrina-slide div img {
  width:100%;
  float:left !important;
  border-radius: 10px;
}

.vetrina-nav div img {
  width:100%;
  float:left;
  border-radius: 10px;
}

.vetrina-slide div h3,
.vetrina-nav div h4 {
  float:left;
  width: 100%;
}

.vetrina .slick-dots li {
  display: inline-block !important;
  border: none !important;
}

.vetrina .slick-dots li button:before {
  font-size: 17px !important;
}

.vetrina .slick-arrow {
  width: 32px !important;
  height: 32px !important;
}

.vetrina .slick-prev {
  left: -32px !important;
}

.vetrina .slick-next {
  right: -32px !important;
}

.vetrina .slick-prev:before,
.vetrina .slick-next:before {
  color: #000 !important;
}
.vetrina .slick-slide {
  padding: 5px 10px !important;
  position: relative;
}

/*
  Single property view
*/
.domus-group-elements-title {
  border-bottom: 1px solid #dddddd;
}

h2 {
  color: #433e42;
  border-bottom: 1px solid #d4d4d4;
  padding-bottom: 15px;
  margin: 15px 30px;
}

.btn-submit-search {width: 100%!important;}

.sc-single-item-buttons a {
  margin: 15px;
}

.sc-single-item-element:nth-of-type(odd) {
  clear: both;
}

/*
  Slick Lightbox
*/
.fade-box .lazyload,
	 .fade-box .lazyloading {
		opacity: 0;
		transition: opacity 400ms;
	}

	.fade-box img.lazyloaded {
		opacity: 1;
	}

.blur-up {
  -webkit-filter: blur(5px);
  filter: blur(5px);
  transition: filter 400ms, -webkit-filter 400ms;
}

.blur-up.lazyloaded {
  -webkit-filter: blur(0);
  filter: blur(0);
}

img[data-sizes="auto"] {
  display: block;
  width: 100%;
}

.slick-lightbox-inner .slick-arrow {
  z-index: 2;
  width: 32px !important;
  height: 32px !important;
}

.slick-prev:before, .slick-next:before {
  font-size: 32px !important;
}

.slick-lightbox-close {
  opacity: 0.75;
  color: white;
  font-size: 32px;
  width: 32px !important;
  height: 32px !important;
}

.slick-lightbox-close:hover {
  opacity: 1;
}

.slick-lightbox-close:before {
  content: none !important;
}

/*
  Contact form
*/
#domus-contact-form {
  margin-top: 30px !important;
}

#domus-contact-form .panel-body {
  padding: 30px;
}

#domus-contact-form .panel-heading {
  color: #ffffff !important;
  background: #01579b;
}
