@import url('https://fonts.googleapis.com/css?family=Ubuntu');

body {
  background-color: #ff9a68;
  font-family: 'Ubuntu', sans-serif;

}

#content {
  margin: 12px;  
}

#screen {
    border-radius: 15px;
    border: 12px solid black;
    width: 350px;
    height: 500px;
    background-color: white;
    position: absolute;
    top:0;
    bottom: 0;
    right: 15%;

    margin-top: auto;
    margin-bottom: auto;
}

#top {
  min-height: 15px;
  border-bottom: 4px solid #b3bac6;
}

#settings_img {
  margin-top: 2px;
  margin-left: 5px;
}

#text-right {
  float: right;
  margin-top: 2px;
  margin-right: 2px;
}

#bottom {
  min-height: 80px;
  width: 100%;
  border-top: 5px solid #b3bac6;
  position: absolute;
  bottom: 0;
}

#weather {
  /*border-right: 5px solid #b3bac6;*/
  height: 80px;
  width: 287px;
}

#border-bottom {
  min-width: 3px;
  min-height: 80px;
}

#bottom-table td {
   margin:0;
}

#weather-table td {
  margin:0;
}

#bottom-table {
  max-height: 80px;  
  border-collapse: collapse;
}

#weather-table {
  max-height: 80px;  
  border-collapse: collapse;
}

#devices_big {
  margin: 5px;
}

/*bodypage {
  width: 10px;
}*/

#screen_filter {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background-color: rgba(0,0,0,0.7) ;
}

.device {
    width: 300px;
    height: 160px;
    background-color: black;
    border-radius: 10px;
}

.device :not(.device-bottom) {
    margin-bottom: 20px;
}

.device-bottom {
    margin-bottom: 0px;
}

#devices_table {
    position: absolute;
    top:0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    left: 15%;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

#screen_popup {
  position: absolute;
  top: 150px;
  left: 40px;
  z-index: 99;
  background-color: white;
  width: 250px;
  height: 200px;
  border-radius: 12px;
  padding: 10px;
}