@charset "utf-8";
/*
用法:
載入本CSS檔
<link href="/css/yldu_form1.css" rel="stylesheet">

select :
	Select1
*/

/* Start yldu switch開關按鈕 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
/*
在checkbox中設定.YCheckbox,在label中設定YSwitch
<input type="checkbox" id="1" class="YCheckbox">
<label class="YSwitch" for="1"></label>
*/
/*Span對齊Checkbox*/
.YCheckbox_Span
{
	display:inline-block!important;
	vertical-align:middle!important;
	height:30px!important;
	font-size:18px!important;
	margin:-20px 0 5px 0!important;
}
.YCheckbox
{
	display: none!important;
}
/*圓角底色區域*/
.YSwitch
{
	width: 50px!important;
	height: 21px!important;
	background: #ccc!important;	/*關閉灰色底色*/
	border-radius: 20px!important;
	padding: 1px!important;
	box-sizing: border-box!important;
	display: inline-block!important;
	margin-top: 15px!important;
}
/*移動圖球*/
.YSwitch:after
{
	content: '';
	box-shadow: 0 3px 8px 0 rgba(0,0,0,0.15), 0 1px 1px 0 rgba(0,0,0,0.16), 0 3px 1px 0 rgba(0,0,0,0.10)!important;
	width: 18px!important;
	height: 18px!important;
	background: #fff!important;/*圖球灰色底色*/
	border-radius: 50%!important;
	display: block;
	margin-left: 1px!important;
	float: left!important;
	transition: all 0.5s!important;
}
/*按下之後移動圖球*/
.YCheckbox:checked+.YSwitch:after
{
	margin-left: 27px!important;
}
.YCheckbox:checked+.YSwitch
{
	background: #56ACFE!important;/*開啟藍色底色*/
}
/* End yldu switch開關按鈕 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/

/* Start yldu 自訂單選框樣式1 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
/*
使用方式 :
<div class="abgne-menu-20140101-1">
	<input type="radio" id="male" name="sex">
	<label for="male">男性</label>

	<input type="radio" id="female" name="sex">
	<label for="female">女性</label>

	<input type="radio" id="other" name="sex">
	<label for="other">其它</label>
</div>

已有功能
abgne-menu-20140101-1		紅灰色
abgne-menu-20140101-1b		藍灰色
abgne-menu-B_W_C			藍框_白底_圓角
abgne-menu-G_W_C_O			灰框_白底_圓角_橘色
abgne-menu-G_W_C_B			灰框_白底_圓角_黑色
abgne-menu-G_W_C_YW			灰框_白底_圓角_黃字
*/

