/* --------- <amx:selectBooleanSwitch> --------- */
.amx-selectBooleanSwitch{
	min-height: 27px;
}

.amx-selectBooleanSwitch.amx-readOnly .field-value {
  padding: 12px 10px 12px 5px;
}
.amx-selectBooleanSwitch.amx-readOnly .field-value .readOnlyLabel {
  padding: 0;
}

.amx-selectBooleanSwitch .switch {
  display: inline-block;
	position: relative;
	width: 94px;
	height: 27px;
	border: solid 1px #2C2C2C;
	-webkit-border-radius: 5px;
	background-image: -webkit-gradient(linear, left bottom, left top, 
			color-stop(0, #a6a6a6),
			color-stop(.57, #e6e6e6),
			color-stop(.58, #f6f6f6),
			color-stop(.93, #e3e4e3),
			color-stop(1.0, #ffffff) );
	cursor: pointer;
  margin-bottom: -5px;
}

.amx-selectBooleanSwitch.on .switch{
	border: solid 1px #197AD0;
	background-image: -webkit-gradient(linear, left bottom, left top, 
			color-stop(0, #79b6fe),
			color-stop(0.49, #377dcf),
			color-stop(0.5, #4e89ca),
			color-stop(1.0, #b4c9e2));			
}

.amx-selectBooleanSwitch .switch > label{
	position: absolute;
	top: 50%; 
	color: #6D6D6D;
	font-size: 15px;
	margin-top: -8px;
	font-weight: bold;
}

.amx-selectBooleanSwitch .switch > .label-on{
	left: 0px;
	right: 50%;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #fff;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.60);
}
.amx-selectBooleanSwitch .switch > .label-off{
	left: 50%;
	right: 0px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.amx-selectBooleanSwitch .switch-button{
	position: absolute;
	top: -1px; bottom: -1px; 
	width: 47px;
	border: solid 1px #797979;
	-webkit-border-radius: 5px;
	background-image: -webkit-gradient(linear, left bottom, left top, 
			color-stop(0, #cdcecd),
			color-stop(.45, #e6e6e6),
			color-stop(.84, #f6f6f6),
			color-stop(1.0, #f6f4f4) );
}

.amx-selectBooleanSwitch.off .switch-button{
	left: -1px; 
}

.amx-selectBooleanSwitch.on .switch-button{
	right: -1px; 
}

.amx-selectBooleanSwitch.amx-disabled{
	opacity:0.40;
}

/* --------- </amx:selectBooleanSwitch> --------- */

/* --------- <amx:selectBooleanCheckbox> --------- */
.amx-selectBooleanCheckbox .checkbox {
  display: inline-block;
  -webkit-border-radius: 5px;
  width: 20px; 
  height: 20px;
  border: solid 1px #C3D4EE;
  background: #fff;
  cursor: pointer;
  margin-bottom: 2px;
  vertical-align: middle;
}

.amx-selectBooleanCheckbox .checkbox-text {
  display: inline-block;
  margin: 0 0 0 7px;
  margin-bottom: 2px;
  vertical-align: middle;
}

.amx-selectBooleanCheckbox.on .checkbox{
	border: solid 1px #fff;
	background-image: -webkit-gradient(linear, left bottom, left top, 
			color-stop(0, #79b6fe),
			color-stop(0.49, #377dcf),
			color-stop(0.5, #4e89ca),
			color-stop(1.0, #b4c9e2));	
	-webkit-box-shadow: 1px 1px  rgba(0,0,0,0.2);		
}

.amx-selectBooleanCheckbox .checkbox .img-check{
	background-image: url(images/amx.png);
	background-position:  -52px 0px;
	-webkit-background-size:  144px 192px;
	margin: 4px 0 0 -4px;
	width: 25px; 
	height: 24px;
}

.amx-selectBooleanCheckbox.amx-readOnly .checkbox{
	background: rgba(0,0,0,0);
	-webkit-box-shadow: none;
	border: none;
	padding:1px;
}

.amx-selectBooleanCheckbox.amx-readOnly .checkbox .img-check{
	background-position:  -32px -32px;
}

.amx-selectBooleanCheckbox.amx-readOnly.off .checkbox{
	background: #D9D9D9;
	border-color: #B6B6B6;	
}

.amx-selectBooleanCheckbox.off .checkbox .img-check{
	display: none;
}
.amx-selectBooleanCheckbox.amx-disabled{
	opacity:0.40;
}

/* --------- </amx:selectBooleanCheckbox> --------- */

/* --------- <amx:selectOneButton> --------- */
.amx-selectOneButton{
	
}

.amx-selectOneButton .selectItemsContainer{
	overflow: visible;
}

.amx-selectOneButton .selectItemsContainer .amx-selectItem{
	float: left;
	border: solid 1px #191919;
	border-left: none;
	padding: 10px 0;
	overflow:hidden;
	white-space:nowrap;
	text-align:center;
	color: #fff;
	background-image: -webkit-gradient(linear, left bottom, left top, 
			color-stop(0, #2f6bac),
			color-stop(0.49, #214d81),
			color-stop(0.5, #2c588d),
			color-stop(1.0, #6d98c9));		
	cursor: pointer;
  -webkit-box-sizing: border-box; /* iOS 4 */
  box-sizing: border-box;
}
.amx-selectOneButton .selectItemsContainer .amx-selectItem:first-child{
	border-left: solid 1px #191919;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
}

.amx-selectOneButton .selectItemsContainer .amx-selectItem:last-child{
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
}


.amx-selectOneButton .selectItemsContainer .amx-selectItem.amx-selected{
	font-weight: bold;
	background-image: -webkit-gradient(linear, left bottom, left top, 
			color-stop(0, #79b6fe),
			color-stop(0.49, #377dcf),
			color-stop(0.5, #4e89ca),
			color-stop(1.0, #b4c9e2));			
}
.amx-selectOneButton.amx-disabled{
	opacity:0.40;
}

/* layout vertical */
/* 
.amx-selectOneButton.vertical .amx-selectItem{
	float: none;
	border-bottom: solid 1px #191919;
	border-left: solid 1px #191919;
	border-right: solid 1px #191919;
	border-top: none;
	-webkit-border-radius: none;
	text-align: center;
}

.amx-selectOneButton.vertical .amx-selectItem:first-child{
	border-top: solid 1px #191919;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-bottom-right-radius: 0px;
}
.amx-selectOneButton.vertical .amx-selectItem:last-child{
	-webkit-border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	
}
 */

/* --------- </amx:selectOneButton> --------- */

/* --------- <amx:selectOneRadio> --------- */
/* TODO: this is where to style the selectOneRadio */
.amx-selectOneRadio{
	
}

.amx-selectOneRadio .field-label {
  vertical-align: top;
}

.amx-selectOneRadio .selectItemsContainer{
	background: #ECF4FF;
	border: solid 1px #BBBBBB;
	-webkit-border-radius: 5px;
	-webkit-box-shadow:  1px 1px rgba(0,0,0,0.75);
	margin: 2px 0px;
}

.amx-selectOneRadio .selectItemsContainer .amx-selectItem{
	border-left: none;
	padding: 10px;
	color:#969696;
	
	cursor: pointer;
	position:relative
}
.amx-selectOneRadio .selectItemsContainer .amx-selectItem{
	border-top:1px solid #BBBBBB;
	text-align:center;
	color: #000;
	font-weight: bold;
}
.amx-selectOneRadio .selectItemsContainer .amx-selectItem:first-child{
	border-top: none;
}
.amx-selectOneRadio .selectItemsContainer .amx-selectItem:last-child{
	
}

.amx-selectOneRadio .selectItemsContainer .amx-selectItem.amx-selected{

}


.amx-selectOneRadio .amx-selectItem .innerCircle {
	position: absolute;
	width: 20px;
	height: 20px;
	border: 1px solid #a0b9f1;
	-webkit-border-radius: 11px;
	background: #fff;
}
.amx-selectOneRadio .amx-selectItem .innerCircle .smallCircle {
	display: none;
}
.amx-selectOneRadio .amx-selectItem.amx-selected .innerCircle {
	background-image: -webkit-gradient(linear, left bottom, left top, 
		color-stop(0, #79b6fe),
		color-stop(0.49, #377dcf),
		color-stop(0.5, #4e89ca),
		color-stop(1.0, #b4c9e2));	
}
.amx-selectOneRadio .amx-selectItem.amx-selected .smallCircle {
	display: block;
	width: 10px;
	height: 10px;
	background: #fff;
	margin: 5px auto;
	-webkit-border-radius: 5px;
}

.amx-selectOneRadio.amx-disabled{
	opacity:0.40;
}
/* --------- </amx:selectOneRadio> --------- */


/* --------- <amx:selectManyCheckbox> --------- */
.amx-selectManyCheckbox .selectItemsContainer{
	background: #ECF4FF;
	border: solid 1px #BBBBBB;
	-webkit-border-radius: 5px;
	-webkit-box-shadow:  1px 1px rgba(0,0,0,0.75);
	margin: 2px 0px;
}

.amx-selectManyCheckbox .field-label {
  vertical-align: top;
}

.amx-selectManyCheckbox .selectItemsContainer .amx-selectItem{
	border-left: none;
	padding: 10px;
	color:#969696;
	cursor: pointer;
	position:relative
}
.amx-selectManyCheckbox .selectItemsContainer .amx-selectItem{
	border-top:1px solid #BBBBBB;
	text-align:center;
	color: #000;
	font-weight: bold;
}
.amx-selectManyCheckbox .selectItemsContainer .amx-selectItem:first-child{
	border-top: none;
}
.amx-selectManyCheckbox .selectItemsContainer .amx-selectItem:last-child{
	
}

.amx-selectManyCheckbox .selectItemsContainer .amx-selectItem.amx-selected{

}
.amx-selectManyCheckbox.amx-readOnly .amx-selectItem{
	opacity: .6;
}

.amx-selectManyCheckbox .checkbox{
	float:left;
	-webkit-border-radius: 5px;	
	width: 20px; 
	height: 20px;
	border: solid 1px #C3D4EE;
	background: #fff;
	margin: 2px;
	cursor: pointer;
}

.amx-selectManyCheckbox .amx-selectItem.amx-selected .checkbox{
	border: solid 1px #fff;
	background-image: -webkit-gradient(linear, left bottom, left top, 
		color-stop(0, #79b6fe),
		color-stop(0.49, #377dcf),
		color-stop(0.5, #4e89ca),
		color-stop(1.0, #b4c9e2));	
	-webkit-box-shadow: 1px 1px  rgba(0,0,0,0.2);		
}

.amx-selectManyCheckbox .checkbox .img-check{
	background-image: url(images/amx.png);
	background-position:  -52px 0;
	-webkit-background-size: 144px 192px;
	margin: 4px 0 0 -4px;
	width: 25px; 
	height: 24px;
	position: absolute;
}

.amx-selectManyCheckbox .checkbox-text{
	margin: 5px 0 0 40px;
	text-align:left;
	font-weight: bold;
	color: #000;
}
.amx-selectManyCheckbox.amx-readOnly .readOnlyLabel{
	display:block;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}
/*
.amx-selectManyCheckbox.amx-readOnly .amx-selectItem.amx-selected .checkbox{
	background: rgba(0,0,0,0);
	-webkit-box-shadow: none;
	border: none;
}


.amx-selectManyCheckbox.amx-readOnly .amx-selectItem.amx-selected .checkbox .img-check{
	background-position:  -32px -32px;
}

.amx-selectManyCheckbox.amx-readOnly  .amx-selectItem:not(.amx-selected) .checkbox{
	background: #D9D9D9;
	border-color: #B6B6B6;	
}
*/
.amx-selectManyCheckbox  .amx-selectItem:not(.amx-selected) .checkbox .img-check{
	display: none;
}
.amx-selectManyCheckbox.amx-disabled{
	opacity:0.40;
}

/* --------- </amx:selectManyCheckbox> --------- */

/* --------- <amx:selectOneChoice> --------- */
.amx-selectOneChoice .selectItemsContainer {
  width: 100%;
  display: block;
}
.amx-selectOneChoice.amx-readOnly .selectItemsContainer{
	font-weight: bold;
	padding:4px 0 4px 0;
}
/* --------- </amx:selectOneChoice> --------- */

/* --------- <amx:selectManyChoice> --------- */
.amx-selectManyChoice .displayItem{
  text-align: start;
	cursor:pointer;
	height: 27px;
	background-image: -webkit-gradient(linear, left bottom, left top, 
			color-stop(0, #cdcecd),
			color-stop(.45, #e6e6e6),
			color-stop(.84, #f6f6f6),
			color-stop(1.0, #f6f4f4) );
	border: solid 1px #6a6a6a;
	-webkit-border-radius: 5px;
	margin: 2px 2px 2px 0;
	position:relative;
	color:#000000;

}

.amx-selectManyChoice.amx-readOnly .displayItem{
	background: none;
	border: none;
}

.amx-selectManyChoice.amx-readOnly .displayItem .arrow{
	display:none;
	cursor:default;
}

.amx-selectManyChoice .displayItem label{
  margin: 2px 0 0 8px;
  font-weight: normal;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  position: absolute;
  left: 0;
  right: 80px;
}

.amx-selectManyChoice .displayItem .arrow{
	cursor:pointer;
	position:absolute;
	width:27px;
	height:27px;
	right:0;
	top:0;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	background-image: -webkit-gradient(linear, left bottom, left top, 
			color-stop(0, #2f6bac),
			color-stop(0.49, #214d81),
			color-stop(0.5, #2c588d),
			color-stop(1.0, #6d98c9));	
}
.amx-selectManyChoice .displayItem .arrow.dropdown{
	background-image: -webkit-gradient(linear, left bottom, left top, 
		color-stop(0, #79b6fe),
		color-stop(0.49, #377dcf),
		color-stop(0.5, #4e89ca),
		color-stop(1.0, #b4c9e2));
}
.amx-selectManyChoice .displayItem .img-arrow{
	background-image: url(images/amx.png);
	background-position: -79px 0;
	margin: 9px 0 0 4px;
	width: 24px;
	height: 20px;
	-webkit-background-size: 144px 192px;
}
.amx-selectManyChoice .displayItem .count{
	cursor:pointer;
	position:absolute;
	width:26px;
	height:20px;
	right:45px;
	top:3px;
	-webkit-border-radius: 10px;
	border:1px solid #ffffff;
	color:#ffffff;
	text-align:center;
	line-height:20px;
	font-weight:bold;
	background-image: -webkit-gradient(linear, left bottom, left top, 
			color-stop(0, #79b6fe),
			color-stop(0.49, #377dcf),
			color-stop(0.5, #4e89ca),
			color-stop(1.0, #b4c9e2));	
}
.amx-selectManyChoice .selectItemsContainer{
	position:absolute;
	display:none;
	z-index:16;
	background: #FFFFFF;
	border: solid 1px #BBBBBB;
	-webkit-border-radius: 5px;
	-webkit-box-shadow:  1px 1px rgba(0,0,0,0.75);
}
/*
.amx-selectManyChoice .selectItemsContainer .amx-selectItemsTitle{
	padding: 10px;
	color:#969696;
	cursor: default;
	position:relative
	border-left: none;
	border-top:1px solid #BBBBBB;
	text-align:center;
	color: #000;
	border-top: none;
	font-weight: bold;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	background:-webkit-gradient(linear,0% 0%, 0% 100%, from(#686B70), to(#39434C), color-stop(0.5,#383C47),color-stop(0.5,#242B33));
}

.amx-selectManyChoice .amx-selectItemsTitle .checkbox{
	float:left;
	-webkit-border-radius: 15px;	
	width: 20px; 
	height: 20px;
	border: solid 1px #C3D4EE;
	background: -webkit-gradient(linear,0% 0%, 0% 100%, from(#F49397), to(#C12827), color-stop(0.5,#9B4549),color-stop(0.5,#811817));
	margin: 2px;
	cursor: pointer;
	color:#ffffff;
}
.amx-selectManyChoice .amx-selectItemsTitle .checkbox:hover{
	background: -webkit-gradient(linear,0% 0%, 0% 100%, from(#CB787A), to(#9A2323), color-stop(0.5,#9A2323),color-stop(0.5,#7A3739));
}

.amx-selectManyChoice .amx-selectItemsTitle .checkbox-text{
	margin: 5px 0 0 40px;
	color: #ffffff;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}*/

.amx-selectManyChoice .selectItemsContainer .amx-selectItem{
	padding: 10px;
	color:#969696;
	cursor: pointer;
	position:relative
	border-left: none;
	border-top:1px solid #BBBBBB;
	text-align:center;
	color: #000;
	font-weight: bold;
}
.amx-selectManyChoice .selectItemsContainer .amx-selectItem:first-child{
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top:0;
}

.amx-selectManyChoice .amx-selectItem .checkbox{
	float:right;
	-webkit-border-radius: 5px;	
	width: 20px; 
	height: 20px;
	border: solid 1px #C3D4EE;
	background: #fff;
	margin: 2px;
	cursor: pointer;
}

.amx-selectManyChoice .amx-selectItem.amx-selected .checkbox{
	border: solid 1px #fff;
	background-image: -webkit-gradient(linear, left bottom, left top, 
			color-stop(0, #2275FC),
			color-stop(1.0, #4DC2FC) );	
	-webkit-box-shadow: 1px 1px  rgba(0,0,0,0.2);		
}

.amx-selectManyChoice .checkbox .img-check{
	background-image: url(images/amx.png);
	background-position:  -57px -67px;
	margin: 2px 0 0 2px;
	width: 22px; 
	height: 22px;
	position:absolute;
}

.amx-selectManyChoice .checkbox-text{
	margin: 5px 40px 0 0;
	text-align:left;
	font-weight: bold;
	color: #000;
}

.amx-selectManyChoice.amx-readOnly .amx-selectItem.amx-selected .checkbox{
	background: rgba(0,0,0,0);
	-webkit-box-shadow: none;
	border: none;
}


.amx-selectManyChoice.amx-readOnly .amx-selectItem.amx-selected .checkbox .img-check{
	background-position:  -32px -32px;
}

.amx-selectManyChoice.amx-readOnly  .amx-selectItem:not(.amx-selected) .checkbox{
	background: #D9D9D9;
	border-color: #B6B6B6;	
}

.amx-selectManyChoice  .amx-selectItem:not(.amx-selected) .checkbox .img-check{
	display: none;
}
.amx-selectManyChoice.amx-disabled{
	opacity:.0.40%;
}
/* --------- </amx:selectManyChoice> --------- */
