﻿@import "/inc/css/all.css";
@import "/inc/css/btn.css";

body {
    background: #4d4d4d;
}


/*---- 最外層包裝 ----*/
#wrapper {
    width: 100%;
    margin: 0 auto;
    background: #fff url("/trade/images/header_bg.png") repeat-x top center;
    position: relative;
}

#header {
    width: 1000px;
    height: 100px;
    margin: 0 auto;
    color: #fff;
    position: relative;
}

#navbar {
    width: 1000px;
    margin: 0 auto;
    color: #333;
}

.logo {
    padding: 10px 0 0 5px;
    height: 90px;
}

.text {
    padding: 25px 5px 0 0;
    font: 12px/1.5 微軟正黑體,Arial;
    text-align: right;
}

#content_index {
    width: 100%;
    background: url("/trade/images/content_bg.png") repeat-x top center;
    margin: 0 auto;
}

#content {
    width: 100%;
    background: url("/trade/images/content_bg2.png") repeat-x top center;
    margin: 0 auto;
}

.index {
    width: 1000px;
    margin: 0 auto;
}

.index_menu {
    width: 500px;
    position: relative;
    top: -200px;
    left: 500px;
}

    .index_menu li {
        float: left;
        margin-right: 15px;
        list-style-type: none;
    }

.index_menu01 a {
    display: block;
    width: 110px;
    height: 110px;
    background: url("/trade/images/index_menu.png") no-repeat 0 0;
}

    .index_menu01 a:hover {
        display: block;
        width: 110px;
        height: 110px;
        background: url("/trade/images/index_menu.png") no-repeat -110px 0;
    }

.index_menu02 a {
    display: block;
    width: 110px;
    height: 110px;
    background: url("/trade/images/index_menu.png") no-repeat 0 -110px;
}

    .index_menu02 a:hover {
        display: block;
        width: 110px;
        height: 110px;
        background: url("/trade/images/index_menu.png") no-repeat -110px -110px;
    }

.index_menu03 a {
    display: block;
    width: 110px;
    height: 110px;
    background: url("/trade/images/index_menu.png") no-repeat 0 -220px;
}

    .index_menu03 a:hover {
        display: block;
        width: 110px;
        height: 110px;
        background: url("/trade/images/index_menu.png") no-repeat -110px -220px;
    }

.index_menu04 a {
    display: block;
    width: 110px;
    height: 110px;
    background: url("/trade/images/index_menu.png") no-repeat 0 -330px;
}

    .index_menu04 a:hover {
        display: block;
        width: 110px;
        height: 110px;
        background: url("/trade/images/index_menu.png") no-repeat -110px -330px;
    }

.index img {
    position: relative;
    top: 100px;
    padding-bottom: 60px;
}


.index2 {
    width: 1000px;
    margin: 0 auto;
}

.Point {
    width: 1000px;
    padding-bottom: 20px;
    height: 5px;
    margin: 0 auto;
    background: url("/trade/images/point_001.png") repeat-x;
}

#Box_bg {
    width: 1000px;
    margin: 0 auto;
    padding-bottom: 30px;
    background: url("/images/Box_bg.png") no-repeat;
    z-index: 1;
}

#Box {
    width: 920px;
    margin: 0 auto;
    padding: 30px 0;
}

    #Box h1 {
        font: 25px/1.5 微軟正黑體,Arial;
        background: url("/images/icon_title001.png") no-repeat 5px 18px;
        color: #333;
        padding: 10px 0 10px 40px;
    }

    #Box h2 {
        font: 20px/1.5 微軟正黑體,Arial;
        background: url("/images/icon_title002.png") no-repeat 0px 17px;
        color: #333;
        padding: 10px 0 10px 20px;
    }

.bar {
    background: #c5c5c5;
    height: 1px;
    border-bottom: 5px solid #e4e4e4;
    margin: 0 0 20px 0;
}

#Box h3 {
    font: 14px/1.5 微軟正黑體,Arial;
    color: #cc0000;
}

#Box_all {
    width: 830px;
    margin: 0 auto;
}

#detail_left {
    width: 200px;
    float: left;
}

    #detail_left ul {
        list-style-type: none;
    }

        #detail_left ul li {
            text-align: left;
            text-decoration: none;
        }

            #detail_left ul li a {
                text-align: left;
                text-decoration: none;
            }

.menu_on {
    display: block;
    margin: 5px;
    color: #ffffff;
    padding: 5px 0 5px 10px;
    text-decoration: none;
    background: url(/images/menu_bg01.png) no-repeat;
}

