/**
 * CONTENTS
 *
 * SETTINGS
 * Global...............Globally-available variables and config.
 *
 *
 *
 * LAYOUTS
 * Container............Container width.
 *
 *
 *
 * COMPONENTS
 * Buttons..............Button elements.
 * Page-head............The main page header.
 * Page-foot............The main page footer.
 * 
 *
 *
 * PAGES CONTENT
 *
 *
 */



/*------------------------------------*\
  SETTINGS
\*------------------------------------*/

html {
    scroll-behavior: smooth;
    font-size: 12px;
}

body {
    font-family: "Noto Sans TC", "Microsoft JhengHei", "微軟正黑體", sans-serif;
    color: #626262;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 300;
}

body.fixed {
    overflow: hidden;
}


a {
    color: #595757;
    transition: 0.3s;
}

a:hover {
    color: #333;
    text-decoration: none;
}

b, strong {
    font-weight: 700;
}



.pre {
    white-space: pre-line; 
}


@media (min-width: 576px) {
    html {
        font-size: 16px;
    }
}






/*------------------------------------*\
  UTILITIES
\*------------------------------------*/

.overlay {
    position: relative;
}

.overlay::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
}

.overlay-4::before {
    opacity: 0.4;
}

.p-relative {
    position: relative;
}

.o-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.list-style-none {
    list-style: none;
}

.add-shadow {
    box-shadow: 0 2px 5px 1px rgb(210 210 210 / 60%);
}

.img-fluid-all img,
.img-fluid-all input[type="image"] {
    max-width: 100%;
    height: auto !important;
}

.w-100 {
    width: 100%;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #dbe4e9;
}



/*------------------------------------*\
  FONT
\*------------------------------------*/

.letter-spacing-2 {
    letter-spacing: 2px;
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

.letter-spacing-4 {
    letter-spacing: 4px;
}

.letter-spacing-5 {
    letter-spacing: 5px;
}

.letter-spacing-8 {
    letter-spacing: 8px;
}

.letter-spacing-11 {
    letter-spacing: 11px;
}

.line-height-5 {
    line-height: 1.5em;
}

.line-height-8 {
    line-height: 1.8em;
}

.font-small {
    font-size: 14px;
}

.text-large {
    font-size: 60px;
}

.font-custom {
    font-family: din-2014,"Microsoft JhengHei", sans-serif;
    font-weight: 400;
}

.ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-line-2 {
    -webkit-line-clamp: 2;
}

.ellipsis-line-3 {
    -webkit-line-clamp: 3;
}






/*------------------------------------*\
  COLORS, BG & BORDER
\*------------------------------------*/

.color-primary {
    color: #678EA9;
}

.color-gray-light {
    color: #b5b5b6;
}


.bg-color-primary {
    background-color: #678EA9;
}

.bg-color-gray {
    background-color: #f9fafa;
}

.bg-color-light {
    background-color: #fff;
}


.color-danger {
    color: #ff0000;
}

.color-success {
    color: #84bcb5;
}




/*------------------------------------*\
  LAYOUTS
\*------------------------------------*/

.section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-heading {
    display: flex;
    align-items: center;
    font-size: 36px;
    letter-spacing: 2px;
    margin-bottom: 40px;
}


@media (min-width: 1200px) {
    .container-wide {
        max-width: 1440px;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
}






/*------------------------------------*\
  COMPONENTS
\*------------------------------------*/

/**
 *  Button
 */

button {
    background-color: transparent;
    border: none;
}

.button {
    display: inline-block;
    padding: 6px 35px;
    border-radius: 25px;
    border: 1px solid transparent;
    background-color: transparent;
    transition: 0.3s;
    cursor: pointer;
    font-size: 14px;
}


.button-primary {
    background-color: #678EA9;
    border-color: #678EA9;
    color: #fff;
}

.button-primary:hover,
.button-primary.active {
    background-color: #1E5276;
    border-color: #1E5276;
    color: #fff;
}


.button-outline-primary {
    border-color: #626262;
    color: #626262;
}

.button-outline-primary:hover,
.button-outline-primary.active {
    background-color: #1E5276;
    border-color: #1E5276;
    color: #fff;
}

.button-rounded {
    border-radius: 25px;
}

.button-filled {
    width: 100%;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 16px;
    border-radius: 5px;
}


.button-outline-light {
    border-color: #fff;
    color: #fff;
}

.button-outline-light:hover {
    background-color: #fff;
    color: #1E5276;
}


.button-gray {
    background-color: #626262;
    border-color: #626262;
    color: #fff;
}

.button-gray:hover {
    background-color: #3a3a3a;
    border-color: #3a3a3a;
    color: #fff;
}

.button-pool {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

    .button-pool .button {
        padding: 5px 15px;
        margin: 3px;
    }




/**
 *  Dropdown
 */


.drop {
    position: relative;
}

.drop__content {
    display: none;
    position: absolute;
    top: 40px;
    padding: 0;
    background-color: #f7f7f7;
    list-style: none;
    box-shadow: 0 2px 5px 1px rgb(210 210 210 / 60%);
}

    .drop__content a {
        display: block;
        width: 120px;
        padding-top: 8px;
        padding-bottom: 8px;
        padding: 8px 20px;
        border-bottom: 1px solid #eee;
    }


.collapse__content {
    display: none;
}

.collapse__button.active ~ .collapse__content {
    display: block;
}


/**
 * Popup
 */

.popup {
    position: relative;
    z-index: -9999999;
    opacity: 0;
    transition: opacity 0.5s;
}
 
.popup.active {
    z-index: 9999999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 37, 37, 0.8);
}

    .popup__content {
        position: fixed;
        top: 50%;
        left: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translate(-50%, -50%);
        padding: 20px;
        width: 400px;
        max-width: 95%;
        height: 300px;
        background-color: #fff;
        border-radius: 18px;
    }

  
    .popup.active  {
        opacity: 1;
    }


.button--popup-close {
    position: absolute;
    right: 15px;
    top: 15px;
}

.button--popup-close svg {
    width: 30px;
    height: 30px;
    stroke: #888;
}




.popup .langs {
    width: 86%;
}

    .popup .langs .section-heading {
        justify-content: center;
    }

    .popup .langs .item {
        position: relative;
        width: 130px;
        height: 130px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        border-radius: 50%;
        font-size: 18px;
        font-weight: 700;
    }

    .popup .langs .item::after {
        content: "";
        position: absolute;
        width: 110px;
        height: 110px;
        border: 3px solid #678EA9;
        border-radius: 50%;
    }

    .popup .langs .item:hover {
        background-color: #678EA9;
        color: #fff;
    }

    .popup .langs .item:hover::after {
        border-color: #fff;
    }


/**
 *  Animate
 */

.animate {
    animation-duration: 3s;
}

@keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translate3d(-40px, 0, 0);
    }
  
    to {
      opacity: 1;
      transform: none;
    }
}

@keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translate3d(40px, 0, 0);
    }
  
    to {
      opacity: 1;
      transform: none;
    }
}

@keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translate3d(0, -40px, 0);
    }
  
    to {
      opacity: 1;
      transform: none;
    }
}

@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate3d(0, 40px, 0);
    }
  
    to {
      opacity: 1;
      transform: none;
    }
}

.animate__delay-200ms {
    animation-delay: 200ms;
}

.animate__delay-400ms {
    animation-delay: 400ms;
}

.animate__delay-600ms {
    animation-delay: 600ms;
}

.animate__delay-800ms {
    animation-delay: 800ms;
}

.animate__delay-1s {
    animation-delay: 1s;
}




/**
 *  Image Container
 */

.image-box {
    display: flex !important;
}

    .image-box-outer {
        width: 100%;
        padding-bottom: 100%;
        position: relative;
        overflow: hidden;
        margin: 0;
        line-height: 0;
    }

    .image-box-outer.ratio-3-2 {
        padding-bottom: 66.66%;
    }

        .image-box-inner {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
        }

            .image-box-inner img {
                width: 100%;
                height: 100%;
                object-position: 50% 50%;
                object-fit: cover;
            }


.image-hover--zoom img,
.image-hover--shrink img {
    transition: 0.3s;
}

.image-hover--zoom:hover img {
    transform: scale(1.05);
}

.image-hover--shrink:hover img {
    transform: scale(0.99);
}





/**
 *  div resize (aspect ratio)
 */

.aspect-resize {
    position: relative;
    display: block;
    padding-bottom: 100%;
    background-color: #f5f5f5;
    transition: 0.3s;
}

.aspect-resize.ratio-16-9 {
    padding-bottom: 56.25%;
}

