:root {
    --color-white: #ffffff;
    --color-gray-20: #d4d4d4;
    --color-gray-40: #a8a8a8;
    --color-gray-50: #929292;
    --color-gray-60: #7c7c7c;
    --color-gray-80: #505050;
    --color-black: #141414;
    --color-blue: #1450f5;
    --color-dark-blue: #1444c8;
    --color-light-blue: #7296f9;
    --color-orange: #fff6e9;
    --color-green: #aae1c8;
    --color-green-bright: #1ed273;
    --color-red: #ff5f28;
    --color-warning: #f98600;
    --color-warning-bg: #fff1db;
    --color-light-bg: #f3f6fe;
    --color-blue-80: #4373f7;
    --color-blue-40: #a1b9fb;
    --color-blue-20: #d0dcfd;
    --color-yellow: #ffe141;
    --color-border: #d0d0d0;
    --background-gray: #f4f5f7;
    --background-translucent: #fff9;
    --font-brand: Inter, Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 62.5%;
}
@font-face {
    font-family: ICON;
    src: url(/css/KONE-Icon-Font.woff2) format("woff2"),
        url(/css/KONE-Icon-Font.woff) format("woff");
}
@font-face {
    font-family: Icons;
    src: url(/css/KFDS-UI-Icons.woff2) format("woff2"),
        url(/css/KFDS-UI-Icons.woff) format("woff");
}
@font-face {
    font-family: Inter;
    font-weight: normal;
    src: url(Inter-Regular.woff2) format("woff2"),
        url(Inter-Regular.woff2) format("woff");
}
@font-face {
    font-family: Inter;
    font-weight: bold;
    src: url(Inter-SemiBold.woff2) format("woff2"),
         url(Inter-SemiBold.woff) format("woff");
}
* {
    border: 0;
    padding: 0;
    margin: 0;
    text-align: unset;
    font: inherit;
}
*,
::before,
::after {
    box-sizing: border-box;
}
body {
    min-height: 100vh;
    position: relative;
    background-color: var(--color-white);
    color: var(--color-black);
}
body,
.login-body > main {
    display: flex;
    flex-direction: column;
}
body,
input,
textarea,
select {
    font: 1.4rem / 2rem var(--font-brand);
}
fieldset,
legend {
    display: block;
    width: 100%;
}
legend {
    font: 2.4rem / 1em var(--font-brand);
    letter-spacing: -.1ex;
    float: left;
}
legend + * {
    clear: both;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}