/* Start yldu Radio 紅灰色 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menu-20140101-1 input[type="radio"]
{
	display: none;
}
.abgne-menu-20140101-1 input[type="radio"] + label
{
	display: inline-block;
	background-color: #ccc;
	cursor: pointer;
	padding: 5px 10px;
	border:1px solid #33F;
	border-radius:10px;
}

.abgne-menu-20140101-1 input[type="radio"]:checked + label
{
	background-color: #f00;
	color: #fff;
	border-radius:10px;
}
/* End yldu Radio 紅灰色 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/

/* Start yldu Radio 藍灰色 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menu-20140101-1b input[type="radio"]
{
	display: none;
}
.abgne-menu-20140101-1b input[type="radio"] + label
{
	display: inline-block;
	background-color: #ccc;
	cursor: pointer;
	padding: 5px 10px;
	border:1px solid #33F;
	border-radius:10px;
}

.abgne-menu-20140101-1b input[type="radio"]:checked + label
{
	background-color: #00f;
	color: #fff;
}
/* End yldu Radio 藍灰色 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/

/* Start yldu Radio 藍框_白底_圓角 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menu-B_W_C input[type=radio]+label:before,.abgne-menu-B_W_C input[type=radio]+label:after
{
	z-index:-9999!important;
}
.abgne-menu-B_W_C input[type="radio"]
{
	z-index:-9999!important;
	left:-9999px!important;
	display: none!important;
}
.abgne-menu-B_W_C input[type="radio"] + label
{
	display: inline-block;
	background-color: #fff;
	cursor: pointer;
	padding: 3px 5px;
	border:1px solid #33F;
	border-radius:5px;
}

.abgne-menu-B_W_C input[type="radio"]:checked + label
{
	background-color:#0000FF ;
	color: #fff;
}
/* End yldu Radio 藍框_白底_圓角 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/
/* Start yldu Radio 灰框_白底_圓角_橘色 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menu-G_W_C_O input[type="radio"]
{
	display: none;
}
.abgne-menu-G_W_C_O input[type="radio"] + label
{
	display: inline-block;
	background-color: #fff;
	cursor: pointer;
	padding: 3px 5px;
	border:1px solid #ccc;
	border-radius:10px;
	color:#A5A5A5;
}

.abgne-menu-G_W_C_O input[type="radio"]:checked + label
{
	background-color:#E97D03 ;
	color: #fff;
}
/* End yldu Radio 灰框_白底_圓角_橘色 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/
/* Start yldu Radio 灰框_白底_圓角_黑色 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menu-G_W_C_B input[type="radio"]
{
	display: none;
}
.abgne-menu-G_W_C_B input[type="radio"] + label
{
	display: inline-block;
	background-color: #fff;
	cursor: pointer;
	padding: 3px 5px;
	border:1px solid #ccc;
	border-radius:5px;
	color:#A5A5A5;
}

.abgne-menu-G_W_C_B input[type="radio"]:checked + label
{
	background-color:#000 ;
	color: #fff;
}
/* End yldu Radio 灰框_白底_圓角_黑色 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/
/* Start yldu Radio 灰框_白底_圓角_黃字 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menu-G_W_C_YW input[type="radio"]
{
	display: none;
}
.abgne-menu-G_W_C_YW input[type="radio"] + label
{
	display: inline-block;
	background-color: #fff;
	cursor: pointer;
	padding: 3px 5px;
	border:1px solid #ccc;
	border-radius:5px;
	color:#A5A5A5;
}

.abgne-menu-G_W_C_YW input[type="radio"]:checked + label
{
	background-color:#fff ;
	color: #DFB667;
	border:1px solid #DFB667;
}
/* End yldu Radio 灰框_白底_圓角_黑色 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/
/* Start yldu Radio 購物車_金物流_灰框_白底_橘選_黑字 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
/*移除圖圈*/
.abgne-menu-Cart_PayShip_GWOB input[type=radio]:not(:checked)+label:after
, .abgne-menu-Cart_PayShip_GWOB input[type=radio]:not(:checked)+label:before
, .abgne-menu-Cart_PayShip_GWOB input[type=radio]:checked+label:after
{
	z-index:-9999!important;
}
.abgne-menu-Cart_PayShip_GWOB input[type="radio"]
{
	display: none;
}

.abgne-menu-Cart_PayShip_GWOB input[type="radio"] + label
{
	display: inline-block;
	background-color: #fff;		/*底色*/
	cursor: pointer;
	padding: 3px 5px;
	border:1px solid #d0d0d0;		/*框*/
	border-radius:5px;			/*圓角*/
	color:#000;				/*文字顏色*/
	height:auto!important;		/*垂直置中*/
}

.abgne-menu-Cart_PayShip_GWOB input[type="radio"]:checked + label
{
	background-color:#ff6855 ;		/*選擇底色*/
	color: #FFF;				/*選擇文字顏色*/
}
/* End yldu Radio 灰框_白底_圓角_黑色 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/
/* Start yldu Radio 購物車_金物流_灰框_白底_橘選_黑字1 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
/*移除圖圈*/
.abgne-menu-Cart_PayShip_GWOB1 input[type=radio]:not(:checked)+label:after
, .abgne-menu-Cart_PayShip_GWOB1 input[type=radio]:not(:checked)+label:before
, .abgne-menu-Cart_PayShip_GWOB1 input[type=radio]:checked+label:after
{
	z-index:-9999!important;
}
.abgne-menu-Cart_PayShip_GWOB1 input[type="radio"]
{
	display: none;
}

.abgne-menu-Cart_PayShip_GWOB1 input[type="radio"] + label
{
	display: inline-block;
	background-color: #fff;		/*底色*/
	cursor: pointer;
	padding: 3px 5px;
	border:1px solid #d0d0d0;		/*框*/
	border-radius:5px;			/*圓角*/
	color:#000;				/*文字顏色*/
	height:auto!important;		/*垂直置中*/
}

