body {
background-color: #dfdfef;
text-align: left;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
margin: 0;
color: #bf0000;
width: 1000px;
}
a {text-decoration: none;}
a:link {color: #7f0000;}
a:visited {color: #7f0000;}

h1 {
  font-weight: bold;
  font-size: 12pt;
  margin: 0 2px;
}
table {
 border-collapse: collapse;
}

// Hide while being rewritten
.b64 {
    visibility: hidden;
}

.sideBar {
color: #dfdfef;
background-color: #afafbf;
font-size: 0.8em;
font-weight: bold;
padding: 0;
width: 100%;
border: solid 1px #00007f;
}

.sideBar button.first {
  background-color: #cfcfdf;
  border: none;
  text-align: left;
  width: 100%;
}
.sideBar button.first:hover {
  background-color: #cf8080;
}
.sideBar button.lock2 {
  background-color: #4080c0;
  color: #ffffff;
  border: none;
  width: 100%;
  text-align: left;
  padding-left: 1em;
}
.sideBar button.second {
  background-color: #a0a0af;
  border: none;
  width: 100%;
  text-align: left;
  padding-left: 1em;
}
.sideBar button.second:hover {
  background-color: #4080c0;
  color: #ffffff;
}

.boxa {
border: solid 1px #7f0000;
padding: 1px;
width: 100px;
margin: 0 5px 0 5px;
float: left;
display: block;
}
.boxb {
border: solid 1px #dfdfef;
padding: 1px;
}
.pageContent {
text-align: left;
}
#idbox {
float: right;
margin-right: 5em;
font-size: 0.7em;
color: #700000;
}

#main {
color: black;
}
#main #gname  {
//border: 1px solid black;
margin-left: 8em;
width: 30em;
text-align: left;
padding: 3px;
}

#main #gname label {
  font-size: 0.8em;
}

#main #gname #err {
margin-top: 5px;
margin-left: 10px;
color: red;
}

button.small {
  border: 1px solid #6060c0;
  background-color: #6060c0;
  color: #ffffff;
  margin-left: 5px;
  margin-right: 5px;
}
button.small.btndisabled {
  border: 1px solid #6060e0;
  background-color: #6060e0;
  color: #d0d0d0;
}
button.small:hover:not(.btndisabled) {
  border: 1px solid black;
  color: #6060c0;
  background-color: #ffffff;
}
table.gulist th {
  font-size: 0.8em;
  color: #302020;
}

table.gulist th.gname {
  width: 150px;
}
table.gulist th.wcount {
  width: 100px;
}

table.gulist td {
  font-size: 0.9em;
  color: #302020;
  font-style: italic;
}

table.gulist button.gnlist {
  color: #0000ff;
  border: none;
  padding: 0;
  background-color: transparent;
}
table.gulist button.gnlist:hover {
  color: #800080;
}

#leftcol {
 float: left;
 width: 420px;
 display: block;
}
#rightcol {
 display: inline-block;
 float: left;
 width: 420px;
}

#wordentry {
  border: 1px solid black;
  border-radius: 8px;
  background-color: #f0f0f0;
  width: 390px;
  height: 190px;
  display: block;
}

#wordfilter {
  border: 1px solid black;
  border-radius: 8px;
  background-color: #f0f0f0;
  width: 390px;
  height: 100px;
  display: block;
  margin-top: 10px;
}

div#wordlist {
  border: 1px solid black;
  border-radius: 8px;
  background-color: #f0f0f0;
  width: 390px;
  height: 300px;
  display: block;
  margin-top: 10px;
}

#groupfilter {
  border: 1px solid black;
  width: 390px;
  height: 100px;
  display: block;
  margin-top: 30px;
}

#grouplist {
  border: 1px solid black;
  border-radius: 8px;
  background-color: #f0f0f0;
  width: 390px;
  height: 250px;
  display: block;
  margin-top: 10px;
}

#wordentry {
  text-align: left;
  padding: 5px 10px 0 10px;
}
#wordentry label {
  font-size: 0.8em;
}

#wordentry #posradio {
  float: right;
  margin-right: 3em;
  font-size: 0.9em;
}

#wordentry #level {
  position: relative;
  left: -1em;
}
#wordentry #levelin {
  position: relative;
  width: 4em;
  left: -1em;
}

.btncontainer {
  padding: 10px;
}

#wordfilter {
  padding: 5px 10px 0 10px;
}
div#wordlist {
  padding: 5px 10px 0 10px;
}
#groupfilter {
  padding: 5px 0 0 10px;
  border-radius: 8px;
  background-color: #f0f0f0;
}
#grouplist {
  padding: 5px 0 0 10px;
}

