﻿.btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

body > .bg-show,
body > .bg-login {
    position: fixed;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

body > .bg-show,
body > .bg-login {
    opacity: 0;
    visibility: hidden;
    background-color: #000;
    z-index: 999;
    transition: opacity 150ms ease-in-out;
}

    body > .bg-show.opened,
    body > .bg-login.opened {
        visibility: visible;
        opacity: 0.5;
    }

.popup-mps {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    color: #545454;
    border-radius: 5px;
    z-index: 1000;
}

    .popup-mps > *:first-child {
        position: fixed;
        width: 100%;
        border-radius: 5px;
        padding: 1.4em;
    }

.close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    display: flex;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    color: #ccc;
    font-family: serif;
    font-family: monospace;
    font-size: 2.5em;
    cursor: pointer;
    z-index: 2;
    background: rgba(0,0,0,0);
    transition: color .1s,box-shadow .1s;
}

/* login */
.popup-mps.login > *:first-child {
    max-width: 400px;
}

.popup-mps.login .main {
    display: flex;
    min-height: 368px;
    height: 368px;
    max-height: 368px;
}

.popup-mps.login .main > div {
   width:100%;
}

.popup-mps.login .edit-mobile,
.popup-mps.login .mobile-log {
    bottom: 105%;
    z-index: 2;
}

.popup-mps.login .edit-mobile {
    right: 0;
}

.popup-mps.login .mobile-log {
    left: 0;
    color: #ccc;
    letter-spacing: 2px;
}

.popup-mps.login .progress-bar {
    max-width: 242px;
    height: 20px;
    background-color: #fff;
}

    .popup-mps.login .progress-bar .info {
        background-color: #f5f5f5;
    }

        .popup-mps.login .progress-bar .info > div {
            background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
            background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
            background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
            background-color: #5bc0de;
            background-size: 40px 40px;
            height: 20px;
            width: 100%;
        }

    .popup-mps.login .progress-bar.active .info > div {
        -webkit-animation: progress-bar-stripes 3s linear infinite;
        -o-animation: progress-bar-stripes 3s linear infinite;
        animation: progress-bar-stripes 3s linear infinite;
    }

.box-profile .close {
    display: none;
}

/* */
body > header {
    position: sticky;
    top: -48px;
    left: 0;
    width: 100%;
    z-index: 998;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
    transform: translateY(0);
    transition: transform 0.5s;
}

    body > header > div {
        background: url("/site/images/menu/baner.gif") center center;
    }

    body > header > *:not(:nth-child(2)) {
        height: 48px;
        background-color: rgba(255,255,255,0.99);
    }

    body > header > *:nth-child(2) {
        height: 70px;
        background-color: rgba(247,248,250,0.99);
    }

    body > header .nav label,
    body > header > * div {
        height: inherit;
    }

    body > header .nav div span {
        margin: 0.75rem;
    }

    body > header .nav label {
        display: flex;
        cursor: pointer;
    }

    body > header button:hover,
    body > header .c-nav1 label:hover {
        background-color: #fdfdfd;
    }

    body > header button.active,
    body > header .c-nav1 label.active {
        background-color: #fff;
    }

    body > header .c-nav2 label.active {
        box-shadow: inset 0px -6px 4px -6px var(--clrred);
    }

.box-profile {
    position: absolute;
    min-width: 275px;
    height: auto;
    box-shadow: 0 1px 1px rgb(0 0 0 / 14%), 0 4px 8px rgb(0 0 0 / 30%);
    top: 58px;
    left: 0;
    background-color: rgba(255,255,255,0.995);
    border-radius: 0.25rem;
    z-index: 1005;
}

    .box-profile *:not(ul):not(li):not(small) {
        display: flex;
    }

    .box-profile > div > a > div > span,
    .box-profile a > span:first-child {
        max-width: 40px;
    }

    .box-profile ul a > span {
        width: 35px;
    }

    .box-profile > div .fas:after {
        content: "\f104";
        position: absolute;
        left: 0;
        color: #ccc;
    }

    .box-profile > div i {
        color: #ccc;
    }

    .box-profile a {
        width: 100%;
    }

    .box-profile a {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

        .box-profile a > div {
            flex: 1;
            padding-top: 0.75rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid #f5f5f5;
        }

        .box-profile a:hover {
            background-color: #f5f5f5;
        }

    .box-profile span {
        color: var(--clr);
    }

    .box-profile small {
        width: 33px;
        color: #ccc;
        text-align: left;
    }

/* menu mobile */
.menumobile {
    display: none;
}

/* brandMPS */
.brandMPS {
    display: flex;
    align-items: center;
    height: 70px;
}

    .brandMPS span {
        display: inline-flex;
        height: 36px;
        font-family: "BrandMPS" !important;
        font-size: 24px;
        cursor: default;
    }

body > header .brandMPS span:nth-child(1).active {
    animation: shrinkjump 1s ease-in-out;
    transform-origin: bottom center;
}

body > header .brandMPS span:nth-child(2).active {
    animation: falling 1.5s ease-out;
    transform-origin: bottom left;
}

body > header .brandMPS span:nth-child(3).active {
    animation: rotate 1s ease-out;
}

.brandMPS svg {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
}

body > header button {
    display: inline-flex;
    float: left;
    height: 100%;
    padding: 0 0.9rem;
    border: none;
    background-color: transparent;
}

body > header .nav-icon #search {
    display: none;
}

