﻿/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.custom--line {
    border-bottom: 1px solid rgb(223, 223, 223);
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
.card-border-top {
    border-top: 1px solid rgb(214, 50, 50) ;
}
.scale-down {
    object-fit: scale-down;
}
.stok--img {
    display: block;
    object-fit: scale-down;
    margin: auto;
    height: 250px;
    max-width: 250px;
}
.img-resolution-list {
    position: absolute;
    font-size: 1rem;
    top: 50%;
    left: 35%;
    color: #8d8686;
}
.img-resolution-detail {
    position: absolute;
    font-size: 1rem;
    top: 70%;
    left: 38%;
    color: #8d8686;
}
.stok-detail-lg-img {
    display: block;
    object-fit: scale-down;
    margin: auto;
    height: 250px ;
    max-width: 250px;
}
.card-item--image {
    width: 100%;
    object-fit:scale-down;
    height: 100px;
}
.stok-detail-sm-img {
    display: block;
    object-fit: scale-down;
    margin: auto;
    cursor:pointer;
    height: 196px ;
    max-width: 196px;
}
.navbar-light .navbar-toggler{
    color:#fff ;
}
/*buttons */
.btn--custom {
    border-radius: 0px;
    padding: 10px 15px;
    color: white;
    font-weight: bold;
    border: none;
    outline: none;
    text-transform: uppercase;
    /* background-color: orange; */
}
.btn--custom:focus, .btn--custom:visited{
        outline: none ;
        border: none ;
    }

.btn--pagination {
    background-color: rgb(83 100 112 / 79%);
    max-width: 60px;
    display: inline;
}

.btn--print {
    background-color: rgb(27, 114, 196);
}

.btn--pdf {
    background-color: rgb(223, 106, 60);
}

.btn--search {
    background-color: rgba(5, 125, 238, 0.788);
}

    .btn--search:hover {
        background-color: rgba(1, 90, 173, 0.788);
    }

.btn--clear {
    background-color: rgb(199, 133, 9);
}

    .btn--clear:hover {
        background-color: rgb(165, 107, 1);
    }

.btn--son {
    clip-path: polygon(75% 0, 100% 50%, 75% 100%, 0 100%, 0 0);
}

.btn--ilk {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 30% 100%, 0 50%);
}
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.spinner {
    border: 10px solid silver;
    border-top: 10px solid #004883;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    transform: translate(-50%,-50%);
    top: 40%;
    left: 45%;
    position: absolute;
}
@media only screen and (max-width: 768px){
    .spinner {
        top: 20%;
        left: 38%;
    }
}

@keyframes spin{
    0%{
        transform:rotate(0deg);
        
    }
    100%{
        transform:rotate(360deg);
    }
}