.statistics #page {
  position: relative;
  max-width: 1280px;
  width: auto;
  min-width: 1024px;
  padding-left: 20px;
  padding-right: 20px;
}
.statistics #page .header-search {
  right: 20px;
}
.statistics .island {
  float: none;
  margin-bottom: 2em;
}
.statistics hgroup {
  clear: both;
}
.statistics .ui-helper-hidden-accessible {
  display: none !important;
}
.html-rtl.statistics #page .header-search {
  right: auto;
  left: 20px;
}
.statbox .pagination {
  display: block;
  width: 98%;
  margin: 0;
  padding: 0.5em 1%;
  border-top: 1px solid #A5BFCE;
  -moz-border-radius: 0 0 3px 3px;
  background: linear-gradient(#DAF0F6, #FDFEFE) repeat scroll 0 0 transparent;
}
/**
 *  common styles
**/
table tbody tr {
  border-top: 1px dotted #B5D9E5;
}
.featured-inner {
  background: linear-gradient(#ffffff, #eff8fb);
}
.secondary .island {
  float: none;
}
.secondary > aside,
.secondary > div {
  margin-bottom: 2em;
}
/**
 *  Rules for date criteria selection
**/
.island.criteria {
  padding: 0 0 0 12px;
  margin: 0 0 0 1em;
  z-index: 1000;
  float: right;
}
.island.criteria ul {
  line-height: 2.5em;
}
.island.criteria li {
  color: #333;
  font-weight: bold;
  display: inline;
}
.island.criteria li a {
  font-weight: normal;
  border: 1px solid transparent;
  color: #447BC4;
  padding: 4px 8px;
  text-decoration: none;
  white-space: nowrap;
}
.island.criteria li a:hover {
  text-decoration: underline;
}
.island.criteria li.selected a {
  font-weight: bold;
  color: #D16B00;
}
.island.criteria li a.inactive {
  color: #ccc;
  cursor: default;
}
.island.criteria li a.inactive:hover {
  text-decoration: none;
}
.html-rtl .island.criteria {
  float: left;
  margin: 0 1em 0 0;
  padding: 0 12px 0 0;
}
/**
 *  Three-up stats
**/
.two-up {
  position: relative;
  overflow: hidden;
}
.two-up div {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  text-align: left;
  width: 50%;
  position: relative;
  padding-left: 2em;
  color: #333;
}
.two-up div:first-child {
  padding-left: 1em;
}
.two-up div:first-child:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  border-left: 1px dotted #666;
  height: 100%;
}
.two-up div b {
  font-size: 150%;
}
.two-up div a {
  line-height: 2rem;
  display: block;
  font-weight: bold;
  font-size: 140%;
}
.two-up div small {
  line-height: 2rem;
  font-size: 110%;
}
/**
 *    Toplists
**/
.seriesdot {
  display: block;
  float: left;
  position: relative;
  top: 0.7em;
  margin-right: 0.5em;
  -moz-border-radius: 4px;
  height: 8px;
  width: 8px;
}
.listing-header .seriesdot {
  border: 2px solid #fff;
  -moz-border-radius: 6px;
  margin: 0 0.2em 0 0.5em;
  top: 0.8em;
}
.toplists {
  margin-bottom: 2em;
  overflow: hidden;
}
.toplist {
  position: relative;
  overflow: hidden;
  float: left;
  width: 31%;
  padding: 0;
  margin-left: 3.5%;
}
.toplist:first-child {
  margin-left: 0;
}
.toplist h3 {
  margin: 0 0 0.2em 0;
}
.toplist .highcharts-tooltip {
  position: absolute;
  top: 0 !important;
  left: 0 !important;
}
.toplist table {
  width: 100%;
  height: 160px;
  margin: 0.7em 0;
}
.toplist tr:first-child {
  border-top: 0;
}
.toplist td {
  text-align: right;
  padding: 0;
  line-height: 2em;
}
.toplist td:first-child {
  text-align: left;
  display: inline-flex;
  flex-direction: row-reverse;
}
.toplist td:last-child {
  text-align: left;
  font-size: 90%;
  width: 40px;
  padding-left: 0.3em;
}
a.more {
  display: block;
  text-align: right;
}
/**
 *    bar-chart tables
**/
.csv-table .table-box {
  width: 100%;
  overflow: auto;
}
.csv-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.csv-table thead th {
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}
.csv-table th,
.csv-table td {
  width: 100px;
  padding: 0.5em 1em;
  text-align: right;
}
.csv-table th:first-child,
.csv-table td:first-child {
  text-align: left;
  width: 200px;
}
.csv-table th {
  font-weight: bold;
}
.csv-table tbody {
  display: none;
}
.csv-table tbody tr:nth-child(2n+1) {
  background: rgba(68, 123, 196, 0.2);
}
.csv-table .paginator {
  float: none;
}
.csv-table .paginator .rel {
  margin-top: 20px;
  width: 100%;
}
div.piechart {
  height: 200px;
}
div.piechart .highcharts-container {
  margin: 8px auto 0 auto;
}
/**
 *  sidestats
**/
aside.highlight {
  display: block;
}
#stats-note dt {
  margin-top: 1em;
}
#stats-note dd {
  font-size: 0.8em;
}
#stats-note code {
  font-family: "andale mono", monospace;
  background: #ccc;
  color: #333;
  font-size: 0.9em;
  padding: 2px 4px;
}
.export-data {
  font: 13px "helvetica neue", arial, helvetica, sans-serif;
  margin-left: 1em;
}
.export-data a {
  margin: 0 2px;
}
.export-data a:first-child {
  margin-left: 4px;
}
/**
 *  Big table
**/
table.stats-aggregate {
  width: 100%;
  margin-top: 0.5em;
}
table.stats-aggregate thead th {
  text-align: right;
  padding-right: 72px;
  line-height: 90%;
}
table.stats-aggregate thead th:first-child {
  text-align: left;
  padding-right: inherit;
}
table.stats-aggregate tbody td {
  line-height: 120%;
  font-size: 140%;
}
table.stats-aggregate tbody td.value {
  padding: 5px 0 3 0px;
  text-align: right;
}
table.stats-aggregate tbody td.label {
  padding-left: 2px;
}
table.stats-aggregate tbody span.change {
  display: block;
  float: right;
  width: 54px;
  padding-left: 0.5em;
  text-align: left;
  font-size: 80%;
  padding-top: 2px;
}
table.stats-aggregate tbody span.change.plus {
  color: #00774d;
}
table.stats-aggregate tbody span.change.minus {
  color: #850000;
}
.loading,
.loaded {
  position: relative;
}
.loading:after {
  -moz-transition: opacity 0.5s;
  content: "\00a0";
  display: block;
  position: absolute;
  background: #040204 url("../../img/zamboni/loading.gif") no-repeat center center;
  opacity: 0.4;
  width: 100%;
  height: 100%;
  z-index: 1000;
  top: 0;
  left: 0;
}
.loaded:after {
  opacity: 0;
  pointer-events: none;
}
.chart {
  position: relative;
  padding: 0;
  width: 100%;
  overflow: hidden;
}
#head-chart {
  position: relative;
  background: #fff;
  overflow: hidden;
  height: 384px;
}
.no-data-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  color: #fff;
}
.no-data-overlay p {
  text-align: center;
  position: relative;
  top: 35%;
  color: #ccc;
  font-size: 2em;
}
.nodata .no-data-overlay {
  display: block;
}
.loadmessage {
  position: fixed;
  left: 0;
  right: 0;
  top: -2.5em;
  height: 2em;
  margin: 0 auto;
  text-align: center;
  pointer-events: none;
  -moz-transition: top 0.5s;
  -webkit-transition: top 0.5s;
  transition: top 0.5s;
  z-index: 9000;
}
.loadmessage span {
  background: url("../../img/zamboni/loading-small.gif") no-repeat 1em center;
  background-color: #000;
  padding: 0.5em 1em;
  padding-left: 36px;
  line-height: 2em;
  color: #fff;
  opacity: 0.75;
  -moz-border-radius: 0 0 0.75em 0.75em;
  -webkit-border-radius: 0 0 0.75em 0.75em;
  border-radius: 0 0 0.75em 0.75em;
}
.loadmessage.on {
  top: 0;
}
.loadmessage.off {
  top: -2.5em;
}
/* Field Menu */
#fieldMenu,
#fieldList {
  margin-bottom: 0;
}
#fieldList label {
  display: block;
  white-space: nowrap;
  padding-right: 2em;
}
#fieldList label:hover {
  background: #ccf;
}
#fieldMenu button {
  width: 100%;
}
#fieldList {
  max-height: 300px;
  min-width: 160px;
  overflow-y: auto;
}
#custom-criteria form {
  overflow: hidden;
}
#custom-criteria fieldset {
  display: inline-block;
  vertical-align: top;
}
#custom-criteria fieldset:first-child {
  margin-right: 1em;
}
#custom-criteria fieldset p {
  margin: 0 0 1em;
}
#custom-criteria footer {
  clear: left;
}
.html-rtl #custom-criteria fieldset:first-child {
  margin: 0 0 0 1em;
}
#stats-permissions p {
  margin-top: 0.1em;
}
#side-nav .active a {
  background-color: #ecf5fe;
  color: #333;
  font-weight: bold;
}
#side-nav .active a:after {
  color: inherit;
}
