﻿html, body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    min-height: 100%;
    color: var(--ecm-primary-text-color) !important;
    background-color: #13131d;
    /*font-family: 'Segoe UI';*/
}

h1 {
    font-weight: normal;
}

.ecm-nadpis-formy-H1 {
    font-size: 1.9rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--ecm-form-BC-podNadpisem);
    text-align: center;
}

/*.ecm-registrace-podnadpis*/
.ecm-nadpis-formy-H2 {
    /*padding-top: var(--ecm-registrace-OdT-podnadpis);*/
    padding: 1.5rem 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: normal;
    text-align: center;
}

button:focus {
    outline: 0 !important;
}

.ecm-modalForm {
    color: var(--ecm-modalForm-BT) !important;
}

.ecm-successBtn {
    color: var(--ecm-successButton-BT) !important;
    background-color: var(--ecm-successButton-BP) !important;
    border: none;
    outline: 0 !important;
} 

.ecm-successBtn2 {
    color: var(--ecm-successButton2-BT) !important;
    background-color: var(--ecm-successButton2-BP) !important;
    border: none;
    outline: 0 !important;
}

.ecm-historyBtn1 {
    color: var(--ecm-successButton2-BT) !important;
    background-color: var(--ecm-successButton2-BP) !important;
    border: none;
    outline: 0 !important;
    margin-top: 5px;
}

.ecm-historyBtn2 {
    color: var(--ecm-successButton2-BT) !important;
    background-color: var(--ecm-successButton2-BP) !important;
    border: none;
    outline: 0 !important;
}

.ecm-formBtn {
    color: var(--ecm-formButton-BT) !important;
    background-color: var(--ecm-formButton-BP) !important;
    border: none;
    outline: 0 !important;
}

.ecm-form-CB {
    margin-right: 0.5rem;
    padding-bottom: 3rem !important;
    border: 1px solid green !important;
}

.ecm-login-box {
    border: 1px solid #1f1f3a;
    padding: 1rem;
}

.fill-height {
    min-height: 100%;
    height: 100%;
}

.ecm-right {
    float: right;
    margin-right: 0;
    padding-right: 0;
}

.ecmLoading {
    position: fixed;
    top: 50%;
    left: 50%;
}

.ecm-nav-fixed {
    /*background-color: var(--ecm-dark-primary-color);*/
    background-color: var(--ecm-hlMenu-BP);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 80px;
    z-index: 1000;
    /*z-index: 1000000000000;*/
    border-bottom: var(--ecm-hlMenu-TC) solid var(--ecm-hlMenu-BC);
}

.ecm-logoEMZvyr {
    font-size: var(--ecm-hlMenu-VT-EM) !important;
    color: var(--ecm-hlMenu-BT-logoZvyrPismeno) !important;
}

.ecm-mainLogo {
    width: 100%;
    max-width: 310px;
    height: 80px;
    color: var(--ecm-hlMenu-BT-EM);
    font-size: var(--ecm-hlMenu-VT-EM);
    text-decoration: none;
    margin-right: 20px;
    background-image: url('/img/logoECM-marfy.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.ecm-mainLogo a {
    width: 100%;
    height: 100%;
    display: block;
}

.ecm-mainNav-item {
    text-align: left;
    white-space: nowrap;
}

.ecm-mainNav-item a {
    color: var(--ecm-hlMenu-BT-ikony);
}

.ecm-mainNav-item-button {
    color: #6c757d !important;
}

.ecm-dropdown-icon {
    width: 20px;
    height: 20px;
    color: #6c757d !important;
}

.ecm-mainNav-mobil {
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 5px;
    background-color: var(--ecm-hlMenu-BP-mobil) !important;
    overflow: auto;
    padding-bottom: 5px;
}

.ecm-mainNav-mobil::-webkit-scrollbar {
    height: 4px;
}

.ecm-mainNav-mobil-ul-logged-out {
    padding-left: 15px;
}

.ecm-mainNav-mobil-ul-logged-in {
    padding-left: 5px;
}

.ecm-mobileNav-button {
    color: var(--ecm-hlMenu-BT-ikony) !important;
}

.ecm-pageButtonsHighLigh {
    border-bottom: 2px solid rgb(51, 242, 24) !important;
}

/*.ecm-pageButtons:hover {
    border-bottom: 2px solid rgb(51, 242, 24) !important;
}*/
.ecm-webButtons {
    color: var(--ecm-hlMenu-BT-tlacitka-mar-sca) !important;
}

.ecm-editorButton {
    color: var(--ecm-hlMenu-BT-tlacitko-editor) !important;
}

.ecm-pageButtons {
    box-shadow: none !important;
    border-radius: unset;
}

#ecm-pageButtons {
    padding-left: 15px;
    padding-right: 15px;
}

#dataBtn {
    padding-left: 30px;
}

#ecm-mainNav-alarmy {
    padding-right: 10px;
}

.ecm-mainNav-textIcons {
    color: var(--ecm-hlMenu-BT-ikony) !important;
}

.ecm-mainNav-rightIcon a {
    color: var(--ecm-hlMenu-BI-vpravo) !important;
}

.ecm-mainNav-leftIconColor {
    color: var(--ecm-hlMenu-BI-vlevo) !important;
}

.ecm-mainNav-rightIcon {
    color: var(--ecm-hlMenu-BI-vpravo) !important;
}

.ecm-mainNav-rightIcon .nav-link {
    color: var(--ecm-hlMenu-BI-vpravo) !important;
}

a.ecm-mainNav-rightIcon {
    color: var(--ecm-hlMenu-BI-vpravo) !important;
}

.ecm-mainNav-container {
    background-color: var(--ecm-hlMenu-BP-mobil) !important;
    text-align: center;
    height: 60px;
    z-index: 1000000000;
}

.ecm-nav {
    /*background-color: var(--ecm-dark-primary-color);*/
    background-color: var(--ecm-hlMenu-BP);
    /*position:fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 80px;*/
}

.ecm-footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 50px;
    z-index: 100;
    text-align: center;
    font-size: var(--ecm-hlZapati-VT);
    color: var(--ecm-hlZapati-BT);
    /*background-color: var(--ecm-dark-primary-color);*/
    /*background-color: var(--ecm-hlZapati-BP);*/
    background-color: var(--ecm-hlZapati-BP);
    margin: 0;
    padding: 15px;
    border-top: solid var(--ecm-hlZapati-TC-nadZapatim) var(--ecm-hlZapati-BC-nadZapatim);
}



