﻿:root {
    --main-color: #64c4dd;
    --secondary-color: #ffffff;
    --secondary-color2: #ffffff00;
    --secondary-color3: #f4f4f4;
    --tertiary-color: #575656;
    --tertiary-color2: #57565635;
    --tertiary-color3: #57565615;
    --a-color: #21D4FD;
    --a-hover-color: #B721FF;
    --button-start-main-color: #9af574;
    --button-start-hover-color: #9af574;
    --button-pause-main-color: #DDA964;
    --button-pause-hover-color: #d4b081;
    --button-stop-main-color: #dd6464;
    --button-stop-hover-color: #f83152;
    --error-color: red;
}

*[data-tooltip] {
    position: relative;
}

*[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    text-align: center;
    border-radius: 10px;
    top: -40px;
    right: 0px;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity .15s ease-in-out;
    -moz-transition: opacity .15s ease-in-out;
    -ms-transition: opacity .15s ease-in-out;
    -o-transition: opacity .15s ease-in-out;
    transition: opacity .15s ease-in-out;
    display: block;
    font-size: 16px;
    line-height: 16px;
    background: var(--secondary-color);
    padding: 10px;
    border: 1px solid #c0c0c0;
    box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.4);
}

*[data-tooltip]:hover::after {
    opacity: 1;
    z-index: 70;
}

.jaas-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--main-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease-out;
}

    .jaas-button svg {
        transition: stroke 0.2s ease-out;
    }

    .jaas-button:hover {
        background-color: var(--secondary-color2);
    }

        .jaas-button:hover svg path {
            stroke: var(--main-color);
        }


.jaas-theme .page-content {
    background-color: red;
}

.customeredit-flex {
    display: flex;
    flex-direction: row;
}


.customeredit-flex-header {
    text-align: center;
    font-size: 20px;
}

.customeredit-flex-left {
    display: flex;
    width: 50%;
    padding-right: 30px;
    padding-bottom: 10px;
    flex-direction: column;
}

.customeredit-flex-right {
    display: flex;
    width: 50%;
    padding-left: 30px;
    padding-bottom: 10px;
    flex-direction: column;
}


.customeredit-flex-label-input {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.customeredit-flex-input {
    width: 65%;
}

hr {
    margin-bottom: 30px;
}

.btn-neu {
    color: var(--secondary-color);
    background-color: var(--main-color);
    border: 0px solid var(--main-color);
    border-radius: 20px;
    padding-left: 30px;
    padding-right: 30px;
    height: 64px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    margin-top: 10px;
}

    .btn-neu:hover {
        background-color: var(--secondary-color);
        color: var(--main-color);
        cursor: pointer;
        -webkit-box-shadow: 0px 3px 23px -1px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 3px 23px -1px rgba(0, 0, 0, 0.3);
        border: 0px solid var(--main-color);
        text-decoration: none;
    }

button {
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all ease-in-out .5s;
}

button:hover {
    filter: brightness(90%);
}

button::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 25%;
    height: 100%;
    width: 50%;
    background-color: #000;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: all ease-in-out 0.4s;
    transform: scale(5, 5);
}

button:active::after {
    padding: 0;
    margin: 0;
    opacity: .2;
    transition: 0s;
    transform: scale(0, 0);
}

.bold {
    font-family: TitilliumWeb-SemiBold, Arial, sans-serif;
}

.top-row-dashboard {
    background-color: var(--main-color);
    padding: 20px;
    justify-content: space-between;
    margin-top: 10px;
    border-radius: 20px;
    height: 4.5rem;
    display: flex;
    align-items: center;
    -webkit-box-shadow: 0px 3px 23px -1px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 3px 23px -1px rgba(0, 0, 0, 0.3);
}

.top-row-dashboard > h1 {
    color: var(--secondary-color);
    font-size: 30px;
}

.top-row-dashboard ::deep a, .top-row ::deep .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row-dashboard ::deep a:hover, .top-row ::deep .btn-link:hover {
    text-decoration: underline;
}

.top-row-dashboard ::deep a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.timeclock-img {
    height: 90px;
    padding-right: 30px;
}
/* header */