.aspect-resize.ratio-4-3 {
    padding-bottom: 75%;
}

    .aspect-resize-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }






/**
 *  Breadcrumb
 */

.page-breadcrumb {
    margin-top: 15px;
    margin-bottom: 15px;
}

.page-breadcrumb ul {
    padding-left: 0;
}

.page-breadcrumb > ul > li {
    display: inline-block;
}

    .page-breadcrumb .item {
        font-size: 15px;
    }

    .page-breadcrumb .item:hover {
        color: #678EA9;
    }

    .page-breadcrumb .item::after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f0da";
        margin-left: 6px;
        margin-right: 4px;
        color: #626262;
    }

    .page-breadcrumb li:last-child .item::after {
        display: none;
    }





/**
 * Pagination
 */

 .page__pagination {
    margin-top: 60px;
    margin-bottom: 40px;
}

    .page__pagination .pagination {
        justify-content: center;
        padding-left: 0;
    }

        .pagination .page-item {
            margin-right: 12px;
            list-style: none !important;
        }

        .pagination .page-item.disabled .page-link {
            border-color: transparent;
            background-color: transparent;
        }

        .pagination .page-item.disabled .page-link svg {
            stroke: #626262;
        }

        .pagination .page-item:last-child {
            margin-right: 0;
        }

        .pagination .page-link {
            display: inline-block;
            padding: 0;
            border: 1px solid transparent;
            font-weight: 700;
            font-size: 16px;
            line-height: 26px;
            width: 26px;
            height: 26px;
            border-radius: 50% !important;
            font-family: din-2014,"Microsoft JhengHei", sans-serif;
            text-align: center;
        }

        .pagination .page-link:hover {
            opacity: 0.9;
        }

        .pagination .page-link.active {
            background-color: #678EA9;
            color: #fff;
        }

        .pagination .page-link svg {
            position: relative;
            top: -1px;
            stroke: #626262;
            stroke-width: 2;
            width: 22px;
            height: 22px;
        }

        .pagination .page-item.disabled .page-link svg {
            stroke: #888;
        }




/**
 *  Site Hero
 */

.site-hero {
    position: relative;
    height: 95vh;
}

.site-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.site-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.site-hero-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    color: #fff;
    font-size: 34px;
    line-height: 1.2em;
    font-weight: 700;
    font-family: din-2014,"Microsoft JhengHei", sans-serif;
    z-index: 9;
} 


@media (min-width: 576px) {
    .site-hero {
        margin-top: -100px;
    }
    
    .site-hero-text {
        font-size: 46px;
    }
}



/**
 *  input
 */


input:focus {
    outline: none;
}

.input-field {
    background-color: transparent;
    border: 1px solid #707070;
    height: 34px;
}

.form-control:focus {
    border-color: #678ea9;
    box-shadow: 0 0 0 0.2rem rgb(103 142 169 / 35%);
}


.required {
    color: rgb(243, 49, 49);
}


.form--small {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}


/* placeholder */
.form input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #c2c2c2;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 1; /* Firefox */
}

.form input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #c2c2c2;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.form input::-ms-input-placeholder { /* Microsoft Edge */
    color: #c2c2c2;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}



@media (min-width: 576px) {
    .form--small {
        width: 400px;
    }
    
}


/**
 *  Carousel
 */

.slick-dots li,
.slick-dots li button {
    width: 10px;
    height: 10px; 
    padding: 0;
}

.slick-dots li button:before {
    content: '';
    background-color: #fff;
    border: 1px solid #707070;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
 
.slick-dots li.slick-active button:before {
    background-color: #678EA9;
    border-color: #678EA9;
}




/**
 *  Back to Top
 */

.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 15px;
    cursor: pointer;
    display: none;
    width: 42px;
    height: 42px;
    background-color: #626262;
    border-radius: 50%;
    text-align: center;
    transition: 0.3s;
}


.back-to-top:hover {
    background-color: #525252;
}


    .back-to-top svg {
        position: relative;
        top: 4px;
    }


@media (min-width: 576px) {
    .back-to-top {
        bottom: 40px;
        right: 40px;
    }
}



/**
 *  Header
 */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 125px;
    background: url(../images/header-bg-mobile.svg) bottom center no-repeat;
    background-size: cover;
    z-index: 1;
}

