﻿
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

/*body {
    line-height: 1;
    font-size:14px;
    font-weight:400;
}*/

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}




/*body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333;
       
}*/


p {
    padding: 10px;
}

#wrapper {
    margin-left: 25%;
    width: 1070px;
}

#header {
    float: left;
    height: 60px;
    width: 1000px;
    /*background: #FF6633;*/
}

#navigation {
    float:left;
    height: 150px;
    width: 1000px;
    /*background: #FFCC33;*/
    position:center;

}

    #navigation div {
        width: 1000px; /*必須要設定你整個DIV區塊的寬度*/
        height: 150px;
        position:center;
       
  
        
        /*background: rgba(255,0,0,1.00);*/
    }

img.square {
    width: 135px;
    border-radius: 20%;
    border: 1px solid rgba(255,0,0,1.00);
    float: left;
    padding: 2px;
    margin: 13px;
    display: block;
    
}
#navigation dev1:hover
 {
    display: block; /*將區塊顯示*/
    border: 5px;
    color: chartreuse;
    
}



#content {
    float: left;
    /*background: #FFFFFF;*/
    width: 650px;
}

#leftcolumn {
    /*background-color:aliceblue;*/
    width: 190px;
    float: left;
}

#rightcolumn {
    /*background: #CC33FF;*/
    width: 175px;
    float: left;
    
}


#footer {
    /*height: 40px;
    
    background: #33FF66;*/
    width: 1000px;
    clear: both;
}

ul {
    list-style-type: none;
}

.menu::after {
    content: "";
    display: table;
    clear: both;
}

.menu > li {
    float: left;
}

.menu .card {
    position: relative;
    display: inline-block;
    width: 120px;
    text-align: center;
    padding: 10px;
    border:hidden;
    font-weight:bold;
    
}

.card:hover .subdiv {
    display: block;
}

.card > i {
    border: 4px solid #ddd;
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    text-align: center;
    line-height: 80px;
    font-size: 2em;

}
.card img {
    border: 4px solid #ddd;
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    text-align: center;
    line-height: 80px;
    font-size: 2em;

}

    .card > i:hover {
        border: 4px solid;
        /*border-bottom-color: tomato;
        border-left-color: tomato;
        border-top-color: #ffb400;
        border-right-color: #ffb400;*/
        border-color:#ffb400;
        
     
    }
        .card > img:hover {
        /*border: 4px solid;
        border-bottom-color: tomato;
        border-left-color: tomato;
        border-top-color: #ffb400;
        border-right-color: #ffb400;*/
        border-color:#ffb400;
     
    }

.card span {
    display: inline-block;
    text-align: center;
}

.subdiv {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 650px;
    font-size: 12px;
    border-radius: 4px;
    box-shadow: 1px 1px 6px 0 rgba(0, 0, 0, 0.6);
    transition: all .3s;
}

    .subdiv::after {
        content: "";
        display: table;
        clear: both;
    }

    .subdiv > .col {
        float: left;
        width: 33.33333%;
        border: 1px solid #ddd;
    }

    .subdiv .subdiv-title {
        background: #d80003;
        color: #fff;
        font-weight: 700;
        padding: 6px 10px;
    }

    .subdiv ul a {
        display: block;
        color: #666;
        padding: 6px 10px;
    }

        .subdiv ul a:hover {
            background: #eee;
        }

 #card1 {
    position: relative;
    display: inline-block;
    width: 125px;
    text-align: center;
    padding: 2px; 
    background-color:aliceblue;
  
   
}
.card1 span {
    display: inline-block;
    text-align: center;
}

.card1 > img {
    border: 4px solid #ddd;
    display: inline-block;
    width: 125px;
    height: 125px;
    border-radius: 20%;
    text-align: center;
    line-height: 125px;
    font-size: 2em;
}
.card1 > img:hover {
        border: 4px solid ;
        /*border-bottom-color: tomato;
        border-left-color: tomato;
        border-top-color: cadetblue;
        border-right-color: cadetblue;*/  
        border-color:#ffb400;                   
    }

