/**
* 1. Change the default font family in all browsers (opinionated).
* 2. Prevent adjustments of font size after orientation changes in IE and iOS.
* 3. *Hat tip to @thierrykoblentz for this approach: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
*/

html {
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
  box-sizing: border-box; /*3*/
  -ms-touch-action: pan-y;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  touch-action: pan-y;
  height: 100%;
  font: normal normal 14px/21px  'GraphikRegular', sans-serif;
}

/*Yes, the universal selector. No, it isn't slow: https://benfrain.com/css-performance-revisited-selectors-bloat-expensive-styles/*/
* {
  /*Now you can tap and hold for as long as you want on something in iOS, you won’t see that popup anymore*/
  -webkit-touch-callout: none;
  /*This gets -webkit specific prefix as it is a non W3C property*/
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /*Older Androids need this instead*/
  -webkit-tap-highlight-color: transparent;
}

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

body{
  -webkit-touch-callout: none;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: none;
  width: 100%;
  min-height: 100%;
  word-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-backface-visibility: hidden;
  -webkit-user-drag: none;
  background-color: #FFFFFF;
  color: #333333;
}

/**
* Remove the margin in all browsers (opinionated).
*/

body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  /*We will be adding our own margin to these elements as needed.*/
  margin: 0;
}

/**
* 1. Add the correct display in Edge, IE, and Firefox.
* 2. Add the correct display in IE.
*/


details, /* 1 */
main, /* 2 */
summary { /* 1 */
  display: block;
}


/**
* Add the correct display in iOS 4-7.
*/

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/

progress {
  vertical-align: baseline;
}

/**
* Add the correct display in IE 10-.
* 1. Add the correct display in IE.
*/

template, /* 1 */
[hidden] {
  display: none;
}

/*No bold for b tags by default*/
b {
  font-weight: 400;
}

/*Prevent these elements having italics by default*/
em,
i {
  font-style: normal;
}

/**
* 1. Remove the gray background on active links in IE 10.
*/

a {
  background-color: transparent; /*1*/
  text-decoration: none;
  color: #2d7ee0;
}

a, button{
  display:inline-flex;
}

button {
  padding: 0;
}
/**
* Remove the outline on focused links when they are also active or hovered
* in all browsers (opinionated).
*/

a:active,
a:hover,
a:focus {
  outline-width: 0;
}

/**
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/

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


/**
* Add the correct font style in Android 4.3-.
*/

dfn {
  font-style: italic;
}




/**
* Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}


/*SVG defaults to inline display which I dislike*/
svg {
  display: inline-flex;
}

img {
  -webkit-user-drag: none;
  /*Make images behave responsively. Here they will scale up to 100% of their natural size*/
  max-width: 100%;
  /*Make images display as a block (UA default is usually inline)*/
  display: block;
}

/**
* Hide the overflow in IE.
*/

svg:not(:root) {
  overflow: hidden;
}


/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
pre,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}



/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border: 1px solid;
  margin: -1px 0;
}

/* Forms
========================================================================== */

/**
* Change font properties to `inherit` in all browsers (opinionated).
*/

button,
input,
select,
textarea {
  font: inherit;
}

/**
* Restore the font weight unset by the previous rule.
*/

optgroup {
  font-weight: bold;
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
* 2. Show the overflow in Edge, Firefox, and IE.
*/

button,
input, /* 1 */
select { /* 2 */
  overflow: visible;
}

/**
* Remove the margin in Safari.
* 1. Remove the margin in Firefox and Safari.
*/

button,
input,
select,
textarea { /* 1 */
  margin: 0;
}

/**
* Remove the inheritence of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritence of text transform in Firefox.
*/

button,
select { /* 1 */
  text-transform: none;
}

/**
* Change the cursor in all browsers (opinionated).
*/

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

/**
* Restore the default cursor to disabled elements unset by the previous rule.
*/

[disabled] {
  cursor: not-allowed;
  opacity: 0.8;
}

/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
*    controls in Android 4.
* 2. Correct the inability to style clickable types in iOS.
*/

button,
[type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
  background-color: transparent;
  border-radius: 0;
  border:none;
}


/**
* Change the border, margin, and padding in all browsers (opinionated).
*/
input,
fieldset {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  /*inputs and fieldset defaults to having a min-width equal to its content in Chrome and Firefox (https://code.google.com/p/chromium/issues/detail?id=560762), we may not want that*/
  min-width: 0;
  /*Reset the font size and family*/
  font-size: inherit;
  font-family: inherit;
  color:inherit;
  line-height: inherit;
}

/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
*    `fieldset` elements in all browsers.
*/

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

/**
* Remove the default vertical scrollbar in IE.
*/

textarea {
  overflow: auto;
}

/* For IE, we want to remove the default cross ('X') that appears in input fields when a user starts typing - Make sure you add your own! */
input::-ms-clear {
  display: none;
}

/**
* Remove the inner border and padding in Firefox.
*/

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/*This switches the default outline off when an input receives focus (really important for users tabbing through with a keyboard) so ensure you put something decent in for your input focus instead!!*/
input:focus,
button:focus {
    outline: 0;
}


button:-moz-focusring,
input:-moz-focusring {
  outline: 0;
}

input::placeholder {
    line-height: inherit;
    color: #999999;
    text-transform: none;
    text-align: inherit;
    font-weight: normal;
    background-color: inherit;
  }

input[type="number"]
{
    -moz-appearance: textfield;
}

/**
* 1. Correct the cursor style of increment and decrement buttons in Chrome.
* 2. Removes the little spinner controls for number type inputs (WebKit browsers/forks only)
* 3. Mozilla shows the spinner UI on number inputs unless we use this:
*/

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; /*1*/
  -webkit-appearance: none;
          appearance: none; /*2*/
  -moz-appearance: textfield; /*3*/
}

/**
* Correct the odd appearance of search inputs in Chrome and Safari.
*/

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

/**
* Remove the inner padding and cancel buttons in Chrome on OS X and
* Safari on OS X.
*/

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

/**
* 1. Remove default vertical scrollbar in IE 8/9.
* 2. Improve readability and alignment in all browsers.
*/

textarea {
  overflow: auto; /* 1 */
  vertical-align: top; /* 2 */
}

/* Typography Sanitation */
ul, ol,dl{
  margin-top: 0;
  margin-bottom: 0;
  padding-left:0;
}
p, pre, table, blockquote {
  margin-top: 0px;
  margin-bottom: 0px;
}
ul{
  list-style: none;
  padding-left:0;
}

ul ul, ol ol, ul ol, ol ul {
  margin-top: 0;
  margin-bottom: 0;
}
dd{
  margin-left:0;
}


/**
* Remove most spacing between table cells.
*/

table {
  border-spacing: 0;
  border-collapse: collapse;
}

td,
th {
  padding: 0;
}

#TooltipContainer{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
  }

#DropdownContainer {
    position: absolute;
    left: -100vw;
    top: -100vh;
    z-index: 3;
  }

#ModalContainer{
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
  }

#CalloutContainer {
    position: absolute;
    left: -100vw;
    top: -100vh;
    z-index: 3;
  }

/* Necessary to prevent red boxes in firefox */
:required {
  box-shadow: none;
}