.site-top {
    position: relative;
    height: 40px;
    background-color: #678EA9;
    font-size: 14px;
    z-index: 2;
}

    .site-top .item {
        display: flex;
        align-items: center;
        color: #fff;
        height: 40px;
        margin-right: 20px;
    }

    .site-top .item:hover {
        opacity: 0.8;
    }

        .site-top svg {
            margin-right: 3px;
        }

        .site-top i {
            font-size: 15px;
            margin-left: 3px;
            margin-right: 3px;
        }


.site-logo img {
    height: 55px;
}


.site-nav {
    position: relative;
    z-index: 1;
    padding-top: 10px;
}

.site-nav-wrapper {
    height: 70px;
}


.site-menu .item {
    position: relative;
    margin-left: 40px;
    font-weight: 500;
    letter-spacing: 2px;
}

.site-menu .item:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 4px;
    background-color: #678EA9;
}




/**
 *  Mobile Nav
 */

 .mobile-toggle {
    position: absolute;
    right: 0;
    top: 55%;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    margin-right: 16px;
    font-size: 20px;
    cursor: pointer;
}


.mobile-sidebar {
    position: fixed;
    top: -100%;
    width: 100%;
    height: auto;
    overflow: scroll;
    background-color: rgb(0 0 0 / 75%);
    padding-top: 150px;
    transition: .3s;
    z-index: -1;
}


.mobile-sidebar.active {
    top: 0;
}


.mobile-sidebar .content {
    padding: 30px;
}



.mobile-menu {
    padding-left: 0;
    text-align: center;
}


    .mobile-menu .item > a {
        display: block;
        color: #fff;
        border-bottom: 1px solid #A7A7A7;
        padding-bottom: 12px;
        padding-top: 12px;
    }

    .mobile-menu .item:last-child > a {
        border-bottom: none;
    }

    
    
@media (min-width: 576px) {
    .header::before {
        height: 230px;
        background: url(../images/header-bg.png) bottom center no-repeat;
        background-size: cover;
    }

    .site-logo img {
        height: 75px;
    }

    .site-nav {
        padding-top: 25px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {

    .header::before {
        height: 160px;
        background-position-x: 25%;
    }

    .mobile-sidebar {
        padding-top: 180px;
    }
}

@media (min-width: 991px) {
    .header {
        position: relative;
    }
}




/**
 *  side menu
 */

.side-menu {
    width: 100%;
}

    .side-menu ul {
        padding-left: 0;
    }

        .side-menu li {
            list-style: none;
        }

        .side-menu a {
            display: block;
            padding: 7px 18px;
            border-bottom: 1px solid #fff;
        }

        .side-menu .layer-1 > a {
            color: #fff;
            background-color: #678EA9;
        }

        .side-menu .layer-1 > a:hover {
            opacity: 0.9;
        }
        
        .side-menu .layer-1 > a.active,
        .side-menu .layer-1 > a:hover {
            background-color: #A3B74E; 
            color: #fff; /* 白字 */
            font-weight: bold;
        }

        .side-menu .layer-2 > a {
            background-color: #E3E3E3;
            color: #3C3C3C;
        }
        .side-menu .layer-2 > a.active,
        .side-menu .layer-2 > a:hover {
            color: #D70034;
        }
            

@media(min-width: 991px) {
    .side-menu {
        width: 230px;
    }
}



    

/**
 *  Search
 */


.search__input {
    width: 100%;
    padding: 4px 34px 4px 16px;
    border: 1px solid #fff;
    color: #5f5f5f;
    background-color: #fff;
    border-radius: 10px;
    font-size: 15px;
}

.search__input:focus {
    border-color: #C6E6E1;
}

.search__button {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    right: 2px;
}

    .search__button i {
        color: #fff;
    }



.search-result {
    width: 80%;
    margin: 10px auto 60px;
}

.search-result .search__input {
    width: 100%;
    background-color: #E3E3E3;
    color: #909090;
    padding: 10px 20px;
    letter-spacing: 2px;
    font-size: 16px;
}

.search-result .search__button svg {
    stroke: #909090;
}    



@media (min-width: 991px) {
    .search__input {
        width: 180px;
        padding: 2px 34px 2px 14px;
        background-color: transparent;
        color: #fff;
        font-size: 14px;
    }

    .search__button svg {
        stroke: #fff;
    }


    /* placeholder */
    .header .search__input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: #fff;
        opacity: 1; /* Firefox */
    }
    
    .header .search__input:-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: #fff;
    }

    .header .search__input::-ms-input-placeholder { /* Microsoft Edge */
        color: #fff;
    }
}



