@charset "UTF-8";
/* ============================================================
   Get Rich Cheating - mobile overlay  (v3)
   Loads AFTER stylesheet.css / theme style.css.
   Desktop (>= 901px) is completely untouched.
   ============================================================ */

/* ---------- injected menu is hidden on desktop ---------- */
.grc-mobile-bar {
  display: none;
}

@media only screen and (max-width: 900px) {

  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    margin: 0;
    background-image: url(//getrichcheating.com/wp-content/themes/getrichcheating/images/template/bg.jpg);
    background-repeat: repeat;
  }

  /* ---------- kill the fixed 880px grid ---------- */
  .mainArea,
  .contentArea,
  .pageTile,
  .pageTop,
  .pageBottom,
  .sidebar,
  .menuArea,
  .contentMain,
  .contentTitle,
  .contentHeader,
  .sidebarContent {
    float: none !important;
    clear: both !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mainArea {
    padding: 0 12px 28px;
    box-sizing: border-box;
    text-align: left;
  }

  /* ---------- banner scales instead of cropping ---------- */
  .bannerArea {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 15.2%; /* 133 / 880 */
    background-image: url(//getrichcheating.com/wp-content/themes/getrichcheating/images/template/banner.png);
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
  }

  /* ---------- navigation: sprite column -> tap menu ---------- */
  .menuArea .nav,
  .menuArea .bookImageSmall {
    display: none !important;
  }

  .grc-mobile-bar {
    display: block;
    margin: 10px 0 14px;
  }

  .grc-mobile-toggle {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    border: 0;
    border-radius: 4px;
    background: #007F3E;
    color: #fff;
    font-family: Helvetica, "Lucida Grande", sans-serif, Arial;
    font-size: 17px;
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: .5px;
    cursor: pointer;
    -webkit-appearance: none;
  }

  .grc-mobile-toggle:after {
    content: "\2261";
    float: right;
    font-style: normal;
    font-size: 22px;
    line-height: 20px;
  }

  .grc-mobile-menu {
    display: none;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    border: 1px solid #d8d0bd;
    border-radius: 4px;
    background: #F7F1E4;
    overflow: hidden;
  }

  .grc-mobile-menu.is-open {
    display: block;
  }

  .grc-mobile-menu li + li {
    border-top: 1px solid #e2dac6;
  }

  .grc-mobile-menu a {
    display: block;
    padding: 14px 16px;
    font-family: Helvetica, "Lucida Grande", sans-serif, Arial;
    font-size: 16px;
    font-weight: bold;
    color: #007F3E;
    text-decoration: none;
  }

  /* ---------- page frame graphics don't tile on small screens ---------- */
  .pageTop,
  .pageBottom {
    display: none !important;
  }

  .pageTile {
    background-image: none !important;
    background: #FFFFFF;
    min-height: 0 !important;
    border-radius: 4px;
    padding: 16px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  }

  .contentMain {
    padding: 0 16px 8px !important;
    font-size: 17px !important;
    line-height: 26px !important;
  }

  .contentTitle {
    padding: 0 16px 10px !important;
    margin-bottom: 12px !important;
    font-size: 17px !important;
  }

  .contentHeader {
    display: none !important;
  }

  /* ---------- media never overflows ---------- */
  .contentMain img,
  .storycontent img,
  .contentMain iframe,
  .storycontent iframe,
  .contentMain object,
  .contentMain embed,
  figure,
  video {
    max-width: 100% !important;
    height: auto !important;
  }

  .contentMain iframe,
  .storycontent iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
  }

  .inlineImage {
    float: none !important;
    display: block;
    margin: 0 auto 14px !important;
    padding-left: 0 !important;
  }

  table {
    max-width: 100% !important;
  }

  /* ---------- blog post typography ---------- */
  .storytitle,
  h1.storytitle {
    font-size: 22px !important;
    line-height: 28px !important;
  }

  h1 {
    font-size: 20px !important;
    line-height: 26px !important;
  }

  h2 {
    font-size: 13px !important;
    line-height: 18px !important;
    margin-top: 0 !important;
  }

  h4 {
    font-size: 17px !important;
  }

  .storycontent {
    font-size: 17px;
    line-height: 26px;
  }

  .attrib {
    padding-left: 0 !important;
  }

  /* ---------- comments / forms ---------- */
  .comment,
  #commentform textarea,
  #commentform input[type="text"],
  #commentform input[type="email"],
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    font-size: 16px !important; /* stops iOS zoom-on-focus */
  }

  input[type="submit"],
  #inputId {
    min-height: 40px;
    font-size: 16px !important;
  }

  #searchform #s {
    width: 70% !important;
  }

  #searchform #inputId {
    width: 26px !important;
    display: inline-block;
    vertical-align: middle;
  }

  /* ---------- sidebar becomes a stacked block ---------- */
  .sidebar {
    background-image: none !important;
    background: #585858;
    border-radius: 4px;
    margin-top: 18px !important;
    padding: 4px 0;
  }

  .sidebarContent {
    padding: 16px 18px !important;
    font-size: 15px !important;
    line-height: 22px !important;
    color: #EFEFEF;
  }

  .sidebarContent a {
    color: #DAB847;
  }

  .sidebarHeading {
    font-size: 18px !important;
  }

  /* ---------- blog extras: keep only Search ---------- */
  .blogxtras {
    float: none !important;
    width: auto !important;
    margin: 0 0 18px !important;
    padding: 14px 16px;
    background: #585858;
    border-radius: 4px;
    text-align: left !important;
    font-size: 15px !important;
    line-height: 26px !important;
  }

  .blogxtras > .blogxtrasHeading,
  .blogxtras > a,
  .blogxtras > select,
  .blogxtras > br {
    display: none !important;
  }

  .blogxtras select {
    max-width: 100%;
    font-size: 16px;
    padding: 8px;
  }

  .blogxtrasHeading {
    font-size: 16px !important;
  }

  /* legacy social badges (StumbleUpon / Digg) are dead weight on phones */
  .digging {
    display: none !important;
  }

  /* generous tap targets everywhere */
  .contentMain a,
  .storycontent a,
  .sidebarContent a,
  .blogxtras a {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}
