/* room head container - start */

#room_overview {
    color: white;
    position: relative;
    display: none;
}

#room_overview #minimizer {
    width: 30px;
    height: 30px;
    position: absolute;
    z-index: 1;
    right: 0;
    background-position: 50%;
    background-size: 70%;
    background-repeat: no-repeat;
}

#minimizer.collapse {
    background-image:url('../img/arrow_up.png');
}
#minimizer.expand {
    background-image:url('../img/arrow_down.png');
}

#room_title {
    text-indent: 2%;
    background: black;
    height: 30px;
    position: absolute;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

#room_title h2 {
    width: 90%;
    font-size: 23px;
    text-transform: initial;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden; 
}

#room_head {
    height:177px;
    /* background-image:url('../img/default_room_bg.png'); */
    background-size:cover;
    background-position: 50%;
    /* transition: height 1.5s; */
}

#room_head.minimized {
    height: 51px;
}

.room_head_holder {
    width: 100%;
    height: 100%;
}

#room_head .room_head_holder > div {
    position: absolute;
}

.room_head_info {
    background-color: rgba(40,134,199,0.7);
    text-transform: initial;
    text-align: center;
    height: 45px;
    align-items: baseline;   
}

.room_head_info span {
    margin-top: 3px;
    display: inline-block;
    /* font-family: Roboto_light; */
    font-weight: 500;
}

#room_consumption {
    display: none;
    width: 141px;
    height: 38px;
    top: 40px;
    left: 1%;
    border-radius: 8px;
    font-size: 27px;
    justify-content: flex-end;
}

#room_consumption .room_head_value {
    margin: 5px 3px 0 auto;
}

.room_head_info .room_head_icon {
    float: left;
    width: 15px;
    height: 25px;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
}

#room_consumption .room_head_icon {
    background-image: url(../img/power.svg);
    width: 26px;
    height: 26px;
    margin-top: 6px;
}

#room_consumption .room_head_units {
    font-size: 17px;
    margin-right: 5px;
}
#room_lux_wrapper {
    width: 136px;
    height: 35px;
    top: 80px;
    left: 1%;
    border-radius: 4px;
    background-color: rgba(40,134,205,0.6);
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 27px;
    text-transform: initial;
    font-weight: bold;
    align-content: center;
}
#room_lux_icon {
    display: inline-block;
    width: 30px;
    height: 100%;
    margin-left: 1px;
    background-image: url(../img/lux_icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#room_lux > span {
    display: flex;
    height: 100%;
}

#room_lux_value {
    margin-left: 2px;
}

#room_lux_unit {
    font-size: 17px;
}

#room_icons {
    display: flex;
    background-image: url(../img/room_view/icon-background.png);
    background-size: auto;
    background-repeat: no-repeat;
    height: 35px;
    top: 142px;
    max-width: 300px;
}

.minimized #room_icons {
    display: none;
}

.passive {
    filter: brightness(0.6)
}
#room_icons > div {
    width: 40px;
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
}

#room_icons-light {
    display: none;
    background-image:url(../img/room_view/bulb.png);
}

#room_icons-motion {
    display: none;
    background-image:url(../img/room_view/movement.png);
}

#room_icons-door {
    display: none;
    background-image:url(../img/room_view/door.png);
}

#room_icons-fire {
    display: none;
    background: url(../img/fire_icon.png);
}
#room_temp_and_hum {
    display: none;
    width: 151px;
    max-height: 101px;
    top: 40px;
    right: 3px;
    border-radius: 8px;
    font-size: 40px;
    overflow: hidden;
}

#room_temp_and_hum .room_head_info {
    display: none;
}

#room_temp_and_hum .room_head_icon {
    width: 33px;
    height: 33px;
}

/* #room_temp_and_hum .room_head_value {
    margin-top: 0px;
} */
#room_temp_and_hum .room_head_value_dec {
    font-size: 80%;
    margin: 0 3px 0 2px;
}

#room_temp_wrapper .room_head_icon {
    background-image: url(../img/termometer.svg);
}
#room_hum_wrapper .room_head_icon {
    background-image: url(../img/humi.svg);
}
#room_temp_wrapper .room_head_units {
    font-size: 50%;
}
#room_hum_wrapper .room_head_units {
    font-size: 70%;
}

#room_term_control ul li#choose_sched_placeholder {
    display: none;
}

#room_term_control ul li#choose_sched_placeholder button {
    width: 90%;
    margin: 20px auto;
}
#room_term_control ul li.temp_sched_item {
    display: none;
    background-repeat: no-repeat;
    background-size: contain;
    color: #fff;
    cursor: default;
    height: 60px;
    align-items: center;
    padding: 10px 10px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.7) inset;
}

/* #room_termostat_control {
    position: absolute;
    right: 157px;
    max-height: 101px;
    top: 40px;
} */

#room_termostat_control {
    max-width: 45%;
    margin-right: auto;
    margin-left: 5px;
}

.termo_icon {
    fill: #fff;
    margin: 0 5px;
}
.termo_icon.inactive {
    fill: #555;
}

#room_termometer_control {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
}
#room_termometer_control .temp_val {
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

#room_termometer_control .temp_val span.current_temp_val {
    width: 40px;
    font-size: 27px;
    text-align: center;
}

/* #room_termometer_control .temp_val span.temp_units {
    font-family: Roboto_light;
} */

#room_termometer_control .room_term_nav {
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: background-image 0.3s;
    width: 40px;
    height: 20px;
}
#room_termometer_control #up_arrow {
    background-image:url(../img/room_view/arrow_flat_up.svg);
}
#room_termometer_control #down_arrow {
    background-image:url(../img/room_view/arrow_flat_down.svg);
}


#room_term_control ul li.temp_sched_item .sched_name {
    font-size: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#room_term_control ul li.temp_sched_item .sched_name .sched_title {
    text-overflow: ellipsis;
    width: 100%;
    white-space: nowrap;
    margin-bottom: 5px;
    overflow: hidden;
    text-transform: initial;
    font-size: 17px;
}

#room_term_control ul li.temp_sched_item .sched_name span {
    width: 100%;
    display: block;
    /* color: #d2d2d2; */
    float: left;
    text-transform: initial;
}

/* room head container - end */

/* group container - start */

#groups ul li div.group_control {
    position: absolute;
    width: 33.33%;
    height: 100%;
    right: 0;
    top: 0%;
    bottom: 0%;
    background-color: #252D2E;
    z-index: 2;
}

#groups ul li div.group_control div div.icon {
    background-image: url(../img/redpower_off.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50%;
    width: 100%;
    height: 62px;
}