/*
This is your custom Style Sheet. It's the last css resource loaded so you can
easily overwrite css selectors from other style sheets.
*/

body {
  background-color: #fff;
}

/* adjustments to the logo size */

.header-brand {
  background-color: #fff;
}

.header-brand .brand-logo {
  /* max-height: 110px; */
  max-width: 330px;
}

@media (max-width: 1200px) and (min-width: 768px) {
  .header-brand .navbar-brand .brand-logo {
    max-height: 90px;
  }
  .header-brand .navbar-brand {
    height: 90px;
  }
  .header-brand .navbar-right {
    clear: none;
  }
}

@media (max-width: 768px) {
  .header-brand .brand-logo {
    max-height: 60px;
  }
}


#navbarLogin li > a[data-trans='Sign Up'] {
  display: none;
}

/* #navbarLogin li > a[data-trans='Log in'] { */
  /* display: none; */
/* } */

#navbarLogin li.divider {
  display: none;
}

a[data-trans='more listings'] {
  display: none;
}


/* search header */

.search-header {
  color: inherit;
}

.search-header .hero-text {
  text-shadow: none;
}

.search-header .hero-text h1 {
  font-size: 35px;
  color: #000;
}
.search-header .hero-text p {
  display: none;
}

.search-header .well-translucid {
  /* search bar */
  margin-top: 10px;
}

/* remove headers from top search bar */

.top-search h1[data-trans^=Explore] {
  display: none;
}

.top-search .btn {
  border-color: #000;
  background-color: #000;
}

.top-search .well.well-translucid .container.no-content {
  height: 115px;
}

.twitter-typeahead .tt-input {
  border-right: 1px solid #d5d8dc;
}

@media (min-width: 768px) {
  .top-search .flex-1 {
    -webkit-flex: none;
    -moz-flex: none;
    flex: none;
  }
}

/* homepage carousel - add a slight shadow at top and bottom */

/* #carousel-slider .item { */
  /*-moz-box-shadow: inset 0 20px 40px -20px #ddd, inset 0 -20px 40px -20px #ddd;
  -webkit-box-shadow: inset 0 20px 40px -20px #ddd, inset 0 -20px 40px -20px #ddd;
  box-shadow: inset 0 20px 40px -20px #ddd, inset 0 -20px 40px -20px #ddd;*/
/* } */


/* hide "popular" label on advertise page */

.plan-box.plan-popular .popular-tag {
  display: none;
}

/* hide unused options in package on advertise page */

.plan-box .plan-desc ul li.text-striketrough {
  display: none;
}

#advertisePlans .nav-tabs.nav-justified {
  display: none;
}

.plan-box {
  width: 320px;
  margin: 0 auto;
  flex-basis: auto;
  -webkit-flex-basis: auto;
  -moz-flex-basis: auto;
}

.plans-content {
  border: 0;
}


/* custom partner widget */

.row.custom-partners-widget h3 {
  font-size: 22px;
  margin-top: .3em;
}


/* all categories page */

#allcategories ul {
   list-style: none;
   padding-left: 0;
}

#allcategories li {
   line-height: 1.2;
   margin-top: .6em;
}

#allcategories b {
   font-size: 18px;
}

#allcategories u {
   text-decoration: none;
}

#allcategories .well {
  border: 0;
  background-color: transparent;
  padding: 0;
  margin-top: -115px;
}


.theme-title.theme-title-centered {
   margin-bottom: 20px;
}


/* 
 advertise page 
 hide copy and tint box, but retain height for background image
 */

.block-container.first.block-bg-image .space-content h1 {
  opacity: 0;
}


.block-container.first.block-bg-image .well-translucid p {
  opacity: 0;
}

/*.block-container.first.block-bg-image */
.well-translucid:before {
  background-color: transparent;
}

/* restore bg tint on homepage */
#mainSearch .well-translucid:before {
  background-color: #164378;
  opacity: 0.2;
}

/* listing detail page */

/* fix for thumbnails on detail page */

