#mainContent > div > div > div > div.row.sectionBlockLayout.text-start
{
  display: none;
}

/* body .temp{
  padding: 0;
  margin: 0;
  font-family: 'Century Gothic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
a .temp{
  color:#212529;
  text-decoration: none !important;
}
p .temp{
  margin-bottom: 0;
}
textarea .temp{
  margin-bottom: 0px;
  box-shadow: inset #dfdfdf 0px 0px 3px 0px;
}
.checkbox  .temp{
  font-weight: normal;
  float: left;
  font-size: 12px;
  display: flex;
  align-items: center;
}
.checkbox input[type=checkbox] .temp{
  margin-top: 0;
  margin-left: 0;
  margin-right: 4px;
}
.top-bar .temp{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bluebg);
  padding: 0 20px;
  border-bottom: 1px solid #ccc;
  min-height: 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
}
.dflex .temp{
  display: flex;
  align-items: center;
}
.top-bar-heading .temp{
  color: #002147;
  font-size: 18px;
  font-weight: 600;
}
.logout-btn .temp{
  font-size: 14px;
  margin-right: 20px;
  color: #002147;
}
.profile .temp{
  min-width:30px;
  height: 30px;
  background: #ccc;
  border-radius: 30px;
  text-align: center;
  font-size: 14px;
  padding: 4px 10px;
}
.leftbar .temp{
  height: 100vh;
  background: #eff8ff;
  border-right: 1px solid #ccc;
  display: flex;
  align-content: space-evenly;
  justify-items: start;
  justify-content: flex-start;
  flex-direction: column;
  padding: 40px 20px;
  float: left;
  position: fixed;
  top: 40px;
}
.leftbar a .temp{
  background: #dce8f4;
  padding: 6px 10px;
  margin-bottom: 10px;
  color: var(--fontdarkcolor);
  border-radius: 5px;
}
.rightbar .temp{
  float: left;
  padding: 20px;
  margin-left: 16.66666667%;
  margin-top: 40px;
}
.logout-btn a .temp{
  color: var(--fontdarkcolor);
}
.entity-form h2 .temp{
  border: 0 !important;
}
.entity-form h2 .temp{
  display: none;
  visibility: hidden;
  opacity: 0;
}
.crmEntityFormView .tab .temp{
  margin-bottom: 0px !important;
}
.crmEntityFormView .actions  .temp{
  border-top: 0 !important;
  margin: 0px 0 !important;
  padding: 0px 20px 0px 0 !important;
}
.crmEntityFormView fieldset  .temp{
  margin-bottom: 0px !important;
}
.entity-form .tab-column .temp{
  width: 100% !important;
}
.entity-form table label .temp{
  font-size: 14px;
  font-weight: 400;
}
.crmEntityFormView .cell  .temp{
  padding: 0 28px 10px 0 !important;
}
button[aria-label="Close"] .temp{
  box-shadow: none;
}
span.fa.fa-filter  .temp{
  margin-right: 10px;
}
html[dir=ltr] .crmEntityFormView .cell.boolean-radio-cell input[type=radio] .temp{
  margin: 6px 5px 5px 10px;
}
.mob-flex .temp{
  display: inline-block;
  width: 100%;
  height: 100%;
}
.input-group-addon.active .temp {
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 400;
  line-height: 0.9;
  color: #fff !important;
  text-align: center;
  background-color: #002147 !important;
  border: 1px solid #002147 !important;
  border-radius: 0 6px 6px 0 !important;
}
.input-group-addon:hover  .temp{
  color: #fff !important;
  text-align: center;
  background-color: #002147 !important;
  border: 1px solid #ccc;
}
.btn:focus-visible  .temp{
  outline: 0px auto -webkit-focus-ring-color !important;
  outline-offset: 0px !important; 
}
table tr td.day button .temp{
  margin-bottom: 0px;
  box-shadow: none;
}
.bootstrap-datetimepicker-widget.dropdown-menu .temp{
  width: 15em !important;
}
.table-width .temp{
  width: calc(100% - 25px);
  font-size: 12px;
}
.mbot20 .temp{
  margin-bottom: 20px;
}
.bootstrap-datetimepicker-widget table td.day  .temp{
  height: 15px !important;
  line-height: 15px !important;
}
#login-error  .temp{
  color: #ffffff;
  background: #f00;
  padding: 5px 5px;
  font-size: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  display: none;
  margin-top: 10px;
}
.loader  .temp{
  width: 100%;
  height: 100%;
  position: fixed;
  background-size: 7%;
  background-position: center;
  background-color: #0000000a;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  opacity: 1;
  display: none;
}
.loader .form-loading  .temp{
  left: auto !important;
  top: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-around;
  height: 100%;
}
.loader .form-loading span  .temp{
  font-size: 16px;
}
.loader-img  .temp{
  width: 156px;
  height: 156px;
}
.form-signin h2 .temp{
  margin-bottom: 5px;
  margin-top: 30px;
  font-size: 16px;
}
.form-signin p  .temp{
  font-size: 11px;
  color: #838383;
  margin-bottom: 30px;
  margin-top: 10px;
}
.a-font .temp{
  font-size: 12px;
}
.my-label .temp{
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 4px;
  color: #767676;
}
.btn-hide #InsertButton .temp{
  display: none;
  opacity: 0;
  visibility: hidden;
}
.text-muted .temp{
  display: none;
  opacity: 0;
  visibility: hidden;
}
.control input[readonly="readonly"] .temp{
  background: #ededed !important;
  padding: 10px !important;
}
.bootstrap-datetimepicker-widget table .temp{
  font-size: 12px !important;
}
.control .control .temp{
  background: #ededed !important;
  position: relative;
  font-size: 12px;
  height: 30px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 15px !important;
  line-height: 9px;
  appearance: none;
  border-radius: .375rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.control .control a.text-primary .temp{
  cursor: pointer;
  pointer-events: none;
  color: #1e1e1e !important;
  font-size: 12px;
}
fieldset table[data-name="hide"] .temp{
  display: none;
  opacity: 0;
  visibility: hidden;
}
.sectionBlockLayout.text-start  .temp{
  padding: 0 !important;
}
.table>:not(caption)>*>* .temp{
  border: 1px solid #ccc !important;
  padding: .3rem .5rem !important;
  font-size: 14px !important;
}
.crmEntityFormView table.table td  .temp{
  padding: 0.3em 0.5em !important; 
}
.crmEntityFormView table.table td:first-child  .temp{
  padding: 0.3em 0.5em !important;
}
table tr th  .temp{
  background: #eff8ff !important;
}
table tr th a  .temp{
  font-weight: 600 !important;
}
table tr th a  .temp{
  pointer-events: none !important;
}
table tr th a span .temp{
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
.redColor .temp{
  color: #f00 !important;
  font-weight: 500;
}
.greenColor .temp{
  color: #008000 !important;
  font-weight: 500;
}
#cr68f_counteralert .temp{
  color: #f00;
  font-weight: 600;
  font-size: 14px;
}
td[aria-label="action menu"] .dropdown.action button .temp{
  opacity: 0;
  visibility: hidden;
  padding: 0px 12px;
}
td[aria-label="action menu"] .dropdown.action ul.dropdown-menu .temp{
  display: block;
  width: auto;
  min-width: auto;
  padding: 0;
  background: transparent;
  border: 0;
  position: absolute !important;
  top: 1px;
}
td[aria-label="action menu"] .dropdown.action ul.dropdown-menu a .temp{
  padding: 0;
}
.modal-form .modal-body iframe  .temp{
  height: 300px;
}
#content-container .temp{
  max-width: 100%;
}
html[dir=ltr] .form-loading  .temp{
  left: 46%;
}
html[dir=ltr] div.message.success  .temp{
  padding: 9px 10px 9px 14px;
}
.dashboard table tbody tr td[data-attribute="cr68f_counteralert_"] .temp{
  color: #ff0000;
  font-weight: 600;
}
.alert-danger h2 .temp{
  display: block;
  visibility: visible;
  opacity: 1;
}
.modal h1 .temp{
  margin-top: 0 !important;
}
@media (max-width:767px) {
  .mob-flex .temp{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
  }
  .leftbar .temp{
    min-height: 100%;
    height: 100%;
    position: relative;
    top: 40px;
    width: 100%;
  }
  .rightbar .temp{
    position: relative;
    width: 100%;
    margin-left: 0;
  }
  .card .temp{
    width:100% !important;
  }

} */


