/* =====================================================================================================
                                for Support >> Download Page
===================================================================================================== */

/* 刪除奇怪的斷行 */
.product_search_container .col-lg-12 br,
.product_search_container #find_other_product div.col-lg-12 br {
    display: none;
}





/* ================================== 共用 =================================== */


/* 品名 + 型號資訊 / 文件區標題 (通用設定) */
#product_entity_info .add-to-cart.button.noleftmargin, 
#product_entity_info h3.panel-title a,
#product_entity_info h3, 
.product_search_container h2, 
#product_entity_info h2 {
    letter-spacing: -0.01em;
}

/* 品名 + 型號資訊 / 文件區標題 (通用設定) */
#product_entity_info h3.panel-title a,
#product_entity_info h3, 
.product_search_container h2, 
#product_entity_info h2 {
    margin-bottom: 10px;
    margin-bottom: 15px;
}

/* 文件區標題 (通用設定) >> Software Download */
#product_entity_info h3.panel-title a, 
#product_entity_info h3.panel-title {
    padding-bottom: 0 !important;
}


/* 有標題 + 圖示 >> 垂直置中 */
#product_entity_info h3.panel-title a,
.product_search_container a:not(#product_entity_info .well a) {
    display: flex;
    align-items: center;
    align-content: center;
}


/* 搜尋區 (開闔 Menu) + 下載區 >> a (Action Text) > i (下箭頭) */
#product_entity_info .well a i,
#product_entity_info .button i,
#product_entity_info h3.panel-title a i,
.product_search_container a i {
    display: inline-block;
    position: relative;
    height: auto;
}


/* 搜尋區 (開闔 Menu) + 下載區 >> a (Action Text) > i (下箭頭) */
#product_entity_info h3.panel-title a i,
.product_search_container a i {
    font-size: 1.25em;
    padding-left: 7px;
}

/* 下載區 >> Button > i (Download Icon) */
#product_entity_info .well a i, 
#product_entity_info .button i {
    font-size: 1em;
    padding-left: 4px;
    top: 2px;
}

/* 搜尋區 (開闔 Menu) + 下載區 >> a (Action Text) > i (下箭頭) */
#product_entity_info h3 [class^="icon-"]::before, 
#product_entity_info h3 [class*=" icon-"]::before, 
#product_entity_info h3.panel-title a i.icon-angle-down::before,
.product_search_container a i.icon-angle-down::before {
    display: inline-block;
    position: relative;

    font-family: 'font-icons','Lato';
    content: "\e7a7";

    font-family: 'Material Symbols Outlined' !important;
    content: "keyboard_arrow_down";
    content: "\e313";
}



/* 搜尋區 (開闔 Menu) + 下載區 >> a (Action Text) > i (下箭頭) */
.product_search_container a i {
    padding-left: 4px;
    font-size: 1.5em; /* 套 Google Icon */
    font-weight: 300; /* 套 Google Icon */
}

/* 搜尋區 (開闔 Menu) + 下載區 >> a (Action Text) > i (下箭頭) */
.product_search_container a i.icon-angle-down::before {  
    top: 2px;
    left: -5px;
}

/* 搜尋區 (開闔 Menu) + 下載區 >> a (Action Text) > i (下箭頭) */
#product_entity_info h3.panel-title a i, 
#product_entity_info h3 [class^="icon-"], 
#product_entity_info h3 [class*=" icon-"] {  
    font-weight: 200; /* 套 Google Icon */
}

/* 搜尋區 (開闔 Menu) + 下載區 >> a (Action Text) > i (下箭頭) */
#product_entity_info h3.panel-title a i::before, 
#product_entity_info h3 [class^="icon-"]::before, 
#product_entity_info h3 [class*=" icon-"]::before {  
    top: 3px;
    left: -5px;
}



/* 搜尋區 (CN) (開闔 Menu) + 下載區 >> a (Action Text) > i (下箭頭) */
body.locale_cn-zh #product_entity_info h3 [class^="icon-"]::before, 
body.locale_cn-zh #product_entity_info h3 [class*=" icon-"]::before, 
body.locale_cn-zh #product_entity_info h3.panel-title a i.icon-angle-down::before,
body.locale_cn-zh .product_search_container a i.icon-angle-down::before {
    font-family: 'font-icons','Lato' !important; /* CN 不吃 Google */
    content: "\e7a7";
    
    font-size: 0.7em;
    font-weight: 400;
}


/* 搜尋區 (CN) (開闔 Menu) + 下載區 >> a (Action Text) > i (下箭頭) */
body.locale_cn-zh #product_entity_info h3.panel-title a i::before, 
body.locale_cn-zh #product_entity_info h3 [class^="icon-"]::before, 
body.locale_cn-zh #product_entity_info h3 [class*=" icon-"]::before {  
    top: -4px;
    left: 3px;
}



