﻿/*dialogs-start*/
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.2s ease;
}
.dialog-container {
	background: #fff;
	border-radius: 8px; border:solid 2px #dededc;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	min-width: 300px; min-height: 150px; max-height:99%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.dialog-content {
	padding:0px;
	flex: 1;
	overflow-y: auto;
	color: #323130;

	display: flex;
  flex-direction: column;
  height: 100%; min-height: 200px;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 5px 5px 1em;
  border-bottom: 1px solid #e1e5e9;
  background-color:#ebebe9;
}

.dialog-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #323130;
}

.dialog-body {
  flex: 1;
  overflow: auto;
}

.dialog-buttons {
  margin-top: auto;
  display: flex;
	justify-content: flex-end;
  padding: 10px 1em;
}

.dialog-close-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #605e5c;
  padding: 0px 8px 6px 8px;
  border-radius: 4px;
  line-height: 1;
  transition: background-color 0.15s ease;
}

.dialog-close-button:hover {
  background-color: #e1dfdd;
  color: #323130;
}

.dialog-information {
	text-align: center;
	padding: 20px 10px;
}

.confirmation-icon {
	color: #ffa500;
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
}
.message-icon {
	color: #0078d4;
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
}

.dialog-message {
	font-size: 16px;
	color: #323130;
	margin-bottom: 24px;
	line-height: 1.5;
}

.dialog-buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
}

