.s-Administration-LanguageDialog > .size {
  width: 450px;
}
.s-Administration-LanguageDialog .caption {
  width: 120px;
}
.s-Administration-RoleDialog > .size {
  width: 450px;
}
.s-Administration-RoleDialog .caption {
  width: 120px;
}
.s-Administration-UserDialog > .size {
  width: 650px;
}
.s-Administration-UserDialog .caption {
  width: 150px;
}
.s-Administration-UserDialog .s-PropertyGrid .categories {
  height: 470px;
}
.s-TranslationGrid input.custom-text {
  width: 100%;
  height: 23px;
  padding: 0 3px;
}
.s-UserPermissionDialog > .size,
.s-RolePermissionDialog > .size,
.s-UserRoleDialog > .size {
  min-width: 670px;
  width: 670px;
  min-height: 450px;
  height: 450px;
}
.s-UserPermissionDialog .s-DataGrid,
.s-RolePermissionDialog .s-DataGrid,
.s-UserRoleDialog .s-DataGrid {
  height: 100%;
}
.s-UserPermissionDialog .ui-dialog-content,
.s-RolePermissionDialog .ui-dialog-content,
.s-UserRoleDialog .ui-dialog-content {
  padding: 8px;
}
.s-PermissionCheckEditor .check-box {
  background-image: url(../serenity/images/tick-empty.png);
  background-position: center center;
  width: 22px;
  height: 22px;
  margin: 0;
}
.s-PermissionCheckEditor .check-box.checked {
  background-image: url(../serenity/images/tick-green.png);
  background-position: center center;
}
.s-PermissionCheckEditor .check-box.checked.revoke {
  background-image: url(../serenity/images/tick-red.png);
  background-position: center center;
}
.s-PermissionCheckEditor .check-box.partial {
  opacity: 0.8;
}
.s-PermissionCheckEditor .check-box.checked.partial {
  background-image: url(images/tick-green-partial.png);
}
.s-PermissionCheckEditor .check-box.checked.revoke.partial {
  background-image: url(images/tick-red-partial.png);
}
.s-PermissionCheckEditor .effective-permission {
  cursor: default;
  padding-left: 22px;
  background-image: url(../serenity/images/check2.png);
  background-repeat: no-repeat;
  background-position: left center;
}
.s-PermissionCheckEditor .effective-permission.partial {
  background-image: url(../serenity/images/checkbox-null.png);
}
.s-PermissionCheckEditor .effective-permission.deny {
  background-image: url(../serenity/images/slash.png);
}

.s-Orders-OrderDialog .Orders .s-Orders-OrderLineEditor .grid-container {
  min-height: 550px;
}

.s-Orders-SupplierOrderDialog .Orders .s-Orders-SupplierOrderLineEditor .grid-container {
  min-height: 550px;
}

.wizard-horz {
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  position: relative;
  min-height: 48px;
}

