/*region public*/
body.dark-theme {
    color-scheme: dark;
    background: #090909;
    color: #ccc;
}

body.dark-theme .nav-header {
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

body.dark-theme #body-main-wrapper {
    background: url(../img/transparent/cross-stripes.png);
}

@media print {
    body.dark-theme #body-main-wrapper {
        background-image: none;
    }
}

body.dark-theme hr {
    border-top: 1px solid #000;
    border-bottom: 1px solid #333;
}

body.dark-theme .navbar,
body.dark-theme legend {
    color:  #ccc;
}

body.dark-theme pre {
    color: #eee;
    background: rgba(0,0,0,0.2);
}

body.dark-theme .ace_editor {
    filter: invert(1);
}

body.dark-theme .Module table.shortcut-template code {
    color: #ccc;
}
body.dark-theme .Module code,
body.dark-theme code{
    /*filter: contrast(1.5);*/
    color: #faa;
    border-color: #444;
    background: rgba(0, 0, 0, 0.2); /* background: #3d3d3d; */
}

body.dark-theme .table th,
body.dark-theme .table td {
    border-top: 1px solid rgba(0,0,0,0.25);
}

body.dark-theme .Module .sticky-wrapper .sticky.front th {
    background: #262626;
}

body.dark-theme .modal {
    background-color: #222;
    border: 1px solid rgba(0, 0, 0, 0.5);
}