@keyframes slideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

	/*dialogs-end*/

  .btn {
    padding: 8px 24px;
    border-radius: 4px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .btn-primary {
    background-color: #0078d4;
    color: white;
  }

  .btn-primary:hover {
    background-color: #106ebe;
  }

  .btn-secondary {
    background-color: #f3f2f1;
    color: #323130;
	}

  .btn-secondary:hover {
    background-color: #e1dfdd;
  }

.window-full {
	position: fixed;
	top: 1vh;
	left: 1vw;
	width: 98vw;
	height: 98vh;
	max-width: none;
	max-height: none;
	padding: 16px;
	box-sizing: border-box;
}
.panel-shadow {
	box-shadow:0px 2px 10px #383838;-webkit-box-shadow:0px 2px 10px #383838;-moz-box-shadow:0px 2px 10px #383838;
}
.profile-container {
	display: flex;
	height: 100vh;
  min-height: 500px;
  overflow: hidden;
}
.profile-menu {
  background: #f5f5f5;
  border-right: 1px solid #ddd;
  padding: 20px;
  height: 100%;
  overflow-y: auto;
}
.profile-content {
  flex: 1;
	display: flex;
	flex-direction: column;
	overflow: auto;
}
.workflow-container .profile-content {
	overflow: hidden !important;
}

.profile-folder {
	margin-bottom: 16px;
}
.profile-f-text {
  font-weight: bold;
  color: #323130;
  margin-bottom: 8px;
  padding: 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.profile-f-items {
  padding: 4px;
}

.profile-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 4px;
  text-decoration: none;
  color: #323130;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.profile-i-icon {
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.profile-active {
  background-color: #0b57d0; color:#fff;
  /*transform: scale(0.98);*/
}

.profile-item:hover {
	background-color: rgb(86, 103, 129);
	color:#fff;
}
.profile-item:hover {
	background-color: rgb(86, 103, 129);
	color:#fff;
}
.profile-active:hover>.profile-i-icon, .profile-active>.profile-i-icon {
	fill:#fff;
}

.profile-i-text {
  font-size: 14px;
  font-weight: 400;
  flex: 1;
}

.form {
  margin: 1em;
}

.form-tab-lbl {
	position:relative;
	top:3px;
	height:28px;
	margin-left: 2px;
	padding-top:0px;
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	padding-right: 2em;
	padding-left: 2em;
	padding-top:4px;
	background-color: #f7f7f7;
	position:relative;
	display:inline-block;
	border:solid 1px #b1b1b1;
	border-top-left-radius:3px;
	border-top-right-radius:3px;
	cursor: pointer;
	outline: none;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width:300px;
	text-transform: uppercase;
}
.form-tab-on {
	color: #474179;
	top:0px;
	height:32px;
	margin-top:0px;
	padding-top:3px; font-weight:bold;

	background-color: #fff;
	border-top:solid 3px #0076df;
	border-left:solid 1px #b1b1b1;
	border-right:solid 1px #b1b1b1;
	border-bottom:solid 1px #fff;
	cursor: default;
	margin-bottom:-1px;
}
.form-body {
	border: solid 1px #b1b1b1;
  background-color: #fff;
	min-height:60px;
	box-shadow: 0px 0px 5px #cbcbcb;
}

.form-section-label {
	font-size: 15px;
	color: #0b95fb;
	font-weight: bold;
	border-bottom: solid 2px #0b95fb;
	padding:2px; 
	margin:5px 5px 5px 5px;
	grid-column: 1 / -1;
}
.form-section {
	display: grid;
	gap: 4px;
	margin-top:10px;
	margin-bottom:1em;
	padding-left:10px;
	padding-right:15px;
}
.form-layout-2 {
	grid-template-columns: 1fr 1fr;
}
.form-layout-3 {
	grid-template-columns: 1fr 1fr 1fr;
}
.form-layout-4 {
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
.form-cell-full {
	grid-column: 1 / -1;
}
.form-cell-msg {
	background-color: #feb3b3;
	padding: 5px;
	border: solid 1px #bd5a66;
	margin-top: -1px;
	margin-right: 1px;
	border-radius: 2px;
	box-shadow: 1px 1px 2px #917a7a;
}


.form-toolbar {
	background-color: #ebebe9;
	padding: 10px;
	margin-top: auto;
	display: flex; justify-content: flex-end;
}

.form-cell {
	grid-template-columns: 150px 1fr;
	display: grid;
	margin:5px 0.5em 5px 1em;
}
.form-cell-top {
	grid-template-columns: none;
	display: block;
}
.form-label {
	font-weight:bold;
	color: #008ed5;
	display: inline-block;
	font-size: 14px;
	margin-top:7px;
}
.form-label-top {
	font-weight:bold;
	color: #008ed5;
	font-size: 14px;
	margin-top:7px;
	margin-bottom:5px;
}
.form-data {
	display:grid;
}
.req {
	color:#800000;
}

.form-layout-big>.form-cell {
	margin:15px 1em 15px 1.5em;
}
.form-layout-compact>.form-cell {
	margin:0 8px 0 12px;
}

.form-full-width {
	grid-column: 1 / -1;
}

.field-full-width {
	grid-column: 2 / -1;
}

.disabled {
}

.form-error {
	background-color: #feb3b3;
	padding: 1em; margin:5px;
	border: solid 1px #bd5a66;
	margin-top: 1em; margin-bottom:5px; margin-right: 7px;
	border-radius: 2px;
	box-shadow: 1px 1px 2px #917a7a;
}

.form-button {
	align-items: center;
	background-color: #fcfcfd;
	border-radius: 4px;
	border-width: 0;
	box-shadow: rgba(45, 35, 66, 0.2) 0 2px 4px, rgba(45, 35, 66, 0.15) 0 7px 13px -3px, #d6d6e7 0 -3px 0 inset;
	box-sizing: border-box;
	color: #36395a;
	cursor: pointer;
	display: inline-flex;
	height: 38px;
	justify-content: center;
	line-height: 1;
	list-style: none;
	overflow: hidden;
	padding-left: 16px;
	padding-right: 16px;
	position: relative;
	text-align: left;
	text-decoration: none;
	transition: box-shadow 0.15s, transform 0.15s;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	white-space: nowrap;
	will-change: box-shadow, transform;
	font-size: 15px;
	margin-left:10px;
	min-width:100px;
}

.form-button:hover {
	box-shadow: rgba(45, 35, 66, 0.3) 0 4px 8px, rgba(45, 35, 66, 0.2) 0 7px 13px -3px, #d6d6e7 0 -3px 0 inset;
	transform: translateY(-2px);
}

.form-field {
	border: solid 1px #efefef;
	border-radius: 3px;
	border-bottom-color: #929292;
	background-color: #fff;
	font-size: 14px;
}
.form-field:hover {
	border-top-color: #e5e5e5;border-left-color: #e5e5e5;border-right-color: #e5e5e5;
	background-color: #f7f7f7;
}
/*
.form-field-dis {
	border: solid 1px #efefef;
	border-radius: 3px;
	background-color: #fff;
	font-size: 14px;
	color:#858585;
	padding: 5px 5px 5px 5px;
}
*/
.form-field-dis {
  border: solid 1px #e1e1e1;
  border-radius: 3px;
  background-color: #f9f9f9;
  font-size: 14px;
  color: #3d3d3d;
  padding: 5px 5px 5px 5px;
}
.form-lookup {
	min-width:100px;
	padding:6px 5px 4px 5px;
	position:relative;
}
.form-lookup-btn {
	position:absolute; right:4px;
	cursor:default;
}
.form-ico-dis {
	fill:#c9bdbd!important;
}
.form-lookup-none {
	color:#7c7c7c;
}

.picklist-panel{
	width:100%;
	position: absolute; top: 100%; left: 0; z-index: 1000; max-height: 200px; overflow-y: auto; background-color: white; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.air-chk,.air-rb {
	outline:0;padding:0;margin:0 5px 0 0;vertical-align:top; width:16px;height:16px;
	border:0;
}
.btn-main {
	font-weight:bold;
	box-shadow: rgba(45, 35, 66, 0.3) 0 4px 8px, rgba(45, 35, 66, 0.2) 0 7px 13px -3px, #0b95fb 0 -3px 0 inset;
}


.navmenu {
	background-color: #f0f1f3;
}

.fluent-nav-link > .positioning-region {
	background-color: #f0f1f3 !important;
	border-radius: 0 !important;
}

	.fluent-nav-link > .positioning-region:hover {
		color: #fff;
		background-color: #566781 !important;
	}

.fluent-nav-link.active > .positioning-region {
	color: #fff;
	background-color: #0b57d0 !important;
}

.fluent-nav-link.active .fluent-nav-icon {
	fill: #fff !important;
}

.fluent-selected {
	background-color: #0b95fb;
	color: #fff !important;
}

.fluent-data-grid {
	background-color:#fff;
	border: solid 1px #d3d6de;

	height: max-content !important;
	user-select: none;
	-webkit-user-select: none; /* Safari */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */

	flex: none !important;
	margin:0 1em;
}
.empty-content-row {
	height: 80px !important;
}

.loading-content-row {
	height: 80px !important;
}

.column-header:not(:last-child) {
	border-right: solid 1px #d3d6de;
}

.grid-top {
	min-height:42px;
	padding:1em 1em 0 1em;
	margin-bottom: 12px;
}

.grid-button {
	padding:4px 1em;
	align-items: center;
	background-color: #fff;
	border-radius: 3px;
	border: solid 1px #efefef;
	box-sizing: border-box;
	
	display: inline-flex;
	height: 32px;
	justify-content: center;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	white-space: nowrap;
}

.grid-button:hover:not([disabled]) {
	border-color: #f3f3f3;
	background-color:#f5f5f5;
	cursor: pointer;
}
.grid-page {
	padding: 1px 12px 9px 12px;
  font-size: 18pt;
}
.paginator {
	padding:0 1em 0 1em !important;
}
.grid-paginator {
	display: flex;margin-top: 0.5rem;
	align-items: center;
	padding:0 1em 0 1em;
}
.grid-paginator-nav {
	padding: 0; display: flex;margin-inline-start: auto;margin-inline-end: 0;gap: 0.5rem;align-items: center;
}
.form-data>.fluent-data-grid, .form-data>.paginator {
	margin-left:0;margin-right:0;
}
.form-data>.grid-paginator {
	padding:0;
}

.grid-ico-btn {
	width:16px;height:16px;
	margin:4px 0;
	display:inline-block;
	cursor:pointer;
}
.grid-ico {
	width:16px;height:16px;
	margin:4px 0;
	display:inline-block;
}
.ico-delete { background-image: url(images/ico/16_delete.png); }
.ico-open { background-image: url(images/ico/16_edit.png); }

.ico-true { background-image: url(images/ico/16_bool_true.png); }
.ico-false { background-image: url(images/ico/16_bool_false.png); }
.ico-bnull { }

.grid-container {
	width:100%;
  height: max-content !important;
  user-select: none;
  -webkit-user-select: none;
}
.grid-table {
	width:100%;
	table-layout:fixed;
	background-color: #fff;
  border: solid 1px #d3d6de;
}
.grid-hcell {
    position: sticky;
    top: 0;
    background-color: var(--neutral-fill-stealth-rest);
    padding:10px;
		border-right:solid 1px #d3d6de;
		border-bottom: solid 1px #d3d6de;
}
.grid-header {
	background-color:#e8e8e8;
}
.grid-row {
	border-bottom:solid 1px #e8e8e8;
}

.grid-row>td {
	padding: 6px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  align-content: center;
}
.grid-selected {
	background-color: #0b95fb;
	color: #fff !important;
}