/* General CSS Stylesheet */


/* Body styling */
body {
    font-family: "微軟正黑體", sans-serif;
    font-size: 12pt;
    color: black;
}

.border-left {
    border-left: 3px solid #000;
    padding-left: 10px;
    margin: 10px 0;
}

p,
body {
    line-height: 1.5;
}

/* Headings */

h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: black;
    font-weight: bold;
}

.h1border-bottom {
    border-bottom: 2px solid black;
    padding-bottom: 0.5em;
}

h2 {
    color: white;
    font-size: 150%;
    background-color: #0087dc;
    padding: 2px;
    padding-left: 5px;
}

h3 {
    font-size: 1.5em;
}

/* Links */
a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Lists */
ul,
ol {
    margin: 1em 0;
    padding-left: 3em;
}

li {
    margin-bottom: 0.5em;
}

/* Tables */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-normal {
    border-collapse: collapse;
    margin-top: 20px;
    width: auto;
}

tr:hover {
    background-color: lightgray;
}

th,
td {
    padding: 10px;

    border-bottom: 1px solid #0087dc;
}

.tdnoneborder {
    padding: 10px;
    border-bottom: none;
}

th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #2c3e50;
}

.tdCenter {
    text-align: center;
    vertical-align: middle;
}

.tdjustify {
    text-align: center;
    text-align: justify;
    text-justify: distribute-all-lines;
    text-align-last: justify;
    width: 90px;
}

/* Images */
.image-max-width {
    max-width: 100%;
    height: auto;
}

.image-normal {
    max-width: 100%;
    min-width: 10%;
    height: auto;
    display: block;
    border: black 1px solid;
}

.image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border: 1px solid #ddd;
    object-fit: contain;
}

.img-center {
    max-width: 100%;
    margin: 0 auto;
    vertical-align: middle;
}

.note {
    background-color: #fff3cd;
    padding: 10px;
    border-left: 4px solid #ffc107;
    margin: 10px 0;
}

.step {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.step-title {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step-list {
    list-style-type: decimal;
    margin-right: 10%;
}

.section {
    margin-bottom: 30px;
}

.section-title {
    font-weight: bold;
    color: black;
    margin-bottom: 15px;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.tool-section {
    margin: 15px 0;
}

.tool-title {
    font-weight: bold;
    color: #444;
    margin: 10px 0;
}

.content {
    margin-left: 24px;
}

.sub-content {
    margin-left: 48px;
}

.image-container {
    margin: 20px 0;
    text-align: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.center {
    margin: auto;
    width: 100%;
    padding: 10px;
    display: block;
    margin-right: 10%;
}

/* Buttons */
button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 0.5em 1em;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background-color: #0056b3;
}

/* quick links*/
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
}

iframe,
.fallback-image {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    top: 0;
    left: 0;
}

.fallback-image {
    display: none;
    object-fit: cover;
}

.feature-list {
    margin-top: 5px;
    line-height: 1.8;
}

.feature-list li {
    margin-bottom: 10px;
}

.quick-links {
    background-color: #f7f9fc;
    border-left: 4px solid #0056b3;
    padding: 15px;
    margin-top: 0px;
    border-radius: 4px;
}

.quick-links a {
    text-decoration: none;
    color: #0056b3;
    font-weight: bold;
}

.quick-links a:hover {
    text-decoration: underline;
}

.quick-links ul {
    margin-top: 5px;
    padding-left: 20px;
}


/* 響應式設計 
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 8px;
    }
}
*/