#main {
    min-height: 60vh;
    padding: 1rem 0 2rem !important;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    .navbar form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a {
    text-decoration: none;
}

/*
 * custom
 */

.navbar-brand {
    display: inline-flex;
}

body {
    background-color: rgb(247, 247, 247) !important;
    color: rgba(0, 0, 0, 0.75) !important;
    font-family: "Poppins", sans-serif !important;
}

h2 {
    font-size: 1.5em;
    font-weight: 800;
    text-transform: uppercase;
}

a {
    text-decoration: none !important;
}

#main-navbar li.nav-item, #user-sidebar li.nav-item {
    font-size: small;
    font-weight: 600;
}

#user-sidebar li.nav-item {
    font-weight: normal;
}

#main-navbar li.nav-item > a, #user-sidebar li.nav-item > a {
    padding: 0.75em 1.75em !important;
}

#main-navbar li.nav-item:hover, #user-sidebar li.nav-item:hover, #user-sidebar .nav-link.active {
    background: #ffd752;
    border-radius: 2rem;
}

div.carousel-item > a > img {
    border-radius: 1em;
}

.invalid-feedback {
    text-align: left;
    font-size: 0.8rem;
}

footer {
    background-color: #f5f5f5;
    font-size: 0.9rem;
}

footer a {
    color: rgba(0, 0, 0, 0.75);
}

footer a:hover, #news a:hover {
    text-decoration: underline !important;
}

#footer_list {
    display: grid;
    flex-direction: column;
}

#footer_list dd {
    margin: 0;
}

#footer_sns_row {
    text-align: right;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1em;
    justify-content: center;
}

#footer_sns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

#footer_sns a {
    opacity: 0.7;
}

#footer_sns a:hover {
    opacity: 1;
}

#where_to_buy {
    background-color: #fff;
}

#where_to_use .container, .bg_main_gradient .container, #news .container, #where_to_buy .container {
    padding: 4rem 0 5rem;
}

#where_to_use img, #news img {
    border-radius: 1em;
    max-width: 18.75rem;
}

#where_to_buy img {
    padding: 0.5rem;
}

#news_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
}

#news_title {
    color: rgba(0, 0, 0, 0.75);
    text-align: left;
    padding: 0 0.25rem;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* gadget */
.bg_main_gradient {
    background-image: linear-gradient(135deg,#ffd752,#ffa552);
}

.brand {
    max-width: 18.75rem;
    position: relative;
    z-index: 90;
}

/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
    font-size: small;
    color: #fff;
}
.ribbon {
    --f: .5em; /* control the folded part*/
    --r: .8em; /* control the ribbon shape */

    position: absolute;
    top: 1rem;
    right: calc(-1*var(--f));
    padding-inline: .25em;
    line-height: 1.8;
    background: #ff0000;
    border-bottom: var(--f) solid #0005;
    border-left: var(--r) solid #0000;
    clip-path:
        polygon(0 0,100% 0,100% calc(100% - var(--f)),calc(100% - var(--f)) 100%,
        calc(100% - var(--f)) calc(100% - var(--f)),0 calc(100% - var(--f)),
        var(--r) calc(50% - var(--f)/2));
}

/* rocket */
#rocket {
    position: fixed;
    bottom: 50px;
    z-index: 7;
    display: none;
    visibility: hidden;
    width: 26px;
    height: 48px;
    right: 25px;
    background: url(https://media.kxz.solutions/frontend/rocket.png) no-repeat 50% 0;
    opacity: 0;
    -webkit-transition: visibility .6s cubic-bezier(0.6, 0.04, 0.98, 0.335), opacity .6s cubic-bezier(0.6, 0.04, 0.98, 0.335), -webkit-transform .6s cubic-bezier(0.6, 0.04, 0.98, 0.335);
    -moz-transition: visibility .6s cubic-bezier(0.6, 0.04, 0.98, 0.335), opacity .6s cubic-bezier(0.6, 0.04, 0.98, 0.335), -moz-transform .6s cubic-bezier(0.6, 0.04, 0.98, 0.335);
    transition: visibility .6s cubic-bezier(0.6, 0.04, 0.98, 0.335), opacity .6s cubic-bezier(0.6, 0.04, 0.98, 0.335), transform .6s cubic-bezier(0.6, 0.04, 0.98, 0.335);
}

