
/* 
1. 本區塊命名規則 myXXXXX 
2. 本區塊勿寫標記型CSS ex: P, HR, DIV
3. 以每一支XML做為CSS區格.
*/

/* XMLName: Tile_Sample.xml*/
/* Description: used for Tile demo */
.myClass{
    height:100%;
    width:100%;
    background-color:blue;border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:space-between
}


/*------------------------------*/

/* XMLName: Tile_aaaa.xml*/
/* Description: used for Tile demo */
.myClassA{
    height:100%;
    width:100%;
    background-color:rgba(44, 62, 80);
    border-radius:15px;
    /* display:flex; */
    align-items:center;
    justify-content:space-between;
    padding:15px;
    text-align:center;
    color: 	#E0E3E5;
    font-family: Helvetica;
    
}
.myClass{
    height:100%;
    width:100%;
    background-color:rgba(44, 62, 80);
    border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:5px;
    text-align:center;
    color: 	#E0E3E5;
    font-family: Helvetica;
    
}
.myClass1{
            font-size: 32px;
            font-weight: bolder;
}
.myClass2{
    font-size: 18px;  
    font-weight: normal;  
}
.myClass3{
    color: 	#3CB371;
}
.myClass4{
    color: #DB8A49
}
.myClass5{
    font-size: 16px;  
    font-weight: normal;  
}
.myClass6{
    font-size: 24px;  
    font-weight: bolder; 
}
/*------------------------------*/




/* XMLName: Tile_QCEndLine.xml*/
/* Description: QCInLine ErrorCode DefectQTY Group by PO, StyleNO, WorkDate, Line */
.Tile_QCEndLinemyClass{
    height:100%;
    width:100%;
    background-color:rgba(44, 62, 80);
    border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:5px;
    text-align:center;
    color: 	#E0E3E5;
    font-family: Helvetica;   
}
.Tile_QCEndLinemyClass1{
    font-size: 36px;
    font-weight: bolder;
}
.Tile_QCEndLinemyClass2{
font-size: 24px;  
font-weight: normal;  
}
.Tile_QCEndLinemyClass00{
    color: 	#FF2715;
}
.Tile_QCEndLinemyClass000{
    color: 	#FFA054;
}



/* XMLName: Tile_WFSData_SX.xml*/
/* Description: QCInLine ErrorCode DefectQTY Group by PO, StyleNO, WorkDate, Line */
.TileWFSDataSX_01 {
    height:100%;
    width:100%;
    background-color: white ;;
    display:flex;
    align-items:center;
    justify-content:space-between
}
.TileWFSDataSX_01:hover {
    height:100%;
    width:100%;
    border: 1px solid;
    background-color: white ;;
    display:flex;
    align-items:center;
    justify-content:space-between
}

:root {
    --surface-color: #fff;
    --curve: 40;
  }
  

  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 5vw;
    padding: 0;
    list-style-type: none;
  }
  
  .card {
    position: relative;
    display: block;
    height: 100%;  
    /* border-radius: calc(var(--curve) * 1px); */
    overflow: hidden;
    text-decoration: none;
    cursor:pointer;

  }
  
  .card__image {      
    width: 100%;
    height: auto;
    cursor:pointer;
  }
  
  .card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;      
    /* border-radius: calc(var(--curve) * 1px); */    
    background-color: var(--surface-color);
    transform: translateY(100%);
    transition: .2s ease-in-out;
    cursor:pointer;
  }
  
  .card:hover .card__overlay {
    transform: translateY(0);
  }
  
  .card__header {
    position: relative;
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    /* gap: 2em; */
    padding: 0.5em;
    /* border-radius: calc(var(--curve) * 1px) 0 0 0;     */
    background-color: var(--surface-color);
    height: 50px;
    font-weight: bolder;
    transform: translateY(-100%);
    transition: .2s ease-in-out;
  }
  
  .card__arc {
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 100%;
    right: 0;      
    z-index: 1;
  }
  
  .card__arc path {
    fill: var(--surface-color);
    d: path("M 40 80 c 22 0 40 -22 40 -40 v 40 Z");
  }       
  
  .card:hover .card__header {
    transform: translateY(0);
  }
  
  .card__thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;      
    border-radius: 50%;      
  }
  
  .card__title {
    font-size: 1em;
    margin: 0 0 .3em;
    color: #6A515E;
    
  }
  
  .card__tagline {
    display: block;
    margin: 1em 0;
    font-family: "MockFlowFont";  
    font-size: .8em; 
    color: #D7BDCA;  
  }
  
  .card__status {
    font-size: .8em;
    color: #D7BDCA;
  }
  
  .card__description {
    padding: 0 0em 2em;
    margin: 0;
    color: #D7BDCA;
    font-family: "MockFlowFont";   
    display: -webkit-box;
    /* background-color: green; */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color:blue;
    /* overflow: hidden; */
  }    