/*
Theme Name: Brothers Marketplace Theme
Theme URI: https://www.matternow.com
Author: Bobby Wilson
Author URI: https://www.matternow.com
Description: A Bootstrap5 based theme for WordPress.
Version: 1.0
Tested up to: 6.0.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: brothers
*/

@media (max-width: 1200px) {
  /* Sandwich */
  .sandwich img {
    width: 300px;
  }
}

@media (max-width: 575.98px) {
  /* Sandwich */
  .sandwich img {
    width: 200px;
  }
}

.postcard-photo {
  display: inline-block;
  position: relative;
  z-index: 0;
}
.postcard-photo img {
  position: relative;
  z-index: 3;
}
.postcard-photo::after {
  content: "";
  height: 100%;
  width: 100%;
  left: -.75rem;
  bottom: -.75rem;
  background-color: var(--bs-light);
  z-index: 2;
  position: absolute;
}



.postcard-photo::before {
  content: '';
  background-image: url('/wp-content/themes/brothers/img/border/Group-429.png');
  height: 97px; /* 121 */
  /* max-height: 7.5625rem; */
  width: 207px; /* 259 */
  /* max-width: 16.1875rem; */
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: -2.5rem;
  left: -5.625rem;
  z-index: 1;
}

.postcard-col {
  margin-bottom: 1rem;
}

@media (min-width: 1200px) {
  .postcard-col {
    text-align: center;
    margin-bottom: 0;
  }

  .postcard-photo::before {
    height: 7.5625rem;
    width: 16.1875rem;
    top: -2.5rem;
    left: -5.625rem;
  }

}

/* Weekly Ad */
.nav--weekly {
  margin-bottom: 1rem;
  width: 17.5rem;
}

.nav--weekly .nav-link {
  width: 50%;
  font-weight: 700;
  padding: var(--bs-nav-link-padding-y) 0;
  color: #e6e7e8;
  border-bottom-width: 0.875rem;
  border-bottom-style: solid;
  border-bottom-color: #e6e7e8;
}

.nav--weekly .nav-link:not(.active):hover {
	border-bottom-color: var(--bs-body);
	color: var(--bs-body);
}

.nav--weekly .nav-link.active {
  color: var(--bs-primary);
  border-bottom-color: var(--bs-primary);
}

.dropdown-menu.fast {
  font-family: var(--bs-body-font-family) !important;
}
