/* @group Defaults */

html {
  height: 100%;
  font-size: 62.5%;
}

body {
  height: 100%;
  margin: 0px;
  padding: 0px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  overflow: auto;
}

pre {
  font-size: 1em;
  font-family: "Courier New", Courier, monospace;
}

.center {
  text-align: center;
}

/* @group Titles */

h1 {
  font-size: 1.5em;
  line-height: 1.2;
  font-weight: bold;
  font-variant: small-caps;
  border-bottom: 2px solid #000000;
  color: #000;
  text-align: left;
  padding: 0px;
  margin: 0px 0px 8px 0px;
  width: 100%;
}

h2 {
  font-size: 1.3em;
  line-height: 1.2;
  font-weight: bold;
  border-bottom: 1px solid #D8D8D8;
  color: gray;
  text-align: left;
  margin: 12px 0px 0px 0px;
}

h2.listtitle {
  color: black;
  background: inherit;
  border-top: 3px double gray;
  border-bottom: 1px solid gray;
  margin-bottom: 3px;
}

h3 {
  font-size: 1.1em;
  line-height: 1.2;
  font-weight: bold;
  margin-top: 8px;
  margin-bottom: 8px;
}
  
/* @end */

/* @group Forms */

input,textarea {
  font-size: 1em;
  /* line-height: 1.2; */
  color: #000;
  background: #ffe;
  border-style: inset;
  border-width: 1px;
  margin: 0px;
  padding: 2px;
  vertical-align: middle;
}

input.raw {
  color: #000;
  background: inherit;
  border: 0px;
}

input.button {
  font-size: 1em;
  /* line-height: 1.2; */
  color: inherit;
  background: #ccc;
  padding: 2px;
  border-style: outset;
  border-width: 1px;
  margin: 6px 2px 0px 0px;
}

input.smallbutton {
  font-size: 1em;
  /* line-height: 1.2; */
  color: inherit;
  background-color: #ccc;
  margin: 2px;
  padding: 2px;
  border-style: outset;
  border-width: 1px;
}

input[type=image] {
  font-size: 1em;
  /* line-height: 1.2; */
  background: transparent;
  border-style: none;
  border-width: 0px;
  margin: 0px;
  padding: 0px;
}

input[type=submit][name=reset] {
  background-color: #d20000;
  color: #ffffff;
  font-weight: bold;
}
  
/* @end */

/* @group Images */

img {
  border-style: none;
  margin: 0px;
  padding: 0px;
}

img.indicator {
  vertical-align: middle;
}
  
/* @end */

/* @group Tables */

td {
  font-size: 1em;
  line-height: 1.3;
  margin: 0px;
  padding: 0px;
  vertical-align: top;
}

tr {
  margin: 0px;
  padding: 0px;
}

table {
  margin: 0px;
  padding: 0px;
  border-collapse: collapse;
}
  
/* @end */

/* @group Links */

a {
  font-size: 1.1em;
  line-height: 1.4;
  color : #0a0a52;
  text-decoration: none;
  display: inline;
  background: inherit;
}

a:hover {
  color: #000;
  background: #fd7;
  }
  
/* @end */
  
/* @end */

/* @group Header */

div.header {
  width: 100%;
  background-color: #83A3C9;
  position: relative;
  overflow: hidden;
}

div.header img:first-child {
  max-width: 100%;
  min-width: 280px;
  position: relative;
  z-index: 2;
}

