/*以下為自訂設定*/

.clr {
    display: table;
    clear: both;
}

a img {
    border: none;
    -o-transition: opacity .20s linear;
    -webkit-transition: opacity .20s linear;
    -moz-transition: opacity .20s linear;
    transition: opacity .20s linear;
}

a img:hover {
    opacity: 0.6;
    filter: alpha(opacity=80);
    -o-transition: opacity .20s linear;
    -webkit-transition: opacity .20s linear;
    -moz-transition: opacity .20s linear;
    transition: opacity .20s linear;
}

img {
    max-width: 100%;
}

a {
    color: #005e8d;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #002b41;
    text-decoration: underline;
}

a:active {
    color: #36A96B;
    font-weight: bold;
}

img,
svg {
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
}

.bg_cover {
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
}

.w20 {
    width: 20%;
}

.w30 {
    width: 30%;
}

.w40 {
    width: 40%;
}

.w50 {
    width: 50%;
}

.w60 {
    width: 60%;
}

.w80 {
    width: 80%;
}

.w100 {
    width: 100%;
}

.inline-block {
    display: inline-block;
}

.float_right {
    float: right;
    margin: 0 0 1em 1em;
}

.float_left {
    float: left;
    margin: 0 1em 1em 0;
}

@media (max-width: 499px) {
    .float_right {
        float: none;
        margin: auto;
        display: block;
        text-align: center;
    }

    .float_left {
        float: none;
        margin: auto;
        display: block;
        text-align: center;
    }
}


/**************************/



/*vm產品內容*/
.vm-preloader.hidden {
    display: none;
}

.category-view .category {
    border-bottom: 1px solid #e9e8e8;
    padding-bottom: 10px;
}

.category-view .category .thumbnail>a {}

.category-view .caption {
    border-top: none;
    margin-top: 0px;
}

.category-view .category .thumbnail h2.vm-cat-title {
    font-size: 14px;
    margin: 0 auto 2px;
    padding: 0;
    line-height: 24px;
    word-wrap: break-word;
}

.category-view .category .thumbnail img.browseCategoryImage {
    height: auto;
}

@media (max-width: 575px) {
    .category-view .category {
        width: 50%;
    }
}

img.browseProductImage {
    height: auto;
    border: 1px solid #e4e4e4;
    width: 100%;
}

.product .thumbnail {
    padding: 0px;
}

.browse-view .product {
    padding: 8px;
}

.browse-view .product .thumbnail h2.vm-product-title {
    font-size: 14px;
    line-height: 20px;
    margin: 15px 0px 10px;
    text-align: left !important;
    font-weight: bold;
}

/*產品分頁籤*/


.vm-pagination .text-right>ul {
    list-style: none;
    text-align: center;
    padding-left: 0px;
}

.vm-pagination .text-right>ul>li {
    display: inline-block;
    margin: 0px 3px;
}

.vm-pagination .vm-page-counter {
    text-align: center;
    margin-bottom: 1em;
}

/*產品詳細頁*/
h1.page-header.product-name {
    font-size: 20px;
    margin: 12px 0;
    border-bottom: none;
}

.vm-product-container .product-short-description {
    border-bottom: 1px solid #ccc;
    margin-bottom: 25px;
    padding-bottom: 1em;
}

.vm-product-media-container img {
    border: 1px solid #CCC;
    height: auto;
}

.vm-product-media-container .main-image-row {
    margin-bottom: 2em;
}

.additional-images {
    margin: 10px -5px;
    align-items: flex-start;
}

.additional-images img.thumbnail {
    width: 100%;
    height: auto;
}

.additional-images.row .col-4 {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 5px;
}

.product-description h2 {
    font-family: Oswald;
    color: #4B78A7;
    font-weight: 500;
}

.product-description h2.page-header {
    display: none;
}

@media (min-width: 768px) {
    .vm-product-media-container .main-image.text-center {
        text-align: left !important;
    }
}

table {
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
}

table td,
.cat-list-row0 td,
.cat-list-row1 td {
    border-bottom: 1px solid #EEEEEE;
    border-right: 1px solid #EEEEEE;
    border-left: 1px solid #EEEEEE;
    padding: 4px 4px 4px 10px;
}

.to-inquiry {
    text-align: right;
}

.to-inquiry a.pwebbox_toggler {
    display: inline-block;
    padding: 2px 15px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.vm-product-container .btn-group-justified {
    display: none;
}




/*pc 和 mobile行動瀏覽的硬設定*/

.only_pc {}

.only_mobile {}

@media (min-width: 768px) {
    .pc_div_inline-block>div {
        display: inline-block;
    }

    .pc_flex {
        display: flex;
    }

    .only_pc {}

    .only_mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    .mw20 {
        width: 20%;
    }

    .mw30 {
        width: 30%;
    }

    .mw40 {
        width: 40%;
    }

    .mw50 {
        width: 50%;
    }

    .mw60 {
        width: 60%;
    }

    .mw80 {
        width: 80%;
    }

    .mw100 {
        width: 100%;
    }

    .mobile_div_inline-block>div {
        display: inline-block;
    }

    .home_focus .mobile_title {
        height: 100px;
        justify-content: flex-start;
        padding: 20px;
    }

    .pc_flex {
        display: block;
    }

    .only_pc {
        display: none;
    }

    .only_mobile {}
}