﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    z-index:1010;
}

.main {
    flex: 1;
}

    /*.main .top-row {
        background-color: #e6e6e6;
        border-bottom: 1px solid #d6d5d5;
    }*/

    .main .top-row {
        background: linear-gradient(45deg,rgb(0, 33, 15) 0%, rgb(24, 113, 45) 100%);
        border-bottom: 5px solid rgba(218, 168, 51,0.8);
        color: rgba(218, 168, 51,0.8);
    }

/*.main.top-row > text > color-profile

        .main.top-row > li > a {
            float: none;
            line-height: 19px;
            padding: 9px 10px 11px;
            text-decoration: none;
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
            color: #ddd;
        }*/

.sidebar {
    background-image: linear-gradient(225deg,rgb(0, 33, 15) 0%, rgb(24, 113, 45) 100%);
}

    /*.sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }*/

    .sidebar .navbar-brand {
        font-size: 1.1rem;
        color: rgba(218, 168, 51,0.8);
    }

        .sidebar.navbar-brand.active {
            color: rgba(218, 168, 51,0.8);
        }

        .sidebar.navbar-brand:hover {
            color: rgba(218, 168, 51,0.8);
        }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    /*.nav-item a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }*/

    .nav-item a {
        color: rgba(218, 168, 51,0.8);
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }



        .nav-item a.active {
            background: linear-gradient(90deg,rgba(218, 168, 51,0.5) 0%, rgba(249, 226, 146,0.5)50%, rgba(218, 168, 51,0.5) 100%);
            /*background-color: rgba(255,255,255,0.25);*/
            color: black;
        }

        .nav-item a:hover {
            background: linear-gradient(90deg,rgba(218, 168, 51,0.25) 0%, rgba(249, 226, 146,0.25) 50%, rgba(218, 168, 51,0.25) 100%);
            /*background-color: rgba(255,255,255,0.1);*/
            color: black;
        }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    /**
    Loading animation
*/
    svg {
        stroke: none;
        fill: #18702d;
        width: 400px;
        margin-left: auto;
        margin-right: auto;
        transform: translateY(55%);
    }

    .r1 {
        fill: #fff;
    }

    .big {
        transform: scale(5) translate(calc(-9px / 5), calc(-9px / 5));
        transform-origin: 100% 100%;
        transform-box: fill-box;
    }

    .r_ol {
        transform-origin: 0% 0%;
        transform-box: fill-box;
    }

    svg .r_ol {
        animation: small2big 2s ease-in-out infinite;
    }

    svg .big {
        animation: big2small 2s ease-in-out infinite;
    }

    svg .r_or {
        animation: or2ol 2s ease-in-out infinite;
    }

    svg .r_ul {
        animation: ul2ol 2s ease-in-out infinite;
    }

    svg .g1 {
        animation: rot 2s ease-in-out infinite;
    }

    @keyframes or2ol {
        0% {
            transform: scale(1) translate(0);
        }

        25% {
            transform: scale(1) translate(0);
        }

        50% {
            transform: scale(1) translate(-50px, 0);
        }

        50.001% {
            transform: scale(1) translate(0);
        }
    }

    @keyframes ul2ol {
        0% {
            transform: scale(1) translate(0);
        }

        75% {
            transform: scale(1) translate(0);
        }

        100% {
            transform: scale(1) translate(0, -50px);
        }
    }

    @keyframes small2big {
        0% {
            transform: scale(1) translate(0);
        }

        25% {
            transform: scale(5) translate(calc(9px / 5), calc(9px / 5));
        }

        50% {
            transform: scale(5) translate(calc(9px / 5), calc(9px / 5));
        }

        50.001% {
            transform: scale(1) translate(0);
        }

        75% {
            transform: scale(5) translate(calc(9px / 5), calc(9px / 5));
        }

        100% {
            transform: scale(5) translate(calc(9px / 5), calc(9px / 5));
        }
    }

    @keyframes big2small {
        0% {
            transform: scale(5) translate(calc(-9px / 5), calc(-9px / 5));
        }

        25% {
            transform: scale(1) translate(0);
        }

        50% {
            transform: scale(1) translate(0, -50px);
        }

        50.001% {
            transform: scale(5) translate(calc(-9px / 5), calc(-9px / 5));
        }

        75% {
            transform: scale(1) translate(0);
        }

        100% {
            transform: scale(1) translate(-50px, 0px);
        }
    }

    @keyframes rot {
        0% {
            transform: rotate(45deg);
        }

        12.5% {
            transform: rotate(45deg);
        }

        25% {
            transform: rotate(135deg);
        }

        37.5% {
            transform: rotate(135deg);
        }

        50% {
            transform: rotate(225deg);
        }

        62.5% {
            transform: rotate(225deg);
        }

        75% {
            transform: rotate(315deg);
        }

        87.5% {
            transform: rotate(315deg);
        }

        100% {
            transform: rotate(405deg);
        }
    }

    .g1 {
        transform-origin: 50% 50%;
        transform: rotate(45deg);
    }

    * {
        transition: all 1s ease-in-out;
    }

        *,
        *:before,
        *:after {
            position: relative;
            box-sizing: border-box;
        }
}


