@font-face {
  font-family: Candara;
  src: url(Candara.ttf);
}

:root {
  --title-blue: #64a3e3;
  --menu-dark: #65819c;
  --menu-medium-dark: #7491b0;
  --menu-medium: #97b3cf;
  --menu-medium-accent: rgba(255, 255, 255, 0.2);
  --menu-light: #b5cce3;

  --text-color-primary: white;
  --text-color-hint: rgba(240, 240, 240, 0.7);
  --text-color-error: #fbff00;
}


.colorPicker {
  background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
  border-radius: 3px;
  border: 2px solid var(--menu-light);
  cursor: pointer;
  height: 24px;
  margin-right: 10px;
  width: 24px;
}

.flex { 
  display: flex;  
}

.flex-row {
  display:flex;  
  flex-direction: row;
}

.flex-column {
  display: flex;  
  flex-direction: column;
}

.flex-align-space-between {
  display: flex;
  justify-content: space-between;
}

.hidden {
  display: none !important;
  visibility: 0;
}

.mobile-hide {
  visibility: visible;
  display: inherit;
}

.mobile-display {
  display: none;
  visibility: hidden;  
}

.mobile-display-inline {
  display: none;
  visibility: hidden;  
}

body {
  background-color: #f0f0f0;
  font-family: Candara;
  background-image: url('./images/parchment-texture.png');
  background-size: cover;
}

button {
  border-radius: 12px;
  box-shadow: 0px 0px 2px #666;
}

.monsterSearchClass {
  border-left: 5px solid var(--menu-light);
  color: var(--text-color-primary);
  grid-column: 3;
  grid-row: 2;  
}

.monsterSearchInput {
  margin-left: 5px;
  margin-top: 5px;
}

.monsterSearchError.hidden {
  color: transparent;
}

.monsterSearchError {
  color: var(--text-color-error);
  margin-left: 5px;
}

.autocomplete {
  position: relative;
  display: inline-block;
}

.autocomplete-items {
  /*position the autocomplete items to be the same width as the container:*/
  border-bottom: none;
  border-top: none;
  border: 1px solid #d4d4d4;
  max-height: 200px;
  left: 0;
  overflow: auto;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 99;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

.addMobArea div div.monsterSearchHeader {
  background-color: var(--menu-medium);
  border-top: 5px solid var(--menu-light);
  color: white;
  font-weight: bold;
  padding: 2px;
  text-align: center;
}

.addMobArea div div.monsterSearchHeader .beta-tag {
  font-size: 10px;
  font-weight: bold;
}

.monsterSearchGoButton {
  margin-left: 5px;
}

.addMobArea button.addMobButton {
  background: rgb(221,221,221);
  background: linear-gradient(180deg, rgba(221,221,221,1) 50%, rgba(153,153,153,1) 100%);
  border: thin solid #999;
}

.addMobArea button.addMobButton:active {
  background: linear-gradient(180deg,  rgba(153,153,153,1) 100%, rgba(221,221,221,1) 50%);
}

.addMobArea button.addMobButton.variant {
  background: rgb(221,221,221);
  background: linear-gradient(180deg, rgba(255,255,210,1) 30%, rgba(221,221,221,1) 50%, rgba(153,153,153,1) 100%);
}

.addMobArea button.addMobButton.variant:active {
  background: linear-gradient(180deg,  rgba(153,153,153,1) 100%, rgba(221,221,221,1) 50%);
}


.page-container {
  position: relative;
  min-height: 105vh;
}

.page-splash {
  position: fixed;
  pointer-events: none;
  inset: 0 0 0 0;
  opacity: 0.2;
  background-image: url('./images/mobby-splash.png');
  background-attachment: fixed;
  background-size: 500px;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: 300px;
  z-index: -1;
}

.content-wrap {
  padding-bottom: 4.5rem; 
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  border-top: thin solid rgba(0, 0, 0, 0.2);
  padding-top: 0.5rem;
}

.footer .divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  margin-right: 3px;
  margin-left: 3px;
  vertical-align: middle;
  border-left: 1px solid black;
}

