﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

/*@font-face {
    font-family: Verveine;
    src: url(../fonts/Verveine-Regular.woff2);
}
@font-face {
    font-family: Distro;
    src: url(../fonts/Distro.woff2);
}*/

@font-face {
    font-family: 'Basis Grotesque Pro';
    src: url('../fonts/basis_grotesque/bold/basis-grotesque-bold-pro.eot');
    src: url('../fonts/basis_grotesque/bold/basis-grotesque-bold-pro.eot?#iefix') format('embedded-opentype'), url('../fonts/basis_grotesque/bold/basis-grotesque-bold-pro.woff2') format('woff2'), url('../fonts/basis_grotesque/bold/basis-grotesque-bold-pro.woff') format('woff'), url('../fonts/basis_grotesque/bold/basis-grotesque-bold-pro.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Basis Grotesque Pro';
    src: url('../fonts/basis_grotesque/italic/basis-grotesque-italic-pro.eot');
    src: url('../fonts/basis_grotesque/italic/basis-grotesque-italic-pro.eot?#iefix') format('embedded-opentype'), url('../fonts/basis_grotesque/italic/basis-grotesque-italic-pro.woff2') format('woff2'), url('../fonts/basis_grotesque/italic/basis-grotesque-italic-pro.woff') format('woff'), url('../fonts/basis_grotesque/italic/basis-grotesque-italic-pro.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Basis Grotesque Pro';
    src: url('../fonts/basis_grotesque/off_white/basis-grotesque-off-white-pro.eot');
    src: url('../fonts/basis_grotesque/off_white/basis-grotesque-off-white-pro.eot?#iefix') format('embedded-opentype'), url('../fonts/basis_grotesque/off_white/basis-grotesque-off-white-pro.woff2') format('woff2'), url('../fonts/basis_grotesque/off_white/basis-grotesque-off-white-pro.woff') format('woff'), url('../fonts/basis_grotesque/off_white/basis-grotesque-off-white-pro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bagoss Condensed';
    src: url('../fonts/bagoss/light/BagossCondensed-Light.otf');
    src: url('../fonts/bagoss/light/BagossCondensed-Light.otf?') format('opentype'), url('./fonts/bagoss/light/BagossCondensed-Light.woff2') format('woff2'), url('./fonts/bagoss/light/BagossCondensed-Light.woff') format('woff'), url('./fonts/bagoss/light/BagossCondensed-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Bagoss Condensed';
    src: url('../fonts/bagoss/regular/BagossCondensed-Regular.otf');
    src: url('../fonts/bagoss/regular/BagossCondensed-Regular.otf?') format('opentype'), url('./fonts/bagoss/regular/BagossCondensed-Regular.woff2') format('woff2'), url('./fonts/bagoss/regular/BagossCondensed-Regular.woff') format('woff'), url('./fonts/bagoss/regular/BagossCondensed-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bagoss Condensed';
    src: url('../fonts/bagoss/medium/BagossCondensed-Medium.otf');
    src: url('../fonts/bagoss/medium/BagossCondensed-Medium.otf?') format('opentype'), url('../fonts/bagoss/medium/BagossCondensed-Medium.woff2') format('woff2'), url('../fonts/bagoss/medium/BagossCondensed-Medium.woff') format('woff'), url('../fonts/bagoss/medium/BagossCondensed-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

:root {
    --erbert-blue: #0d6efd;
    --erbert-indigo: #6610f2;
    --erbert-purple: #6f42c1;
    --erbert-pink: #d63384;
    --erbert-red: #dc3545;
    --erbert-orange: #fd7e14;
    --erbert-yellow: #ffc107;
    --erbert-green: #4D5A32;
    --erbert-teal: #20c997;
    --erbert-cyan: #0dcaf0;
    --erbert-black: #000;
    --erbert-white: #fff;
    --erbert-gray: #6c757d;
    --erbert-gray-dark: #343a40;
    --erbert-gray-100: #f8f9fa;
    --erbert-gray-200: #e9ecef;
    --erbert-gray-300: #dee2e6;
    --erbert-gray-400: #ced4da;
    --erbert-gray-500: #adb5bd;
    --erbert-gray-600: #6c757d;
    --erbert-gray-700: #495057;
    --erbert-gray-800: #343a40;
    --erbert-gray-900: #212529;
    --erbert-primary: #AADDF9;
    --erbert-secondary: #4D5A32;
    --erbert-success: #4D5A32;
    --erbert-danger: #E9473F;
    --erbert-bodybg: #E8E4DD;
    --erbert-primary-rgb: 170, 221, 249;
    --erbert-secondary-rgb: 77, 90, 50;
    --erbert-success-rgb: 77, 90, 50;
    --erbert-danger-rgb: 233, 71, 63;
    --erbert-bodybg-rgb: 232, 228, 221;
    --erbert-white-rgb: 255, 255, 255;
    --erbert-black-rgb: 0, 0, 0;
    --erbert-body-color-rgb: 77, 90, 50;
    --erbert-body-bg-rgb: 232, 228, 221;
    --erbert-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --erbert-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --erbert-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --erbert-body-font-family: var(--erbert-font-sans-serif);
    --erbert-body-font-size: 1rem;
    --erbert-body-font-weight: 400;
    --erbert-body-line-height: 1.5;
    --erbert-body-color: #4D5A32;
    --erbert-body-bg: #E8E4DD;
    --erbert-border-width: 1px;
    --erbert-border-style: solid;
    --erbert-border-color: #dee2e6;
    --erbert-border-color-translucent: rgba(0, 0, 0, 0.175);
    --erbert-border-radius: 0.375rem;
    --erbert-border-radius-sm: 0.25rem;
    --erbert-border-radius-lg: 0.5rem;
    --erbert-border-radius-xl: 1rem;
    --erbert-border-radius-2xl: 2rem;
    --erbert-border-radius-pill: 50rem;
    --erbert-link-color: #0d6efd;
    --erbert-link-hover-color: #0a58ca;
    --erbert-code-color: #d63384;
    --erbert-highlight-bg: #fff3cd;
}
html, body {
    font-family: var(--erbert-body-font-family);
    height: 100vh;
    margin: 0;
    color: var(--erbert-body-color)
}

/* Make footer positioned on bottom */
body {
    display: flex;
    flex-direction: column;
    background-color: var(--erbert-body-bg)
}

footer {
    margin-top: auto;
}

h1:focus {
    outline: none;
}

.btn {
    background-color: var(--erbert-primary);
}

.btn-primary {
    background-color: var(--erbert-primary);
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    border: 3px solid;
    border-color: var(--erbert-primary);
    font-family: var(--erbert-font-sans-serif);
    font-style: normal;
    font-weight: 500;
    font-size: min(20px, 5vw);
    color: #4D5A32;
    padding: 10px 30px;
}
    .btn-primary:hover, .btn-primary:active, .btn-primary:focus {
        background-color: #5BA9E2;
        -webkit-border-radius: 100px;
        -moz-border-radius: 100px;
        border-radius: 100px;
        border: 3px solid;
        color: #4D5A32;
        border-color: #5BA9E2;
        box-shadow: none;
    }
    .btn-primary.disabled, .btn-primary:disabled {
        background-color: var(--erbert-primary) !important;
        border-color: var(--erbert-primary) !important;
        color: #4D5A32;
    }

.btn-secondary {
    background-color: rgba(255, 255, 255, 1);
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    border: 3px solid;
    border-color: rgba(255, 255, 255, 1);
    font-family: Distro;
    font-style: normal;
    font-weight: normal;
    font-size: min(20px, 5vw);
    color: var(--erbert-primary);
    padding: 10px 30px;
}

    .btn-secondary:hover {
        background-color: var(--erbert-primary);
        -webkit-border-radius: 100px;
        -moz-border-radius: 100px;
        border-radius: 100px;
        border: 3px solid;
        border-color: rgba(255, 255, 255, 1);
        color: rgba(255, 255, 255, 1);
    }

    .btn-secondary:active {
        background-color: var(--erbert-primary) !important;
        -webkit-border-radius: 100px;
        -moz-border-radius: 100px;
        border-radius: 100px;
        border: 3px solid;
        border-color: rgba(255, 255, 255, 1);
        color: rgba(255, 255, 255, 1);
    }

button.order-not-valid {
}

.content {
    padding-top: 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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }




.swal2-styled.swal2-confirm {
    border: 0;
    border-radius: 0.25em;
    background: initial;
    background-color: #7066e0;
    color: #fff;
    font-size: 1em;
}




.bottone {
    background-color: rgba(237,139,0,1);
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    border: 3px solid;
    border-color: rgba(237,139,0,1);
    color: white;
    /*padding: 20px;*/
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: Distro;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    color: rgba(255,255,255,1);
    width: 100%;
    height: 100%;
    position: relative;
}

    .bottone:hover {
        fill: #80bc00;
        stroke: #80bc00;
        stroke-width: 3px;
        stroke-linejoin: miter;
        stroke-linecap: butt;
        stroke-miterlimit: 4;
        shape-rendering: auto;
    }

.bottone-div {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: min(500px, 85%);
    height: 62px;
    display: block;
    margin-top: 20px;
}

.validation-message {
    margin-top: 10px;
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

input {
    background-color: transparent;
}

@media only screen and (max-width: 600px) {
    input {
        width: 100%;
    }
}



#profile input[type="date"]::-webkit-inner-spin-button,
#profile input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.valid.modified:not([type=checkbox]) {
    outline: none;
}

a {
    color: var(--erbert-secondary)!important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

    a:hover {
        text-decoration: underline !important;
    }

.form-control {
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    border: 1px solid;
    border-color: #4d5a32;
    font-style: normal;
    font-weight: 500;
    font-size: 1.0rem;
    padding: 0.8rem 1.4rem;
    background-color: transparent;
    color: #4d5a32;
}

    .form-control:disabled, .form-control[readonly] {
        opacity: 0.75;
        background-color: transparent;
    }

    .form-control:focus {
        box-shadow: none;
        border-color: #4d5a32;
        background-color: transparent;
        color: #4d5a32;
    }

    .form-control.outline {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid;
        border-color: rgba(0,0,0,1);
        font-style: normal;
        font-weight: normal;
        font-size: 15px;
        padding: 0.8rem 0rem;
        background-color: transparent;
    }

.form-label {
    font-style: normal;
    font-weight: bold;
    font-size: 15px;
    color: rgba(0,0,0,1);
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    width: 90%; /* On small device adds a little bit of lateral padding */
}

.tab-button {
    font-style: normal;
    font-weight: 500;
    font-size: min(31px, 5vw);
    color: rgba(112, 112, 112, 1);
    display: inline-block;
    position: relative;
    z-index: 6;
    cursor: pointer;
}
    .tab-button::after {
        content: "";
        position: absolute;
        left: 0;
        right: auto;
        bottom: -25px;
        width: 100%;
        height: 12px;
        transform: translateY(-50%);
        background: rgba(221, 221, 221, 1);
        border-radius: 11.5px;
        z-index: -1;
    }
    .tab-button.selected {
        font-style: normal;
        font-weight: bold;
        color: var(--erbert-primary);
        text-align: center;
    }
    .tab-button.selected::after {
        background: var(--erbert-primary);
        border-radius: 11.5px;
        z-index: -1;
    }


nav.navbar .navbar-brand img {
    height: 40px;
}

    nav.navbar .email {
        font-weight: 500;
        color: var(--erbert-body-color) !important;
    }

#logout-btn {
    position: absolute;
    background-color: var(--erbert-primary);
    padding: 25px 80px;
    right: 0;
    font-style: normal;
    font-weight: normal;
    font-size: min(30px, 5vw);
    color: rgba(255,255,255,1);
    top: 70px;
}

/* From here start screens */

h1 {
    font-family: "Bagoss Condensed",serif;
    font-style: normal;
    font-weight: 400;
    font-size: 3.5rem;
}

p {
    font-style: normal;
    font-weight: normal;
    font-size: min(16px, 5vw);
    font-family: "Basis Grotesque Pro",sans-serif;
}

.pointer{
    cursor: pointer;
}
tr.selected {
    background-color: var(--erbert-primary);
    /*color: white;*/
}

#preloader {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: white;
    top:0;
    z-index:10;
}

#authenticate {
    width: 100%;
}

@media (min-width: 991.98px) {
    #authenticate > .container {
        max-width: 50%;
    }
}


#authenticate img#logo, #password-recovery img#logo {
    max-width: 45%;
    height: auto;
}

#password-recovery {
    width: 100%;
}

@media (min-width: 991.98px) {
    #password-recovery > .container {
        max-width: 50%;
    }
}

#product-info-box {
    height: 100vh;
    width: 100vw;
    background-color: rgba(255,255,255, 0.5);
    position: fixed;
    top: 0;
    z-index:10;
}

    #product-info-box > .card {
        background-color: white;
        box-shadow: 5px 4px 10px rgb(0 0 0 / 20%);
        margin: 10vw;
        border-radius: 50px 50px 50px 100px;
    }

    #product-info-box > .card > .close {
        position:absolute;
        top: 20px;
        left: 20px;
    }

    #product-info-box > .card img {
        width: 100%;
    }

    #product-info-box > .card span.highlighted {
        color: rgba(132, 189, 0, 1);
    }


