@import url('https://fonts.googleapis.com/css?family=Ubuntu');

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

* {
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: #fff;
    background: #33485e;
}

.main {
    float: left;
    width: 100%;
    padding: 0 10px;
}

.periods {
    float: left;
    width: 100%;
    margin: 0 0 6px 0;
}

.periods ul {
    float: left;
    width: 100%;
}

.periods ul li {
    float: left;
    display: inline-block;
    width: 16.666666%;
    padding: 3px;
}

.periods ul li a {
    display: inline-block;
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 13px;
    font-weight:bold;
    border: 0 none;
    color: #fff;
    text-decoration: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #33485e;
    border: 1px solid #fff;
}

.periods a.active {
    border-color: #33485e;
    background: #fff;
    color: #33485e;
}

.options {
    float: left;
    width: 100%;
}

.options .formElem {
    float: left;
    width: 50%;
    padding: 3px;
}

.options .formElem select {
    width: 100%;
    height: 30px;
    font-size: 12px;
    color: #19327D;
    font-family: Arial, Helvetica, sans-serif;
}

.chart {
    float: left;
    width: 100%;
    height: 600px;
    margin: 0 0 6px 0;
}

.stockInfos {
    float: left;
    width: 100%;
    margin: 0 0 10px 0;
}

.stockInfos table {
    width: 100%;
    border: 1px solid #cacdcf;
    border-collapse: collapse;
}

.stockInfos table td, .stockInfos table th {
    text-align: center;
    border: 1px solid #cacdcf;
    padding: 6px;
}

.stockInfos table th {
    font-size: 13px;
}

.stockInfos table td {
    font-size: 11px;
}

.compareStocks {
    float: left;
    widtH: 100%;
    margin: 0 0 10px 0;
}

.compareStocks .formElem {
    float: left;
    width: 50%;
    padding: 5px;
}

.compareStocks .formElem span {
    padding: 0 0 0 6px;
    font-weight: bold;
}
.compareStocks .formElem > * {
    cursor: pointer;
}

.annotation {
    float: left;
    width: 100%;
    padding: 0 5px;
    text-align: center;
    font-size: 10px;
}

.news-tooltip {
    font-size: 10px;
    white-space: normal;
}

.actions {
    float: left;
    width: 100%;
    margin: 10px 0;
    padding: 0 10px;
}

text {
    color: #eee;
    fill: #eee !important;
}

.highcharts-grid > * {
    stroke: #4c5e73 !important;
}

.highcharts-container {
    overflow: initial !important;
}
.highcharts-container > svg {
    overflow: visible !important;
}
.highcharts-button {
    transform: translate(0%, 75%) !important;
    z-index: 3;
}
.highcharts-contextmenu {
    position: fixed !important;
    top: 208px !important;
    right: auto !important;
}

.stockInfos  table,
.stockInfos tbody td {
    border: 0 !important;
}

select {
    background:#32475f !important;
    color: #eee !important;
    border: 1px solid #eee !important;
}

.compactView .one-line {
    text-align: center;
}
.compactView .one-line .formElem {
    float: none;
    width: auto;
    display: inline-block;
}
.compactView .stockInfos {
    display: none;
}
.compactView .chart{
    margin: 0;
}
.compactView .compareStocks{
    margin-bottom: 5px;
}
.compactView #container {
    height: auto !important;
}