* {
    margin: 0px;
    padding: 0px;
}
body{
    font-family: Microsoft JhengHei;
    min-width:320px;
}
#menu{
    width:100%;
}

#logo_sm{
    display:none;
}
#menu_btn{
    display:none;
}

#sm-bar{
    display:none;
}
#top-bar{
    top: 0px;
    width: 100%;
    height:81px;
    background: #2e2e2e;
    position: fixed;
    z-index: 99;
    -webkit-box-shadow: 0px 2px 2px #2e2e2e;
    -moz-box-shadow: 0px 2px 2px #2e2e2e;
    box-shadow: 0px 2px 2px #2e2e2e;
    padding-top: 4px;
}

#logo{
    margin-left: 10px;
    width: 400px;
    /*    margin-top: 5px;*/
}
#menu_news{
    color: white;
    font-size: 1.3em;
}
#menu_news:hover {
    color:#95b875;
}
#menu_announce{
    color: white;
    font-size: 1.3em;
}
#menu_announce:hover {
    color:#95b875;
}
#menu_count{
    color: white;
    font-size: 1.3em;
}
#menu_count:hover {
    color:#95b875;
}
#menu_intro{
    color: white;
    font-size: 1.3em;
}
#menu_intro:hover {
    color:#95b875;
}
#menu_download{
    color: white;
    font-size: 1.3em;
}
#menu_download:hover {
    color:#95b875;
}		
/*menu的登入按鈕*/
.enter {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #8fb888), color-stop(1, #507d58));
    background:-moz-linear-gradient(top, #8fb888 5%, #507d58 100%);
    background:-webkit-linear-gradient(top, #8fb888 5%, #507d58 100%);
    background:-o-linear-gradient(top, #8fb888 5%, #507d58 100%);
    background:-ms-linear-gradient(top, #8fb888 5%, #507d58 100%);
    background:linear-gradient(to bottom, #8fb888 5%, #507d58 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8fb888', endColorstr='#507d58',GradientType=0);
    background-color:#8fb888;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family: Arial, "Microsoft JhengHei";
    font-size:15px;
    font-weight:bold;
    padding:8px 20px;
    float: right;
    margin-right:20px;
    margin-top:18.5px;
    text-decoration:none;
    text-shadow:0px 1px 0px #2f6627;
}
.enter:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #507d58), color-stop(1, #8fb888));
    background:-moz-linear-gradient(top, #507d58 5%, #8fb888 100%);
    background:-webkit-linear-gradient(top, #507d58 5%, #8fb888 100%);
    background:-o-linear-gradient(top, #507d58 5%, #8fb888 100%);
    background:-ms-linear-gradient(top, #507d58 5%, #8fb888 100%);
    background:linear-gradient(to bottom, #507d58 5%, #8fb888 100%);
    background-color:#507d58;
    text-decoration:none;
    color:white;
}
.enter:active {
    text-decoration:none;
    position:relative;
    top:1px;
}


/*註冊按鈕*/
.apply {

    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #d6b889), color-stop(1, #967c62));
    background:-moz-linear-gradient(top, #d6b889 5%, #967c62 100%);
    background:-webkit-linear-gradient(top, #d6b889 5%, #967c62 100%);
    background:-o-linear-gradient(top, #d6b889 5%, #967c62 100%);
    background:-ms-linear-gradient(top, #d6b889 5%, #967c62 100%);
    background:linear-gradient(to bottom, #d6b889 5%, #967c62 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d6b889', endColorstr='#967c62',GradientType=0);
    background-color:#d6b889;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family: Arial, "Microsoft JhengHei";
    font-size:15px;
    font-weight:bold;
    padding:8px 20px;
    float: right;
    margin-right:20px;
    margin-top:19.5px;
    text-decoration:none;
    text-shadow:0px 1px 0px #2f6627;
}

.apply:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #967c62), color-stop(1, #d6b889));
    background:-moz-linear-gradient(top, #967c62 5%, #d6b889 100%);
    background:-webkit-linear-gradient(top, #967c62 5%, #d6b889 100%);
    background:-o-linear-gradient(top, #967c62 5%, #d6b889 100%);
    background:-ms-linear-gradient(top, #967c62 5%, #d6b889 100%);
    background:linear-gradient(to bottom, #967c62 5%, #d6b889 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#967c62', endColorstr='#d6b889',GradientType=0);
    background-color:#967c62;
    color:white;
    text-decoration:none;
}
.apply:active {
    position:relative;
    top:1px;
    text-decoration:none;
}
/*        登出按鈕*/

#number_word{
    font-family: Arial, "Microsoft JhengHei";
    color: #ffffff;
    float: right;
    margin-top:26px;
    text-decoration: none;
    font-size: 1.3em;
    margin-right:40px;
}
.logout {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #d6b889), color-stop(1, #967c62));
    background:-moz-linear-gradient(top, #d6b889 5%, #967c62 100%);
    background:-webkit-linear-gradient(top, #d6b889 5%, #967c62 100%);
    background:-o-linear-gradient(top, #d6b889 5%, #967c62 100%);
    background:-ms-linear-gradient(top, #d6b889 5%, #967c62 100%);
    background:linear-gradient(to bottom, #D0383F 5%, #87051A 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d6b889', endColorstr='#967c62',GradientType=0);
    background-color:#d6b889;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family: Arial, "Microsoft JhengHei";
    font-size:15px;
    font-weight:bold;
    padding:8px 20px;
    float: right;
    margin-top:16.5px;
    text-decoration:none;
    text-shadow:0px 1px 0px #2f6627;
    margin-right:20px;
}

.logout:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #967c62), color-stop(1, #d6b889));
    background:-moz-linear-gradient(top, #967c62 5%, #d6b889 100%);
    background:-webkit-linear-gradient(top, #967c62 5%, #d6b889 100%);
    background:-o-linear-gradient(top, #967c62 5%, #d6b889 100%);
    background:-ms-linear-gradient(top, #967c62 5%, #d6b889 100%);
    background: linear-gradient(to bottom, #E5767B 5%, #AE243A 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#967c62', endColorstr='#d6b889',GradientType=0);
    background-color:#967c62;
    color:white;
    text-decoration:none;
}
.logout:active {
    position:relative;
    top:1px;
    text-decoration:none;
}
.logout a{
    color:white;
} 
#goto_center{
    color:white;
    text-decoration:none;
}
#goto_center:hover {
    color:#95b875;
}
.pop_contant {
    margin-left: 0%;
    padding-top: 7%;
    padding-left: 13%;
    padding-right:13%;
    padding-bottom: 10%;
    line-height: 23px;
    font-size: 1.1em;
}

.modal-header {
    min-height: 16.43px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
.modal-sm {
    width: 37%;
    margin-left: 30.5%;
    margin-right: 30%;
}
@media screen and (max-width: 2048px) {
    #menu_count {
        color: white;
        font-size: 1.3em;
    }
    #menu_download {
        color: white;
        font-size: 1.3em;
    }
    #menu_news {
        color: white;
        font-size: 1.3em;
    }
    #menu_intro {
        color: white;
        font-size: 1.3em;
    }
}

@media screen and (max-width: 1023px) {
    #menu_btn{
        float: right;
        z-index: 9999;
        width: 34px;
        height: auto;
        cursor:pointer;
        margin-top: 21px;
        margin-right: 20px;
    }
}
@media screen and (max-width:799px){
    #apply_btn , .enter{
        display:none;
    }
}

@media screen and (max-width:860px) {
    #show_news{
        display:none;
    }
    .logout{
        margin-right:-194px;
    }
    #number_word {
        margin-right: 189px;
    }

    #sm-bar{
        margin-top: 23px;
        width: 100%;
        background: #2E2E2E;
        position: fixed;
        z-index:5;
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 25px;
        padding-right: 10px;
        text-align: center;
        padding-right: 25px;
    }
    .sm-menu-style{
        font-size: 1.3em;
        padding-bottom: 10px;
        padding-top: 12px;
        border-bottom: 1px solid #666666;
    }
    .sm-menu-style:last-of-type{
        border-bottom:none;
    }
    #newcontent {
        font-size: 16px;
        line-height: 30px;
        text-align: justify;
        color: rgb(70, 78, 81);
        padding-top: 30px;
        padding-right: 50px;
        padding-left: 50px;
        padding-bottom: 20px;
        word-break: break-all;
    }
}
@media screen and (max-width: 767px) { 
    .logout {
        margin-right: -194px;
    }
    #number_word {
        margin-right: 189px;
    }
    #sm-bar{
        margin-top:26px;
        width: 100%;
        background: #2E2E2E;
        position: fixed;
        z-index:5;
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 25px;
        padding-right: 10px;
        text-align: center;
        padding-right: 25px;
    }
    .sm-menu-style{
        font-size: 1.3em;
        padding-bottom: 10px;
        padding-top: 12px;
        border-bottom: 1px solid #666666;
    }
    .sm-menu-style:last-of-type{
        border-bottom:none;
    }
    .enter{
        margin-right:98px;
    }
    .apply {
        margin-right: 16px;
    }
    #menu_btn{
        margin-top: -29px;
        position: fixed;
        display: block;
        float: right;
        z-index: 9999;
        width: 34px;
        height: auto;
        margin-left: 88%;
        cursor: pointer;
    }
    #menu_count{
        display:none;
    }
    #menu_intro{
        display:none;
    }
    .modal-sm {
        width: 64%;
        margin-left: 17%;
        margin-right: 30%;
        margin-top: 13%;
    }
}
