@font-face {
    font-display: swap;
    font-family: "KB Barlow";
    font-style: normal;
    font-weight: 400;
    src: url('/assets/kb-ui-beta/barlow-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: "KB Barlow";
    font-style: normal;
    font-weight: 700;
    src: url('/assets/kb-ui-beta/barlow-700.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: "KB Barlow Condensed";
    font-style: normal;
    font-weight: 900;
    src: url('/assets/kb-ui-beta/barlow-condensed-900.woff2') format('woff2');
}

body.kb-ui-beta-live {
    --kb-orange: #ea5b0c;
    --kb-orange-dark: #c84b05;
    --kb-black: #2b2b2b;
    --kb-gray: #686868;
    --kb-line: #dcdcdc;
    --kb-soft: #f4f4f4;
    --kb-white: #ffffff;
    background: #ededed;
    color: var(--kb-black);
    font-family: "KB Barlow", Arial, sans-serif;
}

body.kb-ui-beta-live *,
.kb-ui-toggle-card * {
    box-sizing: border-box;
}

body.kb-ui-beta-live a {
    color: #9c3c08;
}

body.kb-ui-beta-live a:hover {
    color: var(--kb-orange);
}

body.kb-ui-beta-live #container {
    background: var(--kb-white);
    border: 1px solid var(--kb-line);
    box-shadow: 0 8px 34px rgba(0, 0, 0, 0.08);
    margin: 22px auto 0;
    max-width: 1880px;
    min-width: 960px;
    width: calc(100% - 36px);
}

body.kb-ui-beta-live #header {
    background: var(--kb-white);
    border: 0;
    height: 96px;
    padding: 15px 20px;
    position: relative;
}

body.kb-ui-beta-live #header::after {
    background: linear-gradient(to bottom, var(--kb-orange) 0 6px, var(--kb-black) 6px 9px);
    bottom: 0;
    content: "";
    height: 9px;
    left: 0;
    position: absolute;
    right: 0;
}

body.kb-ui-beta-live #header #logo {
    background: url('/assets/kb-ui-beta/logo.svg') left center / contain no-repeat;
    display: block;
    height: 62px;
    left: 20px;
    margin: 0;
    position: absolute;
    top: 12px;
    width: 192px;
}

body.kb-ui-beta-live #header #logo img,
body.kb-ui-beta-live #header #logo .valign-helper {
    opacity: 0;
}

body.kb-ui-beta-live .kb-ui-product {
    left: 235px;
    position: absolute;
    top: 24px;
}

body.kb-ui-beta-live .kb-ui-product strong {
    display: block;
    font-family: "KB Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 27px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

body.kb-ui-beta-live .kb-ui-product span {
    color: var(--kb-gray);
    display: block;
    margin-top: 5px;
}

body.kb-ui-beta-live #header #info,
body.kb-ui-beta-live #header .flush-right {
    color: var(--kb-gray);
    margin: 3px 0 0;
    position: relative;
    z-index: 2;
}

body.kb-ui-beta-live #nav {
    background: var(--kb-white);
    border: 0;
    border-bottom: 1px solid var(--kb-line);
    box-shadow: none;
    margin: 0;
    min-height: 46px;
    padding: 0 16px;
}

body.kb-ui-beta-live #nav > li {
    background: none;
    border: 0;
    margin: 0 2px;
}

body.kb-ui-beta-live #nav > li > a {
    background: none;
    border: 0;
    border-bottom: 4px solid transparent;
    color: var(--kb-black);
    font-weight: 400;
    min-height: 45px;
    padding: 13px 12px 9px;
    text-shadow: none;
}

body.kb-ui-beta-live #nav > li.active,
body.kb-ui-beta-live #nav > li.inactive:hover,
body.kb-ui-beta-live #nav > li.active > a,
body.kb-ui-beta-live #nav > li.inactive:hover > a,
body.kb-ui-beta-live #nav li a.active,
body.kb-ui-beta-live #nav li a:hover {
    background: none;
    color: var(--kb-orange-dark);
}

