#container {
    margin: auto;
    position: relative;
    height: 100%;
}

body {
    margin: auto;
    font-family: "Arial";
    height: 100%;
}

#logout {
    position: absolute;
    top: 0px;
    right: 11px;
    padding: 5px 5px 5px 20px;
    height: 32px;
    user-select: none;
    display: block;
    margin-top: 10px;
}

#legal_info_btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 11px;
    padding: 5px 5px 5px 20px;
    height: 32px;
}

#device_status {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.set_item {
    padding: 15px;
    padding-left: 15px;
    padding-left: 10px;
    border-bottom: 1px solid;
    border-top: 1px solid;
}

.cabin_toggle {
    height: 45px;
    margin: auto;
    margin-right: 15px;
    padding-left: 20px;
}

.remove_pending_dev {
    height: 45px;
    margin: auto;
    margin-right: 15px;
    display: none;
}

.dev_version {
    font-size: 14px;
    color: #eef4fa;
    font-weight: normal;
}

.dev_header {
    font-size: 16px;
    font-weight: normal;
    color: #eef4fa;
}

.ac_unit_btn {
    border: 1px solid white;
    border-top-color: white;
    border-top-style: solid;
    border-top-width: 1px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    text-align: center;
    border-top: 0;
    line-height: 25px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 10px;
}

.ac_unit_btn.selected {
    background-color: 00315e;
}

.top_bar {
    display: flex;
    padding: 10px;
    height: 45px;
    background-color: #00529e;
    border-top: 1px solid #014482;
    border-bottom: 1px solid #014482;
}

.dev_container {
    position: relative;
    border-bottom: 1px solid #c5d1e2;
    background-color: #c5d1e2;
}

.space_filler {
    width: 100%;
}

#controls {
    text-align: center;
    background-color: white;
    border-right: 1px solid #c5d1e2;
    border-left: 1px solid #c5d1e2;
    margin: auto;
    display: flex;
    position: relative;
    overflow-y: hidden;
}

#controls.empty {
    height: 180px;
}

.control_holder {
    display: flex;
    flex-direction: row;
    margin: auto;
    width: 100%;
}
.disabled {
    opacity: 0.5;
}

#webasto_logo {
    max-height: 40px;
    min-height: 40px;
    margin: 10px auto;
    display: block;
    left: 0;
    right: 0;
    background-image: url("webasto.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 200px;
}

.list_type::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 65px;
    z-index: -1;
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.49), rgba(0, 0, 0, 0));
    transition: opacity 0.06s linear;
    opacity: 0;
}

.list_type.selected::before {
    opacity: 1;
}

div.control {
    width: 49%;
    max-width: 400px;
    height: 300px;
    margin: auto;
    display: flex;
}

div.status_view {
    height: 100%;
    width:70%;
    float:left;
    background-image: url("control_circle.png");
    background-size:100%;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: table;
    margin: auto;
}

div.status_view_setpoint {
    height: 100%;
    width:70%;
    float:left;
    background-image: url("control_setpoint.png");
    background-size:100%;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: table;
    margin: auto;
}

.control_text {
    display: table-cell;
    vertical-align: middle;
    font-size:60px;
    font-family: "Arial";
    font-weight: bold;
    color: #294076;
}


div.control_btns {
    width: 30%;
    height: 100%;
    float: left;
    user-select: none;
}

div.plus_btn {
    width: 100%;
    height:50%;
    background-image: url("btn_plus.png");
    background-size:100%;
    background-position: bottom;
    background-repeat: no-repeat;
    text-align: center;
    display: table;
}

div.plus_btn.pressed {
    background-image: url("btn_plus_pressed.png");
}

div.minus_btn {
    width: 100%;
    height: 50%;
    background-image: url("btn_minus.png");
    background-size:100%;
    background-position: top;
    background-repeat: no-repeat;
    text-align: center;
    display: table;
}

div.minus_btn.pressed {
    background-image: url("btn_minus_pressed.png");
}

#preload {
    background: url("fan_0.png"), url("fan_1.png"), url("fan_2.png"),
                url("fan_3.png"), url("fan_4.png"), url("fan_5.png"),
                url("bcc_notify_icons.png"), url("btn_selected.png"),
                url("pencil_25.png"), url("bcc_network_wifi.png"),
                url("bcc_network_mobile.png"), url("bcc_network_ethernet.png"),
                url("bcc_network_wifi.png"), url("btn_minus_white.png"),
                url("btn_minus.png"), url("btn_plus.png"), url("btn_plus_white.png"),
                url("control_circle.png"), url("switch_on.png"), url("switch_off.png"),
                url("bcc_settings.png"), url("ac_menu.png");
}

