body {
    background: #222;
    font-family: Arial, Helvetica, sans-serif;
    color: #4a4;
    margin: 0;
    padding: 0;
}
h1 {
    color: #6c6;
    padding: 0.5em 2em;
    border-bottom: 1px solid #171;
}
a {
    color: #8f8;
}
table {
    border-collapse: collapse;
}
.bg-danger
{
    padding: 15px;
}

#root #pas2
,#root #rnd
{
    display: none;
}

.hidden {
    display: none;
}

#wholeExperiment tbody :first-child .remove {
    display: none;
}
#wholeExperiment th {
    font-size: 24px;
}
.removing {
    background-color: #922;
}
.adding {
    background-color: #292;
}

#siteIdent span {
  background-image: -webkit-gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
  background-image: gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
  color:transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: bold;
}

.unlogged-ident {
    font-size: 2.5em;
    letter-spacing: 3px;
    text-align: left;
    padding: 1em;
    padding-top: 0.5em;
    background-image: linear-gradient(#333, #222 80%, #333, #222);
    text-shadow: #000 0px 0px 16px;
}

#root {
    margin: 1em;
    padding: 0;
}

input,
select,
textarea {
    background: #444;
    border: none;
    border-bottom: solid 1px red;
    color: #6c6;
    font-size: 20px;
    font-weight: bolder;
    margin: 0;
    padding: 2px 10px;
    text-align: left;
}

button {
    border: 1px solid #822;
    border-bottom: 1px solid #f00;
    background: #3a3a3a;
    font-size: 20px;
    font-weight: bolder;
    color: #6c6;
    padding: 0.2em 1em;
}

#flashes {
    border: 1px solid #292;
    background: #151;
    font-size: 20px;
    color: #9f9;
    margin: 1em;
    padding-left: 1em;
}
#messages {
    border: 1px solid #229;
    background: #115;
    font-size: 20px;
    color: #99f;
    margin: 1em;
    padding-left: 1em;
}

nav {
    text-align: left;
    background-image: linear-gradient(#333, #222 80%, #333, #222);
    text-shadow: #000 0px 0px 16px;
    height: 70px;
}

nav #siteIdent {
    font-size: 40px;
    letter-spacing: 3px;
    padding-left: 1em;
    padding-top: 10px;
    padding-right: 1.5em;
}

nav ul {
    font-size: 1.5em;
    list-style:none;
    display:block;
    margin: 0;
    padding: 0;
}
nav #siteIdent,
nav li
{
    display: block;
    float: left;
}
nav .right li {
    float: right;
}
nav li {
    padding-left: 1em;
    padding-right: 1em;
    font-size: 20px;
    border-left: 1px solid #777;
    padding-top: 20px;
    padding-bottom: 20px;
}
nav li.active,
nav li.active a {
    background: #282;
    color: #ff0;
}
nav li:last-child {
    border: none;
}

#main {
    padding: 1em 2em;
}

nav:after {
  content: "";
  display: table;
  clear: both;
}
textarea {
    overflow: hidden;
}
#wholeExperiment #whenTh {
    font-size: 40px;
}
#whenTh input {
    font-size: 40px;
    padding: 5px 20px;
    margin-bottom: .5em;
}
#wholeExperiment #addButton {
    margin-top: 1em;
    padding: .5em 2em;
}
#expList tr.filtering td div {
    text-align: center;
    margin-bottom: 2em;
}
#expList tr.odd {
    background: #2a2a2a;
}
#expList tr.even {
    background-color: #333333;
}
#expList tr.nav {
    background-color: #333333;
}
#expList .nav td {
    padding: 0.5em 2em;
}
#expList .nav-top td {
    border-bottom: 1px solid #900;
}
#expList .nav-bottom td {
    border-top: 1px solid #900;
}
#expList span.earlier {
    float: left;
}
#expList span.later {
    float: right;
}

