html {
  font-size: 1rem;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont;
}
*,
a,
button {
  cursor: default;
  user-select: none;
}

body {
  color: #6e6c6f;
  margin: 0px;
  user-select: none;
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
.red {
  color: #eb6b5e;
}
.green {
  color: #61c650;
}
.left {
  float: left;
}

#main {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  height: 100vh;
  grid-template-columns: 270px 1fr;
}
.col {
  border-right: rgba(0, 0, 0, 0.5) 1px solid;
  height: 100vh !important;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

/* FIRST COL */
#device-list-col {
  background-color: transparent;
  color: #707070;
}
#view-buttons-bar {
  box-sizing: border-box;
  text-align: right;
  padding-left: 100px;
  padding-right: 7px;
  user-select: text;
  -webkit-app-region: drag;
  z-index: 1000;
  /*border-bottom: black 1px solid;*/
  /*background: linear-gradient(#3f3f3f 0%, #343434 100%);*/
  /*background-color: #363636;*/
  /*background-color: rgba(0, 0, 0, 0.4);*/
}
#view-buttons-bar button {
  background-color: rgba(255, 255, 255, 0.07);
  width: 26px;
  border-radius: 10px;
  font-size: 0.8rem;
}
#view-buttons-bar button:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

#device-list {
  box-sizing: border-box;
  width: 100%;
  padding: 0px 10px;
}
#device-list div {
  pointer-events: none;
}
#device-list .device {
  box-sizing: border-box;
  clear: both;
  display: block;
  width: 100%;
  height: 40px;
  padding: 10px 5px;
  overflow: hidden;
  border-radius: 5px;
}
#device-list .device.active-device {
  /*background-color: #0e5ccd;*/
  /*background-color: #c9961f;*/
  background-color: rgba(255, 255, 255, 0.2);
}
#device-list .status {
  float: left;
  width: 25px;
  font-size: 18px;
}
#device-list .type {
  float: left;
  width: 30px;
  color: #f6bd26;
}
#device-list .name {
  position: relative;
  left: 0px;
  color: white;
  font-weight: 600;

  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
#device-list h3.init {
  margin: 0px auto;
  padding-top: 200px;
  text-align: center;
  font-weight: 300;
  font-size: 16px;
  width: 210px;
  pointer-events: none;
}

#device-tools {
  position: absolute;
  bottom: 210px;
  left: 0px;
  width: 100%;
  height: 30px;
  padding-right: 10px;
  /*background: linear-gradient(#2f2f2f 0%, #2c2c2c 100%);*/
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  border-top: rgba(0, 0, 0, 0.3) 1px solid;
  /*border-bottom: #3a3a3a 1px solid;*/
}
#device-tools select {
  text-align: center;
}

#device-settings {
  position: absolute;
  left: 0px;
  bottom: 0px;
  height: 200px;
  padding: 5px;
  color: white;
  font-weight: 300;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}
#device-settings th {
  text-align: right;
  padding-right: 3px;
  color: white;
  font-weight: normal;
}
#device-settings td {
  padding: 6px;
}
#device-settings-table {
  display: none;
}
#device-settings h3 {
  padding-top: 20px;
  text-align: center;
  font-weight: 300;
}
#device-settings #device-settings-name,
#device-settings #device-settings-ip,
#device-settings #device-settings-plugin-dropdown {
  width: 170px;
}
#device-settings #device-settings-port {
  width: 70px;
}

/* SECOND COL */
#all-devices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: rgba(0, 0, 0, 0.3);
}
.device-pin {
  position: absolute;
  right: 15px;
  top: 8px;
  height: 20px;
}
.device-wrapper {
  box-sizing: border-box;
  border-top: rgba(0, 0, 0, 0) 2px solid;
  border-bottom: rgba(0, 0, 0, 0) 2px solid;
}
.draw-area {
  height: 100%;
  overflow-y: scroll;
  width: 100%;
  height: 100%;
  border: 0;
}
.active-device-outline {
  outline: #fdea08 2px solid;
  border-top: #fdea08 2px solid;
  border-bottom: #fdea08 2px solid;
}

input {
  display: block;
  box-sizing: content-box;
  background-color: rgba(0, 0, 0, 0.2);
  height: 28px;
  padding: 2px 6px;
  margin: 0px;
  border: rgba(255, 255, 255, 0.1) 1px solid;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
select {
  display: block;
  box-sizing: content-box;
  background-color: rgba(255, 255, 255, 0.15);
  height: 28px;
  padding: 2px 6px;
  margin: 0px;
  border: rgba(255, 255, 255, 0.1) 1px solid;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
input:focus,
select:focus {
  outline: #fdea08 2px solid;
  color: white;
}
input[type='checkbox'] {
  position: relative;
  height: 14px;
  width: 14px;
  padding: 2px;
  -webkit-appearance: none;
}
input[type='checkbox']:checked {
  background-color: #616064;
}
input[type='checkbox']:checked:after {
  content: '\2713';
  font-size: 18px;
  position: absolute;
  top: -1px;
  left: 1px;
  color: white;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
button,
select.button {
  box-sizing: content-box;
  width: 40px;
  height: 25px;
  margin-top: 7px;
  margin-bottom: 7px;
  margin-left: 4px;
  border: none;
  outline: none;
  padding: 0px;

  color: white;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-size: 1rem;
  user-select: none;
}
button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
button:focus {
  outline: none;
}
button.active {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
}
button:disabled {
  background: rgba(255, 255, 255, 0.03);
}
button img {
  height: 18px;
}

select.button:focus {
  outline: none;
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('img/Material Icons'), local('img/MaterialIcons-Regular'),
    url(img/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}
