.main-page-big-photo{
  position: relative;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 15%), url("../images/02-V1b820g.jpg");
  background-color: rgba(0, 0, 0, 0);
  background-position: 0 0, center center;
  background-repeat: repeat, no-repeat;
  background-attachment: scroll, scroll;
  background-origin: padding-box, padding-box;
  background-clip: border-box, border-box;
  background-size: cover;
  height: 528px;
}

.search-main-page-wrapper{
  width: 100%!important;
  position: absolute;
  z-index: 997;
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  margin-top: 280px;
  padding: 0 23%;
}

.carousel-control-prev.with-gradient,
.carousel-control-next.with-gradient{
  //display: none;
  z-index: 1;
}

.photo-under-main-search .carousel-item{
  max-height: 600px;
  overflow: hidden!important;
  width: 100%;
}

.col-services-main-page{
  position:relative;
  height: 370px;
  max-width: 370px;
}

.photo-services-main-page{
  position: absolute;
  overflow: hidden;
  height: 200px;
  width: 100%;
  box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.1);
}

.col-services-main-page img{
  position: absolute;
  z-index: -2;
}

.text-services-main-page{
  margin-top: 220px;
}

.title-obj-list-main-page{
  text-align: center;
  margin-bottom: 20px;
}

.homepage-property-links .btn-link {
  color: #337ab7;
}

.col-obj-main-page{
  position: relative;
  margin-left: 15px;
  margin-bottom: 25px;
}

.col-obj-main-page .caption{
  position: absolute;
  color: white;
  left: 0;
  bottom: 7px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  padding-left: 7px;
  padding-right: 7px;
}

.col-obj-main-page .caption p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.col-obj-main-page .caption .lead{
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 28px;
}

.photo-obj-main-page{
  display: block;
  position: absolute;
  margin-top: -60%;
  background-color: #d8d8d8;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  z-index: 1;
  border-radius: 1%;
  box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.5);
}

.photo-obj-main-page img{
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 100%;
  width: 100%;
  height: auto;
  transform: translate3d(-50%, -50%, 0);
  z-index: -2;
}

.col-obj-main-page .under-caption-shadow{
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 77px;
  background: rgba(0, 0, 0, 0) linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6)) repeat scroll 0 0;
  z-index: -1;
}

.search-main-page-block input,
.search-main-page-block button{
  box-shadow: none;
  height: 45px;
  font-size: 18px !important;
}

.search-main-page-block input{
  border-radius: 0;
}

.search-main-page-block .twitter-typeahead{
  flex: 1 1 auto;
  width: 1%;
}

.search-main-page-block .twitter-typeahead .tt-query,
.search-main-page-block .twitter-typeahead .tt-hint{
  margin-bottom: 0;
}

.search-main-page-block .tt-hint{
  display: block;
  width: 100%;
  color: rgba(0, 0, 0, 0.4);
}

.search-main-page-block .tt-dropdown-menu{
  width: 100%;
  margin: 2px 0 0;
  padding: 5px 0;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.search-main-page-block .tt-suggestion{
  display: block;
  padding: 10px 15px;
  color: #333;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

.search-main-page-block .tt-suggestion:hover,
.search-main-page-block .tt-suggestion:focus,
.search-main-page-block .tt-suggestion.tt-cursor{
  color: #fff;
  background-color: #337ab7;
  text-decoration: none;
  outline: 0;
}

.search-main-page-block .tt-suggestion a,
.search-main-page-block .tt-suggestion:hover a,
.search-main-page-block .tt-suggestion:focus a,
.search-main-page-block .tt-suggestion.tt-cursor a{
  color: inherit;
}

.search-main-page-block .tt-suggestion p{
  margin: 0;
  vertical-align: middle;
}

.main-search-select .dropdown-menu{
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.main-page-search-input{

}

.visible-in-main-page{
  display: block;
}

@media (max-width: 480px) {
  .main-page-big-photo{
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 25%), url("../images/02-V1b820g.jpg");
    height: 320px;
  }

  .search-main-page-wrapper{
    margin-top: 130px;
    padding: 0 5%;
  }
}

@media (min-width: 480px) and (max-width: 768px) {
  .main-page-big-photo{
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 20%), url("../images/02-V1b820g.jpg");
    height: 360px;
  }

  .search-main-page-wrapper{
    margin-top: 150px;
    padding: 0 5%;
  }
}

@media (max-width: 768px) {
  .row-dense-top-mobile-50px {
    margin-top: 50px;
  }


  .h1-under-main-menu {
    font: 24px Verdana,sans-serif,Helvetica,Arial;
    margin-top: 15px;
  }

  .h1-main-page{
    position: absolute;
    background: rgba(0,116,228,0.8);
    padding: 5px 10px 5px 20px;
    width: 210px;
    height: 30px;
    margin: 0;
  }

  .h1-main-page h1{
    margin: 0;
    /*text-shadow: $tx-shaMainPageH1Block;*/
    font-size: 24px;
  }

  .search-main-page-block{
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0);
    border: 0;
  }

  .main-search-select{
    position: absolute;
    top: -30px;
  }

  .main-search-select button{
    background: rgba(255,255,255,0);
    border: none;
    font-size: 18px !important;
    color: #fff;
    height: 30px;
    width: 200px;
    padding: 0 12px;
    border-radius: 0;
    text-align: left;
  }

  .trans, .fig{
    position:relative;
    height: 30px;
    width: 5px;
    padding: 10px 0;
    background: rgba(0,116,228,0.8);
  }

  .trans:after{
    content:'';
    position:absolute;
    left: 200px;
    top:0;
    bottom:0;
    width:30px;
    background: rgba(0,116,228,0.8);
    -webkit-transform:skewX(30deg);
    -moz-transform:skewX(30deg);
    -ms-transform:skewX(30deg);
    -o-transform:skewX(30deg);
    transform:skewX(30deg);
  }

  .trans:hover, .trans:hover:after{
    /*background-color: $bg-colMainPageH1Block;*/
  }

  .fig:after{
    content:'';
    position:absolute;
    top:0;
    bottom:0;
    right:-20px;
    width: 0;
    height: 0;
    border-top: 40px solid #333;
    border-right: 20px solid transparent;
  }
}

@media (min-width: 768px) {
  .h1-main-page {
    /*background-color: $bg-colMainPageH1Block;*/
    color: #fff;
    width: auto;
    margin-bottom: 0;
    position: relative;
  }

  .h1-main-page h1 {
    position: absolute;
    left: 5px;
    bottom: 0;
    padding: 0 0 5px 0;
    margin: 0 0 0 5px;
    /*text-shadow: $tx-shaMainPageH1Block;*/
    font-size: 36px;
    display: block;
    background: rgba(0,0,0,0) linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.5)) repeat scroll 0 0;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .main-page-big-photo{
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 20%), url("../images/02-V1b820g.jpg");
    height: 468px;
  }

  .search-main-page-wrapper{
    margin-top: 250px;
    padding: 0 10%;
  }

  .visible-in-main-page{
    display: none;
  }

  .h1-main-page h1 {
    font-size: 28px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .main-page-big-photo{
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 20%), url("../images/02-V1b820g.jpg");
    height: 468px;
  }

  .search-main-page-wrapper{
    margin-top: 250px;
    padding: 0 15%;
  }

  .photo-services-main-page{
    height: 180px;
  }

  .text-services-main-page{
    margin-top: 200px;
  }

  .photo-obj-main-page{
    height: 170px;
  }

  .visible-in-main-page{
    display: none;
  }
}