.wizard-horz .wizard-grid {
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.wizard-horz .tab-pane {
  padding: 15px;
}

.wizard-horz .property-panes > .tab-pane:not(.active) {
  display: none !important;
}

.wizard-horz ul.property-tabs {
  list-style: none outside none;
  padding: 0;
  margin: 0;
  width: 999999px;
}

  .wizard-horz ul.property-tabs li {
    float: left;
    margin: 0;
    padding: 0 20px 0 30px;
    height: 46px;
    line-height: 46px;
    position: relative;
    background: var(--s-transparent);
    color: #999;
    font-size: 16px;
    cursor: not-allowed;
  }

.wizard-horz ul.property-tabs li > .has-secondary-text {
  display: inline;
}

.wizard-horz ul.property-tabs li > .has-secondary-text > h4 {
  display: inline;
  font-size: 16px;
  font-weight: normal;
}

.wizard-horz ul.property-tabs li > .has-secondary-text > small {
  display: none;
}

.wizard-horz ul.property-tabs li .chevron {
  border: 24px solid transparent;
  border-left: 14px solid #d4d4d4;
  border-right: 0;
  display: block;
  position: absolute;
  right: -14px;
  top: 0;
  z-index: 1;
}

.wizard-horz ul.property-tabs li .chevron:before {
  border: 24px solid transparent;
  border-left: 14px solid #eee;
  border-right: 0;
  content: "";
  display: block;
  position: absolute;
  right: 1px;
  top: -24px;
}

.wizard-horz ul.property-tabs li.complete {
  background: #f5f5f5;
  color: #468847;
}

.wizard-horz ul.property-tabs li.complete:hover {
  background: #e2eaee;
  cursor: pointer;
}

.wizard-horz ul.property-tabs li.complete:hover .chevron:before {
  border-left: 14px solid #e2eaee;
}

.wizard-horz ul.property-tabs li.complete .chevron:before {
  border-left: 14px solid #f5f5f5;
}

.wizard-horz ul.property-tabs li.active {
  color: #3a87ad;
  cursor: default;
}

.wizard-horz ul.property-tabs li.active .chevron:before {
  border-left: 14px solid #eef7fb;
}

.wizard-horz ul.property-tabs li.active .badge {
  background-color: #3a87ad;
}

.wizard-horz ul.property-tabs li .badge {
  font-size: 15px;
  position: relative;
  top: -2px;
}

.wizard-horz ul.property-tabs li span.text {
  margin-left: 4px;
}

.wizard-horz ul.property-tabs li .badge-success {
  background-color: #468847;
}

.wizard-horz ul.property-tabs li:first-child {
  border-radius: 4px 0 0 0;
  padding-left: 20px;
}

.wizard-horz.compact-steps span.text {
  display: none;
}

.wizard-horz.compact-steps ul.property-tabs > li.active span.text {
  display: inline;
}

.wizard-horz.compact-steps ul.property-tabs > li:hover span.text {
  display: inline;
}

.s-Calendar-EventDialog > .size {
  width: 650px;
}

/*Action buttons*/

.s-BooleanEditor {
  padding: 0 1rem 0 0.7rem;
}

.error.editor a.select2-choise {
  border-color: red;
}

a.s-CancelLink {
  color: red;
}

a.s-CancelLink.disabled {
  opacity: 0.5;
  color: inherit;
}

a.s-PrintLink {
  color: #0090d9;
}

a.s-StornoLink {
  color: #bd362f;
}

a.s-DeleteLink {
  color: #bd362f;
}

a.s-GridAction {
  margin-right: 5px;
}

a.s-MarkReadLink {
  color: white;
  padding: 2px 5px;
}

.inline-action {
  background-repeat: no-repeat;
  background-position: center center;
  text-align: center;
  min-width: 16px;
  min-height: 22px;
  cursor: pointer;
  opacity: 0.5;
  display: inline-block;
}

.inline-action > i {
  font-size: 15px;
}

.inline-action:hover {
  opacity: 1;
}

.inline-action.add-child-unit {
  background-image: url(../serenity/images/node-insert-next.png);
}

.s-QrCodeEditor .s-StringEditor {
  width: 100%;
}

.s-QrCodeEditor .qr-code {
  margin-top: 8px;
}

.inplace-print b {
  background-image: url(../serenity/images/printer.png);
  background-position: center 4px;
}

.s-LocationEditor .s-MaskedEditor {
  width: 100%;
}

.s-LocationEditor .location-editor-map {
  margin-top: 8px;
}

a.s-CancelLink {
  color: red;
}

a.s-CancelLink.disabled {
  opacity: 0.5;
  color: inherit;
}

a.s-PrintLink {
  color: #0090d9;
}

a.s-StornoLink {
  color: #bd362f;
}

a.s-DeleteLink {
  color: #bd362f;
}

a.s-GridAction {
  margin-right: 5px;
}

a.s-MarkReadLink {
  color: white;
  padding: 2px 5px;
}

/*Reports*/

.s-ReportPage div.report-list ul {
  list-style: none;
  padding-left: 0;
}

  .s-ReportPage div.report-list ul ul {
    margin-left: 20px;
  }

.s-ReportPage div.report-list li {
  margin-top: 1px;
}

.s-ReportPage div.report-list li.category > .line {
  position: relative;
  padding: 4px 0 4px 20px;
  display: block;
  cursor: pointer;
  color: #666;
  font-weight: bold;
  line-height: 24px;
  font-size: 14px;
}

.s-ReportPage div.report-list li.category.expanded > .line {
  box-shadow: none;
}

.s-ReportPage div.report-list .line {
  background: #ffffff;
  background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #ffffff), color-stop(100%, #eaeaea));
  background: -webkit-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
  background: -o-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
  background: -ms-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
  background: linear-gradient(top, #ffffff 1%, #eaeaea 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eaeaea', GradientType=0);
}

.s-ReportPage div.report-list li {
  background-color: #eaeaea;
  box-shadow: 0px 0px 0px 1px rgba(155, 155, 155, 0.3), 0px 0px 0px 0px rgba(255, 255, 255, 0.9) inset, 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.s-ReportPage div.report-list ul.has-reports {
  background-color: #fff;
  border-top: 1px solid #999;
  border-left: 1px solid #999;
}

.s-ReportPage li > .line > span.toggle {
  position: absolute;
  left: 5px;
  top: 10px;
  display: block;
  height: 11px;
  width: 11px;
  background: transparent url(images/accordion-arrows.png) no-repeat 0px -22px;
}

.s-ReportPage li.expanded > .line > span.toggle {
  background-position: 0px 0px;
}

.s-ReportPage div.report-list li.report-item {
  background-color: #fff;
  box-shadow: none;
  margin-top: 0px;
  font-size: 13px;
  padding: 4px;
  border-bottom: 1px solid #eee;
}

.s-ReportPage div.report-list li.report-item.even {
  background-color: #f7f7f7;
}

.s-ReportPage .report-item a {
  background: url(../serenity/images/spreadsheet.png) no-repeat 0 center;
  padding: 0 0 0 18px;
  line-height: 16px;
  display: inline-block;
}

.s-ReportPage ul ul {
  display: none;
}


/*Selection dialogs*/
.s-ProductSelectionDialog > .size {
  width: 80%;
  height: 800px;
}

.s-SupplierSelectionDialog > .size {
  width: 80%;
  height: 800px;
}

.s-OrderSelectionDialog > .size {
  width: 80%;
  height: 800px;
}

.s-OrderLineSelectionDialog > .size {
  width: 80%;
  height: 800px;
}

.s-ApFact-InvoiceSelectionDialog > .size {
  width: 950px;
  height: 700px;
}

.s-ApFact-InvoiceSelectionDialog .grid-container {
  padding: 5px;
  height: 100%;
}

/* Order status colors*/
.s-Orders-SupplierOrderGrid .yellow .col-resolution-status {
  background-color: yellow;
  color: #000;
}

.s-Orders-SupplierOrderGrid .red .col-resolution-status {
  background-color: red;
  color: #fff;
}

.s-Orders-SupplierOrderGrid .green .col-resolution-status {
  background-color: green;
  color: #fff;
}

.s-Orders-SupplierOrderGrid .black .col-resolution-status {
  background-color: black;
  color: #fff;
}

.s-Orders-OrderGrid .yellow .col-resolution-status {
  background-color: yellow;
  color: #000;
}

.s-Orders-OrderGrid .red .col-resolution-status {
  background-color: red;
  color: #fff;
}

.s-Orders-OrderGrid .green .col-resolution-status {
  background-color: green;
  color: #fff;
}

.s-Orders-OrderGrid .black .col-resolution-status {
  background-color: black;
  color: #fff;
}

/*OrderLine colors*/
.s-Orders-OrderLineEditor .red {
  background-color: rgba(255, 0, 0, 0.2) !important;
  color: #000;
}

/*Product colors*/
/*.s-Inventory-ProductGrid .negative {
  background-color: rgba(255, 0, 0, 0.6);
  color: #000;
}*/

/*Sales status colors*/
.s-Sales-MeetingDecisionTaskGrid {
  .unknown .col-resolution-status

{
  background-color: darkorchid;
  color: #fff;
}

.in-progress .col-resolution-status {
  background-color: yellow;
  color: #000;
}

.overdue .col-resolution-status {
  background-color: red;
  color: #000;
}

.postponed .col-resolution-status {
  background-color: green;
  color: #fff;
}

.unresolved .col-resolution-status {
  background-color: deepskyblue;
  color: #000;
}

.resolved .col-resolution-status {
  background-color: white;
  color: #000;
}

.message .col-resolution-status {
  background-color: lightgray;
  color: #000;
}

.actions-dropdown {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.favorite-views {
  margin-right: 4px;
  position: relative;
  top: -12px;
}

.favorite-views ul {
  font-size: 12px;
  width: 160px;
  min-width: 150px;
}

.favorite-views li.save {
  padding: 6px;
}

.favorite-views li.save input {
  margin-top: 2px;
  width: 140px;
}

.favorite-views li.save button {
  margin-top: 4px;
  font-size: 12px;
}

.favorite-views li.fav {
  position: relative;
  padding-right: 16px;
}

.favorite-views i.fa-trash-o {
  cursor: pointer;
  position: absolute;
  right: 4px;
  top: 5px;
  color: #800000;
}

/*Logistica*/
/*#DistributeOrdersGridContainer {
  height: 350px;
}

#DriverDistributedOrdersGridContainer {
  height: 350px;
}*/