@charset "UTF-8";
body {
    font-family: "Microsoft JhengHei", sans-serif;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 100%;
    max-width:100%;
    height: 100%;
    background-image: url(../../images/common_icon/c_bg.jpg);
}

.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}
article{
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
}

select {
    width: 170px;
    height: 35px;
    color: #959595;
    font-size: 12px;
    padding: 0 10px;
    border: #dfdfdf 1px solid;
}
ul,li{
    list-style-type: none;
	padding:0;
    list-style-type: none;
}


/* 去除 Firefox 和 Google Chrome 上的虛線 */

input[type="email"],
input[type="button"],
input[type="submit"],
input[type="text"],
textarea,
button {
    -webkit-appearance: none;
}
textarea {
  resize : none;
}
a,
button {
    outline: none!important;
    outline: medium none!important;
    text-decoration: none!important;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    -webkit-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}


/* Remove controls from Firefox */

input[type=number] {
    -moz-appearance: textfield;
}


/* Re-applies the controls on :hover and :focus */

input[type="number"]:hover,
input[type="number"]:focus {
    -moz-appearance: number-input;
}

input[type='number'] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

*:focus {
    outline: none;
}

textarea:focus {
    outline: none;
}

.pull-right {
    float: right!important;
}

.pull-left {
    float: left!important;
}


/* 使格線系統無間距 Class Rules */

.row.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
    padding-right: 0;
    padding-left: 0;
}


/* 特殊格線 */

.col-xs-1-5,
.col-sm-1-5,
.col-md-1-5,
.col-lg-1-5 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-1-5 {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-1-5 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-1-5 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-1-5 {
        width: 20%;
        float: left;
    }
}


/* 滿12格線位移 */

[class*="col-"] {}

@media (min-width: 768px) and (max-width: 979px) {
    .row.reorder-sm {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
        direction: rtl;
    }
    .row.reorder-sm > [class*="col-"] {
        -webkit-transform: rotate(-180deg);
        -moz-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
        -o-transform: rotate(-180deg);
        transform: rotate(-180deg);
        direction: ltr;
    }
}

@media (min-width: 1px) and (max-width: 767px) {
    .row.reorder-xs {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
        direction: rtl;
    }
    .row.reorder-xs > [class*="col-"] {
        -webkit-transform: rotate(-180deg);
        -moz-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
        -o-transform: rotate(-180deg);
        transform: rotate(-180deg);
        direction: ltr;
    }
}


/* apple ipad/iphone樣式去除 */

input[type="button"],
input[type="submit"],
input[type="reset"],
select {
    -webkit-appearance: none;
}

textarea {
    -webkit-appearance: none;
}

/* -------------共用物件-------------- */

.c_bg {
    display: inline-block;
    background-position: center center;
    background-size: auto auto;
    background-repeat: no-repeat;
}
.c_align_center{
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    position: absolute;
}

@media only screen and (min-width: 992px) {
    /* -------------按鈕樣式-------------- */
    .buttonfx {
        outline: none;
        background: transparent;
        border: none;
        text-transform: uppercase;
        text-decoration: none;
        overflow: hidden;
        transition: all .5s;
    }
    .buttonfx:before,
    .buttonfx:after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        background: #303030;
        /* onhover background color */
        z-index: -1;
        transform: translate3D(0, -100%, 0);
        /* move elements above button so they don't appear initially */
        transition: all .5s;
    }
    .buttonfx:before {
        background: #fff;
        /* button default background color */
        z-index: -2;
        transform: translate3D(0, 0, 0);
    }

    .buttonfx:hover {
        color: white;
    }

    .buttonfx:hover:after {
        transform: translate3D(0, 0, 0);
        transition: all .5s;
    }
    .slideleft:after {
        top: 0;
        z-index: -1;
        transform: translate3D(-101%, 0, 0);
    }

    .slideleft:hover:after {
        transform: translate3D(0, 0, 0);
        transition: all .5s;
    }
    
    /* -------------圖片Hover-------------- */
    figure.snip_type1 {
        position: relative;
        float: left;
        overflow: hidden;
        width: 100%;
        background: #000000;
        text-align: left;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    }

    figure.snip_type1 *,
    figure.snip_type1 *:after {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    figure.snip_type1 img {
    /*     max-width: 100%; */
        position: relative;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    figure.snip_type1 figcaption {
        position: absolute;
        width: 100%;
        background-color: rgba(98, 98, 98, 0);
        top: 45%;
        -webkit-transform: scaleY(0.1) translateY(-50%);
        transform: scaleY(0.1) translateY(-50%);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
        opacity: 0;
    }

    figure.snip_type1 h3 {
        color: #ffffff;
        opacity: 0;
        padding: 0 15px;
        margin: 0;
        text-transform: uppercase;
        font-weight: 400;
        text-align: center;
    }

    figure.snip_type1 h3 span {
        font-weight: 800;
    }

    figure.snip_type1 .icons {
        padding: 0 10px;
        position: absolute;
        right: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-transition-delay: 0.2s;
        transition-delay: 0.2s;
    }

    figure.snip_type1 .icons a i {
        font-size: 22px;
        color: #ffffff;
        padding: 0px 8px;
    }

    figure.snip_type1 .icons a i:before {
        opacity: 0;
        -webkit-transform: translateX(-40px);
        transform: translateX(-40px);
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    figure.snip_type1 a:hover {
        opacity: 1;
    }

    figure.snip_type1.blue h3 {
        background: #0a212f;
    }

    figure.snip_type1.blue:after {
        background-color: #0a212f;
    }

    figure.snip_type1.red h3 {
        background-color: rgba(98, 98, 98, 0);
    }

    figure.snip_type1.red:after {
        background-color: rgba(98, 98, 98, 0);
    }

    figure.snip_type1.yellow h3 {
        background: #562e0a;
    }

    figure.snip_type1.yellow:after {
        background-color: #562e0a;
    }

    figure.snip_type1:hover img,
    figure.snip_type1.hover img {
        opacity: 0.3;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    figure.snip_type1:hover figcaption,
    figure.snip_type1.hover figcaption {
        -webkit-transform: scaleY(1) translateY(-50%);
        transform: scaleY(1) translateY(-50%);
        opacity: 1;
    }

    figure.snip_type1:hover h3,
    figure.snip_type1.hover h3 {
        opacity: 1;
        -webkit-transition-delay: 0.2s;
        transition-delay: 0.2s;
    }

    figure.snip_type1:hover .icons a i:before,
    figure.snip_type1.hover .icons a i:before {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    figure.snip_type1:hover a:first-child i:before,
    figure.snip_type1.hover a:first-child i:before {
        -webkit-transition-delay: 0.4s;
        transition-delay: 0.4s;
    }

    figure.snip_type1:hover a:nth-child(2) i:before,
    figure.snip_type1.hover a:nth-child(2) i:before {
        -webkit-transition-delay: 0.3s;
        transition-delay: 0.3s;
    }

    figure.snip_type1:hover a:nth-child(3) i:before,
    figure.snip_type1.hover a:nth-child(3) i:before {
        -webkit-transition-delay: 0.2s;
        transition-delay: 0.2s;
    }
}
