body {
    padding: 0;
    margin: 0;
    background-color: black;
}

* {
    box-sizing: border-box;
}

.body-mainmenu {
    background-image: url("../images/mainBg.jpg");
    background-size: cover;
}

.content {
    height: 100vh;
    width: 100vw;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
    z-index: 10;
    border-radius: 5px;
}


/* Track */

::-webkit-scrollbar-track {
    background: #f1f1f163;
    border-radius: 5px;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: rgba(139, 139, 139, 0.945);
    border-radius: 5px;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: rgb(151, 151, 151);
}


/* NAVBAR */

.navigation.fixed {
    border-bottom: 1px solid hsla(0, 0%, 100%, .2);
}

.navigation.fixed,
.navigation.has-open-dropdown {
    position: fixed;
}

.navigation.colored {
    background-color: #000;
}

@media (min-width: 768px) {
    .navigation {
        height: 105px;
    }
}

.navigation {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    max-width: none;
    height: 83px;
    background-color: transparent;
    transition-property: background-color, transform;
    transition-duration: .32s;
    transition-timing-function: ease-in-out;
}

@media (min-width: 768px) {
    .navigation_wrapper.wrapper {
        height: 105px;
        width: calc(100% - 60px);
    }
}

.navigation_wrapper.wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 83px;
    width: calc(100% - 40px);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

.navigation_div {
    position: relative;
    height: 90%;
}

@media (min-width: 768px) {
    .container .wrapper {
        margin: 0 30px;
    }
}

.container .wrapper {
    margin: 0 20px;
    box-sizing: border-box;
}

.navigation_menu {
    flex: 1;
    display: block;
}

@media (max-width: 800px) {
    .navigation_menu {
        display: none;
    }
}

.dropdown {
    width: 100vw;
    height: 100vh;
    background-size: cover;
    position: fixed;
    top: 0;
    right: 0;
    padding: 0 8%;
    opacity: 0;
    transition: height 0.8s cubic-bezier(.13, .54, .64, .99), opacity 0.5s ease-in-out;
    overflow: hidden;
    z-index: -1;
}

.menu-listing_item:hover .dropdown {
    transition: height 0.8s cubic-bezier(.13, .54, .64, .99), opacity 0.3s ease-in-out;
    height: 100vh;
    opacity: 1;
}

.dropdown-wrapper .ctn {
    max-width: 280px;
    pointer-events: auto;
}

.dropdown-wrapper {
    margin-top: 100px;
    height: 80vh;
    width: 91vw;
    overflow-y: auto;
}

.menu-listing_item:not(hover) .dropdown {
    transition: height 0.8s cubic-bezier(.13, .54, .64, .99) 0.8s, opacity 0.8s ease-in-out 0.8s;
    height: 0;
    opacity: 0;
}

.navigation_toggle {
    display: block;
    width: 39px;
    height: 28px;
    padding: 0;
    position: relative;
    background-color: transparent;
    border: none;
    margin: 0;
    cursor: pointer;
}

#mobile-menu .dropdown {
    transition: width 0.8s cubic-bezier(.13, .54, .64, .99), opacity 0.8s ease-in-out;
}

@media (min-width: 801px) {
    .navigation_toggle {
        display: none;
    }
}

.navigation_toggle .line {
    width: 100%;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    transition: all .32s ease-in-out;
}

.navigation_toggle .line:first-child {
    top: calc(50% - 4.5px);
}

.navigation_toggle .line:last-child {
    top: calc(50% + 4.5px);
}

.navigation_toggle[aria-label*="Close Menu"] .line {
    top: 50%;
    width: 16px;
}

.navigation_toggle[aria-label*="Close Menu"] .line:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.navigation_toggle[aria-label*="Close Menu"] .line:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#mobile-menu[aria-label*="Close Menu"] .dropdown {
    padding: 0 8%;
    width: 100vw;
    opacity: 1;
}

