/* 組件樣式 - Components Styles */

/* Message Boxes */
.error_box, .notice_box, .success_box{
    padding:9px;
    margin-bottom:30px;
    border:1px solid #ddd;
    line-height:1.2em;
}

.error_box{
    background:#f2dede;
    color:#b94a48;
    border-color:#eed3d7
}

.notice_box{
    background: #efefef; 
    color: #555; 
    border-color: #ddd;
}

.success_box{
    background:#dff0d8;
    color:#468847;
    border-color:#d6e9c6
}

.info_box{
    background:#d9edf7;
    color:#3a87ad;
    border-color:#bce8f1
}

.error_box a{
    color:#b94a48
}

.notice_box a{
    color:#c09853
}

.success_box a{
    color:#468847
}

.info_box a{
    color:#3a87ad
}

/* Shop Notice */
.shop_notice {
    text-align: center;
    background: #fff;
    font-weight: bold;
    margin: 15px 0 0;
    box-shadow: 1px 1px 3px #ccc;
    padding: 9px 15px;
    font-size: 14px;
    line-height: 1.5em;
}

/* Loading and Loader */
#loading_img {
    width: 100%;
    font-size: 1.2em;
    color: #2399D6;
}

#loading_box{
    display:none;
    position:fixed;
    right:50%;
    top:0;
    z-index:1000;
    padding:6px 11px 6px 31px;
    background:#fff1a8 url('../img/lb_loading.gif') no-repeat scroll 10px center;
    color:#3f0000;
    font-size:12px;
    font-weight:bold;
    border-radius:0 0 4px 4px;
    -moz-border-radius:0 0 4px 4px;
    -webkit-border-radius:0 0 4px 4px
}

#loader{
    background:#dae6ec;
    border:1px solid #069;
    position:fixed;
    color:#069;
    z-index:1000;
    left:0;
    bottom:0;
    padding:5px 15px;
    opacity:0.8
}

.loader{
    display:inline-block;
    height:16px;
    width:16px;
    background:url('../img/loader.gif') no-repeat center center;
    visibility:hidden
}

/* Empty State */
.empty{
    display:block;
    padding:50px 0;
    color:#999;
    font-size:1.5em;
    font-weight:bold;
    text-align:center
}

/* Message Wrapper */
.message_wrapper{
    margin:40px auto 50px;
    padding:10px;
    font-size:14px
}

.message_info{
    padding-left:100px;
    background:url('../img/info.png') no-repeat 30px 15px
}

.message_wrapper dt{
    margin-bottom:15px;
    padding:5px 0 10px;
    color:#f60;
    line-height:24px;
    font-size:20px;
    font-weight:bold;
    border-bottom:1px dashed #d5d6d7
}

.message_wrapper dt em{
    padding-left:5px;
    color:#f60
}

.message_wrapper dd{
    padding:5px 0
}

.message_wrapper dd p{
    line-height:1.5em
}

.message_wrapper dd em{
    color:#016ff8;
    font-weight:bold
}

.message_wrapper.message_info a {
    background: rgb(8, 106, 203);
    color: #fff;
    text-shadow: none;
    line-height: 2.2em;
    padding: 0 20px;
    height: 32px;
}

.message_wrapper.message_info span {
    background: none;
    padding: 0;
}

.message_wrapper.message_info a:hover {
    opacity: 0.9;
}

/* Message Box for ColorBox */
.message_box{
    width:320px;
    min-height:50px;
    padding:20px 20px 10px 20px;
    font-size:14px;
    line-height:1.3em;
    overflow:hidden
}

#cboxLoadedContent  .message_box {
    min-width:320px;
}

.message_box .action{
    padding-top:25px;
    text-align:center
}

/* Compare Box */
.compare_box{
    position:relative;
    width:200px;
    background:#fff;
    border:3px solid #eee
}

.compare_box .title{
    padding:8px;
    text-align:center;
    text-shadow:0 1px 0 #fff;
    background:#eee url('../img/slight_bg.gif') repeat-x 0 0;
    border:1px solid #ccc;
    border-bottom-width:0
}

.compare_box .arrows{
    display:none
}

.compare_box .arrows .left, .compare_box .arrows .right{
    display:block;
    float:left;
    position:absolute;
    top:6px;
    left:8px;
    height:19px;
    width:19px;
    margin-right:3px;
    text-indent:-999em;
    background:url('../img/scroll_btn.gif') no-repeat left top
}

