@import url(https://fonts.googleapis.com/css?family=Roboto:400, 300);

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: 0.05rem solid #fff;
}

/* Base structure */

html,
body {
  height: 100%;
  background-color: #333;
}

body {
  height: 100%;
  color: #fff;
  text-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.5);
}

.container {
  display: flex;
}

.sortButton {
  padding-top: 15px;
}
.pathButton {
  margin: 10px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

canvas {
  border: 1px solid #000000;
  height: 600px;
  width: 800px;
}

.sidebar {
  padding: 10px;
}

#code {
  white-space: pre;
}

.red-line {
  border: 1px solid #f00;
  background: #f00;
  display: block;
}
.gray-line {
  border: 1px solid gray;
  background: #f00;
  display: block;
}
.green-line {
  border: 1px solid #0f0;
  background: #f00;
  display: block;
}

table,
th,
td {
  table-layout: fixed;
  background-color: white;
  border: 1px solid black;
  color: black;
}

td {
  width: 50px;
  height: 30px;
}

/* context menu */

.context-menu {
  display: none;
  position: absolute;
  z-index: 10;
  padding: 12px 0;
  width: 240px;
  font-family: "Roboto", sans-serif;
  background-color: #333;
  border: solid 1px #dfdfdf;
  box-shadow: 1px 1px 2px #cfcfcf;
}

.context-menu--active {
  display: block;
}

.context-menu__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.context-menu__item {
  display: block;
  margin-bottom: 4px;
}

.context-menu__item:last-child {
  margin-bottom: 0;
}

.context-menu__link {
  display: block;
  padding: 4px 12px;
  color: "white";
  text-decoration: none;
}

.context-menu__link:hover {
  color: #fff;
  background-color: #0066aa;
}

.modal-content {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: 0.05rem solid #fff;
  position: relative;
}

.modal-content h6 {
  text-decoration: underline;
  font-weight: bold;
}

img.modal_gif {
  width: 90%;
  height: 80%;
}

.modal-key-green {
  float: left;
  margin: 5px;
  height: 20px;
  width: 20px;
  background-color: green;
}
.modal-key-red {
  float: left;
  margin: 5px;
  height: 20px;
  width: 20px;
  background-color: red;
}

.modal-key-gray {
  float: left;
  margin: 5px;
  height: 20px;
  width: 20px;
  background-color: gray;
}

.modal-key-yellow {
  float: left;
  margin: 5px;
  height: 20px;
  width: 20px;
  background-color: yellow;
}
.modal-key-blue {
  float: left;
  margin: 5px;
  height: 20px;
  width: 20px;
  background-color: blue;
}