.menu a {
    display: block;
    margin: 5px;
    color: #333333;
    text-decoration: none;
    padding: 5px 0 5px 10px;
    background: #fff;
}

    .menu a:hover {
        display: block;
        margin: 5px;
        color: #333333;
        background: #ccc;
        text-decoration: none;
        padding: 5px 0 5px 10px;
        background: url(/images/menu_bg02.png) no-repeat;
    }

.menusub_on {
    display: block;
    margin: 5px 0 5px 25px;
    padding: 5px 0 5px 20px;
    color: #cc0000;
    text-decoration: none;
    background: url(/images/menu_icon.png) no-repeat 0 -100px;
}

.menusub a {
    display: block;
    margin: 5px 0 5px 25px;
    padding: 5px 0 5px 20px;
    color: #333333;
    text-decoration: none;
    background: url(/images/menu_icon.png) no-repeat 0 0;
}

    .menusub a:hover {
        display: block;
        margin: 5px 0 5px 25px;
        padding: 5px 0 5px 20px;
        color: #cc0000;
        text-decoration: none;
        background: url(/images/menu_icon.png) no-repeat 0 -100px;
    }

#Box_right {
    width: 700px;
    float: right;
}

    #Box_right h2 {
        font: 20px/1.5 微軟正黑體,Arial;
        padding-bottom: 10px;
    }


/*新手首次登入*/
.first {
    background: url(/trade/images/first_step02.png) no-repeat;
    margin: 50px 0;
    width: 100%;
}

    .first:hover {
        border-top: 2px solid #fc9ea2;
        border-bottom: 2px solid #fc9ea2;
        background: #ffddde;
    }

        .first:hover .first_step:before {
            content: 'Step';
            color: #CC0000;
            font: 18px/1.2 Arial;
            vertical-align: middle;
            margin-top: 5px;
        }

        .first:hover .first_title {
            color: #CC0000;
        }

        .first:hover .first_step {
            color: #CC0000;
        }

.first_step {
    float: left;
    width: 130px;
    height: 115px;
    color: #FFF;
    font: 100px/1.2 Arial;
    text-align: center;
}

.first_text {
    float: left;
    padding-left: 20px;
    width: 680px;
}

.first_title {
    color: #a67c52;
    font-size: 20px;
    margin: 10px;
}


/*CA電子憑證*/
.operate {
    display: block;
    width: 100%;
    padding: 20px 0;
    background: #ffddde;
    margin-bottom: 20px;
    list-style-type: none;
}

    .operate:hover {
    }

.step {
    width: 100%;
}

    .step li {
        list-style-type: none;
    }

.step_text {
    margin: 0 20px;
    padding: 10px 0;
}

.step_text_title {
    font: 30px/1.5 微軟正黑體,Arial;
    color: #cc0000;
    border-bottom: 2px dotted #cc0000;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.step_text_title2 {
    font: 12px/1.5 微軟正黑體,Arial;
    color: #cc0000;
    padding-top: 10px;
}

.step_text span {
    color: #197b30;
    padding: 0 5px;
}

.step_img {
    padding: 10px;
    margin: 0 20px;
    background: #FFF;
    border: 1px solid #bbb;
}

    .step_img img {
        border: 1px solid #5a5a5a;
        width: 635px;
    }


/*QA*/
#qa_btn {
    z-index: 2;
    position: relative;
    float: right;
}

ul.accordionPart {
    margin: 10px 10px 50px 0;
}

    ul.accordionPart li {
        border-bottom: solid 1px #e3e3e3;
        padding-bottom: 12px;
        margin-top: 12px;
        list-style-type: none;
    }

.accordionPart .qa_title {
    padding-left: 28px;
    font: 15px/1.5 微軟正黑體,Arial;
    color: #cc0000;
    cursor: pointer;
    background: url(/images/icon_qa.png) no-repeat 0 2px;
}

.qa_title_on {
    color: #cc0000;
    text-decoration: underline;
}

.qa_content {
    margin: 6px 0 0;
    padding-left: 28px;
}

ul.accordionPart li a {
    color: #333;
    padding: 0 5px;
}

    ul.accordionPart li a:hover {
        color: #cc0000;
    }

.qa_content span {
    color: #8c6239;
}

.qa_content img {
    width: 630px;
    margin: 5px 0;
    border: 1px solid #333;
}

.qa_content ul div ol img {
    width: 590px;
    margin: 5px 0;
    border: 1px solid #333;
}

