﻿/* 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. */

/* General */
body, html {
    min-height: 100%;
    position: relative;
}

.bg_grove {
    background-color: #009fd9;
}

.bg_grey {
    background-color: #ecf0f1;
}

/* Scroll to top */
#sttBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #ccc;
    color: #fff;
    cursor: pointer;
    padding: 12px;
    border-radius: 10%;
    font-size: 22px;
    opacity: .85;
    -webkit-opacity: .85;
    -moz-opacity: .85;
    filter: alpha(opacity=85);
}

    #sttBtn:active, #sttBtn:hover {
        background-color: #009fd9;
    }

/* Category styles */
.list_none {
    list-style-type: none;
}
.cat_grey a {
    color: gray;
}

/* Scrolling sideways sections */
.scrolling-wrapper-flexbox {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

    .scrolling-wrapper-flexbox + div {
        flex: 0 0 auto;
    }

    .scrolling-wrapper-flexbox::-webkit-scrollbar {
        display: none;
    }

/* Fixes */
/* Browser spinner buttons on number form controls */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

/* Bootstrap File-Input alt text prettifier */
.file-preview-image {
    color: #999 !important;
    font-size: 0.8em !important;
    font-family: sans-serif !important;
}
.kv-file-content {
    overflow: hidden;
}

/* Image disaply on productdetail page */
.aImgC1_container {
    padding: 0;
    margin: 0;
    height: 110px;
    width: 150px;
    margin: 0 auto;
}
.aImgC1 {
    max-height: 100px;
    max-width: 150px;
}
.aImgC2_container {
    padding: 0;
    margin: 0;
    height: 60px;
    width: 150px;
    margin: 0 auto;
}

/* Loading animation */
/* KEYFRAMES */

@keyframes spin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(359deg);
    }
}

.spinner-box {
    position: absolute;
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    top: 50%;
    left: 50%;
    background-color: transparent;
}

.circle-border {
    width: 150px;
    height: 150px;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgb(63,249,220);
    background: linear-gradient(0deg, rgba(0,159,217,0.1) 33%, rgba(0,159,217,1) 100%);
    animation: spin .8s linear 0s infinite;
}

.circle-core {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 50%;
}

#loader_bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.7;
    z-index: 998;
}

.cursor-pointer {
    cursor: pointer;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-5px);
    }

    40% {
        transform: translateX(5px);
    }

    60% {
        transform: translateX(-5px);
    }

    80% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}

.highlight-shake {
    animation: shake 0.5s;
}

.table-align-middle td {
    vertical-align: middle !important;
}