.cardcenter {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
    align-content: flex-end;
}
.class_outer {
    display: block;
    width: 100px;
    height: 100px;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
}
.class_cover {
    /*width: 100px;
    height: 20px;
    line-height: 20px;
    padding-left: 5px;
    
    background-color: rgba(0, 0, 0, .40);
    color: #FFFFFF;
    font-size: 26px;
    position: absolute;
    left: 0px;
    bottom: 0px;*/
 
}
.class_cover:hover  {
    width: 100px;
    height: 100px;
    line-height: 50px;
    padding-left: 5px;
    background-color: rgba(255, 99, 71, .70);
    color: #FFFFFF;
    /*font-size: 26px;*/
    position: absolute;
    left: 0px;
    bottom: 0px;
     border-radius: 20%;
   
}

.mh18 {
    color: rgba(255,255,255,1);
   
    transition: all 0.3s;
    position: relative;
    border: 1px solid rgba(255,255,255,0.5);
    overflow: hidden;
    font-size:12px;
}

    .mh18:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        background-color: rgba(0,0,0,0.25);
        transition: all 0.3s;
        transform: translate(35%,-190%) rotate(30deg);
        
        transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
    }

    .mh18:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        background-color: rgba(0,0,0,0.25);
        transition: all 0.3s;
        transform: translate(-35%,-190%) rotate(-30deg);
        transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
    }

    .mh18:before {
        transition-delay: 0.3s;
    }

    .mh18:hover:before, .mh18:hover:after {
        transform: translate(0,0);
    }

.tab {
    margin-top: 30px;
    tab-size: 2;
    border: 1px;

}

    .tab .nav-tabs {
        border: none;
        border-bottom: 1px solid #e4e4e4;
        border: 2px;
    }

.nav-tabs li a {
    padding: 10px 26px;
    border: 1px solid #ededed;
    border-top: 2px solid #ededed;
    border-right: 0px none;
    background: gray ;
    color: #fff;
    border-radius: 0px;
    margin-right: 0px;
    font-weight: bold;
    font-size:14px;
    transition: all 0.3s ease-in 0s;
}

    .nav-tabs li a:hover {
        border-bottom-color: #ededed;
        border-right: 0px none;
        background: darkgray;
        color: #fff;
    }

    .nav-tabs li a i {
        display: inline-block;
        text-align: center;
        margin-right: 8px;
    }

.nav-tabs li:last-child {
    border-right: 1px solid #ededed;
}

.nav-tabs li.active a,
.nav-tabs li.active a:focus,
.nav-tabs li.active a:hover {
    border-top: 3px solid #00b0ad;
    border-right: 1px solid #d3d3d3;
    margin-top: -15px;
    color: #444;
    padding: 22px 40px;
}

.tab .tab-content {
    padding: 20px;
    line-height: 22px;
    box-shadow: 0px 1px 0px #808080;
}

    .tab .tab-content h3 {
        margin-top: 0;
    }
#about {
    border-top-left-radius: 20px;
}
#cs1 {
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}
#headingOne {
    border-top-left-radius: 20px;
    
}


#lf1 {
    border-top-left-radius: 20px;
 
}
/*#lf3 {

    border-bottom-right-radius: 20px;
}*/


#footerbg {
    background-color:darkgrey;
    border-bottom-style:groove;
    border-top-color:coral;
          
}
.halfStyle {
    position:relative;
    display:inline-block;
    font-size:80px; /*  任何宽度都可以 */
    color: black; /* 任何颜色，或透明 */
    overflow:hidden;
    white-space: pre; /* 处理空格 */
}
.halfStyle:before {
    display:block;
    z-index:1;
    position:absolute;
    top:0;
    left:0;
    width: 50%;
    content: attr(data-content); /* 伪元素的动态获取内容 */
    overflow:hidden;
    color: #f00;
}