.abgne-menu-Cart_PayShip_GWOB1 input[type="radio"]:checked + label
{
	background-color:#b38246 ;		/*選擇底色*/
	color: #FFF;				/*選擇文字顏色*/
}
/* End yldu Radio 灰框_白底_圓角_黑色1 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/

/* End yldu 自訂單選框樣式1 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/


/* Start yldu 自訂多選框樣式1 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
使用方式 :
<h3>專長(多選)</h3>
<div class="abgne-menu-20140101-2">
	<input type="checkbox" id="jquery" name="skill" checked>
	<label for="jquery">jQuery</label>

	<input type="checkbox" id="css3" name="skill">
	<label for="css3">CSS3</label>

	<input type="checkbox" id="html5" name="skill">
	<label for="html5">HTML5</label>

	<input type="checkbox" id="angularjs" name="skill">
	<label for="angularjs">AngularJS</label>
</div>

已有功能
abgne-menu-20140101-2		黃灰色
abgne-menu-20140101-2b		藍灰色
abgne-menuM-Y_W_C			黃框_白底_圓角
abgne-menuM-G_W_C_O			灰框_白底_圓角_橘色
abgne-menuM-G_W_C_B			灰框_白底_圓角_藍色

*/

/* Start yldu Checkbox 黃灰色 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menu-20140101-2 input[type="checkbox"]
{
	display: none;
}
.abgne-menu-20140101-2 input[type="checkbox"] + label
{
	display: inline-block;
	background-color: #ccc;
	cursor: pointer;
	padding: 5px 10px;
}
.abgne-menu-20140101-2 input[type="checkbox"]:checked + label
{
	background-color: #f3d42e;
}
/* End yldu Checkbox 黃灰色 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/
/* Start yldu Checkbox 藍灰色 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menu-20140101-2b input[type="checkbox"]
{
	display: none;
}
.abgne-menu-20140101-2b input[type="checkbox"] + label
{
	display: inline-block;
	background-color: #ccc;
	cursor: pointer;
	padding: 5px 10px;
}
.abgne-menu-20140101-2b input[type="checkbox"]:checked + label
{
	background-color: #00f;
	color:#fff;
}
/* End yldu Checkbox 藍灰色 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/
/* Start yldu Checkbox 黃框_白底_圓角 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menuM-Y_W_C input[type="checkbox"]
{
	display: none;
}
.abgne-menuM-Y_W_C input[type="checkbox"] + label
{
	display: inline-block;
	background-color: #fff;
	cursor: pointer;
	padding: 5px 10px;
	border:1px solid #f3d42e;
	border-radius:10px;
}
.abgne-menuM-Y_W_C input[type="checkbox"]:checked + label
{
	background-color: #00f;
	color:#fff;
}
/* End yldu Checkbox 藍框_白底_圓角 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/
/* Start yldu Checkbox 灰框_白底_圓角_橘色 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menuM-G_W_C_O input[type="checkbox"]
{
	display: none;
}
.abgne-menuM-G_W_C_O input[type="checkbox"] + label
{
	display: inline-block;
	background-color: #fff;
	cursor: pointer;
	padding: 5px 10px;
	border:1px solid #ccc;
	border-radius:10px;
	color:#A5A5A5;
}
.abgne-menuM-G_W_C_O input[type="checkbox"]:checked + label
{
	background-color: #E97D03;
	color:#fff;
}
/* End yldu Checkbox 藍框_白底_圓角 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/
/* Start yldu Checkbox 灰框_白底_圓角_藍色 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menuM-G_W_C_B input[type="checkbox"]
{
	display: none;
}
.abgne-menuM-G_W_C_B input[type="checkbox"] + label
{
	display: inline-block;
	background-color: #fff;
	cursor: pointer;
	padding: 5px 10px;
	border:1px solid #e4e4e4;
	border-radius:10px;
	color:#A5A5A5;
}
.abgne-menuM-G_W_C_B input[type="checkbox"]:checked + label
{
	background-color:#00f;
	color:#fff;
}
/* End yldu Checkbox 灰框_白底_圓角_藍色 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/
/* Start yldu Checkbox 灰框_白底_圓角_綠色 ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
.abgne-menuM-G_W_C_G input[type="checkbox"]
{
	display: none;
}
.abgne-menuM-G_W_C_G input[type="checkbox"] + label
{
	display: inline-block;
	background-color: #fff;		/*底色*/
	cursor: pointer;
	padding: 5px 10px;
	border:1px solid #e4e4e4;	/*外框*/
	border-radius:10px;			/*圓角*/
	color:#A5A5A5;				/*文字色*/
}
.abgne-menuM-G_W_C_G input[type="checkbox"]:checked + label
{
	background-color:#09a04a;	/*選擇底色*/
	color:#fff;					/*選擇文字色*/
}
/* End yldu Checkbox 灰框_白底_圓角_綠色 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/

/* end yldu 自訂多選框樣式1 ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲*/

