/* Table Styles */

#main #pc table td {
  border-bottom: 1px solid #eee;
  border-left: medium none;
  border-right: medium none;
  vertical-align: top;
  padding-top: 10px;
}

#main table {
  border-width: 1px 1px 1px 1px;
  border-spacing: 0px;
  border-style: none solid;
  border-color: white white white white;
  border-collapse: collapse;
  font-size: 0.9em;
  margin-bottom: 1em;
  line-height: 1;
}

#main table th {
  font-size: 1.1em;
  background-position: bottom;
}

#main table th, #main table td {
  border-color: #afafaf;
  border-width: 0 1px;
  padding: 0.3em 0.8em;
  border-style: none solid;
  padding-top:-100px;
}

#main table tr.odd {
  background-color: #d5e7f3;
}

#main table a {
  text-decoration: none;
}

#main table a:hover {
  text-decoration: underline;
}

#main table a img {
  border: 0;
}

#main table td.cell-center {
  text-align: center;
}


/* Sessions table */

#main table.sessions {
  border-collapse: separate;
  border: 0;
  table-layout: fixed;
  width: 700px;
  font-size: 0.75em;
}

#main table.sessions tr.odd {
  background-color: transparent;
}

#main table.sessions th {
  background: transparent;
  border-collapse: collapse;
  border: 0;
  padding: 0px 0px 15px 0px;
}

#main table.sessions th span.daydate {
  font-weight: normal;
  font-size: 0.9em;
}

#main table.sessions td {
  padding: 0;
  border: 0;
  text-align: center;
}

#main table.sessions td.normaltime {
  padding-top: 0px;
}

#main table.sessions td.boldtime {
  padding-top: 0px;
  font-weight: bold;
}

#main table.sessions td.mainroom {
  background: url(images/green_grad.jpg) #b8cf76;
  border: 0px solid #96ad54;
}

#main table.sessions td.sideroom {
  background: url(images/yellow_grad.jpg) #fdc935;
  border: 0px solid #dba713;
}

#main table.sessions td.terminalroom {
  background: url(images/pink_grad.jpg) #f3a9aa;
  border: 0px solid #d18788;
}

#main table.sessions td.tricolourroom {
  background: url(images/tricolour_grad_pink.png) #f3a9aa;
  border: 0px solid #d18788;
}

#main table.sessions td.gmroom {
  background: url(images/blue_grad.jpg) #27ace6;
  border: 0px solid #059ab4;
  color: white;
  font-weight: bold;
}

#main table.sessions td.gmroom a {
  color: white;
  font-weight: bold;
}

#main table.sessions td.noneroom {
  background: url(images/silver_grad.jpg) #f1f1f1;
}

#main table.sessions td.blank {
  background-color: transparent;
}

#main table.sessions a {
  color: #000;
  font-weight: normal;
  border: none;
}


/* Session table for a single day */

#main table.singleday {
  width: 400px;
  line-height: 0.7em;
  table-layout: auto;
}

#main table.singleday td.mainroom,
#main table.singleday td.sideroom,
#main table.singleday td.terminalroom,
#main table.singleday td.tricolourroom,
#main table.singleday td.noneroom,
#main table.singleday td.gmroom {
  width: 185px;
  background-image: none;
  border-width: 2px;
}

#main table.singleday td.normaltime {
  visibility: hidden;
}

#main table.singleday td.boldtime {
  text-align: right;
  padding-right: 10px;
  width: 30px;
}


/* User presentations */

#main table#presentations-user {
  margin: 10px auto;
  border: 1px solid #ccc;
}

#main table tr.user-presentation {
  border: 2px solid;
  background-color: #55ddee;
}


/* PC Elections Results */

#main table#elections-results {
  margin: 10px auto;
  border: 1px solid #ccc;
}


/* Sponsors table */

#main table.sponsors th {
  padding: 5px;
}

#main table.sponsors th a {
  font-weight: bold;
}

#main table.sponsors td {
  vertical-align: top;
  border: 1px solid #a1a1a1;
}


/* Legend for sessions table */

#main table.legend {
  padding-left: 20px;
  table-layout: auto;
  width: 500px;
}

#main table.legend td {
  text-align: left;
  padding-left: 5px;
}

#main table.legend td.mainroom,
#main table.legend td.sideroom,
#main table.legend td.gmroom,
#main table.legend td.terminalroom,
#main table.legend td.tricolourroom {
  width: 20px;
  height: 20px;
}

#main table.legend td.tricolourroom {
  background: url(images/teal_grad.jpg) #f3a9aa;
}


/* Datatables JavaScript table */

#main table.datatables {
  border: 1px solid #AFAFAF;
}

#main table.datatables tr .sorting_asc {
  background: url(images/asc.gif) no-repeat scroll right center #DDDDDD;
}

#main table.datatables tr .sorting_desc {
  background: url(images/desc.gif) no-repeat scroll right center #DDDDDD;
}

#main table.datatables th {
  cursor: pointer;
  height: 2.5em;
  border-top: 1px solid #AFAFAF;
  padding-right: 15px;
}

#main table.datatables td {
  vertical-align: middle;
  height: 2.5em;
}

/* staff attending */

#main #staff table td {
vertical-align: top;
}

#main #staff table td.desc {
height: 70px;
}

/* jQuery.dataTables */

.dataTables_filter {
  margin-bottom: 10px;
}
