body {
  padding: 6rem 0 0 0;
  background-color: #f7f6f6;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

nav.navbar.navbar-expand-lg.navbar-dark.fixed-top {
  background-color: #a51a1b;
}

/* add space before logo */
.navbar-brand {
  margin-left: 1rem;
}

nav.navbar .nav-item {
  margin-right: 5px;
  font-weight: bold;
}

nav.navbar .btn.nav-link {
  font-weight: bold;
}

nav.navbar .dropdown-menu {
  background-color: #a51a1b;
}

nav.navbar .dropdown-item {
  color: #fff;
}

nav.navbar .dropdown-item:hover, nav.navbar .dropdown-item:focus {
  background-color: #007bff;
}

nav.navbar .btn.focus, nav.navbar .btn:focus {
  box-shadow: none;
}

a.nav-link:hover, a.dropdown-item:hover {
  text-decoration: none !important;
}

/* image slider settings */
@keyframes slider-ticker 
{
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-108rem, 0, 0);
  }
}

.feature-slider {
  animation: slider-ticker 130s linear infinite;
  margin-bottom: 10px;
}

.feature-slider img {
  margin: 0 1px;
}

/* menu icons */
.social {
  list-style: none;
}

a > svg {
  width: 25px;
  height: 25px;
  fill: rgba(255,255,255,.5);
  padding-bottom: 4px;
}

/* adjust right side of slider */
/*.container-fluid.slider {
  padding-right: 0.9rem !important;
}*/

/* override extra bottom white space from slider */
/*.bx-wrapper {
  margin-bottom: 20px !important;
}*/

/* reduce default padding (only for main content part) */
.container-fluid.main-content {
  padding-right: 0.05rem !important;
  padding-left: 0.05rem !important;
}

.card {
  background-color: #f0eded;
}

.white-background {
  background-color: #ffffff;
}

.widget {
  padding: 0 !important;
}

/* search */
.search-box {
  width: 85% !important;
}

button.btn-success.search {
  padding: 6px 8px !important;
  border: 1px solid #2e2525;
  border-left: none;
  margin: 0px 3px 0px 0px;
}

button.btn-success.search > svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  padding-bottom: 2px;
}

/* hot stuff header */
.card-header-hot-stuff, .card-header-gallery, .card-header-figure-month, .card-header-home-promote {
  background-color: #a51a1b;
}

.card-header-hot-stuff a {
  text-decoration: none;
}

.breadcrumb {
  font-size: 10px;
}

/* home page tabs */
.home-tabs li {
  margin-right: 10px;
  margin-bottom: 3px;
}

.home-tabs a {
  background-color: #007bff !important;
  color: #ffffff;
}

.home-tabs a:hover, .nav-pills .nav-link.active {
  background-color: #a51a1b !important;
  color: #ffffff;
}

.tab-pane, .single-month {
  padding-bottom: 10px;
}

.tab-pane img, .single-month img  {
  margin: 2px 0;
}

/* home page rerun month */
.rerun-month {
  width: 100px;
  height: 150px;
  border: 1px solid #b9b8b8;
  margin: 2px 0;
  font-weight: 600 !important;
  opacity: 1 !important;
}

.rerun-month > svg {
	width: 30px;
  height: 30px;
  fill: #ffffff;
}

img.left {
  float: left;
}

.news-entry {
  padding-bottom: 10px;
}

.btn-normal {
  background-color: #007bff;
  color: #ffffff;
}

.btn-normal:hover {
  background-color: #a51a1b;
  color: #ffffff;
}

/* home page rerun cards */
.rerun {
  display: inline-block;
}

.rerun > .card-body {
  padding: 0.2rem;
}

/* home page promotions */
.promo-link {
  padding-left: 0.3rem !important;
}

.promo-box {
  width: 100%;
  padding-right: 10px;
}
/*.home-promo {
  padding: 0;
}

.home-promo-header > a {
  text-decoration: none;
}*/

/*.home-promo > .promo-box {
  width: 100%;
  float: left;
  padding-right: 10px;
  margin-bottom: 10px;
}*/



/*.home-promo > .promo-box:nth-child(1) {
  border-right: 0.8px solid #b9b8b8;
}

.home-promo > .promo-box:nth-child(2) {
  padding-left: 15px;
}*/

/* figures by year link, home page HS promotion buttons */
.year-link, .promote-link {
  margin: 2px 0;
}

a.year-link:hover, a.promote-link:hover {
  text-decoration: none;
  background-color: #a51a1b !important;
}

/* listing profile */
.profile-img {
  padding-right: 0 !important;
  margin-right: 0 !important;
}

/* affiliate logos */
.aff-logo {
  max-height: 80px;
  max-width: 300px;
  padding: 5px;
  margin-right: 10px;
  border: #ccc 1px solid;
  border-radius: 10px;
}

.btn-active {
  background-color: #28a745;
  color: #ffffff;
}

.btn-active:hover {
  background-color: #a51a1b;
  color: #ffffff;
}

footer {
  text-align: center;
}

