#templateboxed_page_area {
  height: 100vh;
  width: auto;
  overflow: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: flex-start;
  min-width: 500px;
  min-height: 100%;
}

#templateboxed_content_area {
  flex-basis: auto;
  flex-grow: 1;
  flex-shrink: 0;
  background-color: var(--color-lancom-blue);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#templateboxed_box {
  flex-basis: auto;
  flex-grow: 0;
  flex-shrink: 1;
  height: auto;
  max-height: 600px;
  width: 500px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

#templateboxed_box_upper {
  flex-basis: auto;
  flex-grow: 0;
  flex-shrink: 0;
  height: auto;
  width: 100%;
  background-color: var(--color-lancom-electric-blue);
  display: flex;;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

#templateboxed_device_string_wrapper {
  flex-basis: auto;
  flex-grow: 0;
  flex-shrink: 0;
  color: #ffffff;
  text-align: center;
}

#templateboxed_device_string_type {
  font-weight: 600;
  font-size: 22px;
  margin-top: 25px;
}

#templateboxed_device_string_name {
  font-weight: 400;
  font-size: 22px;
}

.templateboxed_device_string_common {
  display: block;
}

#templateboxed_device_image_wrapper {
  flex-basis: auto;
  flex-grow: 0;
  flex-shrink: 0;
  padding: 25px 0;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}

#templateboxed_device_image {
  border: none;
  max-height: 200px;
  max-width: 350px;
}

#templateboxed_box_lower_noscript {
  display: none;
}
#templateboxed_box_lower {
  display: flex;
}
#templateboxed_box_lower_noscript,
#templateboxed_box_lower {
  flex-basis: auto;
  flex-grow: 0;
  flex-shrink: 0;
  height: auto;
  width: 100%;
  background-color: #ffffff;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.templateboxed_content_wrapper_style {
  flex-basis: auto;
  flex-grow: 0;
  flex-shrink: 0;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  align-content: stretch;
}

#templateboxed_content_wrapper_noscript,
#templateboxed_content_wrapper {
  flex-basis: auto;
  flex-grow: 0;
  flex-shrink: 1;
  height: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.templateboxed_content_headline {
  font-weight: 600;
}

.templateboxed_element_wrapper {
  width: 100%;
  margin-bottom: 10px;
}

.templateboxed_element_last {
  margin-bottom: 0px !important;
}

#templateboxed_error_smiley_label {
  font-size: 60px;
  font-weight: 100;
  color: #65c0fe;
}

#templateboxed_error_headline_label {
  font-size: 28px;
  font-weight: 400;
}

#templateboxed_error_text_label {
  font-size: 13px;
}

#templateboxed_footer_area {
  flex-basis: auto;
  flex-grow: 0;
  flex-shrink: 0;
  height: 46px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  align-content: flex-start;
  overflow: hidden;
}

.templateboxed_footer_item {
  padding-left: 35px;
  padding-right: 35px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: flex-start;
}

#templateboxed_footer_left {
  flex-basis: auto;
  flex-grow: 0;
  flex-shrink: 0;
}

#templateboxed_footer_center {
  flex-basis: auto;
  flex-grow: 1;
  flex-shrink: 1;
  text-align: center;
}

#templateboxed_footer_right {
  flex-basis: auto;
  flex-grow: 0;
  flex-shrink: 0;
}

#templateboxed_footer_vendorlogo_area {
  height: 38px;
  width: 100px;
  display: flex;
}

#templateboxed_slogan {
  font-weight: 400;
  text-transform: uppercase;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: flex-start;
}

.templateboxed_readonly {
  color: #333333;
  background: #f0f0f0 !important;
  cursor: default;
}

#templatemain_page_area {
  height: 100%;
  width: 100%;
  overflow: hidden;
  min-width: 845px;
  min-height: 385px;
  display: flex;
  flex-direction: column;
}

#templatemain_main_area {
  overflow: hidden;
  flex-shrink: 1;
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
}

#templatemain_header_area {
  width: 100%;
  height: 60px;
  overflow: hidden;
  background: var(--color-white);
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: stretch;
}

.templatemain_subheader {
  height: 100%;
  overflow: hidden;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-items: center;
}

.templatemain_subheader.right {
  padding-right: 15px;
  padding-left: 15px;
}

