
body, html {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    font-family: "myriad", Arial, Helvetica, sans-serif;
}


.navWrapper {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background-color: #f4e7c1;
    z-index: 10;
}

#navbar {
    height: 100%;
    margin: 0 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: white;
}

#navLogo {
    width: 33%;
    max-width: 168px;
}

#mobileBtn {
    width: 35px;
}

@keyframes anim-right-in {
    0%   {right: calc(-60% - 2px);}
    100% {right: 0;}
}

@keyframes anim-right-out {
    0%   {right: 0;}
    100% {right: calc(-60% - 2px);}
}

.menuShow {
    display: block;
    animation-name: anim-right-in;
    animation-duration: 500ms;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

.menuHide {
    animation-name: anim-right-out;
    animation-duration: 500ms;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

.menuNormal {
    position: fixed;
    z-index: 20;
    right: calc(-60% - 2px);
    width: 60%;
    max-width: 500px;
    height: 100%;
    background-color: #f4e7c1;
    box-shadow: -1px 0 0 darkgrey;
}


#navMenuWrapper {
    margin-left: 20px;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.navItem {
    font-weight: bold;
    white-space: nowrap;
    width: 80%;
    min-width: 100px;
    text-align: left;
    border-radius: 7px;
    overflow: hidden;
    margin: 2px 0;

    transition: height 0.5s ease-in-out;
}

.navMenu {
    min-width: 100px;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
    text-align: left;

    padding: 5px 20px;
    position: relative;
    margin: 0 auto;
}

.navItemSelect, .navItemFocus {
    background-color: #e77a30;
}

.navBackBtn {
    height: 95px;
    width: 100%;
    margin-left: 35px;
}

.navBackBtn > img {
    height: 35px;
    padding-top: 25px;
}

.navItemLink {
    color: #e97f20;
    text-decoration: none;
}

.navItemSelect > .navItemLink, .navItemFocus > .navItemLink {
    color: white;
}

.menuArrow {
    width: 12px;
    position: absolute;
    right: 15px;
    top: 22px;
    transition: all 0.5s ease;
}

.menuArrowRotate {
    transform: rotate(180deg);
}

.sub-menu {

}

.sub-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    transition: all 0.5s ease-in-out;
}

.sub-menu ul .navMenu {
    padding: 0 20px;
}

.sub-menu ul .navItemLink {
    color: yellow;
    font-weight: initial;
}

.navWallet {
    background-image: var(--img-menu-wallet);
    background-repeat: no-repeat;
    background-size: 100% 100%;

    width: 80%;
    min-width: 100px;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
    text-align: left;

    padding: 5px 0;
    border-radius: 7px;
    position: relative;
    margin: 10px auto 0;
}

.navWallet > .navItemLink {
    padding-left: 20px;
    color: white;
}

#navLang {
    margin: 15px 0 0 25px;
    padding: 0 15px;
    font-size: 10px;
    text-align: center;
}

#langWrapper {
    display: flex;
}

.langItem {
    border-radius: 5px;
    width: 45px;
    margin-right: 10px;
    color: white;
}

#langSelect {
    background-color: rgba(0, 0, 0, 0.35);
}

.langNormal {
    background-color: rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.langNormal > a {
    text-decoration: none;
    color: white;
}

#navSound {
    cursor: pointer;
    margin: 20px 0 0 40px;
}

#navSound > img {
    width: 30px;
}

/*****************************************************/
/* Footer */
#areaFooter {
    background-image: var(--img-bg-cream);
    background-repeat: repeat;
    overflow: hidden;
    font-family: myriad, "Microsoft YaHei", sans-serif;
}

#communityBlock {
    background-image: var(--img-bg-orange);
    background-repeat: repeat;

    width: 85%;
    color: white;
    margin: 75px auto 0;
    border-radius: 15px;
    box-shadow: 2px 2px 5px grey;
    padding: 30px 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#communityBlock > img {
    width: 75px;
}

#communityBlock > p {
    font-size: 26px;
    line-height: 30px;
    text-align: center;
}

#joinBtn {
    background-image: var(--img-btn-green);
    background-repeat: no-repeat;
    background-size: 100% 100%;

    width: 186px;
    height: 48px;
    text-align: center;
    cursor: pointer;
}

#joinBtn > span {
    line-height: 48px;
}

#footer {
    margin: 50px auto 75px;
    width: 85%;
    text-align: left;
    font-size: 14px;
    font-weight: bold;

    display: flex;
    flex-direction: column-reverse;
}

#copyrightWrapper {
    text-align: left;
    padding-top: 50px;
}

#footerLogo > img {
    height: 75px;
    margin-bottom: 10px;
}

#footerMedia a {
    text-decoration: none;
}

#footerMedia img {
    width: 30px;
    margin: 0 15px;
}

#footerCopy {
    font-size: 12px;
    margin-top: 10px;
    color: #93774a;
}

#footerMenuWrapper {
    margin-top: 10px;

    display: flex;
    flex-wrap: wrap;
}

.footer-menu {
    width: 50%;
}

.footer-menu > p {
    line-height: 20px;
    text-align: left;
    color: #93774a;
}

.footer-menu > p:first-child {
    color: #70412c;
    font-size: 16px;
}

.footer-sub-menu {
}

.footer-sub-menu > a {
    color: #93774a;
    text-decoration: none;
}

.dialog-mask {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    opacity: 0.6;
    z-index: 100;
}

.dialog-common-tip, .dialog-plain-tip {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    width: 95%;
}

.dialog-common-tip > .tip-wrapper {
    background-image: var(--img-wish-tip);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    width: 100%;
    height: 100px;

    display: flex;
    justify-content: center;
    align-items: center;
}


.dialog-common-tip > .tip-wrapper > .tip-message {
    width: 90%;
    color: #6b4912;
    font-size: 11px;
    text-align: center;
}

.dialog-common-tip > .tip-close, .dialog-plain-tip > .tip-close {
    margin-top: 20px;
    text-align: center;
}

.dialog-common-tip > .tip-close > .tip-close-btn, .dialog-plain-tip > .tip-close > .tip-close-btn {
    width: 50px;
    height: 50px;
    background-image: var(--img-btn-close);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
    cursor: pointer;
}

.dialog-plain-tip {
    width: 90%;
}

.dialog-plain-tip > .tip-wrapper {
    background-color: white;
    opacity: 0.9;
    border-radius: 10px;
    padding: 20px;
}

.dialog-plain-tip > .tip-wrapper > .tip-content {
    background-color: lightgrey;
    color: #ff841e;
    min-height: 150px;
    border-radius: 8px;
    padding: 20px;
}

.dialog-plain-tip > .tip-wrapper > .tip-content > .tip-message-title {
    margin: 0;
}

.dialog-plain-tip > .tip-wrapper > .tip-content > .tip-message-content {
    display: block;
}