ul.checked {
    list-style: none;
    position: relative;
    margin:8px 9px 17px !important;
    float:left !important;
}

ul.checked li p {
    display: block;

    background-image: -webkit-gradient(linear, left top, left bottom, from(#3095C7), to(#14539C));
    background: -webkit-linear-gradient(19% 75% 90deg,#3095C7, #14539C);
    background: -moz-linear-gradient(19% 75% 90deg,#3095C7, #14539C);
    background: -o-linear-gradient(19% 75% 90deg,#3095C7, #14539C);
    background: -ms-linear-gradient(19% 75% 90deg,#3095C7, #14539C);
    background: linear-gradient(19% 75% 90deg,#3095C7, #14539C);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3095C7', endColorstr='#14539C', GradientType=0);

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border: 1px solid #555555;
    border-radius: 4px 4px 4px 4px !important;
    display: block;
    height: 32px;
    line-height: 28px !important;
    position: relative;
    width: 90px;
}
ul.checked li p.chred {
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ff9999), to(#c00000));
    background: -webkit-linear-gradient(19% 75% 90deg,#ff9999, #c00000);
    background: -moz-linear-gradient(19% 75% 90deg,#ff9999, #c00000);
    background: -o-linear-gradient(19% 75% 90deg,#ff9999, #c00000);
    background: -ms-linear-gradient(19% 75% 90deg,#ff9999, #c00000);
    background: linear-gradient(19% 75% 90deg,#ff9999, #c00000);
}
ul.checked p:after {
    color: #FFFFFF;
    content: "روشن";
    font-family: tahoma;
    font-size: 12px;
    font-weight: normal;
    padding-right: 4px;
    text-shadow: 1px 1px 1px #000000;
}
ul.checked p:before {
    color: #FFFFFF;
    content: "خاموش";
    font-family: tahoma;
    font-size: 12px;
    font-weight: normal;
    padding-right: 5px;
    text-shadow: 1px 1px 1px #000000;
}
.check {
    display: block;
    width: 40px;
    height: 30px;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px !important;

    background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#A1A1A1));
    background: -webkit-linear-gradient(19% 75% 90deg,#FFFFFF, #A1A1A1);
    background: -moz-linear-gradient(19% 75% 90deg,#FFFFFF, #A1A1A1);
    background: -o-linear-gradient(19% 75% 90deg,#FFFFFF, #A1A1A1);
    background: -ms-linear-gradient(19% 75% 90deg,#FFFFFF, #A1A1A1);
    background: linear-gradient(19% 75% 90deg,#FFFFFF, #A1A1A1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#A1A1A1', GradientType=0);

    border: 1px solid #e5e5e5;
    position: absolute;
    top: 0px;
    left: 0px;
}

.checked input[type=checkbox] {
    display: none;
}

@keyframes "labelON" {
    0% {
        top: 0px;
        left: 0px;
    }
    100% {
        top: 0px;
        left: 38px;
    }

}

@-moz-keyframes "labelON" {
    0% {
        top: 0px;
        left: 0px;
    }
    100% {
        top: 0px;
        left: 38px;
    }

}

@-webkit-keyframes "labelON" {
    0% {
        top: 0px;
        left: 0px;
    }
    100% {
        top: 0px;
        left: 38px;
    }

}

@-ms-keyframes "labelON" {
    0% {
        top: 0px;
        left: 0px;
    }
    100% {
        top: 0px;
        left: 38px;
    }

}

.checked input[type=checkbox]:checked + label.check {
    top: 0px;
    left: 48px;

    -webkit-animation-name: labelON;
    -moz-animation-name: labelON;
    -ms-animation-name: labelON;
    animation-name: labelON;
    -webkit-animation-duration: .2s;

    -webkit-animation-iteration-count: 1;
    -moz-animation-iteration-count: 1;
    -ms-animation-iteration-count: 1;
    animation-iteration-count: 1;

    -webkit-animation-timing-function: ease-in;
    -moz-animation-timing-function: ease-in;
    -ms-animation-timing-function: ease-in;
    animation-timing-function: ease-in;

    -webkit-box-shadow: #244766 -1px 0px 3px;
    -moz-box-shadow: #244766 -1px 0px 3px;
    box-shadow: #244766 -1px 0px 3px;

    -webkit-transition: 0.1s linear all;
    -moz-transition: 0.1s linear all;
    -o-transition: 0.1s linear all;
    -ms-transition: 0.1s linear all;
    transition: 0.1s linear all;
}

@keyframes "labelOFF" {
    0% {
        top: 0px;
        left: 38px;
    }
    100% {
        top: 0px;
        left: 0px;
    }

}

@-moz-keyframes "labelOFF" {
    0% {
        top: 0px;
        left: 38px;
    }
    100% {
        top: 0px;
        left: 0px;
    }

}

@-webkit-keyframes "labelOFF" {
    0% {
        top: 0px;
        left: 38px;
    }
    100% {
        top: 0px;
        left: 0px;
    }

}

@-ms-keyframes "labelOFF" {
    0% {
        top: 0px;
        left: 38px;
    }
    100% {
        top: 0px;
        left: 0px;
    }

}

.checked input[type=checkbox] + label.check {
    top: 0px;
    left: 0px;

    -webkit-animation-name: labelOFF;
    -moz-animation-name: labelOFF;
    -ms-animation-name: labelOFF;
    animation-name: labelOFF;
    -webkit-animation-duration: .2s;

    -webkit-animation-iteration-count: 1;
    -moz-animation-iteration-count: 1;
    -ms-animation-iteration-count: 1;
    animation-iteration-count: 1;

    -webkit-animation-timing-function: ease-in;
    -moz-animation-timing-function: ease-in;
    -ms-animation-timing-function: ease-in;
    animation-timing-function: ease-in;

    -webkit-box-shadow: #244766 1px 0px 3px;
    -moz-box-shadow: #244766 1px 0px 3px;
    box-shadow: #244766 1px 0px 3px;

    -webkit-transition: 0.1s linear all;
    -moz-transition: 0.1s linear all;
    -o-transition: 0.1s linear all;
    -ms-transition: 0.1s linear all;
    transition: 0.1s linear all;

    margin:0;
}

.checked label.info {
    color: #EEEEEE;
    left: 50px;
    line-height: 32px;
    margin-top: 0;
    position: absolute;
    top: 0;
    width: 220px;
}
.checkedinfo {
    color: #EEEEEE;
    float: right !important;
    overflow: hidden;
    padding-right: 7px;
    padding-top: 10px;
    position: absolute;
}