/*I/O通道及電力資訊切換按鈕樣式*/
.container {
    background-color: false;
    background-image: -webkit-gradient(radial, center center, 0, center center, 460, color-stop(0%, rgba(255, 255, 255, 0.1)), color-stop(100%, transparent));
    background-image: -webkit-radial-gradient(center, cover, rgba(255, 255, 255, 0.1), transparent);
    background-image: -moz-radial-gradient(center, cover, rgba(255, 255, 255, 0.1), transparent);
    background-image: -ms-radial-gradient(center, cover, rgba(255, 255, 255, 0.1), transparent);
    background-image: -o-radial-gradient(center, cover, rgba(255, 255, 255, 0.1), transparent);
    background-image: radial-gradient(center, cover, rgba(255, 255, 255, 0.1), transparent);
}
.switch {
    position: relative;
    height: 52px; /*外框高度*/
    width: 240px; /*外框寬度*/
    margin: 20px auto;
    background: #303334; /*外框底色*/
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
}
.switch-label {
    position: relative;
    z-index: 2;
    float: left;
    width: 116px; /*文字寬度*/
    line-height: 52px; /*文字高度*/
    font-size: 24px; /*文字字體大小*/
    font-weight: bold;
    color: #c0c1c2; /*文字字體顏色*/
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
    cursor: pointer;
}
.switch-label-off {
    padding-left: 2px;
}
.switch-label-on {
    padding-right: 2px;
}
.switch-input {
    display: none;
}
.switch-input:checked + .switch-label {
    font-weight: bold;
    color: #303334; /*按鈕上時文字字體顏色*/
    /*text-shadow: 0 1px rgba(255, 255, 255, 0.25);*/
    -webkit-transition: 0.15s ease-out;
    -moz-transition: 0.15s ease-out;
    -ms-transition: 0.15s ease-out;
    -o-transition: 0.15s ease-out;
    transition: 0.15s ease-out;
    -webkit-transition-property: color, text-shadow;
    -moz-transition-property: color, text-shadow;
    -ms-transition-property: color, text-shadow;
    -o-transition-property: color, text-shadow;
    transition-property: color, text-shadow;
}
.switch-input:checked + .switch-label-on ~ .switch-selection {
    left: 120px; /*按鈕在左邊時的距離*/
    /* Note: left: 50%; doesn't transition in WebKit */
}
.switch-selection {
    position: absolute;
    z-index: 1;
    top: 2px;
    left: 2px;
    display: block;
    width: 118px; /*按鈕寬度*/
    height: 47px; /*按鈕高度*/
    border-radius: 3px;
    background-color: #3aa2d0; /*按鈕顏色*/
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4fc9ee), color-stop(100%, #3aa2d0));
    background-image: -webkit-linear-gradient(top, #4fc9ee, #3aa2d0);
    background-image: -moz-linear-gradient(top, #4fc9ee, #3aa2d0);
    background-image: -ms-linear-gradient(top, #4fc9ee, #3aa2d0);
    background-image: -o-linear-gradient(top, #4fc9ee, #3aa2d0);
    background-image: linear-gradient(top, #4fc9ee, #3aa2d0);
    -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
    -webkit-transition: left 0.15s ease-out;
    -moz-transition: left 0.15s ease-out;
    -ms-transition: left 0.15s ease-out;
    -o-transition: left 0.15s ease-out;
    transition: left 0.15s ease-out;
}