
/**/
body {
    overflow-y: scroll;
    background-color: rgb(255, 255, 255);
}

/* Works for Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


a {
    text-decoration: none;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none;
}

.table th {
    text-align: center !important;
}


.table tbody tr .nofoto {
    display: none;
}

.cards tbody tr .nofoto {
    display: flex;
}

.table .preview-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    img {
        height: 25px;
    }
}

.cards .preview-box {
    height: 160px;
    width: 160px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    /*border: 0.0625rem solid rgba(0, 0, 0, .125);*/
    /*border-radius: .25rem;*/
    padding: 5px;

    img {
        height: 150px;
        border-radius: .25rem;
    }
}

.table .svetofor-text {
    display: none;
}

.cards .svetofor-text {
    display: inline-block;
}

.cards tbody tr:not(.dtrg-group) {
    width: 330px;
    height: 410px;
    font-size: smaller;
    float: left;
    margin-left: 25px;
    margin-top: 15px;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    border: 0.0625rem solid rgba(0, 0, 0, .125);
    border-radius: .25rem;

}

.noprice tbody tr:not(.dtrg-group)  {
    height: 340px;
}

.mobile tbody tr:not(.dtrg-group) {
    width: 100%;
    max-width: 380px;
    min-width: 300px;
    height: 410px;
    font-size: smaller;
    float: left;
    margin-left: 4%;
    margin-top: 15px;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    border: 0.0625rem solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}


.cards tbody tr:hover:not(.dtrg-group) {
    box-shadow: 0.3rem 0.3rem 1rem rgba(0, 0, 0, 0.25);
}


.cards tbody td {
    display: block;
    border: none;
}

.cards tbody .col_svetofor {
    text-align: center;
    border-bottom: 0.0625rem solid rgba(0, 0, 0, .125);
}

.cards tbody .col_preview {
    height: 180px;

}

.cards tbody .col-summa {
    border-bottom: none;
    border-top: 0.0625rem solid rgba(0, 0, 0, .125);
}

.cards tbody .col-name {
    height: 60px;
    text-align: center;
}

.cards tbody .col_quantity {
    display:flex;
    flex-direction: row !important;
    justify-content: center; !important;
    align-items: center;
    border-top: 0.0625rem solid rgba(0, 0, 0, .125);
}


.cards thead {
    display: none;
}

.cards td:before {
    content: attr(data-label);
    position: relative;
    float: left;
    vertical-align: middle;
    min-width: 4rem;
    margin-left: 0;
    margin-right: 1rem;
    text-align: left;
}

.loading-overlay {
    /*display: none;*/
    background: rgba(26, 26, 26, 0.7);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    top: 0;
}

.loading-overlay-image-container {
    /*display: none;*/
    position: fixed;
    z-index: 7;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-overlay-img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}


/* Works for Firefox */
.quantity-input {
    -moz-appearance: textfield;
    max-width: 9rem;
    text-align: end;
    border-radius: 0.25rem;
    border: 1px solid var(--bs-border-color);

}

.quantity-input:focus {
    border: 1px solid var(--bs-gray-dark);
    outline: none;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 .2rem var(--bs-border-color);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


div.dt-container .dt-paging .dt-paging-button {
    margin-left: 5px;
    white-space: normal;
    border-radius: var(--bs-border-radius) !important;
    border: 1px solid var(--bs-border-color) !important;

    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;

    font-size: small !important;
    font-weight: bold !important;
}

div.dt-container .dt-paging .dt-paging-button:hover {
    color: black !important;
    background: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
    border: 1px solid black;
    outline: none;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 .2rem rgba(39,43,48,.25);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;

}
div.dt-container .dt-paging .dt-paging-button.current {
    border: 1px solid black;
    outline: none;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 .2rem rgba(39,43,48,.25);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;

}


.btn {
    white-space: normal;
    border-radius: var(--bs-border-radius) !important;
    border: 1px solid var(--bs-border-color) !important;

    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;

    font-size: small !important;
    font-weight: bold !important;
}

.btn:hover {
    border: 1px solid black;
    outline: none;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 .2rem rgba(39,43,48,.25);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-close {

    border-radius: var(--bs-border-radius) !important;
    border: 1px solid var(--bs-border-color) !important;

    background-color: var(--bs-body-bg), var(--bs-bg-opacity) !important;

    font-size: small !important;
    font-weight: bold !important;
}
.btn-close:hover {
    border: 1px solid black;
    outline: none;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 .2rem rgba(39,43,48,.25);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-quantity-clear {
    margin-left: .25rem !important;
}

.btn-bottom-panel {
    width: 90px;
    height: 70px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: small !important;
    font-weight: bold !important;

    img {
        height: 20px;
    }


}


#backBtn img {
    width: 32px;
    height: 32px;
}

#bannerCarousel {
    max-width: 1200px;
    margin: auto;

    .carousel-indicators {
        bottom: -20px;
    }
}


#basketPanel {

    background-color: rgba(var(--bs-tertiary-bg-rgb), 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    position: fixed;
    text-align: center !important;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    transition: bottom 0.3s;
    z-index: 1030;

}

#itemsCount {
    position: absolute;
    top: -5px;
    right: -10px;
    display: block;
}

#clientName {
    -moz-appearance: textfield;
    max-lines: 1;
}

#clientMail {
    -moz-appearance: textfield;
    max-lines: 1;
}
