﻿/* 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;
  margin-top: -4px;
}

/* 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 */
}

.stock-counter {
    min-width: 48px;
    min-height: 48px;
    line-height: 42px;
    text-align: center;
    padding: 2px 4px 0 4px;
    display: inline-block;
    border-radius: 6px;
    font-size: 24px;
}

.bg-magenta {
    background-color: #a207a2;
}

.btn-magenta {
    color: #fff;
    background-color: #a207a2;
    border-color: #a207a2;
}

@media screen and (max-width: 576px) {
    [data-notify="container"] {
        max-width: 70%;
    }
}

/* prevent 'jump' when scrollbar appears */
.always-scroll {
    overflow-y: scroll;
}

.no-scroll {
    overflow-y: hidden;
}

/* forms */
.validation-errors {
    padding-left: 20px;
}

.form-check {
    padding-top: .375rem;
}

.inline-control .form-control {
    display: inline;
    width: auto;
}

/* custom file inside form-group stretches outside the column - resize it to keep it inside */
.form-group .custom-file label {
    left: 15px;
    right: 15px;
}

/* ensure buttons aren't against each other */
.btn { margin-right: 4px; }
.btn-group .btn { margin-right: 0; }

/* tables */

/* disable hover animation by permanently looking 'disabled' */
.table-hover-disable {
    color: #212529;
    background-color: rgba(0,0,0,.075);
}

/* disable hover animation by making the background white*/
.table-no-hover, .table-no-hover:hover, .table-no-hover tr {
    background: white !important;
}


/* tables */
/* table caption at the top by default */
table caption {
    caption-side: top;
}


/* UI */
.ui-overlay {
    background-color: rgba(0,0,0,1);
}

input.ui-overlay-disabled, select.ui-overlay-disabled, textarea.ui-overlay-disabled, area.ui-overlay-disabled {
    background-color: white !important;
}

.ui-dialog {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.ui-dialog .container-fluid, .ui-dialog .container {
    padding: 15px;
}

.ui-dialog .modal-content {
    border: 0;
}

.ui-dialog .modal-body {
    padding: 1.05rem;
}
