@charset "UTF-8";
.hide {
  display: none !important; }

.show {
  display: block !important; }

.green {
  color: #008416; }

.red {
  color: #cc0000; }

.greenBG {
  background-color: #00b71f; }

.redBG {
  background-color: red; }

@font-face {
  font-family: 'SFCompact';
  src: url("fonts/SF-Compact-Display-Medium/SF-Compact-Display-Medium.eot");
  src: local("☺"), url("fonts/SF-Compact-Display-Medium/SF-Compact-Display-Medium.woff") format("woff"), url("fonts/SF-Compact-Display-Medium/SF-Compact-Display-Medium.ttf") format("truetype"), url("fonts/SF-Compact-Display-Medium/SF-Compact-Display-Medium.svg") format("svg");
  font-weight: 500;
  font-style: normal; }

@font-face {
  font-family: 'SFCompact';
  src: url("fonts/SF-Compact-Display-Regular/SF-Compact-Display-Regular.eot");
  src: local("☺"), url("fonts/SF-Compact-Display-Regular/SF-Compact-Display-Regular.woff") format("woff"), url("fonts/SF-Compact-Display-Regular/SF-Compact-Display-Regular.ttf") format("truetype"), url("fonts/SF-Compact-Display-Regular/SF-Compact-Display-Regular.svg") format("svg");
  font-weight: 400;
  font-style: normal; }

@font-face {
  font-family: 'SFCompact';
  src: url("fonts/SF-Compact-Text-Bold/SF-Compact-Text-Bold.eot");
  src: local("☺"), url("fonts/SF-Compact-Text-Bold/SF-Compact-Text-Bold.woff") format("woff"), url("fonts/SF-Compact-Text-Bold/SF-Compact-Text-Bold.ttf") format("truetype"), url("fonts/SF-Compact-Text-Bold/SF-Compact-Text-Bold.svg") format("svg");
  font-weight: bold;
  font-style: normal; }

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  vertical-align: baseline; }

img a {
  border: none; }

a {
  text-decoration: none;
  color: black; }
  a:hover, a:active {
    color: #666; }

html {
  font-size: 16px;
  height: 100%; }

body {
  font-family: "SFCompact", "Lucida Grande", Verdana, Helvetica, Geneva, sans-serif;
  text-rendering: optimizeLegibility;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none; }

main {
  max-width: 667px;
  margin: 0 auto;
  width: 100%;
  height: 100%; }
  main #stockList header {
    z-index: 2000;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    border-bottom: solid 1px #e2e2e2; }
    main #stockList header h1 {
      padding: 10px;
      font-size: 30px;
      padding-left: 5px; }
    main #stockList header h2.initials {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background: #e2e2e2;
      margin: 8px;
      text-align: center;
      font-size: 22px;
      color: #666; }
      main #stockList header h2.initials:hover {
        color: #38b3ff; }
      main #stockList header h2.initials span {
        display: block;
        margin-top: 8px; }
    main #stockList header #addStock {
      position: absolute;
      right: 12px;
      top: -3px;
      padding: 3px;
      font-size: 43px;
      color: #38b3ff; }
  main #stockList ul {
    list-style-type: none;
    margin-top: 60px; }
    main #stockList ul li:nth-child(odd) {
      background: #fafafa; }
    main #stockList ul li a {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
          -ms-flex-direction: row;
              flex-direction: row;
      -webkit-box-pack: justify;
          -ms-flex-pack: justify;
              justify-content: space-between;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; }
      main #stockList ul li a .name {
        font-size: 24px;
        margin: 10px;
        margin-right: 0; }
      main #stockList ul li a .currentPrice {
        padding: 2px 5px;
        border-radius: 3px;
        background: #38b3ff;
        color: white;
        height: 100%;
        margin: 0 10px;
        margin-right: 0;
        z-index: 100;
        font-size: 15px; }
      main #stockList ul li a .percentChange {
        font-weight: bold;
        font-size: 13px;
        margin-left: 8px; }
      main #stockList ul li a section {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -ms-flex-pack: distribute;
            justify-content: space-around;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        margin-right: 12px; }
      main #stockList ul li a div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        margin-right: 4%;
        font-size: 14px;
        font-weight: 500; }
        main #stockList ul li a div h5 {
          margin-right: 6px;
          margin-left: 4px; }
      main #stockList ul li a .sell {
        color: #008416; }
        main #stockList ul li a .sell h5 {
          width: 0;
          height: 0;
          border-left: 5px solid transparent;
          border-right: 5px solid transparent;
          border-bottom: 6px solid #00b71f; }
      main #stockList ul li a .buy {
        color: #cc0000; }
        main #stockList ul li a .buy h5 {
          width: 0;
          height: 0;
          border-left: 5px solid transparent;
          border-right: 5px solid transparent;
          border-top: 6px solid red; }
  main #stockAddEdit {
    display: none;
    background-color: white;
    position: absolute;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; }
    main #stockAddEdit header {
      z-index: 2000;
      background: white;
      position: fixed;
      top: 0;
      left: 0;
      height: 60px;
      width: 100%;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
          -ms-flex-direction: row;
              flex-direction: row;
      -webkit-box-pack: justify;
          -ms-flex-pack: justify;
              justify-content: space-between;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      border-bottom: solid 1px #e2e2e2; }
      main #stockAddEdit header h1 {
        padding: 10px;
        font-size: 20px;
        padding-left: 5px;
        font-weight: bold; }
      main #stockAddEdit header a {
        padding: 16px 12px;
        font-weight: 500;
        font-size: 16px; }
        main #stockAddEdit header a.cancel {
          color: #0091eb; }
        main #stockAddEdit header a.active {
          color: #0091eb; }
        main #stockAddEdit header a.done {
          color: #c1c1c1; }
    main #stockAddEdit form {
      padding: 15px;
      margin-top: 60px;
      text-align: center; }
      main #stockAddEdit form div input {
        text-align: center;
        width: 50%;
        background-color: transparent;
        background-image: none;
        -webkit-appearance: none;
        border: none;
        box-shadow: none;
        text-overflow: ellipsis;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        font-size: 18px;
        padding: 7px;
        border-bottom: solid 1px #e2e2e2;
        -webkit-transition: border 0.3s;
        transition: border 0.3s; }
        main #stockAddEdit form div input:focus {
          outline: none;
          border-bottom: solid 1px #b9b9b9; }
      main #stockAddEdit form div label {
        opacity: 0;
        text-transform: uppercase;
        font-size: 13px;
        color: #b7b7b7;
        font-weight: 600;
        letter-spacing: 1px;
        margin-bottom: 3px;
        margin-left: -1px;
        display: block; }
      main #stockAddEdit form #stockName {
        margin-bottom: 10vh;
        margin-top: 10px; }
        main #stockAddEdit form #stockName input {
          width: 85%;
          border-bottom: none;
          font-size: 20px; }
          main #stockAddEdit form #stockName input:focus {
            border-bottom: none; }
        main #stockAddEdit form #stockName .result {
          height: 30px;
          margin-top: 10px; }
          main #stockAddEdit form #stockName .result b {
            font-weight: 500;
            display: block;
            color: #33a9f2;
            padding: 10px;
            border-radius: 4px; }
          main #stockAddEdit form #stockName .result em {
            color: #666;
            display: block;
            margin-top: 10px; }
        main #stockAddEdit form #stockName img {
          opacity: 0; }
      main #stockAddEdit form #cost {
        margin-bottom: 20px; }
