/**
Add customizations here
**/
html, body {
    width: 100%;
    margin: 0px 0px 0px 0px;
}

h1, h2, h3, h4, h5, h6 {
  color: #555555;
}

h1 a[name], h2 a[name], h3 a[name], h4 a[name], h5 a[name], h6 a[name] {
	color: #555555;
	text-decoration: none;
}


/**
 * Nav and header
 **/
header#Header {
	position: fixed;
	top: 0px;
	z-index: 100;
	width: 100%;
	background-color: #555555;
	overflow: hidden;
	opacity: 1.0;
	vertical-align: middle;
}

#Header img {
	margin-left: 50px;
	padding-top: 15px;
	padding-bottom: 15px;
}

nav#Navbar {
	position: fixed;
	top: 0px;
	z-index: 200;
	left: 50%;
	width: 960px;
	margin: 0px 0px 0px -480px;
	padding-top: 15px;
	padding-bottom: 15px;
	float: none;
	font-size:1.6em;
}

footer#Footer {
	position: relative;
	bottom: 0px;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-top: 0px;
	color: #FDFDFD;
	background-color: #3F3F3F;
}

#Content {
	padding-top: 75px;
}

#Totals .span3 {
    min-height: 40px;
}

#Totals .label-data {
	background-color: #FF6633;
}

#Totals .label-metadata {
	background-color: #2285A0;
}

#Totals .label-total {
	background-color: #1C6E84;
}

#Totals .label-package {
	background-color: #9ECAE1;
}

#Totals .label-download {
	background-color: #660033;
}

#Totals .lead {
    margin: 0px 10px 0px 10px;
}

#Totals .bytesSummary {
    margin: 5px 10px 5px 10px;
    font-size: 1.2em;
    font-weight: normal;
}

.label-width {
	width: 90%;
}

.label-data, .badge-data {
	background-color: #FF6633;
}
.label-metadata, .badge-metadata {
	background-color: #2285A0;
}
.label-total, .badge-total {
	background-color: #1C6E84;
}
.label-package, .badge-package {
	background-color: #9ECAE1;
}
.label-download, .badge-download {
	background-color: #660033;
}

td .lead {
	white-space: nowrap;
}

/* Tablesorter (jQuery plugin) style, based on their 'blue' theme
 * http://tablesorter.com/docs/
 * --------------------------------------------------------- */
table.tablesorter thead tr .header {
	background-image: url(../img/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	vertical-align: middle;
	padding-right: 18px;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(../img/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(../img/desc.gif);
}

/* D3 Timeseries graph styles
 * --------------------------------------------------------- */
div.bar {
	display: inline-block;
	width: 20px;
	height: 75px;	/* Gets overriden by D3-assigned height below */
	margin-right: 2px;
	background-color: #333;
}

#summaryChart {
	height: 400px;
}

text {
	font: 10px sans-serif;
}

.axis path, .axis line {
  	fill: none;
  	stroke: #000;
  	shape-rendering: crispEdges;
}

.area {
  	fill: #08306b;
  	stroke: none;
}

.line {
  	fill: none;
  	stroke: #08306b;
  	stroke-width: 1.5px;
}

.d1-marker-line {
	stroke: #777;
  	stroke-dasharray: 5,5;
}

.grid .tick {
	stroke: #777;
  	stroke-dasharray: 2,2;
  	z-index: -1;
  	opacity: 0.55;
}

.grid path {
	stroke-width: 0;
	z-index: -1;
}

.no-stroke {
	stroke: none;
}

.d1-total-files-fill {
	fill: #1C6E84;
}

.d1-data-downloads-fill {
	fill: #660033
}

.d1-total-files-line {
  	fill: none;
  	stroke: #1C6E84;
  	stroke-width: 1.5px;
}

.d1-meta-uploads-line {
  	fill: none;
  	stroke: #2285A0;
  	stroke-width: 1.5px;
}

.d1-data-uploads-line {
	fill: none;
  	stroke: #FF6633;
  	stroke-width: 1.5px;
}

.chart-type-margin {
	margin-top:25px;
	margin-bottom:-50px;
}

.axis-label {
	display: inline-block;
	padding: 2px 4px;
	font-size: 12px;
	line-height: 14px;
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	white-space: nowrap;
	vertical-align: baseline;
}

.graph-message {
	color: #3a87ad;
	background-color: #d9edf7;
	border: 1px solid #bce8f1;
	padding: 5px 5px;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font: 12px sans-serif;
	z-index: -10;
}

/* Nodes styles
 * --------------------------------------------------------- */
.label > hr {
	border-top: none;
	border-bottom: 1px dashed #fff;
	margin: 2px 0px 2px 0px;
}

#Nodes h2, #Nodes h4 {
    margin: 20px 0px 20px 0px;*/
}

/* Map view styles
 * ---------------------------------------------------------- */

section#Content {
    width: 100%;
    height: 100%;
}

article#Maps {
    width: 100%;
    height: 100%;
}

article#Maps h2 {
    margin-left: 70px;
}

#map-canvas {
    width: 100%;
    height: 800px;
    position: relative;
    margin: 5px 0px 0px 0px;
}

#map-legend {
    position: absolute;
    top: 160px;
    right: 10px;
    color: #555555;
    background-color: #F2F2F2;
    opacity: .9;
    width: 18em;
    border-radius: 6px;
    margin: 10px 10px 10px 10px;
    z-index: 10000;
}

#map-legend td {
    padding: 5px 5px 5px 5px;
    margin: 10px 10px 10px 10px;
}

#map-legend img {
    vertical-align: middle;
    align: center;
}

/* Fixes Infowindow popup problem - interaction with bootstrap? */
img[src*="gstatic.com/"], img[src*="googleapis.com/"]  {
    max-width: 99999px;
}

/*
.glyphicon {
	 opacity: 0.75;
}

.glyphicon:hover {
	opacity: 1.0;
}

.halflings {
	 opacity: 0.75; 
}

.halflings:hover {
	opacity: 1.0;
}
*/

table thead tr th.center {
  	text-align: center;
  	vertical-align: middle;
}

table tbody tr td.center {
  	text-align: center;
  	vertical-align: middle;
}

div.center { 
	float: none; 
	margin-left: auto; 
	margin-right: auto; 
}

.plum-bkgrd {
	background-color: #660033;
}

.orange-bkgrd {
	background-color: #FF6633;
}

.nav-bar-spacing {
	vertical-align: middle; 
	margin:20px 14px 20px 0px;
}

.no-bkg {
	background:none;
}

#chartType {
	margin-right: 11px;
}

#dateSelect, #dateSelect1 {
	margin-right:14px;
}

#nodeDetailArea {
	margin-bottom: 30px;
}

.bold {
	font-weight: bold;
}

.black {
	color: black;
}

.repo-status {
	font-size: 24px;
}

.repo-status-ok {
	color: green;
}

.repo-status-down {
	color: red;
}

.repo-status-unknown {
	color: gray;
}

.repo-status-upcoming {
	/*color: #FFF630;*/
	/*color: #FCF31D;*/
	color: #FF6633;
}

.label {
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	display: inline-block;
}

.node-summary-logo {
	height:40px;
	padding:5px;
}

table tbody tr td.node-summary-name-cell {
	vertical-align:middle;
	text-align: left;
}

table tbody tr td.node-summary-logo-cell {
  	text-align: center;
  	vertical-align: middle;
}

#nodesTable {
}

.node-table {
	display:table;
}

.node-stats-icon {
	color:#21759b;
	font-size: 14px;
	padding-left:5px;
}