#fan_value {
    height: 100%;
    width:100%;
    background-image: url("fan_0.png");
    background-size:100%;
    background-position: center;
    background-repeat: no-repeat;
}

#fan_value.fan_0 {
    background-image: url("fan_0.png");
}

#fan_value.fan_1 {
    background-image: url("fan_1.png");
}

#fan_value.fan_2 {
    background-image: url("fan_2.png");
}

#fan_value.fan_3 {
    background-image: url("fan_3.png");
}

#fan_value.fan_4 {
    background-image: url("fan_4.png");
}

#fan_value.fan_5 {
    background-image: url("fan_5.png");
}

#fan_value.fan_6 {
    background-image: url("fan_6.png");
}

.control_header {
    margin: auto;
    margin-left: 10px;
    border-left: 1px solid white;
    padding-left: 15px;
    margin: 5;
    display: flex;
    flex-direction: column;
    padding-left: 15px;
    border-left: 1px solid #757d86;
}

.cabin_add_panel{
    display: none;
}

.pending_requests_popup {
    text-align: center;
    color: white;
    background-color: #757d86;
    height: 150px;
    display: flex;
    margin: auto;
    bottom: 0;
    width: 100%;
    position: absolute;
}

.dev_connection {
    height: 40px;
    width: 35px;
    margin: auto;
    margin-right: 5px;
    margin-left: 0px;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.top_panel {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #757d86;
    border-top: 1px solid #757d86;
    padding-top: 5px;
    padding-bottom: 5px;
    color: white;
    position: fixed;
    background-color: #283a4c;
    width: 100%;
}

.back_button {
    padding: 10px;
    padding-right: 15px;
    padding-left: 15px;
    height: 50px;
    border-radius: 100px;
}

.control_name {
    margin: auto;
    margin-left: 0px;
    vertical-align: middle;
    width: auto;
    font-size: 16px;
    color: #c5d1e2;
    -webkit-user-select: none;
}

.control_title {
    margin: auto;
    margin-left: 0px;
    vertical-align: middle;
    width: auto;
    font-size: 18px;
    margin-bottom: 0px;
    -webkit-user-select: none;
}

.dev_settings {
    height: 40px;
    margin: auto;
    margin-right: 5px;
    margin-left: 5px;
    border-left: 1px solid #fff9;
    padding-left: 10px;
}

.dev_texts {
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-left: 5px;
}

.device_content {
    /*height: 65px;*/
    font-family: "Arial";
    font-weight: bold;
    color: white;
    /*display: inline;*/
    flex-direction: column;
    position: relative;
}

#ac_unit_header {
    display: flex;
    font-family: "Arial";
    font-weight: bold;
    color: #294076;
    background-color: #eef4fa;
    border: 1px solid #c5d1e2;
    flex-direction: row;
    height: 90px;
}

#current_temp {
    position: relative;
    color: #00315e;
    font-size: 22px;
    font-family: "Arial";
    font-weight: bold;
}

#current_temp.is_group {
    font-size: 18px;
}

#on_off_switch {
    background-image: url("switch_off.png");
    width: 150px;
    max-height: 100px;
    margin: 5px;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

#on_off_switch.enabled {
    background-image: url("switch_on.png");
}

#footer {
    height: 5%;
    width: 100%;
    background-color: #294076;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    min-height: 100px;
    border-collapse: collapse;
}

#device_name {
    display: inline-block;
    color: #00315e;
    font-size: 22px;
    font-family: "Arial";
    font-weight: bold;
    word-break: break-all;
}

.add_dev_btn {
    text-align: center;
    color: white;
    min-height: 65px;
    display: none;
    margin: auto;
    margin-top: auto;
    bottom: 0;
    margin-bottom: 10px;
    width: 80%;
    min-height: 80px;
    background-color:#3d79ae;
}

.add_text {
    margin: auto;
    color: white;
    font-family: "Arial";
    font-weight: bold;
    font-size: 25px;
    padding: 10px;
}

#temp_icon {
    max-height:100%;
    margin-right:10px;
}

#info_btn {
    width: 50px;
    height: 50px;
    background-image: url("info.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 20px;
}

#info_btn_content {
    display: none;
    width: 90%;
    margin-left: 5%;
    height: 100px;
    background-color: #da5252;
    z-index: 1;
    position: absolute;
    top: 100px;
    background-color: #4e4e4e;
    color: white;
    border-radius: 10px;
}

