/* You can add global styles to this file, and also import other style files */
/* padding in the columns, if you want gutters,
 * the gutters should be the same as the padding */
/* auto is none, 1em is nice if you want gutters */
/* auto to remove gutters */
/* if you don't use gutters, you could remove bodypadding*/
.form-verification {
  max-width: 404px;
  margin: 0 auto;
  padding-top: 20px;
}

#config-add_slave_button, input[type=submit],
input[type=button],
button[type=submit], .imgui_popup-red_button, .full_screen_popup-button, .imgui_popup-green_button {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input[type=submit],
input[type=button],
button[type=submit], .imgui_popup-red_button, .full_screen_popup-button, .imgui_popup-green_button {
  display: inline-block;
  padding: 8px 11px;
  background: white;
  border-radius: 1rem;
  border: 1px solid #ececec;
  font-weight: 500;
  cursor: pointer;
}

.imgui_popup-green_button {
  font-size: 14px;
  /*
  &:hover,
  &:active {
    color: darken($c-green, 10%);
    border-color: darken($c-green, 10%);
  }
  */
}

.full_screen_popup-button {
  font-size: 14px;
  border-color: #ccc;
  color: #929292;
  /*
  &:hover,
  &:active {
    color: darken($c-gray, 10%);
    border-color: darken(#ccc, 10%);
  }
  */
}

.imgui_popup-red_button {
  font-size: 14px;
  border-color: #E84A47;
  color: #E84A47;
  /*
  &:hover,
  &:active {
    color: darken($c-red, 10%);
    border-color: darken($c-red, 10%);
  }
  */
}

*, *:before, *:after {
  box-sizing: border-box;
}

* {
  outline: none;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
}

body,
h1,
h2,
h3,
h4,
p {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-size: inherit;
}

a {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

hr {
  border: 0;
  border-bottom: 1px solid #dedede;
}

input,
textarea,
button {
  font-size: 1rem;
  color: #5a5555;
  font-family: inherit;
}

button {
  cursor: pointer;
  color: #5a5555;
}

address {
  font-style: normal;
}

b {
  font-weight: 500;
}

.grid {
  display: grid;
}

textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 5px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #cccccc;
}

input,
select {
  background: #f7f7f7;
}

input[type=text],
input[type=number],
input[type=email],
input[type=password],
input[type=search],
input[type=button],
input[type=submit],
button[type=submit] {
  -webkit-appearance: none;
  font-family: "SourceSansPro";
  font-size: 1rem;
  color: #5a5555;
}

select {
  font-family: "SourceSansPro";
  font-size: 1rem;
  color: #5a5555;
}

input[type=text],
input[type=email],
input[type=password] {
  padding: 5px 5px;
  border: 1px solid #cccccc;
  border-radius: 5px;
}

input[type=submit],
input[type=button],
button[type=submit] {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 15px;
  border: none;
  font-weight: 600;
}
input[type=number],
select {
  padding: 5px 5px;
  border-radius: 5px;
  border: 1px solid #cccccc;
}

input[type=checkbox] {
  cursor: pointer;
}

label {
  font-weight: 500;
}

.form-errors {
  color: #bb4c48;
  background: #f3dede;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #efd3d7;
  border-radius: 5px;
}

.form-success {
  color: #697539;
  background: #dfefd7;
  padding: 10px;
  border: 1px solid #d6e8c4;
  border-radius: 5px;
}

html {
  color: #5a5555;
  font-size: 1rem;
}

@media only screen and (min-width: 600px) {
  html {
    font-size: 1rem;
  }
}
@media only screen and (min-width: 1200px) {
  html {
    font-size: 1rem;
  }
}
a {
  color: inherit;
  text-decoration: none;
  line-height: inherit;
}
a img {
  border: none;
}

/* Default paragraph styles */
p {
  font-family: inherit;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 10px;
  text-rendering: optimizeLegibility;
}

/* Default header styles */
h1, h2, h3, h4 {
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 500;
  font-style: normal;
  color: #000127;
  text-rendering: optimizeLegibility;
  margin-top: 0;
  margin-bottom: 0.5em;
  line-height: 1.1;
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: inherit;
}

h4 {
  font-size: inherit;
}

.text_small {
  font-size: 14px;
}

.text_large {
  font-size: 20px;
}

html, body {
  height: 100%;
}

body {
  padding: 0;
  background: #fff;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #5a5555;
  word-wrap: break-word;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

.no_scroll {
  overflow: hidden;
}

.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.flex-3 {
  flex: 3;
}

.flex-4 {
  flex: 4;
}

.flex-5 {
  flex: 5;
}

.flex-6 {
  flex: 6;
}

.flex-7 {
  flex: 7;
}

.flex-8 {
  flex: 8;
}

.flex-9 {
  flex: 9;
}

.justify_center {
  justify-content: center;
}

.flex_end {
  justify-content: flex-end;
}

.align_center {
  align-items: center;
}

.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

[ng\:cloak], [ng-cloak], .ng-cloak {
  display: none !important;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe, .embed-container object, .embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

hr {
  margin: 15px 0;
  background-color: #dedede;
}

@media print {
  * {
    -webkit-print-color-adjust: exact;
  }
}
.confirmation_popup_container {
  position: fixed;
  display: flex;
  justify-content: center;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}

.confirmation_popup {
  width: 95%;
  max-width: 600px;
  color: #fff;
  padding: 16px;
  border-radius: 5px;
  z-index: 100;
  cursor: pointer;
}

#app_container {
  background: #fff;
  height: 100%;
}

.imgui_popup_container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  overflow-y: scroll;
  overscroll-behavior: contain;
  z-index: 2;
}

.imgui_popup {
  display: flex;
  flex-direction: column;
  width: 95%;
  max-width: 500px;
  background: #fff;
  padding: 50px;
  border-radius: 5px;
}

.imgui_popup-close_container {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 5px;
}

.imgui_popup-close_button {
  width: 100%;
  margin-top: 10px;
  padding: 10px 2rem;
  border: 1px solid #bbb;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f2f2f2;
  color: #000;
  font-weight: 500;
  font-size: 14px;
}

.imgui_popup-green_button {
  width: 100%;
  font-size: 16px;
  text-align: center;
}

.imgui_popup-red_button {
  width: 100%;
  font-size: 16px;
  text-align: center;
}

.full_screen_popup_container {
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.full_screen_popup_wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
}

.full_screen_popup {
  flex: 1;
  background: #fff;
  margin: 10px 10px 10px 10px;
  padding: 15px;
  border-radius: 5px;
  overflow-y: scroll;
  overscroll-behavior: contain;
}

.full_screen_popup-button_container {
  width: 100%;
  background: #fff;
  padding: 15px;
}

.full_screen_popup-button {
  width: 100%;
  font-size: 16px;
}

.loading_spinner-blue, .loading_button_spinner-blue {
  width: 25px;
  padding: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  --_m:
      conic-gradient(#0000 10%,#000),
      linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 0.5s infinite linear;
}

@keyframes l3 {
  to {
    transform: rotate(1turn);
  }
}
.loading_spinner-blue, .loading_button_spinner-blue {
  background: #25b09b;
}

.loading_button_spinner-blue {
  margin-left: 1rem;
}

.loading_button_container,
.loading_select_container {
  display: flex;
  align-items: center;
}

.test-loading_button {
  padding: 10px 1rem;
  border: 1px solid #ffc107;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffc107;
  color: #000;
}
.test-loading_button:disabled {
  background: #ffdd77;
  border-color: #ffdd77;
}

.loading_button_response_message {
  margin-left: 10px;
}

.loading_button2 {
  min-width: 127px;
  padding: 10px 2rem;
  border: 1px solid #bbb;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f2f2f2;
  color: #000;
  font-weight: 500;
  font-size: 14px;
}
.loading_button2 .loading_button_spinner-blue {
  width: 19px;
  margin-left: 10px;
}
.loading_button2.dark {
  background: #3b3b3b;
  color: #fff;
}

.wide_button .loading_button2 {
  width: 100%;
}

.loading_select {
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  font-family: inherit;
  border-radius: 10px;
  margin-left: 10px;
}

#index_container {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.index-header {
  font-size: 1.25rem;
  margin-top: 100px;
  margin-bottom: 20px;
  color: #000;
}

#test_page {
  height: 100vh;
}