/* Go Top 按鈕 */
#goTop {
position: fixed;
bottom: 5px; /* 與下方的距離, 也可改為百分比, 即為距離螢幕下方的百分比 */
right: 5px; /* 與右方的距離 */
width: 40px; /* 按鈕原始寬度 */
height: 40px; /* 按鈕原始高度 */
opacity: 0.4; /* 按鈕原始透明度 */
z-index: 10;
cursor: pointer;
transition: all .5s; /* 動畫效果 持續期間 */
-webkit-transition: all .5s;
-moz-transition: all .5s;
}
    #goTop:hover { /* 滑鼠經過按鈕時 */
        opacity: 1; /* 透明度 */
        width: 80px; /* 按鈕寬度 */
        height: 80px; /* 按鈕高度 */
    }
/* Go Top 按鈕 */
#goSE {
    position: fixed;
    bottom: 70%; /* 與下方的距離, 也可改為百分比, 即為距離螢幕下方的百分比 */
    right: 10px; /* 與右方的距離 */
    width: 80px; /* 按鈕原始寬度 */
    height: 40px; /* 按鈕原始高度 */
    opacity: 0.4; /* 按鈕原始透明度 */
    z-index: 10;
    cursor: pointer;
    transition: all .5s; /* 動畫效果 持續期間 */
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
}

    #goSE:hover { /* 滑鼠經過按鈕時 */
        opacity: 1; /* 透明度 */
        width: 250px; /* 按鈕寬度 */
        height: 40px; /* 按鈕高度 */
    }

#videobox {
    position: fixed;
    bottom: 50%; /* 與下方的距離, 也可改為百分比, 即為距離螢幕下方的百分比 */
    right: 10px; /* 與右方的距離 */
    /* width: 80px;*/ /* 按鈕原始寬度 */
    /*height: 40px;*/ /* 按鈕原始高度 */
    /*opacity: 0.4; *//* 按鈕原始透明度 */
    z-index: 10;
    cursor: pointer;
    transition: all .5s; /* 動畫效果 持續期間 */
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
}

/* Go MSG 按鈕 */
/*#goMSG {
    position: fixed;
    bottom: 60%;  
    right: 1px;  
    width: 100px;  
    height: 100px; 
    z-index: 10;
    cursor: pointer;    

}

    #goMSG:hover { 
  
    }
        #slider1 {
            position: relative;
            margin-left: 20px;
            width: 555px;
            
            height: 166px;
            border-top: 1px solid #aaa;
            border-bottom: 1px solid #aaa;
        }*/



.page_ctrl {
    text-align: center;
    margin: 10px auto;
    box-sizing: border-box;
}

    .page_ctrl * {
        line-height: 26px;
    }

    .page_ctrl button {
        margin: 0 3px;
        min-width: 30px;
        background: #ffffff;
        border: 1px solid #e5e5e5;
        color: #5e5e5e;
        cursor: pointer;
        outline: none;
        text-align: center;
    }

        .page_ctrl button:hover {
            background: #0eb0d2;
            color: #ffffff;
        }

    .page_ctrl .btn_dis {
        cursor: default;
        opacity: .7;
        background: #eeeeee;
        color: #5e5e5e;
    }

        .page_ctrl .btn_dis:hover {
            background: #eeeeee;
            color: #5e5e5e;
        }

    .page_ctrl .current_page {
        background: #0eb0d2;
        color: #ffffff;
    }

    .page_ctrl .input_page_num {
        width: 30px;
        height: 26px;
        margin: 0 3px;
        padding: 0;
        text-align: center;
        background: #ffffff;
        border: 1px solid #e5e5e5;
        color: #5e5e5e;
        outline: none;
    }

    .page_ctrl .page_total, .page_ctrl .page_text {
        color: #2b2b2b;
        font-size: 13px;
    }