/* non temp > start */

:root {
  --bluebg: #eff8ff;
  --btnbg: #002147;
  --fontdarkcolor:#002147;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: 'Century Gothic', sans-serif !important;
}

.form-control::-moz-placeholder {
  color:#ccc !important;
  opacity:1
}

.form-control:-ms-input-placeholder {
  color:#ccc !important
}

.form-control::-webkit-input-placeholder {
  color:#ccc !important
}

/* input, optgroup, select, textarea .temp{
  margin-bottom: 0px;
  box-shadow: inset #dfdfdf 0px 0px 3px 0px;
} */

.form-control {
  position: relative;
  /* font-size: 12px;
  height: 30px;
  padding: 10px; */
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 15px;
}
.actions .btn-primary {
  padding: 3px 20px !important;
  font-size: 12px !important;
}
.btn-primary.custom-btn {
  padding: 3px 20px !important;
  background: #002147;
  border: 0;
  font-size: 12px !important;
  line-height: 22px;
  border-radius: 4px !important;
  font-weight: 400 !important;
}
.crmEntityFormView {
  border: 0 !important;
}
.crmEntityFormView fieldset {
  margin: 0;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 5px;
}
.collapsible-content {
  padding-top: 0px;
}
.form-control.form-select {
  padding:.375rem 2.25rem .375rem .75rem !important
}
html[dir=ltr] .iconBorder {
  padding: 4px 0 3px 0;
}
.input-group-addon,
.btn.btn-default.launchentitylookup {
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 400;
  line-height: 0.9;
  color: #fff !important;
  text-align: center;
  background-color: #002147 !important;
  border: 1px solid #002147 !important;
  border-radius: 0 6px 6px 0 !important;
}
.input-group-addon, .input-group-addon.active {
  /* border: 1.6px solid #323130; */
  line-height: 0.9 !important;
}
.input-group-addon:focus, .input-group-addon:focus-visible, .input-group-addon:hover {
  border: 1.6px solid #323130;
}
html[data-lang="ar-AE"] .input-group-addon,
html[data-lang="ar-AE"] .btn.btn-default.launchentitylookup {
    border-radius: 6px 0 0 6px !important;
}
.input-group-addon:focus, .input-group-addon:focus-visible {
  color: #fff !important;
  text-align: center;
  background-color: #002147 !important;
  border: 1px solid #ccc;
}
.btn:focus {
  outline: 0px auto -webkit-focus-ring-color !important;
  outline-offset: 0px !important; 
}
label#error-message {
  color: #ffffff;
  background: #f00;
  padding: 5px 5px;
  font-size: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  display: none;
  margin-top: 10px;
}
.btn.btn-primary  {
  width: fit-content;
  padding: 6px 20px !important;
  color: #fff;
  background: #002147;
  /* border: 0 !important; */
  font-size: 14px !important;
  line-height: 22px !important;
  /* border-radius: 4px !important; */
  /* font-weight: 600 !important; */
  letter-spacing: 1px;
}
.btn-primary:hover,
.btn-primary:focus, 
.btn-primary.focus {
  color: #ffffff !important;
  background-color: #002147 !important;
  border-color: #002147 !important;
}
.btn:disabled {
  background-color: #002147 !important;
}
.btn-default[disabled] {
    border: 1px solid #002147 !important;
}
div:not(:has(.lookup)) input.form-control[type="text"]:disabled,
div:not(:has(.lookup)) input.form-control[type="text"]:read-only {
  background-color: #f0f0f0 !important;
  cursor: default;
}
.crmEntityFormView .form-control.readonly:focus, .crmEntityFormView .form-control[readonly][disabled]:focus, .form-readonly .form-control:focus {
  outline: 0px auto -webkit-focus-ring-color !important;
}
.crmEntityFormView .form-control.readonly, .crmEntityFormView .form-control[readonly][disabled], .form-readonly .form-control {
  padding: .375rem .375rem;
}
.crmEntityFormView, .entitylist, .modal-content, .popover-content {
  border: 0px solid #f2f2f2 !important;
}
td[aria-label="action menu"] .dropdown.action ul.dropdown-menu a:hover,
td[aria-label="action menu"] .dropdown.action ul.dropdown-menu a:focus {
  background: transparent;
}
.modal-footer button {
    flex: 1;
}
html[dir=ltr] div.message.success {
  padding: 10px 20px;
}
#btnCloseMessage {
  font-size: 1rem;
  height: auto;
  width: auto;
  padding: 0;
  background-color: transparent !important;
  line-height: 22px;
}
.alert-danger #btnCloseMessage {
  padding: 2px 7px 4px;
  font-size: 14px;
  height: auto;
  width: auto;
}
select.form-control {
  padding: 0px 10px !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.modal-delete .modal-dialog {
    width: fit-content !important;
    max-width: 500px;
    min-width: 300px;
}
.modal-body > p {
  font-size: 1em;
}

fieldset[aria-label="PRHide"] {
  display: none;
  opacity: 0;
  visibility: hidden;
} 

/* non temp > end */

/** Grid Style > Begin **/
.view-grid {
  border-radius: 5px;
  border: 1px solid #f2f2f2;
  box-shadow: 0px 0px 0px 1px lightgray;
}
div.view-grid > table {
  margin-bottom: 0 !important;
}
div.view-grid > table tr:last-of-type {
  border-color: transparent !important;
}
.view-grid > .table-striped th {
  border: none;
}
div.view-grid thead a {
  font-weight: 700;
  color: #002147;
}
.view-grid > .table-striped thead tr {
  background-color: #fcfcfd;
}
.view-grid > .table-striped tbody tr:nth-child(even) {
  background-color: #e8f1fb;
}
.view-grid > .table-striped tbody tr:nth-child(odd) {
  background-color: #fff;
}
.view-grid > .table-striped tr {
  font-family: 'Century Gothic', sans-serif !important;
  font-weight: 500;
  font-size: 14px;
  padding: 12px;
}
.table-striped, .table-info, .table-striped > tbody > tr:nth-of-type(odd) > *,
.form-control:focus, .dropdown-menu, .form-check-input:focus {
  color:#667085;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%) !important;
  /* margin-bottom: 35px; */
}

.btn.btn-default.clearlookupfield,
.btn.btn-default.launchentitylookup {
  line-height: 1.55;
  border: 1px solid #002147 !important;
}

/** Grid Style > End **/


/** Pagination > Start **/
.pagination>.active>a {
  background-color: #002147 !important;
  border-color: #002147;
}
.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover {
    background-color: #002147 !important;
    color: #e9ecef !important;
}
.page-link,
.page-link:hover {
  color: #002147;
  font-size: 14px;
}
/** Pagination > End **/


/** Begin > Breadcrumb **/
.progress>.list-group-item.active {
  background-color: #002147;
  border-color: #002147;
}
.progress.list-group.top {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  line-height: 1;
}

.progress.list-group.top .list-group-item {
  flex: 1;
  text-align: center;
  border: none;
  border-radius: 0;
  padding: 12px 16px;
  font-weight: bold;
  background-color: #e9ecef;
  color: #002147;
  position: relative;
  z-index: 0;
}

.progress.list-group.top .list-group-item.active {
  background-color: #002147;
  color: #fff;
  clip-path: polygon(0 0, 98% 0, 100% 50%, 98% 100%, 0 100%);
  z-index: 1;
}

.progress.list-group.top .list-group-item.incomplete {
  margin-left: -10px;
  padding-left: 30px;
}
.progress .text-muted {
  color: #002147 !important;
}
.text-muted {
  display: none;
}
/** End > Breadcrumb **/

/** Begin > Form **/
fieldset[aria-label="Hidden"],
fieldset[aria-label="مخفي"] {
  display: none;
}
.crmEntityFormView .cell {
  padding: 0px 15px;
  font-size: 14px;
}

.btn.btn-default.float-end.remove-value {
    color: transparent !important;
    position: relative;
}

.btn.btn-default.float-end.remove-value::after {
    content: "Clear";
    color: #fff;
    position: absolute;
    width: 100%;
    text-align: center;
    vertical-align: middle;
}
html[data-lang="ar-AE"] .btn.btn-default.float-end.remove-value::after {
    content: "مسح" !important;
}

.crmEntityFormView label {
  color: #002147 !important;
}
.crmEntityFormView .form-readonly .form-control:focus {
    outline: none;
}
.crmEntityFormView h3 {
    margin: 0;
}
input.form-control {
  border-color: #002147;
  color: #002147;
  font-size: 14px;
}
#NextButton,
#InsertButton {
  background-color: #002147;
}

