/*
  Copyright (C) 2004-2013 Primate Labs Inc.  All rights reserved.
  Developed by Digital Visions Queenstown <http://dvq.co.nz/>
*/

body {
  color: rgb(86,96,106);
  font: 100%/1.5em "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.normal {
  background: rgb(251,252,249) url(ui/bg-repeat.gif) repeat 0 0;
  background-size: 88px 88px;
}
body.flat {
  background: rgb(240,240,240);
}
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  body.normal {
    background: rgb(251,252,249) url(ui/bg-repeat@2x.gif) repeat 0 0;
  }  
}

p {
  margin: 0 0 1.5em 0;
}

strong {
  font-weight: bold;
}
em, i {
  font-style: italic;
}

/* Links */

a, a:visited {
  outline: none;
  color: rgb(33,166,243);
  text-decoration: none;
}
a:hover {
  color: rgb(123,192,0);
  text-decoration: none;
}

a:active, a:focus {
  color: rgb(145,120,194);
}

a {
  -moz-transition-duration: .33s;
  -moz-transition-property: color,;
  -webkit-transition-duration: .33s;
  -webkit-transition-property: color;
  -o-transition-duration: .33s;
  -o-transition-property: color;
}

/* Lists */

ul, ol {
  margin-bottom: 1.5em;
  list-style: none;
}
ul li {
  background: url(ui/default-bullet.gif) 0.6em 0.6em no-repeat;
  padding-left: 1.7em;
  margin-bottom: 0.2em;
}
ol li {
  list-style-type: decimal;
  list-style-position: inside;
  margin-bottom: 0.2em;
}
ul li ul, ol li ol {
  margin: 0.2em 0 0 0;
}
ol li ol li {
  margin-left: 1.7em;
}

/* Content */

/* Containers */

.container {
  margin: 0px auto;
  padding: 10px;
  padding-left: 15px;
  position: relative;
}

/* Tables */

.table-wrapper {
  position: relative;
  margin: 0 0 20px 0;
}
.table-wrapper.normal {
  border: 1px solid rgb(255,255,255);
  background: url(ui/table-wrapper-bg-repeat.gif) repeat 0 0;
  background-size: 88px 88px;
  -moz-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
  box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}
.table-wrapper.flat {
  border: 1px solid rgb(227,227,227);
  background: rgb(253,253,253); 
}
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  .table-wrapper.normal {
    background: url(ui/table-wrapper-bg-repeat@2x.gif) repeat 0 0;
  }
}

.table-wrapper-inner {
  padding: 19px;
}
.table-wrapper-inner.normal {
  background: url(ui/table-wrapper-bg-repeat-x.gif) repeat-x 0 100%;
  background-size: 88px 88px;
}
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  .table-wrapper-inner.normal {
    background: url(ui/table-wrapper-bg-repeat-x@2x.gif) repeat-x 0 100%;
  }
}

.heading {
  height: 46px;
}
.heading-edge {
  display: block;
  width: 10px;
  height: 46px;
  position: absolute;
  top: 19px;
  left: -10px;
  background-size: 10px 46px;
}
.heading-edge.normal {
  background: url(ui/blue-heading-bg-left.gif) no-repeat 0 0;
}
.heading-edge.flat {
  background: url(ui/blue-heading-bg-left-flat.gif) no-repeat 0 0;
  z-index: 4;
}
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  .heading-edge.normal {
    background: url(ui/blue-heading-bg-left@2x.gif) no-repeat 0 0;
  }
  .heading-edge.flat {
    background: url(ui/blue-heading-bg-left-flat@2x.gif) no-repeat 0 0;
  }
}

h1.heading {
  background-size: 606px 46px;
  font: 120%/39px "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: rgb(255,255,255);
  height: 46px;
  display: block;
  padding: 0 39px 0 20px;
  position: absolute;
  top: 19px;
  left: -1px;
}
h1.heading.normal {
  background: url(ui/blue-heading-bg.gif) no-repeat 100% 0;
}
h1.heading.flat {
  background: url(ui/blue-heading-bg-flat.gif) no-repeat 100% 0;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) {
  h1.heading.normal {
    background: url(ui/blue-heading-bg@2x.gif) no-repeat 100% 0;
  }
  h1.heading.flat {
    background: url(ui/blue-heading-bg-flat@2x.gif) no-repeat 100% 0;
  }
}

