/* Subsystem stylesheet for NAV
 *
 * Copyright 2003-2004 Norwegian University of Science and Technology
 * Copyright 2006,2007 UNINETT AS
 *
 * This file is part of Network Administration Visualized (NAV)
 *
 * NAV is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * NAV is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with NAV; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 * 
 * Authors: Stian Søiland <stain@itea.ntnu.no>
 *          Stein Magnus Jodal <stein.magnus.jodal@uninett.no>
 */

table.serviceNetboxes {
	border-collapse: collapse;
	padding: 0;
	margin: 0;
}
table.serviceNetboxes td {
	padding: 0.2em;
}
table.serviceNetbox {
	  border-collapse: collapse;
}
table.serviceNetbox tr {
	  margin-left: 0;
	  margin-right: 0;
}
table.serviceNetbox th { 
	  background-color: white;
	  background-image:url('/images/ragen/navbar-fill.gif');
	  background-repeat: repeat-x;
	  height: 26px;
	  padding: 1px 0px 0px 0px;
	  font-size: 95%; 
	  font-weight: normal;
}
table.serviceNetbox tr.even {
	  font-size: 90%; 
	  background-color: #eee;
}
table.serviceNetbox tr.odd {
	  font-size: 90%;
}

th.col0 {
	padding-right: 5px;
	border-right: 1px solid #ccc;
}
td.col1 {
	padding-left: 5px;
}

h3 {
	margin: 0px;
}

table.netboxinfo {
	font-size: 0.8em;
	padding-bottom: 15px;
}

table.serviceNetbox td {
	padding: 0.2em;
}
table.netboxinfo th {
	text-align: left;
}
table.serviceNetbox th#activeSort {
	font-weight: bold;
}
table.serviceNetboxes th {
	text-align: left;
}

div.alerts {
	width: auto;
	float: right;
	padding: 0.2em;
	border: 1px solid black;
	background-color: #ccc;
}
div.alerts table {
	margin: 0;
	border-collapse: collapse;
}
div.alerts td {
	padding: 0.2em;
	font-size: 85%;
}
div.alerts .stillDown {
	background-color: #fff;
	color:red;
}

div.module {
	background-color: #EEE;
	line-height: 2em;
	margin-bottom: 1em;
	width: 30em;
	position: relative;
}
div.gw {
	background-color: #fed;
}
div.module h3 {
	text-transform: uppercase;
	padding: 0px 0px 0px 5px;
	margin: 0;
	position: relative;
	float: left;
	text-align: center;
	font-weight: normal;
}
table {
	cell-spacing: 5px;
}
.port {
	background-color; #d4d3f0; /* unknown speed */
	font-size: 85%;
	border: 2px solid black;
	margin: 15px;
	width: 2em;
	height: 2em;
	text-align: center;
	vertical-align: center;
}
.port a	{
	color: black;
	text-decoration: none;
}
.port a:visited {
	color: black;
	text-decoration: none;
}
.port a:hover {
	color: black;
	text-decoration: underline;
}

.inactive {
	border-color: #999;
}
.link {
	border-width: 3px;
	margin: 3px;
}
.trunk {
	border-width: 3px;
	margin: 3px;
}
.fduplex {
}
.hduplex {
	border-color: #999;
}
.Mb10 {
	background-color: #CDF;
}
.Mb100{
	background-color: #9CF;
}
.Mb1000{
	background-color: #89F;
}
.Mb10000{
	background-color: #70F;
}
.passive {
	background-color: #EEE;
	/* normalize */
	border-style: solid;
	border-width: 2px;
	margin: 5px;
}
.disabled {
	background-color: #C99;
}
div.legend .port {
	width: 1.5em;
	height: 1.5em;
	margin: 0;
}
.blocked {
	text-decoration: line-through;
}
div.legend {
	width: auto;
	border: 1px solid black;
	padding: 0.2em;
	margin: 1em 0;
}
div.legend h3 {
	font-size: 1.1em;
	margin: 0.2em 0 0.1em 0;
}
div.legend p {
	margin-bottom: 0;
}
td.y {
	background: #8c8;
}
td.n {
	background: #c88;
}
td.s {
	background: #cc8;
}
table#rrdgraphs {
	padding: 0;
	border-collapse: collapse;
}
table#rrdgraphs td {
	margin: 0;
	padding: 0.2em;
}
table#rrdgraphs tr:first-child td.col2 {
	background-color: white;
	border: none;
	display: none;
}
table#rrdgraphs td.actionselecttop,
table#rrdgraphs td.actionselectbottom,
table#rrdgraphs td.col2 {
	background-color: #ccf;
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-top: none;
	border-right: none;
}
table#rrdgraphs td.actionselecttop {
	text-align: right;
	border: 1px solid black;
}
table#rrdgraphs td.actionselectbottom {
	text-align: right;
	border: 1px solid black;
}
pre.warning {
	border: 3px dotted #d33;
	padding: 2em;
}

