/*
//  Reset CSS
//  ----------------------------------------------------------
//  We have learned much from/been inspired by/taken code where offered from:
//
//  Eric Meyer        :: http://meyerweb.com
//  HTML5 Doctor      :: http://html5doctor.com
//  Normalize.css     :: https://necolas.github.io/normalize.css/
//  HTML5 Boilerplate :: http://html5boilerplate.com
//
// ------------------------------------------------------------
*/

* {
    margin: 0;
    padding: 0;
    outline: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    font-size: 16px;
    min-width: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
    touch-action: manipulation;
}

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: normal;
    vertical-align: baseline;
    background: transparent;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

body {
    line-height: 1.428571428571429;
    min-height: 100%;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
a:active, a:hover {
    outline-width: 0;
}

blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

code, pre {
    -moz-osx-font-smoothing: auto;
    -webkit-font-smoothing: auto;
    /*white-space: pre;
    white-space: pre-wrap;
    white-space: pre-line;*/
    word-wrap: break-word;
}
code, pre, kbd, samp {
    font-family: monospace, sans-serif;
}

ul {
    list-style: none;
}

button, input, select, textarea {
    margin: 0;
    overflow: visible;
}
input, select {
    vertical-align: middle
}
button, input[type=button] {
    width: auto;
    overflow: visible;
}
input[type="checkbox"], input[type="radio"] {
    vertical-align: baseline;
}
label, input[type=button], input[type=submit], input[type=file], button {
    cursor: pointer;
}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
    border-style: none;
    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-cancel-button, [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted #000;
    cursor: help;
}

strong {
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
table td, table td img, table th {
    text-align: left;
    vertical-align: top;
}
table th {
    font-weight: bold;
}

hr {
    box-sizing: content-box;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
    overflow: visible;
}

object, embed {
    max-width: 100%;
}
#map img {
    max-width: none;
}

img {
    border-style: none;
}

textarea {
    overflow: auto;
}

.clear {
    display: block;
}
.clear::after {
    clear: both;
    content: ".";
    display: block;
    height: 1px;
    visibility: hidden;
}

/* visually hide content */
/*http://developer.yahoo.com/blogs/ydn/posts/2012/10/clip-your-hidden-content-for-better-accessibility/*/
.visually-hidden {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

/* hide content from the screen and screen readers */
/* http://www.456bereastreet.com/archive/200711/screen_readers_sometimes_ignore_displaynone/ */
.hidden {
    display: none;
    /*visibility: hidden;*/
}
