.tip{
  color: #db5824;
  font-weight: bold;
}
.lightTheme .item, .lightTheme .equipment{
  color:#00008B;
} 
.darkTheme .item, .darkTheme .equipment{
  color:#24a7db;
} 
.monster{
  color:red;
}
.darkTheme .location{
 color:#dbb424;
}
.lightTheme .location{
 color:#b6881e;
}
.levelUp{
  color:green;
}
.npc {
  color:purple;
}
.item,.monster,.location,.levelUp,.npc,.equipment {
/*   text-decoration: underline dashed; */
  cursor: help;
}
.item::after,.monster::after,.location::after,.levelUp::after,.npc::after,.equipment::after{
  content: "↗";
  font-size: 14px;
  display: inline-block;
}
.infoBox{
  margin-left: 0.5rem;
  font-size: 0.7rem;
  border: 1px solid #000;
  padding: 3px;
  display:none;
}
.darkTheme .infoBox {
  color: var(--darkThemeText);
  background-color:#666;
}
.lightTheme .infoBox {
  color: #777;
  background-color:#fff;
}
.hiddenInfoBox{
  display: inline-block;
}
li {
  padding: 0.25rem;
}
.lightTheme li:not(#modalContent li):hover{
  background-color: #F0FCF3;
}
.darkTheme li:not(#modalContent li):hover{
  background-color: #333;
}
label{
  cursor: pointer;
}
ol, ul:not(#skillsBrief ul) {
  list-style: none;
  padding-left: 0;
}
.checkbox {
  content: '';
  position: absolute;
  margin-left: -0.65rem;
  transform: translateX(-100%);
  background-image: url('./Checkbox-unchecked.svg');
  background-size: 1.5rem;
  height: 1.5rem;
  width: 1.5rem;
  display: inline;
  cursor: pointer;
  border-radius: 4px;
/*   opacity: 0.5; */
}
.checked {
  background-color: #aaa;
/*   content: '0'; */
}
.inactive {
/*   color: #aaa; */
  opacity: 0.4;
}
.playerChoiceA, .playerChoiceB{
  border: 1px solid;
  padding: 0 0.5rem;
  float:left;
  margin-right: 0.5rem;
  width: 40%;
}
.darkTheme .playerChoiceA, .darkTheme .playerChoiceB {
  color: #fff;
  background-color:#2f2f2f;
  border-color: #999;
}
.lightTheme .playerChoiceA, .lightTheme .playerChoiceB {
  color: #000;
  background-color: #f3f0fc;
  border-color: #000;
}
.clearFloat{
	clear: both;
  margin-bottom:1.5rem;
}
input[type="checkbox"]{
  transform: scale(1.5);
  margin-right: 0.75rem;
}
#modalContainer{ /*for monsters and npcs*/
  position: fixed;
  background-color: #fff;
  padding: 5px;
  bottom: 5%;
  right: 5%;
  border: 2px solid #222;
  width: 50%;
	max-height: 85%;
	overflow: auto;
}

#modalContent{
  text-align: center;
}
#modalContent img{
  max-width: 100%;
  max-height: 200px;
}
#modalContent ul, #modalContent li{
  padding: 0;
  margin: 0;
}
.closeModal{
  border-bottom: 2px solid #222;
  border-right: 2px solid #222;
  display: inline-block;
  padding: 8px 8px;
  vertical-align: middle;
  overflow: hidden;
  color: #fff;
  background-color: darkred;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}
.tableMonsterInfo{
  width: 100%;
}
.mapInfoMonsterTable{
  text-align: left;
}
.mapInfoMonsterTable ul {
  margin: 0;
  padding: 0;
}
.tableMonsterInfo, .tableMonsterInfo td  {
	white-space: pre-wrap;
  border:1px solid #222;
  border-collapse: collapse;
  padding:3px;
}
.lightTheme #modalContainer, .lightTheme .tableMonsterInfo td {
  background-color: #fff;
  border-color: #000;
}
.darkTheme #modalContainer, .darkTheme .tableMonsterInfo td {
  background-color: #222;
  border-color: #999;
}

#mapModalContainer{
  position: fixed;
  z-index:1;
  left:0;
  top:0;
/*   overflow: auto; */
  margin: auto;
  width:100vw;
  height:100vh;
  background-color:#444;
  background-color:rgba(0,0,0,.8);