#forgot-password h1 {
    font-family: Distro;
    font-style: normal;
    font-weight: bold;
    font-size: min(110px, 10vw);
    color: rgba(80, 54, 41, 1);
}

#forgot-password h2 {
    font-family: Distro;
    font-style: normal;
    font-weight: normal;
    font-size: min(40px, 5vw);
    color: rgba(0, 134, 117, 1);
}

#address h1 {
    font-family: Distro;
    font-style: normal;
    font-weight: bold;
    font-size: min(110px, 10vw);
    color: rgba(80, 54, 41, 1);
}

#address h2 {
    font-family: Distro;
    font-style: normal;
    font-weight: normal;
    font-size: min(40px, 5vw);
    color: rgba(0, 134, 117, 1);
}

#index .form-group > label {
    font-weight: 500;
    white-space: nowrap;
}

input.page-number {
    width: 50px;
    background-color: transparent;
    border: none;
    color: var(--erbert-body-color);
}


#new-order table.totals td, #order table.totals td {
    padding: 10px;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
}

    #new-order table.totals td label, #order table.totals td label {
        font-weight: normal;
    }

#new-order table.totals tr:first-child td:first-child, #order table.totals tr:first-child td:first-child {
    border-right: 2px solid black;
}

table, .table {
    color: #4d5a32;
}