.hidden {
    visibility: hidden;
    display: none;
}

fieldset {
    position: relative;
}

.smart-form {
    margin: 0;
    outline: none;
    color: #666;
    position: relative;
}

#newProductElements {
    display: inline-block;
    align-content: space-evenly;
    width: 100%;
    max-width: inherit;
}

    #newProductElements div {
        float: left;
    }

#addProductSection {
    display: inline-block;
}

    #addProductSection div {
        float: left;
    }


#productImg {
    margin-left: 5px;
    margin-bottom: 10px;
    margin-right: 10px;
    border-style: solid;
    border-width: 1px;
    cursor: pointer
}

#productEAN {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    width: 250px;
    vertical-align: top;
}

#productAmount {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    vertical-align: top;
}

#productRemoveButton {
    margin-right: 5px;
    margin-left: 10px;
    margin-bottom: 10px;
    vertical-align: top;
}

.dropdown-item {
    cursor: pointer;
}

#order_save{
    float:right;
}

#addProductFooter {
}

#modalImage {
    cursor: pointer;
    height: auto;
    width: auto;
    max-height: 900px;
    max-width: 1150px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 0%);
}


.blazored-typeahead {
    position: relative;
    width: 100%;
    border: 1px solid #bfbfbf;
    border-radius: 5px;
}

    .blazored-typeahead.valid.modified {
        outline: none !important;
        border: 1px solid #26b050;
    }

    .blazored-typeahead.invalid {
        outline: none !important;
        border: 1px solid red;
    }

.blazored-typeahead__controls {
    position: relative;
    cursor: text;
    display: flex;
}

.blazored-typeahead__input {
    flex: 1;
    max-width: 100%;
    border: none;
    padding: .5rem;
    border-radius: 5px;
}

.blazored-typeahead:focus-within {
    box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);
}

.blazored-typeahead__input:focus {
    outline: none;
}

.blazored-typeahead__input-multi:focus {
    outline: none;
    box-shadow: none;
}

.blazored-typeahead__input-hidden {
    display: none;
}

.invalid {
    border-color: red !important;
}


.blazored-typeahead__input-mask-wrapper {
    display: flex;
    width: 100%;
}

.blazored-typeahead__input-multiselect-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
}

.blazored-typeahead__input-mask-wrapper--disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    border-radius: 5px 0 0 5px;
    color: grey;
}

    .blazored-typeahead__input-mask-wrapper--disabled:focus {
        border: none;
    }

.blazored-typeahead__input-mask {
    display: flex;
    align-items: center;
    flex: 1;
    border-radius: 5px 0 0 5px;
    padding: .5rem;
}

    .blazored-typeahead__input-mask:focus {
        outline: none;
    }

.blazored-typeahead__clear {
    width: 40px;
    display: flex;
    padding: .5rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #dbdbdb;
}

    .blazored-typeahead__clear:hover {
        color: #333333;
    }

.blazored-typeahead__down-arrow path {
    fill: #dbdbdb;
}