#mobile-menu[aria-label*="Open Menu"] .dropdown {
    padding: 0;
    width: 0vw;
    opacity: 0;
}


/* NAVBAR List */

.menu-listing {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    padding-top: 10px;
    list-style-type: none;
    pointer-events: none;
}

.menu-listing_item,
.menu-logo {
    margin-right: 40px;
    height: 70%;
    cursor: pointer;
}

.menu-listing_btn {
    font-family: 微軟正黑體, sans-serif;
    font-size: 23px;
    font-weight: bold;
    line-height: 19px;
    line-height: 1.1875rem;
    /* letter-spacing: -.01em; */
    color: #fff;
    padding: 0;
    position: relative;
    background-color: transparent;
    z-index: 3;
    pointer-events: auto;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.61);
}

.a-line {
    position: relative;
}

.menu-listing_btn::after,
.a-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width .5s cubic-bezier(.13, .61, .64, .99);
}

.a-line::after {
    height: 2px;
}

.menu-listing_item:hover .menu-listing_btn::after,
.menu-content_title:hover.a-line::after {
    width: 100%;
}

a {
    text-decoration: none;
    background: transparent;
}


/* PAGE MENU */

.leftOrnamen {
    height: 100vh;
    position: absolute;
    width: 60px;
    padding-left: 30px;
    text-align: center;
    opacity: 0;
    overflow: hidden;
}

.leftOrnamen .line {
    width: 3px;
    background-color: #fff;
    display: inline-block;
}

.leftOrnamen .text {
    writing-mode: vertical-lr;
    text-orientation: upright;
    color: #888;
    margin: 0;
    margin: 5vh 0;
    font-size: 16px;
    display: inline-block;
}

.menu-opening {
    /*height: 200vh;*/
    min-height: 100vw;
    /*background-color: black;*/
    position: relative;
    padding-top: 100vh;
}

#menu-blackLayer {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: #000;
    opacity: 0;
    z-index: -1;
}

.menu-title {
    bottom: 10vh;
    left: 10vw;
    position: fixed;
    z-index: -1;
}

.menu-title_text {
    color: #fff;
    margin: 0;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.637);
}

#myVideo {
    position: fixed;
    left: 0;
    top: 0;
    min-width: 100vw;
    min-height: 100vh;
    z-index: -2;
}

.video_toggle {
    position: absolute;
    bottom: 30px;
    right: 20px;
    opacity: 1;
    transition: opacity .32s ease-in-out;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #fff;
    background-color: transparent;
    z-index: 3;
    cursor: pointer;
    transition: background-color .32s ease-in-out;
}

@media (min-width: 768px) {
    .video_toggle {
        bottom: 32px;
        right: 30px;
    }
}

@media (min-width: 1280px) {
    .video_toggle {
        bottom: 48px;
        right: 60px;
    }
}