.templatemain_header_item {
  height: auto;
  width: auto;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  padding-left: 15px;
}

#templatemain_header_menu.templatemain_header_item {
  padding-left: 60px;
}

#templatemain_header_vendorlogo_area {
  width: var(--size-sidebar-expanded-width);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  align-content: center;
}

#templatemain_header_home_link {
  margin-left: 50px;
  margin-right: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

#templatemain_header_vendor_img {
  height: 38px;
}

#templatemain_content_area {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-content: stretch;
  z-index: 1;
}

#templatemain_content_noscript {
  display: none;
}
#templatemain_content {
  display: flex;
}
#templatemain_content_noscript,
#templatemain_content {
  background: var(--color-white);
  overflow: hidden;
  flex-basis: auto;
  flex-grow: 1;
  flex-shrink: 1;
  flex-direction: column;
  align-items: stretch;
  align-content: stretch;
  width: 100%;
}

#templatemain_content_section_noscript {
  display: none;
}
#templatemain_content_section {
  display: flex;
}
#templatemain_content_section_noscript,
#templatemain_content_section {
  background-color: var(--color-light-grey);
  color: var(--color-black);
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 48px;
  overflow: hidden;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  font-size: 16px;
  font-weight: 300;
}
#templatemain_content_section_noscript > #templatemain_content_section_left_noscript,
#templatemain_content_section > #templatemain_content_section_left {
  margin-left: 60px;
  min-width: 100px;
}
#templatemain_content_section_noscript > #templatemain_content_section_left_noscript > .title,
#templatemain_content_section > #templatemain_content_section_left > .title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
#templatemain_content_section_noscript > #templatemain_content_section_right_noscript,
#templatemain_content_section > #templatemain_content_section_right {
  margin-left: 60px;
  margin-right: 60px;
  display: flex;
  min-width: 100px;
}
#templatemain_content_section_noscript > #templatemain_content_section_right_noscript > :not(:first-child),
#templatemain_content_section > #templatemain_content_section_right > :not(:first-child) {
  margin-left: 20px;
}

.templatemain_content_footer_surrounding_form {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-content: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
}

#content_noscript,
#content {
  background: var(--color-white);
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 30px;
  min-height: 100px;
  overflow: auto;
  flex-basis: auto;
  flex-grow: 1;
  flex-shrink: 1;
  font-size: 14px;
  font-weight: 300;
  color: var(--color-black);
  width: calc(100% - 60px);
}

#content_noscript:only-child,
#content:only-child {
  margin-bottom: 30px;
}

#content_form_placeholder_noscript,
#content_form_placeholder {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-content: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
}

#content_footer {
  background-color: var(--color-white);
  color: var(--color-black);
  border-top: 1px solid var(--color-grey);
  border-bottom: 1px solid var(---color-grey);
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: auto;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 60px;
  padding-right: 60px;
}

#content_controls_footer {
  background-color: var(--color-white);
  color: var(--color-black);
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: auto;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 60px;
  padding-right: 60px;
  display: flex;
  justify-content: flex-end;
}
#content_controls_footer > #content_controls_block {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  margin-top: -4px;
}
#content_controls_footer > #content_controls_block > * {
  margin-top: 4px;
}
#content_controls_footer > #content_controls_block > button.primary {
  margin-left: 16px;
}
#content_controls_footer > #content_controls_block > button.secondary {
  margin-left: 4px;
}

#templatemain_content_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  background: var(--color-light-grey);
  color: var(--color-black);
  flex: 0 0 48px;
}

#templatemain_content_footer > * {
  display: flex;
  flex: 1 1 auto;
  margin-left: 15px;
  margin-right: 15px;
}

#templatemain_content_footer_left {
  font-size: 13px;
  justify-content: flex-start;
}

#templatemain_content_footer_center {
  font-size: 13px;
  justify-content: center;
}

#templatemain_content_footer_right {
  font-size: 13px;
  justify-content: flex-end;
}

/*overlay*/
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}
#overlay.inactive {
  display: none;
}
#overlay > * {
  position: fixed;
}
#overlay > .overlay-priority {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#overlay > .overlay-priority.overlay-modal {
  pointer-events: initial;
}
#overlay > .overlay-priority > * {
  pointer-events: initial;
}
.overlay-wrapper {
  display: none;
}
