.load{
    width: 150px;
    height: 15px;
    margin: 0 auto;
    margin-top:100px;
}
.load span{
    display: inline-block;
    width: 15px;
    height: 100%;
    margin-right: 5px;
    border-radius: 50%;
    background: lightgreen;
    -webkit-animation: load 1.04s ease infinite;
}
.load span:last-child{
    margin-right: 0px;
}
@-webkit-keyframes load{
    0%{
        opacity: 1;
        -webkit-transform: scale(1.3);
    }
    100%{
        opacity: 0.2;
        -webkit-transform: scale(.3);
    }
}
.load span:nth-child(1){
    -webkit-animation-delay:0.13s;
}
.load span:nth-child(2){
    -webkit-animation-delay:0.26s;
}
.load span:nth-child(3){
    -webkit-animation-delay:0.39s;
}
.load span:nth-child(4){
    -webkit-animation-delay:0.52s;
}
.load span:nth-child(5){
    -webkit-animation-delay:0.65s;
}



.yun_btn {
    display: block;
    width: 100px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #000000;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2) inset;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.yun_btn span {
    display: block;
    position: absolute;
    top: 2px;
    width: 48.5px;
    height: 35px;
    background-color: #1c1d1f;
    -webkit-transition: -webkit-transform 300ms ease, box-shadow 300ms ease;
    transition: transform 300ms ease, box-shadow 300ms ease;
}
.yun_btn span:before {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-family: "Open Sans";
    font-weight: 300;
    font-size: 14px;
    -webkit-transition: text-shadow 800ms ease 100ms, color 800ms ease 100ms;
    transition: text-shadow 800ms ease 100ms, color 800ms ease 100ms;
}
.yun_btn span:after {
    content: "";
    width: 1px;
    height: 35px;
    position: absolute;
    top: 0;
    background: -webkit-radial-gradient(center, ellipse, rgba(255, 255, 255, 0.5) 0%, transparent 50%);
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5) 0%, transparent 50%);
    -webkit-transition: opacity 300ms ease;
    transition: opacity 300ms ease;
}
.yun_btn span:first-of-type {
    left: 2px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    -webkit-transform-style: preserve3d;
    transform-style: preserve3d;
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: perspective(2000px) rotateY(40deg);
    transform: perspective(2000px) rotateY(40deg);
    box-shadow: -1px 0 1px rgba(255, 255, 255, 0.1) inset, 4px 0 8px rgba(255, 255, 255, 0.1) inset, 1px 0 0 rgba(255, 255, 255, 0.1) inset, -10px 0 8px rgba(40, 42, 44, 0.9), -20px 0 8px rgba(28, 29, 31, 0.7), -30px 0 8px rgba(28, 29, 31, 0.4);
}
.yun_btn span:first-of-type:before {
    content: "ON";
    color: rgba(0, 0, 0, 0.5);
    text-shadow: 1px 4px 6px #1c1d1f, 0 0 0 #000000, 1px 4px 6px #1c1d1f;
}
.yun_btn span:first-of-type:after {
    left: -1px;
}
.yun_btn span:last-of-type {
    right: 2px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    box-shadow: -1px 1px 1px rgba(255, 255, 255, 0.1) inset, 2px 0 2px rgba(255, 255, 255, 0.05) inset;
}
.yun_btn span:last-of-type:before {
    content: "OFF";
    color: #ff4847;
    text-shadow: 0 0 24px rgba(255, 72, 71, 0.6);
}
.yun_btn span:last-of-type:after {
    right: -1px;
    opacity: 0;
}
.yun_btn input[type="checkbox"] {
    display: none;
}
.yun_btn input[type="checkbox"]:checked ~ span:first-of-type {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.1) inset, -2px 0 2px rgba(255, 255, 255, 0.05) inset;
}
.yun_btn input[type="checkbox"]:checked ~ span:first-of-type:before {
    color: #93c913;
    text-shadow: 0 0 24px rgba(147, 201, 19, 0.6);
}
.yun_btn input[type="checkbox"]:checked ~ span:first-of-type:after {
    opacity: 0;
}
.yun_btn input[type="checkbox"]:checked ~ span:last-of-type {
    -webkit-transform: perspective(2000px) rotateY(-40deg);
    transform: perspective(2000px) rotateY(-40deg);
    box-shadow: 1px 0 1px rgba(255, 255, 255, 0.1) inset, -4px 0 8px rgba(255, 255, 255, 0.1) inset, -1px 0 0 rgba(255, 255, 255, 0.1) inset, 10px 0 8px rgba(40, 42, 44, 0.9), 20px 0 8px rgba(28, 29, 31, 0.7), 30px 0 8px rgba(28, 29, 31, 0.4);
}
.yun_btn input[type="checkbox"]:checked ~ span:last-of-type:before {
    color: rgba(0, 0, 0, 0.5);
    text-shadow: 1px 4px 6px #1c1d1f, 0 0 0 #000000, 1px 4px 6px #1c1d1f;
}
.yun_btn input[type="checkbox"]:checked ~ span:last-of-type:after {
    opacity: 1;
}

