
/* GENERAL */

html, body {
    padding: 0;
    background-color: #333333;
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: white;
}

select, input, button {
    height: 30px;
    /*top: 50%;
    margin-top: -15px;
    vertical-align: top;*/
    position: relative;
    border: 2px solid white;
    -webkit-appearance: none;
    color: #ffffff;
    border-radius: 5px;
    vertical-align: middle;
    margin: 5px 0;
}

select {
    padding: 0 30px 0 10px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='white'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
    background-size: 10px;
    background-position: calc(100% - 10px) calc(50% + 4px);
}

input {
    background: transparent;
    text-align: left;
    padding: 0 10px;
}

button {
    border-radius: 5px;
    border: 2px solid white;
    background: transparent;
    color: white;
    height: 30px;
    min-width: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: all 200ms;
}

button:hover {
    background-color: rgba(255,255,255, 0.2);
}
button:active {
    background-color: rgba(255, 255, 255, 0.6);
    border-color: transparent;
    color: dimgrey;
}

.direct-input > input {
    -webkit-appearance: none;
    border-right: none;
    display: inline-block;
    padding: 0;
    width: 100px;
    float: left;
    line-height: 15px;
    height: 26px;
    cursor: text;
    font-size: 15px;
}
.direct-input > button {
    height: 30px;
    width: 30px;
    -webkit-appearance: none;
    border: 2px solid white;
    display: inline-block;
    margin: 0;
    padding: 0;
    float: right;
}

/* END GENERAL */

/* HEADER */

#header {
    height: 70px;
    width: 100%;
    min-width: 1000px;
    background-color: #242424;
    font-family: 'Open Sans', sans-serif;
    padding: 0px;
    vertical-align: middle;
    z-index: 20;
    color: white;
    position: fixed;
    border-bottom: 1px solid #cccccc;
}

#header > div.logo {
    float: left;
    margin-left: 20px;
    width: 290px;
    height:100%;
    text-align: left;
}

#header > div.logo img {
    max-height: 60px;
    max-width: 300px;
    margin: 5px 0;
    left:0;
    display: inline-block;
}
#header > div.logo span.name {
    text-align: left;
    height: 100%;
    font-size: 45px;
    vertical-align: top;
    font-weight: bold;
    line-height: 70px;
    margin: 0 auto;
    display: inline-block;
    font-family: 'Tomorrow', sans-serif;
    color: white;
}

#header > span.name {
    text-align: center;
    height: 100%;
    font-size: 45px;
    vertical-align: middle;
    font-weight: bold;
    line-height: 70px;
    margin: 0 auto;
    display: inline-block;
    width:400px;
    text-shadow: 0px 2px 3px black;
    font-family: 'Lily Script One', cursive;
}
#header > div.tickers {
    height: 100%;
    display: inline-block;
    width: 40%;
    overflow-y: hidden;
    overflow-x: auto;
}
#header > div.tickers > div {
    width: 200px;
    height: 100%;
    display: inline-block;
}
#header > div.tickers > div > div.ticker-chart {
    width: 75%;
    height: 100%;
    display: inline-block;
}
#header > div.tickers > div > div.ticker-info {
    width: 25%;
    height: 100%;
    display: inline-block;
    font-size: 11px;
    float: right;
}
#header > div.tickers > div > div.ticker-info > div {
    width: 100%;
    height: 20px;
    line-height: 20px;
}
#header > div.info {
    height: 100%;
    float: right;
    margin-right: 30px;
    min-width: 300px;
    text-align: right;
    display: flex;
}

#header > div.info > * {
    height:30px;
    top:50%;
    margin-top:-15px;
    position: relative;
    vertical-align: middle;
    text-align: center;
    display: inline-block;
    min-width: 60px;
    line-height: 30px;
    margin-right: 5px;
    color: white;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
}

#header > div.info > div,
#header > div.info > a > div {
    padding: 0 10px;
    background-color: transparent;
    border-radius: 5px;
    border: 2px solid transparent;
    text-decoration: none;
}

#header > div.info > a > div {
    height: 26px;
}

#header > div.info > a {
    cursor: pointer;
}

#header > div.info div.highlight {
    border: 2px solid white;
    font-weight: bold;
}

#header > div.progress {
    bottom: 0;
    height: 1px;
    width: 100%;
    position: absolute;
    background-color: transparent;
    padding: 0;
}
#header > div.progress > div.bar {
    background-color: white;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    margin: 0;
}
/* END HEADER */

/* BODY */

#page {
    width: 100%;
    height: calc(100% - 72px);
    top: 71px;
    position: absolute;
}

#menu {
    font-family: 'Tomorrow', sans-serif;
}

table {
    table-layout: fixed;
    width: 100%;
}
table thead tr td {
    border-bottom: 2px solid white;
}
table td {
    height: 50px;
    text-align: center;
    overflow: hidden;
    text-wrap: none;
    text-overflow: ellipsis;
}
table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
}
section > div.title {
    text-decoration: underline;
    font-weight: bold;
    font-size: large;
}
section:not(:first-child){
    margin-top: 20px;
}
section > div > div {
    height: 50px;
    line-height: 50px;
}
section > div > div > span {
    width: 100px;
    display: inline-block;
}
section input {
    padding: 0 10px;
    width: 150px;
}
/* END BODY */

#header .info .direct-input div.answer {
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #242424;
    display: none;
}
.direct-input > input {
    margin-top: -17px;
}
.direct-input > button,
.direct-input > div {
    margin-top: -2px;
}