/**
 *  Post
 */


.post {
    background-color: #fff;
    padding: 15px;
    transition: 0.3s;
}

    .post-header {
        display: flex;
        margin-top: 15px;
        margin-bottom: 10px;
    }


        .post-date {
            width: 50px;
            color: #fff;
            text-align: center;
            font-size: 24px;
            flex-shrink: 0;
            line-height: 1.3em;
        }

            .post-date .month {
                background-color: #93B3C9;
                border-top-left-radius: 5px;
                border-top-right-radius: 5px;
            }

            .post-date .date {
                background-color: #4B677B;
                border-bottom-left-radius: 5px;
                border-bottom-right-radius: 5px;
            }

        .post-title {
            margin-left: 15px;
            line-height: 1.3em;
        }

        .post-summary {
            height: 72px;
        }


.post:hover {
    background-color: #678EA9;
    color: #fff;
}

    .post:hover .post-title a {
        color: #fff;
    }

    .post:hover .button {
        background-color: #1E5276;
        border-color: #1E5276;
        color: #fff;
    }


.post-details .post-image {
    border: 10px solid #678EA9;
    width: 89.60%;
    margin-left: auto;
    margin-right: auto;
}

    .post-details .post-image .image-box-outer {
        padding-bottom: 67.2%;
    }

.post-details .post-date {
    width: 100%;
    font-size: 24px;
    color: #678EA9;
    text-align: left;
    font-weight: 700;
}

.post-details .post-title {
    margin-left: 0;
}




/**
 *  product
 */


.product .image-box {
    border: 5px solid transparent;
    border-radius: 10px;
    transition: 0.05s;
}

.product .product-name {
    text-align: center;
}

.product:hover {
    color: #678EA9;
}

.product:hover .image-box {
    border-color: #678EA9;
}

.product:hover .image-box-inner {
    background-color: #678EA9;
}


.p-slider-nav .slick-slide {
    margin: 5px;
}
        
.p-slider-nav .slick-list {
    margin: -5px;
}

.p-slider-nav .slick-track {
    margin: unset;
}



/**
 *  Footer
 */

.footer {
    padding-top: 160px;
    padding-bottom: 40px;
    background: url(../images/footer-bg-mobile.svg) top center no-repeat;
    background-size: cover;
}

.footer-logo img {
    height: 70px;
}

.footer-content {
    position: relative;
}

    .footer-content .col-item {
        padding: 10px 20px;
        margin-top: 20px;
    }

    .footer-content .item-label {
        position: relative;
        font-weight: 700;
    }

    .footer-content .item-label::before {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 1px;
        background-color: #3C3C3C;
    }

    .footer-content .item-content {
        padding-top: 10px;
        font-size: 15px;
    }

    .footer-content .item-content a {
        font-size: 15px;
    }


.footer-menu .item-content {
    width: 70%;
}

.footer-menu .item-content a {
    margin-top: 5px;
    margin-bottom: 5px;
}


.footer-contact .logo-text {
    width: 60%;
    margin-top: 0;
    margin-bottom: 10px;
}

.footer-contact .item-content li {
    margin-top: 5px;
    margin-bottom: 5px;
}

.footer-contact .icon {
    display: flex;
    align-items: center;
    height: 24px;
    text-align: center;
}

    .footer-contact .icon i {
        color: #626262;
        font-size: 16px;
        width: 18px;
    }


.footer-contact .item-content::before {
    width: 60%;
    left: 0;
    transform: none;
}


.copyright {
    color: #FFF;
    background-color: rgb(15, 15, 15);
    margin-bottom: 60px;
}


@media (min-width: 576px) {
    .footer {
        background: url(../images/footer-bg.png) top center no-repeat;
        background-size: cover;
    }    
}

@media (min-width: 991px) {
    .footer-contact {
        width: 500px;
    }

    .copyright {
        margin-bottom: 0;
    }
}

