h1 { font-size: 30px; font-weight: bold; }
h2 { font-size: 24px; font-weight: bold; }
h3 { font-size: 20px; font-weight: bold; }
h4 { font-size: 18px; font-weight: bold; }
h5 { font-size: 14px; font-weight: bold; }


table {
  border-collapse:collapse;
  margin-left: 24px;
}
table,th,td {
  border: 1px solid #CCC;
  padding-left: 4px;
  padding-right: 4px;
}
tbody>tr:nth-child(odd) {
  background-color: #EEE;
}
thead>tr {
  background-color: #DDD;
}

.nobackground tbody>tr:nth-child(odd) {
  background-color: transparent;
}

.nobackground thead>tr {
  background-color: transparent;
}

table.nobackground {
  border: 0px;
  background-color: transparent;
}

.nobackground th,td{
  border: 0px;
  background-color: transparent;
}

code .codelink {
	float:right;
  width:16px;height:16px;
  background-image: url(/favicon.ico)
}

code .trylink {
	float:right;
  width:63px;height:23px;
  background-image: url(/images/tryme.png)
}


/* Thumbnail lists */
.thumblinklist-thumbnails .thumblink {
  position: relative;
  width:190px;
  height: 150px;
  vertical-align: bottom;
  display: inline-block;
  padding: 4px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin: 2px;
}

.thumblinklist-thumbnails .thumblink img {
  position: absolute;
  bottom: 4px;
}

.thumblinklist-thumbnails .thumblink span {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 4px;
  /*white-space: nowrap;*/
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: bold;
  text-shadow: -2px 0 3px #ffffff, 2px 0 3px #ffffff, 0 -3px 3px #ffffff, 0 2px 2px #FFFFFF;
}

.thumblinklist-list .thumblink { 
  display:block; 
}
.thumblinklist-list .thumblink img { 
  display:none; 
}

.thumblinklist {
  position: relative;
}

.thumblinklistchange {
  color: #428bca;
  cursor: pointer;
  position: absolute;
  top: -24px;
  right: 20px;
}

/* Thumbnail used right at top of page */
.topthumbnail {
  float:right;
  margin:10px;
  margin-top:0;
/*  border:1px solid #888;
  border-radius:6px;*/
}

.hashlink {
  font-size: 18px;
  padding-left: 10px;
  font-weight: normal;
  text-decoration: none;
  color: #eee;
}

.hashlink:hover {
  color: #999;
  text-decoration: none;
}

/* Make list of classes a sidebar on the Reference page */
@media (min-width: 992px) {
  #contents {
    position: fixed;
    top: 50px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    width: 300px;
  }
  #contents ul {
    padding-inline-start: 1em;
  }

  #maincontent:has(#contents) {
    margin-left: 300px;
  }
}