.test-main {
  display: flex;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
  padding: 50px 0;
  background: #ebebeb;
}

.test-header_container {
  flex: 2;
  background: #ebebeb;
}

.test-main_container {
  display: flex;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
  padding: 50px 0;
  background: #ebebeb;
}

.test-main_content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#logo {
  margin-bottom: 15px;
}

.test-debug_log_container,
.test-bluetooth_log_container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 1100px;
}

.test-connect_container {
  display: flex;
  align-self: start;
  flex-direction: column;
  align-items: center;
}

.test-connect_to_device_container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.test-serial_number_error_text {
  display: block;
  color: #E84A47;
  margin-bottom: 1rem;
}

.test-connect_button {
  margin-top: 15px;
}

.test-connect_button_text {
  margin-right: 1rem;
}

.test-debug_log_header,
.test-bluetooth_log_header {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

#test-debug_log_width_input,
#test-bluetooth_log_width_input,
#test-debug_log_font_size_input,
#test-bluetooth_log_font_size_input {
  width: 100px;
  padding: 4px;
  margin-left: 10px;
}

.test-debug_log,
.test-bluetooth_log {
  flex: 1;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  overflow-y: scroll;
}

.test-debug_log_text,
.test-bluetooth_log_text {
  display: block;
  white-space: pre;
}
.test-debug_log_text:hover,
.test-bluetooth_log_text:hover {
  background: #333;
}

