/*-----------------
** Disply Choice
-----------------*/

@media (min-width:991px) {
    .display-in-mobile {
        display: none;
    }
}

@media (max-width:990px) {
    .display-in-desktop {
        display: none;
    }
}



/*-----------------
** Google Map RWD
-----------------*/
.iframe-rwd {
    position: relative;
    padding-bottom: 50%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-rwd iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*-----------------
** Alignment
-----------------*/
.vertical-down {
    margin-bottom: -100px;
}

.text-right {
    text-align: right;
}

/* 漸變 color1 - color2 - color1 */
hr.style-one {
    border: 0;
    height: 0.75px;
    background: #666666;
    background-image: linear-gradient(to right, #ccc, #666666, #ccc);
}


/* 透明漸變 - color - transparent */
hr.style-two {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}


/* 雙線 */
hr.style-three {
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #999;
}

.w-100 {
    width: 100% !important;
}

.d-block {
    display: block !important;
}

/*-------------------------------
** Margin class from 0 to 9 grade
-------------------------------*/
.m-0 {
    margin: 0 !important;
}

.mt-0,
.my-0 {
    margin-top: 0 !important;
}

.mr-0,
.mx-0 {
    margin-right: 0 !important;
}

.mb-0,
.my-0 {
    margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
    margin-left: 0 !important;
}

.m-1 {
    margin: 0.5rem !important;
}

.mt-1,
.my-1 {
    margin-top: 0.5rem !important;
}

.mr-1,
.mx-1 {
    margin-right: 0.5rem !important;
}

.mb-1,
.my-1 {
    margin-bottom: 0.5rem !important;
}

.ml-1,
.mx-1 {
    margin-left: 0.5rem !important;
}

.m-2 {
    margin: 1rem !important;
}

.mt-2,
.my-2 {
    margin-top: 1rem !important;
}

.mr-2,
.mx-2 {
    margin-right: 1rem !important;
}

.mb-2,
.my-2 {
    margin-bottom: 1rem !important;
}

.ml-2,
.mx-2 {
    margin-left: 1rem !important;
}

.m-3 {
    margin: 1.5rem !important;
}

.mt-3,
.my-3 {
    margin-top: 1.5rem !important;
}

.mr-3,
.mx-3 {
    margin-right: 1.5rem !important;
}

.mb-3,
.my-3 {
    margin-bottom: 1.5rem !important;
}

.ml-3,
.mx-3 {
    margin-left: 1.5rem !important;
}

.m-4 {
    margin: 3rem !important;
}

.mt-4,
.my-4 {
    margin-top: 3rem !important;
}

.mr-4,
.mx-4 {
    margin-right: 3rem !important;
}

.mb-4,
.my-4 {
    margin-bottom: 3rem !important;
}

.ml-4,
.mx-4 {
    margin-left: 3rem !important;
}

.m-5 {
    margin: 4rem !important;
}

.mt-5,
.my-5 {
    margin-top: 4rem !important;
}

.mr-5,
.mx-5 {
    margin-right: 4rem !important;
}

.mb-5,
.my-5 {
    margin-bottom: 4rem;
}

.ml-5,
.mx-5 {
    margin-left: 4rem !important;
}

.m-6 {
    margin: 5rem !important;
}

.mt-6,
.my-6 {
    margin-top: 5rem !important;
}

.mr-6,
.mx-6 {
    margin-right: 5rem !important;
}

.mb-6,
.my-6 {
    margin-bottom: 5rem !important;
}

.ml-6,
.mx-6 {
    margin-left: 5rem !important;
}



.m-7 {
    margin: 6rem !important;
}

.mt-7,
.my-7 {
    margin-top: 6rem !important;
}

.mr-7,
.mx-7 {
    margin-right: 6rem !important;
}

.mb-7,
.my-7 {
    margin-bottom: 6rem !important;
}

.ml-7,
.mx-7 {
    margin-left: 6rem !important;
}

.m-8 {
    margin: 5rem !important;
}

.mt-8,
.my-8 {
    margin-top: 7rem !important;
}

.mr-8,
.mx-8 {
    margin-right: 7rem !important;
}

.mb-8,
.my-8 {
    margin-bottom: 7rem !important;
}

.ml-8,
.mx-8 {
    margin-left: 7rem !important;
}

.m-9 {
    margin: 8rem !important;
}

.mt-9,
.my-9 {
    margin-top: 8rem !important;
}

.mr-9,
.mx-9 {
    margin-right: 8rem !important;
}

.mb-9,
.my-9 {
    margin-bottom: 8rem !important;
}

.ml-9,
.mx-9 {
    margin-left: 8rem !important;
}



/*-------------------------------
**Padding class from 0 to 9 grade
-------------------------------*/

.p-0 {
    padding: 0 !important;
}

.pt-0,
.py-0 {
    padding-top: 0 !important;
}

.pr-0,
.px-0 {
    padding-right: 0 !important;
}

.pb-0,
.py-0 {
    padding-bottom: 0 !important;
}

.pl-0,
.px-0 {
    padding-left: 0 !important;
}

.p-1 {
    padding: 0.5rem !important;
}

.pt-1,
.py-1 {
    padding-top: 0.5rem !important;
}

.pr-1,
.px-1 {
    padding-right: 0.5rem !important;
}

.pb-1,
.py-1 {
    padding-bottom: 0.5rem !important;
}

.pl-1,
.px-1 {
    padding-left: 0.5rem !important;
}

.p-2 {
    padding: 1rem !important;
}

.pt-2,
.py-2 {
    padding-top: 1rem !important;
}

.pr-2,
.px-2 {
    padding-right: 1rem !important;
}

.pb-2,
.py-2 {
    padding-bottom: 1rem !important;
}

.pl-2,
.px-2 {
    padding-left: 1rem !important;
}

.p-3 {
    padding: 1.5rem !important;
}

.pt-3,
.py-3 {
    padding-top: 1.5rem !important;
}

.pr-3,
.px-3 {
    padding-right: 1.5rem !important;
}

.pb-3,
.py-3 {
    padding-bottom: 1.5rem !important;
}

.pl-3,
.px-3 {
    padding-left: 1.5rem !important;
}

.p-4 {
    padding: 3rem !important;
}

.pt-4,
.py-4 {
    padding-top: 3rem !important;
}

.pr-4,
.px-4 {
    padding-right: 3rem !important;
}

.pb-4,
.py-4 {
    padding-bottom: 3rem !important;
}

.pl-4,
.px-4 {
    padding-left: 3rem !important;
}

.p-5 {
    padding: 4rem !important;
}

.pt-5,
.py-5 {
    padding-top: 4rem !important;
}

.pr-5,
.px-5 {
    padding-right: 4rem !important;
}

.pb-5,
.py-5 {
    padding-bottom: 4rem !important;
}

.pl-5,
.px-5 {
    padding-left: 4rem !important;
}

.p-6 {
    padding: 5rem !important;
}

.pt-6,
.py-6 {
    padding-top: 5rem !important;
}

.pr-6,
.px-6 {
    padding-right: 5rem !important;
}

.pb-6,
.py-6 {
    padding-bottom: 5rem !important;
}

.pl-6,
.px-6 {
    padding-left: 5rem !important;
}

.p-7 {
    padding: 6rem !important;
}

.pt-7,
.py-7 {
    padding-top: 6rem !important;
}

.pr-7,
.px-7 {
    padding-right: 6rem !important;
}

.pb-7,
.py-7 {
    padding-bottom: 6rem !important;
}

.pl-7,
.px-7 {
    padding-left: 6rem !important;
}

.p-8 {
    padding: 7rem !important;
}

.pt-8,
.py-8 {
    padding-top: 7rem !important;
}

.pr-8,
.px-8 {
    padding-right: 7rem !important;
}

.pb-8,
.py-8 {
    padding-bottom: 7rem !important;
}

.pl-8,
.px-8 {
    padding-left: 7rem !important;
}

.p-9 {
    padding: 8rem !important;
}

.pt-9,
.py-9 {
    padding-top: 8rem !important;
}

.pr-9,
.px-9 {
    padding-right: 8rem !important;
}

.pb-9,
.py-9 {
    padding-bottom: 8rem !important;
}

.pl-9,
.px-9 {
    padding-left: 8rem !important;
}




/* display mode */
.d-none {
    display: none !important;
}

.d-inline {
    display: inline !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-block {
    display: block !important;
}

.d-table {
    display: table !important;
}

.d-table-row {
    display: table-row !important;
}

.d-table-cell {
    display: table-cell !important;
}

.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.d-inline-flex {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
}

/* width and height */
.w-25 {
    width: 25% !important;
}

.w-50 {
    width: 50% !important;
}

.w-60 {
    width: 60% !important;
}

.w-70 {
    width: 70% !important;
}


.w-75 {
    width: 75% !important;
}


.w-100 {
    width: 100% !important;
}

.w-auto {
    width: auto !important;
}

.h-25 {
    height: 25% !important;
}

.h-50 {
    height: 50% !important;
}

.h-75 {
    height: 75% !important;
}

.h-100 {
    height: 100% !important;
}

.h-auto {
    height: auto !important;
}

.mw-100 {
    max-width: 100% !important;
}

.mh-100 {
    max-height: 100% !important;
}


/* View backgrounf */
.view-bg1 {
    background-color: rgba(255, 255, 255, 0.0);
}

.view-title {
    margin-bottom: -5px;
    font-size: 16px !important;
}

.view-title>a:hover {
    color: #223f7c;
}

.img-shadow {
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.breadcrumb-investor {
    margin-bottom: -10px;
}

/*Image Radius */
.radius img {
    border: 1px solid #ffffff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

/*Hover Effect*/
.hovereffect {
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
}

.hovereffect .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out
}

.hovereffect img {
    display: block;
    position: relative;
    -webkit-transition: all .4s linear;
    transition: all .4s linear;
}



.hovereffect h2 {
    text-transform: uppercase;
    color: #fff !important;
    text-align: center;
    position: relative;
    font-size: 24px;
    background: rgba(0, 0, 0, 0);
    -webkit-transform: translatey(-200%);
    -ms-transform: translatey(-200%);
    transform: translatey(-200%);
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.hovereffect h3 {
    text-transform: uppercase;
    color: #fff !important;
    text-align: center;
    position: relative;
    font-size: 20px;
    background: rgba(0, 0, 0, 0);
    -webkit-transform: translatey(-150%);
    -ms-transform: translatey(-150%);
    transform: translatey(-150%);
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    bottom: 20px;
}

.hovereffect a.info {
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #fff;
    background-color: transparent;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    margin: 0;
    padding: 7px 14px;
}

.hovereffect a.info:hover {
    box-shadow: 0 0 5px #fff;
}

.hovereffect:hover img {
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.hovereffect:hover .overlay {
    opacity: 1;
    filter: alpha(opacity=100);
}

.hovereffect:hover h2,
.hovereffect:hover a.info {
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-transform: translatey(0);
    -webkit-transform: translatey(0);
    transform: translatey(0);
    bottom: 30px
}

.hovereffect:hover a.info {
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
}


/*Job Page*/
.job {
    color: #edecf8;
    font-size: 18px;
    line-height: 4rem;
}

/*Font color*/
.text-white {
    color: #fff !important;
}

/*Product View*/
.productview {
    margin-right: 30px;
    border: 1px solid #e3e6e8;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 0 !important;
}

.productview-text {
    font-size: 16px;
    list-style-type: circle !important;
}

.inline {
    display: inline !important;
}

.pin :hover {
    transform: scale(2, 2);
    transition: transform 0.5s ease;
}

.product-filter {
    font-size: 14px !important;
}

.text-white {
    color: #ffffff !important;
}

.txet-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-justify {
    text-align: justify !important;
}

.p-wide {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.p-mid {
    padding-left: 20px !important;
    padding-right: 20px !important;
}


.p-narrow {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.f16 {
    font-size: 16px !important;
}

.f14 {
    font-size: 14px !important;
}

.f12 {
    font-size: 12px !important;
}

.li-inline ul li {
    display: inline !important;
    padding: 0 10px !important;
    color: #02418b;
}



/*! Color themes for Google Code Prettify | MIT License | github.com/jmblog/color-themes-for-google-code-prettify */
.prettyprint {
    background: #f4ecec;
    font-family: Menlo, "Bitstream Vera Sans Mono", "DejaVu Sans Mono", Monaco, Consolas, monospace;
    border: 0 !important;
}

.pln {
    color: #1b1818;
}

/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
    margin-top: 0;
    margin-bottom: 0;
    color: #7e7777;
}

li.L0,
li.L1,
li.L2,
li.L3,
li.L4,
li.L5,
li.L6,
li.L7,
li.L8,
li.L9 {
    padding-left: 1em;
    background-color: #f4ecec;
    list-style-type: decimal;
}

@media screen {

    /* string content */

    .str {
        color: #4b8b8b;
    }

    /* keyword */

    .kwd {
        color: #8464c4;
    }

    /* comment */

    .com {
        color: #7e7777;
    }

    /* type name */

    .typ {
        color: #7272ca;
    }

    /* literal value */

    .lit {
        color: #b45a3c;
    }

    /* punctuation */

    .pun {
        color: #1b1818;
    }

    /* lisp open bracket */

    .opn {
        color: #1b1818;
    }

    /* lisp close bracket */

    .clo {
        color: #1b1818;
    }

    /* markup tag name */

    .tag {
        color: #ca4949;
    }

    /* markup attribute name */

    .atn {
        color: #b45a3c;
    }

    /* markup attribute value */

    .atv {
        color: #5485b6;
    }

    /* declaration */

    .dec {
        color: #b45a3c;
    }

    /* variable name */

    .var {
        color: #ca4949;
    }

    /* function name */

    .fun {
        color: #7272ca;
    }
}

.div-center {
    display: flex;
    justify-content: center;
    align-items: center;
}


/*向下滑動的動畫效果*/
@-webkit-keyframes drop {
    0% {
        top: 0px;
        opacity: 0;
    }

    30% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

@keyframes drop {
    0% {
        top: 0px;
        opacity: 0;
    }

    30% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

/*應用動畫，新增按鈕效果*/
.scroll-down {
    border: 0px solid #bbb;
    border-radius: 50%;
    margin: 0 auto;
    height: 100px;
    width: 100px;
    display: block;
    text-align: center;
    z-index: 10;
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -ms-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
}

.scroll-down span {
    position: relative;
    color: #1c68ae;
    font-size: 50px;
    -webkit-animation-name: drop;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-delay: 0s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-play-state: running;
    animation-name: drop;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-play-state: running;
}

/*段落首字放大*/
#fp::first-letter {
    font-size: 320%;
    font-family: 'Noto Serif TC' !important;
    color: #1c68ae;
    font-weight: 500;
    float: left;
    padding-right: 3px;
    line-height: 100%;
}

.blog {
    line-height: 180%;
    text-align: justify;
}

.recent {
    font-size: 14px;
    list-style-type: disc !important;
    text-decoration: underline;
}


/*2nd產品目錄文字縮排為3行*/

.desc {
    font-size: 16px;
}


/*--------------------------
** Footer language switch
--------------------------*/
.lang-switch {
    font-size: 15px;
    float: right !important;
    display: inline;
}

.lang-switch li {
    display: inline;
    padding: 0 15px;
    border-left: solid 1px #A8996E;
}

.lang-switch li:first-child {
    border-left: none;
    padding-left: 0;
}

.lang-switch li:last-child {
    padding-right: 0;
}

/*--------------------------
** Mobile language switch
--------------------------*/
@media (min-width:991px) {
    .lang-switch-mobile {
        display: none;
        float: right !important;
    }
}


@media (max-width:990px) {
    .lang-switch-mobile {
        font-size: 14px;
        display: inline;
        padding-top: 16px;
        margin-bottom: 0px !important;
    }

    .lang-switch-mobile li {
        display: inline;
        padding: 0 10px;
        border-left: solid 1px #A8996E;
    }

    .lang-switch-mobile li:first-child {
        border-left: none;
        padding-left: 0;
    }

    .lang-switch-mobile li:last-child {
        padding-right: 0;
    }
}



/*--------------------------
** Catalog taxonomy-btn
--------------------------*/
.taxonomy-btn {
    font-size: 14px;
    font-family: "Microsoft JhengHei", Helvetica, Arial, sans-serif;
    background: #595757;
    color: #fff;
    letter-spacing: 1px;
    padding: 7px 20px;
    margin: 0 10px 10px 0;
    position: relative;
    display: inline-block;
    -webkit-transition: all 0.35s;
    -o-transition: all 0.35s;
    transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    border: 1px solid transparent;
}

.taxonomy-btn a {
    color: #ffffff;
    font-size: 15px;
}


.taxonomy-btn:hover {
    background-color: #f5a200;
    color: #fff;
    border: solid 1px #f5a200;
}

/*--------------------------
** Product view card btn
--------------------------*/

.card-btn {
    font-size: 14px;
    font-family: "Microsoft JhengHei", Helvetica, Arial, sans-serif;
    background: #d4cab4;
    color: #fff;
    letter-spacing: 1px;
    padding: 5px 15px 5px 40px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    position: relative;
    display: inline-block;
    -webkit-transition: all 0.35s;
    -o-transition: all 0.35s;
    transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    border: 1px solid transparent;
}

.card-btn:after {
    content: "\e9c8";
    font-family: "gva-icon";
    position: absolute;
    top: 4px;
    left: 15px;
    z-index: 1;
    font-size: 16px;
}

.card-btn a {
    color: #ffffff;
    font-size: 15px;
}


.card-btn:hover {
    background-color: #f5a200;
    color: #fff;
    border: solid 1px #f5a200;
}

/*--------------------------
** Back btn
--------------------------*/

.back-btn {
    font-size: 14px;
    font-family: "Microsoft JhengHei", Helvetica, Arial, sans-serif;
    background: #d4cab4;
    color: #fff;
    letter-spacing: 1px;
    padding: 5px 15px 5px 40px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    position: relative;
    display: inline-block;
    -webkit-transition: all 0.35s;
    -o-transition: all 0.35s;
    transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    border: 1px solid transparent;
}

.back-btn:after {
    content: "\21E6";
    font-family: "gva-icon";
    position: absolute;
    top: 4px;
    left: 15px;
    z-index: 1;
    font-size: 16px;
}

.back-btn a {
    color: #ffffff;
    font-size: 15px;
}


.back-btn:hover {
    background-color: #f5a200;
    color: #fff;
    border: solid 1px #f5a200;
}

/*--------------------------
** Map btn
--------------------------*/

.map-btn {
    font-size: 15px;
    font-family: "Microsoft JhengHei", Helvetica, Arial, sans-serif;
    background: #d4cab4;
    color: #595757;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    position: relative;
    display: inline-block;
    -webkit-transition: all 0.35s;
    -o-transition: all 0.35s;
    transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    border: 1px solid transparent;
}


.map-btn a {
    color: #595757;
    font-size: 15px;
}


.map-btn:hover {
    background-color: #f5a200;
    color: #fff;
    border: solid 1px #f5a200;
}

/*---Twig---*/

.twig-inline {
    display: inline-block;
}

.user-login {
    color: #fff;
    padding: 5px 0px !important;
    float: right;
}

.dollar-right {
    text-align: right;
}


