﻿/* 產品名稱標題*/
.product_name {
    color: #0070C0;
    font-weight: bold;
}

.fontsize8 {
    font-size: 8px;
}

.fontsize10 {
    font-size: 10px;
}



/* 左邊產品分類頁籤*/
#productMenu {
    list-style: none;
    padding: 0;
    border-right: 1px solid #ddd;
}

#productMenu li {
padding: 10px;
cursor: pointer;
border: 1px solid #ddd;
transition: background 0.3s;
}

#productMenu li.active {
    background: #0F9ED5;
    color: white;
    font-weight: bold;
}

#productMenu li:hover {
    color: black;
    background: darkgray;
    opacity: 0.80;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 右邊頁籤*/
label {
   min-width: 240px;
    text-align:center;

}
.tab_css {
    display: flex;
    flex-wrap: wrap;
/*    justify-content: center;*/
    justify-content: space-between; /* 水平均分 */
}

.tab_css input {
    display: none
}

.tab_css label {
    flex: 1; /* 每個標籤佔據相同的寬度 */
    margin: 0 5px 5px 0;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 5px;
    color: black;
    background: lightgray; /* 未選中時的顏色 */
    opacity: 0.77;
}
.cc {
color:dodgerblue
}
.tab_content {
    order: 1;
    display: none;
    width: 100%;
    border-bottom: 3px solid #ddd;
    line-height: 1.6;
    font-size: .9em;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.tab_css input:checked + label, .tab_css label:hover {
    color: #fff;
    background: #0070C0;
    opacity: 1;
    font-weight: bold;
}
.tab_css label:hover {
    opacity: 0.60;
}

.tab_css input:checked + label + .tab_content {
    display: initial;
}


/* 置中對齊 換行*/
.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* 置中對齊 不換行*/
.centered-images {
    display: flex;
    justify-content: center; /* 水平置中 */
    align-items: center; /* 垂直置中 */
}
.centered-images img {
    /*flex: 1;*/ /* 每個圖片佔據相同的寬度 */
    margin: 0 2px; /* 圖片之間的邊距 */
    max-width: 100%;
    height: auto;
}
/* 產品技術規格表格*/
.product-specs-table {
    text-align: center;
    background-color: #e2eff7;
    border-color: white;
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}
.product-specs-table th{
    text-align: center;
}

.icon-img {
    max-width: 100%;
    max-height: 50px;
    height: auto;
}