div.header img:last-child {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

div.subheader {
  height: 2.666em;
  line-height: 2.666em;
  margin: 0px;
  padding: 0px;
  padding-left: 25px;
  padding-right: 25px;
  font-size: 0.9em;
  font-weight: bold;
}

div.subheader div.menu {
	visibility: hidden;
	position: absolute;
	left: 7px;
	font-size: 1em;
	color: #aaaaaa;
	cursor: pointer;
}

div.subheader div.copyright {
  color: #aaaaaa;
  float: left;
}

@media (max-width: 31.25em) {
  div.subheader div.copyright {
    display: none;
  }
}

div.subheader div.controls {
  color: #000000;
  float: right;
}

div.subheader div.controls form {
  display: inline;
}

div.subheader div.controls ul {
  margin: 0;
  padding: 0;
}

div.subheader div.controls li {
  display: inline;
  list-style-type: none;
}

/* add bullet point between controls */ 
div.subheader div.controls li:not(:empty)+li:before {
  content: "\00a0\2022\00a0";
}

/* @end */

/* @group Navigation */

div.main {
	display: table;
	width: 100%;
}

div.navig {
  display: table-cell;
  vertical-align: top;
  color: white;
  width: 180px;
  min-width: 180px;
  padding: 25px;
  background: black url(../img/navig_back.jpg) no-repeat;                       
  background: url(../img/navig_back.jpg) no-repeat, linear-gradient(90deg, black 230px, transparent 230px) no-repeat;
}

@media (max-width: 37.5em) {
  div.navig {
    display: none;
  }
  
  div.subheader div.menu {
	visibility: visible;
  }
}

div.navig.show {
  display: table-cell;
}

div.navig a {
  display: block;
  background-image: none;
  color: white;
  background-color: transparent;
}

div.navig a:hover {
  color: orange;
  display: block;
  background-image: none;
}

div.navig h4 {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.6;
  margin-top: 6px;
  margin-bottom: 6px;
  color: #ffffff;
  background-image: none;
  background-color: transparent;
}
  
/* @end */

/* @group Content */

div.content {
  display: table-cell;
  vertical-align: top;
  background: #bbd0dc url(../img/content_back.gif) repeat-x;
  padding: 25px;
}

div.content table {
  margin: 0px;
  border: 0px;
  left: 0;
  right: 0;
  position: relative;
  width: 100%;
}

div.content table caption {
  font-size: 1.3em;
  line-height: 1.6;
  font-weight: bold;
  border-bottom: 1px solid #D8D8D8;
  color: gray;
  text-align: left;
  margin: 12px 0px 0px 0px;
}

div.content tr.date {
  font-weight: bold;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  color: inherit;
  background: #999;
}

div.content tr.log_error {
  color: #000;
  background: #ffa6a6;
}

div.content tr.log_warning {
  color: #000;
  background: #ffffa6;
}

div.content tr.log_denied {
  color: #000;
  background: #ffd2a6;
}

div.content tr.log_granted {
  color: #000;
  background: #a6ffa6;
}

div.content tr.t0, div.content tr.alternating:nth-child(even) {
  color: #000;
  background: #ddd;
}

div.content tr.t1, div.content tr.alternating:nth-child(odd) {
  color: #000;
  background: #ccc;
}

div.content tr.highlight:hover {
  background: #EAEBD5;
}

div.content tr.t8 {
  color: #000;
  background: #fdd;
}

div.content tr.t9 {
  color: #000;
  background: #fcc;
}

div.content th {
  font-size: 1.1em;
  font-weight: bold;
  color: #999;
  text-align: left;
  padding: 2px 4px 2px 2px;
  margin: 0px;
  border-bottom: 1px solid gray;
}

div.content th.user {
  color: black;
  background: #ffd47f;
  border: 1px solid gray;
  padding: 2px 4px 2px 8px;
}

div.content td {
  margin: 0px;
  text-align: left;
  padding-left: 5px;
  padding-top: 2px;
  padding-right: 5px;
  padding-bottom: 2px;
  vertical-align: middle;
}

div.content td.pins {
  width: 33%;
  vertical-align: top;
  padding: 2px 4px 2px 8px;
  color: inherit;
  background: #7fffb3;
  border-left: 1px solid gray;
  border-right: 1px solid gray;
}

div.content td.fingers {
  width: 33%;
  vertical-align: top;
  padding: 2px 4px 2px 8px;
  color: inherit;
  background: #7f7fff;
}

div.content td.rights {
  width: 33%;
  vertical-align: top;
  padding: 2px 4px 2px 8px;
  color: inherit;
  background: #d47fff;
  border-left: 1px solid gray;
  border-right: 1px solid gray;
}

div.content td.data {
  color: inherit;
  /*background: #eee;*/
  border-bottom: 1px solid gray;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  padding: 0px;
  vertical-align: top;
}

div.content td.bars {
  margin: 0px;
  padding: 0px;
}

div.content td.data td {
  padding: 2px 4px 2px 8px;
}

div.content td.right {
  text-align: right;
}

div.content table.tc td {
  height: 4ex;
}

/* @end */

/* @group Footer */

.footer {
  position: absolute;
  background: #ffffff;
  left: 0px;
  right: 0px;
  height: 40px;
  bottom: 0px;
  z-index: 10;
}

/* @end */

/* @group Help */

.help {
  background: #c3d4e5;
  border: outset 1px #999;
  position: absolute;
  font-size: 0.9em;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  width: 200px;
  height: auto;
  z-index: 99;
  padding: 8px;
  margin: 4px;
  color: #000;
  display: none;
  top: 57px;
  right: 0;
  bottom: 0;
}

div.help p.title {
  font-weight: bold;
  margin: 4px 0px 8px 0px;
  padding: 0px;
  border-bottom: 1px solid gray;
}

div.help p {
  margin: 0px;
  padding: 0px;
  line-height: 1.4;
}

div.help p.last {
  margin: 0px 0px 8px 0px;
  padding: 0px 0px 9px 0px;
  border-bottom: 1px solid gray;
}
  
/* @end */

/* @group Messages */

.ok {
  font-size: 1em;
  color: black;
  background: #61d861;
  padding: 2px;
  border: 1px solid #158c15;
  margin-bottom: 6px;
  margin-top: 6px;
}

.warn {
  font-size: 1em;
  color: black;
  background: #f2af6d;
  padding: 2px;
  border: 1px solid #8c4907;
  margin-top: 6px;
  margin-bottom: 6px;
}

.error {
  font-size: 1em;
  color: black;
  background: #f26d6d;
  padding: 2px;
  border: 1px solid #8c0707;
}

.red {
  color: #900;
  background: inherit;
}

.gray {
  color: gray;
  background: inherit;
}

.bold {
  font-weight: bold;
}

/* @end */

/* @group Algorithm Colors */

.algo1 {
  color: #265F26;
}

.algo2 {
  color: #11162F;
}

.algoname {
  color: #999;
}

/* @end */

span.admit span {
	display: none;
}

.pointer:hover {
	cursor: pointer;	
}

tr.date .editable:hover {
  background-color: #BCBCBC;
  border: 1px solid #CDCDCD;
}

tr.highlight .editable:hover {
  border: 1px solid #f5f5f5;
  background-color: #FFFFD6;
}
