/* ==========================================================================
   Game-Remakes.com - layout
   Page frame, header, breadcrumbs, content columns, footer and frame
   breakpoints.
   ========================================================================== */

/* Header
   ========================================================================== */

.siteHeader {
  height: 107px;
  padding-top: 10px;
  background: url('/i/header_background.jpg');
  box-sizing: border-box;
}

.siteHeader a {
  display: block;
  width: 169px;
  margin-left: 9px;
}

.siteHeader img {
  display: block;
  width: 169px;
  height: 87px;
}

/* Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  height: 27px;
}

.breadcrumbsTop {
  display: flex;
  height: 21px;
  background: var(--gr-color-brand);
}

.breadcrumbsLeft,
.breadcrumbsRight {
  display: block;
  flex: 0 0 12px;
  width: 12px;
  height: 21px;
}

.breadcrumbsText {
  flex: 0 0 745px;
  width: 745px;
  height: 21px;
  margin: 0;
  padding: 0;
  color: var(--gr-color-text-inverse);
  font-size: 8pt;
  line-height: 21px;
}

.breadcrumbsText a {
  color: var(--gr-color-surface-soft);
}

.breadcrumbsStrip {
  height: 3px;
  background: url('/i/bg_main.gif');
}

.breadcrumbsTopline {
  height: 3px;
  background: url('/i/page_top.gif') repeat-x;
}

/* Main content area
   ========================================================================== */

.content {
  display: flex;
  width: 769px;
  padding-bottom: 1px;
  background: url('/i/page_bg.gif');
}

.contentSpacerLeft {
  flex: 0 0 10px;
  width: 10px;
}

.main {
  overflow: hidden; /* fallback: contain child margins */
  display: flow-root;
  flex: 0 0 564px;
  width: 564px;
}

.contentSpacerMiddle {
  flex: 0 0 12px;
  width: 12px;
}

.sidebar {
  flex: 0 0 177px;
  width: 177px;
  padding-top: 13px;
}

.contentSpacerRight {
  flex: 0 0 6px;
  width: 6px;
}

/* Footer
   ========================================================================== */

.footerTop {
  width: 769px;
  background: url('/i/green_bg.gif');
}

.footerStrip {
  display: block;
  width: 769px;
}

.footerStrip3 {
  height: 3px;
}

.footerStrip6 {
  height: 6px;
}

.footerSearch {
  display: flex;
  height: 63px;
}

.footerSearchLeft {
  width: 50%;
}

.footerSearchRight {
  width: 50%;
}

.footerSearch h2 {
  margin: 5px 0 0 10px;
  color: var(--gr-color-border);
  font: normal bold 9pt Verdana, sans-serif;
}

.footerSearch form {
  margin: 2px 0 0 10px;
}

.footerSearch input {
  font-size: 9pt;
}

.footerSearch input[type="text"] {
  width: 200px;
  margin: 0 5px 2px 0;
}

.footerSearch input[type="submit"] {
  width: 80px;
}

.footerSearch p {
  margin: 0 0 5px 10px;
  font-size: 11px;
}

.footerBottom {
  width: 769px;
  padding: 10px;
  background: url('/i/bg_main.gif');
  color: var(--gr-color-text-inverse);
  font: normal normal 9pt Verdana, sans-serif;
  box-sizing: border-box;
}

.footerBottom p {
  margin: 0;
}

/* ==========================================================================
   Responsive page frame
   ========================================================================== */

@media (max-width: 800px) {

  .page {
    width: 100%;
    max-width: 769px;
  }

  .siteHeader {
    background-position: center top;
    background-size: cover;
  }

  .siteHeader a {
    margin: 0 auto;
  }

  .breadcrumbs {
    height: auto;
  }

  .breadcrumbsTop {
    min-height: 21px;
    height: auto;
  }

  .breadcrumbsLeft,
  .breadcrumbsRight {
    display: none;
  }

  .breadcrumbsText {
    flex: 1 1 auto;
    width: auto;
    height: auto;
    padding: 6px 10px;
    line-height: 1.4;
    box-sizing: border-box;
  }

  .content {
    display: block;
    width: 100%;
    padding-bottom: 0;
    background-color: var(--gr-color-text-inverse);
    background-image: none;
  }

  .contentSpacerLeft,
  .contentSpacerMiddle,
  .contentSpacerRight {
    display: none;
  }

  .main {
    width: auto;
    padding: 0 10px;
  }

  .sidebar {
    width: auto;
    padding: 16px 10px;
  }

  .footerTop,
  .footerBottom {
    width: 100%;
  }

  .footerStrip {
    width: 100%;
  }

  .footerSearch {
    display: block;
    height: auto;
    padding: 0 10px 10px;
    box-sizing: border-box;
  }

  .footerSearchLeft {
    display: none;
  }

  .footerSearchRight {
    width: auto;
  }

  .footerSearch h2,
  .footerSearch form,
  .footerSearch p {
    margin-left: 0;
  }

  .searchFields {
    display: flex;
    gap: 5px;
  }

  .footerSearch input[type="text"] {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin-right: 0;
  }

  .footerSearch input[type="submit"] {
    flex: 0 0 80px;
    width: 80px;
  }

}