.header-mobile {
    background-color: none;
    padding: 0px 20px 0px 20px;
    height: auto;
    margin-bottom: 30px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.header {
    position: relative;
    z-index: 3;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: var(--main-color);
    -webkit-box-shadow: 0px 3px 23px -1px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 3px 23px -1px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.header li a {
    display: block;
    padding: 20px 20px;
    text-decoration: none;
    color: var(--secondary-color);
}

.header li a:hover,
.header .menu-btn:hover {
    background-color: var(--secondary-color3);
    color: var(--main-color);
}

.header .logo {
    display: block;
    float: left;
    font-size: 2em;
    padding: 10px 20px;
    text-decoration: none;
}

/* menu */

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 20px 20px;
    position: relative;
    user-select: none;
}

.header .menu-icon .navicon {
    background: var(--main-color);
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 20px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: var(--main-color);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 5px;
}

.header .menu-icon .navicon:after {
    top: -5px;
}

/* menu btn */

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked ~ .menu {
    max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}

.nav-headline > h1 {
    color: var(--secondary-color);
    padding-top: 6px;
    padding-left: 30px;
    padding-right: 30px;
}

.scan-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 48em = 768px */

@media (min-width: 769px) {


    .header li {
        float: left;
    }

    .header li a {
        padding: 20px 30px;
    }

    .header .menu {
        clear: none;
        float: right;
        max-height: none;
    }

    .header .menu-icon {
        display: none;
    }
}


@media (max-width: 640.98px) {
    html, body {
        background-image: url("wwwroot/Media/background-9_16.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }

    .scan-header {
        flex-direction: row;
    }

    .header-mobile {
        background-color: white;
        padding: 20px;
        height: 90px;
        margin-bottom: 15px;
        -webkit-box-shadow: 0px 3px 23px -1px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 3px 23px -1px rgba(0, 0, 0, 0.3);
    }

    .logout {
        display: block;
        margin-bottom: 15px;
    }

    .timeclock-img {
        height: 50px;
        margin-left: 0px;
        padding-right: 0px;
    }

    .button-start-stop-div {
        flex-direction: column;
    }

    .button-start {
        width: 250px;
    }

    .nav-headline {
        display: none;
    }

    .button-stop {
        width: 250px;
    }

    .timeclock-kachel {
        margin-top: 0px;
    }

    .header {
        display: inline;
    }

    .header .menu-icon {
        padding: 20px 0px 20px 0px;
        display: none;
    }


    .header ul {
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 20px;
        bottom: 20px;
        -webkit-box-shadow: 0px 3px 23px -1px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 3px 23px -1px rgba(0, 0, 0, 0.3);
    }

    .header .menu-btn:checked ~ ul {
        margin-bottom: 20px;
    }

    .header .menu-btn:checked ~ .menu {
        margin-left: 0px;
        margin-right: -60px;
    }
}

/* Radzentabs */

.rz-tabview-panel {
    padding: 30px 40px 40px 40px;
}

.rz-tabview.rz-tabview-top > .rz-tabview-nav .rz-tabview-selected {
    border-bottom: 2px solid var(--main-color);
    color: var(--main-color);
    font-family: TitilliumWeb-SemiBold, Arial, sans-serif;
}

.rz-tabview-top > .rz-tabview-nav {
    padding-left: 40px;
}

.rz-tabview-title {
    text-transform: capitalize;
    font-size: 20px;
    padding: 10px;
    font-family: TitilliumWeb-SemiBold, Arial, sans-serif;
}


ul[role=tablist] {
    flex-wrap: wrap;
}

/* Listview toolbar */

.search-filter {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-direction: column;
}

.search-input-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 15px;
    margin-bottom: 15px;
    flex-grow: 0.25;
}

@media (min-width: 769px) {
    .search-filter {
        flex-direction: row;
    }

    .search-input-button {
        margin-bottom: 0px;
    }
}

/* Listviews */

.collection-container > li:first-child {
    background-color: var(--main-color);
    color: var(--secondary-color);
}

    .collection-container > li:first-child .attribute {
        border-left: 1px solid var(--secondary-color);
        border-right: 1px solid var(--secondary-color);
        border-bottom: 1px solid var(--secondary-color);
        border-top: none;
    }

/* 2 Column Card Layout */
@media screen and (max-width: 736px) {
    .collection-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }

    .item {
        border: 1px solid var(--tertiary-color2);
        border-radius: 20px;
        padding: 20px;
    }

    /* Don't display the first item, since it is used to display the header for tabular layouts*/
    .collection-container > li:first-child {
        display: none;
    }

    .attribute::before {
        content: attr(data-name);
        font-family: TitilliumWeb-SemiBold, Arial, sans-serif;
    }

    /* Attribute name for first column, and attribute value for second column. */
    .attribute {
        display: grid;
        grid-template-columns: minmax(9em, 30%) 1fr;
    }
}

/* 1 Column Card Layout */
@media screen and (max-width:580px) {
    .collection-container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .filters {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 20px;
    }
}

/* Tabular Layout */
@media screen and (min-width: 737px) {
    /* The maximum column width, that can wrap */
    .item-container {
        display: grid;
        grid-template-columns: 1.4fr 20fr;
    }

    .attribute-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(var(--column-width-min), 1fr));
    }

    /* Definition of wrapping column width for attribute groups. */
    .part-information {
        --column-width-min: 10em;
    }

    .part-id {
        --column-width-min: 10em;
    }

    .vendor-information {
        --column-width-min: 8em;
    }

    .vendor-information2 {
        --column-width-min: 8em;
    }

    .quantity {
        --column-width-min: 8em;
    }

    .cost {
        --column-width-min: 5em;
    }

    .duty {
        --column-width-min: 5em;
    }

    .freight {
        --column-width-min: 5em;
    }

    .collection {
        border-top: 0px solid var(--tertiary-color2);
    }

    /* In order to maximize row lines, only display one line for a cell */
    .attribute {
        border-right: 1px solid var(--tertiary-color2);
        border-bottom: 1px solid var(--tertiary-color2);
        padding: 10px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        border-left: 1px solid var(--tertiary-color2);
    }

    .collection-container > .item-container:first-child {
        font-family: TitilliumWeb-SemiBold, Arial, sans-serif;
        border-radius: 10px 10px 0px 0px;
        border: none;
    }

        /* Center header labels */
        .collection-container > .item-container:first-child .attribute {
            display: flex;
            align-items: center;
            padding: 10px;
            text-overflow: initial;
            overflow: auto;
            white-space: normal;
        }
}