#grouplist #leftgl {
  float: left;
  width: 180px;
  display: inline-block;
}

#grouplist #rightgl {
  width: 180px;
  display: inline-block;
  margin-left: 20px;
}
#grouplist label {
  font-size: 0.8em;
}
#grouplist .grselx {
  font-size: 0.9em;
}
#grouplist .grselx .name {
  width: 140px;
  padding-left: 5px;
  white-space: nowrap;
}
#grouplist .grsel {
  font-size: 0.8em;
}
#grouplist .grsel .name {
  width: 140px;
  padding-left: 5px;
  white-space: nowrap;
}
.overflow {
 overflow-x:auto;
 border: 1px solid #808080;
 height: 220px;
}
.lighter th {
 background-color: #c8c8cf;
}
.lighter {
 background-color: #e8e8ef;
}

table.grsel th {
 border-bottom: 1px solid black;
}
table.grselx th.buttons {
 width: 25px;
}
table.grsel th.buttons {
 width: 25px;
}
table.grselx th {
 border-bottom: 1px solid black;
}

.smalltext {
 font-size: 0.7em;
 font-style: italic;
}
.lowtext {
 font-size: 0.8em;
}

table#wordlist {
 width: 100%;
}
table#wordlist th.slanguage {
 width: 145px;
}
table#wordlist th.tlanguage {
 width: 145px;
}

table#wordlist div.slang_col {
 width: 145px;
}
table#wordlist div.tlang_col {
 width: 145px;
}

table#wordlist td div {
 overflow: hidden;
 white-space: nowrap;
}

.hfloat {
  float: left;
  margin-right: 15px;
}
.hlastfloat {
  float: right;
}

#drillmain {
  border: 1px solid black;
  border-radius: 8px;
  background-color: #f0f0f0;
  width: 390px;
  height: 220px;
  display: block;
  padding: 5px 10px 0 10px;
}

#drillstats {
  border: 1px solid black;
  border-radius: 8px;
  background-color: #f0f0f0;
  width: 390px;
  height: 190px;
  display: block;
  padding: 5px 10px 0 10px;
  margin-top: 10px;
}

#drillsession {
  border: 1px solid black;
  border-radius: 8px;
  background-color: #f0f0f0;
  width: 390px;
  height: 230px;
  display: block;
  padding: 5px 10px 0 10px;
  margin-top: 30px;
  font-size: 0.8em;
}

#drillsession .em {
  font-weight: bold;
}
#drillsession #dws {
  font-size: 0.9em;
  float: left;
  width: 90px;
  padding-right: 2px;
  display: inline-block;
  white-space: nowrap;
}
#drillsession #dwr {
  font-size: 0.9em;
  float: left;
  width: 90px;
  padding-right: 2px;
  display: inline-block;
  white-space: nowrap;
}
#drillsession #dwm {
  font-size: 0.9em;
  float: left;
  width: 90px;
  padding-right: 2px;
  display: inline-block;
  white-space: nowrap;
}
#drillsession #dwsr {
  font-size: 0.9em;
  float: left;
  width: 90px;
  display: inline-block;
  white-space: nowrap;
}

#drillmain #res {
  border: 1px solid black;
  width: 250px;
  height: 120px;
  display: block;
  padding: 2px;
}
#drillmain .btncontainer {
  float: right;
  width: 75px;
  text-align: right;
}

#drillmain .btncontainer button {
  width: 65px;
  margin-bottom: 10px;
}
#drillmain #newlabel {
  font-size: 0.8em;
  white-space: nowrap;
  margin-right: 5px;
  color: red;
}
#drillmain #wlabel {
  font-size: 0.9em;
}
#drillmain #chid {
    font-weight: bold;
    font-size: 18pt;
}
#drillmain #res span {
  display: block;
  position: absolute;
  top: 5px;
}
#drillmain #res {
  text-align: left;
  font-size: 1.1em;
  position: relative;
  padding-left: 5px;
  background-color: #d0d0e0;
  color: #d0d0e0;
}

#drillmain #res:hover {
  color: black;
}
#drillmain #res:active {
  color: black;
}
#drillmain #dposid {
  float: right;
  font-style: italic;
  font-size: 0.8em;
  display: block;
  position: relative;
  left: 10px;
  top: 5px;
}

#drillmain #cbdir {
  position: relative;
  top: 10px;
  font-size: 0.8em;
  width: 200px;
}
#drillmain #cbrmn {
  position: relative;
  top: 10px;
  font-size: 0.8em;
  width: 200px;
}
#dstbl {
  color: #181818;
  font-size: 0.9em;
}
#dstbl .level {
  width: 15px;
}
#dstbl .count {
  width: 15px;
  font-weight: bold;
}
#dstbl .graph {
  width: 320px;
  font-size: 0.7em;
}
#dstbl .bargraph {
  background-color: blue;
}

