html,
body {
    padding: 0;
    margin: 0;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
}

.loader {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 1;
    transition: .3s linear;
}

#pulse-loader .pulse-loader-1,
#pulse-loader .pulse-loader-2 {
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -o-border-radius: 50px;
    border-radius: 50px;
}

#pulse-loader {
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
}

#pulse-loader {
    top: 45%
}

#pulse-loader>div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-width: 5px;
    border-style: solid;
    border-color: #029898;
    background-color: #029898;
}

#pulse-loader .pulse-loader-1 {
    -webkit-animation: pulse1 2s .5s ease infinite;
    -moz-animation: pulse1 2s .5s ease infinite;
    -ms-animation: pulse1 2s .5s ease infinite;
    -o-animation: pulse1 2s .5s ease infinite;
    animation: pulse1 2s .5s ease infinite
}

#pulse-loader .pulse-loader-2 {
    -webkit-animation: pulse1 2s ease infinite;
    -moz-animation: pulse1 2s ease infinite;
    -ms-animation: pulse1 2s ease infinite;
    -o-animation: pulse1 2s ease infinite;
    animation: pulse1 2s ease infinite
}

@-webkit-keyframes pulse1 {
    0% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(0.3);
        opacity: 1
    }

    100% {
        -webkit-transform: scale(1);
        opacity: 0
    }
}

@-moz-keyframes pulse1 {
    0% {
        -moz-transform: scale(0)
    }

    40% {
        -moz-transform: scale(0.3);
        opacity: 1
    }

    100% {
        -moz-transform: scale(1);
        opacity: 0
    }
}

@-o-keyframes pulse1 {
    0% {
        -o-transform: scale(0)
    }

    40% {
        -o-transform: scale(0.3);
        opacity: 1
    }

    100% {
        -o-transform: scale(1);
        opacity: 0
    }
}

@-ms-keyframes pulse1 {
    0% {
        -ms-transform: scale(0)
    }

    40% {
        -ms-transform: scale(0.3);
        opacity: 1
    }

    100% {
        -ms-transform: scale(1);
        opacity: 0
    }
}

@keyframes pulse1 {
    0% {
        transform: scale(0)
    }

    40% {
        transform: scale(0.3);
        opacity: 1
    }

    100% {
        transform: scale(1);
        opacity: 0
    }
}

@keyframes pulse1 {
    0% {
        transform: scale(0)
    }

    40% {
        transform: scale(0.3);
        opacity: 1
    }

    100% {
        transform: scale(1);
        opacity: 0
    }
}

.navbar-box {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 9;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: white;
}

.btn-box {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 5;
}

.btn-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 15px;
    padding: 2px 10px;
    color: black;
    font-size: 16px;
    border: 1px solid black;
    border-radius: 5px;
    text-decoration: unset;
}

.btn-link img {
    margin-right: 5px;
    width: 18px;
    height: 18px;
}

.menu-box {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    z-index: 5;
}

.menu-box .menu-item {
    padding: 5px 20px;
    color: #999;
    font-size: 14px;
    text-decoration: unset;
}

.menu-box .menu-item.active {
    color: black;
}

.menu-box .menu-item:hover {
    color: #029898;
}

.menu-icon {
    display: none;
}

.menu-icon img {
    display: block;
    margin-left: auto;
    width: 30px;
    height: 30px;
}

