﻿.AlertArea-background {
    /*padding: 20px;*/
    background-color: #6b6b6b;
    /*margin-bottom: 15px;*/
}

.AlertArea {
    /*padding: 20px;*/
    background-color: white;
    /*margin-bottom: 15px;*/
}

.CloseArea {
    margin-bottom: 10px;
    left: 0px;
}

.EditArea {
    margin-right: 10px;
    margin-bottom: 10px;
    right: 0px;
}

.widthFull {
    width: 100%;
}

.widthHalfFull {
    width: 40%;
}

.LabelRight {
    text-align:right;
}

.tdImage {
    max-width: 150px;
    max-height: 70px;
    margin-top: 25%;
}

.buttonstyle {
    text-rendering: auto;
    color: black;
    letter-spacing: normal;
    word-spacing: normal;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    background-color: #efefef;
    font: 400 13.333px Arial;
    border-width: 2px;
    border-style: outset;
    border-color: #767676;
    border-image: initial;
    padding: 1px 6px;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

    .buttonstyle:link {
        text-decoration: none;
        color: black;
    }

    .buttonstyle:hover {
        text-decoration: none;
        color: black;
    }

    .buttonstyle:active {
        text-decoration: none;
        color: black;
    }
/* OrderData.razor 彈窗 */
.windowAlert {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    margin: auto;
    text-align: center;
    font-size: 0;
}

    .windowAlert:before {
        content: '';
        display: inline-block;
        width: 0px;
        height: 100%;
        vertical-align: middle;
    }

    .windowAlert:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 0;
        background-color: #000;
        opacity: .5
    }

.windowAlertContent {
    padding: 20px;
    background-color: #fff;
    text-align: left;
    position: relative;
    z-index: 1;
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
    line-height: 3;
    border-radius: 10px;
}
.windowAlertContent .td1{
    width: 100px;
    padding-left: 30px;
    position:relative;
}
.windowAlertContent .td2{
    width: 120px;
}
.required {
    position: absolute;
    top: 0;
    left: 10px;
    color: #f00;
    font-size: 19px;
}
.DefaultArea2 {
align-content:center;
text-align:center;
}
.title1 {
    text-align: center;
    font-weight: bold;
    font-size: 50px;
    white-space: nowrap
}
.title2{
  font-weight: bold
}
.underline-input {
    position: relative;
}

    .underline-input input {
        border: none;
        border-bottom: 2px solid black; /* 設定底線的顏色和寬度 */
        outline: none; /* 移除預設的輪廓效果 */
        width:25%
    }
.font {
    font-size:20px
}
.font2{
    font-size:24px
}
@media print {
    select {
        border: none !important;
        background-image: url('https://th.bing.com/th/id/R.eedc8141090fc62d579f84d8ecba4589?rik=SZkY%2f3EvTpc3pg&riu=http%3a%2f%2fpic.ntimg.cn%2ffile%2f20200810%2f29652919_175428778084_2.jpg&ehk=1bz3ICjDgibbvoVKpL7TkPaOh3Re6fTJ2YKshPm6lHM%3d&risl=&pid=ImgRaw&r=0'); /* 背景图像的路径 */
        background-repeat: no-repeat; /* 不重复背景图像 */
        background-position: right center; /* 图像在右侧居中位置 */
        padding-right: 20px; /* 给箭头预留空间 */
        appearance: none; /* 移除浏览器默认样式 */
        -webkit-appearance: none; /* 适用于 WebKit 浏览器（例如 Chrome、Safari） */
    }

    /* 確保不會因為內容不足而顯示空白頁 */
    #Sale, #Material, #Ship1, #Ship2,.content {
        display: block;
        width: 100%;
        height: auto;
        overflow: hidden;
    }
}


.black-rectangle {
    display: block;
    width: 80%; /* 设置宽度 */
    height: 5px; /* 设置高度 */
    border: 1px solid black;
    margin: 0 auto;
    margin-bottom: 20px;
    border-left: 1px solid transparent; /* 将左边框设置为透明 */
    border-right: 1px solid transparent; /* 将右边框设置为透明 */
}
/*.table {
border:1px solid black
}*/
/*.sidebar {
    width: 20px;*/ /* 调整分隔线宽度 */
    /*background-color: #f00;*/ /* 调整分隔线颜色 */
/*}

.sidebar-left {
    border-right: 2px solid black;*/ /* 调整左侧分隔线样式 */
/*}

.sidebar-right {
    border-left: 2px solid black*/ /* 调整右侧分隔线样式 */
/*}*/

/*.content {
    flex: 1;
    background-color: #F0F0F0;*/ /* 调整内容区域颜色 */
/*}*/

.material table tr td:first-child{
    text-align:center;
    vertical-align:middle;
}

/* 表格樣式 */
.table2 {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

    .table2 th, .table2 td {
        padding: 12px 15px;
        text-align: left;
        /*border-bottom: 1px solid #ddd;*/
        vertical-align: middle;
    }

    .table2 th {
        background-color: #83848d;
        color: white;
        font-weight: bold;
    }

    .table2 tr:hover {
        background-color: #f1f1f1;
    }

    .table2 td input[type="text"] {
        width: 100%;
        padding: 6px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

/* 表單樣式 */
.region {
    width: 1500px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

    .region input,
    .region Select,
    .region textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .region textarea {
        height: 100px;
        resize: none;
    }

/* 必填標記樣式 */
.required-label::before {
    content: " *";
    color: red;
    font-weight: bold;
}

@media print {
    .force-page-break {
        page-break-before: always;
        break-before: always;
    }
}