.qa_content ol li {
    border-bottom: 0;
    padding-bottom: 0;
    padding-bottom: 0;
    list-style-type: decimal;
}

.qa_content ol img {
    width: 590px;
    margin: 5px 0;
    border: 1px solid #333;
}


/*交易委託時間表*/
.table {
    border-collapse: collapse;
    margin-bottom: 5px;
    margin-top: 5px;
    font: 14px/1.5 微軟正黑體,Arial;
}

    .table th {
        background: #cc0000;
        padding: 8px;
        border: 1px #FFFFFF solid;
        color: #fff;
    }

    .table td {
        background: #ffeccd;
        border: 1px #FFFFFF solid;
        padding: 8px;
        color: #333;
    }

    .table .td2 {
        background: #ffc9cb;
    }


/*注意事項*/
.atable {
    margin: 50px 0 20px 0;
    position: relative;
}

.atable_top {
    height: 10px;
    width: 700px;
    background: url(/images/atable_001.png) no-repeat;
}

.atable_middle {
    width: 700px;
    background: url(/images/atable_002.png) repeat-y;
}

.atable_bottom {
    height: 10px;
    width: 700px;
    background: url(/images/atable_003.png) no-repeat;
}

.atable_title {
    font: 20px/1.5 Arial,微軟正黑體;
    background: url(/images/atable_title.png) no-repeat;
    position: absolute;
    width: 84px;
    height: 111px;
    color: #fff;
    left: 30px;
    padding-left: 20px;
    padding-top: 15px;
}

.atable_text {
    width: 80%;
    margin-left: 110px;
}

    .atable_text li {
        list-style-type: none;
        padding: 5px 0 5px 30px;
        font-weight: bold;
    }

        .atable_text li p {
            color: #333;
            font-weight: 100;
            font: 12px/1.5 Arial,微軟正黑體;
        }

    .atable_text h4 {
        color: #9d770b;
        font: 20px/1.5 Arial,微軟正黑體;
        border-bottom: 1px dotted #333;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }

.atable2 {
    margin: 50px 0 20px 0;
    position: relative;
}

.atable2_top {
    height: 10px;
    width: 830px;
    background: url(/images/atable2_001.png) no-repeat;
}

.atable2_middle {
    width: 830px;
    background: url(/images/atable2_002.png) repeat-y;
}

.atable2_bottom {
    height: 10px;
    width: 830px;
    background: url(/images/atable2_003.png) no-repeat;
}

.atable2_title {
    font: 20px/1.5 Arial,微軟正黑體;
    background: url(/images/atable_title.png) no-repeat;
    position: absolute;
    width: 84px;
    height: 111px;
    color: #fff;
    left: 30px;
    padding-left: 20px;
    padding-top: 15px;
}

.atable2_text {
    width: 80%;
    margin-left: 140px;
}

    .atable2_text li {
        padding: 5px 0 5px 20px;
        list-style-position: outside;
        list-style-type: none;
        background: url(/images/icon_005.png) no-repeat 0 11px;
    }

    .atable2_text h4 {
        color: #9d770b;
        font: 20px/1.5 Arial,微軟正黑體;
        border-bottom: 1px dotted #333;
        padding-bottom: 5px;
        margin-bottom: 5px;
        list-style-type: none;
    }

#divShow {
    background: #ffddde url("/trade/images/icon_001.png") 20px 8px no-repeat;
    padding: 10px 0 10px 60px;
    border: 1px solid #ffc9cb;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

.List_icon {
    display: block;
    width: 50px;
}

#footer {
    width: 100%;
    background: #4d4d4d;
    color: #fff;
    padding: 20px 0;
}

#company {
    width: 1000px;
    margin: 0 auto;
    text-align: center;
    font: 12px/1.5 Arial,微軟正黑體;
}

#account, #email {
    width: 350px;
}


/*變更密碼*/
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.form {
    margin: 20px auto;
}

.form-narrow {
    width: 55%;
}

.form-g {
    display: flex;
    align-items: center;
    margin: auto;
    margin-bottom: 10px;
    overflow: hidden;
}

.form-g > label {
    display: block;
    width: 32%;
    font-size: 1em;
    color: #666;
    text-transform: uppercase;
    text-align: right;
    margin-right: 1em;
}

.form .alert-msg {
    position: absolute;
    left: 75%;
    top: .7em;
}

.form .button {
    width: 100%;
}

.form .btn-group {
    text-align: center;
    margin: auto;
}