.ecm-mainContentContainer {
    position: fixed;
    top: 80px;
    left: 0px;
    bottom: 50px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.ecm-mainContentContainer-unsigned {
    position: fixed;
    top: 80px;
    left: 0px;
    right: 0px;
    bottom: 50px;
    overflow-y: auto;
    margin: auto;
    color: #eaeaf5;
    background-image: radial-gradient(rgb(26, 26, 44), rgb(24, 24, 41), rgb(19, 19, 29), rgb(19, 19, 29)) !important;
}

.ecm-mainContentContainer-unsigned h1 {
    color: rgb(51, 242, 24);
}

.ecm-cesta-lomitko {
    color: var(--ecm-hlObsah-BT-cestaLomitko) !important;
}

.ecm-cesta-lomitko:hover {
    color: var(--ecm-hlObsah-BT-cestaLomitko) !important;
}

.ecm-centered {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.ecm-treeViewColumn {
    float: left;
    height: 100%;
    overflow: auto;
    background-color: var(--ecm-treeList-BP);
    min-width: 100%;
    max-width: 100% !important;
    width: 300px;
    position: relative;
}


@media only screen and (min-width: 768px) {
    .ecm-treeViewColumn {
        position: static;
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media only screen and (min-width: 576px) {
    .ecm-treeViewColumn {
        position: static;
        max-width: 70%;
    }
}

@media only screen and (max-width: 575px) {
    .ecm-treeViewColumn {
        position: absolute !important;
        width: 0%;
        min-width: 0%;
        max-width: 100%;
        z-index: 999;
        top: 0px;
        left: 0;
        bottom: 00px;
        transition: width 0.3s ease;
    }

    .ecm-treeViewColumn.mobile-tree-visible {
        width: 80% !important;
        min-width: 250px;
        background-color: var(--ecm-treeList-BP);
        box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    }
}

@media only screen and (max-width: 767px) {
    .ecm-treeViewColumn {
        width: 0%;
        min-width: 0%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 575px) {
    .mobile-tree-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        display: none;
    }

    .mobile-tree-overlay.active {
        display: block;
    }
}

/*.ecm-treeViewColumn {
    position: fixed;
    top: 80px;
    left: 0px;
    bottom: 50px;
    width: 20%;
    overflow: auto;
    resize: horizontal;
    background-color: var(--ecm-treeList-BP);
    border-right: var(--ecm-treeList-TC-vpravo) solid var(--ecm-treeList-BC-vpravo);
}*/

.ecm-treeViewCB {
    color: var(--ecm-treeList-BT-CB);
    border: var(--ecm-treeList-TOKR-CB) solid var(--ecm-treeList-BOKR-CB);
    margin-top: 5px !important;
    z-index: 1000001;
}

.ecm-dashViewCB {
    color: var(--ecm-treeList-BT-CB);
    border: var(--ecm-treeList-TOKR-CB) solid var(--ecm-treeList-BOKR-CB);
    margin-top: 5px !important;
}

.ecm-treeViewRow {
    color: var(--ecm-treeList-BT);
}

.ecm-treeViewRow:hover {
    color: var(--ecm-treeList-BT);
}



.ecm-treeViewIcon {
    color: var(--ecm-treeList-BI);
    width: 20px;
    height: 20px;
    margin-left: 2px;
    margin-right: 5px;
}

.ecm-treeViewArrow {
    color: var(--ecm-treeList-BSIP);
}

.ecm-treeView-vybrana {
    background-color: var(--ecm-treeList-BP-vybrana);
    /*background-image: linear-gradient(to right, rgb(19, 19, 29),rgb(49, 49, 75), rgb(19, 19, 29));*/
    color: var(--ecm-treeList-BP);
}

.ecm-treeView-nevybrana {
    background-color: var(--ecm-treeList-BP);
    /*background-image: linear-gradient(to right, rgb(19, 19, 29),rgb(35, 35, 53), rgb(19, 19, 29));*/
    color: var(--ecm-treeList-BP-vybrana);
}

.ecm-treeView-td button {
    outline: none;
    box-shadow: none;
}

.ecm-treeView-td button:hover {
    outline: none;
    box-shadow: none;
}

.ecm-mainContent {
    /*position: fixed;
    top: 80px;
    right: 0;
    bottom: 50px;*/
    /*float: left;*/
    /*width: 80%;*/
    height: 100%;
    /*overflow-y: auto;*/
    /*overflow-x: hidden;
    overflow-y: auto;*/
    overflow: auto;
    background-color: var(--ecm-hlObsah-BP);
    background-image: radial-gradient(rgb(26, 26, 44), rgb(24, 24, 41), rgb(19, 19, 29), rgb(19, 19, 29));
    /*resize: horizontal;*/
}

.ecm-mainContentRow {
    overflow: auto;
}

/*.ecm-mainContent {
    position: fixed;
    top: 80px;
    right: 0;
    bottom: 50px;
    width: 80%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--ecm-hlObsah-BP);
    resize: horizontal;
}*/

.ecm-content {
    position: fixed;
    top: 80px;
    left: 0;
    bottom: 50px;
    width: 100%;
    /*overflow-y: auto;
    overflow-x: hidden;*/
    overflow: hidden;
    background-color: var(--ecm-hlObsah-BP);
}

.ecm-mainContent-H1 {
    font-size: var(--ecm-hlObsah-VT-nadpis) !important;
    color: var(--ecm-hlObsah-BT-nadpis);
    border-bottom: var(--ecm-hlObsah-TC-podNadpisem) solid var(--ecm-hlObsah-BC-podNadpisem);
    padding-top: 3px;
}

.ecm-tree-button-right {
    margin-right: 0px;
    position: fixed;
    padding-left: 10px;
    display: none;
    float: left;
    margin-top: 3px;
}

.ecm-mainContent-row {
    justify-content: center;
}

.ecm-mainContent-row-button {
    padding: 0;
    height: 40px;
    z-index: 1000;
    float: left;
}

.ecm-mainContent-H1:after {
    display: block;
    height: 1px;
    background-color: var(--ecm-hlObsah-BC-podNadpisem);
    content: " ";
    width: 200px;
    margin: 0 auto;
    margin-top: 20px;
}

.ecm-mainContent-path {
    color: var(--ecm-hlObsah-BT-cesta);
}

.ecm-mainContent-path:hover {
    color: var(--ecm-hlObsah-BC-podNadpisem);
}

.ecm-mainContent-icon {
    color: var(--ecm-hlObsah-BI);
    padding-right: 10px;
}

.ecm-mainContent-iconText, .ecm-mainContent-iconText:hover {
    color: var(--ecm-hlObsah-BT-ikony);
    outline: 0 !important;
}


/* ------------------ */
/*     SCROLLBARS     */
/* ------------------ */
/* Works on Firefox */
/** {
    scrollbar-width: thin;
    scrollbar-color: blue orange;
}*/

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--ecm-scrollbarColor);
    border-radius: 20px;
    border: 0px;
}

.notification {
    /*background-color: #555;*/
    color: black;
    text-decoration: none;
    padding: 15px 26px;
    padding: 10px 10px 0 0;
    position: relative;
    display: inline-block;
    border-radius: 2px;
}

/*    .notification:hover {
    background: red;
}*/

.notification .badge {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 5px 7px;
    border-radius: 50%;
    background-color: red;
    color: white;
}

/*----------------------------------------*/
/*                CARD ELEMENT            */
/*----------------------------------------*/

.ecm-karty {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    text-align: center;
}

.ecm-karta {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    padding: 10px;
    width: var(--ecm-karta-SIRKA);
}

.ecm-card {
    background-color: var(--ecm-karta-BP-zapisNoveHodnoty);
    border-radius: var(--ecm-karta-ZAOBL);
    border-color: var(--ecm-karta-BCOKR);
    /*width: 90%;*/
    width: 100%;
    margin-bottom: 30px;
    /* box-shadow: 0 1px 1px rgb(205, 208, 252); */
}

.ecm-card-title {
    margin: 0px;
    padding: 10px 6px;
    /*border-top-left-radius: 20px;
    border-top-right-radius: 20px;*/
    background-color: var(--ecm-karta-BP-zahlavi);
    /* background-image:linear-gradient(to right, rgb(58, 57, 75),rgb(35, 35, 53), rgb(35, 35, 53), rgb(35, 35, 53), rgb(58, 57, 75)); */
    /* background-image:linear-gradient(to right, rgb(35, 35, 53), rgb(19, 19, 29), rgb(35, 35, 53)); */
    font-size: var(--ecm-karta-VT-zahlavi);
    vertical-align: central;
    color: var(--ecm-karta-BT-zahlavi);
    /* font-weight: bold; */
    border-bottom: var(--ecm-karta-TC-podZahlavim) solid var(--ecm-karta-BC-podZahlavim);
}

.ecm-card-title-warning {
    color: #bd2000;
    font-size: 120%;
    /* font-weight: bold; */
}

.ecm-warning-text-color {
    color: #bd2000;
}

.ecm-card-body {
    padding: var(--ecm-karta-PD-obsah);
    background-color: var(--ecm-karta-BP-obsah);
    border-bottom: var(--ecm-karta-TC-nadPatickou) solid var(--ecm-karta-BC-nadPatickou);
}

.ecm-card-name {
    padding: var(--ecm-karta-PD-nadpis);
    margin: var(--ecm-karta-MG-nadpis) !important;
    color: var(--ecm-karta-BT-nadpis);
    line-height: var(--ecm-karta-VT-nadpis);
    font-size: var(--ecm-karta-VT-nadpis);
    font-weight: normal;
    /*font-weight:bold;*/
}

.ecm-card-name-warning {
    padding: var(--ecm-karta-PD-nadpis);
    margin: var(--ecm-karta-MG-nadpis) !important;
    color: var(--ecm-karta-BT-nadpis-chybi);
    font-size: var(--ecm-karta-VT-nadpis);
    /*font-weight: bold;*/
}


.ecm-card-last-value {
    color: var(--ecm-karta-BT-hodnota);
    font-size: var(--ecm-karta-VT-hodnota);
    /* font-weight: bold; */
}

.ecm-card-unit {
    color: var(--ecm-karta-BT-jednotka);
    font-size: var(--ecm-karta-VT-jednotka);
}

.ecm-card-dateTime {
    margin: var(--ecm-karta-MG-datumCas);
    color: var(--ecm-karta-BT-datumCas);
    font-size: var(--ecm-karta-VT-datumCas) !important;
}

.ecm-card-dateTime-warning {
    background-color: var(--ecm-karta-BP-obsah);
    color: var(--ecm-karta-BT-datumCas-chybi) !important;
    font-size: var(--ecm-karta-VT-datumCas) !important;
    margin: 0px;
    padding: 6px;
}

.ecm-card-btnHistory {
    width: var(--ecm-karta-SIRKA-btnHistorie);
    height: var(--ecm-karta-VYSKA-btnHistorie);
    /*line-height: var(--ecm-karta-VYSKA-btnHistorie);*/
    font-size: var(--ecm-karta-VT-btnHistorie);
    color: var(--ecm-karta-BT-btnHistorie) !important;
    background-color: var(--ecm-karta-BP-btnHistorie) !important;
    display: inline-flex;
    align-items: center;
    text-align: center;
    margin: -3px 0 0 0;
}

.ecm-card-btnShowDevice {
    width: var(--ecm-karta-SIRKA-btnZobrZarizeni);
    height: var(--ecm-karta-VYSKA-btnZobrZarizeni);
    font-size: var(--ecm-karta-VT-btnZobrZarizeni);
    line-height: var(--ecm-karta-VT-btnZobrZarizeni) !important;
    color: var(--ecm-karta-BT-btnZobrZarizeni) !important;
    background-color: var(--ecm-karta-BP-btnZobrZarizeni) !important;
    border: 1px solid var(--ecm-karta-BC-btnZobrZarizeni) !important;
    align-items: center;
    text-align: center;
    margin: 0px 20px 0 20px;
}

.ecm-card-primMereni {
    display: inline-block;
    margin: 0px;
    padding: 2px 0 0 30px !important;
    font-size: var(--ecm-karta-VT-primMereni);
    color: var(--ecm-karta-BT-primMereni) !important;
}

.ecm-card-footer {
    padding: 5px;
    background-color: var(--ecm-karta-BP-paticka);
    vertical-align: central;
    color: var(--ecm-karta-BT-footer);
}

.ecm-card-newValueContent {
    padding: 8px 35px 5px 35px;
}

.ecm-card-valueUnit {
    font-size: 250%;
    padding-bottom: 50px;
    /*font-weight: bold;*/
}

.ecm-card-btnEdit, .ecm-card-btnDelete {
    padding: 0 10px 0 10px !important;
    margin: -3px 0 0 0;
}

.ecm-card-icon {
    display: inline-block;
    color: var(--ecm-karta-BI-paticka);
}

.ecm-card-newValueLabel {
    padding: 0px 0px 5px 0px;
    margin: 0px 0px 0px 0px;
    color: var(--ecm-karta-BT-labelNovaHodnota);
    font-size: var(--ecm-karta-VT-labelNovaHodnota);
}

.ecm-card-newValueDTLabel {
    padding: 5px 0px 5px 0px;
    margin: 0px 0px 0px 0px;
    color: var(--ecm-karta-BT-labelNovaHodnotaDT);
    font-size: var(--ecm-karta-VT-labelNovaHodnotaDT);
}

.ecm-card-newValueInput {
    color: var(--ecm-karta-BT-inputNovaHodnota) !important;
    border: 1px solid var(--ecm-karta-BC-inputNovaHodnota) !important;
    background-color: var(--ecm-karta-BP-inputNovaHodnota) !important;
}

.ecm-card-newValueDTInput {
    color: var(--ecm-karta-BT-inputDatumCas) !important;
    border: 1px solid var(--ecm-karta-BC-inputDatumCas) !important;
    background-color: var(--ecm-karta-BP-inputDatumCas) !important;
}


/*----------------------------------------*/
/*--------------- Management -------------*/
/*----------------------------------------*/
.sidenav {
    margin: 0;
    height: calc(100% - 130px);
    width: 20%;
    top: 80px;
    position: absolute;
    left: 0;
    z-index: 1;
    background-color: var(--ecm-menuNastaveni-BP);
    overflow-x: hidden;
    text-align: center;
    border-right: var(--ecm-menuNastaveni-TC-vpravo) solid var(--ecm-menuNastaveni-BC-vpravo);
}

.btn-sidenav {
    margin: 0;
    padding: 6px 6px 6px 6px;
    text-decoration: none;
    font-size: var(--ecm-menuNastaveni-VT);
    color: var(--ecm-menuNastaveni-BT-btnNeakt);
    display: block;
    /*border-bottom: 1px solid var(--ecm-primary-background-color);*/
    border-bottom: var(--ecm-menuNastaveni-TC) solid var(--ecm-menuNastaveni-BC);
}

.btn-sidenav:hover {
    /*margin: 0;
padding: 6px 6px 6px 6px;
text-decoration: none;
font-size: var(--ecm-menuNastaveni-VT);*/
    color: var(--ecm-menuNastaveni-BT-btnAkt);
    text-decoration: none;
    /*display: block;*/
}

/*.sidenav a:hover,
.sidenav a:active {
    padding: 6px 6px 6px 6px;
    text-decoration: none;
    font-size: 18px;
    display: block;
    color: #000;
}*/
.btn-sidenav-active {
    color: var(--ecm-menuNastaveni-BT-btnAkt);
    background-color: var(--ecm-menuNastaveni-BP-btnAkt);
    pointer-events: none;
}

.ecm-managementContent {
    position: fixed;
    top: 80px;
    right: 0;
    bottom: 50px;
    width: 80%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--ecm-obsahNastaveni-BP);
    background-image: radial-gradient(rgb(26, 26, 44), rgb(24, 24, 41), rgb(19, 19, 29), rgb(19, 19, 29)) !important;
}

.ecm-management-title {
    color: var(--ecm-obsahNastaveni-BT-nadpis);
    font-size: var(--ecm-obsahNastaveni-VT-nadpis);
    border-bottom: var(--ecm-obsahNastaveni-TC-podNadpisem) solid var(--ecm-obsahNastaveni-BC-podNadpisem);
}

.ecm-history-title {
    color: var(--ecm-obsahNastaveni-BT-nadpis);
    font-size: var(--ecm-obsahNastaveni-VT-nadpis);
    border-bottom: var(--ecm-obsahNastaveni-TC-podNadpisem) solid var(--ecm-obsahNastaveni-BC-podNadpisem);
}

.ecm-history-title:after {
    display: block;
    height: 1px;
    background-color: var(--ecm-obsahNastaveni-BC-podNadpisem);
    content: " ";
    width: 200px;
    margin: 0 auto;
    margin-top: 20px;
}

.ecm-management-title:after {
    display: block;
    height: 1px;
    background-color: var(--ecm-obsahNastaveni-BC-podNadpisem);
    content: " ";
    width: 200px;
    margin: 0 auto;
    margin-top: 20px;
}

.ecm-management-cbLabel {
    color: var(--ecm-obsahNastaveni-BT-CBLabelNadTab);
    font-size: var(--ecm-obsahNastaveni-VT-CBLabelNadTab);
}

.ecm-management-tableTitle {
    color: var(--ecm-obsahNastaveni-BT-nadpisTab);
    font-size: var(--ecm-obsahNastaveni-VT-nadpisTab);
}

.ecm-management-table {
    background-color: var(--ecm-obsahNastaveni-BP-radek1Tab);
    color: var(--ecm-obsahNastaveni-BT-Tab);
    font-size: var(--ecm-obsahNastaveni-VT-Tab);
    border-collapse: collapse;
}

.ecm-management-tabHeader {
    background-color: var(--ecm-obsahNastaveni-BP-zahlaviTab);
    color: var(--ecm-obsahNastaveni-BT-zahlaviTab);
    font-size: var(--ecm-obsahNastaveni-BT-zahlaviTab);
}


.ecm-management-table th,
.ecm-management-table tr,
.ecm-management-table td {
    border: 1px solid var(--ecm-obsahNastaveni-BC-Tab) !important;
}

.ecm-management-table th {
    font-weight: normal;
}

.ecm-history-tableTitle {
    color: var(--ecm-obsahNastaveni-BT-nadpisTab);
    font-size: var(--ecm-obsahNastaveni-VT-nadpisTab);
}


.ecm-alarm-table-activity {
    width: 10%;
}


.ecm-mainContent-posouvac {
    width: 1px;
    height: 100%;
    background-color: var(--ecm-treeList-BC-vpravo);
    margin-left: auto;
    margin-right: auto;
}

.dropdown-item {
    color: #6c757d !important;
}

.ecm-history-table {
    background-color: var(--ecm-obsahNastaveni-BP-radek1Tab);
    color: var(--ecm-obsahNastaveni-BT-Tab);
    font-size: var(--ecm-obsahNastaveni-VT-Tab);
    border-collapse: collapse;
}

.ecm-history-table th,
.ecm-history-table tr,
.ecm-history-table td {
    border: 1px solid var(--ecm-obsahNastaveni-BC-Tab) !important;
}

.ecm-history-table th {
    font-weight: normal;
}

.treeview {
    padding-left: 2%;
    padding-right: 2%;
}

#mobile-select {
    padding-left: 2%;
    padding-right: 2%;
}
/*treeList table*/
.ecm-treeList-table {
    /*background-color: var(--ecm-treeList-BP);*/
    /* background-image:linear-gradient(to right, rgb(19, 19, 29),rgb(35, 35, 53), rgb(19, 19, 29)); */
    /*background-color: rgb(229, 255, 180);*/
    /*max-width: 300px;*/
    min-width: 100px;
    margin: 0px;
    border-top: 1px solid var(--ecm-treelist-BC-radky);
    border-bottom: 1px solid var(--ecm-treelist-BC-radky);
    border-collapse: collapse;
    /*border: 1px solid rgb(47, 129, 0);
    border-collapse: collapse;*/
}