#info_div {
    font-size: 35px;
    text-align: center;
    padding-top: 25px;
}

#connection_info {
    width: 100px;
    height: 100px;
    background-image: url("mobile.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -20px;
    left: 0;
}

#dropdown {
    position: relative;
    display: inline-block;
    width: 40%;
}

/* Control panel */
#settingButton {
    position: absolute;
    right: 0;
    top: 0;
    height: 80px;
    width: 80px;
    border-top-right-radius: inherit;
}

.settings_toggle {
    background-image: url("ac_menu.png");
    margin: auto;
    height: 50px;
    width: 50px;
    max-width: 50px;
    min-width: 50px;
    margin-left: 10px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.settings_toggle.error {
    background-image: url("ac_menu_notify.png");
}

.bcw_settings {
    display: block;
    background-color: #283a4c;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 12;
    display: none;
}

.control_panel {
    position: fixed;
    background-color: #283a4c;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    z-index: 11;
    display: none;
    overflow-x: hidden;
    user-select: none;
    color: white;
    font-weight: normal;
    top: 0;
    background-image: linear-gradient(to right, #fdfdfd00, #0000001c);
    -webkit-user-select: none;
}

.data_values {
    overflow-y: auto;
    margin-top: 80px;
}

.cp_controls {
    display: flex;
    margin: auto;
    margin-right: 20px;
    width: 30px;
    height: 30px;
}

.device_control_panel {
    position: absolute;
    background-color: #283a4c;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    z-index: 12;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    user-select: none;
    color: white;
    font-weight: normal;
}

.settings_full_screen {
    border: solid red;
    z-index: 10;
}

.controls_title, .settings_title, .info_title {
    font-size: 20px;
    margin: auto;
    margin-left: 15px;
    margin-top: 10px;
    border: 0;
}

.cp_item_container {
    height: 50px;
    display: flex;
    align-items: center;
    margin: auto;
    flex-direction: row;
    flex-direction: column;
    border-bottom: 1px solid #757d86;
    padding-top: 10px;
    padding-bottom: 10px;
    vertical-align: middle;
    margin-left: 10px;
    margin-right: 10px;
}

.cp_item_title {
    margin: auto;
    margin-left: 15px;
    font-size: 18px;
    margin-left: 15px;
}

.cp_item_current {
    margin-right: 5px;
    margin: auto;
    margin-left: 15px;
    font-size: 12px;
    font-weight: normal;
    color: #c5d1e2;
}

.control_options_container {
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 14;
    top: 0px;
    border-radius: inherit;
}

.save_button {
    display: flex;
    width: 150px;
    margin-left: auto;
    border-right: 1px solid #757d86;
    border-left: 1px solid #757d86;
}

.delete_button {
    display: flex;
    width: 150px;
}

.save_button_text {
    margin: auto;
    text-align: center;
}

.delete_button_text {
    margin: auto;
    text-align: center;
}

.notify_area {
    display: flex;
    border-bottom: 1px solid #757d86;
}

.cabin_name_row {
    display: flex;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 15px;
}

.cabin_name {
    line-height: 2;
    margin: auto;
    margin-left: 15px;
}

.unit_addr {
    font-weight: normal;
    font-size: 14px;
}

.unit_name {
    font-weight: normal;
}

.control_options_select {
    width: 70%;
    background-color: black;
    max-height: 205px;
    overflow-x: hidden;
    overflow-y: auto;
    height: 80%;
    margin: auto;
}

.cp_select_item {
    height: 30px;
    text-align: center;
    padding-top: 15px;
    color: white;
}

.cp_select_item_selected {
    color: white;
    background-color: #294076;
}

.settings_sub_title {
    margin-left: 10%;
    font-style: italic;
    margin-top: 15px;
}

.bcw_text {
    font-family: "Arial";
    font-weight: bold;
    color: #294076;
}

.bcw_button {
    display: block;
    text-align: center;
    border: 5px solid;
    color: #294076;
    font-size: 20px;
    font-family: "Arial";
    font-weight: bold;
    padding: 20px;
    border-radius: 20px;
    margin: auto;
}

.available_devices {
    width: 100%;
    height: 150px;
    background-color: #b3c2e6;
    overflow-y: auto;
}

.d_unit_name {
    margin: auto;
    margin-left: 15px;
}

.available_ac_unit_text {
    color: white;
    border-bottom: 1px solid #757d86;
    padding-left: 15px;
    padding-bottom: 5px;
}

.add_rem_btn {
    background-image: url("btn_plus_white.png");
    width: 30px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}

.add_rem_btn.selected {
    background-image: url("btn_minus_white.png");
}

.dev_id {
    height: 65px;
    color: white;
    border-bottom: 1px solid #757d86;
    display: flex;
    margin-left: 10px;
}
.dev_id::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 65px;
    z-index: -1;
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.49), rgba(117, 125, 134, 0));
    transition: opacity 0.06s linear;
    opacity: 0;
}