#rocket i {
    display: block;
    margin-top: 48px;
    height: 14px;
    background: url(https://media.kxz.solutions/frontend/rocket.png) no-repeat 50% -48px;
    opacity: .5;
    -webkit-transition: -webkit-transform .2s;
    -moz-transition: -moz-transform .2s;
    transition: transform .2s;
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    transform-origin: 50% 0
}

#rocket:hover {
    background-position: 50% -62px
}

#rocket:hover i {
    background-position: 50% 100%;
    -webkit-animation: flaming .7s infinite;
    -moz-animation: flaming .7s infinite;
    animation: flaming .7s infinite
}

#rocket.showrocket {
    visibility: visible;
    opacity: 1
}

#rocket.launchrocket {
    background-position: 50% -62px;
    opacity: 0;
    -webkit-transform: translateY(-800px);
    -moz-transform: translateY(-800px);
    -ms-transform: translateY(-800px);
    transform: translateY(-800px);
    pointer-events: none
}

#rocket.launchrocket i {
    background-position: 50% 100%;
    -webkit-transform: scale(1.4, 3.2);
    -moz-transform: scale(1.4, 3.2);
    transform: scale(1.4, 3.2)
}

/* store */
.navbar-store {
    background-color: rgb(247, 247, 247) !important;
}

.navbar-store, .navbar-store ul {
    font-size: 12px;
    cursor: pointer;
    color: black;
}

.navbar-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
    font-size: small;
    gap: 1.75em;
}

.navbar-store a {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.75);
}

.navbar-header a:hover {
    text-decoration: underline !important;
}

.store-brand .container, .store-brand .container-fluid {
    padding: 4rem 0.9rem 5rem;
}

.store-brand-head .container, .store-brand-head .container-fluid {
    padding: 2rem 0.9rem 2rem;
}

.store-brand .title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.store-brand .category-name {
    padding-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.store-brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 3em;
}

@media (max-width: 480px) {
    .store-brand-list {
        gap: 0.6em;
    }
}

.sm-banner {
    border-radius: 0.5em;
    border: 1px solid #f5f5f5;
    box-sizing: border-box;
}

.category {
    max-width: 175px;
    position: relative;
    z-index: 90;
}

.category img {
    height: auto; /* Maintain aspect ratio */
    width: 100%;
    border-radius: 1em;
    border: 1px solid #f5f5f5;
    box-sizing: border-box;
}

.category img:hover, .sm-banner:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.prod-amt, .trans-key-view {
    border-radius: 0.3rem;
    border: 1px solid #ffc107;
    padding: 15px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.prod-amt:hover {
    cursor: pointer;
    background-color: #ffc107;
}

.prod-disabled {
    border-radius: 0.3rem;
    border: 1px solid #f5f5f5;
    padding: 15px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: #f5f5f5;
}

#pay-amt {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.btn-pill {
    padding: 0.5rem 2rem !important;
    border-radius: 2rem !important;
    margin: 1rem 0;
}

.otp-input {
    width: 38px !important;
    height: 38px;
    text-align: center;
    /*font-size: 24px;*/
    margin: 5px;
}

.pagination > .page-item > .page-link {
    color: #ffc107;
}

.pagination > .page-item.active > .page-link, .pagination > .page-item > .page-link:hover {
    color: #ffffff;
    background-color: #ffc107;
    border-color: #ffc107;
}

.transaction tr:last-child {
    border: 0 #ffffff;
}

/* media size */
.hide-on-mobile {
    display: none;
}

@media (min-width: 992px) {
    .hide-on-mobile {
        display: inline;
    }
}