body.kb-ui-beta-live #nav > li.active > a,
body.kb-ui-beta-live #nav li a.active {
    border-bottom-color: var(--kb-orange);
    font-weight: 700;
}

body.kb-ui-beta-live #nav li.inactive > ul {
    border: 1px solid var(--kb-line);
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.13);
}

body.kb-ui-beta-live #nav li.inactive > ul a:hover {
    background: #fff3ec;
}

body.kb-ui-beta-live nav[id] {
    background: var(--kb-soft);
    border: 0;
    border-bottom: 1px solid var(--kb-line);
    box-shadow: none;
}

body.kb-ui-beta-live #sub_nav {
    background: transparent;
    border: 0;
    padding: 7px 16px;
    width: auto;
}

body.kb-ui-beta-live .jb-overflowmenu {
    width: 100%;
}

body.kb-ui-beta-live #sub_nav > li > a {
    background-color: transparent;
    border: 1px solid transparent;
    color: var(--kb-black);
}

body.kb-ui-beta-live #sub_nav > li > a:hover,
body.kb-ui-beta-live #sub_nav > li > a.active,
body.kb-ui-beta-live #sub_nav li.active > a {
    background-color: var(--kb-white);
    border-color: var(--kb-line);
    color: var(--kb-orange-dark);
}

body.kb-ui-beta-live #content {
    background: var(--kb-white);
    border: 0;
    min-height: 520px;
    padding: 24px 22px 30px;
}

body.kb-ui-beta-live h1,
body.kb-ui-beta-live h2,
body.kb-ui-beta-live h3,
body.kb-ui-beta-live h4 {
    color: var(--kb-black);
    font-family: "KB Barlow Condensed", "Arial Narrow", sans-serif;
    font-weight: 900;
}

body.kb-ui-beta-live h2,
body.kb-ui-beta-live h3 {
    letter-spacing: 0.01em;
}

body.kb-ui-beta-live input[type="submit"],
body.kb-ui-beta-live input[type="button"],
body.kb-ui-beta-live button,
body.kb-ui-beta-live .button {
    border-radius: 0;
    font-family: "KB Barlow", Arial, sans-serif;
}

body.kb-ui-beta-live input[type="submit"],
body.kb-ui-beta-live button.primary,
body.kb-ui-beta-live .button.primary {
    background: var(--kb-orange);
    border-color: var(--kb-orange);
    color: var(--kb-white);
    font-weight: 700;
    text-shadow: none;
}

body.kb-ui-beta-live input[type="submit"]:hover,
body.kb-ui-beta-live button.primary:hover,
body.kb-ui-beta-live .button.primary:hover {
    background: var(--kb-orange-dark);
    border-color: var(--kb-orange-dark);
}

body.kb-ui-beta-live input[type="text"],
body.kb-ui-beta-live input[type="email"],
body.kb-ui-beta-live input[type="password"],
body.kb-ui-beta-live input[type="search"],
body.kb-ui-beta-live select,
body.kb-ui-beta-live textarea {
    border-color: #bdbdbd;
    border-radius: 0;
    font-family: "KB Barlow", Arial, sans-serif;
}

body.kb-ui-beta-live input:focus,
body.kb-ui-beta-live select:focus,
body.kb-ui-beta-live textarea:focus {
    border-color: var(--kb-orange);
    box-shadow: 0 0 0 2px rgba(234, 91, 12, 0.14);
    outline: 0;
}

body.kb-ui-beta-live table.list,
body.kb-ui-beta-live table.dashboard-stats,
body.kb-ui-beta-live table.custom-data,
body.kb-ui-beta-live .ticket_info,
body.kb-ui-beta-live .thread-entry {
    border-color: var(--kb-line);
    border-radius: 0;
    box-shadow: none;
}

body.kb-ui-beta-live table.list caption,
body.kb-ui-beta-live table.list thead th,
body.kb-ui-beta-live .ticket_info th,
body.kb-ui-beta-live .thread-entry .header {
    background: var(--kb-soft);
    border-color: var(--kb-line);
    color: var(--kb-black);
}

