﻿input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

html, body {
    font-family: e-Ukraine-UltraLight, Roboto, Arial, Calibri, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 16px;
    margin-bottom: 0px;
}

body {
    /*overflow-x: hidden;*/
    background: var(--mud-palette-background);
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
}

@media (min-width: 1920px) {
    header, main, footer {
        width: 100%;
        max-width: 1920px;
        margin: 0 auto;
    }

    .header {
        width: 1920px !important;
        max-width: 1920px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
}

.main {
    margin-top: var(--mud-appbar-height);
    flex: 0;
}

.nav__item-svg, .nav__item svg {
    height: 1.6rem;
    width: 1.6rem;
}

.content {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }


.contacts {
    display: flex;
    flex-direction: column;
    color: white;
    font-size: .8rem;
    align-items: flex-end;
}

.search {
    width: 100%;
    display: flex;
    align-items: center;
}

.search-input {
    border: 0;
    color: black;
    background: #fff;
    padding: 0.5rem 1rem;
    height: fit-content;
    width: 100%;
    border-top-left-radius: .3rem;
    border-bottom-left-radius: .3rem;
    border: 1px solid #BF2300;
    border-right: 0;
}

    .search-input::placeholder {
        color: black;
    }

    .search-input:active, .search-input:focus, .search-input .valid.modified {
        outline: 0;
        outline-offset: 0;
    }

.search-button {
    border: 0;
    color: white;
    background: #bf2300;
    padding: 0.35rem 1rem;
    font-family: e-Ukraine-Light;
    width: fit-content;
    height: fit-content;
    border-top-right-radius: .3rem;
    border-bottom-right-radius: .3rem;
    border: 1px solid #BF2300;
    border-left: 0;
    cursor: pointer;
    transition: background 0.5s;
}

    .search-button:hover {
        background: #9d250a;
        transition: background 0.5s;
    }



.icon-x-small {
    font-size: 1rem;
}

.icon-small {
    font-size: 1.5rem;
}

.icon-medium {
    font-size: 2rem;
}

.icon-large {
    font-size: 4rem;
}

.item {
    text-align: center;
    color: white;
    cursor: pointer;
}

    .item:hover i, .item:hover span:not(:first-child), .social i:hover {
        color: #000;
        transition: color 0.5s;
    }

.social i:hover {
    color: #bf2300;
    transition: color 0.5s;
}

.item:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

hr {
    background: #d0d5dd;
    height: 1px;
    border: 0;
    box-sizing: content-box;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.main-cabinet, .content {
    background: var(--mud-palette-background);
}

.form-control-identity {
    border: 0px;
    border-bottom: 2px solid #BF2300;
    border-radius: 0px;
    min-height: 2.5rem;
}


input[type=submit] {
    border: 0;
}

.fill-available {
    width: -webkit-fill-available;
}

.block-center {
    margin: 0 auto;
}


.preload * {
    -webkit-transition: all 0s linear;
    -moz-transition: all 0s linear;
    -ms-transition: all 0s linear;
    -o-transition: all 0s linear;
}

.card-button {
    height: 100%;
    display: flex;
    align-items: center;
}

.settings-card .denomination {
    color: #C0C0C0;
    font-size: .6rem;
}

.settings-card .value {
    font-size: .8rem;
    margin-top: .36rem;
}

.settings-card ul {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-left: 0;
}

.settings-card li {
    width: 32%;
    padding: 1.4rem;
}

.avatar {
    cursor: pointer;
    width: 5rem;
    height: 5rem;
    background-color: dodgerblue;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 400;
}

.avatar--mini {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
}

.card {
    font-family: e-Ukraine-Light;
    margin-bottom: 10px;
}

    .card .row {
        vertical-align: middle;
        margin: 20px 0px;
    }

    .card .col {
        display: flex;
        flex-direction: column;
    }

    .card .denomination {
        color: #c6c6c6;
    }

    .card .value {
        font-size: 1.1rem;
    }



.pointer {
    cursor: pointer;
}

.products-list {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    padding-left: 0;
}

@media (max-width: 1026px) {
    .products-list .product-item {
        width: 50%;
    }
}

@media (max-width: 502px) {
    .products-list .product-item {
        width: 100%;
    }
}

.product-item {
    width: 33.33333%;
    background: #fff;
    position: relative;
    padding: 0.625rem 0.625rem 1rem;
    outline: 1px solid #ccc;
    border: 0;
    list-style: none;
    box-shadow: #ccc 2px 2px;
}

.item-info {
    display: flex;
    flex-direction: column;
}


.background {
    left: -50px;
    top: -50px;
    bottom: -50px;
    right: 0;
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    background: rgb(230 235 230);
}


.form-group {
    font-size: .9rem;
}

.alert span {
    display: block;
    font-size: .9rem;
}

.mud-overlay.mud-overlay-drawer {
    z-index: calc(var(--mud-zindex-appbar) - 3) !important;
}

.header.mud-appbar .mud-toolbar-appbar {
    height: var(--mud-appbar-height);
}

.header-drawer {
    z-index: calc(var(--mud-zindex-appbar) - 2) !important;
}

    .header-drawer.mud-drawer.mud-drawer-temporary.mud-drawer-pos-top.mud-drawer--closed {
        top: calc(-1*(var(--mud-drawer-content-height) + var(--mud-appbar-height)));
    }

    .header-drawer.mud-drawer.mud-drawer-temporary.mud-drawer-pos-top.mud-drawer--open {
        top: var(--mud-appbar-height);
        max-width: 1920px;
        margin: 0 auto !important;
        background: var(--custom-palette-main-dropdown-menu-background);
    }

.seller-drawer.mud-drawer-fixed.mud-drawer-mini.mud-drawer-clipped-always {
    top: var(--mud-appbar-height) !important;
    height: calc(100% - var(--mud-appbar-height) - 74px); /* Height drawer footer (74px) */
}

.seller-drawer.mud-drawer-fixed.mud-drawer-mini.mud-drawer-clipped-always,
.account-drawer.mud-drawer-fixed.mud-drawer-mini.mud-drawer-clipped-always,
.admin-drawer.mud-drawer-fixed.mud-drawer-mini.mud-drawer-clipped-always,
.manage-base-drawer.mud-drawer-fixed.mud-drawer-mini.mud-drawer-clipped-always {
    border-right: 1px solid var(--mud-palette-grey-lighter);
}

@media (min-width: 1920px) {
    .seller-drawer.mud-drawer-fixed.mud-drawer-mini.mud-drawer-clipped-always,
    .account-drawer.mud-drawer-fixed.mud-drawer-mini.mud-drawer-clipped-always,
    .admin-drawer.mud-drawer-fixed.mud-drawer-mini.mud-drawer-clipped-always,
    .manage-base-drawer.mud-drawer-fixed.mud-drawer-mini.mud-drawer-clipped-always {
        left: calc((100vw - 1920px - 8px) / 2); /* 8px - width scrollbar */
    }
}

@media (max-width: 599px) and (orientation: portrait) {
    .mud-drawer-fixed.mud-drawer-mini.mud-drawer-clipped-always,
    .mud-drawer-fixed.mud-drawer-persistent:not(.mud-drawer-clipped-never),
    .mud-drawer-fixed.mud-drawer-responsive.mud-drawer-clipped-always,
    .mud-drawer-fixed.mud-drawer-temporary.mud-drawer-clipped-always {
        top: var(--mud-appbar-height) !important;
        height: calc(100% - (var(--mud-appbar-height) - var(--mud-appbar-height)/8));
    }
}