/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.23, autoprefixer: v9.7.3) */

/* Home page styles */

.color-overlay {
  position: relative;
}

.color-overlay::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: ' ';
  opacity: 0;
  -webkit-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.color-overlay:hover::after {
  opacity: 0.75;
}

.business-overlay::after {
  background: #7ac143;
}

.customer-overlay::after {
  background: #fcb415;
}

.home-row {
  position: relative;
}

#golocal-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35vw;
  height: 35vw;
  max-width: 240px;
  max-height: 240px;
  z-index: 50;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
  #golocal-logo {
    width: 20vw;
    height: 20vw;
  }
}

.home-icon {
  position: absolute;
  z-index: 100;
  opacity: 0;
  -webkit-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
  max-width: 240px;
  max-height: 240px;
  pointer-events: none;
}

.home-message {
  position: absolute;
  font-size: 6vw;
  z-index: 100;
  opacity: 0;
  -webkit-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

@media (min-width: 768px) {
  .home-message {
    font-size: 5vw;
  }
}

.home .tile-link {
  z-index: 150;
}

#home-business {
  height: 50vw;
  background-image: url('../images/Website-Refresh_Olivers_Biz1.jpg');
}

#business-icon {
  right: 50%;
  top: 100%;
  width: 35vw;
  height: 35vw;
  -webkit-transform: translate(50%, -50%);
      -ms-transform: translate(50%, -50%);
          transform: translate(50%, -50%);
}

#business-message {
  top: 20%;
  bottom: auto;
  right: 50%;
  margin-right: -15%;
}

@media (min-width: 768px) {
  #home-business {
    height: 30vw;
  }

  #business-icon {
    right: 0;
    top: 50%;
    width: 20vw;
    height: 20vw;
  }

  #business-message {
    top: auto;
    bottom: 10%;
    right: 30%;
    margin-right: 0;
  }

}

#home-resident {
  height: 50vw;
  background-image: url('../images/Website-Refresh_Olivers_Consumer2.jpg');
}

#resident-icon {
  left: 50%;
  top: 0;
  width: 35vw;
  height: 35vw;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

#resident-message {
  top: auto;
  bottom: 20%;
  left: 50%;
  margin-left: -15%;
}


@media (min-width: 768px) {
  #home-resident {
    height: 30vw;
  }

  #resident-icon {
    left: 0;
    top: 50%;
    width: 20vw;
    height: 20vw;
  }

  #resident-message {
    bottom: 10%;
    left: 30%;
    margin-left: 0;
  }
}

#home-business:hover #business-icon,
#home-resident:hover #resident-icon,
#home-business:hover #business-message,
#home-resident:hover #resident-message {
  opacity: 1;
}

#footer-center-text {
  font-size: 1.2rem;
}

#footer-video-thumbnail {
  max-width: 350px;
  width: 100%;
}

.btn-circle {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
}

#made-local-button img {
  width: 50px;
  height: 50px;
  margin-top: -6px;
  margin-left: -1px;
}

.btn-made-local {
  background-color: #d12229;
  border-color: #d12229;
}

.btn-made-local:hover {
  background-color: #ae1c22;
  border-color: #ae1c22;
}

.btn-twitter {
  color: #fff;
  background-color: #00acee;
  border-color: #00acee;
}

.btn-twitter:hover {
  color: #fff;
  background-color: #0091c9;
  border-color: #0091c9;
}

.btn-instagram {
  color: #fff;
  background-color: #bc2a8d;
  border-color: #bc2a8d;
}

.btn-instagram:hover {
  color: #fff;
  background-color: #992273;
  border-color: #992273;
}

.btn-facebook {
  color: #fff;
  background-color: #3b5998;
  border-color: #3b5998;
}

.btn-facebook:hover {
  color: #fff;
  background-color: #2e4677;
  border-color: #2e4677;
}

.btn-youtube {
  color: #fff;
  background-color: #ff0000;
  border-color: #ff0000;
}

.btn-youtube:hover {
  color: #fff;
  background-color: #d30000;
  border-color: #d30000;
}

.btn-linkedin {
  color: #fff;
  background-color: #0e76a8;
  border-color: #0e76a8;
}

.btn-linkedin:hover {
  color: #fff;
  background-color: #0c618a;
  border-color: #0c618a;
}


/* Carousel */
#supporter-carousel {
  opacity: 0;
  -webkit-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

#supporter-carousel.show {
  opacity: 1;
}

#supporter-carousel .carousel-item {
  width: 100%;
  padding: 2%;
}

/* Landing page styles */

#logo-image {
  margin-top: 10%;
  margin-bottom: 5%;
  max-width: 250px;
  width: 80%;
}

.landing-page h1 {
  font-size: 4rem;
}

.bg-business {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#7ac143), to(#f8f9fa));
  background-image: -o-linear-gradient(#7ac143, #f8f9fa);
  background-image: linear-gradient(#7ac143, #f8f9fa);
}

.bg-resident {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fcb415), to(#f8f9fa));
  background-image: -o-linear-gradient(#fcb415, #f8f9fa);
  background-image: linear-gradient(#fcb415, #f8f9fa);
}

#sidebar {
  padding: 1rem;
}

.testimonial {
  background: rgba(0, 0, 0, 0.4);
  margin: 1rem 0 2rem;
  border-radius: 0.5rem;
  color: #e0e1e3;
  font-size: 1rem;
  text-align: left;
}

.testimonial p:before,
.testimonial p:after,
.testimonial footer {
  color: #c1c2c4
}

.testimonial footer {
  text-align: right;
}

.content-column {
  border-radius: 0.5rem 0.5rem 0 0;
}

@media (min-width: 992px) {
  #logo-image {
    margin-top: 10%;
    margin-bottom: -25%;
    position: relative;
    z-index: 100;
  }

  #sidebar {
    margin-top: 5rem;
  }
}

/* Search styles */
.results .location-place .card-img-top {
  background-image: url(../images/map.png) !important;
}

/* Directory styles */
.member-icon {
  width: 20%;
  height: 20%;
  margin-top: -0.4rem;
}

.card-img-overlay-top {
  right: 0.5rem;
}