/* Merch DB Styles */

:root {
  --btn-color: #297368;
  --btn-hover-color: #3fbba9;
}

body {
  background: url("/layout/imgs/merchdb/bg.png");
}

a, .side-nav li a { color:#19688E; }
.content-wrapper a:not(.button) { text-decoration-color: #19688E70; }
.content-wrapper a:not(.button):focus, .content-wrapper a:not(.button):hover { text-decoration-color: #7EB0C86B; }
a:focus, a:hover, .side-nav li a:focus, .side-nav li a:hover { color:#28A4DF; }
a:active, .side-nav li a:active { color:#8E6E3D; }

.button {
  background-color: var(--btn-color);
}

.button:hover, .button:focus {
  background-color: var(--btn-hover-color);
}

.jnheader:before {
  background-color:#7cd0c4;
}

.jnheader:after {
  background-position: -200px 50%;
}

.breadcrumbs>* a, .jnheader {
  color:#19688E;
}

.sub-nav dt.active a, .sub-nav dd.active a, .sub-nav li.active a {
  background:#19688E;
}

/* Dept Nav Styling */

#layout-dept-wrapper, #layout-depts {
  background-color:#ABDBD4;
}

#layout-depts a:hover, #layout-depts a.current {
  background-color:#2B9181;
  color:#fff;
}

/* Header Styling */

#layout-logo-row {
  background-image:url('/layout/imgs/merchdb/header_bg.png');
}

#layout-logo-row-wrapper {
  background: rgba(171, 249, 237, 0.53);
}

#layout-logo-plate {
  background-image:url('/layout/imgs/merchdb/plate_icon.png');
}

#layout-logo {
  background-image: url('/layout/imgs/merchdb/logo.png');
  width: 410px;
}

#layout-logo.white {
  background-image:url('/layout/imgs/merchdb/logo_white.png');
}

@media only screen and (max-width: 768px) { /* Mobile Header Title */
  .top-bar, .top-bar.expanded .title-area {
    background-image: url("/layout/imgs/merchdb/logo_mobile.png");
  }
}

/* Navigation Coloring */

#layout-nav-menu-wrapper {
  background: #105349;
}

.top-bar, .contain-to-grid, .top-bar-section .dropdown {
  background-color: #1e8273;
}

.top-bar-section > ul {
  background-color: transparent;
}

.top-bar, .top-bar-section li a:not(.button){
  background-color: #1e8273;
}

.top-bar-section ul li.active>a {
  background-color:#5CA69B;
}

.top-bar-section li a:not(.button):hover {
  background-color:#7FDDCF;
}

.top-bar-section ul li:hover>a, .top-bar.expanded .title-area {
  background-color:#5CA69B;
}

.top-bar.expanded .toggle-topbar a span { /* Menu hamburger .expanded color */
  box-shadow: 0 10px 0 1px #fff,0 16px 0 1px #fff,0 22px 0 1px #fff;
}

.top-bar.expanded .toggle-topbar a { /* Menu hamburger text .expanded color */
  color:#fff;
}

/* Sidebar */

.dept-search-bar, .goodie-tool-bar {
  background-color: #e4f6f9;;
}

#merchdb-sidebar-search > form {
  font-size: 0.8em;
}

ul.side-nav-homepage {
  list-style-type: none;
  margin-left: 0;
  font-size: 0.8em;
}

ul.side-nav-homepage > li {
  margin-bottom:0.5em;
}

ul.side-nav-homepage > li > a {
  display:block;
}

/* Pagination coloring */

ul.pagination li.current a, ul.pagination li.current a:hover, ul.pagination li.current a:focus {
  background-color:#774E81;
}

/* Footer Styling */

#layout-footer-links {
  background-color:#478F8C;
}

@media only screen and (min-width: 70em) {
  #layout-footer-links {
    background-image:url('/layout/imgs/merchdb/footer_bg.png');
  }
}

#layout-footer-links li:hover, #layout-footer-legal li:hover {
  background-color:#7FDDCF;
}

#layout-footer-legal {
  background-color:#076A5B;
}

#footer-mascot {
  background:url('/layout/imgs/merchdb/mascot_footer.png') no-repeat top left;
  bottom:-10px;
  width: 210px;
}

/* Content Specific Styling */

.alert-box {
  background-color: #f5f5f5;
  background-image: url('/layout/imgs/merchdb/mascot_150.png');
  background-position: -10px -4px;
  background-size: 75px 75px;
  background-repeat: no-repeat;
  padding-left: 75px;
  border: none;
  border-left: 5px solid #1e8273;
  color: #222;
  font-weight: normal;
  line-height:1.6;
}

/* Product Pages */

.no-product-img {
  background-image: url('/assets/imgs/products/no_image.png');
  background-repeat: no-repeat;
  background-color:  var(--btn-color);
  background-position: center center;
  margin: 0 auto 1.5em auto;
}

.no-product-img.lg {
  background-size: 150px 150px;
  width: 150px;
  height: 150px;
  border-radius: 150px;
}

.item-profile-sub-nav {
  padding-left: 3%;
  border-bottom: solid 3px #E6E6E6;
  border-radius: 20px 0 0 20px;
  margin: 0.25em 0px 1.125em 0em;
}

.retailer-icon {
  border: 2px solid #F6F6F6;
  transition: border-color 300ms ease-out;
}

.retailer-icon:hover {
  border-color: rgb(114, 114, 114);
}

.merch-image-carousel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.merch-image-thumb {
  width: 50px;
  height: 50px;
  border: 1px solid #fff;
  box-shadow: 0 0 9px rgba(0,0,0,0.2);
}

.merch-image-thumb.active,
.merch-image-thumb:hover {
  border-color: #333;
}