@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/*思源體引入*/

@font-face {
    font-family: 'NotoSansHant-Black';
    font-style: normal;
    font-weight: 400;
    src: local('NotoSansHant-Black'), url(http://image.mangot5.com/happytuk/webfont/NotoSansHant-Black.otf) format('opentype');
}

@font-face {
    font-family: 'NotoSansHant-Bold';

    font-style: normal;
    font-weight: 400;
    src: local('NotoSansHant-Bold'), url(http://image.mangot5.com/happytuk/webfont/NotoSansHant-Bold.otf) format('opentype');
}

@font-face {
    font-family: 'NotoSansHant-Medium';

    font-style: normal;
    font-weight: 400;
    src: local('NotoSansHant-Medium'), url(http://image.mangot5.com/happytuk/webfont/NotoSansHant-Medium.otf) format('opentype');
}

@font-face {
    font-family: 'NotoSansHant-Regular';

    font-style: normal;
    font-weight: 400;
    src: local('NotoSansHant-Regular'), url(http://image.mangot5.com/happytuk/webfont/NotoSansHant-Regular.otf) format('opentype');
}

@font-face {
    font-family: 'NotoSansHant-Thin';

    font-style: normal;
    font-weight: 400;
    src: local('NotoSansHant-Thin'), url(http://image.mangot5.com/happytuk/webfont/NotoSansHant-Thin.otf) format('opentype');
}


/*字體設定*/

.font_black {
    /* font-family: 'NotoSansHant-Black';*/
    font-family: "Meiryo", "Meiryo UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
    font-weight: 900;
}

.font_bold {
    /* font-family: 'NotoSansHant-Bold';*/
    font-family: "Meiryo", "Meiryo UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
    font-weight: 700;
}

.font_medium {
    /*font-family: 'NotoSansHant-Medium';*/
    font-family: "Meiryo", "Meiryo UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
    font-weight: bolder;
}

.font_regular {
    /* font-family: 'NotoSansHant-Regular';*/
    font-family: "Meiryo", "Meiryo UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
    font-weight: bold;
}

.font_thin {
    /* font-family: 'NotoSansHant-Thin';*/
    font-family: "Meiryo", "Meiryo UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    /* needed for container min-height */
    font-family: "Meiryo", "Meiryo UI", "Microsoft JhengHei UI", "Microsoft JhengHei", 'NotoSansHant-Thin', sans-serif !important;
}

body {
    background-image: url(../images/index.png);
    background-repeat: repeat;
}

.clr {
    clear: both;
    display: block;
}

#container {
    background-image: url(../images/bg.png);
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /*IE6不识别min-height*/
    position: relative;
    padding-bottom: 200px;
    /*高度等于footer的高度*/
    margin-bottom: 20px;
}

#container2 {
    background-image: url(../images/bg2.png);
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /*IE6不识别min-height*/
    position: relative;
    padding-bottom: 200px;
    /*高度等于footer的高度*/
    margin-bottom: 20px;
}

#main {
    width: 1023px;
    height: auto !important;
    min-height: 100%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

#header {
    height: 250px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.header {
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.top_header {
    width: 200px;
    color: #03C;
    position: absolute;
    top: 8px;
    left: -210px;
    font-weight: bold;
}

.binfo {
    color: #FFFF00;
    font-weight: bold;
}

.toy {
    background-image: url(../images/trade.png);
    background-repeat: no-repeat;
    height: 40px;
    /*width: 565px;*/
    margin-right: auto;
    margin-left: auto;
    display: none;
}

.trade {
    margin-top: -10px;
}

.trade1 {
    background-image: url(../images/title_top.png);
    background-repeat: no-repeat;
    height: 42px;
    width: 1024px;
}

.trade2 {
    background-image: url(../images/title_main.png);
    background: rgba(0, 0, 0, 0.75);
    width: 1024px;
    margin-right: auto;
    margin-left: auto;
    padding: 0px;
    color: #FFF;
}

#goods-tile {
/*    display: -moz-box;
    display: -webkit-box;
    display: box;*/
    display: flex;
    border-bottom-width: 1px;
    border-bottom-style: double;
    border-bottom-color: #333;
    padding: 10px 10px 20px 10px;
}

.list_1 {
/*    -webkit-flex: 1;
    flex: 1;*/
    width: 207px;
    margin-right: 15px;
    padding-left: 35px;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #333;
}

.list_2 {
 /*   -webkit-flex: 2;
    flex: 8;*/
    width: 548px;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #333;
    padding: 0 10px 0 10px;
}

.list_3 {
/*    -webkit-flex: 3;
    flex: 3;*/
    width: 220px;
    margin-left: 20px;
    font-size: 18px;
}

.list_3 li {
    margin-bottom: 10px;
    height: 50px;
}

.trade3 {
    background-image: url(../images/title_bottom.png);
    background-repeat: no-repeat;
    height: 43px;
    width: 1023px;
}

.bar {
    background-image: url(../images/bar_bg.png);
    background-repeat: repeat;
    height: 60px;
    width: 100%;
    position: relative;
}

.bar span {
    color: #00C;
    line-height: 55px;
}

#menu-bg {
    width: 100%;
    height: 60px;
    background-color: rgba(77, 114, 157, 0.7);
    border-bottom: 2px solid #5695B9;
    position: relative;
}

.menu1 {
    width: 600px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.menu ul {
    width: 650px;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
}

.menu li {
    float: left;
}

.menu li a {
    color: #FFF;
    display: block;
    font-size: 18px;
    height: 60px;
    width: 150px;
    line-height: 53px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
}

.menu li a:hover {
    background-image: url(../images/menu.png);
    color: #0FF;
}

.box {
    background-color: #282F49;
    height: 100px;
    width: 100px;
    border: 2px solid #C8D1FA;
    padding: 15px;
}

.buybtn {
    display: block;
    float: right;
    color: #FFF;
    font-size: 14px;
    margin-top: -75px;
}

.btn1,.btn4,.btn1:visited,.btn4:visited{
    background-image: url(../images/btn1.png);
    background-repeat: no-repeat;
    float: right;
    height: 39px;
    width: 235px;
    margin-top: 26px;
    margin-right: -60px;
    color: rgba(0, 0, 0, 0);
}

.btn1:hover,.btn4:hover{
    background-image: url(../images/btn1_hover.png);
    color: rgba(0, 0, 0, 0);
}

.btn2 {
    background-image: url(../images/btn2.png);
    background-repeat: no-repeat;
    float: right;
    height: 39px;
    width: 235px;
    margin-top: 26px;
    margin-right: -60px;
}

.btn2:hover {
    background-image: url(../images/btn2_hover.png);
}

.btn3 {
    background-image: url(../images/btn3.png);
    background-repeat: no-repeat;
    float: right;
    height: 39px;
    width: 235px;
    margin-top: 26px;
    margin-right: -60px;
}

.btn3:hover {
    background-image: url(../images/btn3_hover.png);
}

/*footer CSS*/
#footer {
    position: relative;
    margin-top: -80px;
    /*等于footer的高度*/
    bottom: 0px;
    width: 100%;
    clear: both;
    color: #FFF;
    padding: 10px;
    font-size: 12px;
    /*height: 224px;*/
    background-image: url(../images/footer_bg.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #16161D;
}

#footer img {
    width: 100%;
    height: auto;
    display: block;
}

#footer .rating {
    text-align: left;
}

#footer .rating img {
    width: 25%;
    float: left;
    display: block;
}

