body {
    font-family: "微軟正黑體", sans-serif;
    /*g-font-size:16*/
    font-size: 1.14286rem;
    color: #333333;
}

ul ul,
ol ul {
    list-style-type: none;
}

.g-bg-yellow-2 {
    background-color: #FDCF00;
}

.g-bg-blue-2 {
    background-color: #034099;
}

.g-bg-blue-3 {
    background-color: rgba(56, 124, 222, 0.9) !important;
}

.g-min-height-120 {
    min-height: 120px;
}

@media (min-width: 576px) {
    .text-right--md {
        text-align: right;
    }
}

.only-one-line {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mid-banner {
    background-repeat: repeat-y;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

.text-shadow-1 {
    text-shadow: 2px 2px 3px #434a54;
}

.box-shadow-1 {
    box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.25);
}


/*手機版右上按鈕*/
.navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, .8);
    border-color: rgba(0, 0, 0, 1);
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
    position: absolute;
    width: 24px;
    height: 2px;
    transition-timing-function: ease;
    transition-duration: .15s;
    transition-property: transform;
    border-radius: 0px;
    background-color: #000;
}

.hamburger {
    padding-top: 20px;
}


/*上橫幅修改*/

@media (min-width: 1200px) {
    .navbar-nav .dropdown-menu {
        margin-top: 0;
        border-radius: 5px;
        box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.09);
    }

    .navbar-nav .dropdown-menu {
        opacity: 0;
        transition: opacity .2s;
        -webkit-transition: opacity .2s;
    }

    .dropdown .dropdown-menu {
        display: block;
        opacity: 0;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
    }

    .dropdown-toggle::after {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: .255em;
        vertical-align: .255em;
        content: "";
        border-top: .0em solid;
        border-right: .0em solid transparent;
        border-bottom: 0;
        border-left: .0em solid transparent;
    }

    .navbar {
        padding: 10px;
    }

    .g-bg-header {
        background-color: #0850a4;
    }

    .navbar-light .navbar-nav .nav-link {
        color: #fff;
    }

    .navbar-light .navbar-nav .nav-link:focus,
    .navbar-light .navbar-nav .nav-link:hover {
        color: #fff;
    }

    .navbar-light .navbar-nav .show>.nav-link {
        color: #fff;
    }
}

@media (max-width: 1199px) {
    .g-bg-header {
        background-color: #fff;
    }

    .navbar-light .navbar-nav .nav-link {
        color: rgb(54, 54, 54);
    }
}

@media (min-width: 1200px) {
    .navbar-expand-xl .navbar-nav .nav-link {
        font-size: 17px;
        padding-right: .95rem;
        padding-left: .95rem;
    }
}

.dropdown-toggle::after {
    margin-left: 0.05em;
}

/*手機版 logo限制寬度*/
@media (max-width: 1400px) {
    .navbar-brand img {
        width: 240px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        width: 160px;
    }
}

@media (max-width: 330px) {
    .navbar-brand img {
        width: 120px;
    }
}

/* 右上角選單 */

.main-list .sub-list-block {
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #fff;
    z-index: 5;
    border: 1px #e8e8e8 solid;
    right: 0px;
    text-align: left;
}

.main-list>li:hover .sub-list-block {
    visibility: visible;
    opacity: 1;
}

.main-list .sub-list {
    padding: 10px 10px;
    white-space: nowrap;
}

.main-list .sub-list.shopping-table {
    width: 350px;
    max-height: 300px;
    overflow: auto;
    letter-spacing: 0;
    height: 300px;
}

.main-list .sub-list.search-table {
    padding: 30px 30px;
    width: 300px;
    max-height: 150px;
    overflow: auto;
    letter-spacing: 0;
    height: 150px;
}

.main-list .sub-list.lang-table {
    width: 100px;
    max-height: 95px;
    overflow: auto;
    letter-spacing: 0;
    height: 95px;
}

.main-list .sub-list.account-table {
    width: 130px;
    max-height: 140px;
    overflow: auto;
    letter-spacing: 0;
    /* height: 150px; */
    margin-left: 10px;
    margin-top: 10px;
}

a:hover {
    text-decoration: none;
}

/* 內頁 類別 */
.category-1>div {
    margin-bottom: 20px;
}

.category-1 a {
    padding: 5px 15px;
}

.category-1 .category-select-1 {
    background-color: #04c303;
    color: white !important;
    border-radius: 20px;
}

.category-1 a:hover {
    background-color: #04c303;
    color: white !important;
    border-radius: 20px;

}

/*首頁聯絡我們表單 背景影片*/
.contact-video-bg {
    overflow: hidden;
    height: 400px;
    background: #edeae8;
    position: relative;
}

video {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -300px;
    /* bottom:50% */
}

.contact-video-bg .overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(to right, #007bffbf, rgba(84, 202, 255, 0.5));
}


/* 前導動畫*/
.loader-wrapper {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 9999;
}

.loader-fade {
    opacity: 0;
    animation: loader-fade 2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
}

@keyframes loader-fade {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}
.loader-fade .swiper-wrapper{
    height: 100vh;
    cursor: grab;
}
.load-logo{
    position: absolute;
    left:30px;
    top:30px;
    z-index: 9999;
    color:#fff;
}
.load-title{
    position: absolute;left:30px;bottom:90px;z-index: 9999;color:#fff;
    font-size:15px;
}
.load-text{
    padding:10px 20px;color:#fff; background-color: rgba(0, 0, 0, 0.4);
}
.skip-div{
    cursor: pointer;
    position: absolute;
    left:30px;
    bottom:30px;
    z-index: 9999;
    color:#fff;
}
.loader-wrapper .swiper-button-next{
    right:27px;
}
.loader-wrapper .swiper-button-prev,.loader-wrapper .swiper-container-rtl .swiper-button-next {
    background-image: url(../plugins/swiper/left.svg);
}
.loader-wrapper .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    background-image: url(../plugins/swiper/right.svg);
}