﻿/* 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;
}

.bg-green {
    background-color: #42a100 !important;
}

.btn-green {
    background-color: #ba9106;
    border-color: #ba9106;
    box-shadow: none;
}

    .btn-green:focus {
        box-shadow: none;
    }

    .btn-green:hover {
        background-color: #dfb31f;
    }

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;
}

html {
    position: relative;
    min-height: 100%;
}

.card {
    border: 0px;
}

    .card:hover {
        box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    }

.stepper-input {
    display: flex;
    display: -webkit-flex;
    color: #666;
    max-width: 120px;
    margin: 0 auto;
}

    .stepper-input .quantity {
        height: 24px;
        width: 48px;
        text-align: center;
        margin: 0 12px;
        border-radius: 2px;
        border: 1px solid #ccc;
    }

input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stepper-input .increment, .stepper-input .decrement {
    height: 24px;
    width: 24px;
    border: 1px solid #ccc;
    text-align: center;
    box-sizing: border-box;
    border-radius: 50%;
    text-decoration: none;
    color: inherit;
    font-size: 24px;
    line-height: 18px;
    -moz-user-select: none;
    -webkit-user-select: none;
}

    .stepper-input .increment:active, .stepper-input .decrement:active {
        color: #fff;
        border-color: #ba9106;
        background: #ba9106;
    }

    .stepper-input .increment:hover, .stepper-input .decrement:hover {
        color: #ba9106;
        border-color: #ba9106;
    }

.cart-count {
    display: block;
    position: absolute;
    background: #fc7710;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    width: 24px;
    border-radius: 50%;
    top: 4px;
    margin-left: 12px;
    right: inherit;
}

.cart-preview {
    display: none;
    background: #fff;
    border: 1px solid #ccc;
}

    .cart-preview:after {
        content: "";
        position: absolute;
        display: block;
        top: -7px;
        right: 9px;
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid #fff;
        z-index: 1;
    }

    .cart-preview.active {
        z-index: 99;
        display: block;
        position: absolute;
        top: 48px;
        right: auto;
        width: 360px;
        height: 388px;
        box-shadow: 0 10px 20px rgb(0 0 0 / 19%), 0 6px 6px rgb(0 0 0 / 23%);
    }

.cart-items {
    height: 320px;
    width: 360px;
    padding: unset;
}

.cart-item {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    padding: 8px;
}

    .cart-item:hover {
        background: #f8f9fa;
    }

    .cart-item .product-image {
        width: 48px;
        height: 48px;
    }

    .cart-item .product-info {
        margin-left: 16px;
        flex-grow: 1;
    }

        .cart-item .product-info .product-name {
            color: #999;
            font-size: 14px;
        }

        .cart-item .product-info .product-price {
            color: #999;
            font-weight: 700;
        }

    .cart-item .product-remove {
        margin-left: 24px;
        height: 24px;
        line-height: 24px;
        width: 24px;
        font-size: 22px;
        color: #ccc;
        text-align: center;
    }

    .cart-item .product-total .quantity {
        color: #999;
        font-size: 14px;
        text-align: right;
    }

    .cart-item .product-total .amount {
        color: #333;
        font-weight: 700;
        text-align: right;
    }

.cartTable {
    border-collapse: collapse;
}

    .cartTable thead td {
        background: #ccc
    }

    .cartTable td {
        padding: 10px;
        text-align: center;
        background: white;
    }

img {
    vertical-align: middle;
    border-style: none;
}

.action-block {
    background: #fff;
    position: absolute;
    bottom: 0;
    padding: 16px;
    width: 100%;
}

    .action-block button {
        color: #fff;
        background: #ba9106;
        display: block;
        width: 100%;
    }

        .action-block button:focus {
            box-shadow: none;
        }

        .action-block button:hover {
            background-color: #dfb31f;
        }

button, html [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
    border: 0;
}

.cart-button {
    display: flex;
    display: -webkit-flex;
    border-radius: 0 2px 2px 0;
    background: #42a100 url(/images/cart.png) center no-repeat;
    width: 30px;
    border: none;
    outline: none;
    height: 36px;
}

    .cart-button:hover {
        background: #42a100 url(/images/cart-hover.png) center no-repeat;
    }

.search-form {
    display: flex;
    display: -webkit-flex;
}

    .search-form .search-button {
        border-radius: 0 2px 2px 0;
        background: #42a100 url(/images/search.png) center no-repeat;
        width: 70px;
        border: none;
        outline: none;
    }

        .search-form .search-button:hover {
            background: #42a100 url(/images/search-hover.png) center no-repeat;
        }

    .search-form .search-keyword {
        height: 36px;
        border: 1px solid #077915;
        padding: 0 16px;
        border-radius: 2px 0 0 2px;
        width: 100%;
        max-width: 330px;
    }

[type="search"] {
    outline-offset: -2px;
    -webkit-appearance: none;
}


button, input {
    overflow: visible;
    line-height: inherit;
    outline: none;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background-color: #f8f9fa;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}
