﻿
/* CSS Document */

/*通用*/
*{ box-sizing:border-box;}
*::before, *::after{ box-sizing:border-box;}
*:focus{ outline:none;}
html{ -ms-touch-action: none;  /* 阻止windows Phone 的默認觸摸事件 */}
/*兼容iphone去除默認input表單默認設置*/
input[type="submit"],input[type="reset"],input[type="button"],button { -webkit-appearance: none;}
/*圖片默認樣式*/
img{border:0;vertical-align: middle;}
textarea{outline:none;resize:none;border:1px solid #e5e5e5;padding:10px;}
/*動畫效果*/
*{transition-property:all;}
.com-img img{ transition:all 0.6s ease-in 0s; -webkit-transition:all 0.6s ease-in 0s; -moz-transition:all 0.6s ease-in 0s; -o-transition:all 0.6s ease-in 0s;}
.com-img:hover img{transform:scale(1.1); -webkit-transform:scale(1.1); -moz-transform:scale(1.1); -o-transform:scale(1.1);-ms-transform:scale(1.1);}

.fl{float:left;}
.fr{float:right;}
.cl{clear:both;}
.show{display:block;}
.hide{display:none;}

.f18{font-size:18px !important;}
.f16{font-size:16px !important;}
.f14{font-size:14px !important;}
.f12{font-size:12px !important;}

.mt5{margin-top:5px;}
.mt10{margin-top:10px;}
.mt20{margin-top:20px;}
.ml5{margin-left:5px;}
.pdtb60{padding:40px 0;}

.taC{text-align:center;}
.taL{text-align:left;}
.taR{text-align:right;}

h1,h2,h3,h4,h5,h6{font-weight:normal;}
.bgcolor1{background:#f7f8fa;}
.bgcolor2{background:#e9e9e9;}

.ttU{text-transform:uppercase;}

.ofH{overflow:hidden;}
.ofA{overflow:visible !important;}

.fwB{font-weight:600;}

.vaM{vertical-align:middle;}

.pr{position:relative;}

/*字體*/
@font-face {
    font-family: '';
    src: url('../font/.TTF.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/*通用全局邊距padding*/


/*flex*/
.flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}
.flex-v{-webkit-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}
.flex-2{-webkit-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2;}
.flex-3{-webkit-box-flex:3;-webkit-flex:3;-ms-flex:3;flex:3;}
.flex-align-center{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;}
.flex-pack-center{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}
.flex-pack-justify{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}

.flex-1{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;}

.vertical-container{display: -webkit-flex;display: flex;-webkit-align-items: center;align-items: center;-webkit-justify-content: center;justify-content: center;}


/*限制行數 -- 一行*/
.line1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

/*限制行數 -- 當字號爲12px,line-height爲25時，限制高爲50，如有改變，自行設置高度,爲了兼容不支持line-clamp屬性的浏覽器*/
.line2{height:50px;-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-moz-line-clamp:2;-o-line-clamp:2;-webkit-box-orient:vertical;}

.line3{height:90px;-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-moz-line-clamp:3;-o-line-clamp:3;-webkit-box-orient:vertical;}


/*動畫*/
a:hover{-moz-transition: all 0.5s ease-out;-o-transition: all 0.5s ease-out;-webkit-transition: all 0.5s ease-out;transition: all 0.5s ease-out;}

.animation{-moz-transition: all 0.3s ease-out;-o-transition: all 0.3s ease-out;-webkit-transition: all 0.3s ease-out;transition: all 0.3s ease-out;}


/*滾動條*/
.viewport { overflow: hidden; position: relative; /*width:0px; height: 0px;*/}/*內容可視區域的寬高*/
.overview { list-style: none; position: absolute; left: 0; top: 0; /*width:0px; height: 0px;*/}  /*內容可視區域的寬高*/
.scrollbar{position: relative;  float: right; position:relative;  display:inline; z-index:400; z-index:2;/*width:0px; height:0px;background-color:#afafaf;*/}/*滾動條的寬高顔色*/
.track{ position: relative; /*width:0px;*/}/*滾動條的寬*/
.thumb{cursor: pointer; position: absolute; top:0; left:0px; z-index:400;/*width:0px;background-color:#afafaf;*/}/*滾動條-當前條的寬 left 顔色*/
.disable{ display: none; }  
.noSelect { user-select:none;}

/*分頁*/
.pagination{width:100%;height:auto;text-align:center;position:relative;overflow:hidden;}/*分頁*/
.pagination a{display:inline-block;width:36px;height:36px;line-height:36px;text-align:center;border:1px solid #e8e8e8;background-color:#e8e8e8;color:#666;margin-left:3px;margin-right:4px;}
.pagination a.on, .pagination a:hover{background-color:#0054a5;color:#ffffff;border-color:#0054a5;}
.pagination a:first-child,
.pagination a:last-child{font-weight:600;font-family:'宋體';}

/*翻轉*/
.trf{transform:rotate(1deg);-moz-transform:rotate(1deg);-ms-transform:rotate(1deg);-webkit-transform:rotate(1deg);-o-transform:rotate(1deg);}


/*通用內頁導航*/
.pub_cate_menu{background:#fff;height:64px;}
.pub_cate_menu .fl{width:75%;}
.pub_cate_menu .fl ul li{float:left;margin-left:35px;height:64px;border-bottom:3px solid #fff;line-height:64px;font-size:16px;}
.pub_cate_menu .fl ul li.on,.pub_cate_menu .fl ul li:hover{border-bottom:3px solid #0054a5;color:#0054a5;}
.pub_cate_menu .fl ul li:first-child{margin-left:0px;}
.pub_cate_menu .fr{width:25%;text-align:right;height:64px;line-height:64px;color:#666;font-size:12px;}
.pub_cate_menu .fr a:hover{color:#0054a5;}


@media all and (max-width:900px) {
    .fr{float:left;}
    .fr{
        /* display: none; */
    }
    .proc_crumbs .fl{
        display: none;
    }
}
