/*
 * SuevaFree on-off css file
 * https://www.themeinprogress.com
 *
 * Copyright 2019, ThemeinProgress
 * Licensed under MIT license
 * https://opensource.org/licenses/mit-license.php
 */

.bool-slider {
    border: 1px solid #ddd;
    color: #fff;
    font-size: 16px;
    font-family: Verdana, Arial, sans-serif;
    height: 30px;
    width: 90px;
    border-radius: 7px;
	float:left;
	text-transform:uppercase;
	font-weight:bold;
}

.bool-slider.on .inset {
    background-color: #5096ec;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.bool-slider.on .inset .control{float: left;}
.bool-slider.on .inset .control:after {
    content: 'On';
    position: relative;
    right: -135%;
    top: 20%;
}

.bool-slider.off .inset
{
    background-color: #d7d7d6;
	color:#8b8b8b;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.bool-slider.off .inset .control{float: right;}
.bool-slider.off .inset .control:before {
    content: 'Off';
    position: relative;
    left: -110%;
    top: 20%;
}

.bool-slider .inset {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    
}

.bool-slider .inset .control {
    background-color: #000;
    width: 40%;
    height: 100%;
    border-radius: 5px;
    background-color: #f5f5f5;
}

.bool-slider .inset .control:hover {
    cursor: pointer;
}

.bool-slider.disabled {
    color: #ccc;
}

.bool-slider.disabled .inset {
  background-color: #f5f5f5;
}

.bool-slider.disabled .control {
    cursor: default;
}