.header {
  padding: 5px 10px;
  display: flex;
  flex-direction: row;
  background-color: var(--title-blue);
  color: #f2f2f2;
  font-family: Candara, Italic,  sans-serif;
  box-shadow: 2px 2px 2px #666;
  text-align: left;
  border-bottom: 5px solid var(--menu-light);
}

.header .header-title {
  min-width: 400px;
  padding-left: 66px;
}

.header .header-title .logo {
  height: 82px;
  position: absolute;
  left: -4px;
  top: 10px;
  filter: invert(1);
}

.overheadMobBlock {
  margin-bottom: 7px;
  animation: fadeIn 0.25s;
}

.overheadMobBlock.highlighted .mobBlock {
  outline: 3px solid var(--title-blue);
  outline-offset: -2px;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(.7) }
  100% { opacity: 1; transform: scale(1) }
}

.mobBlock {
  border: thin solid #000;
  border-collapse: collapse;
  background-color: #f9f9eb;
  box-shadow: 2px 2px 2px #00000060;
  grid-column: 1;
  position: relative;
}

.mobBlock::before,
.mobBlock::after {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border: 1px solid #00000090;
  z-index: -1;  
  transform: translate(0px, 0px);
}

.mobBlock::before {
  transition: .2s ease-out;
}

.mobBlock::after {
  transition: .1s ease-out;
}

.mobBlock.many::after {
  transform: translate(3px, 3px); /* Adjust for positioning the layer */
  background: rgba(245, 245, 245);
  box-shadow: 2px 2px 2px #00000040;
}

.mobBlock.many::before {
  transform: translate(6px, 6px); /* Adjust for positioning the layer */
  background: rgba(235, 235, 235);
  box-shadow: 2px 2px 2px #00000020;
}

.mobBlock td:nth-child(1) {
  border-right: thin solid #000;
  background-color: white;
  text-align: center;
  width: 36px;
}

table.mobBlock.advantage td:nth-child(1) {
  background-color: rgba(100, 255, 100, 0.3);
}

table.mobBlock.disadvantage td:nth-child(1) {
  background-color: rgba(255, 100, 100, 0.3);
}

table.mobBlock.disabled td:nth-child(1) {
  background-color: rgba(100, 100, 100, 0.3);
}

.mobBlock .weaponSelect {
  width: 30px;
}

.mobBlock button {
  background-color: transparent;
  color:grey;
  border: none;
  transition-duration: 0.2s;
  font-size: 20px;
  vertical-align: top;
  border-radius: 2px;
  box-shadow: 0px 0px 0px;
  width: 100%;
}

.mobBlock button:hover {
  background-color: grey;
  color: white;
  cursor: pointer;
}

.mobBlock button:active {
  transition-duration: 0s;
  background-color: lightgrey;
}

.mobBlockMenu {
  display: flex;
  background-color: white;
  flex-direction: column;
  float: left;
  border-top: thin solid black;
  border-bottom: thin solid black;
  border-left: thin solid black;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  min-width: 20px;
  font-family: initial;
}

.mobBlockMenu span {
  width: 20px;
  text-align: center;
}

.mobBlockMenu span {
  background-color: white;
  transition-duration: 0.2s;
  font-size: 20px;
}

.mobBlockMenu span:nth-last-child(1) {
  border-bottom-left-radius: 4px;
}

.mobBlockMenu span:nth-child(1) {
  border-top-left-radius: 4px;
}

.mobBlockMenu .mobCloseButton {
  color: red;
  grid-row: 1/3;
  grid-column: 1;
  font-size: 18px;
  font-weight: bold;
}

.mobBlockMenu .mobCloseButton:hover {
  background-color: #ff1a1a;
  color: white;
  cursor: pointer;
}

.mobBlockMenu .mobCloseButton:active {
  transition-duration: 0s;
  background-color: #ffcccc;
}

.mobBlockMenu .mobVariantsButton {
  color: #666;
  grid-row: 3;
  grid-column: 1;
  font-size: 13px;
  padding: 2px 0px;
}

.mobBlockMenu .mobVariantsButton:hover {
  background-color: #444;
  color: white;
  cursor: pointer;
}

