/*cus bootstrap overwrite--------------------------*/

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {
    color: #555 ;
}


/*cus wholly overwrite ----------------------------*/

body {font-family: "Helvetica Neue", 'Microsoft Yahei', Helvetica, Arial, sans-serif, 'Microsoft JHenghei';}
h1, h2, h3, h4, h5, h6 { font-family: "Helvetica Neue", 'Microsoft Yahei', Helvetica, Arial, sans-serif, 'Microsoft JHenghei'; }

.disabled { opacity: 0.3; }

body.stretched #header.full-header .container {padding:0 15px;}

#top-bar .header-nav {
    min-height: 38px;
    background: #f8f8f8;
    color: #999;
    font-size: 14px;
}

#top-bar .header-nav .container .row {
    display: flex;
    justify-content: space-between;
}

#top-bar .header-nav .annoucement {
    flex-grow: 1;
    margin-right: 6px;
    overflow: hidden;
    white-space: nowrap;
    float:left;
}

#top-bar .header-nav .quick-action {
    flex-shrink: 0;
    float:right;
}

#header.header #primary-menu > ul {
    float: none; 
    padding-right: 0;
    margin-right: 0;
    border-right: none;
}

#primary-menu.style-3 > ul > li > a { padding-left: 10px; padding-right: 10px;}


#logo { border-right: none !important;}

#primary-menu-trigger { font-size: 30px !important;}

#primary-menu ul li > a {font-size: 18px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif, 'Microsoft JHenghei', 'Microsoft Yahei';}


.slider-parallax-inner { position: relative !important;}

#copyrights { padding: 10px 0; }

.promo { padding-right: 30px; }

ul.tab-nav:not(.tab-nav-lg) li:first-child { margin-left: 0; }
.ui-tabs-anchor.text-success { color: #3c763d !important;}
.ui-tabs-anchor.text-warning { color: #8a6d3b !important; }
.ui-tabs-anchor.text-danger { color: #a94442 !important; }

@media (min-width: 992px) {
    .wide-hide { display: none; }
}

@media (max-width: 991px) and (min-width: 768px) {
    .container, #header.full-header .container, .container-fullwidth { width: 100% !important; padding-left: 0; padding-right: 0;}
    .container .row > div {padding-left: 5px !important; padding-right:5px !important;}
    .row { margin-left: 0px; margin-right: 0px; }

    .middle-hide { display: none; }
}


@media (max-width: 767px) and (min-width: 480px) {
    .container, #header.full-header .container, .container-fullwidth { width: 100% !important; padding-left: 0; padding-right: 0;}
    .container .row > div {padding-left: 5px !important; padding-right:5px !important;}
    .row { margin-left: 0px; margin-right: 0px; }

    .small-hide { display: none; }
}

@media (max-width: 479px) {
    .container, #header.full-header .container, .container-fullwidth {  width: 100% !important; padding-left: 0; padding-right: 0;}
    .container .row > div {padding-left: 5px !important; padding-right: 5px !important;}
    .row { margin-left: 0px; margin-right: 0px; }

    .small-hide { display: none; }
}



/*cus new class shortcut ---------------------------------------*/

.cus-padding-10 {padding: 10px;}
.cus-padding-20 {padding: 20px;}
.cus-paddingTB-5 { padding-top: 5px; padding-bottom: 5px; }
.cus-paddingTB-10 { padding-top: 10px; padding-bottom: 10px; }
.cus-paddingTB-20 { padding-top: 20px; padding-bottom: 20px; }
.cus-paddingTB-40 { padding-top: 40px; padding-bottom: 40px; }
.cus-paddingTB-60 { padding-top: 60px; padding-bottom: 60px; }
.cus-paddingLR-5 { padding-left: 5px; padding-right: 5px; }
.cus-paddingLR-40 { padding-left: 40px; padding-right: 40px; }

.cus-marginTB-10 { margin-top: 10px; margin-bottom: 10px; }
.cus-marginTB-15 { margin-top: 15px; margin-bottom: 15px; }
.cus-marginTB-20 { margin-top: 20px; margin-bottom: 20px; }
.cus-marginTB-30 { margin-top: 30px; margin-bottom: 30px; }
.cus-marginTB-60 { margin-top: 60px; margin-bottom: 60px; }

.cus-marginB-10 { margin-bottom: 10px; }
.cus-marginB-20 { margin-bottom: 20px; }
.cus-marginR-10 { margin-right: 10px; }
.cus-marginR-20 { margin-right: 20px; }

.cus-width-75 { width:75% }
.cus-width-20 { width:20% }


.overflow-auto { overflow: auto; }

.background-white { background: white !important; }

.card-shadow { box-shadow: 1px 1px 5px #DDD; }
.noshadow { -webkit-box-shadow: none; -moz-box-shadow: none; -o-box-shadow: none; box-shadow: none; }

.cus-borderColor-red { border-color: red; }

.border-ccc { border: 1px solid #ccc; }


/*cus element --------------------------------------------------*/
.i-overlay {background:url('/img/frontend/texture/dotted.png');}
.i-overlay:hover {background:none;}

.funkyradio {
    display: inline-block;
}

.funkyradio .quantity { border-radius: 5px 5px; overflow: hidden; border: 1px solid #DDD;  }
.funkyradio .minus { border-radius: 5px 0 0 5px; background-color: white; }
.funkyradio .qty { background-color: white; }
.funkyradio .plus { border-radius: 0 5px 5px 0; background-color: white; }

.funkyradio div {
    display: inline-block;
    margin: 5px;
}
.funkyradio label {
    /*min-width: 400px;*/
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: normal;
    margin-bottom: 0;
}
.funkyradio input[type="radio"]:empty, .funkyradio input[type="checkbox"]:empty {
    display: none;
}
.funkyradio input[type="radio"]:empty ~ label, .funkyradio input[type="checkbox"]:empty ~ label {
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 5px 10px;
}
.funkyradio input[type="radio"]:hover:not(:checked) ~ label, .funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #f26522;
    border: 1px solid #f26522;
}
.funkyradio input[type="radio"]:checked ~ label, .funkyradio input[type="checkbox"]:checked ~ label {
    color: #f26522;
    border: 1px solid #f26522;
}

input[type='number']::-webkit-inner-spin-button, input[type='number']::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }