/* Minimal dark mode overrides based on ogThemeDarkBlue.css */
body.OGDark, .OGDark .OGSkin {
    background-color: #333 !important;
    color: #ffffff !important;
}
/*horni logo*/
.OGDark .Header {
    /*background-color: #002b59 !important;
    border-color: #002b59 !important;*/
    background-color: #333 !important;
    border-bottom-color: #626262 !important;
}
.OGDark a.HeaderLink, .OGDark .HelpLink, .OGDark .btn-link {
    color: #79b8ff !important;
}
.OGDark .HeaderName {
    color: #ff5200 !important;
}
.OGDark .LeftMenu, .OGDark .LeftMenuContent, .OGDark .MainMenu {
    background-color: #333 !important;
    color: #cfd8e3 !important;
    border-color: #626262;
}

.OGDark .SimpleMenu {
    background-color: #333 !important;
    border-color: #333;
}
.OGDark .PlaceHolder, .OGDark .MainPageContent, .OGDark .MainContent, .OGDark .SubRow, .OGDark .Actionbread, .OGDark .ActionRow, .OGDark .BreadRow {
    background-color: #333 !important;
    border-color: #626262;
    color: #9c9c9c;
}
.OGDark .Breadcrumb, .OGDark .MainBread {
  color: #cbd5e1 !important;
}
.OGDark .LoginedUser { color: #79b8ff !important; }
/* Buttons */
.OGDark .btn-primary { background-color: #1f6feb !important; border-color: #1f6feb !important; }
.OGDark .btn-default { background-color: #2a2a2a !important; border-color: #333 !important; color: #ddd !important; }

/*pozadi panelu, group boxu*/
.OGDark .panel, .OGDark .modal-content, .OGDark .LanguageLBControl {
  background-color: #424242 !important;
  color: #d0d0d0 !important;
  border-color: #626262 !important;
}
/* Ensure SVG fills are visible */
.OGDark .SVGMenu path { fill: #79b8ff !important; }

/* Keep other elements readable */
.OGDark .Footer {
    background-color: #333 !important;
    color: #9c9c9c !important;
}

/* Fail-safe: ensure left menu keeps absolute layout and main content margin is preserved */
.OGDark #OGLeftMenu, .OGDark .LeftMenu {
  /* keep absolute positioning but allow JS to control width */
  position: absolute;
  left: 0;
  z-index: 1075;
}
.OGDark #OGMainPageContent, .OGDark .MainPageContent {
  /* do not force margin-left here; let JS handle layout when menu collapses */
}
/*menu vlevo*/
.OGDark .nav > li > a:focus, .OGDark .nav > li > a:hover, .OGDark .dropdown-menu > li > a:focus, .OGDark .dropdown-menu > li > a:hover {
    background-color: #616161;
}

.OGDark .dropdown-menu, .OGDark .Shortcuts-large, .OGDark .Shortcuts-mini {
    background-color: #333 !important;
}

    .OGDark .dropdown-menu > li > a {
        color: #79b8ff !important;
    }
    /*vybrana polozka v levem menu*/
    .OGDark .dropdown-menu > .active > a, .OGDark .dropdown-menu > .active > a:focus, .OGDark .dropdown-menu > .active > a:hover {
        background-color: #626262;
    }


.OGDark a {
    color: #79b8ff;
}

.OGDark .nav-pills > li.active > a, .OGDark .nav-pills > li.active > a:focus, .OGDark .nav-pills > li.active > a:hover {
    color: #79b8ff;
    background-color: #424242;
}

/*textboxy*/
.OGDark .form-control, .OGDark .form-control[disabled], .OGDark .form-control[readonly], .OGDark fieldset[disabled] {
    color: #ffffff;
    background-color: #424242;
    border-color: #616161;
}

/*group hlavicka*/
.OGDark .panel-default > .panel-heading {
    color: #ffffff;
    background-color: #616161;
    border-color: #424242;
}

/*ouško záložky*/
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    background-color: #333;
}

/*čára pod vybranou záložkou*/
.OGDark .nav-tabs {
    border-bottom-color: #626262;
}
/*lajna kolem ouška záložky*/
    .OGDark .nav-tabs > li.active > a, .OGDark .nav-tabs > li.active > a:focus, .OGDark .nav-tabs > li.active > a:hover {
        border-left-color: #626262;
        border-right-color: #626262;
    }

/*ohraničení buněk v gridu*/
.OGDark .table-bordered, .OGDark .table-bordered > tbody > tr > td, .OGDark .table-bordered > tbody > tr > th, .OGDark .table-bordered > tfoot > tr > td, .OGDark .table-bordered > tfoot > tr > th, .OGDark .table-bordered > thead > tr > td, .OGDark .table-bordered > thead > tr > th, .OGDark .well {
    border-color: #626262;
}
 
/*zvýraznění řádku v gridu*/
.OGDark .table-hover > tbody > tr:hover, .OGDark .table > tbody > tr.active > td, .OGDark .table > tbody > tr.active > th, .OGDark .table > tbody > tr > td.active, .OGDark .table > tbody > tr > th.active, .OGDark .table > tfoot > tr.active > td, .OGDark .table > tfoot > tr.active > th, .OGDark .table > tfoot > tr > td.active, .OGDark .table > tfoot > tr > th.active, .OGDark .table > thead > tr.active > td, .OGDark .table > thead > tr.active > th, .OGDark .table > thead > tr > td.active, .OGDark .table > thead > tr > th.active {
    background-color: #626262;
}

/* Ohraniceni gridu */
.OGDark .table-bordered, .OGDark .table-bordered > tbody > tr > td, .OGDark .table-bordered > tbody > tr > th,
.OGDark .table-bordered > tfoot > tr > td, .OGDark .table-bordered > tfoot > tr > th, .OGDark .table-bordered > thead > tr > td,
.OGDark .table-bordered > thead > tr > th, .well {
    border: 1px solid #626262;
}

/* -- Čára pod posledním řádkem u varianty kdy je méně řádků než fixní výška gridu */
.OGDark .dxbs-gridview > .panel > .dxgvHSDC + .dxgvCSD > table > tbody > tr:last-child > td {
    border-bottom: 1px solid #626262 !important;
}

/* -- horni a spodni cara na gridu */
.OGDark .panel > .panel-body + .table, .OGDark .panel > .panel-body + .table-responsive,
.OGDark .panel > .table + .panel-body, .OGDark .panel > .table-responsive + .panel-body {
    border-top: 1px solid #626262;
}

/*stránkování gridu + zamknute polozky */
.OGDark .pagination > .disabled > a, .OGDark .pagination > .disabled > a:focus, .OGDark .pagination > .disabled > a:hover,
.OGDark .pagination > .disabled > span, .OGDark .pagination > .disabled > span:focus, .OGDark .pagination > .disabled > span:hover {
    background-color: #424242;
    border-color: #626262;
}
/* + vybrana stranka*/
.OGDark .pagination > .active > a, .OGDark .pagination > .active > a:focus, .OGDark .pagination > .active > a:hover,
.OGDark .pagination > .active > span, .OGDark .pagination > .active > span:focus, .OGDark .pagination > .active > span:hover {
    background-color: #626262 !important;
    border-color:#626262;
}

/* + pozadi a pismo odemcene polozek*/
.OGDark .pagination > li > a, .OGDark .pagination > li > span {
    background-color: #424242;
    color: #ffffff;
    border-color: #626262;
}

/*gridview*/
.OGDark .img-thumbnail, .OGDark .table .table, .OGDark body {
    background-color: #424242;
}

.OGDark .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #424242;
}

/*mapa pozadi*/
.OGDark .map {
    background: #424242;
}

/*lomítka drobečkovky*/
.OGDark .breadcrumb > li + li:before {
    color: #79b8ff;
}

/*porovnani zmen*/
.OGDark .bg-light{
    background-color: #333 !important;
}

/*zadani skutecnosti hover*/
.OGDark .GridViewR:hover {
    cursor: pointer;
    background-color: #626262;
}

/* readonly barva na pozadi */
.OGDark .readonly, .OGDark .bg_white {
    background-color: #424242 !important;
}

.OGDark .form-control[disabled], .OGDark .form-control[readonly], .OGDark fieldset[disabled] .form-control {
    background-color: #424242;
}

/*listbox hover*/
.OGDark .list-group-item {
    background-color: #626262;
}

/*loading panel (pres ASPxLoadingPanel: Mapa, Download,...)*/
.OGDark .dx-lp {
    background-color: #626262;
    border-color: #424242;
    color: white;
}

/* loading panel u BootstrapGridView */
.OGDark .dxbs-lp {
    background: #626262 !important;
}

.OGDark .OGActLanguage:hover{
    color:white;
}