/* search-nav */
body > header .search-box > div {
    display: flex;
    position: relative;
    width: 270px;
    min-width: 180px;
}

body > header .search-input {
    width: 100%;
    font-size: 0.9rem;
    padding: 5px 10px 5px 47px;
    color: #6c6c6c;
    border-radius: 4px;
    border: 1px solid #ddd;
    outline: none;
    transition: all 150ms ease-in-out;
}

    body > header .search-input:focus {
        border: 1px solid #fff;
        box-shadow: 0 1px 5px #b8c6db;
        -moz-box-shadow: 0 1px 5px #b8c6db;
        -webkit-box-shadow: 0 1px 5px #b8c6db;
    }

body > header .search-btn {
    max-height: 36.4px;
    font-size: 18px;
    padding-top: 3px;
    padding-left: 15px;
    margin-right: -48px;
    border: none;
    color: #6c6c6c;
    background-color: transparent;
    cursor: pointer;
    z-index: 10;
}

    body > header .search-btn:hover {
        transform: scale(1.2);
        background-color: transparent;
    }

    body > header .search-btn:focus {
        outline: none;
        color: black;
    }

/* public */
.EnNum {
    pointer-events: none;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 17px;
    left: 7px;
    padding: 0 5px;
    height: 16px;
    margin-left: 2px;
    background-color: var(--clrred);
    border-radius: 20%;
    color: #fff;
    font-family: Muli, Arial, Helvetica, sans-serif !important;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 1000;
}

.icon-sib + i {
    position: absolute;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    padding-right: 1rem;
}

.lamp {
    position: absolute;
    display: flex;
    flex-direction: row;
    left: 0;
    bottom: -15px;
    width: 100%;
    height: 6px;
}

    .lamp > span {
        display: block;
        width: 25px;
        height: 100%;
        border: 1px solid #ccc;
    }

        .lamp > span:not(:first-child) {
            margin-left: 3px;
        }

.term {
    text-align: justify;
    text-align-last: right;
}

/* library */