body.dark-theme .modal-header {
    padding: 9px 15px;
    border-bottom: 1px solid #303030;
    background-color: #232323;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

body.dark-theme .modal-body {
    background-color: #222;
}

body.dark-theme .modal:not(.FullSize) .modal-body {
    /*background: url(../img/transparent/cross-stripes.png) repeat;*/
}

body.dark-theme .modal-footer {
    background-color: #292929;
    border-color: #353535;
    box-shadow: inset 0 1px 0 #333;
}

body.dark-theme .modal.FullSize .modal-header,
body.dark-theme .modal.FullSize .modal-body,
body.dark-theme .modal.FullSize .modal-footer,
body.dark-theme .modal.FullSize {
    background: none;
    border: none;
}

body.dark-theme .close {
    color: #ffffff;
    text-shadow: 0 1px 0 #000;
    opacity: 0.6;
}

body.dark-theme .modal-backdrop {
    background-color: #444;
}

body.dark-theme .close:hover {
    color: #fff;
    opacity: 0.9;
}

body.dark-theme .Module.Footer {
    background: #1f1f1f url(../img/transparent/cross-stripes.png) repeat scroll 0 0;
}

body.dark-theme .widget .header .navbar-inner {
    color: #ccc;
}

body.dark-theme .topMenu.puerto-horizontal .puerto-menu,
body.dark-theme .topMenu .navbar-inner {
    background: #262626;
}

body.dark-theme .topMenu.puerto-horizontal .puerto-menu li:not(:last-child) a {
    border-color: #1a1a1a;
}

body.dark-theme .topMenu.puerto-horizontal .puerto-menu li a {
    color: #ccc;
}

body.dark-theme .topMenu.puerto-horizontal .puerto-menu li ul, .topMenu.puerto-horizontal .puerto-menu li ul li ul {
    background: #262626;
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
}

body.dark-theme .topMenu.puerto-horizontal .puerto-menu li ul li a {
    border-bottom: 1px solid #171717;
}

body.dark-theme .topMenu.puerto-horizontal .puerto-menu li.active > a {
    /* position: relative; */
    color: #3498db;
    border: 0;
    border-top: 4px solid #3498db;
    border-bottom: 4px solid #3498db;
    margin-top: -4px;
    margin-bottom: -4px;
    box-shadow: 0 0 5px rgba(0,0,0, 0.6);
}

body.dark-theme .topMenu.puerto-horizontal .puerto-menu li ul li.active > a {
    margin-top: 0;
    border: none;
    background: rgba(0,0,0,0.03);
}

body.dark-theme .topMenu.puerto-horizontal .puerto-menu li:hover > a {
    color: #3498db;
}

body.dark-theme .topMenu.puerto-horizontal .puerto-menu li ul li.active > a {
    background: #333;
    box-shadow: none;
}
body.dark-theme .topMenu.puerto-horizontal .puerto-menu li ul li.active > a {
    border-bottom: 1px solid #171717;
}

body.dark-theme .Module .filter-box.well,
body.dark-theme .Module .search-box.well {
    background-color: #222;
}

body.dark-theme .well {
    background-color: #222;
    border-color: #333;
}

body.dark-theme .Module .filter-box .button-box,
body.dark-theme .Module .search-box .button-box,
body.dark-theme .Module .management .search-box .button-box,
body.dark-theme .Module .management .filter-box .button-box,
body.dark-theme .Module .button-box {
    border-color: #333;
}

body.dark-theme .input-append .add-on,
body.dark-theme  .input-prepend .add-on {
    text-shadow: 0 1px 0 #000;
    background-color: #444;
    border-color: #333;
}

body.dark-theme textarea,
body.dark-theme select,
body.dark-theme input[type="text"],
body.dark-theme input[type="password"],
body.dark-theme input[type="datetime"],
body.dark-theme input[type="datetime-local"],
body.dark-theme input[type="date"],
body.dark-theme input[type="month"],
body.dark-theme input[type="time"],
body.dark-theme input[type="week"],
body.dark-theme input[type="number"],
body.dark-theme input[type="email"],
body.dark-theme input[type="url"],
body.dark-theme input[type="search"],
body.dark-theme input[type="tel"],
body.dark-theme input[type="color"],
body.dark-theme .uneditable-input {
    background-color: #171717;
    border: 1px solid #333;
}

body.dark-theme select,
body.dark-theme textarea,
body.dark-theme input[type="text"],
body.dark-theme input[type="password"],
body.dark-theme input[type="datetime"],
body.dark-theme input[type="datetime-local"],
body.dark-theme input[type="date"],
body.dark-theme input[type="month"],
body.dark-theme input[type="time"],
body.dark-theme input[type="week"],
body.dark-theme input[type="number"],
body.dark-theme input[type="email"],
body.dark-theme input[type="url"],
body.dark-theme input[type="search"],
body.dark-theme input[type="tel"],
body.dark-theme input[type="color"],
body.dark-theme .uneditable-input {
    color: #eee;
}

body.dark-theme input:focus:required:invalid:focus,
body.dark-theme textarea:focus:required:invalid:focus,
body.dark-theme select:focus:required:invalid:focus {
    border-color: #e9322d;
    box-shadow: 0 0 6px #ab0b0b;
}

body.dark-theme textarea:focus,
body.dark-theme input[type="text"]:focus,
body.dark-theme input[type="password"]:focus,
body.dark-theme input[type="datetime"]:focus,
body.dark-theme input[type="datetime-local"]:focus,
body.dark-theme input[type="date"]:focus,
body.dark-theme input[type="month"]:focus,
body.dark-theme input[type="time"]:focus,
body.dark-theme input[type="week"]:focus,
body.dark-theme input[type="number"]:focus,
body.dark-theme input[type="email"]:focus,
body.dark-theme input[type="url"]:focus,
body.dark-theme input[type="search"]:focus,
body.dark-theme input[type="tel"]:focus,
body.dark-theme input[type="color"]:focus,
body.dark-theme .uneditable-input:focus {
    border-color: rgba(28, 143, 237, 0.8);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgb(66 129 175 / 48%);
}

body.dark-theme input[disabled],
body.dark-theme select[disabled],
body.dark-theme textarea[disabled],
body.dark-theme input[readonly],
body.dark-theme select[readonly],
body.dark-theme textarea[readonly] {
    cursor: not-allowed;
    background-color: #333;
    color: #999;
}

body.dark-theme input::selection,
body.dark-theme textarea::selection {
    background: #0064d2;
    color: #fff;
}

body.dark-theme input::placeholder,
body.dark-theme textarea::placeholder {
    color: #444;
}

body.dark-theme .LM-form fieldset.module-setup,
body.dark-theme .LM-form fieldset.module-controller,
body.dark-theme .LM-form fieldset.editableContent,
body.dark-theme .LM-form fieldset.editableContent-controller {
    border: #555 solid 1px;
    background: #333;
}

body.dark-theme .label,
body.dark-theme .badge {
    color: #000;
    text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
    background-color: #999;
}

body.dark-theme .label-important,
body.dark-theme .badge-important {
    background-color: #e24947;
}

body.dark-theme .label-important[href],
body.dark-theme .badge-important[href] {
    background-color: #b94a48;
}

body.dark-theme .label-warning,
body.dark-theme .badge-warning {
    background-color: #f89406;
}

body.dark-theme .label-warning[href],
body.dark-theme .badge-warning[href] {
    background-color: #c67605;
}

body.dark-theme .label-success,
body.dark-theme .badge-success {
    background-color: #68cb69;
}

body.dark-theme .label-success[href],
body.dark-theme .badge-success[href] {
    background-color: #468847;
}

body.dark-theme .label-info,
body.dark-theme .badge-info {
    background-color: #3a87ad;
}

body.dark-theme .label-info[href],
body.dark-theme .badge-info[href] {
    background-color: #2d6987;
}

body.dark-theme .label-inverse,
body.dark-theme .badge-inverse {
    background-color: #eee;
}

body.dark-theme .label-inverse[href],
body.dark-theme .badge-inverse[href] {
    background-color: #ddd;
}

body.dark-theme .progress {
    background-color: #555;
    background-image: none;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.dark-theme .progress-disabled .bar,
body.dark-theme .progress .bar-disabled {
    background-color: #555;
    background-image: linear-gradient(to bottom, #666, #444);
}

body.dark-theme .progress-striped .bar {
     background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}

body.dark-theme .caret {
    border-top-color: #ffffff;
}

body.dark-theme .btn {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #363636;
    *background-color: #222222;
    background-image: linear-gradient(to bottom, #555, #333);
    background-repeat: repeat-x;
    border-color: #222222 #222222 #000000;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

body.dark-theme .btn:hover {
    text-decoration: none;
    color: #ffffff;
    background-color: #333;

    background-position: 0 -15px;
    transition: background-position 0.1s linear;
}

body.dark-theme .btn.active,
body.dark-theme .btn:active {
    color: #ddd;
    background-color: #333;
    background-image: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.95);
}


body.dark-theme .btn.disabled,
body.dark-theme .btn[disabled] {
    cursor: default;
    color: #aaa;
    background-color: #333;
    background-image: none;
    opacity: 0.75;
}

body.dark-theme .btn.disabled:active,
body.dark-theme .btn.disabled.active,
body.dark-theme .btn[disabled].active,
body.dark-theme .btn[disabled]:active {
    box-shadow: none;
}

body.dark-theme .btn-primary.active,
body.dark-theme .btn-warning.active,
body.dark-theme .btn-danger.active,
body.dark-theme .btn-success.active,
body.dark-theme .btn-info.active,
body.dark-theme .btn-inverse.active {
    color: rgba(255, 255, 255, 0.75);
}
body.dark-theme .btn-primary:active,
body.dark-theme .btn-warning:active,
body.dark-theme .btn-danger:active,
body.dark-theme .btn-success:active,
body.dark-theme .btn-info:active,
body.dark-theme .btn-inverse:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.dark-theme .btn-primary {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #006dcc;
    *background-color: #0044cc;
    background-image: linear-gradient(to bottom, #0088cc, #0044cc);
    background-repeat: repeat-x;
    border-color: #0044cc #0044cc #002a80;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

body.dark-theme .btn-primary:hover,
body.dark-theme .btn-primary:active,
body.dark-theme .btn-primary.active,
body.dark-theme .btn-primary.disabled,
body.dark-theme .btn-primary[disabled] {
    color: #ffffff;
    background-color: #0044cc;
    *background-color: #003bb3;
}

body.dark-theme .btn-primary:active,
body.dark-theme .btn-primary.active {
    background-color: #003399 \9;
}

body.dark-theme .btn-warning {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #faa732;
    *background-color: #f89406;
    background-image: linear-gradient(to bottom, #fbb450, #f89406);
    background-repeat: repeat-x;
    border-color: #f89406 #f89406 #ad6704;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

body.dark-theme .btn-warning:hover,
body.dark-theme .btn-warning:active,
body.dark-theme .btn-warning.active,
body.dark-theme .btn-warning.disabled,
body.dark-theme .btn-warning[disabled] {
    color: #ffffff;
    background-color: #f89406;
    *background-color: #df8505;
}

body.dark-theme .btn-warning:active,
body.dark-theme .btn-warning.active {
    background-color: #c67605 \9;
}

body.dark-theme .btn-danger {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #da4f49;
    *background-color: #bd362f;
    background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
    background-repeat: repeat-x;
    border-color: #bd362f #bd362f #802420;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

body.dark-theme .btn-danger:hover,
body.dark-theme .btn-danger:active,
body.dark-theme .btn-danger.active,
body.dark-theme .btn-danger.disabled,
body.dark-theme .btn-danger[disabled] {
    color: #ffffff;
    background-color: #bd362f;
    *background-color: #a9302a;
}

body.dark-theme .btn-danger:active,
body.dark-theme .btn-danger.active {
    background-color: #942a25 \9;
}

body.dark-theme .btn-success {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #5bb75b;
    *background-color: #51a351;
    background-image: linear-gradient(to bottom, #62c462, #51a351);
    background-repeat: repeat-x;
    border-color: #51a351 #51a351 #387038;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

body.dark-theme .btn-success:hover,
body.dark-theme .btn-success:active,
body.dark-theme .btn-success.active,
body.dark-theme .btn-success.disabled,
body.dark-theme .btn-success[disabled] {
    color: #ffffff;
    background-color: #51a351;
    *background-color: #499249;
}

body.dark-theme .btn-success:active,
body.dark-theme .btn-success.active {
    background-color: #408140 \9;
}

body.dark-theme .btn-info {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #49afcd;
    *background-color: #2f96b4;
    background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
    background-repeat: repeat-x;
    border-color: #2f96b4 #2f96b4 #1f6377;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

body.dark-theme .btn-info:hover,
body.dark-theme .btn-info:active,
body.dark-theme .btn-info.active,
body.dark-theme .btn-info.disabled,
body.dark-theme .btn-info[disabled] {
    color: #ffffff;
    background-color: #2f96b4;
    *background-color: #2a85a0;
}

body.dark-theme .btn-info:active,
body.dark-theme .btn-info.active {
    background-color: #24748c \9;
}

body.dark-theme .btn-inverse {
    color: #333333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #ffffff, #878787);
    background-repeat: repeat-x;
    border: 1px solid #bbbbbb;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-color: #878787 #878787 #bfbfbf;
    border-bottom-color: #a2a2a2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.dark-theme .btn-inverse:hover,
body.dark-theme .btn-inverse:active,
body.dark-theme .btn-inverse.active,
body.dark-theme .btn-inverse.disabled,
body.dark-theme .btn-inverse[disabled] {
    color: #333333;
    background-color: #878787;
}

body.dark-theme .btn-link,
body.dark-theme .btn-link:active {
    background-color: transparent;
    background-image: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

body.dark-theme .Module .btn-gold {
    background-position: 0 -1px;
    background-color: rgb(196, 156, 56);
    color: rgb(51, 51, 51);
    text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    background-image: linear-gradient(to bottom, rgb(255, 254, 184), rgb(196, 156, 56));
    background-repeat: repeat-x;
}

body.dark-theme .btn-link {
    color: #0088cc;
}

body.dark-theme .btn-link:hover {
    color: #005580;
    background-color: transparent;
}

body.dark-theme .dropdown-menu {
    background-color: #484848;
    border: 1px solid #222;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

body.dark-theme .dropdown-menu a {
    color: #eee;
}

body.dark-theme .dropdown-menu .divider {
    background-color: #353535;
    border-bottom: 1px solid #333;
}

body.dark-theme .dropdown-menu li > a:hover,
body.dark-theme .dropdown-menu li > a:focus,
body.dark-theme .dropdown-submenu:hover > a,
body.dark-theme .dropdown-menu .active > a,
body.dark-theme .dropdown-menu .active > a:hover {
    color: #ffffff;
    background-color: #1563a8;
    background-image: linear-gradient(to bottom, #1563a8, #1563a8);
}

body.dark-theme .dropdown-menu .disabled > a,
body.dark-theme .dropdown-menu .disabled > a:hover {
    color: #999999;
}

body.dark-theme .dropdown-menu .disabled > a:hover {
    text-decoration: none;
    cursor: default;
    background-color: transparent;
    background-image: none;
}

body.dark-theme .btn-group > .btn + .dropdown-toggle {
    -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.dark-theme .btn-group.open .dropdown-toggle {
    background-image: none;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.dark-theme .btn-group.open .btn.dropdown-toggle {
    background-color: #222222;
}

body.dark-theme .btn-group.open .btn-primary.dropdown-toggle {
    background-color: #0044cc;
}

body.dark-theme .btn-group.open .btn-warning.dropdown-toggle {
    background-color: #f89406;
}

body.dark-theme .btn-group.open .btn-danger.dropdown-toggle {
    background-color: #bd362f;
}

body.dark-theme .btn-group.open .btn-success.dropdown-toggle {
    background-color: #51a351;
}

body.dark-theme .btn-group.open .btn-info.dropdown-toggle {
    background-color: #2f96b4;
}

body.dark-theme .btn-group.open .btn-inverse.dropdown-toggle {
    background-color: #e6e6e6;
}

body.dark-theme .dropup .btn-large .caret {
    border-bottom: 5px solid #000000;
}

body.dark-theme .btn-primary .caret,
body.dark-theme .btn-warning .caret,
body.dark-theme .btn-danger .caret,
body.dark-theme .btn-info .caret,
body.dark-theme .btn-success .caret,
body.dark-theme .btn .caret {
    border-top-color: #ffffff;
    border-bottom-color: #ffffff;
}

body.dark-theme .btn-inverse .caret {
    border-top-color: #333;
    border-bottom-color: #333;
}

body.dark-theme .Module .table,
body.dark-theme .Module table.list {
    background: #252525;
}

body.dark-theme .table-bordered th,
body.dark-theme .table-bordered td {
    border-color: #333;
}

body.dark-theme .Module .Management table.list th label,
body.dark-theme .Module table.list th label {
    background: linear-gradient(to bottom, #444444, #333333);
    color: #ccc;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 1px inset #000;
}

body.dark-theme .Module .Management table.list th label.column-selected,
body.dark-theme .Module .Management table.list th label.container-selected,
body.dark-theme .Module .Management table.list th label.order-selected,
body.dark-theme .Module table.list th label.order-selected,
body.dark-theme .Module table.list th label.selected {
    background-image: linear-gradient(to bottom, #333, #444);
    box-shadow: 0 2px 5px inset rgba(0, 0, 0, 0.2), 0 1px 2px inset rgba(0, 0, 0, 0.1) !important;
}

body.dark-theme .Module .Management table.list th label:not(.order-selected):hover,
body.dark-theme .Module table.list th label:not(.order-selected):hover {
    background: #393939;
    box-shadow: none;
}

body.dark-theme .Module .Management table.list th.action,
body.dark-theme .Module .Management table.list th,
body.dark-theme .Module table.list th.action,
body.dark-theme .Module table.list th {
    border-color: #333;
    color: #aaa;
    background: #444;
}

body.dark-theme .table-bordered {
    border-color: #444;
}

body.dark-theme .Module table.list th,
body.dark-theme .Module .Management table.list th,
body.dark-theme .table-bordered th {
    border-color: #333;
}

body.dark-theme .Module .Management .table tbody tr > td,
body.dark-theme .Module .Management .table-hover tbody tr > td,
body.dark-theme .Module .table tbody tr > td,
body.dark-theme .Module .table-hover tbody tr > td {
    border-color: rgba(0,0,0, 0.25)
}
body.dark-theme .Module .Management .table-hover tbody tr:hover > td,
body.dark-theme .Module .table-hover tbody tr:hover > td,
body.dark-theme .table-hover tbody tr:hover > td {
    background-color: rgba(0,0,0, 0.15); /* #393838 */
}

body.dark-theme .table.table-striped tbody tr.error td,
body.dark-theme .table tbody tr.error td {
    background-color: #691c20; /* #ff000050 */
}

body.dark-theme .Module table.list.table-hover tbody tr.error:hover > td,
body.dark-theme .Module .table-hover tbody tr.error:hover > td {
    background-color: #5c1e22; /* #ff000040 */
}

body.dark-theme .table.table-striped tbody tr.success td,
body.dark-theme .table tbody tr.success td {
    background-color: #236924; /*#00ff0050*/
}
body.dark-theme .Module table.list.table-hover tbody tr.success:hover > td,
body.dark-theme .Module table.table-hover tbody tr.success:hover > td {
    background-color: #245c25; /*#00ff0040*/
}

body.dark-theme .table.table-striped tbody tr.warning td,
body.dark-theme .table tbody tr.warning td {
    background-color: #695b24; /* #ffcf0050 */
}
body.dark-theme .Module table.list.table-hover tbody tr.warning:hover > td ,
body.dark-theme .Module table.table-hover tbody tr.warning:hover > td {
    background-color: #5c5025; /* #ffcf0040 */
}

body.dark-theme .table.table-striped tbody tr.info td,
body.dark-theme .table tbody tr.info td {
    background-color: #1f4a69; /* #009eff50 */
}
body.dark-theme .Module table.list.table-hover tbody tr.info:hover > td,
body.dark-theme .Module table.table-hover tbody tr.info:hover > td {
    background-color: #21445c; /* #009eff40 */
}

body.dark-theme .Module table.list tr.disabled > td,
body.dark-theme .Module table tr.disabled > td,
body.dark-theme .Module table tr.closed > td,
body.dark-theme .Module table tr.archived > td {
    background: #444;
    border-color: #353535;
}
body.dark-theme .Module table.list.table-hover tbody tr.disabled:hover > td,
body.dark-theme .Module table.list.table-hover tbody tr.closed:hover > td,
body.dark-theme .Module table.list.table-hover tbody tr.archived:hover > td,
body.dark-theme .Module table.table-hover tbody tr.closed:hover > td,
body.dark-theme .Module table.table-hover tbody tr.archived:hover > td {
    background-color: #3d3d3d;
}

body.dark-theme .table-striped tbody tr:nth-child(odd) td,
body.dark-theme .table-striped tbody tr:nth-child(odd) th {
    background-color: #292929;
}

body.dark-theme table.horizontal.table-striped tbody tr:nth-child(odd) th,
body.dark-theme table.horizontal.table-striped tbody tr:nth-child(even) th {
    border-top-color: rgba(0,0,0, 0.25);
    background-color: #333;
}

body.dark-theme .Module .chosen-container-multi .chosen-choices,
body.dark-theme .chosen-container-multi .chosen-choices {
    border-color: #333333;
    background-color: #171717;
    background-image: none;
}

body.dark-theme .chosen-container-active .chosen-choices li.search-field input[type=text] {
    color: #bbb !important;
}

body.dark-theme .chosen-container .chosen-drop {
    border-color: #555;
    background: #222;
}

body.dark-theme .chosen-container .chosen-results {
    color: #bbb !important;
}

body.dark-theme .chosen-container-multi .chosen-choices li.search-choice {
    border: 1px solid #666;
    background-image: none;/* background-image: linear-gradient(#555 20%,#454545 50%,#444 52%,#333 100%); */
    background-color: #333;
    box-shadow: none;
    color: #ddd;
}
body.dark-theme .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
    filter: invert(1);
}


body.dark-theme .btn-breadcrumb .btn {
    transition: none;
}

html[dir="ltr"] body.dark-theme .Module .btn-breadcrumb button.btn[disabled]:hover:after,
html[dir="rtl"] body.dark-theme .Module .btn-breadcrumb button.btn[disabled]:hover:after,
html[dir="ltr"] body.dark-theme .Module .btn-breadcrumb button.btn[disabled]:after,
html[dir="rtl"] body.dark-theme .Module .btn-breadcrumb button.btn[disabled]:after {
    background: inherit;
}

html[dir="rtl"] body.dark-theme .btn-breadcrumb .btn:not([class*="btn-"]):not(:last-child):after {
    transform: scale(0.71) rotate(225deg);
    background: linear-gradient(315deg, #555, #333);
    z-index: 3;
}
html[dir="rtl"] body.dark-theme .btn-breadcrumb .btn:not([class*="btn-"]):hover:not(:last-child):after {
    background: linear-gradient(315deg, #404040, #333, #333);

}

html[dir="ltr"] body.dark-theme .btn-breadcrumb .btn:not([class*="btn-"]):not(:last-child):after {
    transform: scale(0.71) rotate(45deg);
    background: linear-gradient(135deg, #555, #333);
    z-index: 3;
}

html[dir="ltr"] body.dark-theme .btn-breadcrumb .btn:not([class*="btn-"]):hover:not(:last-child):after {
    background: linear-gradient(135deg, #404040, #333, #333);
}

html[dir="ltr"] body.dark-theme .btn-breadcrumb .btn:not([class*="btn-"]):active:not(:last-child):after,
html[dir="ltr"] body.dark-theme .btn-breadcrumb .btn.active:not([class*="btn-"]):not(:last-child):after,
html[dir="rtl"] body.dark-theme .btn-breadcrumb .btn:not([class*="btn-"]):active:not(:last-child):after,
html[dir="rtl"] body.dark-theme .btn-breadcrumb .btn.active:not([class*="btn-"]):not(:last-child):after {
    background: inherit;
}

body.dark-theme .pagination .pagination-inner {
    background: #252525 !important;
}

body.dark-theme .alert {
    color: #fff8f0;
    background-color: #b07500;
    border: 1px solid #ffaf4a;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

body.dark-theme .alert-info {
    color: #def9ff;
    background-color: #3a87ad;
    border-color: #64aacd;
}

body.dark-theme .alert-success {
    color: #ceb;
    background-color: #308050;
    border-color: #56aa60;
}

body.dark-theme .alert-warning {
    color: #fff8f0;
    background-color: #b07500;
    border-color: #ffaf4a;
}

body.dark-theme .alert-danger,
body.dark-theme .alert-error {
    color: #fcc;
    background-color: #772222;
    border-color: #944444;
}

body.dark-theme .fixed-alerts .alert {
    box-shadow: 0 3px 5px 1px rgba(0,0,0, 0.5);
}

body.dark-theme .ui-widget-content {
    border: 1px solid #444;
    background: #252525;
}

body.dark-theme .ui-widget-content a,
body.dark-theme .ui-widget-content {
    color: inherit;
}

body.dark-theme .ui-widget-content,
body.dark-theme .ui-datepicker select.ui-datepicker-month,
body.dark-theme .ui-datepicker select.ui-datepicker-year {
    font-family: inherit;
}

body.dark-theme .ui-datepicker-buttonpane.ui-widget-content .ui-priority-primary {
    font-family: inherit;
    font-weight: bold;
}

body.dark-theme .ui-widget-header {
    border: 1px solid #444;
    background: #333;
    color: #ccc;
}

body.dark-theme .ui-datepicker-buttonpane.ui-widget-content .ui-priority-secondary {
    font-family: inherit;
}

body.dark-theme .ui-state-default,
body.dark-theme .ui-widget-content .ui-state-default,
body.dark-theme .ui-widget-header .ui-state-default {
    border: 1px solid #999;
    background: #555;
    font-weight: 400;
    color: #eee;
}

body.dark-theme .ui-state-active,
body.dark-theme .ui-widget-content .ui-state-active,
body.dark-theme .ui-widget-header .ui-state-active,
body.dark-theme .ui-datepicker-current-day .ui-state-highlight.ui-state-active {
    border: 1px solid #7898b1;
    background: #456e95;
    font-weight: 400;
    color: #fff;
}

body.dark-theme .ui-state-highlight,
body.dark-theme .ui-widget-content .ui-state-highlight,
body.dark-theme .ui-widget-header .ui-state-highlight {
    border: 1px solid #777;
    background: #454545;
    color: #fff;
}

body.dark-theme .ui-state-hover,
body.dark-theme .ui-widget-content .ui-state-hover,
body.dark-theme .ui-widget-header .ui-state-hover,
body.dark-theme .ui-state-focus,
body.dark-theme .ui-widget-content .ui-state-focus,
body.dark-theme .ui-widget-header .ui-state-focus {
    border: 1px solid #999;
    background: #ccc;
    font-weight: 400;
    color: #212121
}

body.dark-theme .ui-datepicker .ui-datepicker-prev,
body.dark-theme .ui-datepicker .ui-datepicker-next {
    margin-top: 2px;
}

body.dark-theme .ui-datepicker .ui-datepicker-prev.ui-state-hover,
body.dark-theme .ui-datepicker .ui-datepicker-next.ui-state-hover {
    background-color: #222;
    border-color: #444;
    cursor: pointer;
}

body.dark-theme .ui-menu .ui-menu-item a.ui-state-focus, .ui-menu .ui-menu-item a.ui-state-active {
    border: 1px solid #073755;
    background: #0051cc;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0;
}

body.dark-theme .ui-menu .ui-menu-item:nth-child(even) {
    background-color: #222;
}

body.dark-theme .ui-menu .ui-menu-item:nth-child(odd) {
    background-color: #333
}


html[dir="ltr"] body.dark-theme .ui-menu .ui-menu-item:nth-child(even) a {
    border-left: 4px solid #484848;
}

html[dir="ltr"] body.dark-theme .ui-menu .ui-menu-item:nth-child(odd) a {
    border-left: 4px solid #777;
}

html[dir="rtl"] body.dark-theme .ui-menu .ui-menu-item:nth-child(even) a {
    border-right: 4px solid #484848;
}

html[dir="rtl"] body.dark-theme .ui-menu .ui-menu-item:nth-child(odd) a {
    border-right: 4px solid #999;
}

body.dark-theme .ui-datepicker .ui-datepicker-prev .ui-icon,
body.dark-theme .ui-datepicker .ui-datepicker-next .ui-icon {
    filter: invert(1);
}

body.dark-theme .Module .search-box .advanced-btn::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 -4 16 16'%3E%3Cpath fill='%23fff' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}
body.dark-theme .Module .search-box .advanced-btn.active::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 -2 16 16'%3E%3Cpath fill='%23fff' d='M3.204 11h9.592L8 5.519 3.204 11zm-.753-.659 4.796-5.48a1 1 0 0 1 1.506 0l4.796 5.48c.566.647.106 1.659-.753 1.659H3.204a1 1 0 0 1-.753-1.659z'/%3E%3C/svg%3E");
}

body.dark-theme #admin-top-panel .options-wrapper .btn-square:not(.active):not(.btn-info) {
    background: #484848 !important;
}

body.dark-theme #admin-top-panel .options-wrapper .btn-square.active:not(.btn-info) {
    background: #3e3e3e !important;
}

body.dark-theme .Module .selection-cell input[data-auto-complete].selected ~ span.checked:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 -4 16 16'%3E%3Cpath fill='%23fff' d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z'/%3E%3C/svg%3E");
}

body.dark-theme .Module table tr.highlight td {
    animation-name: highlight_record_new_dark;
}


@keyframes highlight_record_new_dark {
    0% {
    }
    5% {
        background-color: rgb(7, 86, 64);
    }
    15% {
        background-color: rgba(255,255,255,0);
    }
    25% {
        background-color: rgb(15, 96, 78);
    }
    100% {

    }
}

body.dark-theme .fixed-alerts table tr:hover th {
    background-color: rgba(0,0,0,0.25);
}

body.dark-theme .alert.alert-info .badge-info {
    background-color: #16aed2;
}

body.dark-theme .control-group.error .input-prepend .add-on,
body.dark-theme .control-group.error .input-append .add-on {
    color: #000000;
    background-color: #ff5151;
    border-color: #b94a48;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.dark-theme .control-group.error .checkbox,
body.dark-theme .control-group.error .radio,
body.dark-theme .control-group.error input,
body.dark-theme .control-group.error select,
body.dark-theme .control-group.error textarea {
    color: #b94a48;
    border-color: #b94a48;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

body.dark-theme .control-group.success .input-prepend .add-on,
body.dark-theme .control-group.success .input-append .add-on {
    color: #000000;
    background-color: #287408;
    border-color: #468847;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.dark-theme .control-group.success .checkbox,
body.dark-theme .control-group.success .radio,
body.dark-theme .control-group.success input,
body.dark-theme .control-group.success select,
body.dark-theme .control-group.success textarea {
    color: #468847;
    border-color: #3f8b40;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

body.dark-theme .control-group.warning .input-prepend .add-on,
body.dark-theme .control-group.warning .input-append .add-on {
    color: #000000;
    background-color: #af9611;
    border-color: #c09853;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.dark-theme .control-group.warning .checkbox,
body.dark-theme .control-group.warning .radio,
body.dark-theme .control-group.warning input,
body.dark-theme .control-group.warning select,
body.dark-theme .control-group.warning textarea {
    color: #c09853;
    border-color: #c09853;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

body.dark-theme .control-group.info .input-prepend .add-on,
body.dark-theme .control-group.info .input-append .add-on {
    color: #000000;
    background-color: #0978b0;
    border-color: #3a87ad;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.dark-theme .control-group.info input,
body.dark-theme .control-group.info select,
body.dark-theme .control-group.info textarea {
    border-color: #3a87ad;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

body.dark-theme .btn:focus {
    background-position: unset;
    transition: unset;
}
/*endregion*/

@keyframes dark_highlight_record_blink {
    0%, 49% {
        background-color: #ffe6ba;
    }
    50%, 100% {
        background-color: #fff;
        /*background-color: unset;*/
    }
}

@keyframes dark_highlight_record_blink2 {
    0%, 49% {
        background-color: #7f5628;
    }
    50%, 100% {
        background-color: #5f390e;
    }
}

@keyframes priority-ripple {
    0% {
        box-shadow: 0 0 0 0 rgb(var(--glow-rgb) / .8);
    }

    70% {
        box-shadow: 0 0 0 10px rgb(var(--glow-rgb) / 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgb(var(--glow-rgb) / 0);
    }
}

@-webkit-keyframes phone_flash_dark {
    0%, 49% {
        background: #9c1212;
    }
    50%, 100% {
        background: #741313;
    }
}