/* dailyStat */

.ctlog {
    /*margin-top: 30px;*/
}

.ctlog .infoText {
    border: 1px solid #AAA;
    border-radius: 10px;
    padding: 10px;
    margin: 20px 50px;
    color: #888;
    font-style: italic;
    font-size: 10px;
    text-align: center;
    background: #FAFAFA;
}
.ctlog .infoText a {
    font-style: italic;
    font-size: 10px;
}
.ctlog .deleteButton {
    border: 1px solid #AAA;
    padding: 2px;
    background: #F0F0F0;
    position: relative;
    z-index: 99999;
}
.ctlog .downloadBox {
    text-align: right;
}
.dateIntervalBox {
    float: right;
    position: relative;
    border: 1px solid #AAA;
    border-radius: 5px;
    padding: 5px;
}
.dateIntervalBox input.date{
    width: 76px;
    margin: 3px 10px 3px 0;
    text-align: center;
}
.dateIntervalBox #stat_date_set {
    display: none;
}
.dateIntervalBox #stat_calendar {
    float: none;
    top: 62px;
    right: 10px;
    background: #FFF;
    border: 1px solid #AAA;
    border-radius: 5px;
}
.dateIntervalBox #stat_calendar .close {
    color: #000;
    text-align: right;
}
.dateIntervalBox #stat_calendar .close span {
    margin: 5px;
    display: block;
}
.dateIntervalBox .submitButton {
    margin-top: 2px;
}

.chartBox {
    margin: 20px 0;
    position: relative;
}

.chart {
    height: 200px;
    margin: 0 auto;
}

.loader.load {
    opacity: 0.3;
}

.chartBox.load .modePanel, .chartBox.load .chart {
    opacity: 0.3;
}

.chartBox .loading {
    display: none;
    position: absolute;
    top: 40%;
    left: 40%;
    padding: 10px 10px 10px 27px;
    border: 1px solid #AAA;
    background-position: 5px center;
}
.chartBox.load .loading {
    display: block;
}

.chartBox .modePanel {
    width: 100%;
}

.modeSelector {
    float: right;
}

.buttongroup li {
    display: block;
    float: left;
    border: 1px solid #CCC;
    box-shadow: inset 0px 1px 2px rgba(0,0,0,.2);
    padding: 8px;
    background: #fEfEfE;
    cursor: pointer;
}
.buttongroup li:hover {
    background: #f0f0f0;
}
.buttongroup li.selected {
    background: #f0f0f0;
}
.buttongroup li:first-child {
    border-radius: 5px 0 0 5px;
}
.buttongroup li:last-child {
    border-radius: 0 5px 5px 0;
}

.totalBox .totalBoxItem {
    float: left;
    display: block;
    border-right: 1px solid #DDD;
    padding: 10px;
    cursor: pointer;
}
.totalBox .totalBoxItem .title {
    font-size: 13px;
}
.totalBox .totalBoxItem .value {
    font-size: 24px;
}
.totalBox .totalBoxItem .chart {
    width: 170px;
    height: 18px;
    margin-top: 10px;
}

.statTable {
    margin-top: 50px;
}
.statTable h1 {
    font-size: 24px;
    text-align: left;
    color: #000;
    margin: 30px 0;
}
.statTable h1 span.dateinterval {
    font-size: 60%;
    font-style: italic;
}
.statTable .right {
    text-align: right;
}
.statTable .extId {
    font-style: italic;
    font-size: 10px;
}

.dataTables_wrapper .dataTables_length {
    float: right;
}




/* typeahead */
.twitter-typeahead {
    width: 100%;
}


.tt-hint {
  color: #999;
  display: none !important;
}

.tt-dropdown-menu {
  width: 100%;
  margin-top: 2px;
  max-height: 330px;
  overflow-y: auto;
  padding: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestions {
    padding: 10px 0;
}

.tt-suggestion {
  padding: 3px 5px;
  font-size: 11px;
  line-height: 16px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.tt-suggestion.tt-is-under-cursor {
  background-color: #EDF0F3;
  border-top: 1px solid #a3b3c2;
  border-bottom: 1px solid #a3b3c2;
}

.tt-suggestion p {
  margin: 0;
}

.productSuggestion {
    width: 100%;
    display: table;
}

.productSuggestionRow {
    display: table-row;
    border-bottom: 1px solid #a3b3c2;
}

.productSuggestion .picture{
    display: table-cell;
    padding: 5px;
    vertical-align: middle;
    width: 70px;
}

.productSuggestion img{
    border: 1px solid #a3b3c2;
    border-radius: 5px;
}

.productSuggestion .info {
    display: table-cell;
    vertical-align: middle;
    padding: 5px 0 5px 10px;
}

.productSuggestion .info .name {
    font-size: 13px;
    font-weight: bold;
}
.productSuggestion .info .category {
    font-size: 11px;
    color: #AAAAAA;
}
.productSuggestion .info .price {
    font-size: 13px;
    color: #CC6600;
}
.productSuggestion .info .externalId {
    font-size: 12px;
    color: #AAAAAA;
    float: right;
    font-style: italic;
}