.dev_id.selected::before {
    opacity: 1;
}

#first_line {
    display: table;
    margin: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #294076;
    width: 100%;
    height: 80px;
}

.remove_groups_btn {
    width: 25px;
    display: none;
    float: right;
    padding: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.confirm_group_btn {
    width: 150px;
    padding: 20px;
    margin-bottom: 5px
}

.add_devices_btn {
    padding: 10px;
    text-align: center;
    font-size: 20px;
    bottom: 0;
    left: 0;
    right: 0;
}

.confirm_device_btn {
    margin-top: 15px;
    margin-bottom: 15px;
    max-width: 150px;
}

.cabin_input {
    display: table-cell;
    margin: 5px;
}

.device_group {
    margin: auto;
    position: relative;
}

.group_content {
    padding: 10px 0 10px 0;
    background-color: #dee8ff;
    border: 5px solid #aab3c8;
    border-top: 0px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.group_controls {
    text-align: center;
}

.device_label {
    color: white;
    text-align: center;
    background-color: #294076;
    margin: 2px auto 2px auto;
    padding: 10px;
    width: 90%;
    border-radius: 10px;
}

.ac_unit_name {
    margin-left: auto;
    margin: 5px;
    margin-left: 15px;
    margin-right: 0px;
    color: white;
}

.group_input {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    height: 50px;
}

#group_title {
    font-size: 25px;
    padding: 15px;
    text-align: center;
}

.add_device_popup {
    display: none;
    background-color: white;
    max-width: 300px;
    max-height: 300px;
    margin: auto;
    position: absolute;
    border: 5px solid #294076;
    border-radius: 20px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 15;
}

#device_select_title {
    text-align: center;
    font-size: 25px;
    padding: 15px;
}

.group_control_label {
    text-align: center;
    font-size: 25px;
    padding: 10px;
}

.group_control_state {
    text-align: center;
    padding-bottom: 10px;
    font-size: 25px;
}

#device_dropdown {
    background-color: #6f92e4;
    border-color: #6f92e4;
    display: none;
    position: absolute;
    top: 100%;
    z-index: 20;
}

.no_device_header {
    text-align: center;
    font-size: 35px;
}

.dropdown_item {
    background-color: #dee8ff;
    padding: 15px;
    margin: 2px;
    border-radius: 15px;
}

.popup {
    z-index: 10;
    position: fixed;
    top: 20%;
    left: 0;
    right: 0;
    background-color: #283a4c;
    background-image: linear-gradient(to bottom, #0000007d, #0000);
    margin: auto;
    min-height: 250px;
    max-height: 350px;
    width: 300px;
    display: flex;
    flex-direction: column;
    color: #white;
    border: 1px solid #757d86;
    border-bottom: 0;
    border-top: 0;
}

.popup_header {
    border-bottom: 1px solid #757d86;
    display: flex;
    margin: auto;
    margin-left: 5px;
    margin-right: 5px;
    flex-direction: column;
}

.popup_middle {
    margin: 5px;
    margin-top: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: #757d86;
}

.popup_bottom {
    display: flex;
    border-top: 1px solid #757d86;
    margin: 5px;
}

.popup_title {
    margin: auto;
    margin-bottom: 5px;
    margin-top: 10px;
    margin-left: 5px;
    font-weight: bold;
    color: white;
}

.popup_button {
    flex: auto;
    text-align: center;
    margin-right: 0;
    margin-left: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 50%;
    color: white;
}

.icon_area {
    height: 50px;
    margin: auto;
    padding-top: 5px;
}

.icon_area.red {
    background-image: linear-gradient(to left, rgba(51, 51, 51, 0), rgba(255, 0, 0, 0.18), rgba(51, 51, 51, 0));
}

.icon_area.yellow {
    background-image: linear-gradient(to left, rgba(51, 51, 51, 0), rgba(255, 255, 0, 0.18), rgba(51, 51, 51, 0));
}

.icon_area.green {
    background-image: linear-gradient(to left, rgba(51, 51, 51, 0), rgba(0, 255, 82, 0.18), rgba(51, 51, 51, 0));
}

.icon {
    height: 35px;
    width: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: auto;
}

.text_area {
    margin: auto;
    margin-left: 5px;
    margin-right: 5px;
    color: white;
}

.name_id {
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    color: white;
}

.divider {
    border-left: 1px solid #294f9d;
    margin-top: 20px;
    margin-bottom: 20px;
}

.error_icon {
    background-image: url("bcc_notify_icons.png");
    background-position: -514px 0px;
    height: 250px;
    width: 256px;
    background-repeat: no-repeat;
    display: flex;
    margin: auto;
    transform: scale(0.2, 0.2);
    transform-origin: 50% 0%;
}

.warning_icon {
    background: url("bcc_notify_icons.png");
    background-position: -250px 0px;
    height: 250px;
    width: 256px;
    background-repeat: no-repeat;
    margin-bottom: 5px;
    transform: scale(0.2, 0.2);
    transform-origin: 50% 0%;
    margin: auto;
}

.info_icon {
    background: url("bcc_notify_icons.png");
    background-position: 15px 0px;
    height: 250px;
    width: 256px;
    background-repeat: no-repeat;
    margin-bottom: 5px;
    transform: scale(0.2, 0.2);
    transform-origin: 50% 0%;
    margin: auto;
}

.loading_icon {
    background: url("loading_icons.png");
    background-position: -250px 0px;
    height: 250px;
    width: 256px;
    background-repeat: no-repeat;
    margin-bottom: 5px;
    transform: scale(0.2, 0.2);
    transform-origin: 50% 0%;
    margin: auto;
}

.divider_timer {
    border-left: 1px solid #294f9d;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 0;
}

.popup_bg {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.50);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 12;
}

