.flat-toggle {
    width: 32px;
    border-radius: 4px;
    height: 10px;
    background-color: #DDD;
    position: relative;
    margin: 0;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.flat-toggle:after {
    border-radius: 100%;
    background-color: #666;
    position: absolute;
    left: 0;
    top: -3px;
    width: 15px;
    height: 15px;
    content: '';
    -webkit-transform: translate(0);
    -ms-transform: translate(0);
    transform: translateX(0);
     transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
}

.flat-toggle > span {
    margin-left: 45px;
    position: relative;
    top: -2px;
    font-size:1.5rem;
    color: #666;
    white-space: nowrap;
    display: block;
    cursor: pointer;
}

.flat-toggle:hover {
    cursor: pointer;
}

.flat-toggle:hover span {
    color: #666;
    cursor: pointer;
}

.flat-toggle.on {
    background-color: #52B959;
    transform: translate3d(0,0,0);
}

.flat-toggle.on:hover span {
    color: #52B959;
    cursor: pointer;
}

.flat-toggle.on:after {
    background-color: #298930;
    -webkit-transform: translate(17px);
    -ms-transform: translate(17px);
    transform: translateX(17px);
}

.flat-toggle.on > span {
    color:#52B959;
}
#SwitchButton {
    float: right;
    margin: 5px auto;
    width: 50%;
    clear: both;
    text-align: center;
        font-family: 'yekan';
}