/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* Ritz theming
-------------------------------------------------- */
:root {
    --ritz-red: #D22;
    --ritz-light-red: #DAA;
    --ritz-strong-red: #E22;
    --ritz-strong-red-transparent: #E224;
    --ritz-really-strong-red: #F00;
    /* Bootstrap replacements*/
    --ritz-bs-75: #BF0000;
    --ritz-bs-80: #CC0000;
    --ritz-bs-85: #D90000;
    --ritz-bs-100: #FF0000;
    --ritz-bs-100-trans: rgba(255, 38, 38, 0.5);
}

.bg-ritz {
    background-color: var(--ritz-red);
}

.bg-strong-ritz {
    background-color: var(--ritz-strong-red);
}

a, .page-link, .color-ritz-strong-red {
    color: var(--ritz-strong-red);
}

a.text-light {
    color: #FFF
}

a:hover, a:focus, a:active, a.active, .page-link:hover {
    color: var(--ritz-really-strong-red);
}

.page-item.active .page-link {
    background-color: var(--ritz-strong-red);
    border-color: var(--ritz-strong-red);
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem var(--ritz-strong-red-transparent);
}

.alert-info a, .badge a {
    color: inherit;
}

/* Boostrap override*/
.btn-primary {
    color: #fff;
    background-color: var(--ritz-bs-100);
    border-color: var(--ritz-bs-100);
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--ritz-bs-85);
    border-color: var(--ritz-bs-80);
}

.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem var(--ritz-bs-100-trans);
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: var(--ritz-bs-100);
    border-color: var(--ritz-bs-100);
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--ritz-bs-80);
    border-color: var(--ritz-bs-75);
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem var(--ritz-bs-100-trans);
}
/* End Bootstrap override*/

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: var(--ritz-strong-red);
    border-color: var(--ritz-strong-red);
}

.form-control:focus {
    border-color: var(--ritz-light-red);
    box-shadow: 0 0 0 0.2rem var(--ritz-strong-red-transparent);
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.table thead th {
    border-top: 0;
    border-bottom: 1px;
}

.display-6 {
    font-size: 1.2em;
}

.col-lg-2 {
    flex: 0 0 14%;
}

.soft-deleted {
    background-color: #EBEFF2;
}

.danger-background {
    background: linear-gradient(45deg, #FA4 12.5%, #444 12.5%, #444 37.5%, #FA4 37.5%, #FA4 62.5%, #444 62.5%, #444 87.5%, #FA4 87.5%);
    background-size: 16px 16px;
}

.failed-background {
    background: #FA4;
}

.success-background {
    background-color: #2f9e44;
}

.shadow-border {
    box-shadow: 0px 0px 3px 3px #EBEFF2;
}

.text-gold {
    color: #FFD700 !important;
}

.fa-15dx {
    font-size: 1.5em;
}

address {
    margin-bottom: 0;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Custom utils
-------------------------------------------------- */
.mw-25em {
    max-width: 25em;
}

.min-width-0{
    min-width: 0;
}

.width-25em {
    width: 25em;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.text-bright {
    color: #EEE;
}

.pre-line {
    white-space: pre-line;
}

.no-wrap {
    white-space: nowrap;
}

.first-line-bold::first-line {
    font-weight: bold;
}

table th {
    white-space: nowrap;
}

.bg-grey {
    background-color: #EBEFF2;
}

.mw-5 {
    max-width: 5em;
}

.top-right {
    position: absolute;
    top: 0;
    right: 0;
}

.w-8px {
    width: 8px;
}

.mt--1 {
    margin-top: -.25rem;
}
/* Base style
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

html, body {
    height: 100%;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

.footer {
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Product status
-------------------------------------------------- */

.product-status-none {
    background-color: transparent;
}
.product-status-continueproduction {
    background-color: #2f9e44;
}
.product-status-changeproductionwithreason {
    background-color: #fab005;
}
.product-status-stopproductionwithreason {
    background-color: #f03e3e;
}
.product-status-deleteproductwhennostock {
    background-color: #adb5bd;
}
.product-status-deleteproduct {
    background-color: #212529;
}

.product-status-border-none {
    border-left: 8px solid transparent;
}

.product-status-border-continueproduction {
    border-left: 8px solid #2f9e44;
}

.product-status-border-changeproductionwithreason {
    border-left: 8px solid #fab005;
}

.product-status-border-stopproductionwithreason {
    border-left: 8px solid #f03e3e;
}

.product-status-border-deleteproductwhennostock {
    border-left: 8px solid #adb5bd;
}

.product-status-border-deleteproduct {
    border-left: 8px solid #212529;
}