.edus2 * {
  font-family: 'Roboto', sans-serif;
}

.ant-content * {
  font-family: 'Roboto', sans-serif;
}

.tree-no-switch .ant-tree-switcher {
    display:none;
    opacity: 0%;
}

.tree-no-switch .ant-tree-node-content-wrapper-normal{
  max-width: 500px;
}

a {
 color: black;
}

.ant-tooltip-placement-top,
.ant-tooltip-placement-topLeft,
.ant-tooltip-placement-topRight {
  padding-bottom: 5px;
}

.ant-tooltip-inner {
  color: black;
  background-color: white;
}

.ant-tooltip-arrow-content:before {
  background: #fff;
}

.ant-modal-header {
  color: white;
  background-color: #1d577d;
}

.ant-modal-title {
  color: white;
  font-weight: bold;
}

.ant-modal-content .ant-btn-primary:disabled,
.ant-modal-content .ant-btn-primary:disabled:hover {
  background-color:#f5f5f5;
  border-color:  #d9d9d9;
  color: #d9d9d9;
}


.ant-select-dropdown .ant-btn-primary,
.ant-modal-content .ant-btn-primary {
  background-color: rgb(29, 87, 125);
  border-color: rgb(29, 87, 125);
  color:white;
}

.ant-select-dropdown .ant-btn-primary:hover,
.ant-modal-content .ant-btn-primary:hover, 
.ant-modal-content .ant-btn:hover {
  background-color: #6a8fa5;
  border-color:#6a8fa5;
  color:white;
}






.ant-modal-confirm .ant-modal-close, 
.ant-modal-confirm .ant-modal-header {
	display: block;
    color: black;  
}	

.ant-modal-close {
  top:15;
  color: white;  
}  

.ant-drawer-body {
  padding: 10px;
}


/* restore legacy properties */
.pagination-ui-cell *
 {
  border-collapse: separate;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}



#topend *
{
  border-collapse: separate;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

#fields_table * {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;

}


#acl-wrapper fieldset {
  border-width: 2px;
  border-style: groove;
  border-color:rgb(192,192,192);
}

#acl-wrapper fieldset legend {
  width: auto;
  font-size:12px;  
  margin-bottom: 0px;
  padding: 0px 2px;
}


.ant-badge-count-sm {
  font-size: 10px;
  height: 10px;
  line-height: 10px;
  border-radius: 4px;
  padding: 1px 4px;
  border-color:rgb(255, 77, 79);
  box-shadow: rgb(255, 77, 79);
}
.ant-drawer-header {
  background-color:rgb(74, 113, 137);
}
.ant-drawer-title,
.ant-drawer-close {
  color: white;
}
.notifications-list .ant-list-items li {
  font-size:12px;
  padding: 3px 10px;
}
.notifications-list .ant-list-items div+div {
  margin-top:3px;
}

.notifications-list .ant-list-items a:hover, 
.notifications-list .ant-list-items li:hover {
  background-color: #e9f2f9;
  
}

.ant-descriptions-bordered .ant-descriptions-item-label {
  background-color:unset;
}

.ant-descriptions-bordered .ant-descriptions-item-content,
.ant-descriptions-bordered .ant-descriptions-item-label {
  border-right: unset;
}

.ant-descriptions-item-content textarea,
.ant-descriptions-item-content .ant-input:disabled {
  color:unset;
  cursor:unset;
  /*background-color: unset;*/
  resize: none;  
}

.ant-select-disabled.ant-select-multiple:not(.ant-select-customize-input) .ant-select-selector,
.ant-select-disabled.ant-select-multiple .ant-select-selector,
.ant-select-disabled.ant-select-single:not(.ant-select-customize-input) .ant-select-selector,
.ant-select-disabled.ant-select-single .ant-select-selector {
  color: unset; 
}

.ant-form-description .ant-input-disabled,
.ant-form-description .ant-select-disabled.ant-select-single:not(.ant-select-customize-input) .ant-select-selector,
.ant-select-disabled.ant-select-multiple .ant-select-selection-item 
{
/* cursor: unset;*/
/* background-color: unset; */
 color: unset; 
}
.ant-form-description .ant-picker-input>input[disabled],
.ant-form-description .ant-picker.ant-picker-disabled {
/* cursor: unset; */
 /*background-color: unset; */
 color: unset; 
}

.ant-form-description .ant-checkbox-disabled+span
{
  color: unset; 
}

.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after {
  border-color: rgb(100, 100, 100);
}

.ant-modal-body {
  padding-bottom: 0px;
}

.ant-modal-footer {
  border-top: none;
}
.ant-picker-date-panel td {
  text-align: center;
}

.ant-form-vertical .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before {
  display: none;
}

.ant-form-vertical .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):after {
  display: inline-block;
  margin-right: 4px;
  margin-top: -8px;
  color: #ff4d4f;
  font-size: 14px;
  font-family: SimSun,sans-serif;
  line-height: 1;
  content: "*";
}

.ant-form-horizontal .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before {
  position: absolute;
  right: 9px;
  top: 5px;
}

.ant-form-horizontal .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):after {
  margin-right: 8px;
  margin-left: 10px;
}

.ant-select-selection-search-input {
  font-size: 14px;
}
/* .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before {
  display: none;
} */
.panel-actions .ant-btn,
.panel-actions .ant-btn:focus
 {
  padding: 1px;
  border: none;
  font-size: 22px;  
}

.ant-btn.button-edit>span:before
 {
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  color: black;
  content:"\f044";
}

.ant-btn.button-sync>span:before
{
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    color: black;
    content:"\f021";
}

.antd-tree-plain .ant-tree-switcher {
  display:none;
  background-color: aqua;
}

img .antd-legacy {
  vertical-align: middle;
  margin-top: 2px;
}

.ant-select {
   border: solid 1px #d9d9d9;
   border-radius: 3px;

}

.ant-select-selector,
.ant-select-multiple .ant-select-selector {
  border: solid 0px white;
}

.ant-select-single:not(.ant-select-customize-input) .ant-select-selector,
.ant-select-multiple:not(.ant-select-customize-input) .ant-select-selector,
.ant-select-focused .ant-select-selector,
.ant-select-selector:focus,
.ant-select-selector:active,
.ant-select-selector:hover,
.ant-select .ant-select-selector:hover,
.ant-select-open .ant-select-selector {
  border: solid 0px white !important;
  box-shadow: none !important ;
}

.ant-select-multiple:not(.ant-select-customize-input) .ant-select-selector {
  margin: auto;
}

.ant-select:not(.ant-select-disables):hover .ant-select-selector,
.ant-select-focused:not(.ant-select-disables) .ant-select-selector
 {
  border: solid 0px white !important;
}
.ant-btn-primary[disabled],
.ant-btn-primary[disabled]:active,
.ant-btn-primary[disabled]:focus,
.ant-btn-primary[disabled]:hover {
  color: rgba(0,0,0,.25);
  background: #f5f5f5;
  border-color: #d9d9d9;
  text-shadow: none;
  box-shadow: none;
}
.ant-select-multiple .ant-select-selection-item-remove {
  margin: auto;
}

.edus2 button.ant-switch {
  border: none;
  padding: 0;
  border-radius: 100px;
  background-color: rgba(0,0,0,.25);
}
.edus2 button.ant-btn {
  border: 1px solid #d9d9d9;
  padding: 4px 15px;
  font-size: 14px;
}
.ant-upload-list-item-card-actions-btn {
  padding: 0 !important; 
}
.edus2 button.ant-btn.ant-btn-primary {
  color: #fff;
  background: #1d577d;
  border-color: #1d577d;
}
.edus2 button.ant-btn.ant-btn-primary[disabled] {
  color: rgba(0,0,0,.25);
  background: #f5f5f5;
  border-color: #f5f5f5;
}
.edus2 button.ant-switch:focus {
  border:none;
}
.edus2 button.ant-switch.ant-switch-checked {
  background-color: #1890ff;
}

#notification-list .ant-switch-checked {
  background-color: #49708A;
}

.ant-modal .pretty.pretty-radio {
  display: none;
}

.ant-table-wrapper th.ant-table-cell {
  font-weight: bold;
}

.ant-table-cell .ant-typography:last-child {
  margin-bottom: 0;
}

.edus2 .ant-table-thead .ant-table-cell {
  background-color: #1d577d;
  color: #fff;
  font-weight: normal;
  border-bottom: none;
}