.timer_setbox {
    border-left: 1px solid #757d86;
    border-right: 1px solid #757d86;
}

.timer_select {
    margin: auto;
    display: flex;
}

.timer_state {
    display: flex;
    height: 60px;
    margin: auto;
}

.state_hint {
    display: flex;
    margin: auto;
    margin-bottom: 0px;
}

.timer_set {
    height: 70px;
    width: 70px;
    text-align: center;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 25px;
    -moz-appearance: textfield;
}

.timer_btn {
    height: 60px;
    width: 60px;
    margin: auto;
    margin-right: 15px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("bcc_timer.png");
}

.timer_btn.active {
    background-image: url("timer_on.png");
}

.collapse_btn {
    width: 45px;
    height: 45px;
    margin: auto;
    margin-right: 8px;
    margin-left: 8px;
    user-select: none;
    -webkit-user-select: none;
    transform: rotate(180deg);
    background-image: url("collapse_arrow.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    max-width: 28px;
}

.list_item {
    padding-left: 10px;
    display: flex;
    flex-direction: row;
    -webkit-user-select: none;
}

.list_title {
    font-size: 18px;
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 5px;
}

.cp_title {
    font-size: 18px;
    margin-top: auto;
    margin-bottom: auto;
}

.cp_subtitle {
    font-size: 14px;
    color: #c5d1e2;
}

.cp_titles {
    display: flex;
    flex-direction: column;
}

.cp_main_title {
    border-top: 1px solid #757d86;
    margin-left: 0;
    padding-left: 15px;
    padding-top: 5px;
    margin-top: 0;
}

.inner {
    margin-left: 15px;
    padding-left: 10px;
}

.list_type {
    border-bottom: 1px solid #757d86;
}

.last_item {
    margin-left: 5px;
    padding-left: 20px;
}

.text_input_style {
    background-color: transparent;
    border: none;
    border-top: 1px solid #757d86;
    border-bottom: 1px solid #757d86;
    color: white;
    line-height: 1;
    margin: auto;
    width: 200px;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    padding: 10px;
    font-size: 16px;
    height: 65px;
    text-align: center;
}

.bcw_id_input {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 15px;
    display: flex;
    margin-left: 10px;
    padding-left: 10px;
    flex: auto;
    margin-right: 10px;
}

.bcc_add_panel {
    border-bottom: 1px solid #757d86;
    padding-top: 5px;
    padding-bottom: 5px;
}

.no_units_control {
    color: #00315e;
    text-align: center;
    height: 150px;
    font-size: 35px;
    display: none;
    border: 1px solid #c5d1e2;
}

.no_units_text {
    margin: auto;
}

.dev_name {
    font-size: 25px;
    word-break: break-all;
}

.disconnect_message {
    color: #00315e;
    margin: auto;
    font-size: 25px;
}

.no_units_message {
    color: #00315e;
    margin: auto;
    font-size: 25px;
}

.loading_holder{
    display: none;
    display: flex;
    flex-direction: column;
    height: 50%;
    margin-top: 50px;
}

.load_text {
    text-align: center;
    color: #00315e;
    margin: auto;
    margin-bottom: 0;
    font-size: 30px;
    color:
}

.logout_hold {
    display: flex;
    flex-direction: row;
    min-height: 70px;
    width: 100%;
    border-bottom: 1px solid #00315e26;
}

.loading_label {
    color: #00315e;
    background-image: url("loading_icons.png");
    background-repeat: no-repeat;
    background-position: 0px 0px;
    margin: auto;
    margin-top: 20px;
    font-size: 32px;
    height: 202px;
    width: 202px;
    animation: load_rotate 2s infinite linear;
}

@keyframes load_rotate {
    from {
        transform: rotate(0deg) scale(0.5, 0.5);
    }
    to {
        transform: rotate(359deg) scale(0.5, 0.5);
    }
}

@keyframes load_rotate_small {
    from {
        transform: rotate(0deg) scale(0.5, 0.5);
    }
    to {
        transform: rotate(359deg) scale(0.5, 0.5);
    }
}

.subscription_label {
    margin: auto;
}

.subscription_head {
    margin: auto;
    background-color: #283a4c;
    border-left: 1px solid #757d86;
    border-right: 1px solid #757d86;
    padding: 5px;
    display: flex;
    flex-direction: column;
    height: 180px;
}

.subscription_block {
    background-color: rgba(0, 0, 0, 0.80);
    width: 100%;
    position: absolute;
    flex-direction: column;
    display: none;
    top: 67px;
    bottom: 0px;
    z-index: 10;
}

.subscription_btn {
    display: flex;
    width: 300px;
    background-color: #283a4c;
    border-top: 1px solid #757d86;
    padding-top: 15px;
    padding-bottom: 15px;
}

.subscription_text {
    margin: auto;
}

.input_field {
    width: 70px;
    font-size: 20px;
    background: none;
    color: white;
    border: 0;
    line-height: 1;
    -webkit-align-items: center;
    -moz-appearance: textfield;
    text-align: center;
    border-radius: 0;
    outline: none;
}

.number_input {
    margin: auto;
    display: flex;
    width: 70px;
}

.input_holder {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.next_value {
    height: 16px;
    margin: auto;
}

.prev_value {
    height: 16px;
    margin: auto;
}

.label_text {
    margin: auto;
    color: white;
}

.label_holder {
    display:flex;
    flex-direction: column;
    margin: auto;
    margin-left: 0;
}

.number_input.selected {
    background: linear-gradient(rgba(0,0,0,0), rgba(4, 4, 4, 0.48), rgba(0,0,0,0));
}

.vertical_line {
    border-right: 1px solid #757d86;
    margin: 5px 0px 5px auto;
}

.rm_btn_holder {
    border-radius: 100px;
    background-color: rgb(52, 76, 99);
    margin-left: 20px;
    margin-right: 20px;
}

.version_holder {
    display: flex;
    margin-top: 0;
}

.version_text {
    margin: 3px 3px 3px auto;
    max-width: 700px;
    text-align: right;
    color: #757d86;
}

.version_footer {
    margin: 3px 5px 3px 0px;
    max-width: 700px;
    text-align: right;
    color: #757d86;
}

.popup_number_title {
    color: white;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 0;
}

.popup_number_input {
    width: 170px;
    height: 90px;
    border-left: 1px solid #757d86;
    border-right: 1px solid #757d86;
}

.popup_timer_hour {
    height: 100px;
    flex-direction: column;
    border-right: 1px solid #757d86;
}

.popup_timer_min {
    height: 100px;
    flex-direction: column;
}

.popup_timer_second {
    height: 100px;
    flex-direction: column;
    border-left: 1px solid #757d86;
}

.dev_head {
    display: flex;
    width: 100%;
}

.dev_expand {
    background-image: url("arrow_help_down.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    width: 40px;
    margin: auto;
    margin-right: 10px;
    width: 30px;
    height: 30px;
}

.dev_loading {
    color: #00315e;
    background: url("loading_icons.png") 202px 202px;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    margin: auto;
    font-size: 32px;
    height: 202px;
    width: 202px;
    transform: scale(0.5, 0.5);
    animation: load_rotate1 2s infinite linear;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    bottom: 0px;
}

.device_add_bg {
    position: fixed;
    background-color: #283a4c;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    z-index: 11;
    display: none;
    overflow-x: hidden;
    user-select: none;
    color: white;
    font-weight: normal;
    top: 0;
    -webkit-user-select: none;

    background: white;

    display: flex;
    flex-direction: column;
}

.bcwid_title {
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    background-image: url(webasto.png);
    background-size: contain;
    width: 80%;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 0;
}

.bcwid_btn_text {
    color: white;
    margin: auto;
    font-size: 25px;
    font-weight: bold;
}

.bcwid_input {
    width: 80%;
    margin: auto;
    margin-bottom: 0px;
    border: none;
    background-color: #eef4fa;
    height: 80px;
    border-bottom: 1px solid #c5d1e2;
    border-top: 1px solid #c5d1e2;
    margin-top: 0px;
    text-align: center;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    -moz-appearance:textfield;
    font-size: 16px;
    box-shadow: none;
}

.bcwid_hint {
    margin: auto;
    margin-bottom: auto;
    margin-bottom: 10px;
    font-size: 23px;
    color: #00529e;
    margin-top: auto;
}

.bcwid_bottom {
    display: flex;
    margin-top: auto;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.bcwid_button {
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
    text-align: center;
    height: 80px;
    display: flex;
    background-color: grey;
    margin-bottom: 20px;
}

.top_back_button {
    padding: 10px;
    padding-left: 15px;
    margin:auto;
    margin-right: 0px;
    margin-left: 0px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.bcw_id_back_btn {
    background: url("collapse_arrow.png");
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(90deg);
    background-position: center;
    height: 30px;
    width: 30px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.locked {
    height: 100%;
    overflow: hidden;
}

.add_enabled {
    background-color: #3d79ae;
}

.last_unit {
    border-bottom: 1px solid #c5d1e2;
}

.last_device {
    margin-bottom: 20px;
}

.chiller_view {
    background: white;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 300px;
    margin-left: 2px;
    position: absolute;
    width: 99%;
}

.info_view {
    color: black;
    display: flex;
    margin: 10px;
    font-size: 22px;
    margin-left: 30px;
}

.info_view_text {
    margin-left: auto;
    margin-right: 30px;
    margin: auto;
    margin-right: 30px;
}

.info_view_1 {
    margin-top: 40px;
}

.wrapper-navbar {
    box-shadow: 1px 1px 10px #bfbfbf8c;
    height: 60px;
    padding: 10px;
    max-height: 45px;
    display: flex;
    background: white;
    z-index: 10;
    position: sticky;
    top: 0;
}

.wrapper-full-logo {
    margin-left: 5px;
    height: 50px;
    width: 147px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(webasto.png);
    background-position: center;
}

.wrapper-dropdown {
    border-top: none;
    box-shadow: 0px 0px 6px 4px #bfbfbf8c;
    background: white;
    position: absolute;
    z-index: 1;
    right: 0;
    margin: 10px;
    margin-right: 0px;
    margin-top: 0;
    min-width: 200px;
    border-radius: 5px;
    top: -500px;
    transition: 0.2s all;
}

.wrapper-dropdown.moved-in {
    top: 75px;
}

.wrapper-dropdown-item {
    padding: 8px;
}

.wrapper-dropdown-item.hidden {
    display: none;
}

.info_row {
    display: flex;
    justify-content: space-between;
}

.info_row_title, .info_row_value {
    color: black;
    font-weight: bold;
    font-size: 22px;
}

.pump-box {
    width: 60px;
    height: 25px;
    border-radius: 3px;
    background-color: #dfdfdf;
    margin: 2px;
    color: transparent;
}

.pump-box.green {
    background-color: #05b034;
}

.pump-box.yellow {
    background-color: #fcf640;
}

.pump-box.red {
    background-color: #ee2d1f;
}

@keyframes load_rotate1 {
    from {
        transform: rotate(0deg) scale(0.5, 0.5);
    }
    to {
        transform: rotate(359deg) scale(0.5, 0.5);
    }
}

@media screen and (max-height: 800px) {
    .add_group_popup {
        top: 20px;
    }
}

@media (min-width: 1000px) {
    #container {
        max-width: 700px;
    }

    .device_add_bg {
        max-width: 700px;
    }

    .bcw_settings {
        max-width: 900px;
    }

    .control_panel {
        max-width: 700px;
    }

    .control_bg {
        max-width: 700px;
    }

    .top_panel {
        width: 700px;
    }
}

@media (max-width: 800px) {
    div.control {
        height: 270px;
    }

    .control_text {
        font-size: 55px;
    }

    #controls.empty {
        height: 160px;
    }

    #device_quick_status {
        padding: 5px;
    }

    #device_name {
        font-size: 18px;
        margin: 0px;
    }

    #tempVoltContainer {
        height: 70px;
    }

    #current_temp {
        font-size: 18px;
    }

    #connection_info {
        width: 50px;
        height: 50px;
        top: 5px;
        left: 5px;
    }

    #device_status {
        margin: auto;
        margin-left: 0px;
        min-width: 100px;
    }

    #info_btn {
        width: 30px;
        height: 30px;
        top: 15px;
        right: 15px;
    }
    .info_row_title, .info_row_value {
        font-size: 18px;
    }
}