.ecm-treeList-table tr {
    padding: 20px 0px;
    /*border: 1px solid rgb(47, 129, 0);
border-collapse: collapse;*/
    border-top: 1px solid var(--ecm-treelist-BC-radky);
    border-bottom: 1px solid var(--ecm-treelist-BC-radky);
    border-collapse: collapse;
}

.ecm-treeList-table td {
    padding: 10px 0px;
    border-top: 1px solid var(--ecm-treelist-BC-radky);
    border-bottom: 1px solid var(--ecm-treelist-BC-radky);
    border-collapse: collapse;
}

.ecm-treeList-table-level0 td {
    padding-left: 3px;
    background-color: var(--ecm-treeList-BP);
}

.ecm-treeList-table-level1 td {
    background-color: var(--ecm-treeList-BP);
}

.ecm-treeList-table-level2 td {
    background-color: var(--ecm-treeList-BP);
}

.ecm-treeList-table-level1 td:first-child {
    padding-left: 15px;
}

.ecm-treeList-table-level2 td:first-child {
    padding-left: 50px;
}

.ecm-treeList-table-collapse .ecm-treeList-table-toggle {
    cursor: pointer;
}

.ecm-treeList-table-expand .ecm-treeList-table-toggle {
    cursor: pointer;
    transform: rotate(-90deg) translate(-4px, -1px);
}

.ecm-treeList-table-toggle {
    height: 9px;
    width: 9px;
    display: inline-block;
    user-select: none;
    transition: 0.2s;
    cursor: pointer;
    padding: 9px 9px;
    box-sizing: content-box;
    border-radius: 3px;
}


.ecm-button:focus, .ecm-button:active {
    outline: none !important;
    box-shadow: none;
}



/* FONT-AWESOME ICONS*/
.icon-cog {
    color: #333;
}

.fa-cog {
    color: #333;
}

/*          FORMS          */
/*.selectInLine {
    display: inline-block;
}*/




@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}


/*----------------------------------------*/
/*--------------- Dashboards -------------*/
/*----------------------------------------*/


.ecm-dashboard-CB {
    display: inline-flex;
    cursor: pointer;
    position: relative;
}

.ecm-dashboard-CB > span {
    /*color: var(--ecm-dashboard-BC-filtr);*/
    color: var(--ecm-dashboard-BT-filtr);
    padding: 0 1rem !important;
    font-weight: normal;
}

.ecm-dashboard-CB > input {
    height: var(--ecm-dashboard-SIRKA-filtrCB);
    width: var(--ecm-dashboard-VYSKA-filtrCB);
    -webkit-appearance: none;
    -moz-appearance: none;
    /*-o-appearance: none;
appearance: none;*/
    border: 1px solid var(--ecm-dashboard-BC-filtrCB);
    border-radius: 4px;
    /* outline: none; */
    transition-duration: 0.3s;
    /*background-color: var(--ecm-dashboard-BP-filtrCB);*/
    cursor: pointer;
}

.ecm-dashboard-CB > input:checked {
    border: 1px solid var(--ecm-dashboard-BC-filtrCB);
    border-radius: 4px;
    /*background-color: var(--ecm-dashboard-BC-filtr);*/
}

.ecm-dashboard-CB > input:checked + span::before {
    content: '\2713';
    display: block;
    text-align: center;
    font-size: var(--ecm-dashboard-VT-filtrCB);
    /* color: var(--ecm-dashboard-BC-filtr); */
    color: var(--ecm-dashboard-BF-filtrCB);
    position: absolute;
    left: var(--ecm-dashboard-LEFT-filtrCB);
    top: var(--ecm-dashboard-TOP-filtrCB);
    font-weight: bold;
}

.ecm-dashboard-CB > input:active {
    /*border: 1px solid var(--ecm-dashboard-BC-filtr);*/
    border: 1px solid var(--ecm-dashboard-BC-filtrCB);
    cursor: pointer;
}

.ecm-dashboard-CB > input:disabled {
    /*border: 1px solid var(--ecm-dashboard-BC-filtr);*/
    border: 1px solid var(--ecm-dashboard-BT-filtr-neaktiv);
    cursor: default;
}

.ecm-dashboard-filtrCB {
    border-color: var(--ecm-dashboard-BC-filtr);
}

.ecm-dashboard-filtr {
    padding: 4px 25px !important;
    color: var(--ecm-dashboard-BT-filtr) !important;
}

.ecm-dashboard-BT-filtr {
    color: var(--ecm-dashboard-BT-filtr) !important;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    bottom: 0.8em;
}