body.kb-ui-beta-live table.list tbody td,
body.kb-ui-beta-live table.list tbody tr:nth-child(2n+1) td {
    background: var(--kb-white);
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 8px;
    padding-top: 8px;
}

body.kb-ui-beta-live table.list tbody tr:hover td,
body.kb-ui-beta-live table.list tbody tr:nth-child(2n+1):hover td {
    background: #fff5ef;
}

body.kb-ui-agent #tickets table.list.queue.tickets {
    width: 100%;
}

body.kb-ui-agent #tickets table.list.queue.tickets thead a[href*="sort=3"] {
    min-width: clamp(340px, 30vw, 560px);
}

body.kb-ui-agent #tickets table.list.queue.tickets tbody td:nth-child(4) span.truncate {
    max-width: calc(100% - 34px) !important;
}

body.kb-ui-agent #response_options .redactor-in {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

body.kb-ui-agent #tickets table.list.queue.tickets thead a[href*="sort=12"],
body.kb-ui-agent #tickets table.list.queue.tickets thead a[href*="sort=13"] {
    font-size: 0;
    min-width: 112px;
}

body.kb-ui-agent #tickets table.list.queue.tickets thead a[href*="sort=12"]::before,
body.kb-ui-agent #tickets table.list.queue.tickets thead a[href*="sort=13"]::before {
    font-size: 14px;
    line-height: normal;
}

body.kb-ui-agent #tickets table.list.queue.tickets thead a[href*="sort=12"]::before {
    content: "Kundenfeedback";
}

body.kb-ui-agent #tickets table.list.queue.tickets thead a[href*="sort=13"]::before {
    content: "Technikermeldung";
}

body.kb-ui-beta-live ul.tabs {
    border-bottom-color: var(--kb-line);
}

body.kb-ui-beta-live ul.tabs li.active,
body.kb-ui-beta-live ul.tabs li.active a {
    background: var(--kb-white);
    border-top-color: var(--kb-orange);
    color: var(--kb-orange-dark);
}

body.kb-ui-beta-live #msg_notice,
body.kb-ui-beta-live #notice_bar,
body.kb-ui-beta-live .notice_bar,
body.kb-ui-beta-live .notice-banner,
body.kb-ui-beta-live .success-banner {
    background: #edf7f0;
    border-left: 5px solid #2e7d4d;
}

body.kb-ui-beta-live #msg_warning,
body.kb-ui-beta-live #warning_bar,
body.kb-ui-beta-live .warning_bar,
body.kb-ui-beta-live .warning-banner {
    background: #fff4e9;
    border-left: 5px solid var(--kb-orange);
}

body.kb-ui-beta-live #msg_error,
body.kb-ui-beta-live #error_bar,
body.kb-ui-beta-live .error_bar,
body.kb-ui-beta-live .error-banner {
    border-left: 5px solid #a6352d;
}

body.kb-ui-beta-live #msg_notice,
body.kb-ui-beta-live #notice_bar,
body.kb-ui-beta-live .notice_bar,
body.kb-ui-beta-live .notice-banner,
body.kb-ui-beta-live .success-banner,
body.kb-ui-beta-live #msg_warning,
body.kb-ui-beta-live #warning_bar,
body.kb-ui-beta-live .warning_bar,
body.kb-ui-beta-live .warning-banner,
body.kb-ui-beta-live #msg_error,
body.kb-ui-beta-live #error_bar,
body.kb-ui-beta-live .error_bar,
body.kb-ui-beta-live .error-banner {
    align-items: center;
    box-sizing: border-box;
    display: flex !important;
    height: auto !important;
    line-height: 1.35 !important;
    margin-bottom: 12px;
    min-height: 42px !important;
    padding: 10px 14px 10px 42px !important;
}

body.kb-ui-beta-live #footer {
    color: var(--kb-gray);
    padding: 18px;
}

body.kb-ui-client #header .flush-right {
    right: 20px;
    top: 16px;
}

body.kb-ui-client #nav li a {
    background-image: none;
    border-radius: 0;
    box-shadow: none;
}

