#app-cover
{
    display: table;
    width: 600px;
    margin: 80px auto;
    counter-reset: button-counter;
}

.demo-toggle {float: left;width: 146px;margin-right: 35px;}

.demo-toggle .demo-text {
    float: left;
    color: hsla(0, 0%, 100%, .5);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    height: 40px;
    line-height: 40px;
}

.demo-block {
    display: none;
}

@media (min-width: 767px) and (max-width: 1130px) {
    .offline-client .demo-block {
        margin-top: -50px;
    }
}

@media (max-width: 767px) {
    .offline-client .demo-block {
        margin-top: 107px;
    }
    
    .demo-block {
        margin-top: 180px;
        /* margin-top: 162px; */
    }

    .user-no-auth .demo-block {
        width: 81px;
    }
}

@media (max-height: 696px) and (orientation: landscape) {
    .offline-client .demo-block {
        margin-top: -49px !important;
    }
    
    .demo-block {
        margin-top: 0px !important;
    }
}

@media (max-width: 1110px) {
    .demo-toggle {
        display: none;
    }

    .user-no-auth .demo-block {
        width: 100%;
        height: 49px;
    }

    .demo-block {
        display: block;
        height: 50px;
    }
    .demo-block .demo-toggle {
        display: block;
        float: right;
        margin: 8px 0px;
    }
}

.row
{
    display: table-row;
}

.toggle-button-cover
{
    display: table-cell;
    position: relative;
    width: 200px;
    height: 140px;
    box-sizing: border-box;
}

.button-cover
{
    height: 100px;
    margin: 20px;
    background-color: #fff;
    box-shadow: 0 10px 20px -8px #c5d6d6;
    border-radius: 4px;
}

.button-cover:before
{
    counter-increment: button-counter;
    content: counter(button-counter);
    position: absolute;
    right: 0;
    bottom: 0;
    color: #d7e3e3;
    font-size: 12px;
    line-height: 1;
    padding: 5px;
}

.button-cover, .knobs, .layer
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.button
{
    position: relative;
    /* top: 18px; */
    width: 74px;
    height: 36px;
    margin: 0 auto;
    overflow: hidden;
    margin-left: 9px;
}

.button.r, .button.r .layer
{
    border-radius: 40px;
}

.button.b2
{
    border-radius: 2px;
}

.checkbox
{
    position: relative;
    width: 220%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
    margin-left: -20px;
    border-radius: 40px;
}

.knobs
{
    z-index: 2;
}

.layer
{
    width: 100%;
    background-color: #242f53;
    transition: 0.3s ease all;
    z-index: 1;
}

/* Button 1 */
#button-1 .knobs:before
{
    content: 'NO';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 9px 4px;
    background-color: #f44336;
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

#button-1 .checkbox:checked + .knobs:before
{
    
    content: 'YES';
    left: 42px;
    background-color: #03A9F4;
}

#button-1 .checkbox:checked ~ .layer
{
    background-color: #242f53;
}

#button-1 .knobs {
    background-color: #242f53;
    border-radius: 40px;
}

#button-1 .knobs, #button-1 .knobs:before, #button-1 .layer
{
    transition: 0.3s ease all;
}