.video_toggle_pause,
.video_toggle_play {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.video_toggle_pause {
    display: none;
}

.video_toggle[data-playing*=true] .video_toggle_pause {
    display: block;
}

.video_toggle[data-playing*=true] .video_toggle_play {
    display: none;
}

.video_toggle_pause svg,
.video_toggle_play svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video_toggle:hover,
.video_toggle:focus {
    background-color: #fff;
}

.video_toggle:hover path,
.video_toggle:focus path {
    fill: #000;
}

.m-container {
    width: 100vw;
    padding-bottom: 150px;
}

.m-container:after {
    content: "";
    display: table;
    clear: both;
}

.m-container .right {
    padding: 0 4% 0 8%;
    width: 90%;
}

.m-container .left {
    width: 100%;
    border-style: solid;
    border-width: 0 2px 0 0;
    border-color: rgb(65, 65, 65);
}

.menuImg {
    padding: 5% 8%;
    width: 100%;
}

@media(min-width: 1280px) {
    .m-container .left {
        float: left;
        width: 40%;
    }
    .m-container .right {
        width: 55%;
        float: left;
    }
    .menuImg {
        padding: 0 5% 0 18%;
    }
}

.divLine {
    width: 85px;
    height: 2px;
    background-color: #fff;
}

.menu-content_title {
    font-size: 3.5rem;
    color: #fff;
    margin: 40px 0;
}

.navigation-submenu {
    margin-left: 52px;
    font-size: 38px;
    font-weight: 500;
    color: #fff;
}

.menu-content_text,
li {
    color: #fff;
    font-size: 20px;
    margin-top: 0;
}

.readmore_button {
    padding: 0 30px;
    height: 60px;
    border: 2px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 18px;
    font-family: 'Times New Roman', Times, serif;
    z-index: 3;
    cursor: pointer;
    transition: background-color .32s ease-in-out;
}

.add_button {
    padding: 5px 40px;
    display: inline-block;
}

.readmore_button:hover,
.readmore_button:focus {
    background-color: #fff;
    color: #000;
}


/* other page */

.body-other {
    height: 100vh;
    width: 100vw;
    background-size: cover;
}

.title-other {
    margin: 0 4%;
    margin-top: 20vh;
}

.transBlack {
    position: relative;
    top: 10vh;
    width: 100vw;
    height: 300px;
}

.content-other {
    padding-right: 4%;
    padding-left: 4%;
    position: relative;
    background-color: #000;
}

.contact-subtitle {
    font-size: 28px;
    margin: 5px 0;
}

.contact-link {
    padding-left: 2%;
    text-decoration: underline;
}

.google-map {
    width: 100%;
    height: 80vh;
    padding-bottom: 5vh;
}


/* For Main menu page */

.mmButton {
    position: relative;
    height: 100vh;
    opacity: 0.5;
    width: 33.3%;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    /* border-style: solid; */
    /* border-width: 0 2px 0 0; */
    /* border-color: rgb(196, 196, 196); */
    transition: width 0.8s cubic-bezier(.13, .54, .64, .99), opacity 0.5s ease-in-out;
    box-shadow: -5px 5px 18px 10px rgba(0, 0, 0, .8);
    text-align: center;
}

.mmButton:hover {
    width: 80%;
    opacity: 1;
    box-shadow: -5px 5px 18px 10px rgba(0, 0, 0, 0.562);
    cursor: pointer;
}

.mmTitle {
    z-index: 2;
    position: relative;
    margin-top: 35vh;
    padding: 0 2vw;
    transition: font-size 0.8s cubic-bezier(.13, .54, .64, .99);
    font-size: 50px;
    display: inline-block;
    border-style: solid;
    border-width: 0 0 0 7px;
    border-color: #fff;
    text-shadow: 1px 4px 8px rgba(0, 0, 0, 0.795);
}

.mmButton:hover .mmTitle {
    font-size: 90px;
}

.mmTitle::after {
    z-index: -1;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    border-style: solid;
    border-width: 0 0 2px 0;
    border-color: #fff;
    height: 100%;
    width: 0;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.623), rgba(0, 0, 0, 0));
    transition: width .5s cubic-bezier(.13, .61, .64, .99) 0.2s;
}

.mmButton:hover .mmTitle::after {
    width: 100%;
}

#scrollContainer a {
    color: rgb(82, 163, 255);
}


/* admin edit */

.lineEdit {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.685);
    border-radius: 5px;
    border-width: 2px;
}

.hint:empty:before {
    content: attr(data-placeholder);
    color: rgba(255, 255, 255, 0.527);
}

.buttonLogout {
    background-color: transparent;
    color: #fff;
    border-style: solid;
    border-color: #fff;
    border-width: 2px;
    transition: all 0.4s;
    padding: 5px 15px;
    border-radius: 40px;
    font-size: 22px;
}

.buttonLogout:hover {
    background-color: #fff;
    color: #000;
    cursor: pointer;
}

@media (max-width: 801px) {
    .buttonLogout {
        display: none;
    }
}


/* contact */

.qrCode {
    padding-right: 60px;
    width: 200px;
    display: inline-block;
}