.compare_box .arrows .right{
    left:174px;
    background-position:right top
}

.compare_box .arrows .left:hover{
    background-position:left bottom
}

.compare_box .arrows .right:hover{
    background-position:right bottom
}

.compare_inner{
    padding:5px;
    border:1px solid #ccc
}

.compare_list{
    padding:5px
}

.compare_list .item{
    position:relative;
    padding:5px;
    line-height:1.2em;
    background:url('../img/horizontal_spacer.gif') repeat-x left bottom
}

.compare_list .item .photo{
    float:left;
    margin:0 5px 2px 0
}

.compare_list .item .photo img{
    height:40px;
    width:40px
}

.compare_list .item .remove{
    position:absolute;
    top:5px;
    right:10px;
    visibility:hidden;
    padding:2px 8px;
    color:#fff;
    background:#ff8c22 url('../img/slight_bg.gif') repeat-x left -90px;
    text-shadow:0 1px 0 #c4620d;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px
}

.compare_list .item:hover .remove, .compare_list .hover .remove{
    visibility:visible
}

.compare_box .actions{
    padding:5px;
    text-align:center
}

/* Tipsy Tooltip */
.tipsy{
    padding:8px 5px;
    font-size:12px;
    position:absolute;
    z-index:10001
}

.tipsy sup{
    font-size:14px\9
}

.tipsy-inner{
    padding:5px 8px;
    max-width:300px;
    color:#fff;
    text-align:center;
    text-shadow:0 1px 0 #000;
    background-color:#1a1a1a;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px
}

.tipsy-arrow{
    position:absolute;
    background:url('../img/tipsy.gif') no-repeat top left;
    width:9px;
    height:5px
}

.tipsy-n .tipsy-arrow{
    top:3px;
    left:50%;
    margin-left:-4px
}

.tipsy-nw .tipsy-arrow{
    top:3px;
    left:10px
}

.tipsy-ne .tipsy-arrow{
    top:3px;
    right:10px
}

.tipsy-s .tipsy-arrow{
    bottom:3px;
    left:50%;
    margin-left:-4px;
    background-position:bottom left
}

.tipsy-sw .tipsy-arrow{
    bottom:3px;
    left:10px;
    background-position:bottom left
}

.tipsy-se .tipsy-arrow{
    bottom:3px;
    right:10px;
    background-position:bottom left
}

.tipsy-e .tipsy-arrow{
    top:50%;
    margin-top:-4px;
    right:0;
    width:5px;
    height:9px;
    background-position:top right
}

.tipsy-w .tipsy-arrow{
    top:50%;
    margin-top:-4px;
    left:0;
    width:5px;
    height:9px
}

/* Info Boxes */
.info-boxes .info-box {
    border: 5px solid #f2f2f0;
    padding: 12px 13px;
    background:#333
}

.info-boxes i.icon {
    color: #ccc;
}

.info-boxes-inner {
    margin-bottom: 30px;
}

.info-boxes .info-box .icon {
    font-size: 35px;
}

.info-box:hover {    
    border-color: #ccc;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.info-boxes .info-box .text {
    color: #ccc;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 13px;
    margin: 0px;
}

.info-box .info-box-heading.green {
    color: #abd07e;
}

.info-boxes .info-box .info-box-heading.orange {
    color: #ffb847;
}

.info-boxes .info-box .info-box-heading.red {
    color: #ff7878;
}

.info-boxes .info-box .info-box-heading {
    font-size: 24px;
    line-height: 30px;
    text-transform: uppercase;
    font-family: 'sans-serif';
    margin-top: 5px;
}

/* Icons */
.icon_info,.icon_pack,.icon_view,.icon_cf{
    display:inline-block;
    height:16px;
    width:16px;
    text-indent:-999em;
    background-color:transparent;
    background-position:0 0
}

.icon_delete,.icon_heart {
    font-size:16px;
}

.icon_pack{
    background-image:url('../img/icon/package.gif')
}

.icon_view{
    background-image:url('../img/icon/eye.gif')
}

.icon_cf{
    background-image:url('../img/icon/smile.gif')
}

/* Icon Colors */
i.fa.fa-clock-o {
    color: #CD0000;
}

.glyphicon.glyphicon-edit {
    margin-left: 10px;
}

/* Cloud Zoom */
.cloud_zoom_title{
    position:absolute !important;
    top:0px;
    width:100%;
    padding:3px;
    color:#fff;
    font-size:12px;
    line-height:16px;
    text-align:center;
    background-color:#000
}