/* ================================== 搜尋選單區 =================================== */

/* 搜尋區 (開闔 Menu) >> a (Action Text) >> 分隔線不能放在此 >> 因為要考量尚未搜尋時狀態 >> 會多一條線 */
.product_search_container {
    /* 要與 #find_other_product .product_search >> padding-top 一樣高 
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px; 
    margin-bottom: 30px;
    */
}

/* 搜尋區 (開闔 Menu) >> a (Action Text) >> After 假陰影 */
.product_search_container::after {
    /*
    content: '';
    width: 100%;
    height: 50px;
    display: block;
    position: absolute;
    z-index: 0;
    background-color: #fff;
    top: 0;
    left: 0;
    opacity: 1;
    box-shadow: 0px -2px 1px lightblue;
    filter: drop-shadow(1px 2px 20px rgba(0, 0, 0, 0.5));
    */
}


/* 搜尋區 (開闔 Menu) >> a (Action Text) */
.product_search_container a {
    font-size: 1.1em;
    font-weight: 500;
    font-weight: 400;
    vertical-align: middle;
}


/* 搜尋區 (開闔 Menu) >> a (Action Text) */
#product_entity_info h3.panel-title a, 
#product_entity_info h3.panel-title {
    vertical-align: middle;
    font-weight: 300 !important;
}


/* 搜尋區 (開闔 Menu) >> 下拉選單高度 */
.product_search_container #category_search, 
.product_search_container #subcategory_search, 
.product_search_container #model_search {
    min-height: 70px !important;
    min-height: 170px !important; /* 還沒選擇時,怕下拉選單被 footer 蓋住 */
}

/* Product Search >> 標題 */
.product_search_container h2 {
    color: #333;
    color: #000;
    color: #134576;
    font-size: 1.4em;
    font-weight: 500;

    font-size: 1.6em;
    font-weight: 300;

    font-size: 30px;
    font-size: 2em;
    font-weight: 300;

    line-height: 1.2;
    margin-bottom: 20px;
}





/* Product Search >> 產品型號搜尋區 */
#find_other_product .product_search {
    /*
    border-top: 1px solid #eaeaea;
    padding-bottom: 25px;
    padding-top: 15px;
    margin-top: 15px;
    */
}



/* Product Search >> OR */
.product_search_container h3, 
#find_other_product h3 {
    color: #7c7c7c;
    font-size: 1em;
    padding-bottom: 15px;
}


/* 主要內容大區域 (品名資訊 + 文件下載區) >> 分隔線改放於此 */
#product_entity_info {
    padding-top: 15px;
    margin-top: 15px;
    /*
    border-top: 1px solid #eaeaea;
    border-top: 1px solid rgba(195, 198, 203, 0.5);
    */

    margin-left: 0px;
    margin-right: 0px;
}




/* 搜尋區 + 主要內容大區域 (品名資訊 + 文件下載區) >> 同高度 */
#find_other_product .product_search, 
#product_entity_info {
    padding-top: 40px;
    padding-top: 30px;
}




/* .Search-Container (.collapse.in 展開時適用) (col-lg-12 下面 / Product Search 往上多一層 div ) >> 產品型號搜尋區 */
/* 若有使用此樣式 >> 則 .product_search >> border-top 要刪除 */
/* #find_other_product.collapse.in .Search-Container, */
#find_other_product .search-box-shadow {
    position: relative;
    z-index: 1;

    padding-bottom: 25px;
    padding-top: 15px;
    margin-top: 15px;

    border-radius: 10px;
    border-top: 1px solid #eaeaea;
    background-color: #f5f5f5;
    background-color: rgba(243, 244, 246, .5);
    background-color: #f9f9fa;

    padding-left: 3%;
    padding-right: 3%;

    border: 1px solid #eaeaea;
    background-color: #fff;
    /* filter: drop-shadow(0px 2px 3px rgba(195, 198, 203, 0.2)); */
    box-shadow: 0px 2px 1px rgba(195, 198, 203, 0.9);

    border: 1px solid rgba(195, 198, 203, 0.6);
    border-bottom: 2px solid rgba(188, 191, 195, 0.6);
    box-shadow: 0px 2px 1px rgba(195, 198, 203, 0.3);
    filter: drop-shadow(0px 7px 5px rgba(195, 198, 203, 0.2));
    filter: drop-shadow(0px 7px 2px rgba(195, 198, 203, 0.1));

    padding-top: 20px;
    min-height: 320px;
    margin-bottom: 2%;
}



/* 搜尋區 + 主要內容大區域 (品名資訊 + 文件下載區) >> 同高度 */
#find_other_product .search-box-shadow .product_search {
    padding-top: 15px;
}


