

/* ===== ПЕРЕКЛЮЧАТЕЛЬ CHECKBOX ==================== */

label.switcher {
    width: 48px;
    height: 24px;
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 32px;
    overflow: hidden;
}

label.switcher input[type="checkbox"] {
    display: inline-block;
    visibility: hidden;
    width: 48px;
    height: 24px;
    margin: 0;
}

label.switcher input[type="checkbox"] + span {
    display: block;
    width: 48px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 0;
    background: #777;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s all;
}

label.switcher input[type="checkbox"]:checked + span {
    background: #FFA200;
    transition: 0.3s all;
}

label.switcher input[type="checkbox"] + span span {
    display: block;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 1px;
    top: 1px;
    background: #fff;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s all;
    box-shadow: 0 0 1px 0 rgba(0,0,0,0.5) inset;
}

label.switcher input[type="checkbox"]:checked + span span {
    top: 1px;
    left: 25px;
    transition: 0.3s all;
}

/* ======================================================= */

/* ===== ПЕРЕКЛЮЧАТЕЛЬ RADIO ==================== */

label.radio-switcher {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 30px;
    height: 30px;
    overflow: hidden;
}

label.radio-switcher img {
    margin-left: 32px;
    cursor: pointer;
}

label.radio-switcher input[type="radio"] {
    display: inline-block;
    visibility: hidden;
    width: 24px;
    height: 24px;
    margin: 0 10px 0 0;
}

label.radio-switcher input[type="radio"] + span {
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 5px;
    background: #FFA200;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s all;
}

label.radio-switcher input[type="radio"] + span span {
    display: block;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 1px;
    top: 1px;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s all;
    box-shadow: 0 0 1px 0 rgba(0,0,0,0.5) inset;
}

label.radio-switcher input[type="radio"]:checked + span span {
    background: #FFA200;
    transition: 0.3s all;
}

/* ======================================================= */


/* ======================================================= */

.btn-flat {
    background: transparent;
    border: none;
    outline: none;
    padding: 5px;
}

.btn-bw {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}

.btn-bw:hover,
.btn-bw:active,
.btn-bw:focus {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
    filter: none;
}

.panel .btn-group button.btn { margin:0; }