.webcam {
    position: relative;
}

.webcam .liveImage {
    position: relative;
    top: 0px;
    left: 0px;
}

svg.refreshTimer {
    display: block;
}

.webcam .switch {
    color: #557AB7;
}

.timer {
    fill: #557AB7;
}

.timerIcon {
    fill: #0d4099;
}

.timerBorder {
    fill: #aabedd;
}

.minibutton {
    border: 1px solid #cfdcef;
    padding: 3px 2px 3px 3px;
    border-radius: 3px;
}

.mode-label {
    color: #9eb3d6;
}

.mode-label.active {
    color: #557AB7;
}

.mode-label.active .minibutton {
    background: #cfdcef;
    padding: 3px 2px 3px 3px;
    border-radius: 3px;
}

.mode-label.live-label {
    position: relative;
    top: 3px;
}

.webcam .toolbar {
    background: #dfe6f2;
    padding: 10px;
    -webkit-border-bottom-right-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-radius-bottomright: 8px;
    -moz-border-radius-bottomleft: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;

}

.webcam .description {
    margin-left: 35px;
    padding: 2px 0px;
    margin-right: 160px;
    font-weight: normal;
    color: #557AB7;
}

.onoffswitch {
    position: relative;
    width: 30px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    top: 5px;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 0px;
    border-radius: 25px;
}

.onoffswitch-inner {
    width: 200%;
    margin-left: -100%;
    -moz-transition: margin 0.3s ease-in 0s;
    -webkit-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s;
    transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
    float: left;
    width: 50%;
    height: 16px;
    padding: 0;
    line-height: 16px;
    font-size: 14px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "";
    padding-left: 10px;
    background-color: #AABEDD;
    color: #FFFFFF;
}

.onoffswitch-inner:after {
    content: "";
    padding-right: 10px;
    background-color: #AABEDD;
    color: #999999;
    text-align: right;
}

.onoffswitch-switch {
    width: 16px;
    margin: 0px;
    background: #557AB7;
    border: 0px;
    border-radius: 25px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 14px;
    -moz-transition: all 0.3s ease-in 0s;
    -webkit-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

.onoffswitch-checkbox.checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox.checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

.toolbar .play-button {
    color: #0d4099;
    font-size: 17px;
    padding: 0px 5px;
}

.webcam .seekbar {
    background: rgba(170, 190, 221, 0.5);
    height: 7px;
    position: relative;
    top: -51px;
}

.webcam .slider {
    background: rgba(13, 64, 153, 0.9);
    height: 7px;
    width: 0%;
    position: relative;
    top: -7px
}

.webcam .buffer {
    background: rgba(13, 64, 153, 0.2);
    height: 7px;
    width: 0%;
    position: relative;
}
.webcam .loading {
    position: absolute;
    top: 0px;
    left: 0px;
    background: white;
    padding:3px;
}

.webcam .videoContainer {
    position:relative;
    top: 0px;
    left: 0px;
}

.webcam .videoContainer video, .webcam .videoContainer canvas {
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.webcam .videoContainer video {
    height: 100%;
    position: absolute;
}