/*
 * - Google charts, graphs
 * - Dashboard tables / feeds
 */

.graphs .bar-data {
	margin: 10px 0 30px 0;
	clear: both;
}

.graphs .gbarchart-today {
	width: 900px;
	height: 450px;
	clear: both;
}

.graphs .google-barchart {
	margin: 10px 0 30px;
	width: 900px;
	height: 500px;
	clear: both;
}

.graphs .bar-data-today {
	margin-top: 30px;
}

.graphs .google-piechart {
	width: 900px;
	height: 450px;
	clear: both;
}

.graphs .grid-2.col-2 {
	padding: 20px 0;
}

.graphs .grid-2.col-2 h4 {
	padding: 0 15px;
}

.graphs .grid-2.col-2 p {
	padding: 0 20px;
}
	
/* Tables: Dashboard, Recent Activity feeds */

.graphs.tables table {
	margin: 0 auto;
	font-size: 14px;
	border-spacing: 5px;
}

.tables .dashboard table {
	width: 425px;
	border: 1px solid #dfdfdf;
}

.tables .dashboard table th {
	padding: 10px;
	text-align: center;
	line-height: 19px;
	height: 19px;
}

.tables .dashboard table tr {
	background: #f6f6f6;
}

.tables .dashboard table tr:nth-child(even) {
	background: #fff;
}

.tables .dashboard .plain {
	margin-bottom: 50px;
}

.tables .dashboard .plain tr {
	background: #fff;
	border-bottom: 1px solid #f6f6f6;
}

.tables .dashboard .plain tr:last-child {
	background: #fff;
	border-bottom: 1px solid #dfdfdf;
}

.tables .dashboard table td {
	padding: 10px;
	word-wrap: break-word;
}

.tables .dashboard table tr:first-child {
	background: #ddd;
}

.tables .dashboard table tr:first-child th:first-child {
	width: 60%;
}

.tables .dashboard table td:nth-child(2),
.tables .dashboard table td:last-child {
	width: 20%;
}

.tables .dashboard #indicators .plain {
	margin-bottom: 20px;
}

.tables .dashboard #indicators,
.tables #feed {
	min-height: 150px;
}

.tables .dashboard #indicators .spinner,
.tables #feed .spinner {
	padding-top: 50px;
}
	
/* Recent Activity */

.tables .feeds table {
	width: 445px;
	font-size: 13px;
	border: 1px solid #dfdfdf;
	padding: 0;
}

.tables .feeds table,
.tables .feeds table tr,
.tables .feeds table td {
	margin: 0 auto;
	padding: 0;
}

.tables .feeds .feed {
	border: 0;
}

.tables .feeds .feed tr {
	background: #fff;
}

.tables .feeds table tr:nth-child(even) .feed tr {
	background: #f6f6f6;
}

