@import url(../homey.ink.color.css);

/*
 * Theme by: Emile Nijssen
 */

#container {
  width: 100%;
  height: 100%;
  padding: 2vw;
}

#header {
  height: 20vh;
  margin-bottom: 2vh;
}
  
#weather {
  position: absolute;
  left: 0;
  top: 0;
  width: 20vw;
  height: 20vh;
}
    #weather-temperature {
      font-size: 10vh;
      line-height: 10vh;
    }
    #weather-temperature:after {
      content: "°";
    }
    #weather-state {
      font-size: 5vh;
    }

#text {
  position: absolute;
  left: 20vw;
  right: 20vw;
  height: 20vh;
}
  #text-large {
    font-weight: 500;
    font-size: 6vh;
    margin-top: 1vh;
  }
  #text-large:after {
    font-weight: 300;
    width: 10vw;
    margin: 2vh auto;
  }
  #text-small {
    font-size: 3vh;
  }

#logo {
  position: absolute;
  top: 0;
  right: 0;
  width: 10vh;
  height: 10vh;
}
  
.favorites {
  position: static;
  left: 0;
  right: 0;
}
  .favorites-inner {
    white-space: normal;
    -webkit-mask-image: none;    
  }
  .favorites h2 {
    display: block;
    width: auto;
    font-size: 2vh;
    margin-bottom: 1vh;
    text-transform: uppercase;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    
    opacity: 0.3;
  }
  .favorites h2:after {
    display: none;
  }
    .favorites h2 span {
      flex-shrink: 0;
      margin-right: 1vw;
    }
    .favorites h2:after {
      content: "";
      display: block;
      width: 100%;
      vertical-align: middle;
      height: 1px;
      background: white;
    }

#flows {
  margin-bottom: 4vh;
}
  .flow {
    height: 7vh;
    margin-bottom: 2vh;
    border-radius: 7vh;
    cursor: pointer;
  }
  .flow.running:before {
    font-size: 3.2vh;    
    line-height: 7vh;
  }
    .flow .play {
      width: 7vh;
      height: 7vh;
    }
    .flow .name {
      font-weight: 300;
      height: 7vh;
      line-height: 7vh;
      font-size: 2.8vh;
      padding: 0 3vh;
      padding-right: 4vh;
      max-width: 20vw;
    }

#devices {
  position: static;
}
  .device {
    width: 20vh;
    height: 20vh;
    padding: 2vh;
    margin-right: 3vh;
    margin-bottom: 3vh;
    border-radius: 3vh;
    cursor: pointer;
  }
    .device .icon {
      position: absolute;
      top: 2vh;
      left: 2vh;
      width: 8vh;
      height: 8vh;
    }
    .device .name {
      position: absolute;
      bottom: 2vh;
      left: 2vh;
      right: 2vh;
      font-size: 2.8vh;
      font-weight: 300;
      line-height: 3.5vh;
      width: auto;
      height: auto;
      max-height: 7vh;
    }