table {
    /*border: 1px solid black;*/
    width: 100%;
    margin-top: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
    border-collapse: collapse;
}
  

th {
    padding: 2px 5px;
    border: 1px solid black;
}

td {
    padding: 2px 5px;
    border: 1px solid black;
}

thead {
    background: #ddd;
}


/*table1 sort color*/
table#table1.js-sort-0 tbody tr td:nth-child(1),
table#table1.js-sort-1 tbody tr td:nth-child(2),
table#table1.js-sort-2 tbody tr td:nth-child(3),
table#table1.js-sort-3 tbody tr td:nth-child(4),
table#table1.js-sort-4 tbody tr td:nth-child(5),
table#table1.js-sort-5 tbody tr td:nth-child(6),
table#table1.js-sort-6 tbody tr td:nth-child(7),
table#table1.js-sort-7 tbody tr td:nth-child(8),
table#table1.js-sort-8 tbody tr td:nth-child(9),
table#table1.js-sort-9 tbody tr td:nth-child(10),
table#table1.js-sort-10 tbody tr td:nth-child(11),
table#table1.js-sort-11 tbody tr td:nth-child(12),
table#table1.js-sort-12 tbody tr td:nth-child(13),
table#table1.js-sort-13 tbody tr td:nth-child(14),
table#table1.js-sort-14 tbody tr td:nth-child(15),
table#table1.js-sort-15 tbody tr td:nth-child(16),
table#table1.js-sort-16 tbody tr td:nth-child(17),
table#table1.js-sort-17 tbody tr td:nth-child(18),
table#table1.js-sort-18 tbody tr td:nth-child(19),
table#table1.js-sort-19 tbody tr td:nth-child(20),
table#table1.js-sort-20 tbody tr td:nth-child(21){
    background: #dee !important; 
}

/* Table for three sub-tasks */
#table1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    margin: auto;
    margin-top: 1em;
    margin-bottom: 2em;
}

/*change the form column color*/
table#table1 tbody tr td:nth-child(n+5):nth-child(-n+9) {
    background-color: #FCF5F0;
}

table#table1 tbody tr td:nth-child(n+10):nth-child(-n+14) {
    background-color: #F1F5FA;
}

/*change hover color in tr*/
table#table1 tr:hover td{
    background-color: #ddd !important;
}

/*change hover color in td*/
/*
table#table1 td:hover {
    background-color: #ddd !important;
} */

/*table tile*/
#table1 th {
    border: 1px solid #ddd;
    padding: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 16px;
    text-align: center;
    font-weight: 600;
    background-color: var(--UCLA-darkblue);
    color: white;
}

#table1 td {
    border: 1px solid #ddd;
    padding: 8px;
}


/*table2 sort color*/
table#table2.js-sort-0 tbody tr td:nth-child(1),
table#table2.js-sort-1 tbody tr td:nth-child(2),
table#table2.js-sort-2 tbody tr td:nth-child(3),
table#table2.js-sort-3 tbody tr td:nth-child(4),
table#table2.js-sort-4 tbody tr td:nth-child(5),
table#table2.js-sort-5 tbody tr td:nth-child(6),
table#table2.js-sort-6 tbody tr td:nth-child(7),
table#table2.js-sort-7 tbody tr td:nth-child(8),
table#table2.js-sort-8 tbody tr td:nth-child(9),
table#table2.js-sort-9 tbody tr td:nth-child(10),
table#table2.js-sort-10 tbody tr td:nth-child(11),
table#table2.js-sort-11 tbody tr td:nth-child(12),
table#table2.js-sort-12 tbody tr td:nth-child(13),
table#table2.js-sort-13 tbody tr td:nth-child(14),
table#table2.js-sort-14 tbody tr td:nth-child(15),
table#table2.js-sort-15 tbody tr td:nth-child(16),
table#table2.js-sort-16 tbody tr td:nth-child(17),
table#table2.js-sort-17 tbody tr td:nth-child(18),
table#table2.js-sort-18 tbody tr td:nth-child(19),
table#table2.js-sort-19 tbody tr td:nth-child(20),
table#table2.js-sort-20 tbody tr td:nth-child(21),
table#table2.js-sort-21 tbody tr td:nth-child(22){
    background: #dee;
}


/* Table for three sub-tasks */
#table2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    margin: auto;
    margin-top: 1em;
    margin-bottom: 2em;
}


/*table tile*/
#table2 th {
    border: 1px solid #ddd;
    padding: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 16px;
    text-align: center;
    font-weight: 600;
    background-color: var(--UCLA-darkblue);
    color: white;

}

#table2 td {
    border: 1px solid #ddd;
    padding: 8px;
}

#table2 tr:nth-child(even) {
    background-color: #f5f5f5;
}




/*table2 hover color*/
#table2 tr:hover {
    background-color: #ddd;
}


.js-sort-number:hover {
    text-decoration: underline;
    cursor: pointer;
}

.js-sort-date:hover {
    text-decoration: underline;
    cursor: pointer;
}

.js-sort-string:hover {
    text-decoration: underline;
    cursor: pointer;
}

.js-sort:hover {
    text-decoration: underline;
    cursor: pointer;
}

.best-score-text {
    color: #C6011F
    /* color: #3457D5 */
}


.hidden {
    display: none;
}
.sortable:hover {
    cursor: pointer;
}
.asc::after {
    content: ' ↑';
}
.desc::after {
    content: ' ↓';
}

/*toggleButton css*/
#toggleButton {
  background-color: #ffffff;
  border: none;
  /*border: 1px solid #dddddd;*/
  color: #555555;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 10px; 
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  /*transition-duration: 0.4s;*/
  transition: all 0.3s ease;
}

/* toggleButton hover */
#toggleButton:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2), 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}


