/**
 * jQuery switchbutton
 * 
 * Based on work by tdreyno on iphone-style-checkboxes for events management
 * (https://github.com/tdreyno/iphone-style-checkboxes)
 * 
 * Copyright 2011, L.STEVENIN
 * Released under the MIT license.
 */
.swipe-button { display:none; margin-bottom:61px; }
.ui-switchbutton {
	display: inline-block;
	padding: 0;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
}
.ui-switchbutton input {
	display: none;
}
.ui-switchbutton label {
	white-space: nowrap;
    cursor: pointer;
    display: block;
    position: absolute;
	top: 0;
    width: auto;
    overflow: hidden;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
}
.ui-switchbutton label.ui-switchbutton-disabled {
	right: 0;
	text-align: right;
	text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
}
.ui-switchbutton label.ui-switchbutton-disabled span {
	display:block;
	margin-right:0 !important;
	color:#4c4c4c;
	text-align: center;
	position:relative;
	z-index:2;
	width:100% !important;
}
.ui-switchbutton.ui-state-active label.ui-switchbutton-disabled span {
	color:#689aca;
}
.ui-switchbutton.ui-switchbutton-no-labels label span {
	width: 1em;
}
.ui-switchbutton label.ui-switchbutton-enabled {
	left: 0;
}
.ui-switchbutton label.ui-switchbutton-enabled span {
	display: block;
	margin-left:0 !important;
	text-align: center;
	width:100% !important;
	position:relative;
	z-index:2
}
.ui-switchbutton .ui-switchbutton-handle {
	display: block;
	width: 0;
	position: absolute;
	top: 0;
	left: 0;
	cursor: pointer;
}
.ui-switchbutton.ui-switchbutton-disabled {
	opacity: 0.4;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
	filter: Alpha(Opacity=40);
	cursor: default;
}
.ui-switchbutton.ui-switchbutton-disabled label,
.ui-switchbutton.ui-switchbutton-disabled .ui-switchbutton-handle {
	cursor: default;
}
/**
 * STYLES
 * 
 * Styles are composed by a default style which can be overrided by specific classed passed in argument
 */
/* Default style */
.ui-switchbutton-default {
	width:100% !important;
	height: 52px;	
	border-radius:10px;
}
.ui-switchbutton-default label {
	letter-spacing:1px;
	font-size: 36px;
	line-height: 56px;
	text-transform: uppercase;
}
.ui-switchbutton-default label.ui-switchbutton-disabled {
	color: #8b8b8b;
	border-radius: 10px;
	width:50% !important
}
.ui-switchbutton-default label.ui-switchbutton-enabled {
	color: #689aca;
	width:50% !important; 
	border-radius: 3px;
}
.ui-switchbutton-default.ui-state-active label.ui-switchbutton-enabled {
	color:#4c4c4c;
}
.ui-switchbutton-default .ui-switchbutton-handle {
	background: #FFF; /* Old browsers */	
	border-radius: 3px;
	height:100%;
	position:relative;
	z-index:0;
	border-radius:10px;
}
/* Thin style */
.ui-switchbutton-thin {
	height: 20px;
}
.ui-switchbutton-thin label {
	font-size: 13px;
	line-height: 16px;
	height: 18px;
	padding-top: 2px;
}
.ui-switchbutton-thin .ui-switchbutton-handle {
	height: 18px;
}
/* iso5 style */
.ui-switchbutton-ios5 label.ui-switchbutton-disabled {
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}
.ui-switchbutton-ios5 label.ui-switchbutton-enabled {
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-webkit-border-top-right-radius: 0px;
	-moz-border-radius-topright: 0px;
	border-top-right-radius: 0px;
	-webkit-border-bottom-right-radius: 0px;
	-moz-border-radius-bottomright: 0px;
	border-bottom-right-radius: 0px;
}
.ui-switchbutton-ios5 label.ui-switchbutton-enabled {
	padding-right: 0px;
}
.ui-switchbutton-ios5.ui-state-active label.ui-switchbutton-enabled {
	padding-right: 10px;
}
.ui-switchbutton-ios5 .ui-switchbutton-handle {
	height: 22px;
	width: 22px !important;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border:none; }
.ui-switchbutton {
	border:solid 1px #c4c2c2;
	background:#c4c2c2
}
/* Force sizes */
/*
.ui-switchbutton {
	width: 50px;
}
.ui-switchbutton .ui-switchbutton-handle {
	width: 20px;
}
*/
 
/*.ui-switchbutton-default .ui-switchbutton-handle { left:0; width:50% !important }
.ui-switchbutton-default.ui-state-active .ui-switchbutton-handle { right:-50% !important; width:50% !important; margin-left:50%; left:0 !important; }*/
.info{ position:fixed; background:#000; color:#FFF; left:0; top:0; z-index:9999999; padding:5px;}