#footer .rating div {
    float: right;
    display: block;
}

#footer .rating div p {
    display: list-item;
    list-style: initial;
    margin: 0;
    font-size: 12px;
}

.footer-word {
    margin-left: -10px;
}

.title1,
.title2,
.title3 {
    background-image: url(../images/title1.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 114px;
    width: 1024px;
    /*position: absolute;*/
    z-index: 1;
    top: 130px;
    /*left: 300px;*/
    margin-top: 400px;
}

.title2 {
    background-image: url(../images/title2.png);
}

.title3 {
    background-image: url(../images/title3.png);
}

.center {
    text-align: center;
}

/*=====================上方平台選單=======================*/
.mangot5box {
    background: #000;
    height: 49px;
    border-bottom: 1px #fff solid;
}

.mangot5all {
    width: 1000px;
    margin: 0 auto;
}

.mangot5logo {
    float: left;
}

.mangot5bigad {
    float: left;
    margin-left: 54px;
}

.mangot5menu {
    float: right;
}

.nav-top {
    text-align: right;
    margin: 0 auto;
    height: 49px;
    color: #f0f0f0;
    z-index: 2;
    position: relative;
    width: 100%;

}

.nav-top a {
    display: block;
    padding: 0px 6px;
    line-height: inherit;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    font-family: "Meiryo", "Meiryo UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;

}

.nav-top a:hover {
    color: #a0d9f7;
    text-decoration: none;
    font-family: "Meiryo", "Meiryo UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
}


.nav_menu {
    line-height: 45px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: "Meiryo", "Meiryo UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
}

.nav_menu-item {
    display: inline-block;
    position: relative;
    text-decoration: none;

}

.nav_menu-item:hover {
    text-decoration: none;
}

.nav_menu-item:hover .nav_submenu {
    display: block;
}

.nav_submenu {
    font-weight: 300;
    text-transform: none;
    display: none;
    position: absolute;
    width: 100px;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: left;
    border-radius: 5px;
    margin-left: -15px;
}

.nav_submenu-item {
    text-align: center;
    line-height: 30px !important;

}

.windows .modal-header {
    border-bottom: 0px;
    background-color:  !important;
}

.windows .modal-footer {
    border-top: 0px;
    background-color: #191920;
    text-align: center;

}

.windows .modal-body {
    color: #FFF;
    background-color: #191920;
}

.windows.modal-content {
    -webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, .0);
    box-shadow: 0 0px 0px rgba(0, 0, 0, .0);
    border: 0px;
}

.windows {
    background-color: #191920;
    height: 158px;
    width: 500px;
    background-image: url(../images/aa.png);
    background-repeat: no-repeat;
    padding: 0 15px 0 15px;
    color: #FFF;
    text-align: center;
}

.modal-content1 {
    background-color:  !important;
}

/*table*/
.trade2 .table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    border-top: 1px solid #333;
}

.trade2 th {
    background-color: #151934;
    text-align: center;
}

/*分頁按鈕*/
.trade2 .pagination>li>a,
.pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #0A1B2E;
    border: 1px solid #06F;
}

.trade2 .pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    z-index: 3;
    color: #fff;
    background-color: #06F;
    border-color: #06F
}

/*button*/
.trade2 .btn-warning {
    background-color: #DA8512;
}

.trade2 .btn-warning:hover {
    background-color: #eea236;
}