/* onoffswitch ON/OFF 开关
-----------------------------------------------------------------------------*/
.c-onoffswitch { position: relative; width: 65px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; }
.c-onoffswitch input.onoffswitch-checkbox { opacity: 0 }
.onoffswitch-label { display: block; overflow: hidden; cursor: pointer; border-radius: 6px; }
.onoffswitch-inner { width: 200%; margin-left: -100%; -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s; -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s; }
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner { margin-left: 0; }
.onoffswitch-inner:before, .onoffswitch-inner:after { float: left; width: 50%; height: 28px; padding: 0; line-height: 28px; font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
.onoffswitch-inner:before { content: "ON"; padding-left: 5px; background-color: #4cd964; color: #FFFFFF; }
.onoffswitch-inner:after { content: "OFF"; padding-right: 5px; background-color: #e5e7ea; color: #a4a9ae; text-align: right; }
.onoffswitch-switch { width: 22px; height: 22px; margin: 4px; background: #FFFFFF; border-radius: 6px; position: absolute; top: 50%; margin-top: -1px; right: 35px; -moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s; -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s; }
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch { right: 0px; }