﻿/* 語言選項 */
.header-extras > ul > li .p-dropdown a > span {
    right: -12px;
}

/* 最新消息 */
.news-title h4 {
    font-size: 16px;
}

.news-date {
    width: 80px;
    margin-left: auto;
    margin-right: auto;
}

.news-year {
    color: gray;
    font-size: 16px;
    font-weight: 700;
}

.news-month {
    color: white;
    background-color: gray;
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.news-day {
    color: black;
    background-color: lightgray;
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid darkblue;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

/* 產品項目 */
.category-link {
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-image-box {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-product-list a.list-group-item.active {
    background-color: #3c4043;
    border-color: #3c4043;
}

.category-product-item {
    border-bottom: 1px solid #cccccc;
}

.category-product-item h4 {
     font-weight: 400;
}

.category-name {
    text-align: center;
}

/* html 區塊 */
.divHtml p {
    color: unset;
}

/* validation error */
.field-validation-error {
    margin-left: 1rem;
}

/* 搜尋結果 */
.search-result-count {
    display: inline-block;
    border-radius: 12px;
    background-color: gray;
    color: white;
    width: 23px;
    height: 23px;
    line-height: 23px;
    font-size: 13px;
    text-align: center;
    margin-left: 0.5rem;
}

.search-result-count2 {
    display: inline-block;
    border-radius: 15px;
    background-color: lightgray;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    text-align: center;
    margin-left: 0.5rem;
}

.news-search-title {
    width: 200px;
    height: 50px;
    line-height: 25px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*首頁市場分析區塊*/
.market-application-section {
    background-image: url('https://www.hexawave.com/archive/image/model/index/px03-20251124.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.market-card {
    background: #fff;
    padding: 60px 80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.market-item {
    border-right: 1px dashed #ddd;
    padding: 20px;
}

.market-item:last-child {
    border-right: none;
}

.market-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.market-link:hover {
    transform: translateY(-5px);
    color: #1a2a5a;
}

.market-icon {
    width: 80px;
    margin-right: 15px;
}

.market-icon img {
    width: 100%;
    height: auto;
}


@media (max-width: 768px) {
    .market-item {
        border-right: none;
        border-bottom: 1px dashed #ddd;
        padding: 30px 0;
    }

    .market-item:last-child {
        border-bottom: none;
    }

    .market-link {
        width: 100%;
        justify-content: center;
    }
}

.market-application-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(166, 166, 166, 0.5);
    z-index: 1;
}

.market-container {
    position: relative;
    z-index: 2; 
}


.about-block-wrapper {
    padding-left: 10%;
    padding-right: 10%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.05) 10%, rgba(111, 99, 99, 0) 95%);
}

.about-block-wrapper::before {
    content: "";
    position: absolute;
    background: url('https://www.hexawave.com/archive/image/customization/BG_LOGO.png') no-repeat;
    background-size: contain;
    right: -25px; 
    bottom: -105px;
    width: 350px;
    height: 404px;
    opacity: 0.5; 
}


.about-block-wrapper .row {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .about-block-wrapper {
        padding: 50px 0;
    }

    .about-block-wrapper::before {
        width: 200px;
        height: 230px;
        bottom: -50px;
        right: -10px;
    }
}


#logo img.logo-default {
    max-height: 50px !important;
    width: auto;
    display: block; 
}

#logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hgroup {
    position: relative;
    border-bottom: 1px solid #bfbdbd;
    margin-bottom: 40px;
}

.hgroup .breadcrumb {
    font-size: 12px;
    background-color: #fff;
    margin: 0;
    padding: 6px 15px;
    border: solid 1px #bfbdbd;
    position: absolute;
    bottom: -15px; 
    right: 0px;
    border-radius: 4px; 
    display: flex;
    max-width: 100%;
}

.hgroup .breadcrumb > li {
    text-overflow: ellipsis;
    overflow: clip;
    white-space: nowrap;
}

.hgroup .breadcrumb > li:last-child {
    min-width: 0;
}

.hgroup .breadcrumb > li + li:before {
    content: "/\00a0";
    padding: 0 5px;
    color: #bfbdbd;
}

.hgroup .breadcrumb li a {
    color: #666;
    text-decoration: none; 
    transition: color 0.3s ease; 
}

.hgroup .breadcrumb li a:hover {
    color: #007bff; 
    text-decoration: underline;
}
h1.pageTitle {
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 50px;
}

#demo-form label{
    font-size:14px;
}

#mainMenu nav > ul > li > a {
    font-size: 16px !important;
}

.file-dropdown {
    width: 300px;
    max-width: 100%;
}

.element-item img{
    max-width: 100%;
}

/*ContactUs Form*/
#contactUsForm .error {
    color: #dc3545 !important;
    font-size: 0.875em !important;
    margin-top: 5px;
}

.application-icon {
    font-size: 2.5rem;
}

@media (max-width: 991.98px) {
    .header-extras > ul .p-dropdown > a > i, .header-extras > ul > li > a > i {
        font-size: 18px !important;
    }
}

#mainMenu nav > ul > li .dropdown-menu > li > a {
    font-size: 14px !important;
}