@charset "UTF-8";

/* header 社宅名稱 */
.header-socialHousingName{
    background-color: white;
    color: #000;
   font-weight: bolder;
   padding: 5px 15px;
   border-radius:999px;
}

.state-lotsList-Warp{
    padding: 0;
}
/* 抽籤流程page */
.drawStart-wrap{ background: url(../images/lotsStart_body.png) center bottom no-repeat;}


/* 抽籤結果名單 */
.drawResultsList-wrap{
    position: absolute; left: 50%; transform: translateX(-50%);
}
.drawResultsList-wrap h3{color: #FFF;}
.drawResultsList-wrap h3 label{margin-left: 16px;}
/*房型--------------------------------------*/
h2.room-title{
    text-align: center;
    line-height: 76px;
    font-size: 38px;
    font-weight: bolder;
    letter-spacing: 15px;
    /* 凍結房型 */
    position: sticky;
    top: 112px;
}
.print-button{
    position: absolute;
    top: 15px;
    right: 20px;
}

h2.room1-title {
    background: #79a4b9;
    color: #FFFFFF ;
}

h2.room2-title {
    background: #96bd33 ;
    color: #FFFFFF ;
}

h2.room3-title {
    background: #F59802 ;
    color: #FFFFFF ;
}

/*表格顏色*/
.table-room {
    width: 100%;
}

.table-room th,
.table-room td {
    text-align: center;
    background: #FFF;

}

.table-room th {
    border: 2px solid #000000;
    height: 65px;
    font-size: 26px;
    color: #000000;

}

.table-room td {
    border: 2px dashed #000000;
    height: 60px;
    font-size: 23px;
    border-left: 2px solid #000000;
    border-right: 2px solid #000000;
    color: #000;
}

.table-room th:first-child,
.table-room td:first-child {
    border-left: none;
}

.table-room th:last-child,
.table-room td:last-child {
    border-right: none;
}

.table-room tr:last-child {
    border-bottom: 2px solid #000000;
}

.table-room caption {
    font-weight: bold;
    font-size: 36px;
    text-align: center;
    padding-left: 1rem;
    caption-side: top;
    font-weight: bold;
    letter-spacing: 5px;
    line-height: 72px;
    padding: 0;
}



/*房型列印*/
@page {
    margin: 0.6cm;
    size: A4;
   }
@media print { 
    body {
        background-color: #FFF;
    } 
    .drawResultsList-wrap{
        position: absolute;
        left: 48%;
        transform: translateX(-40%);
    }
    .drawResultsList-wrap h3{
        font-size: 30px;
        margin-top:8px;    }
    .drawResultsList-wrap h3 label{
        font-size: 18px;
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
    h2.room-title{
        text-align: center;
        line-height: 52px;
        font-size: 32px;       
        letter-spacing: 5px;
        color: #FFF;
        background: #000;    }
        
    .table-room caption {       
        font-size: 28px;       
        line-height: 50px;
        color: #000 !important;
     
    }

    table.pagebreak {
        page-break-before: auto;
        page-break-after: auto;
        page-break-inside: avoid;
        border-collapse: collapse;
        
    }

    .table-room th {        
        height: 48px;
        font-size: 22px;
    
    }

    .table-room th:first-child,
    .table-room td:first-child {
        border-left: 2px solid #000000;
    }

    .table-room th:last-child,
    .table-room td:last-child {
        border-right: 2px solid #000000;
    }

    .table-room td {
        height: 42px;
        font-size: 18px;
        border: 2px solid #000000;
    }
    .print-button{
        display: none !important;
    }
   
}

/* 抽籤結果查詢 page=============================*/
/* 查詢結果List */
.QueryResultList-card{ 
    
} 
@media all and (min-width: 1200px) {
    .QueryWrap{ width: 55%;}
    .QueryResultList-card{
        width: 55%;
        display: flex;    
    }
  }
.QueryResultList-card .card-header{
    background-color: #96bd33;
    color: #FFF;
    font-weight: bolder;
}