html, body, .layout-root {
    height: 100%;
    margin: 0;
    padding: 0;
}

.layout-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.body-content {
    flex: 1 0 auto;
}

body {
  padding-top: 50px;
}

/* Header */
.dxpnl-edge.t.headerPane {
    background-color: #EDEDED;
    background-position: left top;
    background-repeat: no-repeat;
}

.headtitle {
  /*font-family: Tahoma;
    font-size: 16px;*/
  margin-left: 3px;
}

.dxpnl-edge.t.headerPane.panel {
  padding: 0;
}

.headerMenu {
  border-width: 0 !important;
  border-top-width: 1px !important;
}

.expandedPanel {
  padding: 2px !important;
}

  .expandedPanel .headerMenu {
    border-top-width: 0 !important;
  }

  .expandedPanel .headerTop {
    display: none;
  }

.templateTitle {
  float: left;
  margin: 12px 12px 18px;
}

.dxpnl-edge.t.headerPane.bar .templateTitle {
  margin: 0;
}

.templateTitle a {
  text-decoration: none;
  font-size: x-large;
  color: black;
}

.loginControl {
  float: right;
  margin: 24px 25px 12px;
  font-size: 12px;
}

  .loginControl a {
    color: black;
    text-decoration: none;
    border-bottom: dashed 1px black;
    display: inline-block;
  }


/* Footer */
.dxpnl-edge.b.footerPane {
  background-color: #EDEDED;
}

  .dxpnl-edge.b.footerPane.panel {
    padding: 0;
  }

.footerMenu {
  float: right;
  padding-top: 7px;
}

.copyright {
  float: left;
  margin: 100px 15px 11px;
}

.content {
  padding: 5px;
}

/* Left Panel */
.leftPane.panel {
  padding: 1px;
  /*width: 200px;*/
}

/* Right Panel */
.rightPane.panel {
  padding: 0;
  width: 250px;
}

/* Account */
.accountHeader h2 {
  margin: 10px 0 7px 0;
  font-size: 16px;
}

.accountHeader p {
  margin: 0;
  padding: 0;
}

.accountHeader {
  margin-bottom: 20px;
}


/* Styles for basic forms
-----------------------------------------------------------*/

#editocevidnik .editor-label {
  float: left;
  width: 300px;
  margin-top: 8px;
  font-weight: bold;
}

#editradnja dl.dl-horizontal dt .editor-label {
  float: left;
  width: 300px;
  margin-top: 8px;
  font-weight: bold;
}

.dx-fieldset .dx-loadindicator {
    vertical-align: middle;
}

#left-column dt {
  white-space: normal;
  width: 200px !important;
}

.editor-field {
  clear: both;
  margin: 0 0 8px 0;
}

  .editor-field > div {
    position: relative;
  }

  .editor-field label {
    line-height: 18px;
  }

.editor-link {
  float: left;
  line-height: 18px;
  margin: 0 5px 0 0;
  cursor: pointer;
}

.editor-link img {
	margin: 2px 0 0;
}

.editor-field:after {
  content: " ";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.centerBlock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
  margin-bottom: 0px;
}

.navbar-nav a {
    width: max-content;
}

.text-blue {
    color: blue !important;
}

.text-underline {
	text-decoration: underline;  
}

.centerGrid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 640px;
}

@media screen and (max-width: 1680px) {
    .centerGrid {
        display: block;
    }
}

.centerall {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.box {
    width: 300px;
    margin: 5px;
    text-align: center;
}

.info {
  color: #FF5722;
  /*// Define your own color in your CSS*/
}

.saturate {
  filter: saturate(3);
}

.showtouser {
  /*color: #3B5998;*/
  background-color: #3B5998;
  /*// Define your own color in your CSS*/
}

/*.dx-loadpanel-content {
  display: none !important;
}*/

.dx-datagrid .dx-row-alt > td {
  background-color: #f3fffe !important;
  border-top: 1px solid #f3fffe !important;
  border-bottom: 1px solid #f3fffe !important;
}

.dx-field-label {
  max-width: 200px;
  color: black !important;
  /*width: 20% !important;*/
}

.dx-fieldset-header {
  font-size: 20px !important;
}

.dx-fieldset {
  min-width: 500px;
  max-width: 600px;
}

.dx-loadindicator-segment1 {
  /*background: #FF5722 !important;*/
}

.dx-datagrid-nodata {
  margin-top: 0 !important;
  margin-left: 0 !important;
}

.dx-searchbox .dx-icon-search {
  display: none !important;
}

/*fixing problem sa datagrid editorom and check boxom;*/
.dx-editor-cell.dx-editor-inline-block:not(.dx-command-select)::before {
  content: none !important;
}

/*kod popup poruka da je text obojan u crveno;*/
.dx-overlay-content .dx-button {
  color: #FF5722 !important;
}

@media screen and (max-width: 767px) {
  .dx-field {
    display: flex;
    flex-direction: column;
  }
  .dx-fieldset .dx-field-label {
    clear: both;
    width: 100%;
    align-self: flex-start;
  }

  .dx-fieldset .dx-field-value {
    clear: both;
    width: 100% !important;
    /*position: absolute;*/
  }
}

/* Sticky footer styles */
.footer {
    background: #f5f5f5;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    z-index: 1000;
    margin-top: auto;
}

/* Archived records styling */
.archived-row {
    color: #007bff !important;
    font-style: italic;
}

.archived-row td {
    color: #007bff !important;
    font-style: italic;
}

.archived-row a {
    color: #007bff !important;
}

.archived-row span {
    color: #007bff !important;
}

.archived-row div {
    color: #007bff !important;
}

.archived-row .dx-cell-focus-disabled {
    color: #007bff !important;
}

.archived-row .dx-command-cell {
    color: #007bff !important;
}

.archived-row .dx-selection-cell {
    color: #007bff !important;
}

.archived-row .dx-command-buttons {
    color: #007bff !important;
}

/* Ensure all text elements in archived rows are blue */
.archived-row * {
    color: #007bff !important;
}