/* Reduced version of meyer's reset */
html, body, div, span h1, h2, h3, p, pre, a, em, img, dl, dt,
dd, ol, ul, li, fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	caption-side: top;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
	font-family: monospace;
}
li {
	list-style-position: inside;
}

/* Samfundet wlan page styling: */

body {
	font-family: arial,helvetica,clean,sans-serif;
}
h2 {
	font-weight: bold;
	font-size: 1.5em;
	color: #2E3436;
}
p, table, ul, ol, fieldset, caption, #primary, #secondary {
	margin-bottom: 1em;
}
table ul {
	margin-bottom: 0;
	list-style: none;
}
li li {
	margin-left: 1em;
}
p {
	max-width: 40em;
}
table {
	border-right: 0;
	font-size: 0.9em
}
th, td {
	border: 1px solid #babdb6;
	padding: 0.3em 0.5em;
}
th {
	background: rgb(230,230,230);
	font-weight: bold;
}
th a {
	text-decoration: underline;
}
caption {
	font-size: 1.1em;
	font-weight: bold;
	color: #2E3436;
}

tr.odd, tr.zebra:nth-of-type(2n) {
	background: #EEEEEC;
}
tr:hover, tr.zebra:hover {
	background: rgb(255,255,200);
}

a {
	color: #204a87;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a.telephone {
	color: black;
	text-decoration: none;
}

fieldset {
	border: 1px solid #666;
  padding: 0.5em;
}
input {
	border: 1px solid #333;
	width: 100%;
	padding: 0;
	margin: 0;
}
input.submit  {
	background: #D3D7CF;
	width: auto;
	padding: 0.1em 0.3em;
	border: 1px solid #2E3436;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
input.image {
	border: 0;
}
input.submit:hover {
	border-color: #555753;
}

legend {
	font-weight: bold;
}
label {
	display: block;
	font-weight: bold;
}
fieldset input {
	width: auto;
	margin-right: 1em;
}
fieldset label {
	width: 100%;
}

textarea {
  width: 100%;
}

#header {
	background: #932822 url(../images/header_top.png) repeat-x scroll center top;
	padding: 15px 1em 4px;
	margin-bottom: 1em;
	min-width: 40em;
}
#header h1 {
	font-size: 1.3em;
	font-weight: bold;
	background: url(../images/logo.png) no-repeat center right;
  color: #FFF;
  margin: 0;
  padding: 0;
}

#menu {
	margin: 0.5em;
	padding: 0.2em;
	border: 1px solid #BABDB6;
	background: #EEEEEC;
}

#content {
	padding: 0 1em;
	line-height: 1.2;
}

#footer {
	clear: both;
	background: #d3d7cf;
	color: black;
	margin-top: 1em;
	border-top: 1px solid rgb(160,160,160);
	border-bottom: 1px solid rgb(160,160,160);
	padding: 1em 1em 0;
}
#footer h2 {
	float: left;
	margin-right: 0.5em;
}
#footer h2:after {
	content: ":";
}
#footer p {
	max-width: 100%;
}

#primary input {
	font-size: 1.3em;
}
#primary {
	float: left;
	width: 19em;
	background: #fff4c2;
	border: 1px solid #ffcc33;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
#primary h2, #primary p {
	margin: 0.5em;
}
#secondary {
	margin-left: 20em;
	min-width: 20em;
}

#menu li {
	display: inline;
}
#menu a {
	display: inline-block;
	padding: 0.2em 0.5em;
	text-decoration: none;
	color: #000;
}
#menu form {
	display: inline;
	padding: 0.2em 0.5em;
	float: right;
}
#menu input {
	width: auto;
}

#total {
	float: right;
}

#admin {
	float: right;
	text-decoration: none;
	color: #888A85
}

.last {
	margin: 0;
}

.clear {
	clear: both;
}

.error {
	color: #A40000;
	font-weight: bold;
}

.ok {
	color: #00A400;
	font-weight: bold;
}

.notice {
	font-weight: bold;
	font-size: 0.9em;
}

tr.down {
	color: #888A85;
}
tr.down:hover {
	color: black;
}

tr.down .status {
	border-left-color: #FB9A99;
}

tr.up .status {
	border-left-color: #B2DF8A;
}

tr.admindown .status {
  border-left-color: #000000 !important;
}

.status {
	border-left-width: 5px;
}

li[class*='vlan-'] {
  border-left-width: 1em;
  padding-left: 0.5em;
  border-left-style: solid;
  border-left-color: transparent;
}

li.vlan-1 {
  border-left-color: #babdb6;
}

li.vlan-uplink, li.vlan-2, li.vlan-3 {
  border-left-color: #ea3892;
}

li.vlan-4 {
  border-left-color: #F57900;
}

li.vlan-5 {
  border-left-color: #2597ea;
}

li.vlan-10 {
  border-left-color: #888A85;
}

li.vlan-15 {
  border-left-color: #4E9A06;
}

li.vlan-17 {
  border-left-color: #000000;
}

li.vlan-20 {
  border-left-color: #8200FD;
}

li.vlan-40 {
  border-left-color: #EDD400;
}

li.vlan-50 {
  border-left-color: #ED0000;
}

.number {
	text-align: right;
}

.code {
	font-family: monospace;
	list-style: none;
}

table.physical td {
	vertical-align: top;
}

#panel_row_edit {
	border: 0px;
	background: white;
	vertical-align: middle;
}

.hidden {
 display: none;
}

.img_input {
 background-image: url('/images/edit.png');
 background-position:  0px 0px;
 background-repeat: no-repeat;
 border: 0px;
 background-color: white;
 width: 20px;
}

.img_input:hover {
 cursor: hand; cursor: pointer;
}


@media all and (max-device-width: 600px) {
	#primary, #secondary {
		width: 100%;
		min-width: 0;
		float: none;
		margin: 0;
		margin-bottom: 1em;
	}
	#header {
		min-width: 0;
  }
	#header h1 {
		background: transparent;
	}
	#admin {
		display: none;
	}
	input {
		font-size: 1.3em;
	}

	a.telephone {
		color: #204a87;
		text-decoration: underline;
	}
}

.tdr_short, .tdr_missing_pins, .tdr_wrong_wiring, .tdr_unknown, .tdr_crosstalk {
	color: red;
	font-weight: bold;
}

.devices {
	-moz-column-width: 13em;
	-webkit-column-width: 13em;
	column-width: 13em
}

.warning {
	color: red;
}

.loading {
	display: none;
	vertical-align: bottom;
	padding-right: 2px;
}