.ecm-dashboard-BT-filtr-disabled {
    color: var(--ecm-dashboard-BT-filtr-neaktiv) !important;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ecm-dashboard-filtr:not(:last-child) {
    border-bottom: 1px solid var(--ecm-dashboard-BC-meziFiltry);
}






.ecm-dashboard-kartaGrafLista-CB {
    display: inline-flex;
    cursor: pointer;
    position: relative;
    float: right;
    padding: 2px 0 0 0 !important;
}

.ecm-dashboard-kartaGrafLista-CB > span {
    /*color: var(--ecm-dashboard-BC-filtr);*/
    color: var(--ecm-dashboard-BT-filtr);
    padding: var(--ecm-dashboard-PD-filtr) !important;
    font-weight: normal;
}

.ecm-dashboard-kartaGrafLista-CB > input {
    height: var(--ecm-dashboard-SIRKA-kartaGrafLista-filtrCB);
    width: var(--ecm-dashboard-VYSKA-kartaGrafLista-filtrCB);
    -webkit-appearance: none;
    -moz-appearance: none;
    /*-o-appearance: none;
appearance: none;*/
    border: 1px solid var(--ecm-dashboard-BC-filtrCB);
    border-radius: 4px;
    /* outline: none; */
    transition-duration: 0.3s;
    /*background-color: var(--ecm-dashboard-BP-filtrCB);*/
    cursor: pointer;
}

.ecm-dashboard-kartaGrafLista-CB > input:checked {
    border: 1px solid var(--ecm-dashboard-BC-filtrCB);
    border-radius: 4px;
    /*background-color: var(--ecm-dashboard-BC-filtr);*/
}

.ecm-dashboard-kartaGrafLista-CB > input:checked + span::before {
    content: '\2713';
    display: block;
    text-align: center;
    font-size: var(--ecm-dashboard-VT-kartaGrafLista-filtrCB);
    /* color: var(--ecm-dashboard-BC-filtr); */
    color: var(--ecm-dashboard-BF-filtrCB);
    position: absolute;
    left: var(--ecm-dashboard-LEFT-kartaGrafLista-filtrCB);
    top: var(--ecm-dashboard-TOP-kartaGrafLista-filtrCB);
    font-weight: bold;
}

.ecm-dashboard-kartaGrafLista-CB > input:active {
    /*border: 1px solid var(--ecm-dashboard-BC-filtr);*/
    border: 1px solid var(--ecm-dashboard-BC-filtrCB);
}

.ecm-dashboard-kartaGrafLista-CB > input:disabled {
    /*border: 1px solid var(--ecm-dashboard-BC-filtr);*/
    border: 1px solid rgb(26, 26, 44);
}

.ecm-dashboard-BT-kartaGrafLista-filtr {
    color: var(--ecm-dashboard-BT-filtr) !important;
    cursor: pointer;
    font-size: 0.7rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    bottom: 0.8em;
}

.ecm-dashboard-BT-kartaGrafLista-filtr-disabled {
    color: rgb(75, 75, 107) !important;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}






.ecm-dashboard-hlavicka {
    grid-area: header;
}

.ecm-dashboard-filtryKategorieBtn {
    background-color: var(--ecm-dashboard-BP-filtryKategorie);
    color: var(--ecm-dashboard-BT-filtryKategorie);
    cursor: pointer;
    padding: 7px 25px !important;
    width: 100%;
    border: none;
    border-top: 1px solid var(--ecm-dashboard-BC-filtryKategorie);
    border-bottom: 1px solid var(--ecm-dashboard-BC-filtryKategorie);
    text-align: left;
    outline: none;
    font-size: var(--ecm-dashboard-VT-filtryKategorie);
}

.ecm-dashboard-filtryKategorieAktivni, .ecm-dashboard-filtryKategorieBtn:hover {
    background-color: var(--ecm-dashboard-BP-filtryKategorie-najeto);
}

/* .filterContent {
    padding: 20px 18px !important;
    display: none;
    overflow: auto;
    background-color: #f1f1f1;
} */

.filterContent {
    padding: 7px 18px !important;
    display: none;
    overflow: auto;
    background-color: var(--ecm-dashboard-BP-filtryObsah);
}

.ecm-barvaIkonySvetla {
    color: var(--ecm-dashboard-BI-kartaGrafLista);
}

.ecm-dashboard-kartaGraf {
    /* border: 1px solid var(--ecm-dashboard-BC-kartaGraf);*/
    padding: 0 !important;
    margin: 0 !important;
}

.ecm-dashboard-kartaGrafListaBtn {
    padding: 0px !important;
    margin: 0px 0px 0px 3px !important;
    background-color: transparent;
    border: none;
    outline: none;
}

.ecm-dashboard-kartaGrafLista {
    height: 29px;
    background-color: var(--ecm-dashboard-BP-kartaGrafLista);
    /*border: 1px solid var(--ecm-dashboard-BC-kartaGrafLista);*/
    color: var(--ecm-dashboard-BT-kartaGrafLista);
    padding: 3px 3px 3px 10px !important;
    margin: 0px !important;
}

.ecm-dashboard-kartaGrafLista-nazevGrafu {
    /* width:150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
    float: left;
}

.ecm-dashboard-kartaGrafObsah {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    /* transition: 0.3s; */
    margin: 0;
    padding: 0;
    border: 1px solid var(--ecm-dashboard-BC-kartaGraf);
    background-color: var(--ecm-dashboard-BP-kartaGraf);
}

.ecm-dashboard-grafy {
    grid-area: content;
    height: 100%;
    width: 100%;
    padding: 0px;
    /* overflow: hidden;  */
    /* border: 1px solid var(--ecm-dashboard-BC-grafy); */
    background-color: var(--ecm-dashboard-BP-grafy);
    margin: 0px !important;
    padding: 0px !important;
}

.ecm-dashboard-filtry {
    grid-area: sidebar;
    height: 100%;
    border: 1px solid var(--ecm-dashboard-BC-filtry);
    color: var(--ecm-dashboard-BT-filtryObsah);
    background-color: var(--ecm-dashboard-BP-filtryObsah);
    overflow-y: auto;
}

.ecm-dashboard-filtryZahlavi {
    padding: 6px 6px 6px 15px !important;
    height: var(--ecm-dashboard-VYSKA-filtryZahlavi);
    background-color: var(--ecm-dashboard-BP-filtryZahlavi);
    color: var(--ecm-dashboard-BT-filtryZahlavi);
    text-align: left;
    /* font-weight: bold;  */
    line-height: var(--ecm-dashboard-VT-filtryZahlavi);
    font-size: var(--ecm-dashboard-VT-filtryZahlavi);
}

/* .activeFilter {
    background-color: #555;
} */

.ecm-dashboard-mainPage {
    overflow: hidden;
}

.ecm-dashboard-mainPage * {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.ecm-dashboard-mainPage nav {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px !important;
    text-align: center;
    /* margin-bottom: 10px; */
    vertical-align: top;
    /* background-color: #FFC971; */
}

.ecm-dashboard-mainPage nav span {
    font-size: 70%;
}

.ecm-dashboard {
    display: grid;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    padding-top: 0px !important;
    padding: 5px;
    grid-template-columns: 1fr 5px 3fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "header header header"
        "sidebar splitter content";
    /*font-family: 'Segoe UI';*/
    background-color: var(--ecm-dashboard-BP);
}

.ecm-dashboard-title {
    color: var(--ecm-dashboard-BT-nadpis);
    font-size: var(--ecm-dashboard-VT-nadpis);
    /*font-family: 'Segoe UI';*/
}

.ecm-dashboard-rangeBtn {
    font-size: var(--ecm-dashboard-VT-btnObdobi);
    /*font-family: 'Segoe UI';*/
    color: var(--ecm-dashboard-BT-btnObdobi);
    margin: 3px 2px !important;
    padding: 3px 15px !important;
    min-width: 100px;
    height: 30px;
    line-height: var(--ecm-dashboard-VT-btnObdobi);
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid var(--ecm-dashboard-BC-btnObdobi);
    background-color: var(--ecm-dashboard-BP-btnObdobi);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /* -webkit-transition: all 0.3s;
    transition: all 0.3s; */
    white-space: nowrap;
    outline: 0;
}

.ecm-dashboard-rangeBtn--active {
    background-color: var(--ecm-dashboard-BP-btnObdobi-aktiv);
    color: var(--ecm-dashboard-BT-btnObdobi-aktiv);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.fullGrid {
    height: 100%;
    width: 100%;
    /* overflow: hidden; */
    position: relative;
}

.gutterGrid {
    grid-area: splitter;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutterGrid.gutterGrid-horizontal {
    cursor: col-resize;
}

.gutterGrid.gutterGrid-vertical {
    cursor: row-resize;
}

.gutter-col {
    grid-row: 1/-1;
    cursor: col-resize;
    background-color: transparent;
}

.gutter-row {
    grid-column: 1/-1;
    cursor: row-resize;
    background-color: transparent;
}

.small-chart .highcharts-point {
    display: none;
}

.ecm-button-registrace {
    background-color: var(--ecm-registrace-BP-button) !important;
    color: var(--ecm-registrace-BT-button) !important;
    min-width: 150px;
    border: 1px solid var(--ecm-registrace-BC-button) !important;
    outline: 0 !important;
    margin: 1.5rem 0 1.5rem 0 !important;
}

.ecm-button-registrace:hover {
    background-color: var(--ecm-registrace-BP-buttonHover) !important;
}

.ecm-login-a {
    color: var(--ecm-login-BT-odkazy) !important;
    font-size: 0.85rem;
}

.btn-odsazeni {
    padding-top: 18px;
}

.grid-registrace-container {
    display: grid;
    grid-column-gap: 30px;
    grid-template-columns: auto 300px auto;
}

.ecm-form-button-vedlejsi {
    background-color: var(--ecm-form-BP-button-vedlejsi) !important;
    color: var(--ecm-form-BT-button-vedlejsi);
    border: var(--ecm-form-OH-button-vedlejsi) !important;
}

.ecm-button-registrace-hlavni {
    padding-left: var(--ecm-registrace-OdL-button);
    padding-bottom: 100px;
}

.ecm-button-filter {
    background-color: transparent;
    color: var(--ecm-tree-BT-button);
    border: none;
    margin-bottom: 10px;
    width: 20px;
    height: 20px;
    float: left;
    margin-top: 8px;
}

.ecm-button-filter-icon {
    color: var(--ecm-tree-BT-button);
}

.navbar.toggler {
}

.mobile-nav {
    display: none;
}

.ecm-tree-button {
    display: none;
    position: fixed;
    z-index: 1000000;
}

#ecm-tree-button-left {
    margin-left: -24px;
}

.ecm-treeViewColumn {
    display: inline-block;
    position: absolute;
    z-index: 999;
}

.ecm-maingrid {
    display: grid;
    grid-template-rows: 9% 85.5% 5.5%;
}

.ecm-body-grid {
    display: grid;
    grid-template-columns: 23% 10px auto;
}

@media only screen and (max-width: 767px) {
    .nav-icons {
        display: none;
    }

    .ecm-tree-select {
        padding-left: 40px;
        padding-top: 1px;
    }

    .mobile-nav {
        display: inline-block;
    }

    .ecm-treeViewColumn {
        width: 0%;
        min-width: 0%;
        max-width: 100%;
    }

    #ecm-management-button-right {
        display: none;
    }

    #managementWContent {
        width: 100%;
        height: 100%;
        background-image: radial-gradient(rgb(26, 26, 44), rgb(24, 24, 41), rgb(19, 19, 29), rgb(19, 19, 29)) !important;
    }

    #managementContent {
        width: 100%;
    }

    #managementMenu {
        width: 0%;
    }

    .ecm-tree-button {
        display: inline-block;
        color: var(--ecm-tree-BT-button);
    }

    .ecm-tree-button:hover {
        color: var(--ecm-tree-BT-button-hover);
    }

    .ecm-tree-button:focus {
        outline: 0 !important;
        box-shadow: none !important;
    }

    #ecm-body-grid-odsazeni {
        width: 0%;
    }

    /*    .ecm-mainContent-H1 {
        font-size: 40px;
    }*/
}