.mobBlockMenu .mobVariantsButton:active {
  transition-duration: 0s;
  background-color: #ffcccc;
}

.mobEnableButton {
  color: grey;
  width: 100%;
}

.mobEnableButton:hover {
  background-color: grey;
  color: white;
  cursor: pointer;
}

.mobEnableButton:active {
  transition-duration: 0s;
  background-color: lightgrey;
}

.mobBlockMenu .mobMinimizeButton {
  color:black;  
  font-size: 8px;
  grid-row: 1;
  grid-column: 2;
  vertical-align: bottom;
  padding: 4px 0px 6px 0px;
}

.mobBlockMenu .mobMinimizeButton:hover {
  background-color: grey;
  color: white;
  cursor: pointer;
}

.mobBlockMenu .mobMinimizeButton:active {
  transition-duration: 0s;
  background-color: lightgrey;
}

.mobBlockMenu .mobCloneButton {
  color:black;  
  font-size: 11px;
  grid-row: 1;
  grid-column: 3;
  padding: 4px 0px 3px 0px;
  border-bottom-left-radius: 4px;
}

.mobBlockMenu .mobCloneButton:hover {
  background-color: grey;
  color: white;
  cursor: pointer;
}

.mobBlock button.weaponDeleteButton {
  color: #666;
  /* width: 100%; */
}

.mobBlock button.weaponDeleteButton:hover {
  background-color: rgb(255, 50, 50);
  color: white;
  cursor: pointer;
}

.mobBlock button.weaponDeleteButton:active {
  transition-duration: 0s;
  background-color: rgb(255, 150, 150);
}

.mobBlockMenu .mobCloneButton:active {
  transition-duration: 0s;
  background-color: lightgrey;
}

.mobBlock .weaponExpandButton:hover {
  background-color: transparent;
  color: lightskyblue;
}

.mobBlock .weaponExpandButton {
  background-color: transparent;
  color: green;
  transition-duration: 0.2s;
  font-size: 12px;
  padding: 0px;
  width: auto;
  vertical-align: top;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}

.mobBlock .weaponCollapseButton:hover {
  background-color: transparent;
  color: lightskyblue;
}

.mobBlock .weaponCollapseButton {
  background-color: transparent;
  color: red;
  transition-duration: 0.2s;
  font-size: 12px;
  padding: 0px;
  width: auto;
  margin-right: 5px;
  vertical-align: top;
  cursor: pointer;
}

.mobBlock .extraAttackButton {
  background-color: transparent;
  color: #444;
  transition-duration: 0.2s;
  font-size: 12px;
  padding: 0px;
  width: auto;
  margin-right: 5px;
  vertical-align: top;
  cursor: pointer;
  margin-left: 5px;
}


.mobBlock .extraAttackButton:hover {
  color: green
}

.menuTip {
    font-size: 10px;
    margin-left: 1px;
    color: black;
    vertical-align: top;
    display: inline-block;
    padding-top: 1px;
    font-family: Arial, Helvetica, sans-serif;
}

.mobBlock .rangeToggleButton {
  color: lightgrey;
  font-size: 10px;
  vertical-align: top;
  padding: 0px; 
  text-align: center;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;

}

.mobBlock .weaponModSelect {
  width: 93px;
}

.mobBlock .disableLabel {
  font-size: 10px;
  color: grey;
  vertical-align: top;
}

div.creatureVariantMenu {
  display: flex;
  max-width: 319px;;
  margin-left: 21px;  
}

button.creatureVariantButton {
  font-size: 10px;
  width: 100%;
  background-color: #fff;
  color: #666;
  border-radius: 0px;
  border: thin solid black;
  border-bottom: thin solid black;
  border-left: thin solid rgba(100, 100, 100, .6);
  border-right: thin solid rgba(100, 100, 100, .6);
  border-top: none;
  box-shadow: 2px 2px 2px #666;
}

button.creatureVariantButton.small {
  font-size: 8px;
}

button.creatureVariantButton:hover {
  color: black;
  background-color: grey;
  cursor: pointer;
}