.edus2 .ant-table-thead .ant-table-cell:first-child {
  padding-left: 20px;
}

.edus2 .ant-table-thead .ant-table-cell:last-child {
  padding-right: 20px;
}

.edus2 .ant-table-tbody .ant-table-cell { 
  border-bottom: none;
}

.edus2 .ant-table-tbody .ant-table-row:hover .ant-table-cell { 
  background: none;
}

.edus2 .ant-table-tbody .ant-table-row:hover { 
  background: rgba(0,0,0,0.15);
}

.edus2 .ant-table-tbody .ant-table-cell:first-child {
  padding-left: 20px;
}

.edus2 .ant-table-tbody .ant-table-cell:last-child {
  padding-right: 20px;
}

.no-content-margin-modal .ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content {
  margin-left: 0px;
  margin-top: 16px;
}

.ant-select-selection-item-remove, 
.ant-tag .anticon-close {
  margin: auto;
}

.ant-form-item-has-error .ant-select:not(.ant-select-borderless) {
  border-color: #ff4d4f!important;
}

.ant-collapse-ghost.small-collapse .ant-collapse-header {
  padding: 0px 40px 0px 0px;
}
.ant-collapse-ghost.small-collapse .ant-collapse-content-box {
  padding: 12px 0px;
}

.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
  padding: 0 0 0 10px;
}

.ant-tree.tree-no-switch .ant-tree-node-content-wrapper .ant-tree-iconEle {
  vertical-align: baseline;
  height: 21px;
  margin-right: 4px;
}

.ant-tree.tree-no-switch .ant-tree-checkbox {
  margin-top: 3px;
}

.ant-tree.ant-tree-directory.tree-no-switch .ant-tree-treenode-selected .ant-tree-node-content-wrapper,
.ant-tree.ant-tree-directory.tree-no-switch .ant-tree-treenode-selected:before {
  color: inherit;
  background: none;
}

.ant-tree.ant-tree-directory.tree-no-switch .ant-tree-treenode-selected:hover:before {
  background: #f5f5f5;
}
.ant-select-disabled.ant-select-multiple .ant-select-selector .checkbox-enabled input {
  cursor: pointer;
}

.panel-actions button.ant-btn {
    padding: 1px;
    border: none;
    font-size: 22px;
}

.ant-form-item {
  margin-bottom: 10px;
}

.ant-mb-10 {
  margin-bottom: 10px;
}

.inline-button .ant-btn:hover {
  color: white;
}

.legacy-style {
font-family: Tahoma, sans-serif;
}

.legacy-style .ant-btn,
.legacy-style .ant-btn span {
  font-family: Tahoma, sans-serif;
  font-size: 12px;
}
.ant-undisabled,
.ant-undisabled.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
  color:rgba(0, 0, 0, 0.85);
  background-color: rgb(255,255,255);

}

.panel-actions button.ant-btn {
    padding: 1px;
    border: none;
    font-size: 22px;
}    

.edus2-pagetitlebar .ant-select-single .ant-select-selection-item {
  font-weight: bold;
}

.edus-ant-table thead tr th {
  background-color: #1d577d;
  color: #fff;
}

/* Removes the seperation lines between antd table header cells */
.edus-ant-table thead>tr>th:not(:last-child):before {
  width: 0 !important;
  height: 0 !important;
}

.edus-ant-table thead>tr>th:first-child,
.edus-ant-table tbody>tr>td:first-child {
  padding-left: 16px;
}

.edus-ant-table thead>tr>th:last-child,
.edus-ant-table tbody>tr>td:last-child {
  padding-right: 16px;
}

.edus-ant-table .no-padding,
.edus-ant-table .no-padding td {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Vertically centers antd table pagination dobule arrows  */
.edus-ant-table [class^=ant-pagination-jump] [aria-label^=double] {
  padding-top: 10px;
}

.ant-btn[disabled]>* {
  color:gray;
}

.modal-icons {
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  font-size: 16px;
  color: #1D577F;
}

.modal-icons.medium {
  font-size: 20px;
}

.ant-typography-disabled > .modal-icons {
  color: rgba(0,0,0,.25);
}

.modal-icons.icon-modal-delete::after {
  content:"\f1f8";
}

.modal-icons.icon-modal-create::after {
  content:"\f0fe";
}

.modal-icons.icon-modal-alert::after {
  content:"\f071";
}

.edus-panel-icon {
  font-size: 22px;
  color: #000;
  display: flex;
  height: 28px;
  align-content: center;
  flex-wrap: wrap;
}

.modal-icons.icon-modal-edit::after {
  content:"\f044";
}

.modal-icons.icon-modal-cancel::after {
  content:"\f00d";
}

.modal-icons.icon-modal-save::after {
  content:"\f0c7";
}

.modal-icons.icon-modal-check::after {
  content:"\f00c";
}

.alert-confirm-modal .ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content {
  margin-left:0;
}

.alert-confirm-modal .ant-alert {
  align-items: initial;
}
.alert-confirm-modal .ant-alert .ant-alert-icon {
  margin-top: 3px;
}

.alert-confirm-modal .ant-alert ul {
  padding-left: 14px;
}

.ant-picker-dropdown .ant-picker-ranges {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ant-picker-dropdown .ant-picker-ranges .ant-picker-now,
.ant-picker-dropdown .ant-picker-ranges .ant-picker-ok {
  width: 50%;
  justify-content: center;
  display: flex;
  float: none;
  margin: 0;
}

.ant-checkbox-disabled+span {
  color: rgba(0,0,0,.85);
}

.ant-input[disabled] {
  color: rgba(0,0,0,.85);
}

.ant-picker-input>input[disabled] {
  color: rgba(0,0,0,.85);
}

.ant-radio-disabled+span {
  color: rgba(0,0,0,.85);
}

.form-quill .ant-form-item-control-input-content {
  display:flex;
}

.form-quill .quill {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-quill .quill .ql-container {
  min-height: 100px;
}

.edoc-sign-list .ant-descriptions-header {
  margin-bottom: 5px;
}

.edoc-sign-list .ant-descriptions-title {
  white-space: normal;
  overflow: unset;
  font-size: 13px;
  font-weight: normal;
}

.edoc-sign-list {
  margin-top: 8px;
}

.edoc-sign-list .ant-descriptions-row:first-child {
  background: #f5f5f5;
}

.edoc-sign-list .ant-descriptions-item-label {
  word-break: break-all;
}

.edoc-sign-list .ant-descriptions-row:first-child .ant-descriptions-item-label{
  font-weight: 500;
}

.edoc-sign-list .ant-descriptions-row:not(:first-child) .ant-descriptions-item-content {
  background-position: 16px center;
  background-repeat: no-repeat;
  padding-left: 60px;
}

.edoc-sign-list.esign-status-unsigned .ant-descriptions-row {
  display: none;
}

.edoc-sign-list.esign-status-unsigned .ant-descriptions-row:first-child {
  display: table-row;
}

.edoc-sign-list.esign-status-valid .ant-descriptions-row:not(:first-child) .ant-descriptions-item-content {
  background-image: url(/images/esignedDocument.png);
}

.edoc-sign-list.esign-status-invalid .ant-descriptions-row:not(:first-child) .ant-descriptions-item-content,
.edoc-sign-list.esign-status-unvalidated .ant-descriptions-row:not(:first-child) .ant-descriptions-item-content {
  background-image: url(/images/err_invalid.png);
  background-size: 30px;
}

.edoc-sign-list .ant-list-item-meta-title {
  margin: 0;
}
.edoc-sign-list .error-message {
  color: #ff4d4f;
  padding-bottom: 5px;
}

.edoc-list .ant-list-item {
  padding: 4px 0;
}

.esign-file-details {
  border-top: 1px solid #f0f0f0;
  margin-top: 15px;
  padding-top: 7px;
}

.esign-file-list .esign-file-details:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.ant-tree .edoc-children {
  margin-left: 12px;
}

.public-sign .ant-modal-footer {
  padding-left: 24px;
  padding-right: 24px;
}

.public-sign .ant-tree-title {
  word-break: break-all;
}

.ant-tree.acl-ant-tree .ant-tree-treenode-selected {
  font-weight: 600;
  text-decoration: underline;
}

.acl-blocks .ant-card{
  margin-bottom: 1rem;
  width: 550px;
}

.acl-blocks .acl-radio-col label {
  margin-right: 0;
}

.acl-blocks .acl-radio-col {
  text-align: center;
}

.acl-blocks .select-all-acl-row {
  margin-bottom: 1rem;
}

.acl-blocks .select-all-acl-row .ant-btn {
  height: 22px;
  padding-top: 0;
  padding-bottom: 0;
}

.ant-select-tree-switcher {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
}

.acl-permission-form-item {
  margin-bottom: 0;
}

.ant-modal .quill {
  > .ql-toolbar,
  > .ql-container {
    border: solid 1px #d9d9d9;
  }

  > .ql-toolbar {
    border-radius: 3px 3px 0 0;
  }

  > .ql-container {
    border-radius: 0 0 3px 3px;

    > .ql-editor {
      padding: 14px 7px;
    }
  }
}

.ant-modal .ant-form .ant-form-item > .ant-form-item-label > label {
  margin-top: 1px;
}

.ant-input-password input.ant-input[type='password'] {
  font-size: 14px;
  line-height: 1.5715;
  height: 22px !important;
  border: 0;
}

.hoverableTableRow {
  cursor: pointer;
}

.multi-level-classificator.dokumenti {
  width: 375px;
}

.multi-level-classificator.kontakti2 {
  width: 350px;
}

.multi-level-classificator .ant-select {
  display: block;
  border: solid 1px rgb(29, 87, 125);
  font-size: 12px;
  padding: 0;
}

.multi-level-classificator-dropdown .ant-select-tree {
  font-size: 12px;
}

.notify-accounting-group, .notify-purchase-department {
  .ant-form-item-control-input-content { display: inline-flex }
  .ant-form-item:first-child { margin-right: 10px }
  .purchase-department-users, .accounting-group-users { width: 100% }
}

.ant-select-dropdown .ant-select-item.load-more {
  padding: 5px;
  margin: 0 24px;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.ant-content .ant-edus-btn-medium
{
  font-size: 20px;
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  min-width: 24px;
  color: rgb(29, 87, 125);
  border: 0;
  padding: 0;
  padding-inline: 4px;
}

.ant-content .ant-edus-btn-medium:focus {
  outline: none;
  border: 0;
}

.ant-content .ant-edus-btn-medium:after {
  min-width: 24px;
  display: block;
  width: 100%;
  text-align: center;
}

.button-add:after {
  content: "\f055";
}

.button-edit:after {
  content: "\f044";
}

.button-sync:after {
  content: "\f021";
}

.button-search-plus:after {
  content: "\f00e";
}

.button-badge:after {
  content: "\f336";
}

.color-white:after {
  color: white;
}

.color-black:after {
  color: black;
}

input.ant-input {
  box-sizing: border-box;
}

.ant-collapse-expand-icon,
.ant-collapse-header-text {
  margin: auto;
}

button.ant-table-row-expand-icon {
  padding: 0;
  border: 1px solid #f0f0f0
}

.ant-table-cell-with-append#text {
  margin-inline: auto;
}

.ant-content button,
.ant-content .button {
  background-color: transparent;
  cursor: pointer;
}

.ant-content .ant-collapse {
  margin-bottom: 16px;
  background-color: rgb(29, 87, 125)
}

.ant-content .ant-collapse>.ant-collapse-item>.ant-collapse-header {
  color: rgb(255, 255, 255)
}

.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
  background-color: rgb(29, 87, 125);
  border-color: rgb(29, 87, 125);
}

.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
  background-color: rgb(29, 87, 125);
  border-color: rgb(29, 87, 125);
}

.ant-radio-button-wrapper:hover {
  color: rgb(29, 87, 125);
}

.ant-input-search .ant-input:focus, .ant-input-search .ant-input[disabled]:hover {
  border-color: #d9d9d9;
}

.ant-pagination-item-active {
  border-color: #1d577d
}

.ant-pagination-item-active a {
  color: #fff;
  background: #1d577d;
}

.ant-pagination-item-active:focus-visible,
.ant-pagination-item-active:hover {
  border-color: #6a8fa5;
}

.ant-pagination-item-active:focus-visible a,
.ant-pagination-item-active:hover a {
  color: #fff;
  background-color: #6a8fa5;
}