@media only screen and (min-width: 768px) {
    .ecm-tree-button {
        display: none !important;
    }

    .ecm-mainContent-row-button {
        display: none;
    }

    #ecm-body-grid-odsazeni {
        width: 7px;
    }

    .ecm-treeViewColumn {
        padding-right: 10px;
        padding-left: 10px;
    }

    #mainContent {
        min-width: 350px;
        position: static;
    }
}

@media only screen and (min-width: 576px) {
    .ecm-treeViewColumn {
        position: static;
        max-width: 70%;
    }

    .ecm-button-filter {
        display: none;
    }

    .ecm-dashboard-filtry {
        width: 100%;
    }

    .ecm-treeViewCB {
        max-width: 100%;
    }

    .ecm-dashViewCB {
        max-width: 100%;
    }

    .ecm-content {
        /*grid-template-columns: 30% 10px auto;*/
        grid-template-columns: 23% 10px auto;
    }

    .ecm-dashboard {
        grid-template-columns: 23% 10px auto;
    }

    .ecm-mainContent {
        background-image: radial-gradient(rgb(26, 26, 44), rgb(24, 24, 41), rgb(19, 19, 29), rgb(19, 19, 29)) !important;
        opacity: 1 !important;
    }

    #ecm-body-grid-odsazeni {
        background-color: var(--ecm-body-grid-BP-oddelovac);
    }

    #mainContent {
        min-width: 0px;
        position: static;
    }
}

@media only screen and (max-width: 575px) {
    .ecm-mainContent {
        position: absolute;
        width: 100%;
    }

    .ecm-button-filter {
        display: block;
        z-index: 998;
    }

    .ecm-button-filter-div {
        padding-top: 7px;
    }

    .ecm-dashboard {
        grid-template-columns: 0% 0% 100%;
    }

    .ecm-dashViewCB {
        width: 100%;
        max-width: 100%;
    }

    #ecm-dashboard-nav-mobile {
        padding-left: 30px;
    }

    .ecm-dashboard-filtry {
        width: 0%;
        position: absolute;
        z-index: 997;
        height: 86.5%;
        top: 89px;
        border: none;
        left: 3.5%;
    }

    #ecm-body-grid-odsazeni {
        width: 0px;
    }
}


