/*
 * Generic reset style sheet - enforce sensible and consistent defaults across
 * all devies.
 * (c) Silver Wolf Media (www.silverwolfmedia.com) - all rights reserved.
 */

/* Set starndard box sizing algorithm; remove default margin/padding */
* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}


/* Try to avoid weird overflow warnings/issues, especially in Firefox: */
html {
  width: 100%;
}


/* Add accessible line-height */
body {
  line-height: 1.5em;
  min-height: 100vh;
}


/* Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}


/* Inherit fonts for form controls */
input, button, label, textarea, select {
  font: inherit;
  line-height: 1.1em;
}


/* Avoid text overflows */
p, h1, h2, h3, h4, h5, h6, li {
  overflow-wrap: break-word;
}


/* Improve line wrapping */
p, em {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}


/* Use reliable and intuitive table cell content defaults */
td, th {
  vertical-align: top;
  text-align: left;
}

th {
  font-weight: bold;
}


/* Support shiv for deprecated tags in legacy HTML code */
em {
  font-weight: bold;
  font-style: italic;
}

u {
  text-decoration: underline;
}

strike {
  text-decoration: line-through;
}

center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

sup {
  vertical-align: super;
  font-size: 0.6em;
}

sub {
  vertical-align: sub;
  font-size: 0.6em;
} 

small {
  font-size: smaller;
}


/* Make blockquote sections behave */
blockquote {
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 3em;
  margin-right: 3em;
}

/* Horizontal lines needs some sensible styling to show up at all */
hr {
  clear: both;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  margin-bottom: 1em;
  border-top: 1px solid currentcolor; 
}


/* Use a terminal-type font for preformatted conent: */
pre {
  font-family: "Courier New", monospace;
}

/* EOF */
