.iPhoneCheckContainer,
.iPhoneCheckContainerAutoSize {
    -webkit-transform: translate3d(0, 0, 0);
    position: relative;
    height: 27px;
    cursor: pointer;
    overflow: hidden;
}

.iPhoneCheckContainer input,
.iPhoneCheckContainerAutoSize input {
    position: absolute;
    top: 5px;
    left: 30px;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
}

.iPhoneCheckContainer label,
.iPhoneCheckContainerAutoSize label {
    white-space: nowrap;
    font-size: 17px;
    line-height: 17px;
    font-weight: bold;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    cursor: pointer;
    display: block;
    height: 27px;
    position: absolute;
    width: auto;
    top: 0;
    padding-top: 5px;
    overflow: hidden;
}

.iPhoneCheckContainer,
.iPhoneCheckContainer label,
.iPhoneCheckContainerAutoSize,
.iPhoneCheckContainerAutoSize label {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
}

.iPhoneCheckDisabled {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
    opacity: 0.5;
}

label.iPhoneCheckLabelOn {
    color: white;
    background: url('/asset/i/ios-style-checkboxes/on.png?1284697268') no-repeat;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
    left: 0;
    padding-top: 5px;
}

label.iPhoneCheckLabelOn span {
    padding-left: 8px;
}

label.iPhoneCheckLabelOff {
    color: #8b8b8b;
    background: url('/asset/i/ios-style-checkboxes/off.png?1284697268') no-repeat right 0;
    text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
    text-align: right;
    right: 0;
}

label.iPhoneCheckLabelOff span {
    padding-right: 8px;
}

.iPhoneCheckHandle {
    display: block;
    height: 27px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    background: url('/asset/i/ios-style-checkboxes/slider_left.png?1284697268') no-repeat;
    padding-left: 3px;
}

.iPhoneCheckHandleRight {
    height: 100%;
    width: 100%;
    padding-right: 3px;
    background: url('/asset/i/ios-style-checkboxes/slider_right.png?1284697268') no-repeat right 0;
}

.iPhoneCheckHandleCenter {
    height: 100%;
    width: 100%;
    background: url('/asset/i/ios-style-checkboxes/slider_center.png?1284697268');
}

.iOSCheckContainer {
    position: relative;
    height: 27px;
    cursor: pointer;
    overflow: hidden;
}

.iOSCheckContainer input {
    position: absolute;
    top: 5px;
    left: 30px;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
}

.iOSCheckContainer label {
    white-space: nowrap;
    font-size: 17px;
    line-height: 17px;
    font-weight: bold;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    cursor: pointer;
    display: block;
    height: 27px;
    position: absolute;
    width: auto;
    top: 0;
    padding-top: 5px;
    overflow: hidden;
}

.iOSCheckContainer, .iOSCheckContainer label {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
}

.iOSCheckDisabled {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
    opacity: 0.5;
}

label.iOSCheckLabelOn {
    color: white;
    background: url('images/ios-style-checkboxes/on.png?1284697268') no-repeat;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
    left: 0;
    padding-top: 5px;
}

label.iOSCheckLabelOn span {
    padding-left: 8px;
}

label.iOSCheckLabelOff {
    color: #8b8b8b;
    background: url('images/ios-style-checkboxes/off.png?1284697268') no-repeat right 0;
    text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
    text-align: right;
    right: 0;
}

label.iOSCheckLabelOff span {
    padding-right: 8px;
}

.iOSCheckHandle {
    display: block;
    height: 27px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    background: url('images/ios-style-checkboxes/slider_left.png?1284697268') no-repeat;
    padding-left: 3px;
}

.iOSCheckHandleRight {
    height: 100%;
    width: 100%;
    padding-right: 3px;
    background: url('images/ios-style-checkboxes/slider_right.png?1284697268') no-repeat right 0;
}

.iOSCheckHandleCenter {
    height: 100%;
    width: 100%;
    background: url('images/ios-style-checkboxes/slider_center.png?1284697268');
}

/**
 * Custom setting styles
 */

.iPhoneCheckContainer label,
.iPhoneCheckContainerAutoSize label {
    font-family: 'Open Sans', 'Arial', 'sans-serif';
    font-size: 11px;
    font-weight: bold;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 1);
}
.iPhoneCheckContainer label.iPhoneCheckLabelOff,
.iPhoneCheckContainerAutoSize label.iPhoneCheckLabelOff {
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 1);
    color: #7B7B7B;
}
.iPhoneCheckContainer {
    width: 70px!important;
}
.iPhoneCheckHandle {
    width: 16px!important;
}

label.iPhoneCheckLabelOn {
    position: relative;
    border: 1px solid rgb(0, 0, 0);
    border-top-color: #103855;
    border-left-color: #084660;
    border-bottom-color: #016d8d;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 4px;
    min-width: 6px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    background: rgb(19, 164, 225);
    background: -moz-linear-gradient(top, rgb(25, 95, 140) 0%, rgb(32, 135, 196) 17%, rgb(19, 164, 225) 50%, rgb(4, 188, 245) 90%, rgb(1, 168, 217) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(25, 95, 140)), color-stop(17%,rgb(32, 135, 196)), color-stop(50%,rgb(19, 164, 225)), color-stop(90%,rgb(4, 188, 245)), color-stop(100%,rgb(1, 168, 217)));
    background: -webkit-linear-gradient(top, rgb(25, 95, 140) 0%, rgb(32, 135, 196) 17%, rgb(19, 164, 225) 50%, rgb(4, 188, 245) 90%, rgb(1, 168, 217) 100%);
    background: -o-linear-gradient(top, rgb(25, 95, 140) 0%,rgb(32, 135, 196) 17%,rgb(19, 164, 225) 50%,rgb(4, 188, 245) 90%,rgb(1, 168, 217) 100%);
    background: -ms-linear-gradient(top, rgb(25, 95, 140) 0%,rgb(32, 135, 196) 17%,rgb(19, 164, 225) 50%,rgb(4, 188, 245) 90%,rgb(1, 168, 217) 100%);
    background: linear-gradient(to bottom, rgb(25, 95, 140) 0%,rgb(32, 135, 196) 17%,rgb(19, 164, 225) 50%,rgb(4, 188, 245) 90%,rgb(1, 168, 217) 100%);
}

label.iPhoneCheckLabelOn:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: -10px;
    bottom: -10px;
    right: -20px;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.7) inset;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.7) inset;
    box-shadow: 0 0 10px rgba(0,0,0,0.7) inset;
}