/**,*/
/**:before,*/
/**:after {*/
    /*box-sizing: border-box;*/
/*}*/

.container-toggle {
    box-sizing: border-box;
    height: 96px;
    position: relative;
}

.container-toggle .switch {
    position: absolute;
    height: 80px;
    margin-left: 28px;
    width: 485px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.container-toggle .switch input {
    position: absolute;
    top: 0;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
}
.container-toggle .switch input:checked {
    z-index: 1;
}
.container-toggle .switch input:checked + label {
    opacity: 1;
    cursor: default;
}
.container-toggle .switch input:not(:checked) + label:hover {
    opacity: 0.5;
}
.container-toggle .switch label {
    color: #000;
    opacity: 0.33;
    transition: opacity 0.25s ease;
    cursor: pointer;
}
.container-toggle .switch .toggle-outside {
    height: 100%;
    border-radius: 2rem;
    padding: 0.25rem;
    overflow: hidden;
    transition: 0.25s ease all;
}
.container-toggle .switch .toggle-inside {
    border-radius: 5rem;
    background: #fff;
    position: absolute;
    transition: 0.25s ease all;
}
.container-toggle .switch-vertical input {
    height: 100%;
    width: 2rem;
    right: 0;
    margin: 0;
}
.container-toggle .switch-vertical label {
    font-size: 1.5rem;
    line-height: 3rem;
    display: block;
    height: 50%;
    text-align: left;
    width:425px;
}
.container-toggle .switch-vertical .toggle-outside {
    background: #ff9b00;
    position: absolute;
    width: 2rem;
    height: 80px;
    right: 0;
    top: 0;
}
.container-toggle .switch-vertical .toggle-inside {
    height: 1.5rem;
    left: 0.25rem;
    top: 0.25rem;
    width: 1.5rem;
}
.container-toggle .switch-vertical input:checked ~ .toggle-outside .toggle-inside {
    top: 0.25rem;
}
.container-toggle .switch-vertical input ~ input:checked ~ .toggle-outside .toggle-inside {
    top: 6rem;
}
.container-toggle .switch-no-label label {
    width: 0;
    height: 0;
    visibility: hidden;
    overflow: hidden;
}
.container-toggle .switch-no-label input:checked ~ .toggle-outside .toggle-inside {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.2);
}
.container-toggle .switch-no-label input ~ input:checked ~ .toggle-outside {
    background: #fff;
}
.container-toggle .switch-no-label input ~ input:checked ~ .toggle-outside .toggle-inside {
    background: #2ecc71;
}
.container-toggle .switch-no-label.switch-vertical {
    width: 3rem;
}
.container-toggle .switch-no-label.switch-horizontal {
    width: 6rem;
}
.container-toggle .switch-no-label.switch-horizontal input,
.container-toggle .switch-no-label.switch-horizontal .toggle-outside {
    left: 0;
}
.container-toggle .switch-expanding-inner input:checked + label:hover ~ .toggle-outside .toggle-inside {
    height: 2.5rem;
    width: 2.5rem;
}
.container-toggle .switch-expanding-inner.switch-horizontal input:hover ~ .toggle-outside .toggle-inside {
    width: 3.5rem;
}
.container-toggle .switch-expanding-inner.switch-horizontal input:hover ~ input:checked ~ .toggle-outside .toggle-inside {
    left: 2.25rem;
}
.container-toggle .switch-expanding-inner.switch-vertical input:hover ~ .toggle-outside .toggle-inside {
    height:72px;
}
.container-toggle .switch-expanding-inner.switch-vertical input:hover ~ input:checked ~ .toggle-outside .toggle-inside {
    top: 36px;
}

@media only screen and (max-width: 680px) {
    .container-toggle {
        height:220px;
    }
    .container-toggle .switch {
        margin-left: 0px;
        width:90%;
    }

    .container-toggle .switch-vertical label {
        width:80%;
        height:120px;
    }

    .container-toggle .switch-vertical input {
        height:210px
    }

    .container-toggle .switch-vertical input ~ input:checked ~ .toggle-outside .toggle-inside {
        top:19rem;
    }

    .container-toggle .switch-vertical .toggle-outside {
        height: 210px;
    }
}


/* mixin */