@media screen and (max-width: 600px) {

    div.control {
        max-height: 180px;
    }

    .settings_toggle {
        height: 35px;
        width: 35px;
        max-width: 35px;
        min-width: 35px;
        padding: 3px;
    }

    .cabin_toggle {
        height: 40px;
        margin-right: 10px;
    }

    .control_text {
        font-size: 40px;
    }

    #controls.empty {
        height: 140px;
    }

    #dropdown {
        width: 100%;
        margin-bottom: 5px;
    }

    #device_name {
        font-size: 15px;
    }

    #current_temp {
        font-size: 15px;
    }

    #current_temp.is_group {
        font-size: 13px;
    }

    #on_off_switch {
        width: 100px;
        min-width: 70px;
        width: 90px;
    }

    #logout {
        height: 25px;
        top: 0px;
        right: 11px;
        padding: 10px 5px 10px 20px;
    }

    #legal_info_btn {
        top: 15px;
        right: 15px;
        height: 25px;
    }

    .timer_btn {
        height: 55px;
        width: 55px;
        margin-right: 10px;
    }

    .collapse_btn {
        height: 45px;
        width: 45px;
        max-width: 25px;
    }

    .remove_groups_btn {
        margin-bottom: 5px;
    }

    .cp_item_title {
        margin: auto;
        margin-left: 15px;
        margin-bottom: 0px;
        font-size: 18px;
        font-weight: normal;
    }

    #info_div {
        font-size: 25px;
        padding-top: 10px;
        margin-right: 45px;
    }

    .dev_name {
        font-size: 16px;
    }

    #ac_unit_header {
        height: 70px;
    }

    .loading_label {
        background-position: -238px -130px;
        height: 56px;
        width: 56px;
        animation: load_rotate_small 2s infinite linear;
    }

    .dev_expand {
        width: 25px;
        height: 25px;
        margin-right: 0;
    }
    .dev_loading {
        transform: scale(0.3, 0.3);
    }

    .info_view {
        color: black;
        display: flex;
        margin: 8px;
        font-size: 14px;
        margin-left: 16px;
    }

    .info_view_1 {
        margin-top: 20px;
    }

    .info_view_text {
        margin-right: 15px;
    }

    .info_row_title, .info_row_value {
        font-size: 15px;
    }

    @keyframes load_rotate1 {
        from {
            transform: rotate(0deg) scale(0.3, 0.3);
        }
        to {
            transform: rotate(359deg) scale(0.3, 0.3);
        }
    }

}