@media only screen and (max-width: 500px) {
    .ecm_inactive-bt-br {
        border: 0vw dashed rgba(255, 255, 255, 0.178);
        background-color: #1d1d2c;
        color: #7c7c7cff;
        transition: 0.3s;
    }

    .ecm_active-bt-br {
        box-shadow: 0 0 1px 0 #7cfc00 inset, 0 0 0px 0px #7cfc00;
        color: #7efc00c2;
        background-color: #0f0f18;
        transition: 0.3s;
    }
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.gutterMainBody {
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutterMainBody.gutterGrid-horizontal {
    cursor: col-resize;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

.ecm--a-hover-class:hover {
    color: var(--ecm-hlMenu-BT-ikony) !important;
}

.ecm-tree-menu-svg-image {
    position: absolute;
}

.ecm-menu-svg-image {
    top: 2px;
    left: 2px;
}

#ecm-filter-button-svg {
    width: 20px;
    height: 20px;
}

#ecm-button-filter {
    width: 25px;
    height: 25px;
    padding-bottom: 2px;
}

.customRange_area {
    display: flex;
    width: 100%;
    /*height: 100vh;*/
    justify-content: center;
    align-items: center;
}

.customRange_data-area {
    display: inline-flex;
    /*height: 435px;*/
}

.customRange_date-1 {
    display: none;
    position: absolute;
    /*width: 200px;*/
    height: 50px;
    background-color: var(--ecm-hlMenu-BP);
    align-items: center;
    justify-content: center;
    color: var(--ecm-treeList-BI);
    width: 531px;
    border-radius: 5px;
    font-size: 30px;
}

.ecm-form-PasswordEye {
    padding-right: 10px;
    float: right;
    margin-left: -25px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    color: #495057;
}

input::-ms-clear, input::-ms-reveal {
    display: none;
}

.ecm-alarm-active {
    color: var(--ecm-tree-alarm-active);
}

.ecm-alarm-inactive {
    color: var(--ecm-tree-alarm-inactive);
}

.ecm-centered-text {
    text-align: center;
    vertical-align: middle;
}


.ecm-info {
    background-color: #eaf5f5d9;
}

.ecm-padding-bottom {
    padding-bottom: 15px;
}

.modal-community-l {
    max-width: 80%;
}

.modal-community-l30 {
    max-width: 30%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.modal-community-l35 {
    max-width: 35%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.modal-community-l40 {
    max-width: 40%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.modal-community-l50 {
    max-width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.modal-community-l60 {
    max-width: 60%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.modal-community-70 {
    max-width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.modal-community-l80 {
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.modal-community-l90 {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.modal-community-l100 {
    max-height: 100%;
    max-width: 100%
}

.modal-footer-changelog {
    height: 90%;
}

.modal-header-changelog {
    border-radius: 5% 5% 0 0;
}

.changelog-cards {
    padding: 20px;
    background-color: #f9f9f9;
}

.changelog-card-header {
    background-color: #3b3b3b;
    color: white;
    padding: 15px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.changelog-card-body {
    padding: 20px;
    background-color: #fefefe;
    color: black;
}

.changelog-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.changelog-card ul {
    padding-left: 20px;
}

.changelog-card ul ul {
    padding-left: 30px;
}

.changelog-card li ul {
    padding-left: inherit;
}

button.changelog-close {
    color: white;
    opacity: 1;
    font-size: 32px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

button.changelog-close:hover {
    color: #ccc;
}

@media (max-width: 768px) {
    .modal-footer-changelog {
        width: 100%;
        max-width: 97% !important;
    }
}

.hiddenRow {
    padding: 0 !important;
}

.ecm-alarm-state-active {
    color: var(--ecm-tree-alarm-active);
}

.ecm-alarm-state-inactive {
    color: var(--ecm-tree-alarm-inactive);
}

.ecm-alarm--card {
    border: 1px solid rgba(39, 39, 39, 0.2);
    padding-left: 5px;
    padding-right: 5px;
    background-color: #fafafa;
    border-radius: 1vh;
}

.ecm-alarm-combo {
    padding-right: 1px !important;
    padding-left: 1px !important;
}

.ecm_dp_layout {
    width: 100%;
    display: block;
}

.ecm_dp_box {
    display: inline-flex;
    box-sizing: border-box;
    padding: 15px;
    width: 100%;
    max-width: 497px;
}

.ecm_btn_scadaHome:hover {
    box-shadow: rgb(124, 252, 0) 0px 0px 2px 0px inset, rgb(124, 252, 0) 0px 0px 11px 2px;
    background-color: rgb(15, 15, 24);
}

.ecm-buttonBateryContaienr, .ecm-buttonFVEsetingContainer {
    border: 1px solid #ffff;
    color: rgb(255, 255, 255);
}

.ecm-val-error {
    outline: 2px red solid;
}

.spot-prices-table {
    color: white;
}

.spot-prices-table .striped {
    background-color: #2b2a3c;
}

.spot-prices-button-container {
    max-width: 300px;
    margin-right: auto;
}

.spot-prices-button-container button {
    width: calc(25% - 10px);
    margin: 5px;
    font-size: 12px;
}

.cc-nb-okagree {
    background-color: rgb(37, 219, 12) !important;
}

.cc-nb-reject {
    background-color: white !important;
}

.cc-nb-changep {
    background-color: white !important;
}


.expressionEditorDiv {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 400px;
    margin-top: 20px;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
}

.expressionSection {
    display: flex;
    flex-direction: column;
    width: 33%;
    padding: 10px;
    border-right: 1px solid #ddd;
    background-color: #fafafa;
    overflow: auto;
}

.expressionItem {
    height: 32px;
    line-height: 16px;
    padding: 8px;
    margin-bottom: 4px;
    cursor: pointer;
    text-align: center;
    background-color: #e0e0e0;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.expressionItem:hover {
    background-color: #d0d0d0;
}

.expressionSelectSection {
    width: 34%;
    padding: 10px;
    background-color: #fff;
    overflow-y: auto;
}

.expressionItem.selected {
    background-color: #b0b0b0;
    font-weight: bold;
}

.expressionSectionItem {
    height: 25px;
    font-size: 20px;
    background-color: #e0e0e0;
    cursor: pointer;
    border: solid 1px #b0b0b0;
    margin-bottom: 1px;
    overflow: visible;
}


#chartContainer {
    position: relative;
}

#backButtonContainer {
    display: none;
    position: absolute;
    top: 10px;
    right: 35px;
    z-index: 1000;
}


#backButton {
    padding: 0px 10px;
    background-color: white;
    color: black;
    border: 2px solid #37375c;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

#aggregationButtonsContainer {
    margin-bottom: 10px;
}

.aggregation-button {
    margin-right: 0px;
    padding: 0px 5px;
    background-color: transparent;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.aggregation-button:hover {
    color: #33f218;
}

.aggregation-button.active {
    border-radius: 1%;
    color: #33f218;
    border-bottom: 2px solid #33f218;
}

.community-data-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 4px 10px;
    text-align: center;
    font-size: 16px;
    margin: 0px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.comm-data-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1px;
}

.comm-data-container .community-data-btn {
    margin: 0 2px;
}

.community-data-btn:hover {
    background-color: #45a049;
}

.community-data-btn:focus {
    outline: none;
    box-shadow: 0 0 5px #4CAF50;
}

.community-button-container {
    display: flex;
    justify-content: flex-end;
}

/*.chart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 20px;
    margin-top: 1%;
    margin-bottom: 1%;
}*/

/*#container {
    min-width: 400px;
    height: 330px;
}*/



/* Fullscreen grafu */
.chart-ean-fullscreen .highcharts-container {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
}

.statistiky-legend-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.statistiky-legend-modal ul {
    list-style: none;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.statistiky-legend-modal li {
    margin-bottom: 5px;
}

.statistiky-legend-modal .list-group-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.statistiky-legend-modal .list-group-item .d-flex {
    flex: 1 1 auto;
    min-width: 0;
}

.statistiky-legend-modal label {
    word-wrap: break-word;
    white-space: normal;
    flex: 1 1 auto;
    margin-left: 8px;
}

.statistiky-legend-modal .modal-body {
    max-height: 400px;
    overflow-y: auto;
}

.statistiky-legend-button {
    position: absolute;
    top: 10px;
    right: 50px;
    z-index: 10;
    padding: 2px 5px;
    font-size: 14px;
    cursor: pointer;
    display: none;
}

.statistiky-close-modal-button {
    padding: 5px 10px;
    cursor: pointer;
}

.checkbox-container {
    height: 15px;
    width: 5px;
    margin-left: 30px;
}

.statistiky-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.statistiky-color-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
}

.statistiky-inactive {
    color: grey;
    text-decoration: line-through;
}

.statistiky-chart-container {
    position: relative;
}

.statistiky-modal-content {
    word-break: break-word;
    border: 1px solid white;
}

.highcharts-legend-navigation {
    color: white !important;
}

.ecm_info_icon {
    width: 35px;
    height: 35px;
    border-radius: 25vh;
    border: 1px solid #fff;
    position: absolute;
    right: 15px;
    top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #2091EB;
    color: #FFF;
    font-size: 18px;
}

.ecm-management-table td.spot-border-green {
    border: 2px solid green !important;
}

.ecm-management-table td.spot-border-orange {
    border: 2px solid orange !important;
}

.ecm-management-table td.spot-border-grey {
    border: 2px solid grey !important;
}

#expressionEditor-modal {
    display: none;
    position: absolute;
    width: 80%;
    height: 80%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    z-index: 1000;
    text-align: center;
    pointer-events: all;
    border-radius: 10px;
}

#expressionEditorResult {
    width: 80%;
    height: 30%;
}

#expressionEditor-close {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
    transform: translate(-10px, 0px);
    cursor: pointer;
}

#expressionEditor-saveBtn {
    color: var(--ecm-successButton-BT) !important;
    background-color: var(--ecm-successButton-BP) !important;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

.ecm_account-buttons-history-and-allConfirm {
    text-align: center;
    width: 33%;
}

.ecm_account-form-group {
    margin-bottom: 10px;
    display: flex;
    position: relative;
    justify-content: center;
    width: 100%;
    height: 32px;
}

.ecm_account-form-group label {
    color: white;
    font-size: 16px;
    position: absolute;
    right: calc(50% + 150px);
    white-space: nowrap;
    margin-right: 10px;
    top: 6px;
}

.ecm_account-form-group input[type="text"],
.ecm_account-form-group input[type="email"],
.ecm_account-form-group input:not([type="checkbox"]),
.ecm_account-form-group select {
    width: 300px;
}

.ecm_account-checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.ecm_account-checkbox-group label {
    color: white;
    font-size: 20px;
    margin: 0;
}

.ecm_account-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.ecm_account-checkbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    width: 100% !important
}

.ecm_account-user-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.ecm_account-form-columns {
    display: flex;
    flex-direction: column;
    gap: 1px;
    align-items: center;
    width: 100%;
}

.ecm_account-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.ecm_account-spacer {
    width: 125px;
}

.ecm_account-user-info {
    text-align: center;
    flex-grow: 1;
}

.ecm_account-change-password-btn {
    background-color: #e3e2e2;
    color: #212529;
    border: none;
    padding: 2px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    width: 125px;
    border: 1px solid #56567F;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.ecm_account-change-password-btn:hover {
    background-color: #f8f9fa;
    box-shadow: 0 0 2px #f8f9fa;
}

.ecm_account-organizationListResultInAccountSetting tr[visible='false'],
.ecm_account-no-result {
    display: none;
}

.ecm_account-organizationListResultInAccountSetting tr[visible='true'] {
    display: table-row;
}

.ecm_account-tablesort i.hiddenIcon {
    display: none;
}

.ecm_account-tablesort.asc i.fa-caret-up {
    display: inline;
}

.ecm_account-tablesort.desc i.fa-caret-down {
    display: inline;
}

.ecm_account-tablesort.desc i.fa-sort {
    display: none;
}

.ecm_account-tablesort.asc i.fa-sort {
    display: none;
}

#tableOrganizationList {
    position: relative;
}

.ecm_account-form-group input[type="checkbox"] {
    position: absolute;
    left: calc(50% - 147px);
    top: 10px;
    height: 20px;
    width: 20px;
}

.ecm_account-checkbox-inverted label {
    position: absolute;
    left: calc(50% - 145px);
    margin-right: 0;
}

.ecm_account-checkbox-inverted input[type="checkbox"] {
    position: absolute;
    right: calc(50% + 160px);
    left: auto;
    top: 10px;
    height: 20px;
    width: 20px;
}

.ecm_account-checkbox-inverted input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: 1px solid #ffffff;
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 4px;
    position: absolute;
    cursor: pointer;
    margin: 0;
    transition: border-color 0.2s, background-color 0.2s;
}

.ecm_account-checkbox-inverted input[type="checkbox"]:checked:hover {
    border-color: #dddddd !important;
}

.ecm_account-checkbox-inverted input[type="checkbox"]:not(:checked):hover {
    border-color: #56567F !important;
}

.ecm_account-checkbox-inverted input[type="checkbox"]:checked {
    background-color: #33f218;
    border-color: #56567F;
}

.ecm_account-checkbox-inverted input[type="checkbox"]:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #1f1f3a;
    font-size: 14px;
    display: block;
    text-align: center;
    line-height: 20px;
}

.ecm_account-save-button {
    background-color: #33f218;
    color: #000000;
    border: 1px solid #4cde15;
    padding: 5px 25px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: inline-block;
}

.ecm_account-save-button:hover {
    background-color: #2cd010;
    box-shadow: 0 0 2px #2cd010;
}


@media (max-width: 480px) {
    .ecm_account-form-group {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        position: relative;
    }

    .ecm_account-form-group label {
        position: relative;
        right: auto;
        left: auto;
        margin: 0 0 5px 0;
        white-space: normal;
        text-align: left;
        max-width: 100%;
    }

    .ecm_account-form-group input[type="text"],
    .ecm_account-form-group input[type="email"],
    .ecm_account-form-group input:not([type="checkbox"]) {
        width: 100%;
        max-width: 300px;
    }

    .ecm_account-checkbox-inverted label {
        position: relative;
        left: 0;
        margin: 0 0 5px 0;
        white-space: normal;
    }

    .ecm_account-checkbox-inverted input[type="checkbox"] {
        position: relative;
        right: auto;
        left: 0;
        top: 0;
        margin-bottom: 10px;
    }
}


.control-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #2e2b3f;
    border-radius: 10px;
    color: #e2e8f0;
}

.control-loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #4a5568;
    border-top: 5px solid #3bad2b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.control-empty-state {
    text-align: center;
    padding: 2rem !important;
}