.bg-primary > a, .bg-success > a {
  color: #ffffff;
}

.gunpla-logos, .gunpla-series-bg {
  background-color: #000000;
}

.search-result-img {
  max-width: 150px;
  margin: 0 auto;
}

.search-result-data {
  text-align: center;
}

/* override .card-footer behaviour for search result links section */
.search-result-links, .blog-links {
  background: transparent;
  border: none;
  text-align: center;
  margin-top: -30px; /* too much white space in between */
}

/* blog navigation icons */
a.btn > svg {
  width: 25px;
  height: 25px;
  fill: rgba(255,255,255,1);
  padding-bottom: 4px;
}

/* contact form */
.form-group label.error {
	color: #FF0000;
	font-style: italic;
}

/* honeypot */
.hpt {
  display: none;
  height: 0;
  width: 0;
}

.adult-consent {
  width: 400px;
  margin: 0 auto;
}

.adult-consent-text {
  font-size: 18px;
}

.btn-adult-agree {
  background-color: #a51a1b;
  color: #ffffff;
}

.btn-adult-agree:hover {
  background-color: #831616;
  color: #ffffff;
}

/* search results affiliate links section collapse toggle effect */
.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem;
  font-weight: 600;
  color: #ffffff;
  border: 0;
  background-color: #007bff;
}

.btn-toggle:hover, .btn-toggle:focus {
  background-color: #a51a1b;
  color: #ffffff;
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

/* for pagination card */
.no-bg {
  background: none;
}

/* page top */
#page-top {
	position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 12px;
  padding-right: 3rem;
}

#page-top a {
  background: #666;
  text-decoration: none;
  color: #fff;
  width: 80px;
  padding: 30px 0;
  text-align: center;
  display: block;
  border-radius: 5px;
	filter: alpha(opacity=70);
	-moz-opacity: 0.70;
	opacity: 0.70;
}

#page-top a:hover {
  text-decoration: none;
  background: #999;
	filter: alpha(opacity=70);
	-moz-opacity: 0.70;
	opacity: 0.70;
}

#page-top > a > svg {
	width: 50px;
  height: 50px;
  fill: #ffffff;
}

/* hack for nav menu dropdown menu in hamburger mode */
@media screen and (max-width: 991px) {
  .ddm-text {
    text-align: center !important;
  }
  .social {
    padding: 0 20px !important;
  }
}

/* hack for sidebar and footer */
@media screen and (max-width: 991px) {
  .col-lg-3 {
    padding-top: 15px !important;
  }
  .col-lg-3 > .container.widget {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .hot-stuff {
    float: left;
    max-width: 50%;
    margin-top: 0 !important;
    margin-right: 1rem !important;
  }
  .sponsor {
    max-width: 50%;
  }
  .siteby {
    width: 100% !important;
  }
}

@media screen and (max-width: 767px) {
  .container-sm, .container {
    max-width: 100% !important;
    padding-right: 0.05rem !important;
    padding-left: 0.05rem !important;
  }
  .search-result {
    width: 100%;
  }
}

/* hack for search boxes */
@media screen and (max-width: 1625px) {
  .search-box input {
    width: 40% !important;
  }
}

/* breakpoint hacks for listing pages */
@media screen and (min-width: 1850px) {
  .profile-data {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
}

@media screen and (min-width: 985px) and (max-width: 1300px) {
  .profile-img {
    min-width: 200px;
  }
}

@media screen and (min-width: 1166px) and (max-width: 1300px) {
  .profile-data {
    max-width: 75% !important;
  }
}

@media screen and (min-width: 985px) and (max-width: 1165px) {
  .profile-data {
    max-width: 70% !important;
  }
}

@media screen and (min-width: 555px) and (max-width: 985px) {
  .profile-img {
    min-width: 120px;
  }
  .profile-data {
    max-width: 75% !important;
  }
  .search-result-img {
    min-width: 120px;
  }
}

@media screen and (min-width: 500px) and (max-width: 555px) {
  .profile-data {
    max-width: 70% !important;
  }
  .profile-img {
    min-width: 120px;
  }
  .search-result-img {
    min-width: 120px;
  }
}

@media screen and (max-width: 500px) {
  .profile-data {
    max-width: 65% !important;
  }
  .profile-img {
    min-width: 100px;
  }
  .search-result-img {
    min-width: 100px;
  }
}

@media screen and (min-width: 465px) and (max-width: 615px) {
  .aff-logo {
    max-width: 200px;
  }
}

@media screen and (max-width: 465px) {
  .aff-logo {
    max-width: 150px;
  }
  .search-result-aff-logo {
    max-width: 100px;
  }
}

@media screen and (min-width: 465px) and (max-width: 845px) {
  .search-result-aff-logo {
    max-width: 150px;
  }
}

/* adjustments for home page promotions */
@media screen and (max-width: 540px) {
  .home-promo > .promo-box:nth-child(1) {
    border-right: none;
  }
  .home-promo > .promo-box:nth-child(2) {
    padding-left: 0;
  }
  .home-promo > .promo-box {
    width: 100%;
    float: left;
  }
}