@import url("../shared.css");

:root {
  --yellow-translucent: rgba(255, 240, 0, 0.4);
  --yellow-primary: rgb(255, 240, 0);
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

button#loc-rem-switch, .bold {
  font-weight: 800;
}

/* Body */

body.body-remote {
  background: var(--purple);
  background: -moz-linear-gradient(top, var(--purple) 0%, var(--yellow-primary) 100%);
  background: -webkit-linear-gradient(top, var(--purple) 0%, var(--yellow-primary) 100%);
  background: linear-gradient(to bottom, var(--purple) 0%, var(--yellow-primary) 100%);
}

/* Button & The h1 title */
h1.box-remote, button.box-remote {
  background-color: var(--yellow-translucent);
  border-color: var(--yellow-primary);
}

h1.box-local, button.box-local {
  background-color: var(--blue-translucent);
  border-color: var(--blue-primary);
}

div.button-container {
  height: 5rem;
  width: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

button#loc-rem-switch {
  color: var(--fc);
  font-size: 20px;
  padding: 1rem 1.5rem;
}

button#loc-rem-switch:hover {
  padding: 1.2rem 1.7rem;
}

/* Table */

td a {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  color: inherit;
  text-decoration: none;
}

td a:visited {
  color: var(--fc);
}

table {
  border-collapse: collapse;
}

td {
  padding: 5px 5px;
  justify-content: center;
}

.icon-img {
  width: 30px;
}


tr.reachable.tr-local:hover {
  background-color: rgba(0, 255, 255, 0.5);
}

tr.reachable.tr-remote:hover {
  background-color: rgba(255, 132, 0, 0.5);
}

tr.unreachable {
  background-color: rgba(80, 80, 80, 0.5);
}

tr.reachable:hover {
  cursor: pointer;
}

tr.unreachable p {
  font-style: italic;
}

tr.unreachable.tr-remote p {
  color: rgb(90, 50, 60);
}

tr.unreachable.tr-local p {
  color: rgb(80, 100, 110);
}

div.bs-on-bottom p {
  margin: 0 0 0 5px;
  padding: 0;
}