﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: Avenir Next;
    src: url(../fonts/Avenir-Next.ttf) format('truetype'),
         url(../fonts/Avenir-Next.woff) format('woff');
}

:root {
    --main-color: #e75f19;
    --main-color-faded: #F7A6007d;
    --secondary-color: #213794;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}

::-ms-reveal {
    display: none !important;
}

html, body, app {
    height: 100vh;
    max-width: 100vw;
    font-family: Avenir Next !important;
}

.ot-url {
    color: var(--secondary-color) !important;
    text-decoration-line: underline !important;
}

.overflow-y-auto {
    overflow-y: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

.ot-primary {
    background-color: var(--main-color) !important;
    color: white !important;
}

.ot-secondary {
    background-color: var(--secondary-color) !important;
    color: white !important;
}

.ot-gray-button {
    background-color: lightgray;
    color: white;
}

.ot-toolbar-login {
    background-image: linear-gradient(to right, var(--main-color), #e59f3f);
    height: 140px;
    box-sizing: border-box;
    text-align: center;
}

.ot-login-password-icon-container {
    border-bottom: 1px solid var(--main-color);
}

.ot-login-password-icon {
    width: 30px;
    height: 36px;
    display: flex;
    align-self: flex-end;
    color: var(--main-color);
}

.ot-login-password-icon.clicked {
    filter: grayscale(1);
}

.ot-toolbar {
    background-image: linear-gradient(to right, var(--main-color), #e59f3f);
    height: 64px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.ot-news-notification-badge {
    height: 10px;
    width: 10px;
    margin-right: 10px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
}

.ot-notification-badge {
    position: absolute;
    margin-left: -15px;
    padding: 2px 7px;
    border-radius: 50%;
    background: red;
    color: white;
    font-size: 10px;
}

.ot-toolbar {
    padding: 0 16px 0 16px;
}

.ot-toolbar-text {
    display: none;
}

.ot-clickable-icon {
    cursor: pointer;
    width: 28px;
}

.ot-home-button {
    width: 80px;
    cursor: pointer;
}

.ot-drawer-item-bold {
    font-weight: bold;
}

.ot-chart-transparent svg {
    fill-opacity: 0 !important;
}

.ot-spenderdaten-overflow {
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.ot-drawer-separator {
    display: block;
    height: 1px;
    width: 100%;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

    .ot-drawer-separator:hover {
        background-color: var(--main-color) !important;
        cursor: none !important;
    }

.ot-news-image {
    width: 100%;
    max-width: 768px;
}

.ot-news-html-container {
    line-height: 1.5em;
    height: 3em;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 2;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
}

    .ot-news-html-container::before {
        content: 'Mehr lesen';
        float: right;
    }

.text-container {
    position: relative;
    display: block;
    color: #838485;
    overflow: hidden;
    white-space: normal;
}

.text-content {
    word-break: break-all;
    position: relative;
    display: block;
    max-height: 3em;
}

.ellipsis {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: left;
    background: #ededed;
}

.ot-view-separator {
    display: block;
    height: 1px;
    width: 100%;
    border: 0;
    border-top: 1px solid var(--main-color);
    margin: 1em 0;
    padding: 0;
}

.ot-logo {
    width: 100px;
}

.ot-bg-black-faded {
    background-color: var(--main-color);
}

.ot-home-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.ot-html-checkbox {
    border: 2px solid white;
    box-shadow: 0 0 0 1px var(--main-color);
    appearance: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background-color: #fff;
    transition: all ease-in 0.2s;
}

    .ot-html-checkbox:checked {
        background-color: var(--main-color);
    }

.ot-fontcolor-white {
    color: white;
}

.ot-fontcolor-secondary {
    color: var(--secondary-color);
}

.k-button, .k-input, .k-dropdownlist  {
    font-family: 'Avenir Next' !important;
}

#no-box-shadow.k-button {
    box-shadow: none !important;
}

@media only screen and (max-width: 600px) {
    #ot-toolbar-text, .ot-toolbar-text {
        display: none;
    }
}

.ot-toolbar-icon {
    font-size: 24px;
}

.ot-barcode-vertical {
    transform: rotate(90deg);
}

.ot-area-header {
    color: var(--secondary-color);
}

.card {
    transition: box-shadow 280ms cubic-bezier(.4,0,.2,1);
    display: block;
    position: relative;
    padding: 8px 16px;
    border-radius: 4px;
    max-width: 800px;
    width: 100%;
    margin: .5em auto 1em;
}

    .card:not(:empty) {
        box-shadow: 0 2px 1px -1px rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 3px 0 rgba(0,0,0,.12);
    }

.card-title {
    font-size: 24px;
    font-weight: 500;
}

.spender-foto {
    max-height: 6em;
}


app {
    position: relative;
    display: flex;
    flex-direction: column;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.background-img {
    background-image: url('../images/png/hintergrund-home-logo.png'), url('../images/png/hintergrund-home-top.png'), url('../images/png/hintergrund-home.png');
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 150px 77px, 100% 58%, 100% 100%;
    background-position: 5% 9%, center 35%, center;
}

@media screen and (orientation:landscape) {
    .background-img {
        background-image: url('../images/png/hintergrund-home-logo.png'), url('../images/png/hintergrund-home-top.png'), url('../images/png/hintergrund-home.png');
        background-repeat: no-repeat, no-repeat, no-repeat;
        background-size: 110px 54px, 30% 80%, 100% 100%;
        background-position: 5% 28%, center 70%, center center;
    }
}

.background-img-faded {
    background-color: #ededed;
}

.mobile-element {
    display: block;
}

.desktop-element {
    display: none;
}

.ot-url {
    text-decoration: none;
    color: black;
}

.url-container {
    justify-content: center;
}

.ot-input {
    background-color: transparent !important;
    border-color: var(--main-color) !important;
}

.ot-input .k-input-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ot-login-input {
    background-color: transparent !important;
    border-color: var(--main-color) !important;
}

.ot-login-input .k-input-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ot-login-input-container {
    flex-direction: column;
    align-items: flex-start;
}

    .ot-login-input-container label {
        margin-bottom: 0;
    }

::-webkit-input-placeholder {
    color: transparent !important;
}

::-moz-placeholder {
    color: transparent !important;
}

::-ms-placeholder {
    color: transparent !important;
}

::placeholder {
    color: transparent !important;
}

.show-placeholder .k-input-inner::-webkit-input-placeholder {
    color: gray !important;
}

.show-placeholder .k-input-inner::-moz-placeholder {
    color: gray !important;
}

.show-placeholder .k-input-inner::-ms-placeholder {
    color: gray !important;
}

.show-placeholder .k-input-inner::placeholder {
    color: gray !important;
}

.mobile-logo {
    display: block;
    height: 100%;
    width: 11em;
    padding: 5px 0px 5px 0px;
}

.desktop-logo {
    display: none;
}

.ot-logo-container {
    justify-content: center;
}

.ot-marketing-icon {
    width: 2.5em;
}

.ot-url-image {
    width: 7em;
}

.ot-footer {
    display: flex;
    align-items: center;
    padding: 5px;   
}

.ot-footer-link {
    color: white !important;
    font-size: small;
}

.footer-background-img {
    background-image: url('../images/jpg/footer.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}

.ot-login-container {
    margin: initial;
}

.ot-separator {
    border-left: 2px solid var(--main-color-faded);
}

.ot-gelesen {
    color: #a0a0a0 !important;
}

    .ot-gelesen img,
    .ot-gelesen a {
        filter: grayscale(1);
    }

.ot-icon-gelesen {
    background-color: #a0a0a0 !important;
}

.ot-input-icon {
    font-size: 22px;
}

@media only screen and (min-width: 768px) {
    .background-img {
        background-image: none;
    }

    .background-img-faded {
        background-color: #ededed;
    }

    .mobile-element {
        display: none !important;
    }

    .desktop-element {
        display: block;
    }

    .url-container {
        justify-content: space-between;
    }

    .ot-login-input-container {
        flex-direction: row;
        align-items: center;
    }

        .ot-login-input-container label {
            margin-bottom: auto;
        }

    ::-webkit-input-placeholder {
        color: gray !important;
    }

    ::-moz-placeholder {
        color: gray !important;
    }

    ::-ms-placeholder {
        color: gray !important;
    }

    ::placeholder {
        color: gray !important;
    }

    .ot-toolbar-text {
        margin-left: 10px;
        font: 500 20px/32px 'Avenir Next';
        color: white;
        display: inline-block !important;
    }

    .desktop-logo {
        display: inline-block !important;
        height: 60px;
        padding: 2px 15px 2px 15px;
    }

    .mobile-logo {
        display: none !important;
    }

    .ot-toolbar {
        background-image: linear-gradient(to right, var(--main-color), #e59f3f);
        height: 64px;
        box-sizing: border-box;
        flex-shrink: 0;
    }

    .ot-toolbar-login {
        background-image: linear-gradient(to right, var(--main-color), #e59f3f);
        height: 64px;
        box-sizing: border-box;
    }

    .ot-logo-container {
        justify-content: space-between;
    }

    .ot-login-container {
        margin-top: 3rem;
    }
}
