/* Let our pages run edge to edge under the theme's header, and hide any page title. */
body.tid-raw { overflow-x: clip; }
body.tid-raw .site-content,
body.tid-raw .site-content-inside,
body.tid-raw .content-area,
body.tid-raw .content-area-inside,
body.tid-raw #primary {
  max-width: none !important; width: 100% !important;
  padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;
  margin-left: 0 !important; margin-right: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important;
  float: none !important; background: none;
}
body.tid-raw .entry-header, body.tid-raw .entry-title, body.tid-raw .page-header { display: none !important; }
/* If the theme still boxes the content in, this breaks the page out to the full window width. */
body.tid-raw .tid-page { position: relative; left: 50%; width: 100vw; margin-left: -50vw; }
body.tid-raw .tid-fallback { max-width: 900px; margin: 0 auto; padding: 40px 20px; }

/* Protect our pages from the theme's generic heading, button and form styling. Our page styles are more specific and still win. */
.tid-page h1, .tid-page h2, .tid-page h3, .tid-page h4, .tid-page h5, .tid-page h6 {
  color: inherit; font-family: inherit; font-weight: 700; text-transform: none; letter-spacing: normal;
  text-shadow: none; margin: 0; padding: 0; border: 0; background: none;
}
.tid-page h1 { font-size: 2em; } .tid-page h2 { font-size: 1.5em; } .tid-page h3 { font-size: 1.17em; } .tid-page h4 { font-size: 1em; }
.tid-page button { box-shadow: none; text-shadow: none; text-transform: none; border-radius: 0; font-family: inherit; }
.tid-page input, .tid-page select, .tid-page textarea { margin: 0; box-shadow: none; font-family: inherit; }
.tid-page img { max-width: 100%; height: auto; border: 0; box-shadow: none; }
.tid-page a { text-shadow: none; }

/* Normalise text: some themes shrink the root font size or bold everything. Our pages use fixed pixel sizes and normal weights. */
.tid-page { font-size: 16px; font-weight: 400; line-height: 1.6; letter-spacing: normal; text-transform: none; }
.tid-page * { font-weight: inherit; }
.tid-page strong, .tid-page b { font-weight: 600; }
.tid-page h1, .tid-page h2, .tid-page h3, .tid-page h4, .tid-page h5, .tid-page h6 { font-weight: 700; }
