label.pack-checkbox,label.pack-radio,label.pack-switch{display:inline-block;vertical-align:middle;width:5rem;height:5rem;position:relative;background:0 0}label.pack-checkbox input,label.pack-radio input,label.pack-switch input{margin:0;opacity:0;position:absolute;top:0;left:0}label.pack-checkbox input~span:after,label.pack-radio input~span:after{content:'';position:absolute;left:50%;top:50%;margin:-1.1rem 0 0 -1.1rem;width:2.2rem;height:2.2rem;pointer-events:none}label.pack-checkbox input~span:after{background:url(switches/images/check/default.png) center top/2.2rem auto no-repeat}label.pack-radio input~span:after{background:url(switches/images/radio/default.png) center top/2.2rem auto no-repeat}label.pack-checkbox input:checked~span:after,label.pack-radio input:checked~span:after,label.pack-switch input:checked~span:after{background-position:center bottom}label.pack-checkbox.danger input~span:after{background-image:url(switches/images/check/danger.png)}label.pack-radio.danger input~span:after{background-image:url(switches/images/radio/danger.png)}label.pack-switch input~span:after{content:'';position:absolute;right:0;top:50%;width:6rem;margin:-1.4rem 0 0;height:2.7rem;pointer-events:none;border-radius:1.35rem;overflow:hidden;background:url(switches/images/switch/background_off.png) -3.2rem 0/9.2rem 2.7rem no-repeat #e6e6e6;transition:background .2s ease}label.pack-switch input:checked~span:after{background:url(switches/images/switch/background.png) 0 0/9.2rem 2.7rem no-repeat #e6e6e6}label.pack-switch input:disabled~span:after{opacity:.4}label.pack-switch input.uninit~span:after{transition:none}html[dir=rtl] label.pack-checkbox input,html[dir=rtl] label.pack-radio input,html[dir=rtl] label.pack-switch input{left:auto;right:0}html[dir=rtl] label.pack-checkbox input~span:after,html[dir=rtl] label.pack-radio input~span:after{left:auto;right:50%;margin-left:auto;margin-right:-1.1rem}html[dir=rtl] label.pack-switch input~span:after{left:0;right:auto;background-position:0}html[dir=rtl] label.pack-switch input:checked~span:after{background-image:url(switches/images/switch/background_rtl.png);background-position:-3.2rem 0}