﻿.table-rwd{}
/*這是額外做顏色，沒有什麼意義*/
tr.tr-only-hide {color: #D20B2A;}

tr.signalLong{
    background-color:rgb(242, 110, 110);
}
tr.signalShort{
    background-color:lightgreen;
}

.table {
    width: 90%;
    margin-left: 5%;
    margin-bottom: 20px;
    margin-top:1%;
}

@media (max-width: 768px) {
  .table-rwd{min-width: 90%;}
  /*針對tr去做隱藏*/
  tr.tr-only-hide {display: none !important;}
  /*讓tr變成區塊主要讓他有個區塊*/
  .table-rwd tr{
    display: block;
    border: 1px solid #808080;
    margin-top: 5px;
  }
  .table-rwd td {
    text-align: left;
    font-size: 15px;
    overflow: hidden;
    width: 100%;
    display: block;
	}
	.table-rwd td:before {
    /*最重要的就是這串*/
    content: attr(data-th) " : ";
    /*最重要的就是這串*/
    display: inline-block;
    text-transform: uppercase;
    font-weight: bold;
	  margin-right: 10px;
    /*color: #D20B2A;*/
  }
  /*當RWD縮小的時候.table-bordered 會有兩條線，所以針對.table-bordered去做修正*/
  .table-rwd.table-bordered td,.table-rwd.table-bordered th,.table-rwd.table-bordered{border:0;}
  
  .time-ctrl{
      /*flex-flow:column;*/
      
      display:none; 
  }
  #banner{
        display:block;
    }
  .ad-rwd{
      width:320px;
      height:100px;
  }
  .ad-rwd2{
      width:330px;
      height:600px;
  }
  
}

@media (min-width: 768px) {
    #banner{
        display:none;
    }
    .time-ctrl {
      display: flex;
      align-items: center;
      margin-left: 20px;
      flex-wrap:wrap;
    }
    .ad-rwd{
      width:728px;
      height:90px;
    }
    .ad-rwd2{
      width:728px;
      height:600px;
  }
}