.btn-renterinsights {
    color: #fff;
    background-color: #5C0C79;
    border-color: #5C0C79;
}

.bg-renterinsights {
    background-color: #3F097E;
}

.nav-pills .nav-link.active {
  background-color: #3F097E;
}
.nav-pills .nav-link {
  border-color: #3F097E;
  border-width: 2px;
  border-style: solid;
  color: #3F097E;
}

.button_loading {
  visibility: hidden;
  opacity: 0;
}

.search-map {
    display: block;
    left: auto;
    width: calc(100% - 800px);
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

#wrapper {
  position: relative;
  flex: 1 0 auto;
}

#content {
  max-width: 1200px;
}

.is-hidden { display: none; }

.footer {
  flex-shrink: 0;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container video {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

#results_div {
  display: flex;
  flex-direction: row;
}

#application_map {
  visibility: hidden;
  position: relative;
}

#searchBar {
  background: white;
  z-index: 100;
}
.mobile-navbar {
  display: block;
}
.desktop-navbar {
  display: none;
}
.search-filters-desktop {
  display: block;
}
#results_detail_div {
  margin-top: 0px;
}
#market-eco-rankings-desktop {
  display: none;
}
#market-eco-rankings-mobile {
  display: block;
}

@media (min-width: 768px) {
  #searchBar {
    position: fixed;
  }
  .mobile-navbar {
    display: none;
  }
  .desktop-navbar {
    display: block;
  }
  .search-filters-desktop {
    display: block;
  }
  #results_detail_div {
    margin-top: 250px;
  }
  #market-eco-rankings-desktop {
    display: block;
  }
  #market-eco-rankings-mobile {
    display: none;
  }
}

@media (min-width: 768px) {
  #results_detail_div {
    margin-top: 180px;
  }
}

@media (min-width: 992px) {

  #results_div {
    width:66%;
  }

  #results_detail_div {
    margin-top: 130px;
    min-height: 500px;
    padding-right: 0;
  }

  #application_map {
    visibility: visible;
    position: fixed;
    width: 34%;
    top:200px;
    bottom: 0;
    right: 0;
  }  

}

@media (min-width: 1320px) {

  #results_div {
    width:880px;
  }
  #application_map {
    left:880px;
    width: auto;
  }  
}

/* Just styling the content of the div, the *magic* in the previous rules */
.video-container .caption {
  z-index: 1;
  position: relative;
  text-align: center;
  color: #dc0000;
  padding: 10px;
}

.photo-container {
  position: relative;
}

/* Bottom right text */
.text-block {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background-color:rgba(0,0,0,.3);
  color: white;
  padding-left: 20px;
  padding-right: 20px;
}