/*
 *
 * Main stylesheet for Switchery.
 * http://abpetkov.github.io/switchery/
 *
 */

.switchery {
    background-color: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 20px;
    cursor: pointer;
    display: inline-block;
    height: 32px;
    position: relative;
    vertical-align: middle;
   /* width: 50px;*/  /*Comment by Jay For #160627*/ 
    width: 70px;     /*Added by Jay for #160627*/
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
 /*Added by Jay for #160627*/
    background-color: #ed5565 !important;
    padding-right: 8px !important;
    box-shadow:none !important;
    /*End #160627*/
}
    .switchery > small {
        background: #fff;
        border-radius: 100%;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
        /* height: 30px;*/ /*Comment by Jay For #160627*/
        /*Added by Jay for #160627*/
        height: 26px;
        position: absolute;
        top: 3px !important;
        left: 3px;
        width: 26px;
        background-color: white !important;
        /*End #160627*/
    }

/*Added by Jay For #160627*/
input:checked + .switchery:before {
    content: "ON" !important;
    line-height: 34px;
    font-weight: 700;
    left: 15px;
    position: absolute;
    color: white;
}
.switchery:after {
    content: "OFF" !important;
    line-height: 34px;
    font-weight: 700;
    left: 36px;
    position: absolute;
    color: white;
}
input:checked + .switchery:before {
    left: 10px !important;
}
.switchery > small {
    margin-left: 3px !important;
}
input:checked + span.switchery.switchery-default,
input:checked + span.switchery.switchery-small {
    background-color: #1ab394 !important;
    box-shadow: #1ab394 0px 0px 0px 17px inset !important;
}
input + .switchery::before {
    display: block;
    margin-right: -110px !important;
}
 input:checked + .switchery:after {
    display: none;
}
.smal-switch-cms {
    display: inline-block;
}
.smal-switch-cms .switchery {
    background-color: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 20px !important;
    cursor: pointer;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 45px !important;
    height: 20px !important;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    background-color: #ed5565 !important;
    padding-right: 8px !important;
    box-shadow: none !important
 }
.smal-switch-cms .switchery > small {
    background: #fff;
    border-radius: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
    position: absolute;
    top: 2px !important;
    left: 3px;
    margin-left: 3px !important;
    background-color: #fff !important;
    width: 15px !important;
    height: 15px !important;
}
.smal-switch-cms input:checked + .switchery:before {
    content: "ON" !important;
    left: 15px;
    position: absolute;
    color: #fff;
    font-size: 10px;
    line-height: 20px;
    font-weight: bold;
}
.smal-switch-cms .switchery:after {
    content: "OFF" !important;
    line-height: 20px;
    left: 24px;
    position: absolute;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
}
.smal-switch-cms input:checked + .switchery:before {
    left: 10px !important
}
.smal-switch-cms input:checked + span.switchery.switchery-default,
.smal-switch-cms input:checked + span.switchery.switchery-small{
    background-color: #1ab394 !important;
    box-shadow: none !important;
}
.smal-switch-cms input + .switchery::before {
    display: block;
    margin-right: -110px !important
}
input:checked + .switchery:after {
    display: none
}
/*End #160627*/