.vzkazy-nevyrizeno {
    color: #ff4000;
    /*background-color: #f2f2f2;*/
}

.vzkazy-ceka {
    color: #ff9933;
}

.cislo-verze {
	font-weight: normal !important;
}

.firmy-zrusene {
	color: dimgrey;
	text-decoration: line-through;
}

.firmy-testovaci {
	color: lightgray;
}

h2 > small {
    font-weight: normal !important;
    font-size: 14px !important;
}

body, html {
    margin: 0;
    min-height: 100%;
    height: 100%;
}

#app-side-nav-outer-toolbar {
    flex-direction: column;
    display: flex;
    height: 100%;
    width: 100%;
}

.layout-header {
    flex: 0 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    position: relative;
    z-index: 1501;
}

.dx-toolbar .dx-toolbar-item.menu-button {
    width: 60px;
    text-align: center;
    padding: 0;
}

.dx-toolbar .dx-toolbar-item.menu-button > .dx-toolbar-item-content .dx-icon { color: #264796; }

.dx-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    border-radius: 4px;
    background-color: #fff;
    margin: 2px 2px 3px;
}

.dx-card.wide-card {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    border-right: 0;
    border-left: 0;
}

.with-footer > div > div > .dx-scrollable-content { height: 100%; }

.with-footer > div > div > .dx-scrollable-content > .dx-scrollview-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.layout-body {
    background-color: #f2f2f2;
    flex: 1;
    height: 100%;
    min-height: 0;
}

.layout-body .menu-container {
    height: 100%;
    width: 250px;
}

.layout-body .content {
    flex-grow: 1;
    height: 100%;
    line-height: 1.5;
    padding: 0 15px 0 10px;
}

.layout-body .content h2 {
    font-size: 30px;
    font-weight: 300;
    letter-spacing: -.5px;
}

.layout-body .content-block {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
}

.layout-body .content-footer {
    display: block;
    color: rgba(0, 0, 0, .609);
    border-top: 1px solid rgba(0, 0, 0, .1);
    padding-top: 20px;
    padding-bottom: 24px;
}

.layout-body .responsive-paddings { padding: 20px; }

.layout-body-hidden { visibility: hidden; }

@media screen and (min-width: 600px) {
    .layout-body .content-block {
        margin-left: 40px;
        margin-right: 40px;
    }
}

@media screen and (min-width: 1280px) {
    .layout-body .responsive-paddings { padding: 40px; }
}

.menu-container .dx-widget {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    font-family: Roboto, RobotoFallback, Helvetica, Arial, sans-serif;
    line-height: 24px;
}

.menu-container .dx-treeview {
    white-space: nowrap;
}

.menu-container .dx-treeview .dx-treeview-item {
	padding-left: 0;
	padding-right: 0;
}

.menu-container .dx-treeview .dx-treeview-item a {
	color: white;
}

.menu-container .dx-treeview .dx-treeview-item .dx-icon {
    width: 60px !important;
    margin: 0 !important;
}

.menu-container .dx-treeview .dx-treeview-node { padding: 0 0 !important; }

.menu-container .dx-treeview .dx-treeview-toggle-item-visibility {
    right: 10px;
    left: auto;
}

.menu-container .dx-treeview .dx-rtl .dx-treeview-toggle-item-visibility {
    left: 10px;
    right: auto;
}

.menu-container .dx-treeview .dx-treeview-node[aria-level="1"] {
    font-weight: bold;
    border-bottom: 1px solid #515159;
}

.menu-container .dx-treeview .dx-treeview-node[aria-level="2"] .dx-treeview-item-content {
    font-weight: normal;
    padding: 0 0 0 30px;
}

.menu-container .dx-treeview .dx-treeview-node-container .dx-treeview-node.dx-state-selected:not(.dx-state-focused) > .dx-treeview-item {
    background: transparent;
}

.menu-container .dx-treeview .dx-treeview-node-container .dx-treeview-node.dx-state-selected > .dx-treeview-item * {
    color: #D7BF28;
}

.menu-container .dx-treeview .dx-treeview-node-container .dx-treeview-node:not(.dx-state-focused) > .dx-treeview-item.dx-state-hover {
    background-color: #264796;
    color: white;
}

.main-toolbar {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #264796;
}

.header-title {
    color: white;
    font-weight: bold;
}

.padding-50 {
    padding: 50px;
}

.header-label {
    color: white;
    font-size: 12pt !important;
}

.margin-top-10 {
	margin-top: 10px;
}

.dx-toolbar-label > div {
    margin: 0;
}

.dx-toolbar-label .dx-item-content a {
    color: whitesmoke;
}

.btn-primary {
    background-color: #264796;
    border-color: #264796;
}

.btn-primary:hover {
    background-color: #1E3877;
    border-color: #1E3877;
}

.objednavka-odeslana {
    background-color: rgba(229, 255, 204, 0.5);
}

.objednavka-vyresena {
    background-color: rgba(173, 235, 173, 0.5);
}

.dx-drawer-panel-content { background-color: #1E3877 }

.dx-treeview-toggle-item-visibility {
    color: white;
}

.center-container {
    display: flex;
    align-items: center;
    flex-flow: column;
    padding: 0 8px 0 8px;
}

    .center-container .logo img {
        padding-top: 40px;
        width: 450px;
    }

/* JP: Nasledujici cast resi mensi pismo v gridech, jak pri zobrazeni tak pri editaci - dle https://supportcenter.devexpress.com/ticket/details/t863663 */
.dx-datagrid .dx-row > td {
    padding: 5px;
}

.dx-widget > .dx-datagrid, /* Regular DataGrid cells */
.dx-item.dx-list-item, /* Dropdown editor list items */
.dx-datagrid .dx-placeholder, /* Input placeholder */
.dx-datagrid-rowsview .dx-texteditor-input /* Editor input */ {
    font-size: 12px !important;
}

/* Editor cells */
.dx-datagrid-rowsview .dx-texteditor-input {
    min-height: 15px;
    font-size: 12px !important;
    border-radius: 0 !important;
    padding: 5px 7px 5px 7px !important;
}

/* icon */
.dx-datagrid .dx-dropdowneditor-icon:before {
    margin-left: -6px; /* move the icon horizontally */
    margin-top: -5px;
}

/* icon container */
.dx-datagrid .dx-dropdowneditor-icon {
    font: 12px DXIcons; /* set icon size */
    margin-left: 6px; /* move the container horizontally */
    width: 25px;
}

/* Adjust edit border width if necessary */
/* edit row border-bottom */
.dx-datagrid-rowsview .dx-row.dx-edit-row:first-child > td {
    border-bottom: 1px solid #ddd;
}

/* Adjust edit border width if necessary */
/* edit row command-edit border-bottom */
.dx-datagrid-rowsview .dx-row.dx-edit-row:first-child > td.dx-command-edit {
    border-bottom: 1px solid #ddd;
}
/* Konec reseni mensiho pisma v gridech */