/*******************************************************
Slider B-flat - md
*******************************************************/
.switch-b {
    position: relative;
}

.switch-b input {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 0%;
    margin: 0 0;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.switch-b input + span {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.switch-b input + span:before {
    position: absolute;
    left: 0px;
    display: inline-block;
}

.switch-b input + span > h4 {
    display: inline;
}

.switch-b input + span {
    padding-left: 40px !important;
}

.switch-b input + span:before {
    content: "";
    height: 34px !important;
    width: 40px !important;
    background: rgba(82, 46, 161, 0) !important;
    /*sledzis bg off*/
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
    transition: background 0.2s ease-out;
    border: 1px solid #1a1a1a;
    /*sledzis bg border off*/
}

.switch-b input + span:after {
    width: 30px !important;
    height: 30px !important;
    position: absolute;
    left: 2px;
    top: 2px;
    display: block;
    background: #ffffff !important;
    transition: margin-left 0.1s ease-in-out;
    text-align: center;
    font-weight: bold;
    content: "";
}

.switch-b input:checked + span:after {
    margin-left: 30px !important;
    content: "";

}

.switch-b input:checked + span:before {
    transition: background 0.2s ease-in;
}

.switch-b input + span {
    padding-left: 60px !important;
}

.switch-b input + span:before {
    border-radius: 0px;
    width: 72px !important;
}

.switch-b input + span:after {
    background: #1a1a1a !important;
    /*sledzis off*/
    content: "";
    width: 30px !important;
    border: solid transparent 2px;
    background-clip: padding-box;
    border-radius: 30px;
}

.switch-b input:not(:checked) + span:after {
    -webkit-animation: popOut ease-in 0.3s normal;
    animation: popOut ease-in 0.3s normal;
}

.switch-b input:checked + span:after {
    content: "";
    margin-left: 38px !important;
    border: solid transparent 4px;
    background-clip: padding-box;
    -webkit-animation: popIn ease-in 0.3s normal;
    animation: popIn ease-in 0.3s normal;
    background: #fff !important;
    /*sledzis on*/
}

.switch-b input:checked + span:before {
    background: #1a1a1a !important;
    /*sledzis bg on*/
    border: 0px solid #fff;
    /*sledzis bg border on*/

}

.switch-b.switch-md input + span:before {
    border-radius: 30px;
}

.switch-b.switch-md input + span:after {
    border-radius: 30px;
}

.switch-b input + span:before {
    box-shadow: none;
}

.switch-md {
    line-height: 30px;
}

.switch-md input + span {
    padding-left: 60px;
}

.switch-md input + span:before {
    width: 60px;
}

.switch-md input + span:after,
.switch-md input + span:before {
    height: 30px;
    line-height: 30px;
}

.switch-md input + span:after {
    width: 30px;
    vertical-align: middle;
}

.switch-md input:checked + span:after {
    margin-left: 30px;
}


/*******************************************************
Slider B-flat - sm
*******************************************************/
.switch-m {
    position: relative;
}

.switch-m input {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 0%;
    margin: 0 0;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.switch-m input + span {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.switch-m input + span:before {
    position: absolute;
    left: 0px;
    display: inline-block;
}

.switch-m input + span > h4 {
    display: inline;
}

.switch-m input + span {
    padding-left: 40px !important;
}

.switch-m input + span:before {
    content: "";
    height: 28px !important;
    width: 40px !important;
    background: rgba(82, 46, 161, 0) !important;
    /*sledzis bg off*/
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
    transition: background 0.2s ease-out;
    border: 1px solid #1a1a1a;
    /*sledzis bg border off*/
}

.switch-m input + span:after {
    width: 24px !important;
    height: 24px !important;
    position: absolute;
    left: 2px;
    top: 2px;
    display: block;
    background: #ffffff !important;
    transition: margin-left 0.1s ease-in-out;
    text-align: center;
    font-weight: bold;
    content: "";
}

.switch-m input:checked + span:after {
    margin-left: 30px !important;
    content: "";

}

.switch-m input:checked + span:before {
    transition: background 0.2s ease-in;
}

.switch-m input + span {
    padding-left: 48px !important;
}

.switch-m input + span:before {
    border-radius: 0px;
    width: 52px !important;
}

.switch-m input + span:after {
    background: #1a1a1a !important;
    /*sledzis off*/
    content: "";
    width: 24px !important;
    border: solid transparent 2px;
    background-clip: padding-box;
    border-radius: 30px;
}

.switch-m input:not(:checked) + span:after {
    -webkit-animation: popOut ease-in 0.3s normal;
    animation: popOut ease-in 0.3s normal;
}

.switch-m input:checked + span:after {
    content: "";
    margin-left: 24px !important;
    border: solid transparent 4px;
    background-clip: padding-box;
    -webkit-animation: popIn ease-in 0.3s normal;
    animation: popIn ease-in 0.3s normal;
    background: #fff !important;
    /*sledzis on*/
}

.switch-m input:checked + span:before {
    background: #1a1a1a !important;
    /*sledzis bg on*/
    border: 0px solid #fff;
    /*sledzis bg border on*/

}

.switch-m.switch-sm input + span:before {
    border-radius: 20px;
}

.switch-m.switch-sm input + span:after {
    border-radius: 20px;
}

.switch-m input + span:before {
    box-shadow: none;
}

.switch-sm {
    line-height: 20px;
}

.switch-sm input + span {
    padding-left: 40px;
}

.switch-sm input + span:before {
    width: 40px;
}

.switch-sm input + span:after,
.switch-sm input + span:before {
    height: 20px;
    line-height: 20px;
}

.switch-sm input + span:after {
    width: 20px;
    vertical-align: middle;
}

.switch-sm input:checked + span:after {
    margin-left: 20px;
}