.form span.acc,
.form select,
.form span.agreement,
.form input[type=text],
.form input[type=password],
.form textarea,
.form span.birthday-zone2,
.form span.ca,
.form span.ca2 {
    box-sizing: border-box;
    border-radius: 3px;
    border: 1px solid #ccc;
    box-shadow: none;
    font-size: 1em;
    padding: 0 .7em;
    /*flex: 1;*/
    width: 35%;
    height: 38px;
    display: flex;
    align-items:center;
    
    transition: border-color 0.2s ease-in-out;
}

select::-ms-expand {
    display: none;
}

.form select {
    width: auto;
    -webkit-appearance: none;
    apprearance: none;
    padding-right: 2em;
    background: url(/Images/uikit/icons/chevron-down.svg) no-repeat right center;
}
.form span.acc,
.form span.agreement,
.form span.birthday-zone2 {
    border: 0;
    padding-left: 0;
}

.form .form-g > a.buttonS,
.form .form-g > a.buttonM,
.form .form-g > a.buttonL {
    position: absolute;
    top: -.2em;
    left: 70%;
}

.form span.acc {
    width: 37.5%;
}

.form span.agreement {
    width: 500px;
}

    .form span.agreement a {
        color: #c6000f;

    }

.form span.acc select {
    width: 100%;
}

.form .item {
    display: inline-block;
    color: #c00;
    margin-left: 1.5em;
}

.form-icon {
    font-size: 1.5em;
    text-align: center;
    display: none;
    position: absolute;
    top: 0;
}

.form .item,
.form-icon {
    line-height: 1.3em;
    vertical-align: middle;
}

.form-icon-ok {
    color: #6dd16d;
}

.form-icon-alert {
    color: #ff8888;
}

.form-icon-clear {
    color: #666;
    cursor: pointer;
}

.form-g > .item {
    position: absolute;
    right: 2.5em;
    color: #cc0000;
    pointer-events: none;
}




p.alertMsg {
    font-size: 2.4em;
    margin-top: 1em;
    margin-bottom: .5em;
    text-align: center;
}

p.failure {
    color: #CC0000;
}

    p.failure span {
        display: block;
    }

.box-alert {
    background-color: #ffd1db;
    color: #CC0000;
    text-align: center;
    padding: 1em 0;
}

.is-visible {
    display: block;
}

.is-hidden {
    display: none;
}
/*密碼補發*/
.stepByStep {
    width: 100%;
    display: block;
    color: #fff;
}

    .stepByStep p {
        float: left;
        text-align: center;
        width: 32%;
        padding: 5px;
        border-left: 1px solid #fff;
        background: #d6dcdf;
        line-height: 2em;
    }

        .stepByStep p span {
        }

.partition {
    width: 10px;
    background: #fff;
}

.stepByStep_first {
    border-radius: 8px 0 0 8px;
}

.stepByStep_finish {
    border-radius: 0 8px 8px 0;
}

.stepByStep .active {
    background: #0f6f95 url(/trade/images/stepByStep_bg.png) repeat-x 0 0;
}

.attention {
    margin-top: 0;
}

.form span.ca {
    padding-left: 0;
    border: 0;
    color: #cc0000;
}

.form span.ca2 {
    padding-left: 0;
    border: 0;
    color: #cc0000;
    margin-top: -15px;
}

.form span.MailTel_title {
    display: inline-block;
    width: 30%;
    text-align: right;
}

.form span.MailTel {
    display: inline-block;
    width: 55%;
    border: 0;
    padding: .7em;
    border: 1px solid #ccc;
    border-radius: 3px;
}
/* ---------------------------------------------------------
            debug: user用手機瀏覽放大畫面時 header的右方被切斷了
            原因是 position: fixed, 且width=100%
            所以要排除這兩種
---------------------------------------------------------*/

@media screen and (max-width: 1000px) {
    #navigation {
        position: absolute;
    }

    #wrapper, #menu_div, #navigation, #content_index, #footer {
        width: 1200px;
    }
}

@media screen and (min-width: 1001px) {
    #navigation {
        position: fixed;
    }

    #wrapper, #menu_div, #navigation, #content_index, #footer {
        width: 100%;
    }
}

.form-g input[type=radio] {
    width: 1em;
    height: 1em;
    cursor: pointer;
    margin-right: 2px;
}

.form .btn-group .buttonL {
    min-width: 5.1em;
    cursor: pointer;
}

#id + .idnomask {
    display: flex;
    align-items:center;
}