/*
按鈕 :
start yldu Select1

<div>加入類別或ID
 class="styled-select slate"			灰色按鈕,白色字
 class="styled-select black rounded"	全圓角黑色,白色字
 class="styled-select green rounded"	全圓角綠色,白色字
 class="styled-select blue semi-square"	圓角藍色,白色字
 class="styled-select yellow rounded"	圓角黃色,黑色字
<div id="mainselection">				全圓角綠色陰影
<select id="soflow">					全灰
<select id="soflow-color">				全圓角綠色

範例:
<div class="要加的class">
  <select>
    <option>Here is the first option</option>
    <option>The second option</option>
    <option>The third option</option>
  </select>
</div>

已有功能

*/

/*日期欄位設定*/
.Date_Field , .YDate_Field
{
	width:125px!important;
}


.styled-select
{
	background: url(http://i62.tinypic.com/15xvbd5.png) no-repeat 96% 0;
	height: 29px;
	overflow: hidden;
	width: 240px;
}
.styled-select select
{
	background: transparent;
	border: none;
	font-size: 14px;
	height: 29px;
	padding: 5px;
	/* If you add too much padding here, the options won't show in IE */
	width: 268px;
}
.styled-select.slate
{
	background: url(http://i62.tinypic.com/2e3ybe1.jpg) no-repeat right center;
	height: 34px;
	width: 240px;
}
.styled-select.slate select
{
	border: 1px solid #ccc;
	font-size: 16px;
	height: 34px;
	width: 268px;
}
/* -------------------- Rounded Corners */
.rounded
{
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}
.semi-square
{
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
/* -------------------- Colors: Background */
.slate
{
	background-color: #ddd;
}
.green
{
	background-color: #779126;
}
.blue
{
	background-color: #3b8ec2;
}
.yellow
{
	background-color: #eec111;
}
.black
{
	background-color: #000;
}
/* -------------------- Colors: Text */
.slate select
{
	color: #000;
}
.green select
{
	color: #fff;
}
.blue select
{
	color: #fff;
}
.yellow select
{
	color: #000;
}
.black select
{
	color: #fff;
}
/* -------------------- Select Box Styles: danielneumann.com Method */
/* -------------------- Source: http://danielneumann.com/blog/how-to-style-dropdown-with-css-only/ */
#mainselection select
{
	border: 0;
	color: #EEE;
	background: transparent;
	font-size: 20px;
	font-weight: bold;
	padding: 2px 10px;
	width: 378px;
	*width: 350px;
	*background: #58B14C;
	-webkit-appearance: none;
}
#mainselection
{
	overflow: hidden;
	width: 350px;
	-moz-border-radius: 9px 9px 9px 9px;
	-webkit-border-radius: 9px 9px 9px 9px;
	border-radius: 9px 9px 9px 9px;
	box-shadow: 1px 1px 11px #330033;
	background: #58B14C url("http://i62.tinypic.com/15xvbd5.png") no-repeat scroll 319px center;
}
/* -------------------- Select Box Styles: stackoverflow.com Method */
/* -------------------- Source: http://stackoverflow.com/a/5809186 */
select#soflow,
select#soflow-color
{
	-webkit-appearance: button;
	-webkit-border-radius: 2px;
	-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
	-webkit-padding-end: 20px;
	-webkit-padding-start: 2px;
	-webkit-user-select: none;
	background-image: url(http://i62.tinypic.com/15xvbd5.png), -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
	background-position: 97% center;
	background-repeat: no-repeat;
	border: 1px solid #AAA;
	color: #555;
	font-size: inherit;
	margin: 20px;
	overflow: hidden;
	padding: 5px 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 300px;
}
select#soflow-color
{
	color: #fff;
	background-image: url(http://i62.tinypic.com/15xvbd5.png), -webkit-linear-gradient(#779126, #779126 40%, #779126);
	background-color: #779126;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	padding-left: 15px;
}

/*end yldu Select1*/