text-align:center;
}
#mapModalImage{
  background-color:#ffffff;
  padding: 4px; 
  border: 2px solid #222;
  cursor: zoom-in;
  max-height: 96%;
  max-width: 96%;
  margin: 1%;
}
#skillsModalContainer{
  position: fixed;
  z-index:1;
  left:0;
  top:0;
  width:100%;
  height:100%;
  overflow:auto;
  background-color:#444;
  background-color:rgba(0,0,0,.8);
}
#skillsModalContent{
  display: block;
  margin: 1rem auto;
  padding: 4px; 
  border: 2px solid #222;
  width: 500px;
  max-width: 100%;
}
.lightTheme #skillsModalContent {
  background-color:#fff;
  color: #000;
}
.darkTheme #skillsModalContent {
  background-color:#111;
  color: #fff;
}
#skillsCloseModal, #closeMapModal{
  border-bottom: 2px solid #222;
  border-right: 2px solid #222;
  padding: 8px 8px;
  vertical-align: middle;
  overflow: hidden;
  color: #fff;
  background-color: darkred;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  position: fixed;
  font-weight: bold;
}
.skillTypeShock{
  color: #cc9900;
}
.skillTypeLife{
  color: #2c5800;
}
.lightTheme .skillTypeSpectral{
  color: #000000;
}
.darkTheme .skillTypeSpectral{
  color: #fff;
}
.skillTypeFire{
  color: #cc4400;
}
.skillTypeIce{
  color: #0088cc;
}
#levelUpSkillList {
  margin: 0.5rem auto;
  border-collapse: collapse;
  width: 100%;
}
#levelUpSkillList tr, #levelUpSkillList td, #levelUpSkillList th{
  border:1px solid;
  padding: 0.25rem;
}
.lightTheme #levelUpSkillList tr, .lightTheme #levelUpSkillList td, .lightTheme #levelUpSkillList th{
  border-color:#000;
}
.darkTheme #levelUpSkillList tr, .darkTheme  #levelUpSkillList td, .darkTheme #levelUpSkillList th{
  border-color:#999;
}
.lightTheme #levelUpSkillList tr:nth-child(even) {
  background-color: #f2f2f2;
}
.darkTheme #levelUpSkillList tr:nth-child(even) {
  background-color: #333;
}
.lightTheme .highlitLevel{
  background-color: #eeffcc !important;
}
.darkTheme .highlitLevel{
  background-color: #808080 !important;
}
#about p,#tableofcontents li, .compactlist li, .compactlist{
  margin: 2px;
  padding:0;
}
body.modal-open {
  height: 100vh;
  overflow-y: hidden;
}
#modeAbout {
  color: inherit;
}

#levelUpSkillList tr.hideInsane > th:nth-of-type(3),
#levelUpSkillList tr.hideInsane > td:nth-of-type(3) {
  display: none;
}
#levelUpSkillList tr.hideNormal > th:nth-of-type(2),
#levelUpSkillList tr.hideNormal > td:nth-of-type(2) {
  display: none;
}
.desaturated{
 filter: opacity(40%);
}

#sidebar{
 
 float:left;
 height: 100vh;
 position: fixed;
 border-right: 2px solid #444;
 top: 20px;
 left: 0;
 padding: 10px 5px 15px 15px;
 z-index: 99;
 width: 15%;
 overflow: auto;
 
}
#sidebar li{
 padding: 6px;
}
#content, footer{
margin-left: 15%; 
}
/*@media (max-width: 768px) #content li,#content p{
 max-width: 70%;
}*/
@media (max-width: 768px) {
 #sidebar{
 display: none;
 }
 
 #content, footer{
 margin-left: 0; 
 }
}
body.lightTheme #sidebar{
 color:var(--lightThemeText);
 background-color: var(--lightThemeBody);
}
body.darkTheme #sidebar{
 color:var(--darkThemeText);
 background-color: #1a1a1a;
} 
/*.checkboxCounter{
 padding: 5px;
 color:#666;
 }*/
body.darkTheme main input[type="checkbox"] {
 accent-color: darkgray;
}
body.lightTheme main input[type="checkbox"] {
 accent-color: darkgreen;
}
.darkTheme #sidebar hr {
 margin: 0;
 background-color:#444;
}
.darkTheme #sidebar a, .darkTheme #sidebar a:visited {

 color: orange;
}
#sidebar a{text-decoration: none;display: block;}
#content h2:target{
  scroll-margin-top: 40px; 
}