button.creatureVariantButton:active {
  background-color: #666;
}

button.creatureVariantButton:nth-child(1) {
  border-bottom-left-radius: 5px;
  border-left: thin solid black;
}

button.creatureVariantButton:nth-last-child(1) {
  border-bottom-right-radius: 5px;
  border-right: thin solid black;
}

#goButton {
  color: red;
  cursor: pointer;
  margin-left: 10px;
  font-size: 16px;
  font-weight: bold;
  text-transform: capitalize;
}

.addMobArea .addMobCol {
  grid-row: 1/3;
  grid-column: 2;
  padding-left: 5px;
}

.addMobArea .addMobCol2 {
  grid-row: 1/3;
  grid-column: 3;
  padding-left: 5px;
}

.addMobArea .addMobGrid {
  grid-template-columns: 70px 20% auto 70px auto 30%;
  grid-template-rows: auto;
}

/* Add mob text*/
.addMobArea .title {
  color: #f2f2f2;
  background-color: var(--menu-medium);
  font-weight: bold;
  text-align: center;
  grid-row: 1/3;
  grid-column: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px;
}



/* How to info */
.addMobArea .guideArea {
  color: rgba(240, 240, 240);
  font-size: 15px;
  text-align: left;
  vertical-align: top;
  grid-row:1/3;
  grid-column: 6;
  border-left: 5px solid var(--menu-light);
}

.addMobArea .mobileNotificationArea {
  color: #f2f2f2;
  background-color: var(--menu-medium);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 10px;
  text-align: center;
  border-radius: 6px;
}

.addMobArea .mobileNotificationArea span {
  padding: 3px;
}

/* Add mob area */
.addMobArea div div {
  background-color: #90b3d5;
  background-color: var(--menu-dark);
  text-align: left;
  vertical-align: top;
}

/* Categories to add mobs */
.addMobArea .addHeader {
  padding-top: 3px;
  font-size: 12px;
  color: #f2f2f2;
  text-decoration: underline;
  font-weight: bold;
}


.addMobArea button {
  background-color: #ddd;
  border: 1px solid #ddd;
  transition-duration: 0.4s;
  margin-bottom: 4px;
  font-family: Candara, Italic, sans-serif;
}

.addMobArea button:hover {
  background-color: #fff;
  border: thin solid black;
  cursor: pointer;
}

.addMobArea button:active {
  transition-duration: 0s;
  background-color: #ccc;
}

.addMobArea {
  box-shadow: 2px 2px 2px #666;
}

.launchArea {
  background-color: var(--menu-medium); 
  padding: 5px 0px 5px 0px;
  margin-bottom: 5px;
  box-shadow: 2px 2px 2px #666;
}

.launchArea.mobile-hide {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.launchArea button {
  box-shadow: 0px 0px 0px aliceblue;
}

.launchAreaDivider {
  padding:3px;
  background-color: var(--menu-light);
  box-shadow: 2px 2px 2px #666;
}

.right-tools {
  gap: 12px;
}

.color-picker-area {
  align-self: end;
}

.toolTipText {
  visibility: hidden;
  position: absolute;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  margin-top: 24px;
  right: 0;
}

.color-picker-area:hover .toolTipText {
  visibility: visible;
}

.attackDivMobile {
  background-color: transparent;
  padding: 1px;
}

#goButton-mobile {
  width: 100%;
  border-radius: 3px;
  color: red;
  background-color: #ddd;
  border: thin black solid;
  padding: 5px;
  margin-bottom: 5px;
  transition-duration: 0.2s;
  font-size: 16px;
  font-weight: bold;
  text-transform: capitalize;
}

#goButton-mobile:active {
  color: white;
  background-color: #666;
}

.mobHeader {
  padding: 0px 3px 0px 3px;
  margin: 3px;
}

.mobHeader:hover {
  background-color: #e3e3e3;
  cursor: pointer;
}

.discoveryBlock {
  animation: fadeIn 0.25s;
  margin-left: 15px;
  margin-bottom: 5px;
  border: thin solid black;  
  box-shadow: 2px 2px 2px #666;
  background-color: var(--menu-medium);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: white;
  border-collapse: collapse;
}