@media (min-width: 1211px) {
    .footer-content {
        display: flex;
    }

    .footer-content .item-label {
        margin-bottom: 15px;
    }

    .footer-content .item-label::before {
        left: 0;
        transform: none;
    }

    .footer-content .footer-menu .item-label::before {
        width: 75%;
    }

    .footer-contact .logo-text {
        margin-top: -22px;
        width: 100%;
    }

    .footer-content .footer-contact .item-label::before {
        width: 58%;
    }

    .footer-content .col-item {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        text-align: center;
    }

    .footer-content .col-item {
        padding: 10px;
    }
    
    .footer-menu {
        text-align: center;
    }
    
    .footer-menu .item-content {
        width: 58%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact .logo-text {
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact .item-label {
        text-align: center;
    }

    .footer-content .item-label::before {
        width: 82%;
    }
}



/**
 *  Footer
 */

.site-bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9;
}

    .site-bottom-nav a {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        padding-top: 12px;
        padding-bottom: 10px;
        font-size: 14px;
        color: #fff;
        background-color: #678EA9;
    }

    .site-bottom-nav a > i {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .site-bottom-nav a::after {
        position: absolute;
        top: 0;
        right: 0;
        content: "";
        width: 1px;
        height: 100%;
        background-color: #fff;
    }

    .site-bottom-nav a:last-child:after {
        display: none;
    }




/*------------------------------------*\
  PAGES CONTENT
\*------------------------------------*/

.main {
    overflow: hidden;
}


.bg-graphy {
    position: absolute;
    top: 1%;
    background: url(../images/bg-graphy-mobile.svg) top no-repeat;
    background-size: cover;
    width: 100%;
    height: 630px;
    z-index: -1;
}


@media (min-width: 576px) {
    .bg-graphy {
        top: 20%;
        height: 1200px;
        background: url(../images/bg-graphy.png) top no-repeat;
        background-size: cover;
    }
}


/**
 *  product category
 */

.hover-show {
    display: none;
}

.product-category {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-left: -30px;
    margin-right: -30px;
}

    .product-category .item {
        position: relative;
        text-align: center;
        margin-left: 30px;
        margin-right: 30px;
        margin-bottom: 50px;
        width: 180px;
    }

    .product-category .item * {
        transition: 0.3s;
    }

        .product-category .item .icon {
            position: relative;
            width: 150px;
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #fff;
            border-radius: 50%;
        }

        .product-category .item .icon::after {
            content: "";
            position: absolute;
            width: 130px;
            height: 130px;
            border: 3px solid #678EA9;
            border-radius: 50%;
        }

        .product-category .item img {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 75px;
            height: 75px;
            object-fit: contain;
        }

        .product-category .item svg path {
            fill: #678ea9;
        }



    .product-category .item:hover .icon {
        background-color: #678EA9;
    }

    .product-category .item:hover .hover-show {
        display: block;
    }

    .product-category .item:hover .icon::after {
        border-color: #fff;
    }

    .product-category .item:hover svg path {
        fill: #fff;
    }

@media (min-width: 576px) {
    .product-category {
        justify-content: center;
    }
}

@media(min-width: 576px) and (max-width: 991px) {
    .product-category .item .icon {
        width: 140px;
        height: 140px;
    }

    .product-category .item .icon::after {
        width: 120px;
        height: 120px;
    }
}

@media (min-width: 991px) {    
    .product-category .item .icon {
        width: 180px;
        height: 180px;
    }

    .product-category .item .icon::after {
        width: 160px;
        height: 160px;
    }
}




/**
 *  product category
 */


.drug-labeling-url svg {
    position: relative;
    top: -1px;
    fill: #707070;
    margin-right: -3px;
}

.drug-labeling-url a:hover {
    color: #678EA9;
}

.drug-labeling-url a:hover svg {
    fill: #678EA9;
}





/**
 *  timeline
 */

.section-timeline {
    margin-top: 100px;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    margin-top: 100px;
    margin-left: 10px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: -3%;
    left: -5px;
    transform: none;
    width: 16px;
    height: 16px;
    background-color: #678EA9;
    border: 3px solid #678EA9;
    border-radius: 50%;
}

.timeline::after {
    content: "";
    position: absolute;
    top: -3%;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #678EA9;
    transform: none;
    z-index: -1;
}

.timeline .item {
    position: relative;
    width: 100%;
    padding: 5px 40px;
}


.timeline .item::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 20px;
    left: -5px;
    background-color: #fff;
    border: 3px solid #678EA9;
    border-radius: 50%;
}

.timeline .year {
    font-family: din-2014,"Microsoft JhengHei", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #678EA9;
}

.timeline .text {
    font-size: 18px;
}

.item.defult {
    height: 60px;
}

.timeline .item.defult::after {
    top: 0;
    background-color: #678EA9;
}

@media(min-width: 576px) {
    .timeline::before,
    .timeline::after {
        top: -4%;
    }
}

@media(min-width: 991px) {
    .timeline {
        margin-left: 0;
    }

    .timeline::before,
    .timeline::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline .item {
        width: 50%;
    }
    
    .timeline .item:nth-child(odd) {
        text-align: right;
    }

    .timeline .item:nth-child(even) {
        left: 50%;
    }

    .timeline .item:nth-child(odd):after {
        right: -8px;
        left: unset;
    }

    .timeline .item:nth-child(even):after {
        left: -8px;
    }
}



/**
 *  about us
 */

.concept-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.concept-img-text {
    position: relative;
    bottom: -60px;
    right: 0;
    width: 400px;
    max-width: 95%;
    padding: 20px 30px;
    border-radius: 25px;
    background-color: #989898;
    color: #fff;
}

.concept-img-text::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 47%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 30px 14px 0;
    border-color: transparent #989898 transparent transparent;
    transform: rotate(90deg) translateX(-50%);
}