/* footer */
footer {
    width: 100%;
    margin-top: 3rem !important;
    padding-bottom: 50px;
    background-color: rgba(247, 248, 250, 0.99);
}

    footer > div > ul:first-child > li {
        flex: 1;
        margin-bottom: 2rem;
    }

    footer h3 {
        font-size: 0.9rem;
        padding-bottom: 10px;
        font-weight: 300;
        color: #a6a6a6;
    }

    footer .det-new {
        flex-wrap: wrap;
        line-height: 2;
    }

    footer .link-share a > *,
    footer .link-app a > * {
        transform: scale(1);
        transition: transform 0.1s ease-in-out;
    }

        footer .link-share a > *:hover,
        footer .link-app a > *:hover {
            transform: scale(1.3);
        }

    footer .link-share a:not(:last-child),
    footer .link-app a:not(:last-child) {
        margin-left: 8px;
    }

    footer .membership {
        width: calc(5vw + 320px);
    }

        footer .membership .btn {
            position: absolute;
            right: 1px;
            top: 1%;
            height: 98%;
            box-shadow: none !important;
            border: 1px solid #ced4da;
            border-left: none;
            background-color: #e9ecef;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }

            footer .membership .btn:active {
                background-color: #e6e7e8;
                color: rgb(105, 105, 105);
            }

    footer .copyright {
        flex-direction: row;
    }

        footer .copyright li:first-child {
            padding-left: 1rem;
            align-items: flex-start;
        }

        footer .copyright li:last-child {
            align-items: flex-end;
        }

        footer .copyright .signs button {
            width: 70px;
            height: 70px;
            padding: 0
        }

@keyframes shrinkjump {
    10%, 35% {
        transform: scale(2, .5) translate(0, 0);
    }

    45%, 50% {
        transform: scale(1) translate(0, -50px);
    }

    80% {
        transform: scale(1) translate(0, 0);
    }
}

@keyframes falling {
    12% {
        transform: rotateX(240deg);
    }

    24% {
        transform: rotateX(150deg);
    }

    36% {
        transform: rotateX(200deg);
    }

    48% {
        transform: rotateX(175deg);
    }

    60%, 85% {
        transform: rotateX(180deg);
    }

    100% {
        transform: rotateX(0deg);
    }
}

@keyframes rotate {
    20%, 80% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@-webkit-keyframes progress-bar-stripes {
    from {
        background-position: 40px 40px;
    }

    to {
        background-position: 0 0;
    }
}

@keyframes progress-bar-stripes {
    from {
        background-position: 40px 40px;
    }

    to {
        background-position: 0 0;
    }
}

@media screen and (max-width: 1401px) {
}

@media screen and (max-width: 1201px) {
}

@media screen and (max-width: 993px) {
}

@media screen and (max-width: 880px) {
    footer > div > ul:first-child > li {
        flex: auto;
        width: 50%;
    }
}

@media screen and (max-width: 769px) {

    body > header button {
        padding: 0 0.42rem;
    }

    .EnNum {
        left: 0;
    }

    footer .copyright li {
        width: 100%;
    }

        footer .copyright li:first-child {
            padding-left: 0;
            margin-bottom: 1rem;
        }

        footer .copyright li:first-child,
        footer .copyright li:last-child {
            align-items: center;
        }

        footer .copyright li:nth-child(2) > div {
            display: flex;
            justify-content: center;
        }
}

@media screen and (max-width: 577px) {
    .popup-mps,
    .popup-mps > *:first-child {
        right: 0;
        bottom: 0;
    }

        .popup-mps > *:first-child {
            width: 100%;
            max-width: 100% !important;
            height: 100%;
            border-radius: 0;
        }

            .popup-mps > *:first-child > div {
                max-width: 368px;
            }

    .box-profile {
        position: fixed;
        width: 100%;
        height: 100%;
        box-shadow: none;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        padding: 0 !important;
        background-color: #fff;
        border-radius: 0;
        z-index: 1005;
    }

        .box-profile .close {
            display: flex;
            position: relative;
            margin-bottom: 1rem;
        }

    body > header > *:nth-child(2) {
        height: 48px;
        background-color: rgba(255,255,255,0.99);
    }

    .menumobile,
    body > header .nav-icon #search,
    .right-menu .c-mob-nav1,
    .right-menu .c-mob-nav2 {
        display: flex;
    }

    body > header .nav-icon #view-profile,
    body > header .nav-icon #customer-service,
    body > header .search-box {
        display: none;
    }

    body > header button {
        padding: 0 0.75rem;
    }

    .EnNum {
        top: 7px;
    }

    /* menu mobile */
    .menumobile {
        background-color: transparent;
        border: none;
        padding: 0 0.36rem;
        outline: none;
        transition: ease-out 150ms;
    }

        .menumobile > svg {
            width: 30px;
        }

        .menumobile .line {
            fill: none;
            stroke: #222;
            stroke-width: 5;
            transition: stroke 150ms ease-in-out, stroke-dasharray 150ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 150ms cubic-bezier(0.4, 0, 0.2, 1);
        }

        .menumobile:hover .line {
            stroke: #222;
        }

        .menumobile .line1,
        .menumobile .line3 {
            stroke-dasharray: 60 207;
        }

        .menumobile .line2 {
            stroke-dasharray: 60 60;
        }

        .menumobile.opened .line1 {
            stroke-dasharray: 90 207;
            stroke-dashoffset: -134;
            stroke-width: 5;
        }

        .menumobile.opened .line2 {
            stroke-dasharray: 1 60;
            stroke-dashoffset: -30;
        }

        .menumobile.opened .line3 {
            stroke-dasharray: 90 207;
            stroke-dashoffset: -134;
        }

    /* right menu */
    .right-menu {
        position: fixed;
        display: flex;
        flex-direction: column;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80%;
        max-width: 400px;
        outline: 0;
        overflow: auto;
        visibility: hidden;
        background-color: #fff;
        background-clip: padding-box;
        transform: translateX(100%);
        z-index: 1000;
        transition: visibility 150ms, transform 150ms;
    }

        .right-menu.opened {
            visibility: visible;
            transform: translateX(0);
        }

        .right-menu > * {
            width: 100%;
        }

        .right-menu .c-mob-nav1,
        .right-menu .c-mob-nav2 {
            padding: 0 1.25rem;
        }

        .right-menu .c-mob-nav1 {
            height: 52px;
            background-color: rgba(255,255,255,0.98);
        }

            .right-menu .c-mob-nav1 label,
            .right-menu .c-mob-nav2 label {
                display: flex;
                cursor: pointer;
            }

                .right-menu .c-mob-nav1 label.active {
                    box-shadow: inset 0px -6px 4px -6px var(--clrred);
                }

            .right-menu .c-mob-nav1 *:not(span),
            .right-menu .c-mob-nav2 *:not(span) {
                height: inherit;
            }

            .right-menu .c-mob-nav1 span {
                margin: 0.75rem;
            }

        .right-menu .c-mob-nav2 .swiper-container,
        .right-menu .c-mob-nav2 .swiper-slide,
        .right-menu .c-mob-nav2 label {
            width: inherit;
        }

        .right-menu .c-mob-nav2 .swiper-wrapper {
            flex-direction: column;
        }

            .right-menu .c-mob-nav2 .swiper-wrapper .swiper-slide {
                height: 40px;
            }

        .right-menu .currency,
        .right-menu .application,
        .right-menu .location,
        .right-menu .add-app {
            padding: 1rem 1.25rem;
        }

        .right-menu .list-info button:not(.accordion-button) {
            width: 100%;
            height: 40px;
            text-align: right;
        }

        .right-menu .list-info .accordion-button {
            color: #444;
        }

            .right-menu .list-info .accordion-button:not(.collapsed) {
                color: #0c63e4;
            }

            .right-menu .list-info .accordion-button::after {
                margin-right: auto;
                margin-left: 0;
                width: 1rem;
                height: 1rem;
                background-size: 1rem;
            }

            .right-menu .list-info .accordion-button:not(.collapsed)::after {
                transform: rotate(90deg);
            }

        .right-menu .list-info .accordion-item {
            border: none;
        }

            .right-menu .list-info .accordion-item:first-of-type .accordion-button {
                font-size: 0.9rem;
            }

    /* app-download */
    .app-download {
        display: flex;
        width: 135px;
        border-radius: 5px;
        border: 1px solid #808080;
    }

        .app-download * {
            color: #fff;
        }

        .app-download ul li {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
        }

            .app-download ul li:last-child {
                padding-left: 7px;
            }

                .app-download ul li:last-child span:first-child {
                    font-size: 0.7rem;
                    height: 12px;
                }

                .app-download ul li:last-child span:last-child {
                    font-size: 1rem;
                    height: 18px;
                }

    footer {
        display: flex;
        position: sticky;
        right: 0;
        bottom: 0;
        left: 0;
        height: 60px;
        padding-right: var(--bs-gutter-x,.75rem);
        padding-left: var(--bs-gutter-x,.75rem);
        padding-bottom: 0 !important;
        background-color: #fff;
        box-shadow: 0 0.4rem 1rem 0 rgb(55 55 55 / 20%);
        z-index: 998;
    }

    /* bottom-nav */
    .bottom-nav.hide {
        visibility: hidden;
        transition: none;
    }

    .bottom-nav input {
        display: none;
    }

    .bottom-nav label {
        cursor: pointer;
        display: flex;
        flex-direction: column;
        row-gap: 2px;
        justify-content: center;
        width: 25%;
        height: 100%;
        padding: 5px 0;
        position: relative;
    }

        .bottom-nav label::before {
            content: '';
            position: absolute;
            top: -35px;
            width: 100%;
            max-width: 60px;
            height: 100%;
            transform: scale(0);
            background: rgba(244, 151, 0, 0.3);
            border-radius: 50%;
            border: 4px solid var(--clrdef);
            transition: transform 150ms cubic-bezier(0.645, 0.045, 0.355, 1);
        }

        .bottom-nav label span:first-child {
            position: relative;
            height: 20px;
            margin-top: 4px;
        }

        .bottom-nav i,
        .bottom-nav svg,
        .bottom-nav label .text {
            transition: transform 150ms cubic-bezier(0.645, 0.045, 0.355, 1), top 150ms cubic-bezier(0.645, 0.045, 0.355, 1), bottom 150ms cubic-bezier(0.645, 0.045, 0.355, 1);
        }

    .bottom-nav i,
    .bottom-nav svg {
        font-size: 20px;
        color: inherit;
    }

    .bottom-nav label .text {
        position: absolute;
        top: 25px;
    }

    .bottom-nav label .text,
    .bottom-nav input:checked + label i {
        opacity: 0;
        transform: scale(0);
    }

    .bottom-nav input:checked + label::before {
        background: #fce0b2;
        transform: scale(1);
    }

    .bottom-nav input:checked + label .text,
    .bottom-nav input:checked + label .fill {
        opacity: 1;
        transform: scale(1);
    }

    .bottom-nav input:checked + label .fill {
        top: -37px;
    }

    .fill {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transform: scale(0);
    }
}

@media screen and (max-width: 280px) {
}
