@charset "utf-8";
@import url("font-glyphicons/glyphicons.css");    /* 符號文字*/
/*-----------
Reset
----------*/
*{
	box-sizing:border-box;
	-moz-box-sizing: border-box;
	margin:0;
	padding:0;
	word-wrap: break-word;
    word-break: break-all;
    line-height: 24px;
    font-family:helvetica,arial,"sans-serif",Arial,ROCK,Microsoft YaHei,"微軟正黑體";
    }

body {
    -webkit-text-size-adjust:100%;   
    font-size:14px;
    line-height: 24px;
    color:#444;
    }

img {max-width:100%;height: auto;vertical-align:middle;}
img a{border:0;}
a{
	text-decoration:none;
	color:inherit;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*-----------
layout
----------*/
#layout_bg{
    background: url(../images/bg.jpg) repeat top left;
}
#main_container{
    min-height: 500px;
}
.ly_1{
    padding-left:calc((100% - 1200px)/2);
    padding-right:calc((100% - 1200px)/2);
}

@media (max-width:1200px) {
    .ly_1{
        padding-left:3%;
        padding-right:3%;
    }
}

/*-----------
public
----------*/
.editor a {word-wrap: break-word;word-break: break-all;}
.table_scroll { overflow-x: auto; }

.btn{
    opacity: 0.85;
    display: inline-block;
}
.btn:hover{
    opacity: 1;
}
.bg_w{
    background-color: #fff;
    color: #000;
}
.bg_og{
    background-color: #eb9600;
    color: #fff;
}
.cle_b{
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    border-radius:15px; 
}

.cle_m{
    height: 24px;
    line-height: 24px;
    padding: 0 8px;
    border-radius:12px; 
}

/*-----------
idx_banner
----------*/
#idx_banner{
    position: relative;
    margin-bottom: 20px;
}

#idx_banner .owl-prev,
#idx_banner .owl-next{
    position: absolute;
    top: calc(50% - 40px);
    font-size: 20px;
    font-weight: 700;
}
#idx_banner .owl-prev{
    left: 1%;
}
#idx_banner .owl-next{
    right: 1%;
}



#idx_banner .owl-theme .owl-nav [class*=owl-]{
    background: #000;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 20px;
    opacity: 0.7;
}

#idx_banner .owl-theme .owl-nav [class*=owl-]:hover{
    opacity: 1;
}

#idx_banner .owl-theme .owl-dots .owl-dot.active span, 
#idx_banner .owl-theme .owl-dots .owl-dot:hover span{
    background: #eb9600;
}
@media (max-width:530px) {
    #idx_banner .owl-theme .owl-nav [class*=owl-]{        
        width: 30px;
        height: 30px;
        line-height: 30px;
        border-radius: 15px;
    }

    #idx_banner .owl-prev,
    #idx_banner .owl-next{
        font-size: 16px;
    }
}

/*tbox*/
#idx_banner .tbox{   
    position: absolute;
    left: 0;
    width: 50%;
    min-width: 530px;
    top: 0px;
    padding: 100px 18% 50px 10%;
    display: block;
    height: 100%;
    background: url(../images/banner/banner_tbox.png) no-repeat right top;
    background-size:100% auto; 
}
#idx_banner .news{
    background: url(../images/banner/banner_tbox02.png) no-repeat left top;
    background-size: 100% auto;
    width: 393px;
    height: 128px;
    padding: 0 15px 10px;
    margin-bottom: 5px;
}
#idx_banner .news p{
    color: #000;
    font-size: 16px;
    line-height: 24px;
    max-height: 50px;
    overflow: hidden;
    display: block;
}

#idx_banner .news p.t{
    color: #fff;
    font-size: 30px;
    line-height: 40px;
    margin-bottom:10px; 
    margin-left:35px; 
}
@media (max-width:900px) {
    #idx_banner .tbox{   
        padding: 30px 1% 50px 10%;
    }

    #idx_banner .news{
        width: 60%;
        padding: 0 1% 5px;
        height: 100px;
    }

    #idx_banner .news p{     
        font-size: 14px;
        line-height: 20px;
        max-height: 40px;
    
    }
    #idx_banner .news p.t{   
        font-size: 20px;
        line-height: 30px;
        margin-bottom:5px; 
        margin-left:30px; 
    }

}

@media (max-width:530px) {
    #idx_banner .tbox{   
        min-width: auto;
        width: 100%;
        padding: 5px 1% 5px 1%;
    }
    #idx_banner .news{
        width: 60%;
        margin: 0 auto;
        padding: 0 3% 5px;
    }
    #idx_banner .news .btn{
        margin: 0 auto;
    }
}


/*------
panel
--------*/
.panel{
    display: inline-block;
    float: left;
    width: calc((100%/3) - 20px);
    margin: 0 10px 30px;
    background-color: #fff;
    border-bottom: 5px solid #000;
    height: 480px;
}
.panel header{
    background-color: #000; 
    height: 46px;
    padding: 8px;
    width: 100%;
    position: relative;
}

.panel header p{
    font-weight: 700;
    line-height: 30px;
    font-size: 18px;
    color: #fff; 
    display: inline-block;
}
.panel header p img{
    margin: 0 5px;
}
.panel header a{
    float: right;
}

.panel header .arrow{
    display: block;
    width: 10px;
    height: 10px;
    background: #000;
    position: absolute;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    bottom: -5px;
    left: 20px;
}
@media (max-width:1024px) {
    #idx_news,#idx_info{
        width: calc(50% - 20px);
        height: 510px;
    }
    #idx_date{
        width: 100%;
    }
}
@media (max-width:800px) {
    #idx_news,#idx_info{
        height: 480px;
    }
}
@media (max-width:650px) {
    #idx_news,#idx_info{
        height: 430px;
    }
}
@media (max-width:530px) {
    #idx_news,#idx_info,#idx_date{
        width: calc(100% - 20px);
        height: auto;
    }
}  

