@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");

:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #99008A;
    --first-color-light: #AFA5D9;
    --white-color: #F7F6FB;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100
}
.tab-content {
    display:none;
}
*,
::before,
::after {
    box-sizing: border-box
}

html {
    height: 100%;
    margin: 0;
}

body {
    width: 100%;
}

.main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 30px;
    margin-bottom: 0px;
    gap: 15px;
}

.purple-line {
    width: 100%;
    height: 8px;
    background-color: #99008A;
}

.main-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 30px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.part {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 50px;
}

#bluetooth-config {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    gap: 30px;
}

.row {
    padding: 3px;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}
            
@media (min-width: 600px) {
    .button-container {
        flex-direction: row;
    }
}

#forward-info {
    display: block;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    max-width: 1000px;
}

#forward-info-note {
    font-size: small;
}

#help {
    display: block;
    text-align: center;
}

#connect-info {
    display: block;
    text-align: center;
}

#scan-button {
    width: 320px;
    border-bottom: 50px;
    background-color: #99008A !important;
    color: #fff;
    padding: 10px !important;
    line-height: 1.8rem;
}

#cancel-button {
    width: 220px;
    background-color: #666 !important;
    color: #fff;
    padding: 10px !important;
    line-height: 1.8rem;
}

#send-config-button {
    width: 220px;
    background-color: #99008A !important;
    color: #fff;
    padding: 10px !important;
    line-height: 1.8rem;
}

#send-config-button:disabled {
    background-color: #666;
}

#forward-button {
    width: 280px;
    border-bottom: 50px;
    background-color: #99008A !important;
    color: #fff;
    padding: 10px !important;
    line-height: 1.8rem;
}

a {
    text-decoration: none
}

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s
}

.header_toggle {
    color: var(--first-color);
    font-size: 1.5rem;
    cursor: pointer
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}

.header_img img {
    width: 40px
}

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed)
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
}

.nav_logo,
.nav_link {
    text-decoration: unset;
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 1.5rem
}

.nav_logo {
    margin-bottom: 2rem
}

.nav_logo-icon {
    font-size: 1.25rem;
    color: var(--white-color)
}

.nav_logo-name {
    color: var(--white-color);
    font-weight: 700
}

.nav_link {
    position: relative;
    color: var(--first-color-light);
    margin-bottom: 1rem;
    transition: .3s
}

.nav_link:hover {
    color: var(--white-color)
}

.nav_icon {
    font-size: 1.25rem
}

.show {
    left: 0
}

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem)
}

.active {
    color: var(--white-color)
}

.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: 32px;
    background-color: var(--white-color)
}

.height-100 {
    height: 100vh
}

@media screen and (min-width: 768px) {
    body {
        margin: calc(var(--header-height) + 1rem) 0 0 0;
    }

    .header {
        height: calc(var(--header-height) + 1rem);
    }

    .header_img {
        width: 40px;
        height: 40px
    }

    .header_img img {
        width: 45px
    }

    .l-navbar {
        padding: 1rem 1rem 0 0
    }

    .show {
        width: calc(var(--nav-width) + 176px)
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 188px)
    }
}

@media screen and (max-width: 768px) {
    .device_setup .panel-body {
        display: block !important;
    }
    .device_setup .panel-body ul#navbarEinstellungen {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(190px,1fr));
        width: 100%;
        column-gap: 10px;
    }
    .device_setup .panel-body .tab-content {
        padding: 0 20px 20px 20px;
    }
}

body {
    background: #f8f9fa !important;
}

.mt-10 {
    margin-top: 6rem;
}

.disclaimber {
    padding: 20px;
    display: grid;
    padding-top: 0px;
}

.height-100 {
    margin-top: 4rem;
}

.navigation {
    width: unset !important;
}

.content {
    width: 100%;
}

.panel {
    max-width: 100%;
}

.panel-default>.panel-heading {
    background: #99008A !important;
    border-color: white !important;

}

.panel>.panel-heading {
    background-image: none;
    background-color: #99008A !important;
    color: whitesmoke;
    border-radius: 0;
    height: 7%;
}

.panel-blank {
    border: none;
    box-shadow: none;
}

.tab-content .active {
    color: #000 !important;
}

.tab-content .row {
    margin-top: 5px;
    margin-bottom: 5px;
}

.device_setup .panel-body nav {
    background: #f6e0f3;
    margin-right: 40px;
}

.navigation .list li:hover {
    background: #fff;
}

.navigation .list li:hover svg {
    fill: #99008A !important;
}
div#dashboard .panel .panel-body .custom-row {
    padding: 10px 20px;
}
.btn-success:focus,
.btn-success:hover,
.btn-success:active,
.btn-success:active:focus,
.btn-success:active:hover {
    background-color: #99008A;
    background-position: 0 -15px;   
    border-color: #99008A;
}

.fade:not(.show) {
    opacity: 1 !important;
}

.nav-custom {
    display: -webkit-inline-box !important;
}

.nav-custom li a {
    padding-left: 45px !important;
    padding-right: 55px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.nav-custom li a svg {
    height: 30px;
    width: 50px;
}

.nav-custom li a span {
    font-size: 20px;
    color: #000;
}

.nav-custom li.nav-item.item {
    height: 54px !important;
}

.nav-custom .nav-link.active {
    fill: #99008A;
}

#device_setup {
    width: 100%;
}