.test-all_data {
  width: 740px;
  padding: 50px 25px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.08);
}

.test-all_data-row {
  display: grid;
  grid-template-columns: 320px auto;
  padding: 7px 0;
  background: #fff;
  border-bottom: 1px solid #e7e7e7;
}
.test-all_data-row:last-child {
  border-bottom: none;
}
.test-all_data-row:input {
  min-width: 100%;
}

.test-all_data-label {
  align-self: center;
  font-weight: 400;
}

.test-all_data-group {
  padding-top: 40px;
}

.test-all_data-group_name {
  padding-bottom: 5px;
  font-weight: 600;
  font-size: 18px;
}

.test-all_data-send_app_config_button,
.test-all_data-send_modbus_slave_settings_button,
.test-all_data-send_modbus_master_settings_button,
.test-all_data-send_logging_settings_button,
.test-all_data-send_heating_and_cooling_settings_button,
.test-all_data-send_motor_settings_button,
.test-all_data-send_flow_settings_button,
.test-all_data-send_IAD_master_settings_button {
  margin-top: 7px;
}

.IAD_slave {
  display: flex;
}
.IAD_slave > * {
  flex: 1;
}

.test-IAD_slave {
  display: flex;
  flex-direction: column;
}

.test-IAD_slave_serial_number_label,
.test-IAD_slave_address_label {
  margin-left: 15px;
}

.test-IAD_slave_heading {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.test-all_data-start_manual_calibration_button {
  padding: 10px 1rem;
  border: 1px solid #ffc107;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffc107;
  color: #000;
  margin-top: 15px;
}
.test-all_data-start_manual_calibration_button:disabled {
  background: #ffdd77;
  border-color: #ffdd77;
}

.test-manual_calibration_buttons .loading_button_container {
  margin-bottom: 15px;
}
.test-manual_calibration_buttons .loading_button_container:last-child {
  margin-bottom: 0;
}

.test-all_data-button_with_comment {
  display: flex;
  align-items: end;
  margin-bottom: 15px;
}
.test-all_data-button_with_comment:last-child {
  margin-bottom: 0;
}

.test-button_comment {
  flex: 1;
  padding-left: 10px;
  font-size: 12px;
}

.margin-bottom-15px {
  margin-bottom: 15px;
}

.config-main {
  display: flex;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
  padding: 50px 0;
  background: #ebebeb;
}

.config-main_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
}

.config-connect_button {
  margin-top: 15px;
}

#config-edit_subnet_name_button {
  width: 46px;
  height: 46px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ededed;
  border-radius: 5px;
  border: none;
}
#config-edit_subnet_name_button:disabled {
  opacity: 0.5;
  cursor: initial;
}

#config-subnet_name {
  font-size: 30px;
  font-weight: 700;
  color: #000;
  margin: 0 15px;
  border-width: 1px;
}
#config-subnet_name:disabled {
  background: #fff;
  border: 1px solid #fff;
}

.config-grey_button, .config-orange_button {
  border: none;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  padding: 10px;
  color: #000;
  min-width: 127px;
}

.config-orange_button {
  background: #ffb87b;
}

.config-grey_button {
  border: 1px solid #bbb;
  background: #f2f2f2;
}

.config-label {
  font-weight: 700;
  color: #000;
}

#config-regulation_icon {
  width: 14px;
  height: 14px;
  margin-left: 10px;
}
#config-regulation_icon.green {
  background: #68ce6c;
}
#config-regulation_icon.red {
  background: #ef6363;
}
#config-regulation_icon.yellow {
  background: #ffed00;
}

