
fieldset {
  background-color: white;
}
fieldset.main {
  margin-bottom: 1em;
  background-color: #FFF5E5;
}
#colors {
  font-family: pt-sans, Arial, sans-serif;
  font-size: 2em;
  margin-bottom: 0;
  padding-bottom: 0;
}
.table {
  display: table;
}
.tr {
  display: table-row;

}
.td {
  display: table-cell;
}
.tdSmall {
  display: table-cell;
}
button {
  background-color: #FFF5E5;
  font-size: .9em;
}
button:focus, button:hover {
  border: 2px solid #00b8f0;
}
.short {
  width: 4em;
}
.shorter {
  width: 3em;
}
.tiny {
  width: 2em;
}
.lightTan {
  color: #CCB89E;
}
input {
  font-size: 1em;
}
input[type=range] {
  width: 15em;
}
input[type=number]:hover {
  background-color: #ddeeff;
}
input.hex:hover {
  background-color: #ddeeff;
}
#valBgHSpan, #valFgHSpan {
  background: linear-gradient(to right, red,orange,yellow,green,blue,indigo,violet);
}
#valBgSSpan, #valFgSSpan {
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(0,0,0,1));
}
#valBgLSpan, #valFgLSpan {
  background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(255, 255, 255, 0));
}
#valBgRSpan, #valFgRSpan {
  background: linear-gradient(to right, rgb(0,0,0), rgb(255,0,0));
}
#valBgGSpan, #valFgGSpan {
  background: linear-gradient(to right, rgb(0,0,0), rgb(0,255,0));
}
#valBgBSpan, #valFgBSpan {
  background: linear-gradient(to right, rgb(0,0,0), rgb(0,0,255));
}
.sliderSpan {
  border: 2px solid #eee;
  margin-bottom: 3px;
}
#colors, #contrast {
  color: #000;
  background-color: #FFF;
  margin: 10px;
  padding: 10px;
  border: 1px solid #888;
}
#lrTip {
  font-style: italic;
}
.bigText {
  font-size: 1.5em;
  display: block;
}
.smallText {
  font-size: .4em;
  display: block;
}
.spacer {
  line-height: 1.7em;
}
#demoInfo {
  display: none;
}

@media only screen and (max-width: 1100px) {
  input[type=range] { width: 12em; }
}
@media only screen and (max-width: 1000px) {
  input[type=range] { width: 10em; }
  #maincontent {position: absolute; left: 11em; right: 10px; padding-top: 2em;}
}
@media only screen and (max-width: 850px) {
  input[type=number] { display: none; }
  .sym { display: none; }
}
@media only screen and (max-width: 650px) {
  input[type=number] { display: none; }
  .sym { display: none; }
  div.half {width: 100%;}
  #sitenav {display: none;}
  #menuBtn {visibility: visible; font-size: 1em;}
  div#logo p {font-size: 1em;}
  #maincontent {position: static; padding-left: 1em; right: 0;}
}
@media only screen and (max-width: 450px) {
  input[type=number] { display: none; }
  .sym, .hexRow  { display: none; }
  #setBgHex, #setFgHex { display: none; }
  input[type=range] { width: 8em; }
  div.half {width: 100%;}
  #sitenav {display: none;}
  #menuBtn {visibility: visible; font-size: 1em;}
  div#logo p {font-size: 1em;}
  #maincontent {position: static; padding-left: 1em; right: 0;}
}


