/* Load defaults from `<userDir>/node_modules/node-red-contrib-uibuilder/front-end/uib-brand.min.css`
 * This version auto-adjusts for light/dark browser settings but might not be as complete.
 */
/*@import url("../uibuilder/uib-brand.min.css");
*/
/* OR, load the defaults from the older `<userDir>/node_modules/node-red-contrib-uibuilder/front-end/uib-styles.css` */
/* @import url("../uibuilder/uib-styles.css"); */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url(./roboto.woff2) format('woff2');
}

@keyframes showboxkf {
    0% { top: -100px; }
    20% { top: 0px; }
    80% { top: 0px; }
    100% { top: -100px; }
}


html, body { 
  width: 100%;
  min-height: 100%;
  background-color: white; 
}

body {
  margin:0px;
  padding: 0px;
}

.showboxani {
  animation: showboxkf 10s forwards;
}

.red {
  background-color: red;
}

.yellow {
  background-color: yellow;
}

.green {
  background-color: green;
}


.infobox {
  position: absolute;
  z-index: 5000;
  top: -100px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 20px;
}

.micon {
  width: 32px;
}

.page {
  display: flex;
  flex-direction: row;
  width:100%;
  padding: 0px;
  margin: 0px;
}

.menu {
  display: flex;
  flex-direction: column; 
  align-content: space-between; 
  background: none;
  border-bottom-right-radius: 150px;
  color: black;
  border-width: 0px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-style: solid;
  padding-bottom: 50px;
  height: 300px;
}

.main {
  display: flex;
  flex-direction: column;  
  justify-content: center;
  width: 100%;
}

.general {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;

}

.link {
  margin-top: 10px;
  text-align: center;
  color: rgb(231.09, 23.906, 23.906);
}

.login {
  display: flex;
  justify-content: center;
  flex-direction: column;
  border: 2px solid rgb(111.56, 111.56, 111.56);
  background: rgb(223.13, 223.13, 223.13);
  font-family: 'Roboto', sans-serif;
  color: rgb(0, 0, 0);
  width: 250px;
  font-size: 1.5em;
  border-radius: 8px;
  opacity: .5;
  margin: auto;
  transition: .3s;
  padding: 10px;
}  

.submit {
  height: 35px;
}

.scan {
  position: absolute;
  top:5%;
  left: 5%;
  width:90%;
  z-index: 100;
  filter: blur 20px;
}

.qrvid {
  width: 100%;
  border-radius: 20px;
}

.fadeout {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 2s, opacity 2s linear;
}

.devlist {
  display: flex;
  align-items: center;
  width: 100%;
  flex-direction: column;
}

.devtop {
  display: flex;
  font-family: 'Roboto', sans-serif;
  width: 60%;
  border-style: solid;
  border-radius: 20px;
  border-width: 2px;
  justify-content: center;
  align-items: center;
  height: 25px;
  margin: 20px;
}

.devbottom {
  display: flex;
  font-family: 'Roboto', sans-serif;
  width: 60%;
  align-self: center;
  border-style: solid;
  border-radius: 20px;
  border-width: 2px;
  justify-content: center;
  align-items: center;
  height: 25px;
  margin: 20px;
}

.devicehdr {
  display: flex;
  font-family: 'Roboto', sans-serif;
  border-style: solid;
  border-width: 2px;
  align-items: center;
  justify-content: center;
  width:250px;
  height: 30px;
  border-bottom-style: none;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.device {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 80%;
  font-family: 'Roboto', sans-serif;
  border-style: solid;
  padding: 8px;
  border-width: 2px;
  border-radius: 20px;
}

.unit {
  display: flex;
  flex-direction: row;
  border-bottom-style: solid;
  border-bottom-width: 0.5px;
}

.unitinfo {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
}

.elementhdr {
  width: 100%;
}

.elements {
  padding-right: 15px;
}

.devimg {
  margin-right: 15px;
  width: 64px;
}

.hide {
  display: none;
}