#config-regulator_table {
  display: grid;
  grid-template-columns: 41px repeat(8, 3fr) 50px;
  font-size: 14px;
  grid-gap: 1px;
  background: #707070;
  border: 1px solid #707070;
  margin-bottom: 30px;
}
#config-regulator_table > *:nth-child(10) {
  border-top: 1px solid white !important;
  margin-top: -1px !important;
  border-right: 1px solid white !important;
  margin-right: -2px !important;
  background: white !important;
  cursor: initial !important;
}
#config-regulator_table > *:nth-child(10n) {
  cursor: pointer;
  font-size: 20px;
}
#config-regulator_table > *:nth-child(10n):hover {
  background: #e3e3e3;
}
#config-regulator_table span {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  background: #fff;
  color: #000;
}
#config-regulator_table span.green {
  background: #68ce6c;
}
#config-regulator_table span.red {
  background: #ef6363;
}
#config-regulator_table span.yellow {
  background: #ffed00;
}
#config-regulator_table .header {
  background: #414141;
  color: #fff;
}

#config-devices_table {
  display: grid;
  grid-template-columns: 41px 1fr repeat(8, 3fr) 50px;
  font-size: 14px;
  grid-gap: 1px;
  background: #707070;
  border: 1px solid #707070;
}
#config-devices_table > *:nth-child(11) {
  border-top: 1px solid white !important;
  margin-top: -1px !important;
  border-right: 1px solid white !important;
  margin-right: -1px !important;
  background: white !important;
  cursor: initial !important;
}
#config-devices_table > *:nth-child(11n) {
  cursor: pointer;
  font-size: 20px;
}
#config-devices_table > *:nth-child(11n):hover {
  background: #e3e3e3;
}
#config-devices_table span {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  background: #fff;
  color: #000;
}
#config-devices_table span.green {
  background: #68ce6c;
}
#config-devices_table span.red {
  background: #ef6363;
}
#config-devices_table span.yellow {
  background: #ffed00;
}
#config-devices_table .header {
  background: #414141;
  color: #fff;
}

#config-add_slave_button {
  display: flex;
  flex: 1;
  padding: 10px;
  border: 1px solid #707070;
  border-top: none;
  cursor: pointer;
}
#config-add_slave_button:hover {
  background: #e3e3e3;
}

.config-device_setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #ddd;
}

#config-selected_device {
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  font-family: inherit;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px;
}

#config-device_setting-size {
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  font-family: inherit;
  border-radius: 10px;
  min-width: 200px;
}

#config-device_setting-calibrate_button {
  margin-top: 20px;
  margin-bottom: 10px;
}

#config-motor-manual_buttons {
  display: flex;
  margin-top: 10px;
  margin-bottom: 10px;
}
#config-motor-manual_buttons > * {
  margin-right: 10px;
}

#config-motor_start_automatic_calibration_button {
  margin-top: 20px;
  margin-bottom: 10px;
}

.config-button_comment {
  flex: 1;
  font-size: 12px;
}

#config-edit_device_button,
#config-remove_device_button {
  margin-top: 10px;
}

#config-device_setting-clear_modbus_error_counter_button {
  margin-top: 10px;
}

#config-device_setting-data_bits,
#config-device_setting-stop_bits,
#config-device_setting-parity_bit {
  width: 100px;
}

#config-device_setting-save_modbus_settings_button {
  margin-top: 20px;
}

.config-popup_heading {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
}

.config-label-comment {
  padding-left: 5px;
  font-size: 12px;
}

.config-add_device_arrow {
  background: url(assets/images/triangle.svg) no-repeat center;
  background-size: 100%;
  width: 17px;
  height: 17px;
  rotate: 90deg;
}
.config-add_device_arrow.down {
  rotate: 180deg;
}

.config-add_device_button_container {
  margin-left: -50px;
  margin-right: -50px;
  padding-left: 50px;
  padding-right: 50px;
}
.config-add_device_button_container.show_border {
  border-top: 1px solid #b1b1b1;
}

.config-add_device_button_inner_container {
  display: flex;
}

.config-add_device_close_button {
  width: 140px;
  padding: 10px 2rem;
  border: 1px solid #bbb;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f2f2f2;
  color: #000;
  font-weight: 500;
  font-size: 14px;
}

#config-add_slave_to_master_button {
  flex: 1;
}

.config-error_container {
  margin-top: -20px;
  margin-bottom: 30px;
  border: 1px solid red;
  border-radius: 5px;
  color: red;
  padding: 15px;
  background: #ffe2e2;
}

@media only screen and (max-width: 922px) {
  html, body {
    font-size: 1rem;
  }

  .navigation {
    display: none;
  }
}
/*
:host {
    display: block;
    width: 100%;
    min-height: 100vh;
}
*/
