html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  border: none;
  outline: none;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  background: #000 url(bg.jpg) no-repeat center center fixed;
  background-size: cover;
}

#cw {
  margin: 1.5em auto 1em auto;
  text-align: center;
  max-width: 500px;
  padding: 1em 2em;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#cw input {
  outline: 2px solid #fff;
  border: 4px solid #000;
  padding: 0.5em 0;
  width: 100%;
  text-align: center;
  font-family: monospace;
  font-size: 125%;
}
.colorwheel {
  margin: 1.5em auto 1em auto;
}
button {
  font-family: Verdana, sans-serif;
  font-size: 200%;
  background: transparent;
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-border-radius: 20px; 
  -moz-border-radius: 20px;
  border-radius: 20px;
  cursor: pointer;
  line-height: 1.8;
  padding: 0 0.5em 0.15em 0.5em;
  margin: 0 0.25em;
  min-width: 64px;
  min-height: 64px;
  outline: none;
}
button:hover, button:focus {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #333;
}
#list {
  display: none;
  background: rgba(0, 0, 0, 0.9) url(ch.jpg);
  max-width: 800px;
  max-height: 325px;
  overflow-y: auto;
  list-style-type: none;
  margin: 1.5em auto 1em auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#list li {
  display: inline-block;
  margin: 1em;
  position: relative;
  background: transparent;
}
#list li div {
  display: inline-block;
  width: 75px;
  height: 75px;
  border: 1px solid #ccc;
  cursor: pointer;
  margin-bottom: 5px;
}
#list li div.sq_hex {
  border-right: 0;
}
#list li div.sq_rgba {
  border-left: 0;
  border-right: 0;
}
#list li div.sq_compl {
  border-left: 0;
}
#list li input {
  display: block;
  outline: none;
  border: none;
  padding: 0 5px;
  width: 217px;
  text-align: left;
  font-family: Arial, sans-serif;
  font-size: 70%;
  color: #eee;
  background: transparent;
  cursor: pointer;
}
#list li input.val_compl_hex, #list li input.val_compl_rgba {
	visibility: hidden;
}
#list li i {
  color: #ccc;
  position: absolute;
  bottom: 25px;
  right: 2px;
  cursor: pointer;
  font-size: 70%;
}
#list li i:hover, #list li i:focus {
	color: #fff;
}
.log {
  display: none;
  position: relative;
  width: 250px;
  height: 500px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -290px;
  margin-left: -145px;
  background: #000;
  color: #fff;
  border: 1px solid #ccc;
}
#log {
  width: 100%;
  height: 100%;
  resize: none;
  outline: none;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  text-align: left;
  color: #eee;
  vertical-align: middle;
  cursor: pointer;
}
.close {
  position: absolute;
  top: 1px;
  right: 3px;
  cursor: pointer;
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  margin-top: 2%;
}
.lightbox:target {
  outline: none;
  display: block;
}