:root {
    --primary-color: #228fe1;
    --gradient-start: rgb(102, 187, 249);
    --gradient-end: rgb(90, 135, 255);
    --white: #ffffff;
    --dark-bg: #3a3a3a;
    --light-bg: #f2f4f8;
    --text-dark: #505050;
    --text-light: #868686;
    --border-color: #f3f3f3;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --scrollbar-color: rgba(50,50,50,0.25);
}

.app, .app body {
    height: 100%;
    overflow: hidden;
}

.app .hbox.stretch {
    height: 100%;
}

.app .vbox > section, .app .vbox > footer {
    position: absolute;
}

.hbox {
    display: table;
    table-layout: fixed;
    border-spacing: 0;
    width: 100%;
}

.hbox > aside, .hbox > section {
    display: table-cell;
    vertical-align: top;
    height: 100%;
    float: none;
}

.vbox {
    display: table;
    border-spacing: 0;
    position: relative;
    height: 100%;
    width: 100%;
}

.vbox > section, .vbox > footer {
    top: 0;
    bottom: 0;
    width: 100%;
}

.scrollable {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: auto;
}

::-webkit-scrollbar {
    width: 0px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(50,50,50,0.25);
    border: 0px solid transparent;
    border-radius: 10px;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(50,50,50,0.5);
}

::-webkit-scrollbar-track {
    background-color: rgba(50,50,50,0.05);
}

.vbox > section.w-f {
    bottom: 50px;
}

.vbox > section.w-f-md {
    bottom: 60px;
}

.vbox > footer {
    top: auto;
    z-index: 1000;
}

.vbox.flex > header, .vbox.flex > section, .vbox.flex > footer {
    position: inherit;
}

.vbox.flex > section {
    display: table-row;
    height: 100%;
}

.vbox.flex > section > section {
    position: relative;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

.ie .vbox.flex > section > section {
    display: table-cell;
}

.vbox.flex > section > section > section {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#list-left .list-group-item {
    text-align: center;
}

#list-left .list-group-item.white {
    background-color: white;
}

#cartbar {
    z-index: 1200;
    padding: 8px 15px;
}

#cartbar .clear {
    padding-top: 2px;
}

#cartlist {
    z-index: 1150;
}

.tmask {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #000;
    z-index: 1000;
    transition: all 300ms ease;
}

.tmask.activa {
    opacity: 0.7;
    display: block;
}

.sweet-icon[data-has-cancel-button=false] button {
    box-shadow: none !important;
}

.sweet-icon .icon {
    width: 80px;
    height: 80px;
    border: 4px solid gray;
    border-radius: 50%;
    margin: 30px auto;
    padding: 0;
    position: relative;
    box-sizing: content-box;
    z-index: 0;
}

.sweet-icon .icon.error {
    border-color: #a23030;
}

.sweet-icon .icon.error .x-mark {
    position: relative;
    display: block;
}

.sweet-icon .icon.error .line {
    position: absolute;
    height: 5px;
    width: 47px;
    background-color: #a23030;
    display: block;
    top: 33px;
    border-radius: 2px;
    border-bottom-style: hidden;
}

.sweet-icon .icon.error .line.left {
    transform: rotate(45deg);
    left: 17px;
}

.sweet-icon .icon.error .line.right {
    transform: rotate(-45deg);
    right: 16px;
}

.sweet-icon .icon.warning {
    border-color: #F8BB86;
}

.sweet-icon .icon.warning .body {
    position: absolute;
    width: 5px;
    height: 47px;
    left: 50%;
    top: 10px;
    border-radius: 2px;
    margin-left: -2px;
    background-color: #F8BB86;
}

.sweet-icon .icon.warning .dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-left: -3px;
    left: 50%;
    bottom: 10px;
    background-color: #F8BB86;
}

.sweet-icon .icon.info {
    border-color: #C9DAE1;
}

.sweet-icon .icon.info::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 29px;
    left: 50%;
    bottom: 17px;
    border-radius: 2px;
    margin-left: -2px;
    background-color: #C9DAE1;
}

.sweet-icon .icon.info::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-left: -3px;
    top: 19px;
    background-color: #C9DAE1;
}

.sweet-icon .icon.success {
    border-color: rgba(183, 240, 0, 0.36);
}

.sweet-icon .icon.success::before, .sweet-icon .icon.success::after {
    content: '';
    border-radius: 50%;
    position: absolute;
    width: 60px;
    height: 120px;
    transform: rotate(45deg);
}

.sweet-icon .icon.success::before {
    border-radius: 120px 0 0 120px;
    top: -7px;
    left: -33px;
    transform: rotate(-45deg);
    transform-origin: 60px 60px;
}

.sweet-icon .icon.success::after {
    border-radius: 0 120px 120px 0;
    top: -11px;
    left: 30px;
    transform: rotate(-45deg);
    transform-origin: 0 60px;
}

.sweet-icon .icon.success .placeholder {
    width: 80px;
    height: 80px;
    border: 4px solid #6cd09d;
    border-radius: 50%;
    box-sizing: content-box;
    position: absolute;
    left: -4px;
    top: -4px;
    z-index: 2;
}

.sweet-icon .icon.success .fix {
    width: 5px;
    height: 90px;
    position: absolute;
    left: 28px;
    top: 8px;
    z-index: 1;
    transform: rotate(-45deg);
}

.sweet-icon .icon.success .line {
    height: 5px;
    background-color: #6cd09d;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 2;
    margin: 5px 0;
    font-size: 0;
    overflow: hidden;
    border: 0;
}

