.modal:nth-of-type(even) {
    z-index: 1052 !important;
}

.modal-backdrop.show:nth-of-type(even) {
    z-index: 1051 !important;
}


.card-img-top-m {
    height: 220px;

}

.card-no-border .card {
    border-color: #d7dfe3;
    border-radius: 4px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05)
}

.card-body-m {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;

    border-radius: 30px;
    position: relative;
    top: -40px;
    background: white;

}

.card-s {
    bottom: 50px;
    position: absolute;
    z-index: 1;
    width: 100%;
}

.card-body-s {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding-top: 1.25rem;
    border-radius: 40px;
    position: relative;
    top: -70px;
    background: white;
}

.card-no-border {
    border: none;
}

.pro-img {
    margin-top: -70px;
}

.pro-img img {
    width: 128px;
    height: 128px;
    box-shadow: 0 0 10px 0px #ddd;
    border-radius: 100%;
    border: 4px solid #fff;
}


h3 {
    line-height: 30px;
    font-size: 21px
}

.btn-rounded.btn-md {
    padding: 12px 35px;
    font-size: 16px
}


.btn-primary,
.btn-primary.disabled {
    background: #7460ee;
    border: 1px solid #7460ee;
    -webkit-box-shadow: 0 2px 2px 0 rgba(116, 96, 238, 0.14), 0 3px 1px -2px rgba(116, 96, 238, 0.2), 0 1px 5px 0 rgba(116, 96, 238, 0.12);
    box-shadow: 0 2px 2px 0 rgba(116, 96, 238, 0.14), 0 3px 1px -2px rgba(116, 96, 238, 0.2), 0 1px 5px 0 rgba(116, 96, 238, 0.12);
    -webkit-transition: 0.2s ease-in;
    -o-transition: 0.2s ease-in;
    transition: 0.2s ease-in
}

.btn-rounded {
    border-radius: 60px;
    padding: 7px 18px
}

.m-t-20 {
    margin-top: 20px
}

.text-center {
    text-align: center !important
}


/*Footer*/

.no-outline {
    outline: none;
    border: none;
    color: #212529;
}

.no-outline:hover {
    color: #7460ee;
}


footer {
    z-index: 1;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.footer p {
    font-size: 13px;
}



.footer-copyright {
    display: flex;
    justify-content: space-between;
    padding: 10 15px;
}

.footer-copyright button a {
    padding: 0;
}


.footer p {
    padding: 0;
    margin: 0;
    margin: auto;

}



/* Modal mehsul  */

.img-round {
    border-radius: 10px;
    overflow: hidden;
}



/*Modal custom design*/

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap');

body {
    font-family: 'Nunito Sans', sans-serif;
}



.cart-img img {
    height: 40px;
    width: 60px;
    min-width: 60px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    width: 50px;
    text-align: center;
    padding: 0 5px;
}

table td {
    vertical-align: middle;
}





.modal-content {
    border-radius: 20px;
}

.btn {
    border-radius: 30px;
}

/*Menu*/


@keyframes slideInFromLeft {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.flex-m {
    text-align: left;
    display: flex;
    animation: 1s ease-in 0s 1 slideInFromLeft;
}


.mehsul {
    margin: 7px 10px;
}

.mehsul .ad {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mehsul .ad {
    font-weight: 500;
    line-height: 1;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}


.mehsul .qiymet {
    color: white;
    line-height: 1;
    font-weight: bold;
    font-size: 13px;
    background: mediumpurple;
    padding: 5px;
    width: 50px;
    border-radius: 30px;
    /* text-align: center; */
    display: flex;
    justify-content: center;
}

.modal-nopadding {
    padding: 0;
}

.modal-ad {
    font-weight: bold;
    position: absolute;
    top: 10px;
    background: rgba(100, 100, 100, 0.7);
    color: white;
    padding: 1px 20px;
    border-radius: 0 20px 20px 0;
    left: 0;
    opacity: 0.7;
}

.modal-qiymet {
    background: mediumpurple;
    padding: 5px 10px;
    border-radius: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    color: white;
    font-size: 16px;
    margin-top: 6px;
    font-weight: bold;
}

.badge-yeni {
    position: absolute;
    background-color: #49a34c;
    border-radius: 10px 50px;
    color: white;
    min-width: 40px;
    padding: 0 15px;
    font-weight: 500;
    text-align: center;
}

.card-mehsul {
    background-color: white;
    border-radius: 7px;
    box-shadow: 0 0 5px 0px #999;
    position: relative;
    overflow: hidden;
}

.size-m {
    width: 47%;
    max-width: 200px;
    margin: 5px;
}

.size-m img {
    width: 100%;
}

/* The heart of the matter */
.testimonial-group {
    padding: 0 20px;
}

.testimonial-group>.row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}


.kateqoriya::-webkit-scrollbar {
    display: none;
}


.category-sticky {
    display: flex;
    align-items: center;
    height: 50px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.testimonial-group>.row>.col-4 {
    flex: 0 0 auto;
    width: auto;
    padding: 3px;
}

/* Decorations */
.col-xs-4 {
    color: #fff;
    font-size: 48px;
    padding-bottom: 20px;
    padding-top: 18px;
}

.col-xs-4:nth-child(3n+1) {
    background: #c69;
}

.col-xs-4:nth-child(3n+2) {
    background: #9c6;
}

.col-xs-4:nth-child(3n+3) {
    background: #69c;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: mediumpurple;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}







/*Menu hissesi*/


    .haqqinda {
        padding: 10px;
    }

    .haqqinda h4 {
        font-size: 20px;
        font-weight: bold;
        text-align: left;
    }

    .restoran-ad h4 {
        font-size: 25px;
        font-weight: bold;
        margin-top: 5px;
    }

    .nav-pills {
        flex-wrap: nowrap;
    }

    .nav-item {
        margin: 3px;
    }

    .nav-item .btn {
        width: max-content;
    }

    .kat-ad h4 {
        font-weight: bold;
        margin: 10px 0 0 0;
    }

    .card-umumi2 {
        height: 110px;
        padding: 18px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        transition: 0.3s;
    }

    .umumi-sol {
        height: 100%;
        display: flex;
        align-items: center;
        font-weight: bold;
        align-items: flex-start;
        flex-direction: column;
        justify-content: space-between;
    }

    .umumi-sag {
        display: flex;
        align-items: baseline;
    }

    .umumi-icon2 {
        background: #f1f1f1;
        /*width: 50px;
        min-width: 50px;
        height: 50px;*/
        overflow: hidden;
        display: flex;
        align-content: center;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: center;
        border-radius: 15px;
        color: #0f70b7;
    }

    .umumi-sol p {
        margin-left: 10px;
        margin-bottom: 0;
    }

    .umumi-sol-ad p {
        font-weight: bold;
    }

    .umumi-sol-qiymet p {
        font-size: 13px;
        color: #7460ee;
    }


    .img-size {
        height: 80px;
    }


    hr {
        width: 96%;
        margin: 0 13px;
    }

    .modal-content {
        transition: 2s;
    }










/*  Sebete elave etdikden sonra spinner  */
/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));

    background: -webkit-radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}