.logo-box {
    position: relative;
    flex: 1;
    height: 37px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.logo-box .load-box {
    position: absolute;
    top: 36px;
    width: 100vw;
    max-height: 30vw;
    background: white;
    transform: translateY(0);
    transform-origin: top;
    transition: max-height 1s linear, transform 1s ease-in-out;
}

.load-box .loading-logo {
    position: relative;
    margin-top: 10vw;
    transform: scale(1);
    transform-origin: top;
    transition: margin-top 1s linear, transform 1s ease-in-out;
}

.logo-box .loading-logo img {
    display: block;
    width: 80vw;
    margin: 0 auto;
}

.logo-box .loading-logo img:last-child {
    position: absolute;
    width: 12vw;
    top: 2.5vw;
    left: 41.8vw;
    transform: rotate(0deg);
    transition: transform 3s linear;
}

.logo-box.small .load-box {
    max-height: 0;
    transform: translateY(-2vw);
}

.logo-box.small .load-box .loading-logo {
    transform: scale(0.13);
}

.logo-box.small .load-box .loading-logo {
    margin-top: 0;
}

.logo-box.circle .loading-logo img:last-child {
    transform: rotate(-360deg);
}

.logo-box.circle .scroll-tip {
    opacity: 0;
}

.footer-box {
    display: flex;
    flex-direction: row;
    padding: 20px;
    background: white;
}

.footer-box.grey {
    background: whitesmoke;
}

.footer-box .left-box {
    flex: 2;
    padding: 20px;
}

.left-box .logo {
    margin: 10px 0px 50px 0;
}

.left-box .link-box {
    margin-top: 10px;
}

.link-box img {
    padding: 6px;
    margin-right: 10px;
    cursor: pointer;
    object-fit: contain;
    background: black;
    border-radius: 50%;
    transition: background-color .5s ease-in-out;
}

.link-box img:hover {
    background: #029898;
}

.footer-box .center-box {
    flex: 3;
    display: flex;
    padding: 30px 0 20px 0;
    flex-direction: column;
    justify-content: space-between;
}

.center-box .link-menu {
    margin-top: 10px;
}

.link-menu .link-item {
    padding: 5px 10px;
    margin-right: 15px;
    font-size: 18px;
    color: #999;
    text-decoration: unset;
}

.link-menu .link-item.active {
    color: black;
}

.link-menu .link-item:hover {
    color: #029898;
}

.center-box .right-box {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    font-size: 12px;
    color: #999;
}

.top-box {
    display: none;
    position: fixed;
    right: 50px;
    bottom: 160px;
    z-index: 999;
    padding: 10px 8px;
    cursor: pointer;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.6);
}

.top-box img {
    display: block;
}

.top-box .active {
    display: none;
}

.top-box:hover .icon {
    display: none;
}

.top-box:hover .active {
    display: block;
}

.dialog-box {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
}

.mask {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .45);
}

.dialog-content {
    position: absolute;
    left: 50px;
    top: 50px;
    right: 50px;
    bottom: 50px;
}

.dialog-content video {
    width: 100%;
    height: 100%;
    background: black;
}

.dialog-content img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.dialog-box .dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 2.5vw;
    z-index: 9;
}

.dialog-box .dialog-close img {
    width: 100%;
}

.qrcode-box {
    position: absolute;
    left: 50px;
    top: 50px;
    right: 50px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qrcode-box #customerImg {
    width: 200px;
    height: 200px;
}

.qrcode-box .qr-code-close {
    width: 40px;
    height: 40px;
    margin-top: 20px;
}

.qr-code-close img {
    width: 100%;
}

@media (max-width: 768px)  {

    .navbar-box {
        padding: 10px;
    }

    .btn-box .btn-link {
        margin-right: 5px;
        padding: 2px 5px;
        font-size: 12px;
    }

    .btn-link img {
        margin-right: 1px;
        width: 15px;
        height: 15px;
    }

    .logo-box .load-box {
        top: 20px;
        max-height: 40vw;
    }

    .logo-box>img {
        max-width: 100px;
    }

    .logo-box.small .load-box .loading-logo {
        transform: scale(0.23);
    }

    .menu-box {
        position: fixed;
        top: 57px;
        right: 0px;
        bottom: 0px;
        width: 35%;
        z-index: 9;
        padding: 10px 0;
        flex-direction: column;
        justify-content: flex-start;
        background: white;
        transform: translateX(35vw);
        transform-origin: top;
        transition: transform .5s ease-in-out;
    }

    .menu-box.active {
        transform: translateX(0);
    }

    .menu-box .menu-item {
        margin: 10px 0;
    }

    .menu-icon {
        flex: 1;
        display: block;
        z-index: 5;
    }

    .footer-box {
        flex-direction: column;
    }

    .left-box .logo {
        width: 50%;
    }

    .center-box .right-box {
        margin-top: 50px;
        align-items: center;
    }

    .top-box {
        right: 30px;
        bottom: 40px;
    }
    
    .link-menu .link-item {
        font-size: 14px;
        margin-right: 10px;
    }
    
    .dialog-box .dialog-close {
        width: 25px;
    }
}