/*panel_main*/
.panel_main{
    cursor: pointer;
    border-bottom: 1px dashed #666;

}
.panel_main .pic{
    display: block;
    height: auto;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}
.panel_main .pic a{
    position: relative;
    padding-bottom: 64%;
    width: 100%;
    height: 0;
    clear: both;
    float: none;
    display: block;
    overflow: hidden;
}

.panel_main .pic img {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.panel_main:hover .pic img {
    transform: scale(1.1) !important;
}

.panel_main .main_tbox{
    padding: 8px 3%;
}
.panel_main .title{
    clear: both;
    color: #eb9600;
    line-height: 24px;
    font-size: 18px;
    max-height: 26px;
    overflow: hidden;
    display: block;
}


/*info*/
.panel_main .info{
    font-size: 16px;
    line-height: 24px;
    max-height: 50px;
    display: block;
    overflow: hidden;
}

.panel .info_list{
    padding: 8px 3%;
    min-height: 100px;
}
.panel .info_list li{
    color: #333;
    margin-left:10px; 
    list-style: circle;
    font-size: 14px;
    line-height: 24px;
    
}
.panel .info_list li a{
    color: #e69302;
    overflow: hidden;
    max-height: 26px;
    display: inline-flex;
}
.panel .info_list li a:hover{
    text-decoration: underline;
    color: #000;
}



/*info_tab*/
.panel .info_tab{}
.panel .info_tab span{
    display: none;
}

#tab{
    width: 100%;    
}
/* 頁籤ul */
#tab>ul{
    overflow: hidden;
    border-bottom: 3px solid #eb9600;
}
#tab>ul>li{
    list-style: none;
    width: calc(100%/3);
    float: left;
    border-right: 1px solid #d2d2d2;

    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}
#tab>ul>li>a{
    text-decoration: none;
    font-size: 18px;
    color: #333;
    float: left;
    text-align: center;
    width: 100%;
    line-height: 38px;
}

/*頁籤div內容*/
#tab>div {
    clear:both;
    padding:0 15px;
    height:0;
    overflow:hidden;
    visibility:hidden;
   /* -webkit-transition:all .4s ease-in-out;
    -moz-transition:all .4s ease-in-out;
    -ms-transition:all .4s ease-in-out;
    -o-transition:all .4s ease-in-out;
    transition:all .4s ease-in-out;*/
}



/*第一筆的底色*/
span:target ~ #tab > ul li:first-child a {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
    color: #333;
}
span:target ~ #tab > div:first-of-type {
    visibility:hidden;
    height:0;
    padding:0 15px;
}

/*頁籤變換&第一筆*/
span ~ #tab > ul li:first-child a,
#tab-1:target ~ #tab > ul li a[href$="#tab-1"],
#tab-2:target ~ #tab > ul li a[href$="#tab-2"],
#tab-3:target ~ #tab > ul li a[href$="#tab-3"] {
    background: #eb9600;
    color: #fff;
}

/*頁籤內容顯示&第一筆*/
span ~ #tab > div:first-of-type,
#tab-1:target ~ #tab > div.tab-content-1,
#tab-2:target ~ #tab > div.tab-content-2,
#tab-3:target ~ #tab > div.tab-content-3 {
    visibility: visible;
    height: 386px;
    background: #fff;
    padding: 8px 3%;
    overflow: auto;
}
span ~ #tab > div:first-of-type .date,
#tab-1:target ~ #tab > div.tab-content-1 .date,
#tab-2:target ~ #tab > div.tab-content-2 .date,
#tab-3:target ~ #tab > div.tab-content-3 .date {
    color: #eb9600;
    font-size: 16px;
    line-height: 24px;
    margin-bottom:5px; 
}
span ~ #tab > div:first-of-type ul,
#tab-1:target ~ #tab > div.tab-content-1 ul,
#tab-2:target ~ #tab > div.tab-content-2 ul,
#tab-3:target ~ #tab > div.tab-content-3 ul {
    margin-bottom:5px;
}
span ~ #tab > div:first-of-type li,
#tab-1:target ~ #tab > div.tab-content-1 li,
#tab-2:target ~ #tab > div.tab-content-2 li,
#tab-3:target ~ #tab > div.tab-content-3 li {
    color: #333;
    margin:0 0 5px 10px;
    list-style: circle;
    font-size: 14px;
    line-height: 24px;
    border-bottom: 1px dashed #666;
}

/*------
panel_s
--------*/
.panel_s{
    display: inline-block;
    float: left;
    width: calc((100%/3) - 20px);
    margin: 0 10px 30px;
    position: relative;
}

.panel_s .pic{
    display: block;
    height: auto;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}
.panel_s .pic a{
    position: relative;
    padding-bottom: 50%;
    width: 100%;
    height: 0;
    clear: both;
    float: none;
    display: block;
    overflow: hidden;
}

.panel_s .pic img {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.panel_s:hover .pic img {
    transform: scale(1.1) !important;
}
.panel_s .tbox{
    height: 80px;
    overflow: hidden;
    width: 100%;
    padding: 0 1%;
    text-align: center;
    position: absolute;
    left: 0;
    bottom:-50px;
    color: #fff;
    background-color: rgba(0,0,0,0.8);
}
.panel_s:hover .tbox{
    bottom:0px;
    -o-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
    
}
.panel_s .title{
    font-size: 16px;
    line-height: 30px;
    font-weight: 700;  
}

@media (max-width:700px) {
    .panel_s{
        width: calc(100% - 20px);
    }
}    