/*@media (min-width: 992px) {
  .image-gallery .col-md-3 {
    max-height: 100px;
    margin-bottom: 20px;
  }
}

@media (min-width: 1200px) {
  .image-gallery .col-md-3 {
    max-height: 120px;
    margin-bottom: 20px;
  }
}*/


@media (max-width: 992px) and (min-width: 768px) {
  .col-md-3.col-sm-6:nth-child(2n+1) {
    clear: unset; /* fix for style that prevents images from wrapping properly when heights vary */
  }  
}



@media (min-width: 768px) {
  section#articles .col-sm-4 {
    width: 100%;
  }

  section#articles .theme-box img {
    width: 150px;
    float: left;
    margin: 0 15px 0 0;
  }

  section#articles .theme-box-content h3 {
    margin-top: 0;
  }
  
  section#articles .theme-box {
    margin-bottom: 15px;
  }

}


/* article detail page */

article.detail section#overview img.alignleft {
  float: left;
  margin: 0 15px 5px 0;
}

article.detail section#overview img.alignright {
  float: right;
  margin: 0 0 5px 15px;
}

article.detail .breadcrumb > li {
  border: 1px solid #bae0f3;
  background-color: #d8f1fd;
  padding: 2px 6px;
  line-height: 1.1;
  border-radius: 3px;
  font-size: 13px;
  margin-bottom: 3px;
}

article.detail .breadcrumb > li + li:before {
  content: " ";
}

article.detail .breadcrumb > li a {
  text-decoration: none;
  color: #2694cc;
}

article.detail .breadcrumb > li a i.fa.fa-tag {
  margin-right: .3em;
  font-size: .85em;
}

section#associated-listing img {
  width: 100%;
}

section#associated-listing h2 {
  margin: 0;
}

.details-sidebar .info {
  font-size: 1.3em;
  padding-bottom: 0;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

.details-sidebar .info address {
  margin: 0;
  padding: 0;
  font-size: 14px;
}

/* misc themebox styles */

.theme-title > .view-more {
  text-transform: none;
}

.theme-box .theme-box-content {
  background-color: inherit;
  border: 0;
  padding: 0;
}

/* custom style for putting listing logos and article featured images into bg image */

.theme-box .theme-box-content .featured-listing-image {
  width: 100%;
  height: 173px; /* matching category images */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.theme-box .theme-box-content .featured-article-image {
  width: 100%;
  height: 173px; /* matching category images */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.theme-box .theme-box-content a, 
.theme-box .theme-box-content a:visited {
  color: #333 !important;
}


/* dots on homepage slider */

.carousel-indicators li {
   width: 10px;
   height: 10px;
   border-color: #999;
   margin: 0;
}

.carousel-indicators .active {
   width: 10px;
   height: 10px;
   border-color: #999;
   margin: 0;
   background-color: rgba(0,0,0,0.15);
}


/* carousel captions */

.carousel-caption {
  padding: 8px 0;
  color: #000;
  background-color: rgba(22,67,120,0.2);
}

.carousel-caption p {
  margin: 0;
  font-size: 25px;
}

@media (min-width: 1200px) {
  .carousel-caption {
    top: auto;
    bottom: 50px;
  }
}


/* search results */

@media (min-width: 992px) {
  .summary-box.summary-article > .summary-content .media-left {
    width: auto;
  }
}



/* other */
.block-background-map {
  background-color: transparent;
}



/* footer */

.footer-static-bottom {
  font-weight: 300;
}

.footer-static-bottom .footer-links {
  background-color: inherit;
}

.footer-static-bottom .footer-bottom {
  font-size: 13px;
  color: #ccc;
  background-color: #111;
}


a.googleplus {
    display: none;
}

.share-facebook.social-likes__widget.social-likes__widget_plusone {
    display: none;
}

/* get rid of numbers next to category names */

.list-unstyled li > span {
    display: none;
}

.list-unstyled > li a > strong {
    display: none;
}

li.list-group-item > a > span.badge.pull-right {
    display: none;
}

.image-gallery > .row {
    display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