.discoveryBlock tr:nth-child(1) td {
  font-size: 12px;
  padding: 1px 3px 1px 3px;
  background-color: var(--menu-dark);
}

.discoveryBlock tr:nth-child(4) td {
  font-size: 9px;
  padding: 1px 3px 1px 3px;
  background-color: var(--menu-dark);
}

.dcBlock tr:nth-child(2) td {
  font-size: 10px;
  padding: 1px 3px 1px 3px;
  background-color: var(--menu-medium-dark);
}

.dcBlock tr:nth-child(4) td {
  padding: 3px;
  background-color: transparent;
}

.dcBlock tr:nth-child(5) td {
  font-size: 9px;
  padding: 1px 3px 1px 3px;
  background-color: var(--menu-medium-dark);
}

.dcBlock tr:nth-last-child(1) {
  background-color: var(--menu-medium-dark)
}

.discoveryBlock .hitButton:hover {
  background-color: #34c239;
  color: white;
  cursor: pointer;
}

.discoveryBlock .hitButton.bias:hover {
  color: white;
}

.discoveryBlock .hitButton:active {
  transition-duration: 0s;
  background-color: #adedaf;
}

.discoveryBlock .hitButton {
  background-color: white;
  color: #34c239;
  border: thin solid;
  transition-duration: 0.2s;
  font-size: 18px;
  vertical-align: top;
  border-radius: 2px;
  width: 100%;
  box-shadow: 0px 0px 0px;
  padding: 2px 16px 2px 16px;
}

.discoveryBlock .hitButton.bias {
  color: #98b599;
}

.discoveryBlock .missButton:hover {
  background-color: #ff1a1a;
  color: white;
  cursor: pointer;
}

.discoveryBlock .missButton.bias:hover {
  color: white;
}

.discoveryBlock .missButton:active {
  transition-duration: 0s;
  background-color: #ffcccc;
}

.discoveryBlock .missButton {
  background-color: white;
  color:red;
  border: thin solid;
  transition-duration: 0.2s;
  font-size: 18px;
  vertical-align: top;
  border-radius: 2px;
  width: 100%;
  box-shadow: 0px 0px 0px;
  padding: 2px 10px 2px 10px;
}

.discoveryBlock .missButton.bias {
  color: #b59898;
}

.discoveryBlock td {
  padding: 3px;
  text-align: center;
}

#infoArea {
  animation: fadeIn 0.25s;
  box-shadow: 2px 2px 2px #666;
  border: solid thin black;
  background-color: white;
  font-family: Calibri Light;
  min-width: 250px;
}

#infoAreaDiv {
  margin: 0px 0px 5px 15px;
  grid-row: 1;
  grid-column: 2;
  display: none;
}

.infoCloseButton {
  position: absolute;
  right: 4px;
  cursor: pointer;
}

#resultOverview {
  color: #f2f2f2;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  border-bottom: double black;
  text-align: center;
  position: relative;
}

#totalDamageTitle {
  font-size: larger;
  border-bottom: var(--menu-medium) solid thin;
  padding: 3px;
  background-color: var(--title-blue);
  text-decoration: underline dotted #ffffff5e;
}

#errorMessage {
  font-size: larger;
  padding: 3px;
  background-color: #ddd;
  color: red
}

#hitsOverview {
  font-size: smaller;
  background-color: var(--menu-dark);
  padding: 3px;
}

#ailmentsOverview {
  font-size: 10px;
  background-color: var(--menu-dark);
}

#discoveryArea {
  float: left;
  grid-row: 1;
  grid-column-start: 3 ;
  grid-column-end: 4;
}

#mobBlockArea {
  display: grid;
  grid-template-columns: auto minmax(min-content, 1fr) auto;
  grid-template-rows: auto minmax(min-content, 1fr) auto;
}

.mobArea {
  display: inline-grid;
  grid-template-columns: auto minmax(min-content, 1fr) auto;
  grid-template-rows: auto minmax(min-content, 1fr) auto;
}

