/*

Uniform Theme: Uniform Default
Version: 1.6
By: Josh Pyles
License: MIT License
---
For use with the Uniform plugin:
http://pixelmatrixdesign.com/uniform/
---
Generated by Uniform Theme Generator:
http://pixelmatrixdesign.com/uniform/themer.html

*/

/* -------------------------------------------------------------------
	Modified info
	
	Last update:				    2011-06-25
	Author:									OSM by image graff
	Author URI: 						http://osm.main.jp/work

	uploderとdisableは完全に使用しないので削除
	button,radio,text,email,password,textareaなどは
	今後拡張する可能性を考えて残留。
------------------------------------------------------------------- */


/* ------------ ↓↓↓↓↓↓Modified content↓↓↓↓↓↓-------------------------------------------*/
/* -----------------------------------------------------------
	selectのtype設定。(高さと矢印のbg部分)
	width、文字サイズは各ページのCSSで設定
----------------------------------------------------------- */
/* optionの高さはIEで未対応なので設定しない */

/* type1---- */
.type1 div.selector {
	padding-right: 28px;
	background-position: right -12px;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	position: relative\9;/* PIE.htc IE6,7,8 */
}
.type1 div.selector,
.type1 div.selector select {
  min-height: 24px;/* selectの高さとoptionの表示位置 */
}
.type1 div.selector span {
	padding-left: 10px;
  line-height: 24px;/* selectの高さとoptionの表示位置 */
}

/* type2---- */
.type2 div.selector {
	padding-right: 22px;
	background-position: right -66px;

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	position: relative\9;/* PIE.htc IE6,7,8 */
}
.type2 div.selector,
.type2 div.selector select {
  min-height: 18px;/* selectの高さとoptionの表示位置 */
}
.type2 div.selector span {
	padding-left: 8px;
  line-height: 18px;/* selectの高さとoptionの表示位置 */
}

/* ------------ ↑↑↑↑↑↑Modified content↑↑↑↑↑↑-------------------------------------------*/