.cloud_zoom_big{
    overflow:hidden
}

.cloud_zoom_loading{
    padding:3px;
    color:white;
    background:#222;
    border-radius:5px
}

/* PC Ads */
.pc-ad img{
    width:100% !important;
    height:auto !important;
    margin: 0 0 15px;
}

.ad.visible-xs img{
    width:100% !important;
    height:auto !important
}

/* Right Ad */
.right-ad {
    padding: 0 0 0 !important;
    margin-bottom: 25px;
}

/* Full Ad */
.full_Ad .col-md-6 {
    padding: 0;
}

.full_Ad img {
    width: 100%;
    height: auto;
}

/* Full Div Styles */
.full-div.s1 {
    padding: 25px 0 0;
    background: #333;
}

/* Filter Menu */
.filter-menu-xs .dropdown-toggle{
    padding-top: 14px;
    padding-bottom: 14px;
}

.filter-menu-xs .btn-group {
    margin: 0 0 5px;
}

/* Pagination */
.pagination{
    padding:15px 0 10px;
    font-size:14px;
    font-weight:bold;
    text-align:right;
    clear:both
}

.pagination a{
    color:#999;
    margin-left:3px;
    padding:4px 10px;
    background-color:#eee;
    border:1px solid #bbb;
    border-radius:3px;    
    line-height: 35px;
}

.pagination a:hover{
    color:#666;
    text-decoration:none;
    background-color:#ddd;
    border-color:#999
}

.pagination a.current{
    color: #fff;
    background-color: #555;   
    border-color: #000;
}

.pagination span{
    padding:5px 10px
}

.pagination .total{
    color:#ccc;
}

/* Selector */
p.selector { 
    margin-bottom: 30px;
    text-align: center
}

/* Breadcrumbs */
.breadcrumbs{
    padding-bottom:10px;
    padding-left:10px;
    line-height:14px;
}

.breadcrumbs a{
    color:#777;
    font-weight:normal
}

.breadcrumbs code{    
    background: transparent;
    padding:0 3px;
    color: #E41E55
}

/* Page Specific Breadcrumbs */
#page_message .breadcrumbs ,#page_search .breadcrumbs,#page_auction .breadcrumbs ,#page_wholesale .breadcrumbs,#page_snatch .breadcrumbs,#page_tag_cloud .breadcrumbs ,#page_quotation .breadcrumbs, #page_group_buy .breadcrumbs, #page_exchange .breadcrumbs,#page_article .breadcrumbs , #page_article_cat .breadcrumbs{
    margin: 20px 5px;
}

/* Title Styles */
h2.title {
    font-size: 16px;
}

h3.sp-title {
    text-align: center;
    font-weight: bold;
    font-size: 24px; 
    color: #555;      
    margin-top: 30px !important;
    margin-bottom:15px;
    text-shadow: 0 1px 3px #ccc;
    -webkit-text-shadow: 0 1px 3px #ccc;
}

span.h_title {
    padding: 6px 10px;
    display: inline-block;
    position: relative;
    margin-top: -2px;
}

.h_title.s1:before {
    margin-right: 0.5em;
    right: 100%;
}

.h_title.s1:after {
    margin-left: 0.5em;
    left: 100%;
}

.h_title.s1:after, .h_title.s1:before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    width: 50%;
    border-top-color: #ddd;
    border-top-style: double;
    border-top-width: 4px;
    margin-top: -2px;
}

/* PC Bonus */
.pc-bonus {
    display:block
}

.mo-bonus {
    display:none
}

/* Right Menu - Fixed Position */
#right_menu {
    position: fixed;
    right: 5px;
    bottom: 130px;
    width: 40px;
    height: auto;
    z-index: 999
}

.r_menu_wrap li {
    display: block;
    width: 40px;
    height: 40px;
    margin: 5px 0;
}

.addline {
    height: 36px;
}

/* Navigation Up Button */
.nav_up {
    padding: 7px;
    color: white;
    background-color: #333;
    position: fixed;
    z-index: 999;
    background-position: 2px 12px;
    width: 37px;
    height: 45px;
    bottom: 80px;
    opacity: 0.7;
    right: 10px;
    white-space: nowrap;
    cursor: pointer;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -khtml-border-top-left-radius: 3px;
    -khtml-border-top-right-radius: 3px;
    border-radius: 4px;
    box-shadow: 1px 1px 3px black;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}