﻿@media screen and (min-width:768px) {
    #MyWls .float-L .branding, #navigation .float-L .branding {
        top: 25px !important;
    }
}


div, p, span, input, section, li, tr, td {
    box-sizing: border-box;
}

.fg {
    box-sizing: border-box;
    margin: 0;
    margin: 5px auto;
}

ul.tabs {
    width: 100%;
    height: 36px;
    border-bottom: 3px solid #c6000f;
}

    ul.tabs li {
        float: left;
        height: 35px;
        line-height: 35px;
        overflow: hidden;
        position: relative;
        margin-bottom: -1px; /* 讓 li 往下移來遮住 ul 的部份 border-bottom */
        margin-right: 10px;
        padding: 0 10px;
        border: 1px solid #c6000f;
        border-bottom: none;
        color: #ffffff;
        background: #c6000f;
        font-size: 18px;
    }

    ul.tabs a li {
        display: block;
        border: 1px solid #9e9e9e;
        border-bottom: none;
        text-decoration: none;
        color: #333;
        color: #000;
        background: #ffffff;
    }

    ul.tabs a:hover li {
        color: #ffffff;
        background: #9e9e9e;
    }

    ul.tabs li.active {
        background: #fff;
        border-bottom: 1px solid#fff;
    }

        ul.tabs li.active a:hover {
            background: #fff;
        }

.info_list {
    display: block;
}

    .info_list li {
        display: inline-block;
        padding-right: 20px;
        /*height:50px;*/
        line-height: 50px;
        /*margin-bottom:10px;*/
    }

input[type=button]#btnSearch {
    -webkit-appearance: none;
    margin-left: 10px;
}

.no_data {
    width: 100%;
    text-align: center;
    font-size: 20px;
    height: 400px;
    line-height: 400px;
    vertical-align: middle;
}

    .no_data img {
        vertical-align: middle;
        padding-right: 10px;
    }


input[type=text], select {
    padding: 8px 16px;
    border-radius: 3px;
    border: 1px solid #bbb;
    background-color: #ffffff;
}

label {
    display: block;
    font-weight: bold;
}

.table01 tbody td {
    text-align: right;
}
.table01 tbody tr {
    background: #f8f8f8;
}
    .table01 tbody tr:nth-child(even) {
        background: #ebebeb;
    }
.table-rwd.table01 tr td:first-child {
    text-align: center;
}

.table01 tr td:nth-child(1), .table01 tr td:nth-child(2), .table01 tr td:nth-child(3) {
    text-align: center;
}

.attention p {
    color: #cc0000;
}

.attention ol {
    padding-left: 2em;
    margin: 0;
}

    .attention ol ul {
        list-style: disc;
        padding-left: 1.5em;
    }

.attention li span {
    text-decoration: underline;
}

    .attention li span span {
        font-weight: bold;
    }

/*試算表*/
.spreadsheet {
    padding-bottom: 1em;
}

    .spreadsheet li {
        padding-right: 1em;
    }

    .spreadsheet > li:first-child {
        color: #CC0000;
    }

    .spreadsheet input[type=text] {
        padding: 4px;
        width: 5em;
        margin: 0 .5em;
        text-align: right;
    }

#StockCode {
    text-align: left;
}

.spreadsheet span {
    font-size: 2em;
}

#divshow {
    display: inline-block;
}

    #divshow li span {
        color: #CC0000;
    }

.error {
    animation-duration: 0.5s;
    animation-name: blink;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}
.summary-item {
    margin-top:1em;
    margin-left:.5em;
    font-weight: bold;
    display:inline-block;
}
.summary-item i {
    padding-right: .5em;
}
.summary-value {
    color: #CC0000;
  
}
/*table*/

@keyframes blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.3;
    }
}
/*order*/

#order {
    margin: 20px auto;
}

.page_title {
    font: 30px/1.5 微軟正黑體,Arial;
    color: #c6000f;
    height: 60px;
    text-align: center;
}

.order_info_list {
    display: block;
    background: #999;
    border-radius: 3px;
}

    .order_info_list li {
        display: inline-block;
        padding: 0 20px;
        height: 40px;
        line-height: 40px;
        color: #ffffff;
    }

.box {
    width: 100%;
    margin: 10px 0;
}

.order_item {
    float: left;
    padding-right: 20px;
}

    .order_item input {
        width: 210px;
    }

.order_item_data select {
    width: 124px;
}

.order_item_Agreement {
    padding-right: 50px;
    margin: 0;
}

    .order_item_Agreement li {
        display: inline-block;
        /* list-style: none;*/
        margin: 5px 100px 5px 0;
    }

        .order_item_Agreement li span {
            margin-right: 2px;
        }

.order_item, .order_item_data, .order_item_Agreement {
    margin-bottom: 2em;
}

.btn_box {
    padding: 20px 0;
}

div#colorbox {
    top: 10%;
}

.attention2 tr td {
    vertical-align: top;
}

    .attention2 tr td:first-child {
        width: 5em;
    }

    .attention2 tr td span {
        color: #cc0000;
    }
/*qa*/
.qa_list {
    list-style-type: none;
}

.qa_list > li {
padding: 1em 0;
border-bottom: #333 1px dotted;
}

.qa_list li div:first-child {
color: #cc0000;
font-weight: bold;
font-size: 18px;
}

.qa_list > li div:first-child::before {
content: "Q";
}

    .qa_list > li div:last-child {
        padding-left: 3.5em;
        text-align: justify;
        text-justify: inter-ideograph;
    }

.qa_list > li div:last-child > ol {
    margin-left: -1em;
}

.qa_list > li div:last-child a {
    color: #333;
    font-weight: bold;
}
/* iPad 橫*/
@media screen and (max-width: 1024px) {
    /*查詢按鈕、table內字元*/
    #btnSearch, .table01 th, .table01 td, .table01 td a {
        font-size: 1em;
    }
    /*看更多按鈕*/
    .table-rwd.footable.breakpoint > tbody > tr > td:first-child span.footable-toggle {
        display: block;
        width: 6em;
        margin: 0.5em auto;
        font-size: 1em;
    }
    /*前往開戶、借券按鈕*/
    .table01 td a {
        width: 4.5em;
        white-space: nowrap;
    }

    .table01 td a:nth-child(3) {
        margin-top: 0.5em;
    }

    /***colorbox****/
    div#colorbox {
    }

    .page_title {
        text-align: center;
    }

    .order_info_list li {
        height: auto;
        padding: 0;
        display: inline-block;
        line-height: normal;
        padding: 0.5em;
    }

    #stockname, #applyqty, #rate, #startDate, #endDate {
        width: 100%;
    }

    .order_item, .order_item_data, .order_item_Agreement {
        width: 100%;
        margin: 0;
        margin-bottom: 1em;
        padding: 0;
    }

    .order_item label, .order_item_Agreement label {
        display: block;
        width: 100%;
        text-align: justify;
        text-justify: inter-ideograph;
    }

    .order_item_Agreement li span {
        display: inline-block;
        margin-right: 0px;
    }

    .order_item_Agreement li span:first-child {
        display: block;
    }
    /*QA*/
    .qa_list > li div:last-child {
        padding-left: 0em;
    }



}
/* iPhone 4-5, android 360 */
@media screen and (max-width: 360px) {


    /***colorbox****/
    .order_info_list li {
        display: block;
    }

    .order_item_Agreement li {
        margin: 0;
    }

        .order_item_Agreement li span:first-child {
            display: block;
        }
}

#colorbox, #cboxContent, #cboxLoadedContent {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