.optionsDivider {
  background-color: #dfe6ec;
  padding: 5px;
  grid-row: 1/3;
  grid-column: 5;
}

.optionsDivider button {
  background-color: #ddd;
  border: thin solid black;
  border-radius: 2px;
  cursor: pointer;
  transition-duration: 0.15s;
}

.optionsDivider button:hover {
  background-color: whitesmoke;
}

.optionsDivider .advancedOptions {
  background-color: var(--menu-dark);
  padding: 10px;
  display: table;
  margin-left: 5px;
}

.optionsDivider .advancedOptions:not(:last-child) {
  margin-bottom: 5px;
  border-bottom: 1px solid #ffffff40;
}

.optionsDivider .advancedOptions input {
  width: 35px;
}

.optionsDivider .advancedOptions #setSavingThrowsButton {
  margin-top: 3px;
}

.optionsDivider .advancedOptions .optionsSavingThrows {
  border-collapse: collapse;
  margin-top: 2px;
  background-color: var(--menu-light);
  border: solid black 1px;
}

.optionsDivider .advancedOptions .optionsSavingThrows td {
  padding: 2px;
  background-color: var(--menu-medium);
}

.optionsDivider .advancedOptions .optionsSavingThrows tr:nth-child(1) {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  padding: 1px;
  vertical-align: middle;
  border-top: solid thin black;
  border-bottom: solid thin black;
  background-color: var(--menu-light);
}

#targetInfoTitle {
  grid-row: 1/3;
  grid-column: 4;  
  border-left: 5px solid var(--menu-light);
}

.detailTable {
  margin-top: 5px;
}

.detailHeader {
  text-align: center;
  font-size: 12px;
  border-bottom: solid thin grey;
  border-top: solid thin grey;
}

.detailHeader td {
  padding: 0px 20px 0px 20px;
}

.attackDetail {
  text-align: center;
}

.attackDetail td {
  padding: 0px 3px 0px 3px;
}

.damageRoll:hover .damageRollTip {
  display: inline-block;
}

tr.creatureClassDark {
  background-color: rgba(100, 100, 100, 0.1);
}

.damageRollTip {
  display: none;
  position: absolute;
  border: solid thin var(--menu-light);
  background-color: var(--menu-dark);
  color: #fff;
  padding: 2px;
  box-shadow: 2px 2px 2px #666;
  border-radius: 5px;
  margin: 0px 0px 0px 1px;
  font-size: 12px;
}

.hitRoll:hover .hitRollTip {
  display: inline-block;
}

.hitRollTip {
  display: none;
  position: absolute;
  border: solid thin var(--menu-light);
  background-color: var(--menu-dark);
  color: #fff;
  padding: 2px;
  box-shadow: 2px 2px 2px #666;
  border-radius: 5px;
  margin: 0px 0px 0px 1px;
  font-size: 12px;
}

.notification {
  color: var(--menu-dark);
}

.notification:hover {
  color: var(--menu-light);
  cursor: help;
}