.product_search_container #find_other_product .search-box-shadow h2 {
    color: #333;
    color: #000;
    font-size: 1.4em;
    font-weight: 300;
    font-weight: 500;
    font-weight: 400;

    color: #134576;
}


/* 搜尋區 (開闔 Menu) >> 下拉選單高度 */
.product_search_container #find_other_product .search-box-shadow #category_search, 
.product_search_container #find_other_product .search-box-shadow #subcategory_search, 
.product_search_container #find_other_product .search-box-shadow #model_search {
    min-height: 90px !important;
}



/* 搜尋區 >> 輸入文字樣式 */
.product_search_container .form-inline .form-control {
    color: #000;
    letter-spacing: -0.01em;
}





/* ================================== 下載區 =================================== */



/* 品名 + 型號資訊 */
#product_entity_info h2 {
    font-weight: 400;
}

/* Product Search >> 功能標題 (尚未搜尋前) */
.product_search_container h2.product_info, 
.product_search_container h2.product_info small {
    color: #000;
    color: #134576;
}

/* Model Name */
.product_search_container h2.product_info small {
    font-weight: 500;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}


/* 下半部文件下載區 >> 修正 .col-md-12 左右 */
.search_ignore.col-md-12 {
    padding-left: 0;
    padding-right: 0;
}


/* 下半部文件下載區 (.search_ignore 有很多地方都有套到, 要指定位置才能使用) */
#product_entity_info > .col-lg-12 > h2.product_info + .search_ignore.col-md-12 {
    margin-top: 40px;
    padding-top: 50px;

    border-top: 1px solid #c5c4c4;
    border-top: 2px dotted #c5c4c4;
    border-top: 2px dotted rgba(195, 198, 203, 0.5);
    border-top: 1px solid rgba(195, 198, 203, 0.9);

    padding-left: 0.2%;
    padding-right: 0.2%;

    /* background-color: #fafafa; */
}

#product_entity_info hr {
    border-top: 1px solid #c5c4c4;
    border-top: 2px dotted rgba(195, 198, 203, 0.5);
}


/* 下半部文件下載區 >> 下載小標題 (原本超大) */
#product_entity_info > .col-lg-12 > h2.product_info + .search_ignore.col-md-12 .software-and-download h3.panel-title a,
#product_entity_info > .col-lg-12 > h2.product_info + .search_ignore.col-md-12 .panel-title,
#product_entity_info > .col-lg-12 > h2.product_info + .search_ignore.col-md-12 h3, 
#product_entity_info h3.panel-title a, 
#product_entity_info h3 {
    color: #000 !important;
    color: #134576 !important;
    font-weight: 400;

    font-size: 1.2em;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;

    font-size: 2.2em;
    font-size: 31px;
    font-weight: 300;
    line-height: 1.2;

    width: 100%;
}

/* 下半部文件下載區 >> 下載小標題 (小一點) */
#product_entity_info > .col-lg-12 > h2.product_info + .search_ignore.col-md-12 .software-and-download h3.panel-title a,
#product_entity_info > .col-lg-12 > h2.product_info + .search_ignore.col-md-12 .panel-title, 
#product_entity_info > .col-lg-12 > h2.product_info + .search_ignore.col-md-12 h3, 
#product_entity_info h3, 
#product_entity_info > .col-lg-12 > h2.product_info + .search_ignore.col-md-12 h3, 
#product_entity_info h3.panel-title a, 
#product_entity_info h3 {
    font-size: calc(31px - 4px);
    font-size: calc(31px - 2px);
}


/* 下半部文件下載區 >> 各區 */
.datasheet, .manual, .quick_start_guide, .cad, .software-and-download {
    vertical-align: top;
    
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    align-items: flex-start; 

    /* 子層的上下左右間隔
    gap: 10px; 
    */
    

    /* 垂直排列 (所有物件分行垂直排列) 
    flex-direction: column; 
    */
}


/* 下半部文件下載區 >> Download Button */
#product_entity_info a.add-to-cart.button.noleftmargin {
    padding: 0 20px;
    padding: 8px 20px;
    border-radius: 3px;
    display: inline-block;
    width: auto;
    height: auto;
    min-height: 35px;
    box-sizing: border-box; 
    overflow: hidden;

    line-height: 1.45em;
    white-space: normal; /* 字斷行 */
    word-break: break-all; /* 字斷行 */

    margin: 0 10px 10px 0; /* 每個 a.Button */
}


/* 下半部文件下載區 >> Software & Firmware */
.software-and-download:has(#collapse_firmware), 
.software-and-download  {
    margin-bottom: 60px;
}


/* 下半部文件下載區 >> Software & Firmware >> 表格寬度 */
#product_entity_info .manual .well, 
#product_entity_info .software-and-download .well, 
#product_entity_info .software-and-download #collapse_firmware, 
#product_entity_info .software-and-download #collapse_driver {
    width: 100%;
}