/* Drill Status */
#drillstats {
  position: relative;
  font-size: 0.9em;
}
#drillstats .payload {
 font-weight: bold;
}

#drillstats #targbox {
 position: absolute;
 margin-left: 200px;
}
#drillstats .spaced {
 margin-top: 5px;
}
#drillstats #wordid {
 position: absolute;
 margin-left: 270px;
 margin-top: 20px;
 font-size: 0.8em;
}
#drillstats #drillid {
 position: absolute;
 margin-left: 270px;
 margin-top: 40px;
 font-size: 0.8em;
}
#drillstats #seqno {
 position: absolute;
 margin-left: 270px;
 margin-top: 60px;
 font-size: 0.8em;
}
#drillstats #deditw {
 position: absolute;
 margin-left: 290px;
 margin-top: 100px;
 font-size: 0.8em;
 width: 65px;
}

#main #admin  {
border: 1px solid black;
margin-left: 8em;
width: 85%;
text-align: left;
padding: 3px;
overflow: auto;
position: relative;
min-height: 600px;
}

#main #admin label {
  font-size: 0.8em;
}

#main #admin #err {
margin-top: 5px;
margin-left: 10px;
color: red;
}

table.moodlist th {
  font-size: 0.8em;
  color: #302020;
}

table.moodlist th.mname {
  width: 150px;
}
table.moodlist th.wcount {
  width: 100px;
}

table.moodlist td {
  font-size: 0.9em;
  color: #302020;
  font-style: italic;
}

table.moodlist button.mlist {
  color: #0000ff;
  border: none;
  padding: 0;
  background-color: transparent;
}
table.moodlist button.mlist:hover {
  color: #800080;
}

#moodedit {
    width: 225px;
    position: absolute;
    height: 250px;
    top: 2px;
    left: 2px;
    border: 1px solid green;
}


table.moodlist {
    margin-left: 4px;
}

table.tenselist th {
  font-size: 0.8em;
  color: #302020;
}

table.tenselist th.tname {
  width: 150px;
}
table.tenselist th.wcount {
  width: 100px;
}

table.tenselist td {
  font-size: 0.9em;
  color: #302020;
  font-style: italic;
}

table.tenselist button.tlist {
  color: #0000ff;
  border: none;
  padding: 0;
  background-color: transparent;
}
table.moodlist button.tlist:hover {
  color: #800080;
}

table.tenselist {
    margin-left: 4px;
}

#tenseedit {
    width: 225px;
    position: absolute;
    height: 250px;
    top: 256px;
    left: 2px;
    border: 1px solid green;
}

#numberedit {
    width: 225px;
    position: absolute;
    height: 250px;
    top: 2px;
    left: 233px;
    border: 1px solid green;
}

#pronounedit {
    width: 225px;
    position: absolute;
    height: 250px;
    top: 256px;
    left: 233px;
    border: 1px solid green;
}

#formedit {
    width: 225px;
    position: absolute;
    height: 250px;
    top: 2px;
    left: 464px;
    border: 1px solid green;
}

table.genderlist td {
  padding: 0 0 0 5px;
}
table.genderlist th {
  font-size: 0.8em;
  color: #302020;
  padding: 0 0 0 5px;
}

table.genderlist th.gname {
  width: 150px;
}
table.genderlist th.wcount {
  width: 100px;
}

table.genderlist td {
  width: 150px;
}

table.genderlist td {
  font-size: 0.9em;
  color: #302020;
  font-style: italic;
}

table.genderlist button.glist {
  color: #0000ff;
  border: none;
  padding: 0;
  background-color: transparent;
}
table.genderlist button.glist:hover {
  color: #800080;
}
#genderedit {
    display:block;
    width: 225px;
    position: absolute;
    height: 250px;
    top: 2px;
    left: 2px;
    border: 1px solid green;
}

table.numberlist th {
  font-size: 0.8em;
  color: #302020;
}

table.numberlist th.tname {
  width: 100px;
}
table.numberlist th.wcount {
  width: 100px;
}

table.numberlist td {
  font-size: 0.9em;
  color: #302020;
  font-style: italic;
}

table.numberlist button.tlist {
  color: #0000ff;
  border: none;
  padding: 0;
  background-color: transparent;
}
table.numberlist button.tlist:hover {
  color: #800080;
}

table.numberlist .plcol {
    font-size: 0.8em;
}

