:host {
  width: 100%;
  height: 100%;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.home-container {
  display: flex;
  height: 100%;
  padding: 20px;
  font-family: Roboto;
  background-color: #f9f9f9;
}

.left-container {
  display: inline-flex;
  flex-direction: column;
  width: 50%;
  min-width: 450px;
  min-height: 650px;
  height: 100%;
  padding: 20px 20px 30px 20px;
  background-image: url('../../images/homepage/Bitmap.png');
}

.startup-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 80%;
  min-height: 235px;
  padding: 10px;
}

.connection-label {
  height: 14px;
  width: 117px;
  color: #555555;
  font-family: Roboto;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.4;
}

.device-name-container {
  min-width: 490px;
  align-items: center;
}

@media only screen and (min-width: 1200px) {
  .device-name-container {
    min-width: 600px;
  }
}

.device-name-container > div {
  color: #555555;
  margin: 10px 40px 10px 0px;
}

.device-name-label {
  font-size: 12px;
  font-weight: 600;
}

.device-name {
  font-size: 26px;
  font-weight: 600;
  margin-top: 10px;
}

.device-splitter {
  box-sizing: border-box;
  height: 37px;
  width: 1px;
  border-right: 1px dashed #979797;
}

.title-sml {
  margin: 10px 0px;
  color: #555555;
  font-family: Roboto;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
}

.title-lrg {
  margin: 10px 0px;
  color: #555555;
  font-family: Roboto;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 16px;
}

.desc {
  margin: 10px 0px 20px 0px;
  overflow: auto;
  width: 436px;
  color: #999999;
  font-family: Roboto;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 22px;
}

.connection-status {
  margin: 10px 0px;
  color: #555555;
  position: relative;
  right: 10px;
  font-family: Roboto;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}
.connection-status.green {
  color: #4baf4f;
}
.connection-status.red {
  color: #d00;
}

.connection-status .outer-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  margin-right: 5px;
  background-color: #d4ebe0;
  border-radius: 50%;
}
.connection-status.green .outer-circle {
  background-color: #d4ebe0;
}
.connection-status.red .outer-circle {
  background-color: rgba(204, 0, 0, 0.2);
}

.connection-status .inner-circle {
  width: 15px;
  height: 15px;
  background-color: #4baf4f;
  border-radius: 50%;
}
.connection-status.green .inner-circle {
  background-color: #4baf4f;
}
.connection-status.red .inner-circle {
  background-color: #c00;
}

.connection-status span {
  color: #555555;
  font-size: 12px;
}

.dev-addr {
  margin-left: 20px;
  font-size: 14px !important;
}

.flex {
  display: flex;
}

.start-button {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 175px;
  height: 36px;
  margin: 10px 5px 10px 0px;
  background-color: #cc0000;
  color: #ffffff;
  cursor: pointer;
  font-family: Roboto;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 15px;
  border: #cc0000;
  border-radius: 18px;
}

.register-button {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 175px;
  height: 36px;
  margin: 10px 0px 10px 5px;
  color: #cc0000;
  background-color: #f9f9f9;
  cursor: pointer;
  border: none;
  font-family: Roboto;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 15px;
  border-radius: 18px;
}

.evm-setup {
  flex: 1;
  height: 0px;
  padding: 15px;
  display: flex;
  align-items: flex-end;
}

.evm-img {
  max-width: 600px;
  max-height: 80%;
  height: 100%;
}

.right-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
  min-width: 550px;
  height: 100%;
  padding: 3% 4%;
  overflow: auto;
  background-color: #ffffff;
  box-shadow: 10px 10px 40px 0 rgba(235, 235, 235, 0.9);
}

.right-container .top-container {
  width: 100%;
}

.links-container {
  width: 100%;
  margin-bottom: 30px;
}

.collaterals-container {
  width: 100%;
  margin: 4% 0%;
}

.quick-links-cont {
  display: flex;
  flex-wrap: wrap;
}

.link-btn {
  width: 44%;
  height: 67px;
  display: flex;
  margin: 5px 10px 5px 15px;
  padding: 0px 0px 0px 20px;
  background-color: #ffffff;
  border: none;
  box-shadow: 0 0 4px 0 rgba(216, 216, 216, 0.9);
  cursor: pointer;
  text-align: center;
  font-family: Roboto;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 14px;
  border-radius: 5px;
}

.link-title {
  color: #555555;
}

.link-btn:hover {
  border: #cc0000;
  box-shadow: 0 0 6px 0 #cc0000c5;
}

.external-links {
  display: flex;
  flex-wrap: wrap;
}
.flex-align {
  display: flex;
  align-items: center;
}

.mar-rt {
  margin-right: 20px;
  color: #cc0000;
}

.flex-c {
  display: flex;
  flex-direction: column;
}

.collateral-icon {
  height: 22px;
  margin: 10px 0px;
  color: #1c99c4;
}

.info-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin: 15px;
  border-radius: 4px;
  background-color: rgba(28, 153, 196, 0.18);
}

.info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  color: #1c99c4;
  font-family: Roboto;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 18px;
  padding: 10px;
}

.info-icon {
  width: 26px;
  height: 20px;
  margin: 0px 10px;
}

.userguide-popup {
  bottom: 113px;
  position: absolute;
  right: -66px;
}
.arrow {
  background-color: white;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 44px;
  left: 119px;
  transform: rotateZ(45deg);
  -webkit-transform: rotateZ(45deg);
  border-bottom: 0.1px solid #d4d1d1;
  border-right: 1px solid #d4d1d1;
}
.content {
  background-color: white;
  display: flex;
  padding: 15px 25px;
  box-shadow: 0 0 6px 0 rgba(111, 111, 111, 0.5);
  filter: grayscale(1);
}
.collateral-popup {
  display: flex;
  background-color: #40a9cd;
  color: white;
  align-items: center;
  padding: 3px 8px;
  border-radius: 2px;
  filter: grayscale(100%);
}
.space {
  width: 20px;
}
.expand-gpio-btn {
  width: 14px;
  height: 14px;
  margin-left: 5px;
  color: #a9e0f1;
}

.collateral {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 98px;
  border-radius: 2.8px;
  background-color: #ffffff;
  margin: 5px 5px 20px 20px;
  box-shadow: 0 0 4px 0 rgba(216, 216, 216, 0.9);
  cursor: pointer;
  width: 110px;
  filter: grayscale(100%);
}

.popup-active {
  filter: initial !important;
}
.popup-active:hover {
  cursor: pointer;
}
.active {
  filter: initial;
}
.active:hover {
  filter: initial;
  box-shadow: 0 0 6px 4px rgba(64, 169, 205, 0.5);
  cursor: pointer;
}

.collateral-label {
  color: #1c99c4;
  font-family: Roboto;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

::-webkit-scrollbar-track {
  border-radius: 0px;
  background-color: transparent;
}

::-webkit-scrollbar {
  width: 5px;
  height: 7px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #ccc;
}

.disabled-btn {
  pointer-events: none;
}
