﻿.switch {
    position: relative;
    display: inline-block;
    width: 85px;
    height: 35px;
}

	.switch input {
		display: none;
	}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    background-color: #ccc;
}


    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 50%;
    }


input:checked + .slider {
    background-color: #337ab7;
    /*Green- #21f243*/
}

input:focus + .slider {
	box-shadow: 0 0 1px #21f243;
}

input:checked + .slider:before {
	-webkit-transform: translateX(50px);
	-ms-transform: translateX(50px);
	transform: translateX(50px);
}
/*------ ADDED CSS ---------*/
.slider:after {
    content: 'No';
    color: black;
    display: block;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 65%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
}

input:checked + .slider:after {
    content: 'Yes';
    top: 50%;
    left: 30%;
    color: white;
}

/*--------- END --------*/

/* Rounded sliders */
.slider.round {
	border-radius: 20px;
}

	.slider.round:before {
		border-radius: 50%;
	}
 