.customeredit-flex {
    display: flex;
    flex-direction: row;
}


.customeredit-flex-header {
    text-align: center;
    font-size: 20px;
}

.customeredit-flex-left {
    display: flex;
    width: 50%;
    padding-right: 30px;
    padding-bottom: 10px;
    flex-direction: column;
}

.customeredit-flex-right {
    display: flex;
    width: 50%;
    padding-left: 30px;
    padding-bottom: 10px;
    flex-direction: column;
}


.customeredit-flex-label-input {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.customeredit-flex-input {
    width: 65%;
    margin-left: 10px;
}

hr {
    margin-bottom: 30px;
}

.input-form {
    padding: 10px;
    text-align: left;
    font-size: 12pt;
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--tertiary-color2);
    color: var(--tertiary-color);
    box-sizing: border-box;
    font-family: TitilliumWeb-Regular, Arial, sans-serif;
    margin: 0px !important;
    height: 50px;
}

.input-form-error {
    padding: 10px;
    text-align: left;
    font-size: 12pt;
    width: 100%;
    border-radius: 10px;
    border: 1px solid red;
    color: var(--tertiary-color);
    box-sizing: border-box;
    font-family: TitilliumWeb-Regular, Arial, sans-serif;
    margin: 0px !important;
    height: 50px;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}



@media (max-width: 640.98px) {

    .customeredit-flex {
        display: flex;
        flex-direction: column;
    }

    .customeredit-flex-header {
        text-align: center;
        font-size: 20px;
    }

    .customeredit-flex-left {
        display: flex;
        width: 100%;
        padding-right: 0px;
        padding-bottom: 10px;
        flex-direction: column;
    }

    .customeredit-flex-right {
        display: flex;
        width: 100%;
        padding-left: 0px;
        padding-bottom: 10px;
        flex-direction: column;
    }


    .customeredit-flex-label-input {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .supplieredit-flex-label-input label {
        padding-right: 15px;
    }

    .supplieredit-flex-input {
        width: 65%;
    }

    hr {
        visibility: hidden;
    }
}