h2 {
    font: 1.6rem / 2rem var(--font-brand);
    padding: 10px 0;
}
a {
    color: var(--color-blue);
    text-decoration: none;
}
header {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
body > footer.copyright {
    text-align: center;
    padding: 10px 0;
    line-height: 1.5rem;
    font-size: min(1.4rem, 3vw);
}
body > footer.copyright a:not(:hover,:active) {
    color: unset;
}
button {
    font: bold 1.8rem / 2rem var(--font-brand);
    white-space: pre;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    padding: 0 2rem;
    border-radius: 5rem;
    background: var(--color-blue);
    color: var(--color-white);
    cursor: pointer;
    min-width: 10rem;
    height: 4.8rem;
}
button:disabled {
    pointer-events: none;
    background: var(--color-gray-20) !important;
    color: var(--color-gray-80) !important;
}
button:hover,
button:focus,
button:active {
    background: var(--color-dark-blue);
}
button.secondary {
    background: var(--color-light-bg);
    color: var(--color-blue);
    border: 2px solid var(--color-light-bg);
}
button.secondary:hover,
button.secondary:active {
    border-color: var(--color-blue);
}
button + button,
a + button,
button + a,
.sticky-footer button:not(:first-child) {
    margin-left: 1rem;
}
section > header > h2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
header > h1,
header > h2 {
    flex-grow: 1;
}
.spinner {
    height: 50vh;
    font-size: 3rem;
    text-shadow: -1px -1px 1px var(--color-white),
                 1px -1px 1px var(--color-white),
                 -1px 1px 1px var(--color-white),
                 1px 1px 1px var(--color-white);
    pointer-events: none;
    user-select: none;
}
.spinner::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 26px;
    margin-left: -13px;
    flex: 0;
    border-radius: 50%;
    border: 3px solid #000;
    border-color: var(--color-blue) var(--color-blue) var(--color-gray-20) var(--color-gray-20);
    animation: spin 2s linear infinite;
    will-change: transform;
    z-index: 1;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.warning {
    text-align: center;
    background-color: var(--color-warning-bg);
    color: var(--color-black);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-warning);
    font-size: 2rem;
    line-height: 2rem;
    white-space: nowrap;
    margin-bottom: 15px;
}
.warning > :first-child::before {
    content: "\E912";
    font: 24px/24px ICON;
    vertical-align: middle;
    color: var(--color-warning);
    margin-right: 10px;
    margin-left: -24px;
}
label.required > span:first-child::after {
    content: " *";
    color: var(--color-red);
}
.equipment-master-data form:invalid,
label.invalid :is(input, select) {
    border-color: var(--color-red) !important;
}
label > span,
.label > span {
    display: block;
    font-size: 1.5rem;
    line-height: 1.8rem;
    margin-bottom: 10px;
}
.label.small > span {
    font: unset !important;
    text-align: center;
    text-transform: unset !important;
    margin-bottom: 0;
}
.equipment-master-data label > span {
   font-weight: bold;
}
div.select {
    position: relative;
    display: block;
    line-height: 1.6rem;
}
select,
div.select > input {
    width: 100%;
    padding-right: 3.5rem !important;
}
div.select::after {
    content: "\ea10";
    font: 1.9rem/3.6rem Icons;
    position: absolute;
    right: 1.5rem;
    bottom: 0;
    pointer-events: none;
}
div.select:focus-within::after {
    color: var(--color-blue);
}
input[type="search"],
input[type="text"],
input[type="number"],
input[type="date"],
input[type="password"],
select {
    height: 3.6rem;
}
input[type="number"] {
    padding-right: 0 !important;
    width: 9rem;
}
input[step="any"]::-webkit-outer-spin-button,
input[step="any"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[step="any"] {
    -moz-appearance: textfield;
}
input[type="search"],
input[type="text"],
input[type="number"],
input[type="date"],
input[type="password"],
textarea,
select {
    border-radius: 8px;
    text-align: left;
    border: 2px solid var(--color-gray-20);
    color: var(--color-black);
    background: var(--color-white);
    padding: 0 2rem;
}
input[type="search"]:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
select:focus {
    border: 2px solid var(--color-blue);
}
input[type="checkbox"][readonly] {
    pointer-events: none;
}
a,
input,
button,
textarea {
    outline: 0;
}
div.selectoptions {
    position: absolute;
    margin-left: -5px;
    background: var(--color-white);
    z-index: 9;
    max-height: 25vh;
    overflow: auto;
    white-space: nowrap;
    color: var(--color-black);
    box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2),
        0px 8px 10px 1px rgba(0, 0, 0, 0.14),
        0px 3px 14px 2px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}
