#blocker {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 2;
}

#blocker:empty {
    display: none;
}

.modal:not(.changed) #saveChanges,
.modal:not(.changed) #b-dismiss,
.modal:not(.saving) #s-saving {
    display: none;
}

#callViewer:not([for="incoming"]) #call-incoming,
#callViewer:not([for="outgoing"]) #call-outgoing,
#callViewer:not([for="error"]) #call-error {
    display: none;
}

@keyframes shake {
    0% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    100% { transform: rotate(-5deg); }
}
        
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch.md {
    width: 38px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.switch.md .slider:before {
    height: 16px;
    width: 16px;
}

input:checked+.slider {
    background-color: #47bac1;
}

input:focus+.slider {
    box-shadow: 0 0 1px #47bac1;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.switch.md input:checked+.slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}
/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.error {
    color: #f44336;
}