/* Global Declaration */
div.selector,
div.checker span,
div.radio span, 
div.button,
div.button span {
  background-image: url(images/sprite.png);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

.selector, 
.radio, 
.checker,
.button, 
.selector *, 
.radio *, 
.checker *,
.button *{
  margin: 0;
  padding: 0;
}

/* INPUT & TEXTAREA */

input.text,
input.email, 
input.password,
textarea.uniform {
  /*font-size: 12px; 変更*/
  /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 変更*/
  /*font-weight: normal; 変更*/
  padding: 3px;
  color: #777;
  background: url('images/bg-input-focus.png') repeat-x 0px 0px;
  background: url('images/bg-input.png') repeat-x 0px 0px;
  border-top: solid 1px #aaa;
  border-left: solid 1px #aaa;
  border-bottom: solid 1px #ccc;
  border-right: solid 1px #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  outline: 0;
}

input.text:focus,
input.email:focus,
input.password:focus,
textarea.uniform:focus {
  -webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
  box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
  border-color: #999;
  background: url('images/bg-input-focus.png') repeat-x 0px 0px;
}

/* SPRITES */

/* Select */

div.selector {
	overflow: hidden;
	border: 1px solid #999;
	background-color: #fff;
	
	position: relative\9;/* PIE.htc IE6,7,8 */
}
div.selector span {
	overflow: hidden;
}

div.selector select {
  /* change these to adjust positioning of select element */
  top: 0px;
  left: 0px;
}

/* Checkbox */

div.checker {
  width: 18px;
  height: 18px;
	vertical-align: text-bottom;
}

div.checker input {
  width: 18px;
  height: 18px;
}

div.checker span {
  background-position: 1px -151px;/* 通常時 */
  height: 18px;
  width: 18px;
}

div.checker:active span, 
div.checker.active span {
  background-position: -56px -151px;/* check前後押している間 */
}

div.checker.focus span,
div.checker:hover span {
  background-position: -18px -151px;/* hoverと選択状態な時 */
}

div.checker.focus:active span,
div.checker:active:hover span,
div.checker.active:hover span,
div.checker.focus.active span {
  background-position: -56px -151px;/* check前後押している間 */
}

div.checker span.checked {
 	background-position: -37px -151px;/* checkした後activeでない時 */
}

div.checker:active span.checked, 
div.checker.active span.checked {
	background-position: -56px -151px;/* checkしつつ押している間 */
}

div.checker.focus span.checked,
div.checker:hover span.checked {
	background-position: -56px -151px;/* checkした後も選択状態な時 */
}

div.checker.focus:active span.checked,
div.checker:hover:active span.checked,
div.checker.active:hover span.checked,
div.checker.active.focus span.checked {
 background-position: -18px -151px;/* checkした後押している間 */
}

/* Radio */

div.radio {
  width: 18px;
  height: 18px;
}

div.radio input {
  width: 18px;
  height: 18px;
}

div.radio span {
  height: 18px;
  width: 18px;
  background-position: 0px -279px;
}

div.radio:active span, 
div.radio.active span {
  background-position: -18px -279px;
}

div.radio.focus span, 
div.radio:hover span {
  background-position: -36px -279px;
}

div.radio.focus:active span,
div.radio:active:hover span,
div.radio.active:hover span,
div.radio.active.focus span {
  background-position: -54px -279px;
}

div.radio span.checked {
  background-position: -72px -279px;
}

div.radio:active span.checked,
div.radio.active span.checked {
  background-position: -90px -279px;
}

div.radio.focus span.checked, div.radio:hover span.checked {
  background-position: -108px -279px;
}

div.radio.focus:active span.checked, 
div.radio:hover:active span.checked,
div.radio.focus.active span.checked,
div.radio.active:hover span.checked {
  background-position: -126px -279px;
}

div.button {
  background-position: 0px -523px;
}

div.button span {
  background-position: right -643px;
}

div.button.focus,
div.button:focus,
div.button:hover,
div.button.hover {
  background-position: 0px -553px;
}

div.button.focus span,
div.button:focus span,
div.button:hover span,
div.button.hover span {
  background-position: right -673px; 
}

div.button.active,
div.button:active {
  background-position: 0px -583px;
}

div.button.active span,
div.button:active span {
  background-position: right -703px;
  color: #555;
}

/* PRESENTATION */

/* Button */

div.button {
  height: 30px;
}

div.button span {
  margin-left: 13px;
  height: 22px;
  padding-top: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-left: 2px;
  padding-right: 15px;
}

/* Select */
div.selector select {
  border: solid 1px #fff;
}

div.selector span {
  cursor: pointer;
}

/* Checker */
div.checker {
  margin-right: 5px;
}

/* Radio */
div.radio {
  margin-right: 3px;
}

/*

CORE FUNCTIONALITY 

Not advised to edit stuff below this line
-----------------------------------------------------
*/

.selector, 
.checker, 
.button, 
.radio {
  display: -moz-inline-box;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
}

.selector select:focus, .radio input:focus, .checker input:focus {
  outline: 0;
}

/* Button */

div.button a,
div.button button,
div.button input {
  position: absolute;
}

div.button {
  cursor: pointer;
  position: relative;
}

div.button span {
  display: -moz-inline-box;
  display: inline-block;
  line-height: 1;
  text-align: center;
}

/* Select */

div.selector {
  position: relative;
}

div.selector span {
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

div.selector select {
  position: absolute;
  opacity: 0;
  filter: alpha(opacity:0);
  border: none;
  background: none;
}

/* Checker */

div.checker {
  position: relative;
}

div.checker span {
  display: -moz-inline-box;
  display: inline-block;
  text-align: center;
}

div.checker input {
  opacity: 0;
  filter: alpha(opacity:0);
  display: inline-block;
  background: none;
}

/* Radio */

div.radio {
  position: relative;
}

div.radio span {
  display: -moz-inline-box;
  display: inline-block;
  text-align: center;
}

div.radio input {
  opacity: 0;
  filter: alpha(opacity:0);
  text-align: center;
  display: inline-block;
  background: none;
}