table {
  border-collapse: collapse;
  border: 1px solid #dfdfdf;
  font-size: 12px;
  width: 100%;
}
td {
  padding: 10px 5px 10px 5px;
  line-height: 1.2em;
}
tr {
  border-top: #d3d3d3 1px solid;
  border-bottom: #d3d3d3 1px solid;
}
th {
  line-height: 1.25em;
  text-align: left;
  font-weight: bold;
}
th.first-child, th.only-child {
  width: 150px;
}
th.last-child, td.last-child {
}

.benchmark-desc {
  color: #777;
  font-size: 10px;
  font-weight: normal;
}

.mobile-overall-score {
  margin: 30px 0 36px 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  font-size: 48pt;
  text-align: center;
  vertical-align: middle;
  line-height: 1.0em;
}

.mobile-table {
  border-collapse: collapse;
  margin: 15px 0 5px 0;
}

.mobile-table, .mobile-table * th, .mobile-table * tr, .mobile-table * td {
  border: none; 
}

.mobile-table * th {
  background-color: #efefef;
  line-height: 1.5em;
  padding: 8px;
}

.mobile-table * td {
  line-height: 1.2em;
  padding: 8px;
}

.mobile-table * tr {
  border-top: #dfdfdf 1px solid;
  border-bottom: #dfdfdf 1px solid;
}

.mobile-table * .name {
  float: left; 
  text-align: left;
  font-weight: bold;
}

.mobile-table * .value {
  float: right;
  text-align: right;
}

.chart-container {
  margin: 0px auto;
  padding: 151px 0 0 0;
  position: relative;
}
 
.chart-scroll-screen {
  margin: 0;
  padding: 0;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100px;
  z-index: 20;
  background: rgb(240,240,240);
}

.heading-bg {
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block; 
  padding: 10px 0px 10px 0px; 
  position: fixed; 
  top: 10px;
  left: 15px;
  right: 10px; 
  z-index: 25; 
  background: rgb(253, 253, 253);
  border: 1px solid rgb(227,227,227);
}

.chart-wrapper { 
  width: 100%; 
  display: block; 
  line-height: 15px;
}

.chart-header {
  
}
.device-title {
  font-weight: bold;
  font-size: 14px;
}

.device-processor {
  font-weight: normal;
  font-size: 12px;
  color: rgb(109, 122, 134);
}


.chart-body {
  height: 40px;
  position: relative;
  margin-bottom: 10px;
}
.device-score {
  z-index: 5;
  font-size: 24px;
  position: absolute;
  left: 10px;
  top: 12px;
  color: #fff;
}
.segmented-chart {
  height: 40px;
  position: absolute;
  left: 0px;
  top: 0px;
}
.float-segment, .memory-segment, .stream-segment {
  height: 40px;
  float: right;
}

.text-wrapper {
  z-index: 10;
  top: 0;
  left: 0;
}

.first-chart {
  margin: 15px 20px 5px 20px;
}



.chart-wrapper .segmented-chart {
  background-color: #1791d1;
}

.chart-wrapper .float-segment {
  background: #1aa7f2;
}

.chart-wrapper .memory-segment {
  background: #17d154;
}

.chart-wrapper .stream-segment {
  background: #83e519;
}

.legend { padding: 0 0 10px 0; display: block; width: 100%; }

.legend-1 { width: 49%; float: left; color: #555f6a; font-weight: bold; font-size: 11px; line-height: 16px; margin-bottom: 5px; }
.legend-2 { width: 49%; float: right; color: #555f6a; font-weight: bold; font-size: 11px; line-height: 16px; margin-bottom: 5px; }
.legend-3 { width: 49%; float: left; color: #555f6a; font-weight: bold; font-size: 11px; line-height: 16px; margin-bottom: 5px; }
.legend-4 { width: 49%; float: right; color: #555f6a; font-weight: bold; font-size: 11px; line-height: 16px; margin-bottom: 5px; }

.color-wrapper-1 { width: 16px; height: 16px; float: left; display: block; background-color: #1791d1; }
.color-wrapper-2 { width: 16px; height: 16px; float: left; display: block; background-color: #17d154; }
.color-wrapper-3 { width: 16px; height: 16px; float: left; display: block; background-color: #1aa7f2; }
.color-wrapper-4 { width: 16px; height: 16px; float: left; display: block; background-color: #83e519; }

.legend-title { padding-left: 10px; }
