
 body {
	 padding-top: 25px;
	 font-size: 16px;
	 color: white;
}
 .tile-map {
	 background-image: url(../img/starfield.jpg);
	 background-repeat: repeat;
}
/* Tile map */
 .tile-map {
	 position: fixed;
	 top: 0;
	 left: 0;
	 height: 100%;
	 width: 100%;
	 z-index: -1;
}
/* Sidebar is a container for all the tools */
 .sidebar {
	 width: 350px;
	 top: 0;
     left:initial;
	 right: 0;
	 position: absolute;
	 background: rgba(0, 0, 0, 0.70);
	 padding: 20px;
     overflow-y: auto;
}
 .sidebar-panel {
	 margin-bottom: 0px;
}
 .Move-mode .tile-map {
	 cursor: move;
}
 .Paint-mode .tile-map .tile {
}
 .Select-mode .tile-map .tile {
	 cursor: pointer;
}


 .tile-selector {
	 display: inline-block;
}
 .tile-selector ul {
	 margin: 0;
}
 .tile-selector .tile {
	 cursor: pointer;
}
 .tile-selector .tile:hover {
	 filter: opacity(0.8);
}
 .tile-selector .tile.selected {
	 outline-width: thick;
	 outline-color: var(--mdc-theme-selected);
	 outline-style: solid;
	 outline-offset: -5px;
}

 .button.selected {
	 outline-width: thick;
	 outline-color: var(--mdc-theme-selected);
	 outline-style: solid;
	 outline-offset: -5px;
}

.weapon-numero.selected {
     outline-width: thick;
	 outline-color: var(--mdc-theme-selected);
     outline-style: solid;
     outline-offset: 0px;
}

  .tile-selector>.list-inline {
      padding-left: 0;
      list-style: none;
      box-sizing: border-box;
}

  .tile {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
}


* {
    --mdc-theme-primary: #e63702;
    --mdc-theme-selected: #dea800;
    --mdc-text-field-focus-line-color: blue;
    --mdc-text-field-label-ink-color: blue;
    --mdc-text-field-caret-color:  blue;
    --mdc-theme-secondary: #dea800;
}

code {
    color: var(--mdc-theme-selected);
}

.botao {
    background: white;
    height: 30px;
}
.add-botao {
    background: white;
    height: 30px;
}

.single-icon {
    padding-left:25px;
}

.rem-botao {
    height: 10px;
    width: 280px;
}

#numero.invalido {
    outline-color: var(--mdc-theme-error);
}

#numero {
    width: 60px;
    height: 30px;
    outline:auto;
    outline-color: white;
    margin:3px;
}

#numero * {
    --mdc-theme-primary: var(--mdc-theme-selected);
}

#numero.invalido>input {
    color: var(--mdc-theme-error);
}

#arma.invalido>input {
    color: var(--mdc-theme-error);
}

#numero>input {
    width: 60px;
    color:white;
}

.weapon-numero {
    width: 50px;
    height: 50px;
    background-size: cover;
    background-position: center;
}

.caixa {
    outline:auto;
    margin:5px;
}

#arma * {
    --mdc-theme-primary: var(--mdc-theme-selected);
}

#arma>input {
    width: 50px;
    height: 50px;
    color: white;
}

#weapons {
    display:flex;
    justify-content:space-evenly;
}

.tipo-button {
    background-color: var(--mdc-theme-primary);
    border-radius: 100%;
    margin: 4px 4px;
    width: 40px;
    height: 40px;
    padding: 8px;
    display:inline;
}
.tipo-button-invalido {
    background-color: var(--mdc-theme-error);
    border-radius: 100%;
    margin: 4px 4px;
    width: 40px;
    height: 40px;
    padding: 8px;
    display:inline;
}
.tipo-inner-button>span {
    --mdc-theme-primary: var(--mdc-theme-selected);
}

.tipo-inner-button>img {
    width: 20px;
    height: 20px;
}

.items-card {
    margin-bottom: 10px;
    margin-top: 10px;
}

.item-row {
    flex-direction: row;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.item-col {
    flex-direction: column;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.selected-icon {
    color: var(--mdc-theme-selected);
}
#disabled-icon {
    color: white;
}
.invalid-icon {
    color: var(--mdc-theme-error);
}

.rightwards {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#lock {
    padding-left:20px;
}

#drawer-button-closed {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
}

.mdc-drawer--open {
      transform: translateX(0);
    }

.worm-sprite {
    width:40px;
    height:40px;
    padding:5px;
}

#codearea {
    width:75vw;
}

#codearea>textarea {
    font-family: "Fira Code", "Source Code Pro", "Courier New", monospace;
    font-size: 14px;
    line-height: 1.5;
    tab-size: 4;
    white-space: pre;
    word-wrap: normal;
    overflow-x: auto;

}

.mdc-dialog .mdc-dialog__container .mdc-dialog__surface {
  width: 80vw;
  max-width: 80vw;
}

.mdc-dialog__content {
    display: flex;
    align-content: center;
    justify-content: center;
}

#dano {
    color: var(--mdc-theme-primary);
}

#dano-minhoca-img {
    width:20px;
    height:20px;
}

#dano-terreno-img {
    width:20px;
    height:20px;
    object-fit: none;
    object-position: -146px 0px;
}

.spread-table {
    width: 100%;
    border-collapse: collapse;
  }
.spread-table td:first-child {
  text-align: left;
  white-space: nowrap;
}
.spread-table td:last-child {
  text-align: right;
  white-space: nowrap;
}
.spread-table td:not(:first-child):not(:last-child) {
  width: 100%;
}