div.selectoptions > table {
    width: 100%;
    border-collapse: collapse;
}
div.selectoptions tr:hover {
    background: var(--color-light-bg);
}
div.selectoptions td {
    padding: 0 5px;
    height: 3.1rem;
}
div.select input::placeholder {
    color: var(--color-black);
}
div.select tr {
    max-width: 100%;
    margin: 2px 4px 2px 0px;
    display: inline-block;
    color: var(--color-black);
    background: var(--color-light-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 3px 20px 3px 6px;
    line-height: 2.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: pointer;
}
div.select tr:hover {
    border-color: var(--color-red);
}
div.select tr::after {
    content: "\D7";
    display: block;
    position: absolute;
    top: 0.3rem;
    right: 4px;
    font-size: 2.1rem;
    background: inherit;
    opacity: 0.5;
}
div.select tr:hover::after {
    color: var(--color-red);
    opacity: 1;
}
div.select td {
    display: inline;
}
div.select td::before {
    content: " ";
}
.buttons.bottom-right {
    display: block;
    text-align: right;
    user-select: none;
}
.overlay-prompt {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 7;
    background: #0002;
    display: flex;
    justify-content: center;
    align-items: center;
}
.overlay-prompt > div:not(:empty, .spinner) {
    background: var(--color-white);
    max-width: 45rem;
    height: 130px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2),
        0px 8px 10px 1px rgba(0, 0, 0, 0.14),
        0px 3px 14px 2px rgba(0, 0, 0, 0.12);
}
.overlay-prompt > div > :not(:first-child, button) {
    margin-top: 20px;
}
.overlay-prompt div.aside-dialog {
    margin: 0;
    line-height: unset;
}
.overlay-prompt div.error {
    width: 100%;
    margin: 0;
}
.overlay-prompt p {
    white-space: pre-wrap;
    line-height: 150%;
}
.save-dialog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: var(--color-white);
    text-align: center;
    box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2),
        0px 8px 10px 1px rgba(0, 0, 0, 0.14),
        0px 3px 14px 2px rgba(0, 0, 0, 0.12);
}
.error {
    color: var(--color-black);
    background: var(--color-light-bg);
    width: min(90%, 60rem);
    padding: 20px;
    border-radius: 12px;
    margin: 42px auto;
}
.error > p {
    padding: 0 4px;
}
.validation-error {
    font-size: 1.2rem;
    line-height: 1.4rem;
    margin: 0.4rem 0;
    padding-left: 1.5rem;
    position: absolute;
    top: 100%;
    right: 0;
    color: var(--color-red);
}
.validation-error:not(:empty)::before {
    content: "\ea36";
    position: absolute;
    left: 0;
    color: var(--color-red);
    font: 1.4rem/1.4rem Icons;
}
.button-icon {
    padding-right: 20px;
}
.button-icon.tick::before {
    content: "\ea16";
    font: 2.4rem/1px Icons;
    vertical-align: middle;
    margin-right: .5rem;
}
.date-field {
    display: flex;
    gap: 6px;
}
.date-field>.label {
    flex: 1;
}
.date-field input {
    min-width: 100%;
}
header.top-header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 100% !important;
    height: 65px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--color-border);
    padding: 16px 20px 16px 16px;
    gap: 16px;
    z-index: 8;
}
header.top-header > .logo {
    height: 3.2rem;
}
header.top-header > .logo > img {
    display: block;
    height: 100%;
}
header.top-header > h1 {
    font: bold 1.8rem var(--font-brand);
    color: var(--color-black);
}
.main-title sub,
.top-header sub {
    background: var(--color-yellow);
    color: var(--color-black);
    font-size: 1.2rem;
    line-height: 2.4rem;
    font-weight: bold;
    padding: 0 8px;
    border-radius: 6px;
}
.login-body > main {
    flex: 1;
    width: min(calc(100vw - 80px), 48rem);
    align-items: center;
    margin: 2rem auto;
    gap: 20px;
}
.main-title {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}
.main-title > h1 {
    font-size: 4.8rem;
    line-height: 1em;
    letter-spacing: -.1ex;
}
.main-title > .logo {
    display: none;
    width: 100%;
    padding: 1.8rem 0;
}
.main-title > .logo > img {
    display: block;
    width: auto;
    height: 3.6rem;
}
.login-image img {
    display: block;
    height: min(max(20vh,150px),215px);
    margin: min(4vh,4rem) auto min(3vh,3rem) auto;
}
.info-box {
    background: var(--color-light-bg);
    border-radius: 8px;
    padding: 8px 8px 8px 38px;
    position: relative;
}
.info-box::before {
    content: "\e9b7";
    font: 20px/20px Icons;
    display: block;
    position: absolute;
    left: 8px;
    top: 10px;
    text-align: center;
    color: var(--color-blue);
}
.login-body .info-box {
    margin-bottom: 2rem;
}
.login-form {
    display: contents;
}
.login-form > * {
    width: 100%;
}
.login-form label > span {
    color: var(--color-black);
    font-weight: bold;
    font-size: 1.6rem;
    margin-bottom: 10px;
}
.login-form select {
    appearance: none;
}
.login-form .select::after {
    right: 2rem;
}
.login-form select:focus {
    padding-left: 19px;
    outline: none;
}
@media (max-width: 599px) or (max-height: 479px) {
    .login-body header.top-header {
        display: none;
    }
    .main-title {
        justify-content: left;
        align-items: center;
    }
    .main-title>.logo {
        display: block;
    }
    .main-title > h1 {
        font-size: 2.5rem;
    }
    .login-form label > span {
        font-size: 1.4rem;
    }
    .login-form select {
        font-size: 1.4rem;
        height: 4rem;
    }
    .login-form .select::after {
        line-height: 4rem;
    }
}
.equipment-master-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 16px 103px 16px;
    background: var(--color-white);
}
.equipment-master-data > header {
    display: block;
    height: unset;
}
.equipment-master-data > header > h1 {
    font-size: 2.8rem;
    line-height: 3.2rem;
    letter-spacing: -.1ex;
}
.equipment-master-data > header > p {
    font-size: 1.4rem;
    line-height: 1.6rem;
    margin: 8px 0;
    color: var(--color-gray-80);
}
.equipment-master-data > section > header > h2 {
    font-size: 1.8rem;
    font-weight: bold;
}
.equipment-master-data section,
.equipment-master-data fieldset {
    display: block;
    width: 100%;
    background: var(--color-white);
    border: 2px solid var(--color-gray-20);
    border-radius: 16px;
    padding: 10px 20px 16px;
    position: relative;
}
.overview.details {
    display: grid;
    grid-template-columns: repeat(auto-fit, min(100%, 20em));
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
}
.overview.details > div,
.equipment-master-data form {
    display: contents;
}
.overview.details th,
.overview.details td {
    display: block;
}
.details th,
.details .th {
    font: bold 1.4rem/1.6rem var(--font-brand);
    color: var(--color-gray-60);
}
.details td,
.details .td {
    font: 1.4rem/1.6rem var(--font-brand);
}
.details td {
    margin-top: 5px;
}
table.details {
    border-spacing: 1rem;
}
.equipment-overview header {
    position: relative;
    display: block;
}
.equipment-master-data fieldset > legend::after,
.equipment-overview .toggle-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font: 2.4rem/4rem Icons;
    text-align: right;
}
.equipment-master-data fieldset > legend:hover::after,
.equipment-overview .toggle-button:hover {
    color: var(--color-blue);
}
.equipment-master-data fieldset > legend::after,
.equipment-overview .hide-overview::after {
    content: "\ea06";
}
.equipment-master-data fieldset.closed > legend::after,
.equipment-overview .show-overview::after {
    content: "\ea0f";
}
.equipment-master-data fieldset > legend {
    position: relative;
    padding: 10px 0;
}
.equipment-master-data:has(.select:focus-within) :is(legend, header) {
    pointer-events: none;
}
.equipment-master-data fieldset > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, min(100%, 30em));
    gap: 30px;
    padding: 10px 0;
    align-items: stretch;
}
.equipment-master-data .field label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
}
.equipment-master-data .date-field {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.equipment-master-data .date-field .label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.equipment-master-data .date-field .label.small span {
    font-size: 1.2rem;
    color: var(--color-gray-60);
}
.editform input,
.editform select,
.editform textarea {
    width: 100%;
}
label.invalid input,
label.invalid select {
    border-color: var(--color-red);
}
label.modified input,
label.modified select {
    border-color: var(--color-blue-80);
}
label.required > span:first-child::after {
    content: " *";
    color: var(--color-red);
}
body > footer.sticky-footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 79px;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 0 16px;
    z-index: 8;
}
@media (max-width: 849px) {
    .sticky-footer button {
        flex: 1;
        margin: 0 !important;
    }
}
.flex-spacer {
    flex: 1 !important;
}
.flex-spacer-2 {
    flex: 2 !important;
}
.field-validation-cb {
    cursor: pointer;
    width: auto !important;
    margin-right: 8px;
}
.field-validation-cb:disabled {
    cursor: default;
}
.field-validated {
    font-size: 1.2rem;
    color: var(--color-green-bright);
    text-transform: capitalize;
    margin-left: 10px;
}
fieldset.validate-all {
    padding: 20px;
}
fieldset.validate-all label > span {
    margin: 0;
}