.control-empty-state i {
    font-size: 2rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.control-empty-state p {
    color: #e2e8f0;
    margin: 0;
}

.ecm-treeList-dragging {
    opacity: 0.5;
}

.ecm-treeList-drop-target {
    background-color: rgba(76, 175, 80, 0.1) !important;
}

.js--treeListTD {
    cursor: move;
}

.drop-indicator {
    position: fixed;
    height: 2px;
    background-color: #4CAF50;
    pointer-events: none;
    display: none;
    z-index: 1000;
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

body.dragging {
    user-select: none;
    -webkit-user-select: none;
}

.ecm-parent-highlight {
    background-color: rgba(76, 175, 80, 0.1) !important;
    transition: background-color 0.2s ease;
}

.ecm-parent-highlight button {
    font-weight: bold !important;
}


.ecm-tree-actions {
    visibility: hidden;
    display: flex;
    gap: 5px;
    margin-left: auto;
    padding: 0 5px 0 0;
}

.js--treeNode-content {
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 1px;
}


.js--treeListTD:not(.ecm-treeView-vybrana):hover {
    background-color: rgb(21 21 30);
}

.js--treeListTD.ecm-treeView-vybrana:hover {
    background-color: rgb(71 231 49);
}

.js--treeNode-content:hover .ecm-tree-actions {
    visibility: visible;
}

.js--treeListTD:hover .ecm-node-checkbox {
    visibility: visible !important;
}

.ecm-tree-action-properties {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 2px;
    font-size: 14px;
}

.ecm-tree-action-properties:hover {
    color: white;
}

.ecm-properties-indicator {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00cc33;
}

.ecm-quick-property-view {
    position: absolute;
    background-color: #2a2d45;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 10px;
    z-index: 990;
    width: 300px;
    display: none;
    color: white;
}

.ecm-quick-property-view h3 {
    margin-top: 0;
    font-size: 16px;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.ecm-quick-property-view h3 button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

.ecm-quick-property-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

.ecm-quick-property-name {
    color: #aaa;
}

.ecm-quick-property-value {
    font-weight: bold;
}

.ecm-quick-property-footer {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.ecm-quick-property-footer button {
    background-color: #454864;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.ecm-properties-panel {
    background-color: #2a2d45;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 40%;
    max-height: 80vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: none;
    overflow: hidden;
    color: white;
}

@media only screen and (max-width: 575px) {

    .ecm-properties-panel {
        max-width: 95%
    }
}

.ecm-properties-panel-header {
    background-color: #3a3e56;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px 5px 0 0;
}

.ecm-properties-panel-header h2 {
    margin: 0;
    font-size: 18px;
}

.ecm-properties-panel-header button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.ecm-properties-panel-body {
    padding: 15px;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
}

.ecm-properties-tabs {
    display: flex;
    border-bottom: 1px solid #444;
    margin-bottom: 15px;
}

.ecm-properties-tab {
    padding: 10px 15px;
    cursor: pointer;
}

.ecm-properties-tab.active {
    border-bottom: 2px solid #00cc33;
    color: #00cc33;
}

.ecm-property-group {
    background-color: #242738;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

.ecm-property-group h3 {
    margin-top: 0;
    font-size: 16px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.ecm-property-row {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.ecm-property-label {
    width: 200px;
    color: #aaa;
}

.ecm-property-value {
    flex-grow: 1;
}

.ecm-property-value input, .ecm-property-value select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #353851;
    color: white;
}

.ecm-property-unit {
    width: 50px;
    margin-left: 10px;
    color: #aaa;
}

.ecm-properties-panel-footer {
    padding: 15px;
    display: flex;
    justify-content: flex-end;
    background-color: #3a3e56;
    border-radius: 0 0 5px 5px;
}

.ecm-properties-panel-footer button {
    padding: 8px 15px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    margin-left: 10px;
}

.ecm-properties-panel-footer button.ecm-cancel {
    background-color: #454864;
    color: white;
}

.ecm-properties-panel-footer button.ecm-save {
    background-color: #00cc33;
    color: white;
}

.ecm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}


@media only screen and (max-width: 768px) {
    .ecm-tree-actions {
        visibility: visible !important;
    }

    .js--treeNode-content .ecm-treeViewRow {
        padding-right: 50px !important;
    }

    .ecm-tree-action-properties {
        padding: 8px;
        font-size: 16px;
        opacity: 0.8;
        min-width: 32px;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .ecm-tree-action-properties:active {
        background-color: rgba(255, 255, 255, 0.2);
        opacity: 1;
    }
}

#treeListTable tr[data-depth]:not([data-depth="0"]):not([data-depth="1"]) {
    display: none;
}


#ecm-tree-toggle-all-root:hover {
    background-color: #f8f9fa !important;
    border-color: #28a745 !important;
    color: #007bff !important;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.ecm-treeViewArrow:hover {
    color: #28a745 !important;
}

.ecm-treeViewColumn {
    position: relative;
}

.ecmTreeLoading {
    background: linear-gradient(135deg, rgba(28, 28, 41, 0.95), rgba(13, 13, 20, 0.95));
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ecmTreeLoading .spinner-border {
    border-width: 0.25em;
    border-color: #28a745;
    border-right-color: transparent;
    width: 2.5rem;
    height: 2.5rem;
}

.ecmTreeLoading .text-center {
    color: #ffffff;
}

.ecmTreeLoading .text-muted {
    color: #b8c5d1 !important;
    font-weight: 500;
    font-size: 0.9rem;
}

.ecmTreeLoading.dark-theme {
    background-color: rgba(15, 15, 39, 0.95);
}

.ecmTreeLoading.dark-theme .spinner-border {
    border-color: #40c463;
    border-right-color: transparent;
}
.ecm-mainNav-mobil .dropdown-menu {
    position: fixed !important;
    z-index: 9999 !important;
    top: auto !important;
    right: 10px !important;
    left: auto !important;
}

.tree-measuring tr {
    display: table-row !important;
}
.toast {
    opacity: 1 !important;
}


.marfee-tree-container {
    background: var(--ecm-hlMenu-BP);
    color: var(--ecm-hlMenu-BT-EM);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.marfee-tree-header {
    background: var(--ecm-treeList-BP);
    color: var(--ecm-hlMenu-BT-EM);
    padding: 20px 30px;
    border-bottom: 2px solid var(--ecm-hlMenu-BC);
    flex-shrink: 0;
}

.marfee-tree-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
}

.marfee-mobile-tabs {
    display: none;
    background: var(--ecm-treeList-BP);
    border-bottom: 1px solid var(--ecm-hlMenu-BC);
    flex-shrink: 0;
}

.marfee-tab-buttons {
    display: flex;
    width: 100%;
}

.marfee-tab-btn {
    flex: 1;
    padding: 12px;
    background: var(--ecm-hlMenu-BC);
    color: #9ca3af;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-right: 1px solid #4b5563;
}

.marfee-tab-btn:last-child {
    border-right: none;
}

.marfee-tab-btn.active {
    background: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    color: var(--ecm-hlMenu-BP);
}

.marfee-tab-btn:hover:not(.active) {
    background: #4b5563;
    color: var(--ecm-hlMenu-BT-EM);
}

.marfee-tree-main {
    display: flex;
    flex: 1;
    min-height: 0;
}

.marfee-tree-panel {
    width: 30%;
    background: var(--ecm-treeList-BP);
    border-right: 2px solid var(--ecm-hlMenu-BC);
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.marfee-tree-panel h3 {
    color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--ecm-hlMenu-BC);
    padding-bottom: 10px;
    flex-shrink: 0;
}

.marfee-view-options {
    background: var(--ecm-treelist-BC-radky);
    border: 1px solid var(--ecm-hlMenu-BC);
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.marfee-checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.marfee-custom-checkbox {
    position: relative;
    width: 18px;
    height: 18px;
    background: var(--ecm-hlMenu-BC);
    border: 2px solid #4b5563;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.marfee-custom-checkbox:hover {
    border-color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    background: #4b5563;
}

.marfee-view-options input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.marfee-view-options input[type="checkbox"]:checked + .marfee-custom-checkbox {
    background: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    border-color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
}

.marfee-view-options input[type="checkbox"]:checked + .marfee-custom-checkbox::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--ecm-hlMenu-BP);
    font-size: 12px;
    font-weight: bold;
}

.marfee-checkbox-label {
    color: var(--ecm-hlMenu-BT-EM);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.marfee-tree-actions {
    margin-bottom: 20px;
    flex-shrink: 0;
    display: flex;
    gap: 12px;
}

#tree-root {
    flex: 1;
}

.marfee-btn {
    background: var(--ecm-successButton-BP);
    color: var(--ecm-successButton-BT);
    border: 1px solid var(--ecm-successButton-BT);
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    min-height: 40px;
    flex: 1;
}

.marfee-btn:hover {
    background: rgb(75 235 52);
    color: var(--ecm-successButton-BP);
}

.marfee-btn-primary {
    background: var(--ecm-successButton2-BP);
    color: var(--ecm-successButton2-BT);
    border-color: var(--ecm-successButton2-BP);
}

.marfee-btn-primary:hover {
    background: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    color: var(--ecm-hlMenu-BP);
    border-color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
}

.marfee-btn-danger {
    background: var(--ecm-formButton-BP);
    color: var(--ecm-formButton-BT);
    border-color: var(--ecm-formButton-BP);
}

.marfee-btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.marfee-btn-secondary {
    background: var(--ecm-formButton-BP);
    color: var(--ecm-formButton-BT);
    border-color: var(--ecm-formButton-BP);
}

.marfee-btn-secondary:hover {
    background: #4b5563;
    border-color: #4b5563;
}

.marfee-tree-node {
    margin-left: 20px;
    margin-top: 6px;
    position: relative;
}

.marfee-tree-node:before {
    content: '';
    position: absolute;
    left: -12px;
    top: 20px;
    width: 12px;
    height: 1px;
    background: #6b7280;
}

.marfee-tree-node:after {
    content: '';
    position: absolute;
    left: -12px;
    top: 0px;
    width: 1px;
    height: calc(100% + 6px);
    background: #6b7280;
}

.marfee-tree-node:last-child:after {
    height: 20px;
}

.marfee-node-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--ecm-treelist-BC-radky);
    border-radius: 6px;
    margin-bottom: 6px;
    cursor: pointer;
    border-left: 3px solid var(--ecm-hlMenu-BT-logoZvyrPismeno);
    min-height: 44px;
}

.marfee-node-content:hover {
    background: var(--ecm-hlMenu-BC);
}

.marfee-node-content.selected {
    background: rgb(75 235 52);
    color: var(--ecm-hlMenu-BP);
}

.marfee-node-content.root {
    background: var(--ecm-treelist-BC-radky);
    border-left-color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    margin-left: 0;
}

.marfee-node-select {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid var(--ecm-hlMenu-BC);
    border-radius: 4px;
    background: var(--ecm-treelist-BC-radky);
    color: var(--ecm-hlMenu-BT-EM);
    font-size: 13px;
    min-height: 36px;
}

.marfee-node-content.selected .marfee-node-select {
    background: rgba(255, 255, 255, 0.9);
    color: var(--ecm-hlMenu-BP);
}

.marfee-node-icon {
    color: #9ca3af;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.marfee-node-content.selected .marfee-node-icon {
    color: var(--ecm-hlMenu-BP);
}

.marfee-node-content-hidden > .marfee-node-content {
    display: none;
}

.marfee-node-content-hidden:before,
.marfee-node-content-hidden:after {
    display: none;
}

.marfee-tree-node.marfee-node-hidden {
    display: none;
}

.marfee-node-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.marfee-node-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.marfee-add-btn {
    background: rgb(75 235 52);
    color: var(--ecm-hlMenu-BP);
}

.marfee-add-btn:hover {
    background: var(--ecm-successButton2-BP);
}

.marfee-remove-btn {
    background: #ef4444;
    color: white;
}

.marfee-remove-btn:hover {
    background: #dc2626;
}

.marfee-properties-panel {
    width: 70%;
    background: var(--ecm-hlMenu-BP);
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.marfee-properties-panel h3 {
    color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--ecm-hlMenu-BC);
    padding-bottom: 10px;
    flex-shrink: 0;
}

.marfee-properties-content {
    background: var(--ecm-treeList-BP);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--ecm-hlMenu-BC);
    flex: 1;
    min-height: 400px;
}

.marfee-wizard-state {
    background: var(--ecm-treeList-BP);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--ecm-hlMenu-BC);
    flex: 1;
    min-height: 400px;
}

.marfee-wizard-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ecm-hlMenu-BC);
}

.marfee-wizard-header i {
    color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    font-size: 1.2rem;
}

.marfee-wizard-header h4 {
    color: var(--ecm-hlMenu-BT-EM);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.marfee-property-group {
    margin-bottom: 20px;
}

.marfee-property-group label {
    display: block;
    font-weight: 500;
    color: var(--ecm-hlMenu-BT-EM);
    margin-bottom: 8px;
    font-size: 14px;
}

.marfee-property-group input,
.marfee-property-group select,
.marfee-property-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ecm-hlMenu-BC);
    border-radius: 4px;
    background: rgb(48 48 71);
    color: var(--ecm-hlMenu-BT-EM);
    font-size: 14px;
    box-sizing: border-box;
    min-height: 44px;
}