.tables .feeds .feed tr:nth-child(even),
.tables .feeds table tr:nth-child(even) .feed tr:nth-child(even) {
	background: #eee;
	background: -moz-linear-gradient(top, #eee 0%, #f8f8f8 50%, #eee 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eee), color-stop(0%, #f8f8f8), color-stop(100%, #eee)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #eee 0%, #f8f8f8 50%, #eee 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #eee 0%, #f8f8f8 50%, #eee 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #eee 0%, #f8f8f8 50%, #eee 100%); /* IE10+ */
	background: linear-gradient(to bottom, #eee 0%, #f8f8f8 50%, #eee 100%); /* W3C */
	border-bottom: 1px solid #f1f1f2;
}

.tables .feeds .feed td {
	padding: 10px;
	line-height: 20px;
	vertical-align: top;
}

.tables .feeds .feed td:first-child {
	width: 55%;
}

.tables .feeds .feed td:first-child b {
	background: #f7f7bd;
	padding: 3px 0;
}

.tables .feeds .feed td:first-child span {
	display: block;
	color: #adadad;
}

.tables .feeds .feed td:nth-child(2) {
	width: 25%;
	font-style: italic;
}

.tables .feeds .feed td:last-child {
	width: 20%;
}

.tables .feeds table td button {
	background: #a2a2a2;
	border: 0;
	color: #fff;
	padding: 0 20px 0 8px;
	line-height: 20px;
	position: relative;
}

.tables .feeds table button:after {
	content: "";
	position: absolute;
	top: 7px;
	right: 6px;
	width: 0;
	height: 0;
	border-top: 4px solid #fff;
	border-left: 4px solid #a2a2a2;
	border-right: 4px solid #a2a2a2;
}

.tables .feeds table button.opened:after {
	content: "";
	position: absolute;
	top: 9px;
	right: 6px;
	width: 0;
	height: 0;
	border-top: none;
	border-bottom: 4px solid #fff;
	border-left: 4px solid #a2a2a2;
	border-right: 4px solid #a2a2a2;
}

.tables .feeds table .info td {
	padding: 10px;
}

/* Dashboard Graphs */

.graphs .dashboard-graphs {
	width: 300px;
	margin-bottom: 5px;
}

.graphs .dashboard-graph {
	min-height: 500px;
	display: none;
}

.graphs .dashboard-graph .spinner {
	padding-top: 200px;
}

@media only screen and (max-width: 950px) {
	
	.tables .dashboard table,
	.tables .feeds > table {
		width: calc(100% - 20px);
	}

	.tables .feeds .feed {
		width: 100%;
	}

	.tables .pagination {
		width: calc(100% - 20px);
	}

	.tables .pagination ul {
		width: calc(100% - 140px);
	}

	.graphs .gbarchart-today {
		width: 750px;
		height: 450px;
	}
}

@media only screen and (max-width: 800px) {

	.graphs .google-barchart {
		width: 750px;
		height: 325px;
	}

	.graphs .gbarchart-today,
	.graphs .google-piechart {
		width: 750px;
		height: 325px;
	}

	.graphs .dashboard-graph {
		min-height: 375px;
	}

	.graphs .dashboard-graph .spinner {
		padding-top: 150px;
	}
}

@media only screen and (max-width: 768px) {

	.graphs .google-barchart {
		width: 730px;
		height: 315px;
	}

	.graphs .gbarchart-today,
	.graphs .google-piechart {
		width: 730px;
		height: 315px;
	}
}

@media only screen and (max-width: 600px) {

	.graphs .dashboard-graphs {
		width: 200px;
	}

	.graphs .google-barchart,
	.graphs .gbarchart-today,
	.graphs .google-piechart {
		width: 570px;
		height: 265px;
	}

	.graphs .dashboard-graph {
		min-height: 315px;
	}

	.graphs .dashboard-graph .spinner {
		padding-top: 150px;
	}
}

@media only screen and (max-width: 480px){

	.graphs .google-barchart,
	.graphs .gbarchart-today,
	.graphs .google-piechart {
		width: 440px;
		height: 220px;
	}
	
	.graphs .dashboard-graph {
		min-height: 270px;
	}

	.graphs .dashboard-graph .spinner {
		padding-top: 120px;
	}
}

@media only screen and (max-width: 385px) {

	.graphs .google-barchart,
	.graphs .gbarchart-today,
	.graphs .google-piechart {
		width: 320px;
		height: 160px;
	}

	.tables .dashboard table th,
	.tables .dashboard table td {
		padding: 10px 5px;
		font-size: 12px;
		line-height: 14px;
	}

	.tables .feeds table {
		font-size: 12px;
	}

	.tables .feeds td {
		padding: 0;
	}

	.tables .feeds .feed td {
		padding: 10px 5px;
		line-height: 14px;
	}

	.tables .pagination ul {
		width: calc(100% - 120px);
	}

	.tables .pagination a {
		font-size: 12px;
	}

	.tables .pagination .prev:before,
	.tables .pagination .next:after {
		top: 5px;
	}

	.graphs .dashboard-graph {
		min-height: 210px;
	}

	.graphs .dashboard-graph .spinner {
		padding-top: 100px;
	}
}

@media only screen and (max-width: 320px) {

	.graphs .google-barchart,
	.graphs .gbarchart-today,
	.graphs .google-piechart {
		width: 280px;
		height: 140px;
	}

	.tables .dashboard table td:last-child a {
		font-size: 11px;
	}

	.graphs .dashboard-graph {
		min-height: 200px;
	}

	.graphs .dashboard-graph .spinner {
		padding-top: 90px;
	}
}

/* Details Box */

.graph .details {
	position: absolute;
	top: 100px;
	right: 65px;
	border: 1px solid #07a7e0;
	padding: 5px 15px;
	background: #FFFFFF;
	font-size: 14px;
}