﻿/* 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. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}



@media all and (min-width: 992px) and (max-width: 1199px) {
    .btn-lg-block {
        width: 100% !important;
        display: block !important;
    }
}

@media all and (min-width: 768px) and (max-width: 991px) {
    .btn-md-block {
        width: 100% !important;
        display: block !important;
    }
}

@media all and (min-width: 576px) and (max-width: 767px) {
    .btn-sm-block {
        width: 100% !important;
        display: block !important;
    }
}

@media all and (max-width: 575px) {
    .btn-xs-block {
        width: 100% !important;
        display: block !important;
    }
}

.text-sm {
    font-size: 80%;
}

.text-md {
    /*font-size: 85%;*/
}

.text-muted-extended {
    color: rgba(0,0,0,0.4);
}

.text-semi-bold {
    font-weight: 500 !important;
}

flash .alert {
    font-size: 0.875rem;
}

flash .alert .close span {
    font-size: 1.25rem;
}

.bg-hemkop-red {
    background-color: #ee1c2e;
}

.navbar-unit {
    border-top: 1px solid #ffffff;
}

.toggle-icon-collapse[aria-expanded="true"] i[class^="bi-"]::before {
    transform: rotate(180deg);
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #ee1c2e;
    background-color: #ee1c2e;
}

@media (min-width: 575.99px) {
    .edit-customer-form-grid {
        margin-left: 0;
        margin-right: 0;
    }

    .edit-customer-form-grid .col-outer {
        padding-right: 0;
        padding-left: 0;
    }
}

.scrollable-area {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
}

.custom-file.dropbox {
    height: 16rem;
    border: 2px dashed rgba(0,0,0,0.15);
    
}

.custom-file.dropbox .custom-file-label {
    height: 100%;
    width: 100%;
    border:none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-file.dropbox .custom-file-label:hover {
    cursor: pointer;
    background-color: rgba(0,0,0,0.025);
}

.custom-file.dropbox .custom-file-label i.bi {
    display: block;
    font-size: 2rem;
    color: rgba(0,0,0,0.4);
}

.custom-file.dropbox .custom-file-label span {
    display: block;
    font-size: 0.875rem;
    color: rgba(0,0,0,0.5);
    font-weight: 500;
}

.custom-file.dropbox .custom-file-label::after {
    display: none;
}

.text-line-through {
    text-decoration: line-through;
    text-decoration-color: rgba(0,0,0,0.33);
}

textarea.resize-none {
    resize: none;
}
textarea.resize-horizontal {
    resize: horizontal;
}
textarea.resize-vertical {
    resize: vertical;
}

.cursor-pointer:hover {
    cursor: pointer !important;
}

#customer-sort-list .sort-order-item {
    min-height: 8.125rem;
    height: auto;
}
#customer-sort-list .sort-order-item:hover {
    cursor: move;
}
#customer-sort-list .ui-sortable-helper {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}
#customer-sort-list .ui-state-highlight {
    min-height: 8.125rem;
    background-color: #fafafa;
    box-shadow: inset 0px 1px 4px 2px rgba(0,0,0,0.1);
}

.reject-replacement-article-td {
    background-color: #f8d7da !important;
    color: var(--danger);
    font-weight: 500;
}

.reject-replacement-article-tr td {
    background-color: #f8d7da !important;
}

.highlight-bonus-number {
    background-color: rgba(255, 243, 205, 0.5) !important;
}

.highlight-bonus-number .customer-bonus {
    font-weight: 500;
}

.highlight-as-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.popconfirm-panel {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
    width: 0px;
}
.popconfirm-panel.in {
    width: auto;
}

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: .75rem;
    line-height: 1.5;
    font-weight: 500;
}
.transparent-block-link {
    background-color: transparent;
    color: inherit;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.transparent-block-link:hover {
    background-color: rgba(0,0,0,0.015);
    color: inherit;
    text-decoration: none;
}