/*
 * Bindows, MDDS, MDDV, MDDT, I-See, Parts Wizard, Weapons Wizard, MultiConfig, Hey Chief, Virtual Touch
 * http://www.bindows.net/
 * Copyright (c) 2003-2026 MB Technologies
 *
 * Bindows(tm), MDDS(tm), MDDV(tm), MDDT(tm), I-See(tm), Parts Wizard(tm), Weapons Wizard(tm), MultiConfig(tm), Hey Chief(tm) & Virtual Touch(tm) belongs to MB Technologies (Georgia, USA). All rights reserved.
 * You are not allowed to copy or modify this code. Commercial use requires
 * license.
 */
.center {
    text-align: center;
}
#kalmar-unauthorized-main-container {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    font-size: 16px;
}
#kalmar-unauthorized-header {
    background-color: var(--kalmar-grape);
    height: 80px;
}

/* Logo */
.kn-logo-group {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
}
.kn-logo-group img {
    height: 39px;
    width: 39px;
}
.kn-logo-link {
    color: white;
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    align-items: center;
}
.kn-logo { display: inline-block; }
.kn-logo-text {
    color: white;
    margin-left: 11px;
    font-size: 27px;
    line-height: 16px;
}
.kn-accent-red {
    color: #F30000;
}

/* MyKalmar login — everything is scoped under the container id so it
   out-specifies Bootstrap 2.2 without needing !important. */

#kalmar-unauthorized-main-container,
#kalmar-unauthorized-main-container * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* Full-viewport shell: header / main (grows) / footer */
#kalmar-unauthorized-main-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: #fbfbfb;
    color: #333;
    font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
}

/* ---------- header ---------- */
#kalmar-unauthorized-main-container .kalmar-unauthorized-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 82px;
    padding: 0 40px;
    background: #2a112e; /* same as the logo PNG's baked-in background */
}

/* ---------- main ---------- */
#kalmar-unauthorized-main-container .kalmar-unauthorized-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

#kalmar-unauthorized-main-container .kalmar-unauthorized-form {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 12vh 20px 48px;
}

#kalmar-unauthorized-main-container .kalmar-unauthorized-title {
    margin: 0 0 18px;
    font-family: inherit;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    color: #dc0000;
    text-align: center;
    white-space: nowrap;
}

/* ---------- background graphic ---------- */
#kalmar-unauthorized-main-container .kalmar-unauthorized-bg {
    flex: 0 0 auto;
    align-self: flex-start;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 0 82px;
}

/* ---------- small screens ---------- */
@media (max-width: 480px) {
    #kalmar-unauthorized-main-container .kalmar-unauthorized-title {
        font-size: 28px;
        white-space: normal;
    }
    #kalmar-unauthorized-main-container .kalmar-unauthorized-bg {
        margin-bottom: 32px;
    }
}