.blazored-typeahead__input-icon {
    width: 40px;
    display: flex;
    border-radius: 0 5px 5px 0;
    padding: .5rem;
    cursor: pointer;
    background: none;
}

    .blazored-typeahead__input-icon:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);
    }

    .blazored-typeahead__input-icon:hover {
        background-color: #f5f5f5;
    }

        .blazored-typeahead__input-icon:hover .blazored-typeahead__down-arrow path {
            fill: #333333;
        }

.blazored-typeahead__input-icon--disabled,
.blazored-typeahead__input-icon--disabled:hover {
    background-color: #e9ecef;
    cursor: not-allowed;
}

    .blazored-typeahead__input-icon--disabled .blazored-typeahead__down-arrow path,
    .blazored-typeahead__input-icon--disabled:hover .blazored-typeahead__down-arrow path {
        fill: #9c9c9c;
    }

.blazored-typeahead__multi-value {
    background-color: #dbdbdb;
    display: flex;
    align-items: center;
    min-width: 0px;
    box-sizing: border-box;
    border-radius: 2px;
    margin: .4rem 0 .4rem .4rem;
}

.blazored-typeahead__multi-value-label {
    color: rgb(51, 51, 51);
    font-size: 85%;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    border-radius: 2px;
    overflow: hidden;
    padding: 3px 3px 3px 6px;
}

.blazored-typeahead__multi-value-clear {
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
    border-radius: 2px;
    background-color: transparent;
    border: 0;
    outline: none;
}

    .blazored-typeahead__multi-value-clear:focus {
        outline: none;
    }

    .blazored-typeahead__multi-value-clear:hover {
        background-color: rgb(212, 212, 212);
        color: rgb(222, 53, 11);
    }

.blazored-typeahead__results {
    position: absolute;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    border: 1px solid #dbdbdb;
    min-height: 2rem;
    max-height: 30rem;
    overflow-y: auto;
    z-index: 10;
    width: 100%;
    background: #fff;
}

.blazored-typeahead__result,
.blazored-typeahead__notfound,
.blazored-typeahead__results-header,
.blazored-typeahead__results-footer {
    padding: .5rem;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.blazored-typeahead__selected-item {
    background-color: #dbdbdb;
}

.blazored-typeahead__selected-item-highlighted {
    background-color: #d3e2f2;
}

.blazored-typeahead__active-item,
.blazored-typeahead__result:hover,
.blazored-typeahead__result:focus {
    background-color: #007bff;
    border-top: 1px solid #007bff;
    border-bottom: 1px solid #007bff;
    color: #fff;
    cursor: pointer;
}

.blazored-typeahead__loader {
    width: 24px;
    height: 24px;
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0)
    }

    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 0;
    }
}

.dropdown-menu {
    position:absolute;
    left:-110px;
}


.neworder {
    cursor: pointer;
    background-color:palegoldenrod;
}
.approved {
    cursor: pointer;
    background-color: darkseagreen;
}
.cancelled {
    cursor: pointer;
    background-color: lightsalmon;
}
.exported {
    cursor: pointer;
    background-color: inherit;
}

table.grid-table .grid-header > .grid-header-title > button,
table.grid-table .grid-header > .grid-header-title > a{
    font-weight: bold;
    color: black;
    background-color: #fff;
    border: none;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: black;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #23272b;
    border-color: #23272b;
}
.page-link:hover {
    z-index: 2;
    color: #23272b;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}



.table td, .table th {
    padding: .35rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.grid-table {
    border: 1px solid #d3d3d3;
}



    .grid-table th,
    .grid-table td {
        border: 1px solid #d3d3d3;
    }



    .grid-table thead th,
    .grid-table thead td {
        border-bottom-width: 2px;
    }

.grid-initial-grouping .grid-wrap .grid-extsort-droppable {
    display: none;
    visibility: hidden;
}

.cursor-pointer{
    cursor: pointer;
}

.grid-container{
    margin-top: 40px;
}

.select-button{
    width: 40%;
    margin-top: 8px;
    position: absolute;
    z-index: 9;
}