:root {
  --classic-table-border-color: #abdfbf;
}

body{
    font-family: arial, helvetica;
    margin:0;
    padding-bottom: 50px;
}

header {
    background-color: white;
    border-bottom: 1px solid black;
    margin-bottom: 0px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

header ul {
    display: inline;
    margin:0;
    padding:0;
}
header ul.right {
    position:absolute;
    right:0;
}

header li{
	display: inline;
}

header li a{
    padding: 11px 10px 0 10px;
    height: 40px;
    display: inline-block;
    box-sizing: border-box;
    color: black;
    text-decoration: underline;
    color:black;
}

header li.active a{
  text-decoration: none;
}

h1{
    font-size: 20px;
}

h2{
	font-size: 17px;
}


div#content{
    margin-top: 30px;
    padding: 20px;
}

a, a:visited, a:active{
    color: black;
    border: 1px solid transparent;
}

a:focus {
    border: 1px dotted black;
}

.emoji{
    text-decoration: none;
}

span.ta{
    display: inline-block;
    padding: 5px;
    background-color: #ccffcc;
    margin-bottom:5px;
    margin-right: 5px;
    min-width: 50px;
    font-size: 12px;
}

span.ta.note{
    background-color:#ffffcc;
}

span.ta.warn{
    background-color:#ffeecc;
}

span.ta.error{
    /*border: 1px solid #414645;*/
}

.ta-pill{
    display:inline-block;
    width:150px;
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 14px;
    white-space: nowrap;
    font-size: 12px;
    text-decoration: none;
}

a.ta-pill:hover{
    text-decoration: underline;
}

span.ta-bonbon{
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius:2.5px;
    margin-bottom: 2px;
    background-color: #2cc62c;
}

span.ta-bonbon.ok{
    background-color: #2cc62c;
}

span.ta-bonbon.note{
    background-color: gray;
}

span.ta-bonbon.warn{
    background-color: orange;
}

span.ta-bonbon.error{
    background-color: red;
}


table.classic{
    border-collapse: collapse;
    min-width: 800px;
    max-width: 1380px;
}
table.classic th, table.classic td{
    border: 1px solid var(--classic-table-border-color);
    vertical-align: top;
}

table.classic tr.light th{
    font-weight: normal;
    font-size: 12px;
}

table.classic thead th{
    border-top: none;
    padding: 4px 4px;
}

table.classic thead th:first-child,
table.classic tbody td:first-child{
    border-left: none;
}

table.classic thead th:last-child,
table.classic tbody td:last-child{
    border-right: none;
}

table.classic tbody tr:first-child td,
table.classic tbody tr:last-child td{
    border-bottom: none;
}


table.classic td.light-right, table.classic th.light-right{
    border-right-color: var(--classic-table-border-color);
}

table.classic td.num{
    text-align: right;
}

table.classic th, table.classic td{
    padding: 2px 4px;
}

table.classic td{
    font-size: 12px;
}

table.classic tr.line-below{
    border-bottom: 2px solid var(--classic-table-border-color);
}

table.classic tr.line-above{
    border-top: 2px solid var(--classic-table-border-color);
}

table.classic thead th{
    background-clip: padding-box;
    background-color: #ccffcc;
    color: black;
}

table.classic tbody tr:hover{
    background-color: #aaffaa;
}

table.classic tbody tr:nth-child(2n+1), table.classic tbody tr.summary{
    background-color: #fffee8;
}

table.classic tbody tr:nth-child(2n+1):hover, table.classic tbody tr.summary:hover{
    background-color: #aaffaa;
}



table.classic thead tr:first-child th:first-child { border-top-left-radius: 5px; }
table.classic thead tr:first-child th:last-child { border-top-right-radius: 5px; }

table.classic tbody tr:last-child td:first-child { border-bottom-left-radius: 5px; }
table.classic tody tr:last-child td:last-child { border-bottom-right-radius: 5px; }


#messages{
    position: fixed;
    width:300px;
    top:70px;
    left:20px;
    z-index:999;
}

div.message{
    cursor: pointer;
    border: 1px solid black;
    border-radius: 2px;
    padding: 10px;
    background-color: #fffee8;
    border-color: #aaa999;
    opacity:0.95;
    margin-bottom:1px;
}

div.message.error{
    background-color: #ffeeee;
    border-color: #550000;
}


.formfield{
    margin-bottom: 1px;
}

.formfield input[type=text]{
    width: 250px;
}

.formfield label{
    display: inline-block;
    width:120px;
}

.formfield p.help{
	margin-left: 120px;
}

.formfield ul.errorlist{
    margin-left: 100px;
}

a.clear_search {
    height: 18px;
    position: absolute;
    margin-left: -20px;
    background-color: #555;
    text-decoration: none;
    color: white;
    border-radius: 2px;
    display: inline-block;
    width: 7px;
    font-size: 14px;
    padding: 0px 5.5px 0px 5.5px;
    margin-top: 2px;
    line-height: 15px;
    display: none;
}