/* =================================================
   HMIX BASE STYLES
   Foundation / Reset / Typography / Box Model
================================================= */

/* ---------------------------
   HTML + Global Behavior
---------------------------- */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    height: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* ---------------------------
   Text Selection
---------------------------- */
::selection {
    background: #1f6faa50;
}

::-moz-selection {
    background: #1f6faa50;
}

input::selection {
    background: #1f6faa50;
}

/* ---------------------------
   Typography Structure
---------------------------- */
h1, h2, h3, h4, h5, h6 {
    clear: both;
}

h1 {
    color: #fff;
    font-size: 2em;
    margin: 0.67em 0;
}

h2 {
    color: #000;
}

p {
    margin-bottom: 1.5em;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

big {
    font-size: 125%;
}

small {
    font-size: 80%;
}

/* ---------------------------
   Emphasis / Inline Elements
---------------------------- */
dfn, cite, em, i {
    font-style: italic;
}

b, strong {
    font-weight: bolder;
}

/* IMPORTANT:
   We removed forced black color from em/strong
   and removed global list-style reset.
*/

/* ---------------------------
   Lists
---------------------------- */
li {
    list-style: none;
}

/* ---------------------------
   Code Formatting
---------------------------- */
pre {
    background: #eee;
    font-family: monospace, monospace;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code, kbd, samp, tt, var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 0.9375rem;
}

/* ---------------------------
   Abbreviations / Marking
---------------------------- */
abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline dotted;
}

mark, ins {
    background: #fff9c0;
    text-decoration: none;
}

/* ---------------------------
   Media
---------------------------- */
img {
    border-style: none;
    max-width: 100%;
    height: auto;
}

/* ---------------------------
   Forms Reset
---------------------------- */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

textarea {
    overflow: auto;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/* ---------------------------
   Inputs
---------------------------- */
[type="checkbox"],
[type="radio"] {
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* ---------------------------
   Misc
---------------------------- */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

/* ---------------------------
   Global Typography Defaults
---------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

body {
    background: #fff;
}

hr {
    background-color: #222;
    border: 0;
    height: 1.5px;
    margin: 3px 0;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: black;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
    font-family: helvetica;
    cursor: text;
}

input:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

a {
    font-family: Lato, monospace, sans-serif;
    color: #1f6faa;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: #ff6600; /* vivid orange */
}