@media screen and (max-width: 775px) {
  
  body {
    margin: 0;
  }
  
  .page-container {
    position: relative;
    min-height: 180vh;
  }
  
  .mobile-hide {
    display: none !important;
    visibility: hidden !important;        
  } 
  
  .mobile-display {
    visibility: visible; 
    display:inherit;  
  }

  .mobile-display-inline {
    visibility: visible;   
    display:inherit; 
  }

  .mobArea {
    margin: auto;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto minmax(min-content, 1fr) auto;
  }
  
  .monsterSearchClass {
    border-left: none;    
  }

  .monsterSearchInput {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
  }

  .addMobArea {
    box-shadow: 0px 0px 0px #666;
    margin: 5px;
  }

  .addMobArea .title {
    padding: 5px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    grid-row: 1;
    font-size: 19px;
    font-weight: normal;
  }
  
  .addMobArea .mobButtons {
    display: flex;
    margin-bottom: 8px;
  }
  
  .addMobArea .mobButtons button {
    border-radius: 0px;
    margin: 0px;
    box-shadow: 0px 0px 0px #666;
    border: solid thin rgba(0, 0, 0, 0.1);
    border-bottom: solid thin #999;
    width: 100%;
    padding: 2px 0px;
    font-family: Candara, Italic, sans-serif;
  }
  
  .addMobArea .mobButtons button:nth-child(1) {
    border-bottom-left-radius: 6px;
  }
  
  .addMobArea .mobButtons button:nth-last-child(1) {
    border-bottom-right-radius: 6px;
  }

  .addMobArea .addHeader {
    text-align: center;
    text-decoration: none;
    background-color: var(--menu-medium-accent);
    font-weight: normal;
  }
  
  .addMobArea  button {
    margin-left: 5px;
    text-align: center;
  }
  
  .addMobArea .addMobCol {
    grid-row: 2;
    grid-column: 1;
    padding-left: 0px;
  }

  .addMobArea .addMobCol2 {
   grid-row: 3;
   grid-column: 1;
   padding-left: 0px;
   border-bottom-left-radius: 6px;
   border-bottom-right-radius: 6px;
  }

  .monsterSearchClass {
    grid-row: 4;
    grid-column: 1;
    margin-top: 0;
    font-weight: normal;
    border-top: 10px solid var(--menu-dark);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
  }

  .addMobArea div div.monsterSearchHeader {
    background-color: var(--menu-medium-accent);
    font-weight: normal;
    font-size: 15px;
  }
  
  .addMobArea .addMobCol2 .mobButtons:nth-last-child(1) {
    margin-bottom: 0px;    
    /* border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px; */
  }

  .addMobArea #targetInfoTitle {
   margin-top: 10px;
   grid-row: 5;
   grid-column: 1;
   padding-left: 5px;
   border: none;
  }
  
  .addMobArea .optionsDivider {
   grid-row: 6;  
   grid-column: 1;
   padding-left: 5px;
   margin-bottom: 10px;
   border-bottom-left-radius: 6px;
   border-bottom-right-radius: 6px;
  }
  
  .discoveryBlock {
    margin: 0px auto 5px auto;
  }
  
  #infoArea {
    background-color: white;
    margin-bottom: 10px;
    min-width: 308px;
  }
  
  #infoAreaDiv {
    float: none;
    display: none;
    grid-row: 2;
    grid-column: 1;
    margin: 0px 6px;
  } 
  
  #discoveryArea {
    float:none;
    grid-row: 1;
    grid-column: 1;
  }

  #mobBlockArea {
    float:left;
    grid-row: 3;
    grid-column: 1;
    margin: auto;
  }
  
  .mobBlock {
    width: 100%;
  }
  
  .mobBlock tr:nth-child(1) td:nth-child(1) {
    width: 0px;    
  }
  
  .addMobArea .addMobGrid {
    grid-template-columns: auto;
  }
  
  .addMobArea .addHeader {
    font-size: 15px;
  }
  
  .header {
    border: none;
    box-shadow: 0px 0px 0px;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .mobBlock label {
    font-size: 11px;
    font-family: Arial, Helvetica, sans-serif;
    vertical-align: text-top;
  }
  
  .mobBlock input {
    width: 95%;
  }

  div.creatureVariantMenu {
    margin-left: 0px;
  }
  
  #totalDamageTitle {
    text-decoration: none;
  }

  .mobBlockMenu .mobMinimizeButton {
    padding-top: 4px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .mobBlockMenu .mobVariantsButton {
    padding-top: 3px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .mobBlockMenu {
    display: flex;
    background-color: white;
    flex-direction: row;
    border-top: thin solid black;
    border-bottom: none;
    border-left: thin solid black;
    border-right: thin solid black;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    min-width: 38px;
  }

  .mobBlockMenu span {
    width: 39px;
    padding: 0;
  }

  .mobBlockMenu span:nth-child(1) {
    border-top-left-radius: 4px;
  }

  .mobBlockMenu span:nth-last-child(1) {
    border-top-right-radius: 4px;
    border-bottom-left-radius: 0px;
  }

  div.creatureVariantMenu {    
    max-width:  -webkit-fill-available;
    width: 100%;     
  }

  button.creatureVariantButton {
    font-size: 12px;
  }
}