table.numberlist {
    display: block;
    height: 140px;
    overflow-y: scroll;
}


table.pronounlist th {
  font-size: 0.8em;
  color: #302020;
}

table.pronounlist th.pname {
  width: 100px;
}
table.pronounlist th.wcount {
  width: 100px;
}

table.pronounlist td {
  font-size: 0.9em;
  color: #302020;
  font-style: italic;
}

table.pronounlist button.plist {
  color: #0000ff;
  border: none;
  padding: 0;
  background-color: transparent;
}
table.pronounlist button.plist:hover {
  color: #800080;
}

table.pronounlist {
    display: block;
    height: 140px;
    overflow-y: scroll;
}

table.formlist th {
  font-size: 0.8em;
  color: #302020;
}

table.formlist th.tname {
  width: 100px;
}
table.formlist th.wcount {
  width: 100px;
}

table.formlist td {
  font-size: 0.9em;
  color: #302020;
  font-style: italic;
}

table.formlist button.flist {
  color: #0000ff;
  border: none;
  padding: 0;
  background-color: transparent;
}
table.formlist button.flist:hover {
  color: #800080;
}

table.formlist .plcol {
    font-size: 0.8em;
}

table.formlist {
    display: block;
    height: 140px;
    overflow-y: scroll;
}

// WordList
table.wordlist td {
  font-size: 0.9em;
  color: #302020;
  font-style: italic;
}

table.wordlist button.wlist {
  color: #0000ff;
  border: none;
  padding: 0;
  background-color: transparent;
}

#vswa {
//    border: 1px solid purple;
    width: 200px;
    display: block;
    height: 300px;
    position: absolute;
    top: 2px;
    left: 2px;
}
#vswa .scrollpart {
  overflow-y: auto;
  height: 270px;
}
#vswa h1 {
    font-size: 14pt;
}

#vfpl {
//    border: 1px solid purple;
    width: 400px;
    display: block;
    height: 250px;
    position: absolute;
    top: 324px;
    left: 2px;
}
#vfpl .scrollpart {
  overflow-y: auto
  height: 220px;
}

.scrollpart p {
    margin: 0;
}
#vfpl .name {
    width: 150px;
}
#vfpl .actions {
    width: 50px;
}
#vfpl .results {
    width: 150px;
}
.bcont {
    text-align: center;
}
.bcont button {
    margin: 0;
}

#modal {
    position: absolute;
    display: none;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: #00002525;
}
#patternmodal {
    border: 1px solid #808080;
    border-radius: 4px;
    display: block;
    width: 450px;
    height: 200px;
    margin: 150px auto 150px auto;
    background-color: white;
}
#patternmodal h1 {
    margin-top: 15px;
    margin-left: 15pt;
}
#patternmodal #actions {
    display: block;
    position: relative;
    top: 15px;
    left: 15px;
    width: 80%;
}
#patternmodal #actions button {
    float: right;
}
#patternmodal textarea {
    margin-left: 15pt;
}
#debug {
    clear:both;
    color: purple;
    font-size: 0.8em;    
}
button.btext {
    padding: 0;
    border: none;
    background: none;
    color: blue;
    text-align: left;
    font-size: 14pt;
}
#wordfilter .flttext {
    display: block;
    float:left;
    font-size:0.8em;
}
#wordfilter .fltcontrol {
    float:left;
    margin: 0 5px;
    display: block;
    font-size:0.8em;
}
#wordfilter .btncontainer {
    margin: 0 5px;
    display: block;
}
#wordfilter #lvlin {
    width: 100px;
}
.genclear {
    clear: both;
}
#wordfilter .btncontainer button {
  width: 65px;
  margin-bottom: 10px;
}
#adminmodal {
    border: 1px solid #808080;
    border-radius: 4px;
    display: block;
    width: 250px;
    height: 150px;
    margin: 150px auto 150px auto;
    padding: 5px;
    background-color: white;
}

.btncontainer#idroman {
    font-size: 0.8em;
}
.btncontainer label {
    font-size: 0.8em;
}
div#hideall {
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 10;
    display: none;
    background-color: #000;
    top: 0;
    left: 0;
    position: absolute;
}
div#yesno {
    border: 1px solid #808080;
    width: 250px;
    height: 100px;
    margin: auto;
    padding: 10px;
    display: none;
    position: relative;
    background-color: #e0e0e8;
    border-radius: 8px;
    top: 100px;
    text-align: center;
    z-index: 20;
}
div#yesno #yntext {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
}
div#yesno #btnyes {
    position: absolute;
    top: 90px;
    left: 70px;
}
div#yesno #btnno {
    position: absolute;
    top: 90px;
    left: 150px;
}
