*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
}

*, body, h1, h2, h3, h4, h5, h6, a, p, select  {
	font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif, Arial, Helvetica;
}

html, body, form{
    width: 100%;
    height: 100%;
}

.wrapper {
    min-height: calc(100% - 110px);
}

.table-height{
    height: 79vh;
    overflow-y: scroll;
}

.footer{
    height: 50px; /*設定footer本身高度*/
    vertical-align: bottom;
}

.footer .copyright-footer{
    font-size: 1rem;
    line-height: 50px;
}
.custom-btn {
    width: 120px;
    height: 40px;
    color: #fff;
    border-radius: 30px;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
    7px 7px 20px 0px rgba(0,0,0,.1),
    4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
    color: black;
    font-weight: bold;
    margin-left: 1rem;
    text-decoration: none;
}
.btn-1 {
    background: rgb(170, 168, 170);
    background: linear-gradient(0deg, rgba(170, 168, 170,1) 0%, rgba(170, 168, 170,1) 100%);
    border: none;
    color: black;
}

.btn-1:before {
    height: 0%;
    width: 2px;
}

.btn-1:hover {
    box-shadow:  4px 4px 6px 0 rgba(255,255,255,.5),
                -4px -4px 6px 0 rgba(116, 125, 136, .5), 
                inset -4px -4px 6px 0 rgba(255,255,255,.2),
                inset 4px 4px 6px 0 rgba(0, 0, 0, .4);
    color: black;
}

.btn-2 {
    background: rgb(239, 141, 220);
    background: linear-gradient(0deg, rgba(239, 141, 220,1) 0%, rgba(239, 141, 220,1) 100%);
    border: none;
    color: black;
}

.btn-2:before {
    height: 0%;
    width: 2px;
}

.btn-2:hover {
    box-shadow:  4px 4px 6px 0 rgba(255,255,255,.5),
                -4px -4px 6px 0 rgba(116, 125, 136, .5), 
                inset -4px -4px 6px 0 rgba(255,255,255,.2),
                inset 4px 4px 6px 0 rgba(0, 0, 0, .4);
    color: black;
}

.btn-3 {
    background: rgb(141, 146, 239);
    background: linear-gradient(0deg, rgba(141, 146, 239,1) 0%, rgba(141, 146, 239,1) 100%);
    border: none;
    color: black;
}

.btn-3:before {
    height: 0%;
    width: 2px;
}

.btn-3:hover {
    box-shadow:  4px 4px 6px 0 rgba(255,255,255,.5),
                -4px -4px 6px 0 rgba(116, 125, 136, .5), 
                inset -4px -4px 6px 0 rgba(255,255,255,.2),
                inset 4px 4px 6px 0 rgba(0, 0, 0, .4);
    color: black;
}

#CheckoutTable td, .listTable td{
    vertical-align: middle;
}

/*-----頁碼控制-----*/
.PageCtrl {
    text-align: center;
}

.PageCtrl li {
    display: inline-block;
    margin: 0 5px;
}

.PageCtrl li a {
    color: #404040;
    font-size: 1.2rem;
}

.PageCtrl li.active a {
    color: #008000;
    font-weight: bold;
}

.PageCtrl li a:hover {
    font-weight: bold;
    text-decoration:none;
}

.dropzone{
    border: 2px dashed blue;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    color: black;
}

.fileArea{
    border: 2px dashed gray;
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
    align-content: baseline;
    color: black;
    /* height: 150px; */
    padding: 1rem;
    width: 100%;
    gap: 1rem;
}

/* 比價看版 */
table tbody tr td{
    border-color: transparent;
    border-style: none;
    vertical-align: middle;
}

.KanbanTable tbody tr:last-child{
    border-bottom: 1px solid gainsboro;
}

.KanbanTable thead tr{
    position: sticky;
    top: -1px;
    background-color: #fff;
    box-shadow: 0 1px 3px 0px #ddd;
    z-index: 1;
}

.search-btn{
    position: absolute;
    right: 10px;
    top: 4px;
    padding: 0 .25rem;
}

textarea{
    resize: none;
}

.tooltipSpec, .tooltipProdRemark {
    display: none;
    position: absolute;
    background-color: lightyellow;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    white-space: pre-line;
    width: 250px;
    /* overflow-x:auto; */
    z-index: 5;
    word-wrap:break-word;
}

.pageBox{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
}


/*---------------------------自適應內容----------------------------*/
@media only screen and (max-width: 1399.98px) { 
    .table-height{
        height: 78vh;
    }
    .KanbanTable .td-width{
        width: 406px;
        white-space: break-spaces;
    }
    .p-md{
        padding: .5rem;
    }
}

@media only screen and (max-width: 991.98px){ 
    
}

@media only screen and (max-width: 900px){    
    
}

@media only screen and (max-width: 680px) {

}

@media only screen and (max-width: 568px) {
    
}

@media only screen and (max-width: 280px){
    
}