.vision {
    background: url(../images/pages/about/vision-bg-mobile.svg) center no-repeat;
    background-size: cover;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    padding: 15px;
}


@media (min-width: 1211px) {
    .concept-img-text {
        position: absolute;
        bottom: 20px;
        right: -25px;
        left: unset;
        top: unset;
    }

    .concept-img-text::before {
        top: unset;
        left: unset;
        bottom: 74px;
        left: -15px;
        transform: rotate(45deg);
    }

    .vision {
        background: url(../images/pages/about/vision-bg.svg) center no-repeat;
        background-size: cover;
    }
}



/**
 *  contact
 */

.contact-form .label {
    width: 120px;
    flex-shrink: 0;
}

.contact-form .map {
    margin-top: 40px;
}

.contact-form .captcha {
    position: relative;
}

    .contact-form .captcha-field {
        padding-right: 110px;
    }
        .contact-form .captcha a {
            position: absolute;
            top: 1px;
            right: 2px;
            border-left: 1px solid #707070;
            height: 98%;
        }

.contact-form .note {
    font-size: 13px;
}


/**
 *  privacy policy
 */

.privacy-policy {
    line-height: 1.8em;
}

    .privacy-policy li {
        margin-bottom: 8px;
    }



/**
 *  member
 */

/* center */
.member-center .aspect-resize svg {
    transition: 0.3s;
    display: block;
    width: 57px;
    margin-left: auto;
    margin-right: auto;
}

.member-center .aspect-resize:hover {
    background-color: #f7f7f7;
}

.member-center .aspect-resize:hover svg {
    color: #678EA9;
    transform: scale(0.9);
}



.member-only-table .item {
    padding: 10px;
    border-bottom: 1px solid #d1d1d1;
}

    .member-only-table .item a {
        display: block;
    }

    .member-only-table .item a:hover {
        color: #678ea9;
    }

    .member-only-table .category {
        opacity: 0.7;
        font-size: 14px;
    }

    .member-only-table .item .info {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

        .member-only-table .item .title {
            margin-top: 5px;
        }

        .member-only-table .item .date {
            width: 100px;
            flex-shrink: 0;
        }


    .member-only-table .item .attachment {
        text-align: center;
        flex-shrink: 0;
        margin-right: 10px;
    }

        .member-only-table .item .attachment svg {
            width: 18px;
            height: 18px;
        }

    .member-only-table .file-download {
        flex-shrink: 0;
        font-size: 14px;
    }

    .member-only-table .file-download:hover {
        color: #678ea9;
    }

        .member-only-table .file-download svg {
            width: 18px;
            height: 18px;
        }


@media (min-width: 576px) {
    .member-only-table .item .info {
        align-items: center;
        flex-direction: row;
    }

    .member-only-table .item .attachment {
        width: 80px;
        margin-right: 0;
    }
}




/**
 *  language en
 */

.site--en-us .contact-form .label {
    width: 166px;
}

.site--en-us .vision {
    font-size: 20px;
    padding: 22px;
}

@media (min-width: 1211px) {
    .site--en-us .concept-img-text {
        bottom: 5px;
    }
}
