/*****************************************/
@media(max-width:1024px) {
  .banner-page{
    padding-bottom: 8%;
    background-size: 160%;
    background-position: bottom right;
  }
}
@media(max-width:480px) {
  .banner-page{
    padding-bottom: 12%;
    background-size: 240%;
  }
}
/*****************************************/
@media(max-width:768px) {
  .page-option{
    text-align: left;
  }
  .page-option .box{
    margin: 0 8px 1em 8px;
  }
}
/*****************************************/
@media(max-width:768px) {
  .course_calender_mode{
    display: none !important;
  }
  .course_list_mode.hide{
    display:block !important;
  }
}
/*****************************************/
@media screen and (max-width:768px) {
  .week_commend_list .box_active .pic{
  }
  .week_commend_list .box_active .pic,
  .week_commend_list .right_column{
    width:100%;
    clear: both;
    margin: 0;
  }
}
/*****************************************/
@media screen and (max-width:960px) {
  ul.lists-page{
    grid-template-columns: repeat(2,1fr);
  }
  ul.lists-page.mode-photo{
    grid-template-columns: repeat(3,1fr);
  }
}
@media screen and (max-width:480px) {
  ul.lists-page{
    grid-template-columns: repeat(1,1fr);
  }
  ul.lists-page.mode-photo{
    grid-template-columns: repeat(2,1fr);
  }
}
/*****************************************/
/* table.custom1 RWD：鍵值對表格直向堆疊 */
@media screen and (max-width: 768px) {
  table.custom1 {
    border: 0;
    margin: 16px 0;
  }
  table.custom1 tbody {
    display: block;
    width: 100%;
  }
  table.custom1 tr {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    background-color: #fff;
  }
  table.custom1 tbody tr:nth-child(even) {
    background-color: #fff;
  }
  table.custom1 tbody tr:hover {
    background-color: #f9f9f9;
  }
  table.custom1 th,
  table.custom1 td {
    display: block;
    width: 100%;
    border: 0;
    box-sizing: border-box;
  }
  table.custom1 th {
    background-color: #f0f4f8;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
  }
  table.custom1 td {
    word-break: break-word;
  }
}
/*****************************************/