.sweet-icon .icon.success .line.tip {
    width: 25px;
    left: 14px;
    top: 40px;
    transform: rotate(45deg);
}

.sweet-icon .icon.success .line.long {
    width: 47px;
    right: 8px;
    top: 32px;
    transform: rotate(-45deg);
}

.sweet-icon .icon.custom {
    background-size: contain;
    border-radius: 0;
    border: none;
    background-position: center center;
    background-repeat: no-repeat;
}

.icon.success.animate::after {
    animation: rotatePlaceholder 4.25s ease-in;
}

@keyframes rotatePlaceholder {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

.navbar-header .btn-link {
    padding: 25px 17px;
    font-size: 16px;
}

.nav-tabs.nav-home {
    width: 100%;
    border-bottom: 0;
}

.nav-tabs.nav-home > li {
    float: none;
    border: 0;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-tabs.nav-home.nav-dark > li {
    float: none;
    border: 0;
    background: #b5b5b5;
}

.nav-tabs.nav-home > li:last-child {
    border-right: 0;
}

.nav-tabs.nav-home > li > a {
    text-align: center;
    line-height: 22px;
    padding: 12px 0;
    color: var(--text-dark);
    background: var(--white);
}

.nav-tabs.nav-home.nav-dark > li > a {
    padding: 18px 0 14px;
    color: var(--white);
    background: var(--dark-bg);
}

.nav-tabs.nav-home .text-white {
    color: #fff;
}

.home-fa-1 {
    color: #5dacfd;
}

.home-fa-2 {
    color: #6ee041;
}

.home-fa-3 {
    color: #8a9eff;
}

.home-fa-4 {
    color: #f36e6e;
}

.home-fa-5 {
    color: #6dcca0;
}

.home-fa-6 {
    color: #5dacfd;
}

.home-fa-7 {
    color: #f1a13a;
}

.home-fa-8 {
    color: #8a9eff;
}

.home-fa-9 {
    color: #868ab5;
}
.home-fa-10 {
    color: #ef6363;
}


.id-card-wrapper {
    padding: 10px 10px;
    background-color: var(--light-bg);
}

.id-card-wrapper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    max-width: 350px;
    height: 100%;
    position: relative;
}

#id-card, .id-card {
    border-radius: 5px;
    background-color: var(--primary-color);
    background-image: linear-gradient(130deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    box-shadow: 0 2px 5px -2px var(--shadow-color);
    border: 0;
    width: 100%;
    margin: auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}
 .id-card .roomname{
      margin-top: 28%; 
     font-size: 28px;
 }
 @media (max-width: 340px) {
  .id-card .roomname{
     margin-top: 24%;
 }
 }
  .id-card .nickname{
        max-width: 200px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        z-index: 110;
        position: relative;
        font-size: 16px;
        margin-top: 1px;
 }
 .id-card  .usertitle{font-size:12px;display: block;}
.tool-nav {
    padding: 10px 15px;
    margin-bottom: 0;
    text-align: center;
    font-size: 12px;
}

.tool-nav:before {
    backdrop-filter: blur(5px);
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: rgb(255 255 255 / 80%);
    height: 100%;
    right: 0;
    z-index: -1;
    width: 100%;
}

body.dark .tool-nav:before {
    background-color: rgb(28 28 28 / 80%);
}

.tool-nav:hover:before {
    background-color: rgb(255 255 255 / 80%);
}

body.dark .tool-nav:hover:before {
    background-color: rgb(57 57 57 / 80%);
}

.tool-nav .fa {
    font-size: 19px;
}

.tool-nav .padder-v {
    padding: 10px 0 10px;
    cursor: pointer;
}

.tool-nav .padder-v:hover i {
    animation: btn_hover_fa 500ms;
}

@keyframes btn_hover_fa {
    0%   { transform: scale(1); }
    25%  { transform: scale(0.7); }
    100% { transform: scale(1); }
}

.tool-nav img {
    opacity: .8;
}

.tool-nav a {
    color: var(--text-light);
}

.tool-nav .activate small {
    color: #ea3a41;
}
.home-nav .h4{
    font-size: 17px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-nav .h5{
    font-size:14px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 15px;
}

.home-nav .small{
    font-size:12px;
    color:darkgrey;
    overflow: hidden;
    white-space: nowrap;
    margin-top: 3px;
    text-overflow: ellipsis;
}
.home-nav .bg-white {
    margin-bottom: 10px;
    border-radius: 14px;
    padding: 15px 20px;
    background: var(--white);
    background-repeat: no-repeat;
    background-size: 56px;
    background-position: right;
}

.home-nav .bg-nav-scan{
    background-image: url(/upload/default/bg-nav-scan.jpg); 
}

.home-nav .new-list .title{min-height: 28px;margin-top: 3px;margin-bottom: 5px;font-size: 14px;display: block;}

#id-card .avatar, .id-card .avatar {
    max-width: 60px;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    z-index: 100;
}

.id-card .logotitle {
    margin-top: 4px;
    font-size: 22px;
    z-index: 1000;
}

.id-card .logoremark {
    margin-top: 2px;
    font-size: 12px;
    z-index: 100;
}

.b-shadow {
    box-shadow: 0 10px 30px -20px rgb(0 0 0 / 20%);
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid transparent;
}

.b-shadow:hover {
    border: 2px solid #5f77a3;
    box-shadow: 0 4px 30px -15px rgb(0 0 0 / 40%);
}

body.dark .b-shadow:hover {
    border: 2px solid var(--white);
    box-shadow: 0 4px 30px -15px rgb(0 0 0 / 40%);
}

.btn-xs.btn-rounded {
    padding-left: 6px;
    padding-right: 6px;
}