
/* -------------------------------------------------- */
/*	Colorpicker Reset
/* -------------------------------------------------- */

.js_picker_val_back,
.js_picker_val_ahead,
.js_picker_val_reset {
	display: inline-block;
	margin: 0;
	width: 31px;
	height: 31px;
	border-width: 1px;
	border-style: solid;
	border-color: #d9dada;
	text-align: center;
	font: 0/0 a;
	vertical-align: top;
	
	-webkit-transition: all .35s ease;
			transition: all .35s ease;
}

.js_picker_val_back:focus,
.js_picker_val_ahead:focus,
.js_picker_val_reset:focus { 
	outline-width: 0; 
	color: #f2a500;
	border-color: #f2a500;
}

.ie7 .js_picker_val_back,
.ie7 .js_picker_val_ahead,
.ie7 .js_picker_val_reset {
	display: block;
	float: left;
	vertical-align: middle;
}

.js_picker_val_back { margin-left: 10px; }

.js_picker_val_back:after,
.js_picker_val_ahead:after,
.js_picker_val_reset:after {
	text-align: center;
	line-height: 33px;
	font-family: 'dashicons';
	font-size: 18px;
}

.js_picker_val_back:after  { content: '\f341'; }
.js_picker_val_ahead:after { content: '\f345'; }
.js_picker_val_reset:after { content: '\f113'; }

.js_picker_val_back:hover,
.js_picker_val_ahead:hover,
.js_picker_val_reset:hover { 
	color: #999;
	border-color: #999;
}

.colorpicker {
    width: 356px;
    height: 176px;
    overflow: hidden;
    position: absolute;
    background: url(images/colorpicker_background.png);
    font-family: Arial, Helvetica, sans-serif;
    display: none;
}

.wp-admin .colorpicker {z-index: 195;}

.colorpicker_color {
    width: 150px;
    height: 150px;
    left: 14px;
    top: 13px;
    position: absolute;
    background: #f00;
    overflow: hidden;
    cursor: crosshair;
}

.colorpicker_color div {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: url(images/colorpicker_overlay.png);
}

.colorpicker_color div div {
    position: absolute;
    top: 0;
    left: 0;
    width: 11px;
    height: 11px;
    overflow: hidden;
    background: url(images/colorpicker_select.gif);
    margin: -5px 0 0 -5px;
}

.colorpicker_hue {
    position: absolute;
    top: 13px;
    left: 171px;
    width: 35px;
    height: 150px;
    cursor: n-resize;
}

.colorpicker_hue div {
    position: absolute;
    width: 35px;
    height: 9px;
    overflow: hidden;
    background: url(images/colorpicker_indic.gif) left top;
    margin: -4px 0 0 0;
    left: 0px;
}

.colorpicker_new_color {
    position: absolute;
    width: 60px;
    height: 30px;
    left: 213px;
    top: 13px;
    background: #f00;
}

.colorpicker_current_color {
    position: absolute;
    width: 60px;
    height: 30px;
    left: 283px;
    top: 13px;
    background: #f00;
}

.colorpicker input {
    background-color: transparent;
    border: 1px solid transparent;
    position: absolute;
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    color: #898989;
    top: 4px;
    right: 11px;
    text-align: right;
    margin: 0;
    padding: 0;
    height: 12px;
}

.colorpicker_hex {
    position: absolute;
    width: 72px;
    height: 22px;
    background: url(images/colorpicker_hex.png) top;
    left: 212px;
    top: 142px;
}

.colorpicker_hex input { right: 6px; }

.colorpicker_field {
    height: 22px;
    width: 62px;
    background-position: top;
    position: absolute;
}

.colorpicker_field span {
    position: absolute;
    width: 12px;
    height: 22px;
    overflow: hidden;
    top: 0;
    right: 0;
    cursor: n-resize;
}

.colorpicker_rgb_r {
    background-image: url(images/colorpicker_rgb_r.png);
    top: 52px;
    left: 212px;
}

.colorpicker_rgb_g {
    background-image: url(images/colorpicker_rgb_g.png);
    top: 82px;
    left: 212px;
}

.colorpicker_rgb_b {
    background-image: url(images/colorpicker_rgb_b.png);
    top: 112px;
    left: 212px;
}

.colorpicker_hsb_h {
    background-image: url(images/colorpicker_hsb_h.png);
    top: 52px;
    left: 282px;
}

.colorpicker_hsb_s {
    background-image: url(images/colorpicker_hsb_s.png);
    top: 82px;
    left: 282px;
}

.colorpicker_hsb_b {
    background-image: url(images/colorpicker_hsb_b.png);
    top: 112px;
    left: 282px;
}

.colorpicker_submit {
    position: absolute;
    width: 22px;
    height: 22px;
    background: url(images/colorpicker_submit.png) top;
    left: 322px;
    top: 142px;
    overflow: hidden;
}

.colorpicker_focus { background-position: center; }

.colorpicker_hex.colorpicker_focus { background-position: bottom; }

.colorpicker_submit.colorpicker_focus { background-position: bottom; }

.colorpicker_slider { background-position: bottom; }

.colorSelector {
    position: relative;
    width: 27px;
    height: 27px;
    background: url(images/select.png);
    float:left;
    cursor:pointer;
}

.colorSelector div {
    position: absolute;
    top: 4px;
    left: 3px;
    width: 21px;
    height: 19px;
    background: url(images/select.png) center;
}

.bgpicker {
	display: inline-block;
    margin-left: 10px;
    width: 33px;
    height: 33px;
    background-image: url(images/colorpicker_frame.png);
    background-repeat: no-repeat;
    cursor: pointer;
}

.ie7 .bgpicker { margin-left: 5px; float: left; }