/*--------------- cover ---------------*/
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

header {
    border-top: none;
}

.top-bar {
    background: #ECECEC;
    border-bottom: 1px solid #D7D7D7;
    color: #222222;
    font-family: '微軟正黑體',Arial;
}
.top-bar a {
    color: #327AB7;
}
.top-func {
    color: #327AB7;
}

.top-func .alert-button {
    position: relative;
    display: inline-block;
    font-size: 15px;
    margin-left: 10px;
}
.top-func .alert-button i {
    color: #B5B5B5;
}
.top-func .alert-button:hover i {
    color: #FFB100;
}
.top-func .alert-button .alert-tooltip {
    display: none;
    position: absolute;
    top: 30px;
    left: 50%;
    margin-left: -60px;
    width: 120px;
    border: 1px solid #FFB100;
    border-top: 3px solid #FFB100;
    background: #fff;
    padding: 10px 15px;
    font-size: 12px;
    color: #929292;
    z-index: 10;
}
.top-func .alert-button:hover .alert-tooltip {
    display: block;
}

.top-func-button { 
    margin-top: 15px; 
    /*display: -webkit-flex;
    display: flex;
    flex-direction:row;*/
    display: table;
    width: 100%;
}

.top-func-button div.item-area.flex { 
    /*-webkit-flex: 1;
    -ms-flex: 1;
    flex: 1; */
    display: table-cell;
    width: 1000px;
}

.top-func-button div.item-area { 
    vertical-align: top; 
    display: table-cell;
}

.top-func-button div.item-area img { left: 0px; margin-right: 30px; }

.top-func-button div.item-area div.search-box {
    width: 100%;
    top: 0px;
    margin-left: 0px;
    border-color: #3DAEE3;
    border-width: 1px;
}
.top-func-button div.item-area div.search-box input {
    background: #fff;
    border: 1px solid #fff;
}

.top-func-button div.item-area div.search-box .input-group { margin-left: 1px; } 

.top-func-button div.item-area div.search-box .input-group button.dropdown-toggle { border-left: 1px solid #3DAEE3; background: none; border-radius: 0px; }
.top-func-button div.item-area div.search-box .input-group button.dropdown-toggle:after { 
    display: none;
    /*display: inline-block;*/
    width: 0;
    height: 0;
    margin-left: .3em;
    vertical-align: middle;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent; 
}

.top-func-button div.item-area div.search-box .input-group .dropdown-menu a { display: block; text-decoration: none; padding: 3px 15px; color: #373a3c; }
.top-func-button div.item-area div.search-box .input-group .dropdown-menu a:hover { background: #f5f5f5; }



.top-func-button div.item-area div.search-box .btn-topfunc-search-btn {
    background: #3DAEE3;
    color: #fff;
    border-color: #3DAEE3;
}


.top-func-button div.item-area .keyword-area {
    position: relative;
    padding-right: 74px;
    margin: 5px 0px;
}
.top-func-button div.item-area .keyword-area a {
    color: #888888;
    display: inline-block;
}
.top-func-button div.item-area .keyword-area a.hot {
    color: #FF6B00;
}
.top-func-button div.item-area .keyword-area .instock-area {
    position: absolute; 
    top: 0px;
    right: 0px;
    margin: 0px;
}

.top-func-button div.item-area .header-button {
    position: relative;
    display: inline-block;
    background: #5E6266;
    border-radius: 5px;
    padding: 8px 15px 8px 45px;
    margin-left: 30px;
    color: #fff;
    white-space: nowrap;
}
.top-func-button div.item-area .header-button:hover {
    text-decoration: none;
}
.top-func-button div.item-area .header-button img {
    position: absolute;;
    top: -4px;
    left: -15px;
}
.top-func-button div.item-area .header-button .cart-amount {
    color: #FFD200;
}

.header-menu {
    height: auto;
}

.a-cart-nav>ul>li {
    font-size: 15px;
    border-left: 0px solid #fff;
    margin-top: 0px;
    padding: 5px 40px;
}

.a-cart-nav li .dropdown-menu {
    border-top: 2px solid #3DAEE3;
}

.mini-cart-bar {
    right: 0px;
}

.main-content-area {
    margin-top: 0px;
}






/*--------------- ec list modal ---------------*/
#product-info {
    text-align: center;
}
#product-info .modal-dialog {
    width: 95%;
    margin: 10px auto;
    text-align: left;
}
@media only screen and (min-width: 768px) {
    
    #product-info:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
    #product-info .modal-dialog {
        width: 740px;
        display: inline-block;
        text-align: left;
        vertical-align: middle;
    }
}