body.kb-ui-client #clientLogin input.btn[type="submit"],
body.kb-ui-client #ticketForm input[type="submit"] {
    background: var(--kb-orange) !important;
    border: 1px solid var(--kb-orange) !important;
    border-radius: 0;
    color: var(--kb-white) !important;
    cursor: pointer;
    display: inline-block;
    float: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    min-height: 38px;
    min-width: 112px;
    padding: 9px 18px;
    text-align: center;
    text-shadow: none;
    width: auto;
}

body.kb-ui-client #clientLogin input.btn[type="submit"]:hover,
body.kb-ui-client #clientLogin input.btn[type="submit"]:focus,
body.kb-ui-client #ticketForm input[type="submit"]:hover,
body.kb-ui-client #ticketForm input[type="submit"]:focus {
    background: var(--kb-orange-dark) !important;
    border-color: var(--kb-orange-dark) !important;
    color: var(--kb-white) !important;
}

body.kb-ui-client #landing_page a.button {
    background: var(--kb-orange);
    border: 1px solid var(--kb-orange);
    border-radius: 0;
    box-shadow: none;
    color: var(--kb-white);
    font-weight: 700;
    text-shadow: none;
}

body.kb-ui-client #landing_page a.green.button {
    background: var(--kb-black);
    border-color: var(--kb-black);
}

body.kb-ui-client #landing_page a.button:hover {
    background: var(--kb-orange-dark);
    border-color: var(--kb-orange-dark);
    color: var(--kb-white);
}

body.kb-ui-client #poweredBy {
    opacity: 0.45;
}

body.kb-ui-client .thread-entry.response .header {
    border-left: 5px solid var(--kb-orange);
}

body.kb-ui-client .thread-entry.message .header {
    border-left: 5px solid var(--kb-black);
}

.kb-ui-toggle-card {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-left: 7px solid #ea5b0c;
    color: #2b2b2b;
    font-family: "KB Barlow", Arial, sans-serif;
    margin: 28px auto;
    max-width: 720px;
    padding: 28px 30px;
}

.kb-ui-toggle-card .kb-ui-kicker {
    color: #c84b05;
    font-weight: 700;
    text-transform: uppercase;
}

.kb-ui-toggle-card h2 {
    font-family: "KB Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 34px;
    font-weight: 900;
    margin: 7px 0 9px;
}

.kb-ui-toggle-card p {
    font-size: 15px;
    line-height: 1.55;
}

.kb-ui-toggle-card form {
    align-items: center;
    display: flex;
    gap: 15px;
    margin-top: 22px;
}

.kb-ui-toggle-button {
    background: #ea5b0c;
    border: 1px solid #ea5b0c;
    border-radius: 0;
    color: #ffffff;
    cursor: pointer;
    font-family: "KB Barlow", Arial, sans-serif;
    font-weight: 700;
    padding: 10px 15px;
}

.kb-ui-toggle-button:hover {
    background: #c84b05;
    border-color: #c84b05;
}

.kb-ui-toggle-cancel {
    color: #555555;
}

.kb-ui-toggle-card .kb-ui-toggle-note {
    border-top: 1px solid #e1e1e1;
    color: #686868;
    font-size: 13px;
    margin: 24px 0 0;
    padding-top: 14px;
}

@media (max-width: 1000px) {
    body.kb-ui-beta-live #container {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
}

/* K+B menu alignment fix v12 */
body.kb-ui-beta-live #nav > li {
    box-shadow: none;
}

body.kb-ui-beta-live #sub_nav > li {
    transform: translateY(-5px);
}

/* K+B all menu alignment fix v13 */
body.kb-ui-beta-live nav[id] {
    min-height: 35px;
}

body.kb-ui-beta-live #sub_nav > li > a.newTicket {
    position: relative;
    top: -5px;
}

/* K+B exact all menu alignment fix v14 */
body.kb-ui-beta-live #sub_nav > li > a.newTicket {
    top: auto;
}

body.kb-ui-agent nav[id]:not(.jb-overflowmenu) #sub_nav > li > a {
    position: relative;
    top: -2px;
}

body.kb-ui-beta-live #sub_nav > li > a#new-ticket {
    position: relative;
    top: -5px;
}