@media (max-width: 400px) {

    .cabin_toggle {
        height: 35px;
        margin-right: 10px;
    }

    .dev_settings {
        height: 30px;
        margin-right: 0px;
    }

    .collapse_btn {
        height: 40px;
        width: 40px;
        max-width: 18px;
    }

    .timer_btn {
        height: 50px;
        width: 50px;
        margin-right: 10px
    }

    .control_text {
        font-size: 35px;
    }

    #on_off_switch {
        min-width: 70px;
    }

    .dev_name {
        font-size: 16px;
    }

    #device_name {
        font-size: 14px;
    }

    #current_temp {
        font-size: 14px;
    }

    #current_temp.is_group {
        font-size: 12px;
    }

    .dev_connection {
        height: 40px;
        min-width: 30px;
    }

    .img_timer {
        height: 25px;
    }

    .settings_toggle {
        height: 35px;
        width: 35px;
        max-width: 35px;
        min-width: 35px;
        padding: 0px;
        margin-left: 5px;
        margin-right: 5px;

    }

    .save_button {
        width: 70px;
    }

    .delete_button {
        width: 70px;
    }

    .add_rem_btn {
        width: 25px;
    }

    .cp_controls {
        width: 25px;
        height: 25px;
    }

    .dev_expand {
        width: 20px;
        height: 20px;
        margin: auto;
        margin-right: 0;
    }
    .info_row_title, .info_row_value {
        font-size: 14px;
    }
}