#product-info .modal-header {
    background: #5B9DC9;
    color: #fff;
}

#product-info .modal-header .close {
    color: #fff;
}

#product-info .modal-body .form-group {
    margin-bottom: 5px;
}

#product-info .modal-body .line {
    border-top: 1px dashed #ddd;
    padding-top: 30px;
    margin-top: 30px;
}

#product-info .modal-body .product-title {
    font-weight: bold;
    color: #106EAD;
}

#product-info .modal-footer .pre-product {
    float: left;
}
#product-info .modal-footer .next-product {
    float: right;
}
#product-info .modal-footer .pre-product i,#product-info .modal-footer .next-product i {
    font-size: 20px;
}

#product-info .modal-footer a.pre-product,#product-info .modal-footer a.next-product {
    color: #106EAD;
}
#product-info .modal-footer span.pre-product,#product-info .modal-footer span.next-product {
    color: #747474;
}

#product-info .modal-body.full-xs {
    font-size: 14px;
    padding: 0px;
    text-align: left;
}

#product-info .modal-body.full-xs .control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: right;
}


#product-info #product-info-iframe {
    display: none;
}

#product-info .loader {
    font-size: 10px;
    margin: 50px auto;
    text-indent: -9999em;
    width: 11em;
    height: 11em;
    border-radius: 50%;
    background: #5B9DC9;
    background: -moz-linear-gradient(left, #5B9DC9 10%, rgba(255, 255, 255, 0) 42%);
    background: -webkit-linear-gradient(left, #5B9DC9 10%, rgba(255, 255, 255, 0) 42%);
    background: -o-linear-gradient(left, #5B9DC9 10%, rgba(255, 255, 255, 0) 42%);
    background: -ms-linear-gradient(left, #5B9DC9 10%, rgba(255, 255, 255, 0) 42%);
    background: linear-gradient(to right, #5B9DC9 10%, rgba(255, 255, 255, 0) 42%);
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

#product-info .loader:before {
  width: 50%;
  height: 50%;
  background: #5B9DC9;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
#product-info .loader:after {
  background: #fff;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.ec-list-search-area {
  background:#f4f4f4;
  background:rgba(244,244,244,.79);
  border: 1px solid #d3d3d3;
  left: 50%;
  padding: 2px 5px;
  width:660px;
  box-shadow:0 4px 9px rgba(0,0,0,.37);
  border-radius: 2px;

}

.ec-list-search-area input {
  background:#fefefe;
  border: none;
  margin-right: 5px;
  padding: 10px;
  width: 556px;
  box-shadow: 0 0 4px rgba(0,0,0,.4) inset, 1px 1px 1px rgba(255,255,255,.75);
  border-radius: 2px;

}

.ec-list-search-area button {
  background: rgb(52,173,236);
  border: none;
  color:#fff;
  cursor: pointer;
  font-size: 12px;
  padding: 10px;
  width:80px;
  box-shadow: 0 0 2px #2692dd inset;
  -moz-box-shadow: 0 0 2px #2692dd inset;
  -webkit-box-shadow: 0 0 2px #2692dd inset;
  border-radius: 2px;
 
}



/*--------------- ec index  ---------------*/
.ec-banner-area {
    margin: 5px 0px;
}




/*--------------- ec detail table title ---------------*/




.ec-info-box .btn-primary {
    background: #FF6633;
    border-radius: 0px;
    border: none;
}
.ec-info-box .btn-primary:hover {
    background: #FF6633;
    border-radius: 0px;
    border: none;
}

.ec-info-box .btn-important {
    background: #017AB7;
    color: #fff;
    border-radius: 0px;
    border: none;
}
.ec-info-box .btn-important:hover {
    background: #017AB7;
    color: #fff;
    border-radius: 0px;
    border: none;
}

.ec-info-box .btn-warning {
    background: #a0a0a0;
    border-radius: 0px;
    border: none;
}
.ec-info-box .btn-warning:hover {
    background: #a0a0a0;
    border-radius: 0px;
    border: none;
}

.ec-info-box .ec-info-list-box.list-icon {
    position: relative;
    padding-left: 30px;
}
.ec-info-box .ec-info-list-box.list-icon a { color: #757575; }
.ec-info-box .ec-info-list-box.list-icon:after {
    display: block;
    content: '';
    border-width: 4px 5px 4px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #009fe6;
    position: absolute;
    left: 15px;
    top: 50%;
    margin-top: -4px;
}

.ec-info-box .ec-info-list-box .img-area {
    height: 92px;
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 10px;
}
.ec-info-box .ec-info-list-box .img-area .img-box {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.ec-info-box .ec-info-list-box .img-area img {
    max-width: 100%;
    max-height: 80px;
    height: auto;
    width: auto;
}

.ec-info-box .more-area {
    margin-top: 10px;
    text-align: center;
}

/* input group */
.ec-info-box .input-group {
    width: 100%;
}
.ec-info-box .input-group .input-group-addon {
    cursor: pointer;
}
.ec-info-box .input-group input {
    border: 1px solid #ccc;
}

/* form group */
.ec-info-box .form-group {
    margin-bottom: 0px;
}
.ec-info-box .form-group .control-label {
    font-weight: bold;
}

.ec-info-box .form-group .product-title {
    color: #106EAD;
    font-weight: bold;
}
 
/* grid */

@media only screen and (min-width: 992px) {
    .ec-info-box .pc-same-height {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
    }
    .ec-info-box .pc-same-height > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
}

.ec-info-box .pc-border-left {
    border-left: none;
}
@media only screen and (min-width: 992px) {
    .ec-info-box .pc-border-left {
        border-left: 1px solid #D7D7D7;
    }
}


/*--------------- ec index area ---------------*/

/* banner */
.ec-index-banner-area {
    margin: 2px 0px;
    background: #FFB00E;
}
.ec-index-banner-area #index-banner .owl-item {
    text-align: center;
}
.ec-index-banner-area #index-banner .owl-item img {
    max-width: 100%;
    max-height: 317px;
    width: auto;
    height: auto;
}
.ec-index-banner-area .owl-theme .owl-controls  .owl-pagination {
    bottom: 0px;
}
.ec-index-banner-area .owl-theme .owl-controls .owl-page span {
    opacity: 1;
    background: #5E6266;
}
.ec-index-banner-area .owl-theme .owl-controls .owl-page.active span,.ec-index-banner-area .owl-theme .owl-controls .owl-page:hover span {
    background: #337AB7;
}

/* sider */
.ec-index-sider-area {
    margin: 2px 0px;
    background: url(../images/ec-style/banner_bg.png) 50% 50%;
    padding: 25px 0px;
}
.ec-index-sider-area #index-sider {
    /* margin: 0px -15px; */
}
.ec-index-sider-area .sider-box {
    background: #E0F7F9;
    padding: 20px 25px;
    border-radius: 5px;
    box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.1);
    margin: 5px 15px;
}
.ec-index-sider-area .sider-box .photo-box {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 130px;
}
.ec-index-sider-area .sider-box .photo-box .photo-bg {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}
.ec-index-sider-area .sider-box img {
    max-width: 100%;
    max-height: 130px;
    width: auto;
    height: auto;
}
.ec-index-sider-area .sider-box h3 {
    font-size: 15px;
    font-weight: bold;
    color: #575757;
    height: 25px;
    overflow: hidden;
    margin: 10px 0px 2px 0px;
}
.ec-index-sider-area .sider-box .content {
    font-size: 15px;
    color: #575757;
    height: 50px;
    line-height: 1.7;
    overflow: hidden;
}

/* ad  */
.ec-index-ad-area {
    background: #E4E8E9;
    padding: 10px 0px;
}
.ec-index-ad-area .ad-box {
    width: 100%;
    padding: 0px 15px;
    text-align: center;
}
.ec-index-ad-area .ad-box.hidden-box-450 {
    display: none;
}
.ec-index-ad-area .ad-box.hidden-box-768 {
    display: none;
}
@media only screen and (min-width: 450px) {
    .ec-index-ad-area .ad-box {
        float: left;
        width: 50%;
    }
    .ec-index-ad-area .ad-box.hidden-box-450 {
        display: block;
    }
}
@media only screen and (min-width: 768px) {
    .ec-index-ad-area .ad-box {
        width: 25%;
    }
    .ec-index-ad-area .ad-box.hidden-box-768 {
        display: block;
    }
}
.ec-index-ad-area .ad-box img {
    max-width: 100%;
    height: auto;
}

/* prefecture */




/*--------------- ec member area ---------------*/
.main-content-area h1 {
    font-size: 21px;
    color: #333;
    padding: 0px 0px 16px 0px;
    margin: 30px 0px;
    background: url(../images/ec-style/member/title_line.png) 50% 100% no-repeat;
}

.login-box  {
    font-size: 15px;
}

.login-box .input-group {
    width: 100%;
    margin-bottom: 15px;
}

.login-box .xs-margin-bottom {
    margin-bottom: 15px;
}
@media only screen and (min-width: 768px) {
    .login-box .xs-margin-bottom {
        margin-bottom: 0px;
    }
}

.login-box .form-group.no-margin-bottom {
    margin-bottom: 5px;
}

.login-box .clear-both-area:after {
    content: '';
    clear: both;
    display: block;
}

.login-box .input-inline-area {
    float: left;
    width: 145px;
    margin-right: 10px;
}

.login-box .text-inline-area {
    float: left;
    vertical-align: top;
}

.login-box .text-inline-area #Verify {
    height: 36px;
}

.login-box .input-group .input-group-addon {
    padding: 0px;
    width: 36px;
    border: none;
}

.login-box .input-group .form-control {
    border-radius: 0px;
    border: 1px solid #B5B5B5;
    padding: 8px 12px;
    height: 36px;
    background: none;
    color: #787878;
}

.login-box .btn-primary {
    background: #3DAEE3;
    border: none;
}

.login-box .social-button {
    padding: 5px;
    display: inline-block;
}
.login-box .social-button i {
    color: #fff;
    font-size: 18px;
}
.login-box .social-button.qq {
    background: #68A6E1;
}
.login-box .social-button.weixin {
    background: #2DC100;
}
.login-box .social-button+.social-button {
    margin-left: 5px;
}

/*--------------- contact us ---------------*/

.detail-title-area.contact_type {
    margin-bottom: 20px;
}

.contactus_content {
    padding-left: 10px;
    margin-bottom: 30px;
}

@media only screen and (min-width: 768px) {
    .contactus_content {
        padding-left: 30px;
    }
}

.contactus_content a:hover {
    text-decoration: none;
}

.contactus_content nav a+a {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px dashed #B5B5B5;
} 

.contactus_content .price_label {
    background: #FF6633;
    padding: 5px 15px;
    border-radius: 5px;
    color: #fff;
}

.contactus_content .pay_method {
    margin: 0px 15px 15px 0px;
}