table th.sort {
    cursor: pointer;
}


.total {
    color: #84BD00 !important;
}
.error {
    color: #FF0000 !important;
}
.list-group-item {
    background-color: transparent;
}

th {
    background-color: var(--erbert-secondary) !important;
    color: var(--erbert-body-bg) !important;
}


.footer {
    position: relative;
    height: 400px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    border-top: 2px solid var(--erbert-secondary)
}
    .footer .footer-content {
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        color: rgba(var(--erbert-secondary-rgb), var(--erbert-text-opacity)) !important;
        font-size: 12px;
    }

    .footer .logo {
        width: 20%;
        max-height: 100px;
        height: auto;
    }

    .footer .list-inline-item a {
        border-radius: 50% !important;
        border: 1px solid var(--erbert-secondary) !important;
        height: 50px;
        width: 50px;
    }

    .footer .list-inline-item svg {
        color: var(--erbert-secondary) !important;
        font-size: 20px;
    }

[data-letters]:before {
    content: attr(data-letters);
    display: inline-block;
    font-size: 3em;
    font-family: Distro;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    text-align: center;
    border-radius: 50%;
    background: rgba(0, 134, 117, 1);
    vertical-align: middle;
    color: white;
}

/* icons */
i.fb-icon {
    background: url("/icons/fb-icon-white.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat
}