.circle-background {
    width: 100vw;
    height: 100vw;
    border-radius: 50%;
    left: 15vw;
    top: -15vw;
    position: fixed;
    background: #FFDB34;
    z-index: -1;
    -webkit-transition: 1s all ease;
    -o-transition: 1s all ease;
    transition: 1s all ease;
}

#html-body {
    overflow: hidden;
    margin: 0px;
}

.controlling-container {
    position: fixed;
    left: 0;
    bottom: 0;
    height: 300px;
    width: 340px;
    background: #252629;
    border-radius: 0 30px 0 0;
    padding: 10px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.controlling-button,
.controlling-button-kamera {
    position: relative;
    width: 150px;
    background: white;
    height: 50px;
    border-radius: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 5px;
    color: black;
}

.controlling-button:hover {
    cursor: pointer;
}

.controlling-button.on {
    -webkit-box-shadow: 0px 0px 16px 6px #F7FF4B;
    box-shadow: 0px 0px 16px 6px #F7FF4B;
}


@media (max-width: 1000px) {
    .circle-background {
        width: 100vh;
        height: 100vh;
        left: -20vh;
        bottom: -30vh;
        top: auto;
    }

    .controlling-container {
        max-width: 320px;
        height: 170px;
        left: 0;
        right: 0;
        margin: 0 auto;
        border-radius: 20px 20px 0 0;
        overflow: scroll;
    }

    .controlling-button-kamera, .controlling-button {
        width: 130px;
        font-size: 10px;
        height: 30px;
        margin-top: 10px;
    }
}

.loading-screen-knx {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    background: #FFDB34;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: 2s all ease;
    -o-transition: 2s all ease;
    transition: 2s all ease;
    color: white;
    font-size: 30px;
}

.loading-screen-knx.hidden {
    display: none;
}

.loading-screen-knx.out-anim {
    opacity: 0;
}

.loading-text-knx {
    -webkit-transition: 2s all ease;
    -o-transition: 2s all ease;
    transition: 2s all ease;
}

.loading-text-knx.out-anim {
    opacity: 0;
}

.switch {
    display: inline-block;
    width: 60px;
    height: 34px;
    position: relative;
}

.daynight-steuerelement {
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    right: 10px;
    top: 10px;
    padding: 10px;
    border-radius: 14px;
    background: #ffffff;
    -webkit-transition: .5s all ease;
    -o-transition: .5s all ease;
    transition: .5s all ease;
}


.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;
    -o-transition: .4s;
    transition: .4s;
}

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

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

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

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

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

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

.controlling-container.new {
    display: block;
}

.circle-background.night {
    /*background: #4f4c3d;*/
    opacity: 0.3;
}

body {
    -webkit-transition: 1s background-color ease;
    -o-transition: 1s background-color ease;
    transition: 1s background-color ease;
}

body.night {
    background: #252629;
}

.zw-heizung-anzeige {
    position: relative;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav-tabs .nav-link {
    color: #FFDB34;
}

.nav-tabs .nav-link.active {
    color: #252629;
    background: #FFDB34;
    border-color: #FFDB34;
}

.tab-content > .tab-pane.active {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 30px;
}

.controlling-container.new .nav-tabs {
    border-bottom: .5px solid #FFDB34;
}

.zw-heizung-increase,
.zw-heizung-decrease {
    border-radius: 50%;
    height: 30px;
    width: 30px;
    margin: auto 5px;
    border: 0;
    outline: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.zw-heizung-ist {
    font-size: 40px;
}

.zw-heizung-soll {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.zw-heizung-submit {
    border: none;
    outline: none;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    bottom: -50px;
}

.controlling-button.active {
    background: #FFDB34;
}

.controlling-button.rollo {
    -webkit-transition: .5s all ease;
    -o-transition: .5s all ease;
    transition: .5s all ease;
}

.controlling-button.lichter {
    height: 40px;
}

.controlling-button.lichter:last-of-type {
    width: 100%;
}

.controlling-button.rollo:last-of-type {
    width: 100%;
}

.daynight-sun {
    margin-right: 8px;
}

.daynight-moon {
    margin-left: 8px;
}