.device_setup {
    padding: 0px !important;
}

#canvas {
    height: auto !important;
    width: 100% !important;
}

#raumgeometrie {
    width: 100%;
}

#signalisierungen,
#alarmziele,
#verbindungsdetails,
#alarm_settings {
    width: 100%;
}
.nav-pills .nav-link {
    background: #fff8fe !important;
}
.nav-pills .nav-link.active {
    color: #fff !important;
    background-color: #99008A !important;
}

.nav-pills .nav-link {
    color: #99008A;
}

.device_setup .panel {
    background: #fff !important;
}

.panel.panel-blank.text-right {
    text-align: end;
    margin-top: 35px;
    padding-bottom: 35px;
}

.panel-heading {
    padding: 10px;
}

.panel-heading h3 {
    margin-bottom: 0px !important;
}

.nav-pills {
    margin-top: 10px;
}

.password-input-container {
    position: relative;
}

span.toggle-password-button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.nav-pills li a:hover {
    text-decoration: none;
    background-color: #eee;
    color: #99008A !important;
}

.form-style input {
    border: 0;
    height: 50px;
    border-radius: 0;
    border-bottom: 1px solid #ebebeb;
}

.form-style input:focus {
    border-bottom: 1px solid #007bff;
    box-shadow: none;
    outline: 0;
    background-color: #ebebeb;
}

.sideline {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ccc;
}

button {
    height: 50px;
}

.sideline:before,
.sideline:after {
    content: '';
    border-top: 1px solid #ebebeb;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
}

.sideline:after {
    margin: 0 0 0 20px;
}

.button-change {
    background-color: #99008A !Important;
    border: 1px solid #99008A !Important;
}

.button-change:hover {
    background-color: #434242 !Important;
    border: 1px solid #99008A !Important;
}

.img_changes {
    text-align: center;
}

.dropbtn {
    padding: 5px 15px !important;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    line-height: 5px;
    height: 40px;
    color: #99008a;
    min-width: 145px;
}

.dropbtn a {
    text-decoration: none;
    color: #000;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 145px;
    top: 40px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.dropbtn:hover {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.dropdown {
    display: flex;
    column-gap: 30px;
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    color: black;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

ul#navbarEinstellungen {
    margin: 0;
    padding: 20px;
}

.flex-row {
    display: inline-block !important;
    margin-right: 0px;
    width: max-content;
}

.device_setup .tab-content {
    width: 100% !important;
}

.device_setup li.nav-item {
    margin-bottom: 10px;
}

div#signalisierungen {
    margin-top: 20px;
}

#app_progress {
    display: none !important;
    position: fixed;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1000;
    background-color: #fff;
}

#app_file_progress {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 5%;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1000;
    background-color: #99008A;
}

#app_progress .progress_value {
    text-align: center;
    font-size: 5em;
    color: #fff;
}

#app_file_progress .progress_value {
    text-align: right;
    font-size: 2em;
    color: #fff;
}
.bx-x:before {
    padding-left: 30% !important;
}

.panel-body {
    padding: 20px;
}
.btn-success {
    background-image: linear-gradient(to bottom, #99008A 0, #99008A 100%) !important;
}
[type=button]:not(:disabled) {
    background-color: #99008A !important;
}
.menu-tb .nav-pills .nav-link {
    color: #fff !important;
    background-color: unset !important;
}
.checkbox-inline #checkBox {
    margin-right: 10px;
}
.display-4 {
    font-size: 2rem !important;
    font-weight: 500 !important;
    text-align: center;
    margin-bottom: 20px;
}
.stram-btn{
    width: 200px !important;
    padding: 5px !important;
    height: 35px !important;
    background-color: #99008A !important;
    border: none !important;
    line-height: 1px;
}
.nav_list .nested {
    display: none;
}

.nav_list.active .nested {
    display: block;
}
@media screen and (min-device-width: 200px) and (max-device-width: 768px) { 
.body-pd i#header-toggle {
    padding-left: calc(var(--nav-width) + 98px);
    position: absolute;
    top: 10px !important;
    z-index: 999;
    transition: .5s;
}
canvas#graphic {
    width: 100% !important;
    height: 250px !important;
}
.show {
    width: calc(var(--nav-width) + 176px);
}
.bx-x:before {
    border: 1px solid;
    padding: 5px;
    background: #fff;
    border-radius: 10px;
    padding-left: 5px !important;
}
.bx-x:before {
    top: 0px !important;
}
.bx-menu:before {
    top: 13px !important;
}
}
.canvas-btn button{
    margin-top: 5px;
    margin-bottom: 5px;
}
.hidden-section {
    display: none;
}
.right-side-header{
    display: flex;
    gap: 20px;
}
.right-side-header select#viewSelector {
    border: none;
    border-radius: 10px;
    padding-left: 20px;
    padding-right: 0px;
    color: #99008A;
    background: #F0F0F0;
    outline: none;
}
.height-new-en{
    margin-top: 4rem !important;
}
.bx-menu:before {
    content: "" !important;
    background: url('menu.png');
    width: 30px;
    height: 30px;
    background-size: 30px;
    top: 20px;
    position: absolute;
    background-repeat: no-repeat;
}
.bx-x:before {
    content: "" !important;
    background: url('close.png');
    width: 30px;
    height: 30px;
    background-size: 30px;
    top: 20px;
    position: absolute;
    background-repeat: no-repeat;
}
