﻿/* 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;
}

section {
    margin: var(--standard-margin);
}

.btn-primary {
  color: var(--primary-color);
  background-color: var(--on-primary-color);
  border-color: none;
  /*color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;*/
}

.toolbar-btn {
    color: var(--on-primary-color)!important;
    background-color: var(--primary-color)!important;
}

.toolbar-full-width {
    width: 100%;
}

.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: relative;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Loading Indicator */
.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 4px solid #fff;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: black transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Others */
.margin-auto-center {
    margin: auto;
}

.flex-center-both {
    display: flex;
    align-items: center;
    justify-content: center;
}

.standard-padding {
    padding: 20px;
}

.right-align {
    float: right;
}

.intrashare-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-gap: 16px;
}

.intrashare-column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    grid-gap: 16px;
}

.intrashare-flex {
    grid-gap: 16px;
}

.intrashare-grow {
    align-items: stretch;
}

.intrashare-space-between {
    justify-content: space-between;
}

.intrashare-standard-padding {
    padding-bottom: 20px;
    padding-top: 20px;
}

.intrashare-fake-hyperlink {
    cursor: pointer;
    color: var(--hyper-link-color);
    text-decoration: underline;
}

.intrashare-warning-field {
    color: var(--danger-color);
}

.intrashare-formgrp-issue {
    padding-left: 0px !important;
}

.intrashare-clickable-icon-left {
    padding-top: 10px;
}

.hidden {
    display: none;
}

.intrashare-button {
    background-color: var(--primary-color)!important;
    color: var(--on-primary-color)!important;
}
.dropdown-auto:hover .dropdown-menu {
    display: block;
    background-color: var(--topbar-color);
}

/* Move handle to left on scannerApp deliveries */
#delivery-list .dx-item.dx-list-item {
    display: flex;
    align-items: center;
}
#delivery-list .dx-item-content.dx-list-item-content {
    order: 1;
}
#delivery-list .dx-list-item-after-bag.dx-list-reorder-handle-container {
    order: 0;
    padding-top: 5px;
}