td[aria-label="action menu"] > div.dropdown.action > button {
  padding: 3px 15px;
}
fieldset > legend > h3 {
    color: #002147 !important;
}
/** End > Form **/

/** icons > Begin **/
.fa {
    line-height: inherit;
}
/** icon > End **/

.modal.modal-form.show .modal-dialog {
    /* max-width: 100vw;
    width: 75%; */
}
.modal.modal-lookup.show .modal-dialog {
    /* max-width: 100vw;
    width: 75%; */
}
.modal.modal-lookup .view-search input.query {
  border-radius: 0 !important;
}
ol>div {
  width: 100%;
}

td[data-attribute="cr1aa_einvstatusmessage"],
td[data-attribute="cr1aa_buyername"] {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 10vw;
  /* display: inline-block; */
  vertical-align: top;
}

/* .subgrid div.view-grid.table-responsive {
    overflow: visible;
} */

.alert-dismissible .btn-close {
  padding: 1.1rem;
}

.notifications {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 95%;
    margin: 20px auto;
    z-index: 3;
}

/* fieldset > .collapsible-content > table > tbody > tr > td:first-child {
	padding-left: 5px;
}

fieldset > .collapsible-content > table > tbody > tr > td:nth-last-child(2) {
	padding-right: 5px;
} */

