
/* opening hours table */
.opentable, .opentable th, .opentable td {
	font-size:24px;
	border-color:black !important;
	border-width:thin;
	text-align:center;
	font-weight:600;
}

.opentable th {
	font-weight: 700;
}

.opentable .sat {
	color:green;
}

.opentable .sun{
	color:deepskyblue;
}

.opentable .serv {
	background-color:lightpink;
	font-weight:700;
}

/* Databases tab table */
.dbTable {
	font-size:1em;
}

.dbTable td {
    background-color:white;
    color:black;
}

.dbTable td:hover {
    background-color:lightgray;
}

.dbTable td a {
	display:inline-block;
    width:50%;
}

.dbTable .offCampus {
	color:hotpink;
	width:50%;
}

/* RWD table*/
#dblist_table {
	font-size:14px;
	color:black;
	border-color:gray;
	border-width:1px;
	text-align:left;
}

#dblist_table th {
	background-color: #FFFA88;
	border-color:gray;
	font-weight:bold;
}
#dblist_table td {
	border-color:gray;
}
#dblist_table .dbTitle {
	font-weight: bold;
}
#dblist_table .offCampus {
	color:hotpink;
}

@media (max-width: 736px) {
  .table-rwd{min-width: 100%;}
  /*針對tr去做隱藏*/
  tr.tr-only-hide {display: none !important;}
  /*讓tr變成區塊主要讓他有個區塊*/
  .table-rwd tr{
    display: block;
    border: 1px solid gray;
    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;}
  
}
