﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content-container{
    justify-content: center; /* 垂直居中內容 */
    align-items: center; /* 水平居中內容 */
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#container_main{
    display: block;
    padding-bottom: 0 !important;
}

#hr_line{
    display: none;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, #0E85AF 0%, #1286AA 17%, #1F889B 36%, #348D84 57%, #519463 79%, #739C3F 99%);
}

#page_title{
    display: flex;
    width:100%;
    height:70px;
    background: transparent linear-gradient(90deg, #0E85AF 0%, #1286AA 17%, #1F889B 36%, #348D84 57%, #519463 79%, #739C3F 99%) 0% 0% no-repeat padding-box;
    font-family: Candara;
    font-weight: 700;
    font-size: 2.25rem;
    text-align: center;
    letter-spacing: 0px;
    color: #F8F8F8;
    justify-content: center; /* 垂直居中內容 */
    align-items: center; /* 水平居中內容 */
}

html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.k-window-titlebar.k-hstack {
    background-color: #6dcedd;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 10vh;
    flex-shrink: 0; 
    white-space: nowrap;
    background: #262626 0% 0% no-repeat padding-box;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

/* .footer .container {
    display: flex; 
    align-items: center !important; 
    justify-content: center !important; 
    text-align: center !important;
} */

.border-top{
    border-top: none !important;
}

.email, .phone, .fax{
    font-family: ArialMT;
    display: inline-flex;
    align-items: center; /* 垂直居中圖示和文字 */
    letter-spacing: 0px;
    color: #FFFFFF;
    height: 20px;
}

.email a {
    color: #FFFFFF;
    text-decoration: none;
}

.email img, .phone img .fax img {
    vertical-align: middle; /* 確保圖片垂直居中 */
    margin-right: 3px; /* 圖片和文字之間的間距 */
}

.footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    width: 100%;
    font-size: 24px;
}

.email, .phone, .fax {
    display: flex;
    align-items: center;
    justify-content: center;
}

.email img, .phone img, .fax img {
    vertical-align: middle;
    margin-right: 8px;
}

.container {
    max-width: 1200px;
}

.ann_window_content {
    padding-bottom: 20px;
}

a.hyperlink[onclick] {
    text-decoration: underline;
    cursor: pointer;
}

.navbar-light .navbar-nav .nav-link{
    color:black;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

label {
    vertical-align: -webkit-baseline-middle;
}

/* 客製化NavBar的樣式 */
.navbar {
    height: 5rem !important;
    background: #FAFAFA 0% 0% no-repeat padding-box;
    margin-bottom: 0 !important;
}

.navbar .container{
    max-width: 100% !important;
    padding-right: 6.8rem !important;
    padding-left: 2.3rem !important;
}

#logo{
    width: 13.5rem;
}

.nav-link{
    font-size: 1.125rem;
    font-family: Candara !important;
    text-align: left;
    letter-spacing: 0px;
    color: #000000 !important;
    margin-left: 3.125rem !important;
}

/* 手機樣式 */
@media (max-width: 767px) {
    .navbar .container{
        padding-right: 5vw !important;
        padding-left: 5vw !important;
    }
    
    .navbar-toggler{
        font-size: 1.5rem;
    }

    .navbar-collapse {
        position: absolute;
        top: 90%;
        right: 0;
        width: 25%;
        background: #FAFAFA;
        z-index: 1000; 
    }

    .navbar-nav {
        flex-direction: column;
    }

    .nav-item{
        border-bottom: 1px solid rgba(107, 107, 107, 0.39);
    }

    .nav-link {
        margin-left: 10px !important;
        padding: 1rem 1rem; 
        text-align: left; 
    }

    /* Footer 手機版樣式調整 */
    .footer .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        font-size: 16px !important;
        padding: 0px 5vw !important;
    }

    .email, .phone, .fax {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        text-align: center !important;
        width: 100% !important;
    }

    .email img, .phone img, .fax img {
        margin-right: 8px !important;
        flex-shrink: 0 !important;
    }

    .email a {
        word-break: break-all !important;
        text-align: center !important;
    }

    .footer {
        height: auto !important;
        min-height: 10vh !important;
        padding: 15px 0 !important;
    }

    footer .container{
        padding-left: 0 !important;
    }
}