﻿/* 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 {
    text-align: center;
    white-space: normal;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */

a {
    color: #0366d6;
    text-decoration: none;
}

p { margin: 0; }

p + p { margin-top: 1rem; }

.btn-primary {
    background-color: #1b6ec2;
    border-color: #1861ac;
    color: #fff;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #1b6ec2;
    border-color: #1861ac;
    color: #fff;
}

html { font-size: 14px; }

@media (min-width: 768px) {
    html { font-size: 16px; }
}


button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

html {
    min-height: 100%;
    position: relative;
}

body {
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    font-family: Calibri, "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
    font-size: 0.8rem;
    min-height: 100vh;
}

main {
    background-color: #fff;
    flex: auto;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

#components-reconnect-modal {
    /* Hide Blazor reconnect bar. This is mainly for FF-users, when the warning appears on every request */
    /*display: none !important;*/
}

.validation-summary-errors { color: #dc3545; }

.validation-summary-errors ul {
    list-style: none;
    padding: 0;
}

.field-validation-error { color: #dc3545; }

button.pinch:active {
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
}

button.pinch-x:active {
    -moz-transform: scaleX(0.9);
    -ms-transform: scaleX(0.9);
    -o-transform: scaleX(0.9);
    -webkit-transform: scaleX(0.9);
    transform: scaleX(0.9);
}

.btn:focus { box-shadow: none; }

button.btn-blank {
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    margin: 0;
    padding: 0;
}

button.btn-exertis {
    background-color: #999;
    border: none;
    border-radius: .25rem;
    color: #fff;
    outline: none;
    position: relative;
}

button.btn-exertis.disabled { opacity: 0.3; }

button.btn-exertis--buy.dropdown-toggle::after { display: none; }

button.btn-reset {
    background-color: #707070;
    border: none;
    border-radius: .25rem;
    color: #fff;
    outline: none;
    position: relative;
}
button.btn-exertis--buy > .bid {
    background-color: #0071eb;
    border: none;
    border-radius: 0 .25rem .25rem 0;
    bottom: 0;
    color: #fff;
    display: flex;
    margin-left: 5px;
    padding: 0 0.5rem;
    position: absolute;
    right: 0;
    top: 0;
}
button.btn-exertis--buy > .bid:hover {
    background-color: #007bff;
}

button.btn-register {
    background-color: #00852C;
    border-color: #919900;
    color: #fff;
}

button.btn-register:hover {
    background-color: #28a745;
    border-color: #919900;
    color: #fff;
}

a.btn.btn-default-green, .btn.btn-default-green, button.btn-exertis--buy {
    color: #ffffff !important;
    background-color: #00852C;
}

a.btn.btn-default-green:hover, .btn.btn-default-green:hover, button.btn-exertis--buy:hover {
    background-color: #28a745;
}

h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-family: "Calibri light", Calibri, "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
}

.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navtree {
    display: flex;
    flex-wrap: wrap;
    margin: 0.4rem;
}

.navtree .navtree-item { color: #000; }

.navtree .navtree-item.home {
    background-image: url(/img/common/home-gray.svg);
    background-repeat: no-repeat;
    height: 16px;
    width: 24px;
}

.navtree .navtree-item + .navtree-item::before {
    background-image: url(/img/common/chevron_medium-gray.svg);
    background-position: center;
    background-repeat: no-repeat;
    content: " ";
    padding: 0 16px;
}

.navtree .navtree-item a { color: inherit; }

.navtree .navtree-item a:hover { text-decoration: none; }

.navtree .dropdown-toggle::after { display: none; }

body.disable-scroll { overflow-y: hidden; }

@media (max-width: 575px) {
    /* MOBILE TREE*/

    body.mobile-disable-scroll { overflow-y: hidden; }
}

@media (max-width: 767px) {
    .container, .container-md, .container-sm { max-width: none; }
}

.table-striped tbody tr:nth-of-type(odd) { background-color: rgba(0, 0, 0, .02); }


.overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.armadillo-input {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.2rem;
}

.armadillo-input h6 {
    color: inherit;
    font-size: 0.8rem;
    margin: 0 0.3rem;
}

.armadillo-input input[type=text] {
    background-clip: padding-box;
    background-color: #fff;
    border: none;
    color: #495057;
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    padding: 0 0.3rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100%;
}

.center-content {
    align-items: center;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.center-content-img {
    align-items: center;
    display: flex;
    justify-content: center;
    max-width:50%;
}

.navtree .hide-prices { display: block; }

.navtree .restore-prices { display: none; }

.no-prices .navtree .hide-prices { display: none; }

.no-prices .navtree .restore-prices { display: block; }

.article .product-price,
.product-list .product-price,
.product-list .product-price-old,
.compare .product-price,
.shopping-lists .sl-item-price { transition: opacity 2s ease; }

.no-prices .article .product-price,
.no-prices .product-list .product-price,
.no-prices .product-list .product-price-old,
.no-prices .compare .product-price,
.no-prices .shopping-lists .sl-item-price,
.no-prices .minicart .product-price,
.no-prices .minicart .product-price-total,
.no-prices .added-to-cart__item__price,
.no-prices .added-to-cart__total { opacity: 0; }

.only-print { display: none; }

@media print {
    .no-print, .no-print * { display: none !important; }

    .only-print--block { display: block; }
}