/* 下半部文件下載區 >> 表格的 >> li a */
.product_search_container .list a {
    display: unset !important;
}










/* ========================================================================================
                                        RWD
======================================================================================== */



/* 769 以上 */
@Media (min-width: 769px) {

    /* .Search-Container (.collapse.in 展開時適用) (col-lg-12 下面 / Product Search 往上多一層 div ) >> 產品型號搜尋區 */
    #find_other_product .search-box-shadow {
    min-height: 320px;
    }

}



/*  810 以上 */
@Media (min-width: 810px) {

    /* 主要內容大區域 (品名資訊 + 文件下載區) >> 修正 .col-lg-12 左右 */
    #product_entity_info .col-lg-12 {
    padding-left: 0px;
    padding-right: 0px;
    }

    .product_search_container .product_search form.form-inline {
    margin-top: 0;
    display: flex;
    align-content: center;
    align-items: center;
    }

    .product_search_container .dropdown .btn-default, 
    .product_search_container .product_search .btn-go, 
    .product_search_container .form-inline .form-control {
    height: 37px;
    height: 40px;
    border-radius: 4px;
    }


    /* Product Search >> 產品型號搜尋區 >> Button */
    .product_search_container .product_search .btn-go {
    transform: translateX(-6px);
    border-radius: 0px 4px 4px 0px !important;
    }


    /* 搜尋區 >> 輸入文字樣式 */
    .product_search_container .form-inline .form-control {
    font-size: 16px;
    padding-left: 30px; /* 需遷就 Search Icon */
    width: 200px;
    }

    .product_search_container #product_search_go::before, 
    .product_search_container .product_search input.form-control::before {
    content: "\e6be";
    font-family: 'font-icons', 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 1em;
    font-variant: normal;
    text-transform: none;
    line-height: inherit;
    color: #585858;
    color: #787979;
    color: #919192;

    position:absolute;
    transform: translateX(10px);
    transform: translate(10px, -1px);
    transform: translate(0.7em, -1px);
    }

}


/*  1024 以上 */
@Media (min-width: 1024px) {

    /* 下半部文件下載區 >> Download Button */
    #product_entity_info .add-to-cart.button.noleftmargin {
    /* max-width: 500px; */
    }

}

/*  1500 以上 */
@Media (min-width: 1500px) {

    /* 下半部文件下載區 >> Software & Firmware >> 表格寬度 */
    #product_entity_info .manual .well, 
    #product_entity_info .software-and-download .well, 
    #product_entity_info .software-and-download #collapse_firmware, 
    #product_entity_info .software-and-download #collapse_driver {
    width: 95%;
    width: 100%;
    }

    /* 品名 + 型號資訊 */
    #product_entity_info h2 {
    font-size: 44px;
    font-size: 3em;
    font-size: 2.3em;
    }

}



/*  810 以下 */
@Media (max-width: 810px) {

    /* 下半部文件下載區 >> Download Button */
    #product_entity_info .add-to-cart.button.noleftmargin {
    width: 95%;
    max-width: 95%;
    white-space: normal; /* 字斷行 */
    word-break: break-all; /* 字斷行 */
    }

    /* 下半部文件下載區 >> Software & Firmware >> 表格寬度 */
    #product_entity_info .manual .well, 
    #product_entity_info .software-and-download .well, 
    #product_entity_info .software-and-download #collapse_firmware, 
    #product_entity_info .software-and-download #collapse_driver {
    width: 95%;
    width: 99%;
    white-space: normal; /* 字斷行 */
    word-break: break-all; /* 字斷行 */
    }

}



/* 768 以下 */
@Media (max-width: 768px) {

    /* .Search-Container (.collapse.in 展開時適用) (col-lg-12 下面 / Product Search 往上多一層 div ) >> 產品型號搜尋區 */
    #find_other_product .search-box-shadow {
    min-height: 400px;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    }

    .product_search_container #find_other_product .search-box-shadow #category_search, 
    .product_search_container #find_other_product .search-box-shadow #subcategory_search, 
    .product_search_container #find_other_product .search-box-shadow #model_search {
    min-height: unset !important;
    }

}


/* 480 以下 */
@Media (max-width: 480px) {

    /* .Search-Container (.collapse.in 展開時適用) (col-lg-12 下面 / Product Search 往上多一層 div ) >> 產品型號搜尋區 */
    #find_other_product .search-box-shadow {
    min-height: 450px;
    min-height: 480px;
    }

    #find_other_product .product_search {
    padding-bottom: 10px;
    }

}


@Media (min-width: 373px) and (max-width: 414px) {

    /* .Search-Container (.collapse.in 展開時適用) (col-lg-12 下面 / Product Search 往上多一層 div ) >> 產品型號搜尋區 */
    #find_other_product .search-box-shadow {
    min-height: 480px;
    }

}