.marfee-property-group input:focus,
.marfee-property-group select:focus,
.marfee-property-group textarea:focus {
    outline: none;
    border-color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
}

.marfee-property-group input[readonly],
.marfee-property-group textarea[readonly] {
    background: var(--ecm-hlMenu-BC);
    color: #9ca3af;
}

.marfee-property-group input[type="checkbox"] {
    width: auto !important;
    margin-right: 8px;
    min-height: auto;
}

.marfee-empty-state {
    text-align: center;
    color: #9ca3af;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
}

.marfee-empty-state i {
    font-size: 3rem;
    color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    margin-bottom: 20px;
}

.marfee-empty-state h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--ecm-hlMenu-BT-EM);
}

.marfee-empty-state p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.marfee-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.6);
    display: none;
}

.marfee-modal-content {
    background: var(--ecm-treelist-BC-radky);
    margin: 5% auto;
    padding: 25px;
    border-radius: 8px;
    width: 480px;
    max-width: 90%;
    position: relative;
    border: 1px solid var(--ecm-hlMenu-BC);
    color: var(--ecm-hlMenu-BT-EM);
}

.marfee-modal h4 {
    color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.marfee-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #9ca3af;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marfee-close:hover {
    color: var(--ecm-hlMenu-BT-EM);
}

.marfee-form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ecm-hlMenu-BC);
    border-radius: 4px;
    margin-bottom: 20px;
    background: rgb(48 48 71);
    color: var(--ecm-hlMenu-BT-EM);
    font-size: 14px;
    box-sizing: border-box;
    min-height: 44px;
}

.marfee-property-group-header {
    margin-top: 1%;
    margin-bottom: 1%;
}

.marfee-form-control:focus {
    outline: none;
    border-color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
}

.marfee-form-group {
    margin-bottom: 20px;
}

.marfee-form-group label {
    display: block;
    font-weight: 500;
    color: var(--ecm-hlMenu-BT-EM);
    margin-bottom: 8px;
    font-size: 14px;
}

.marfee-btn-success {
    background: rgb(75 235 52);
    color: var(--ecm-hlMenu-BP);
    border-color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    width: 100%;
}

.marfee-json-output {
    background: var(--ecm-treeList-BP);
    color: var(--ecm-hlMenu-BT-EM);
    padding: 15px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.4;
    margin-top: 15px;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--ecm-hlMenu-BC);
    flex-shrink: 0;
}

.marfee-children-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--ecm-hlMenu-BC);
    border-radius: 4px;
    padding: 10px;
    background: var(--ecm-hlMenu-BP);
}

.marfee-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px;
    min-height: 44px;
}

.marfee-checkbox-wrapper input[type="checkbox"] {
    width: 20px !important;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}

.marfee-checkbox-wrapper label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--ecm-hlMenu-BT-EM);
    line-height: 1.4;
}

.marfee-equipment-properties {
    border: 1px solid var(--ecm-hlMenu-BC);
    border-radius: 4px;
    padding: 15px;
    background: var(--ecm-hlMenu-BP);
}

.marfee-property-item {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.marfee-property-item:last-child {
    margin-bottom: 0;
}

.marfee-property-item label {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

.marfee-property-item input {
    width: 100%;
}

.marfee-property-unit {
    font-size: 12px;
    color: #6b7280;
    margin-left: 5px;
}

.marfee-children-preview {
    border: 1px solid var(--ecm-hlMenu-BC);
    border-radius: 4px;
    padding: 15px;
    background: var(--ecm-hlMenu-BP);
}

.marfee-child-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--ecm-hlMenu-BT-EM);
    padding: 4px 0;
}

.marfee-child-preview-item:last-child {
    margin-bottom: 0;
}

.marfee-child-preview-item i {
    color: var(--ecm-hlMenu-BT-logoZvyrPismeno);
    font-size: 14px;
    flex-shrink: 0;
}

.marfee-actions-group {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .marfee-tree-container {
        height: 100vh;
        height: 100dvh;
    }

    .marfee-tree-header {
        padding: 15px 20px;
    }

    .marfee-tree-header h1 {
        font-size: 1.4rem;
    }

    .marfee-mobile-tabs {
        display: block;
    }

    .marfee-tree-main {
        flex-direction: column;
        position: relative;
    }

    .marfee-tree-panel,
    .marfee-properties-panel {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--ecm-hlMenu-BC);
        min-height: auto;
    }

    .marfee-tree-panel {
        display: none;
    }

    .marfee-tree-panel.active {
        display: flex;
    }

    .marfee-properties-panel {
        display: none;
    }

    .marfee-properties-panel.active {
        display: flex;
    }

    .marfee-tree-actions {
        flex-direction: column;
        gap: 8px;
    }

    .marfee-btn {
        flex: none;
    }
}

@media (max-width: 480px) {
    .marfee-tree-header {
        padding: 12px 15px;
    }

    .marfee-tree-header h1 {
        font-size: 1.2rem;
    }
}

.marfee-node-content-hidden > .children > .martee-tree-node {
    margin-left: 0;
}

.marfee-node-content-hidden > .children > .marfee-tree-node::before,
.marfee-node-content-hidden > .children > .marfee-tree-node::after {
    display: none;
}

.marfee-node-no-add .marfee-add-btn {
    display: none;
}

.search-panel-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.search-panel-overlay.active {
    display: block;
}

.search-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--ecm-treeList-BP);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.search-panel.active {
    right: 0;
}

.search-panel-header {
    padding: 16px;
    border-bottom: 1px solid var(--ecm-hlMenu-BC);
    background: var(--ecm-treelist-BC-radky);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--ecm-hlMenu-BP);
    border: 1px solid var(--ecm-hlMenu-BC);
    border-radius: 4px;
    padding: 8px 12px;
}

.search-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    flex-shrink: 0;
}

.search-icon path {
    fill: var(--ecm-treeList-BSIP);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--ecm-hlMenu-BT-EM);
    background: transparent;
}

.search-input::placeholder {
    color: var(--ecm-treeList-BSIP);
}

.search-close-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--ecm-treeList-BSIP);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.search-close-btn:hover {
    color: var(--ecm-hlMenu-BT-EM);
}

.search-panel-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.search-results {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 70px;
}

.search-results-header {
    padding: 20px;
    border-bottom: 1px solid var(--ecm-hlMenu-BC);
    background: var(--ecm-treelist-BC-radky);
    flex-shrink: 0;
}

.search-results-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    background: var(--ecm-hlObsah-BP);
}

.search-result-full-card {
    background: var(--ecm-treeList-BP);
    border: 1px solid var(--ecm-hlMenu-BC);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-result-node-type {
    color: var(--ecm-treeList-BI);
    font-weight: 500;
}

.search-result-path-content {
    color: var(--ecm-treeList-BSIP);
    font-size: 14px;
}

.search-result-node-name {
    color: var(--ecm-hlMenu-BT-EM);
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.search-result-full-card:hover {
    background: var(--ecm-treelist-BC-radky) !important;
    border-color: var(--ecm-treeList-BI) !important;
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.full-search-results {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.search-result-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--ecm-hlMenu-BC);
}

.search-result-item:hover {
    background-color: var(--ecm-treelist-BC-radky);
}

.search-result-icon {
    width: 40px;
    height: 40px;
    background: var(--ecm-treelist-BC-radky);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    color: var(--ecm-treeList-BI);
}

.search-result-icon svg {
    width: 20px;
    height: 20px;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--ecm-hlMenu-BT-EM);
    margin-bottom: 4px;
}

.search-result-details {
    font-size: 13px;
    color: var(--ecm-treeList-BSIP);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.search-result-path {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-separator {
    margin: 0 6px;
}

.search-result-type {
    color: var(--ecm-treeList-BI);
    font-weight: 500;
}

.search-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ecm-treeList-BP);
    border-top: 1px solid var(--ecm-hlMenu-BC);
    padding: 15px;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ecm-treeList-BI);
    font-size: 14px;
    transition: background 0.2s;
}

.search-footer:hover {
    background-color: var(--ecm-hlMenu-BC);
}

.search-footer-icon {
    width: 16px;
    height: 16px;
}

.search-footer-icon path {
    fill: var(--ecm-treeList-BI);
}

@media (max-width: 768px) {
    .search-panel {
        width: 100%;
        right: -100%;
    }

    .search-results {
        padding-bottom: 17%;
    }

    .search-footer {
        padding: 12px;
        font-size: 13px;
    }
}

.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.search-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--ecm-hlObsah-BP);
    border: 1px solid var(--ecm-hlMenu-BC);
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.search-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--ecm-hlMenu-BT-EM);
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.search-modal-close:hover {
    background: var(--ecm-hlMenu-BC);
    color: var(--ecm-treeList-BI);
}

.search-modal-body {
    background: var(--ecm-treeList-BP);
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}


.ecm-btn-tree-color {
    color: #ffffff;
}

.ecm-icon-tree-color {
    color:  var(--ecm-btn-tree-color);
}

.ecm-dropdown-tree-color {
    color: var(--ecm-dropdown-tree-color);
}

.ecm-dropdown-tree-color-default {
    color: var(--ecm-dropdown-tree-color-default);
}

td.ecm-treeView-vybrana .ecm-treeViewIcon,
td.ecm-treeView-vybrana .ecm-treeList-table-toggle,
td.ecm-treeView-vybrana .ecm-treeViewArrow,
td.ecm-treeView-vybrana .ecm-treeViewRow,
td.ecm-treeView-vybrana button.ecm-treeViewRow,
td.ecm-treeView-vybrana .ecm-tree-action-properties i {
    color: var(--ecm-btn-tree-color) !important;
}

td.ecm-treeView-vybrana svg.ecm-treeViewIcon path {
    fill: var(--ecm-btn-tree-color);
}

.ecm-icon-left {
    color: var(--ecm-hlObsah-ikony);
    font-size: 24px
}

.ecm-icon-right {
    color: var(--ecm-hlObsah-ikony);
    font-size: 24px
}

#singleBody tr:nth-child(odd) {
    background-color: var(--singleBody-tr-spotove-ceny-background-color) !important;
}

#timeTableBody tr:nth-child(odd) {
    background-color: var(--timeTableBody-tr-spotove-ceny-background-color) !important;
}

.form-control {
    display: block;
    width: 100%;
    height: var(--comm-from-control-height);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin: var(--comm-from-control-margin);
}