#expList tr.date h2 {
    margin-top: 30px;
    margin-bottom: 5px;
}
#expList tr.header th {
    padding: 0.5em 1em;
    color: #6c6;
    border: 1px solid #888;
    background-color: #3a3a3a;
}
#expList tr.expData td {
    padding: 0.1em .5em;
    border: 1px solid #888;
}
#expList td.subject,
#expList td.what {
    text-align: center;
}
#expList td.amount {
    text-align: right;
}
#expList td.comment p {
    margin: 0;
    margin-bottom: 5px;
}
#expList td.comment p:first-child {
    margin-top: 5px;
}
#expList button.edit {
    border: 1px solid #282;
    border-bottom: 2px solid #0f0;
}
#singleExperiment th {
    font-size: 20px;
    text-align: right;
    padding: 0.2em .5em;
}
#singleExperiment input,
#singleExperiment select,
#singleExperiment textarea {
    margin: 0.1em 0;
}
#actions .remove {
    float: left;
}
#actions .remove button {
    color: #ff0;
    font-size: 90%;
    background-color: #400;
}
#actions .save {
    float: right;
}

#tdLogin {
    text-align: right;
}

#loginTable th,
#chpwTable th,
#rmactTable th {
    font-size: 20px;
    padding: 0.5em 1em;
    color: #6c6;
}

td.submit {
    text-align: center;
}

#tdRmActPw input {
    width: 90%;
}
#rmactTable {
    margin-top: 5em;
    background: #422;
    border: 2px solid red;
}
#rmactTable h1 {
    color: #ff0;
    padding: 0;
    border: none;
}

#tdRmAct button {
    color: #ff0;
    background-color: #400;
    margin-bottom: 0.5em;
}

#statsTable tr.odd {
    background: #2a2a2a;
}
#statsTable tr.even {
    background-color: #333333;
}
#statsTable tr.header th {
    padding: 0.5em 1em;
    color: #6c6;
    border: 1px solid #888;
    background-color: #3a3a3a;
}
#statsTable tr.stat td,
#statsTable tr.stat th {
    padding: 0.4em .5em;
    border: 1px solid #888;
}
#statsTable td.subject,
#statsTable td.what,
#statsTable td.count {
    text-align: center;
}
#statsTable td.amount {
    text-align: right;
}
#statsTable tr.subjectName h2 {
    margin: 0;
    margin-top: 2em;
    margin-bottom: 0.3em;
    padding: 0;
}
#statsTable tr.subjectName h2 span {
    color: #0f0;
}
#clearFilter {
    font-size: 80%;
    border: 1px solid #888;
    color: #a55;
    padding: 0.3em;
}

.cal-nav .earlier {
    float: left;
}
.cal-nav .later {
    float: right;
}
#calendar td {
    vertical-align: top;
}

#calendar td.vspacer {
    width: 2em;
}
#calendar td.hspacer {
    height: 2em;
}
#calendar table.month {
    height: 10em;
    border: 1px solid #888;
}
#calendar table.month th,
#calendar table.month td {
    border: 1px solid #888;
    text-align: center;
    width: 4em;
}

#calendar table.month th {
    font-weight: bold;
    color: #6c6;
}

#calendar table.month th.month-name {
    font-size: 150%;
    padding: 0.5em;
    background-color: #3a3a3a;
}

#calendar table.month th.day-name {
    padding: 0.3em;
    background-color: #303030;
}
#calendar table.month div.head {
    font-size: 150%;
    padding: 0.5em;
}

#calendar table.month div.head {
    font-size: 150%;
    padding: 0.3em;
}
#calendar td.i-sat,
#calendar td.i-sun {
    background: #232;
}
#calendar td.active {
    background: #422;
}
#calendar td.active a {
    color: #cf8;
    font-weight: bold;
    text-decoration: none;
}
#calendar td.a-sat,
#calendar td.a-sun {
    background: #432;
}
#calendar .cal-nav td {
    font-size: 150%;
}
#calendar .nav-top td {
    border-bottom: 1px solid #900;
}
#calendar .nav-bottom td {
    border-top: 1px solid #900;
}
#calendar .nav-spacer td {
    height 0.5em;
}
#when_dow {
    font-size: 0.75em;
    color: #5b5;
}
#when_dow:after {
  content: " )";
  display: inline;
}
#when_dow:before {
  content: "( ";
  display: inline;
}
