﻿.jPicker .Icon {
  margin: 4px 3px 0;
  display: block;
  float: right;
  height: 16px; /* change this value if using a different sized color picker icon */
  position: relative; /* make this element an absolute positioning container */
  text-align: left; /* make the zero width children position to the left of container */
  width: 16px; /* change this value if using a different sized color picker icon */
}
.jPicker .Icon span.Color, .jPicker .Icon span.Alpha {
  background-position: 2px 2px;
  display: block;
  height: 100%;
  left: 0px;
  position: absolute;
  top: 0px;
  width: 100%;
}
.jPicker .Icon span.Image {
  background-repeat: no-repeat;
  cursor: pointer;
  display: block;
  height: 100%;
  left: 0px;
  position: absolute;
  top: 0px;
  width: 100%;
}
.jPicker.Container {
  display: none;
  border: 1px solid #0092e0;
  z-index: 1000; /* make sure container draws above color picker icon in Firefox/Safari/Chrome/Opera/etc. -
                  IE calculates z-index so this won't work - we will hide all color picker icons placed after the selected one in code when shown in IE */
}
table.jPicker {
  background-color: white;
  border-collapse: collapse;
  margin: 0px;
  width: 540px;
  table-layout: fixed;
}
.jPicker .MapCol    { width: 275px; }
.jPicker .BarCol    { width: 40px; }
.jPicker .RadioCol  { width: 20px; }
.jPicker .LabelCol  { width: 20px; }
.jPicker .TextCol   { width: 60px; }
.jPicker .ButtonCol { width: 125px; }

table.jPicker td {
  border: 0 !important;
  vertical-align: top;
  padding: 0;
}
.jPicker .Move {
  width: 100%;
  background-color: #dcf3ff;
  border-bottom: 1px solid #0092e0 !important;
  cursor: move;
}
.jPicker .Title {
  color: #0092e0;
  font: normal bold 107.69%/1.4 Arial, Tahoma, sans-serif;
  margin: .5em 5px .4em;
  padding: 0px;
  width: 100%;
}
.jPicker td.Map {
  padding: 1.05em 0 0 5px;
}
.jPicker div.Map {
  border-bottom: 2px solid #eaf6fc;
  border-left: 2px solid #bddae9;
  border-right: 2px solid #eaf6fc;
  border-top: 2px solid #bddae9;
  cursor: crosshair;
  width: 256px; height: 256px;
  margin: 5px;
  overflow: hidden; /* hide the overdraw of the Color Map icon when at edge of viewing box */
  padding: 0px;
  position: relative; /* make this element an absolute positioning container */
}
.jPicker td.Bar {
  width: 34px;
  padding: 1.05em 5px 0 0;
}
.jPicker div.Bar {
  border-bottom: 2px solid #eaf6fc;
  border-left: 2px solid #bddae9;
  border-right: 2px solid #eaf6fc;
  border-top: 2px solid #bddae9;
  cursor: n-resize;
  width: 20px; height: 256px;
  margin: 5px;
  overflow: hidden;
  padding: 0px;
  position: relative;
}
.jPicker .Map .Map1, .jPicker .Map .Map2, .jPicker .Map .Map3, .jPicker .Bar .Map1, .jPicker .Bar .Map2, .jPicker .Bar .Map3, .jPicker .Bar .Map4, .jPicker .Bar .Map5, .jPicker .Bar .Map6 {
  background-color: transparent;
  background-image: none;
  display: block;
  left: 0px;
  position: absolute;
  top: 0px;
}
.jPicker .Map .Map1, .jPicker .Map .Map2, .jPicker .Map .Map3 {
  height: 2596px;
  width: 256px; /* must specify pixel width. IE7/8 Quirks mode ignores opacity for an absolutely positioned item in a relative container with "overflow: visible". The marker in the colorBar
                   would not be drawn if its overflow is set to hidden. */
}
.jPicker .Bar .Map1, .jPicker .Bar .Map2, .jPicker .Bar .Map3, .jPicker .Bar .Map4 {
  height: 3896px;
  width: 20px; /* must specify pixel width. IE7/8 Quirks mode ignores opacity for an absolutely positioned item in a relative container with "overflow: visible". The marker in the colorBar
                  would not be drawn if its overflow is set to hidden. */
}
.jPicker .Bar .Map5, .jPicker .Bar .Map6 {
  height: 256px;
  width: 20px; /* must specify pixel width. IE7/8 Quirks mode ignores opacity for an absolutely positioned item in a relative container with "overflow: visible". The marker in the colorBar
                  would not be drawn if its overflow is set to hidden. */
}
.jPicker .Map .Map1, .jPicker .Map .Map2, .jPicker .Bar .Map6 {
  background-repeat: no-repeat;
}
.jPicker .Map .Map3, .jPicker .Bar .Map5 {
  background-repeat: repeat;
}
.jPicker .Bar .Map1, .jPicker .Bar .Map2, .jPicker .Bar .Map3, .jPicker .Bar .Map4 {
  background-repeat: repeat-x;
}
.jPicker .Map .Arrow {
  display: block;
  position: absolute;
}
.jPicker .Bar .Arrow {
  display: block;
  left: 0px; /* (arrow width / 2) - (element width / 2) - position arrows' center in elements' center */
  position: absolute;
}
.jPicker .Preview {
  font-size: 75%;
  line-height: 1.4;
  padding: 5px 15px 0 0;
  height: 100px;
  text-align: center;
}
.jPicker .Preview div {
  border-bottom: 2px solid #eaf6fc;
  border-left: 2px solid #bddae9;
  border-right: 2px solid #eaf6fc;
  border-top: 2px solid #bddae9;
  height: 62px;
  margin: 0px auto;
  padding: 0;
  width: 62px;
}
.jPicker .Preview div span {
  border: 1px solid #0092e0;
  display: block;
  height: 30px;
  margin: 0px auto;
  padding: 0px;
  width: 60px;
}
.jPicker .Preview .Active {
  border-bottom-width: 0px;
}
.jPicker .Preview .Current {
  border-top-width: 0px;
  cursor: pointer;
}

.jPicker td.Button {
  width: 115px;
  padding: 1.05em 10px 10px 0;
}
.jPicker .Ok { margin-top: 5px !important; }

.jPicker hr {
  width: 100%;
  margin: .5em 0;
}

.jPicker td.Radio, .jPicker td.Label {
  margin: 0px;
  padding: 0px;
  width: 20px;
}
.jPicker td.Radio input {
  margin: 0px;
  padding: 0px;
}
.jPicker td.Label label {
  width: auto;
}
.jPicker td.Text {
  font-size: 12px !important;
  height: 22px;
  margin: 0px;
  padding: 0px;
  text-align: left;
  width: 60px;
}
.jPicker tr.Hex td.Text {
  width: 100px;
}
.jPicker td.Text input {
  background-color: #fff;
  border: 1px solid #a1deff;
  height: 15px;
  margin: 0px 0px 0px 5px;
  text-align: left;
  width: 30px;
}

.jPicker tr.Value td, .jPicker tr.Hex td { padding-bottom: 10px; }
.jPicker tr.Hex td { padding-top: 10px; }

.jPicker tr.Hex td.Text input.Hex {
  width: 50px;
}
.jPicker tr.Hex td.Text input.AHex {
  width: 20px;
}
.jPicker .Grid {
  text-align: center;
}
.jPicker .Grid span.QuickColor {
  border: 1px inset #a1deff;
  cursor: pointer;
  display: block;
  float: left;
  height: 15px;
  line-height: 15px;
  margin: 0px;
  padding: 0px;
  width: 17px;
}