select.nav-selectcompany option:hover,
select.nav-selectcompany option:checked {
  background-color: #d0e2f5;
}

/* .table-info {
    --bs-table-color: #000;
    --bs-table-bg: #d0e2f5;
    --bs-table-border-color: #badce3;
    --bs-table-striped-bg: #c5e8ef;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #badce3;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #002147;
    --bs-table-hover-color: white;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
} */

.modal-lookup .table-info {
    --bs-table-bg: #d0e2f5;
    --bs-table-hover-bg: #d0e2f5;
}

.entity-lookup td[data-th="Select"],
.entity-lookup th.sort-disabled[data-th] {
    display: none;
}


/* Custom Select > Start */
.custom-select {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-size: 0.75em;
  cursor: pointer;
}
.custom-select select {
  display: none;
}
.select-selected {
  background-color: #fff;
  display: inline-block;
  white-space: nowrap;
  padding: 5px 25px 5px 5px;
  position: relative;
}

.select-selected:after {
  content: "";
  position: absolute;
  top: 35%;
  right: 10px;
  transform: translateY(-25%) rotate(45deg);
  border: solid #000;
  border-width: 0 1px 1px 0;
  padding: 2px;
  pointer-events: none;
}
.select-selected.select-arrow-active:after {
  transform: translateY(12.5%) rotate(-135deg);
}
.select-items {
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  z-index: 99;
  min-width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.select-items div {
  display: block;
  width: 100%;
  padding: 5px 15px;
  box-sizing: border-box;
  white-space: nowrap;
  color: #002147;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.select-items div:hover {
  background-color: #d0e2f5;
  color: #002147;
}
.same-as-selected {
  background-color: #d0e2f5;
  color: #002147;
}
.same-as-selected:hover {
  background-color: #002147 !important;
  color: #d0e2f5 !important;
}
.select-hide {
  display: none;
}
/* Custom Select > End */

/* Company Select > Start */
.company-select {
  position: relative;
  display: block;
  white-space: nowrap;
  font-size: 14px;
  cursor: pointer;
}
.company-select select {
  display: none;
}
.company-select-selected {
  background-color: #fff;
  display: block;
  padding: 5px 25px 5px 12px;
  position: relative;
  border-radius: .375rem;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  box-shadow: inset #dfdfdf 0px 0px 3px 0px;
  line-height: 1.5;
  
}
.company-select-selected:after {
  content: "";
  position: absolute;
  top: 35%;
  right: 10px;
  transform: translateY(-25%) rotate(45deg);
  border: solid #000;
  border-width: 0 2px 2px 0;
  padding: 2px;
  pointer-events: none;
}
.company-select-selected.company-select-arrow-active:after {
  transform: translateY(12.5%) rotate(-135deg);
}
.company-select-items {
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  z-index: 99;
  min-width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.company-select-items div {
  display: block;
  width: 100%;
  padding: 5px 15px;
  box-sizing: border-box;
  white-space: nowrap;
  color: #002147;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.company-select-items div:hover {
  background-color: #d0e2f5;
  color: #002147;
}
.company-select-same-as-selected {
  background-color: #d0e2f5;
  color: #002147;
}
.company-select-hide {
  display: none;
}
.company-select-same-as-selected:hover {
  background-color: #002147 !important;
  color: #d0e2f5 !important;
}
/* Company Select > End */

.create-action .fa-circle-plus:before,
.create-action .fa-plus-circle:before {
    content: none !important;
}


/* Currency Symbol Hide > Start */
.input-group:has(.money) .input-group-text {
    display: none;
}

.input-group:has(.input-group-text) .money {
    border-top-left-radius: .375rem !important;
    border-bottom-left-radius: .375rem !important;
}
/* Currency Symbol Hide > End */



/* Subgrid Columns Width > Start */
/* .subgrid th:has(a[aria-label="Currency"]),
.subgrid td[data-th="Currency"] {
    width: 80px !important;
    max-width: 80px !important;
}
.subgrid th:has(a[aria-label="Document Date"]),
.subgrid td[data-th="Document Date"] {
    width: 125px !important;
    max-width: 125px !important;
}
.subgrid th:has(a[aria-label="Status"]),
.subgrid td[data-th="Status"] {
    width: 100px !important;
    max-width: 100px !important;
}
.subgrid th:has(a[aria-label="Document No."]),
.subgrid td[data-th="Document No."]  {
    width: 150px !important;
    max-width: 150px !important;
} */
/* .subgrid th, */
.subgrid td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Subgrid Columns Width > End */


div#content-container {
  max-width: 100%;
}


/* Language Button > Begin */
.lang-toggle-container {
    position: fixed;
    top: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.lang-toggle-container.ltr {
    right: 20px;
}

.lang-toggle-container.rtl {
    left: 20px;
}

.toggle-lang {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 4px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-option {
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    position: relative;
    color: #666;
    min-width: 70px;
    justify-content: center;
}

.toggle-option:hover {
    color: #333;
    transform: translateY(-1px);
}

.toggle-option.active {
    background-color: #002147;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.flag {
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .lang-toggle-container {
        top: 10px;
    }
    
    .lang-toggle-container.ltr {
        right: 10px;
    }
    
    .lang-toggle-container.rtl {
        left: 10px;
    }
}
/* Language Button > End */

html[data-lang="ar-AE"] .page-item:first-child .page-link {
    border-top-right-radius: var(--bs-pagination-border-radius) !important;
    border-bottom-right-radius: var(--bs-pagination-border-radius) !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

html[data-lang="ar-AE"] .page-item:last-child .page-link {
    border-top-left-radius: var(--bs-pagination-border-radius) !important;
    border-bottom-left-radius: var(--bs-pagination-border-radius) !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

html[data-lang="ar-AE"] .page-item:not(:first-child) .page-link {
    margin: 0 !important;
}

html[data-lang="ar-AE"] .input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),
html[data-lang="ar-AE"] .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,
html[data-lang="ar-AE"] .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,
html[data-lang="ar-AE"] .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: .375em;
    border-bottom-right-radius: .375em;
}

html[data-lang="ar-AE"] .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


.form-check-input[type=checkbox]:indeterminate {
    background-color: #002147;
    border-color: #002147;
}
.form-check-input:focus {
    border-color: unset;
}
.crmEntityFormView fieldset:empty {
  border: 0;
  padding: 0;
}


/*************************************************/
/**************Action Buttons Inline**************/
/*************************************************/
/* Move the toolbar actions into the legend area */
fieldset .subgrid > .view-toolbar.grid-actions {
    position: absolute;
    top: 0;
    right: 10px;
    background: transparent;
    padding: 0;
    margin: 0;
    z-index: 10;
}

/* Adjust legend to accommodate the button */
fieldset legend.section-title {
    position: relative;
    width: 100%;
}

/* Style the Add Line button to fit in legend */
fieldset .subgrid > .view-toolbar .btn.create-action {
    font-size: 14px !important;
    border: none;
    background: #002147;
    color: #eee;
    height: auto;
    font-weight: normal;
    padding: 5px 12px !important;
    border-radius: 5px !important;
    line-height: normal;
}

/* Remove float from toolbar actions */
fieldset .subgrid > .view-toolbar .toolbar-actions {
    float: none;
    display: inline-block;
}

/* Adjust the subgrid container */
fieldset .subgrid {
    position: relative;
}

/* Hide the original toolbar space */
fieldset .subgrid > .view-toolbar.grid-actions .float-end {
    margin: 0;
    padding: 0;
    line-height: normal !important;
}

/* Position toolbar relative to legend */
fieldset .collapsible-content .subgrid > .view-toolbar {
    position: absolute;
    top: -44px;
    right: -3px;
}

/* Ensure legend has enough height */
fieldset legend.section-title {
    min-height: 41px;
    display: flex;
    align-items: center;
    padding-right: 120px; /* Make space for button */
}

/* RTL: Move button to left side in Arabic */
[dir="rtl"] fieldset .subgrid > .view-toolbar.grid-actions {
    right: auto;
    left: 10px;
}

[dir="rtl"] fieldset legend.section-title {
    padding-right: 0;
    padding-left: 120px;
}

[dir="rtl"] fieldset .collapsible-content .subgrid > .view-toolbar {
    right: auto;
    left: 2px;
}
/*************************************************/
/*************************************************/

.sectionBlockLayout:not(.blue-bg) {
    display: none !important;
}

.notification {
    margin: 0;
    border-radius: 0;
    padding: 10px;
}

.notifications {
    margin: 0;
    width: 100%;
}

.notification > .btn-close {
  padding: 10px;
}

 #MessagePanel {
  /* position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  padding: 10px;
  z-index: 11; */
  margin: 10px 0;
  border-radius: 5px;
}

.form-loading {
  width: 100%;
  height: 100%;
  background: rgba(333, 333, 333, 0.95);
  position: absolute;
  left: 0 !important;
  top: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clearlookupfield {
  padding-left: 13px !important;
  padding-right: 13px !important;
  /* background: #909090 !important; */
  /* color:#fff !important; */
  /* border-color: #909090 !important; */
}

.btn-default {
  background: #002147  !important;
  color: #fff !important;
}

.btn-default:hover {
  background: #002147  !important;
  color: #fff !important;
}


td[data-attribute="cr1aa_totaldocuments"] a,
td[data-attribute="cr1aa_successes"] a,
td[data-attribute="cr1aa_failures"] a {
    pointer-events: none;
    cursor: default;
    color: inherit; /* Optional: make it look like regular text */
    text-decoration: none; /* Optional: remove underline */
}

#errorModal .modal-dialog {
    min-width: var(--bs-modal-width) !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#errorModal .modal-title {
    margin: 0;
    line-height: normal;
}
html[dir=ltr] #errorModal .form-close {
    top: 7% !important;
}

/* Change all radio buttons and checkboxes to #002147 */
input[type="radio"]:checked,
input[type="checkbox"]:checked {
    accent-color: #002147;
    border-color: #002147;
}

input[type="radio"]:focus,
input[type="checkbox"]:focus {
    outline-color: #002147;
}

input[type="radio"]:hover:not(:disabled),
input[type="checkbox"]:hover:not(:disabled) {
    border-color: #002147;
}

/* List Action buttons > Start */
#EntityFormPanel div.view-search.entitylist-search {
  display: none;
}

#EntityFormPanel .subgrid > .view-toolbar {
  position: unset;
  margin-bottom: 10px;
  border: none;
}

#EntityFormPanel .view-toolbar .entitylist-download.action {
  margin: 0;
  border: none;
  background: none;
}

#EntityFormPanel .view-toolbar div.input-group.entitylist-search {
  margin-left: auto;
  order: 99;
  width: auto;
}

#EntityFormPanel .view-toolbar .entitylist-search .query {
  margin: 0;
}

#EntityFormPanel .subgrid > .view-toolbar.grid-actions .toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 5px;
  width: 100%;
}

#EntityFormPanel .subgrid > .view-toolbar.grid-actions .toolbar-actions > div:nth-child(2) {
  order: 101;
}

/* List Action buttons > End */