.margin-end-1 {
  margin-inline-end: 0.5rem;
}
.margin-end-2 {
  margin-inline-end: 1rem;
}
.margin-end-3 {
  margin-inline-end: 1.5rem;
}
.margin-end-4 {
  margin-inline-end: 2rem;
}
.margin-end-auto {
  margin-inline-end: auto;
}

.margin-start-1 {
  margin-inline-start: 0.5rem;
}
.margin-start-2 {
  margin-inline-start: 1rem;
}
.margin-start-3 {
  margin-inline-start: 1.5rem;
}
.margin-start-4 {
  margin-inline-start: 2rem;
}
.margin-start-auto {
  margin-inline-start: auto;
}

.mat-dialog-container {
  overflow: visible !important;
}

table thead tr th th:not(:contains('of')):not(:contains('on')) {
  text-transform: capitalize !important;
}

.fs-2rem {
  font-size: 2rem;
}

.form-control-solid {
  border: 1px solid #e4e6ef !important;
}

.custom-checkbox-style {
  border: 1px solid rgb(197, 197, 197) !important;
  border-radius: 5px !important;
  height: 18px !important;
  width: 18px !important;
  flex-shrink: 0;
}
.custom-error {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 0.9rem;
  color: #f1416c;
}
/* .form-check.form-check-custom {
  display: flex;
  align-items: center;
  padding-inline-end: 0;
  margin: 0 !important;
} */

.form-check.form-check-custom .form-check-label {
  margin-inline-start: 0.55rem;
  margin-inline-end: 0 !important;
}

/* start card & its component style */
.card {
  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12) !important;
}

.card .card-header {
  min-height: 55px !important;
  border-width: 2px !important;
}

/* start p-tree(parent-child) style */

ul.p-treenode-children > p-treenode.p-element {
  position: relative;
}

ul.p-treenode-children > p-treenode.p-element::before {
  position: absolute;
  content: " ";
  top: -13px;
  left: -6px;
  width: 8px;
  height: 45px;
  border-left: 1px solid #416c96;
  border-bottom: 1px solid #6185a8;
  border-bottom-left-radius: 5px;
  z-index: 999;
}
.p-tree .p-tree-container .p-treenode {
  padding: 0 !important;
  /* padding-left: 0.5rem !important; */
}
.p-tree .p-treenode-children {
  padding: 0 0 0 2rem !important;
}
/* end p-tree(parent-child) style */

.login-img-overlay::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: " ";
  background: linear-gradient(214.85deg, rgb(0, 168, 134) 0%, rgb(0, 108, 159) 100%) 0% 0% / contain !important;
  /* background: linear-gradient(214.85deg, rgb(0, 168, 134) 0%, rgb(10 18 22) 100%) 0% 0% / contain !important; */
  opacity: 0.9;
  border-radius: 10px;
  z-index: 3;
}

.login-text {
  position: absolute;
  top: calc(50% - 110px);
  left: 0;
  width: 100%;
  height: auto;
  z-index: 5;
  padding-inline-start: 100px;
  padding-inline-end: 60px;
}

.login-logo {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 100px;
  height: 70px;
  z-index: 9;
}
.login-form {
  max-height: 580px;
  margin-top: auto;
  margin-bottom: auto;
  margin-inline-end: -40px;
  z-index: 999;
}
.login-form .login-header {
  color: #464646;
  text-decoration: underline;
  font-size: 22px !important;
}
.login-form .login-username-container {
  border-inline-start: 3px solid #017CC3;
  border-radius: 3px;
}
.login-form .login-username-container {
  border-inline-start: 3px solid #017CC3;
  border-radius: 3px;
}

.login-form .remember-me {
  border-radius: 2px;
  background-color: #737373;
  color: white;
}
.login-form .forgot-pass {
  color: #464646;
  font-size: 15px;
  text-decoration: underline;
}

.login-img-overlay img {
  max-height: 90vh;
  border-radius: 10px;
}

.vertical-align-middle {
  vertical-align: middle !important;
}
/* **************************** */
p-treeselect .p-treeselect {
  width: 100%;
  height: 39.8px;
}

p-treeselect .p-treeselect-label-container {
  display: flex;
  align-items: center;
}

p-treeselect .p-treenode-icon {
  margin-inline-end: 5px;
}

.p-tree .p-tree-container .p-treenode .p-treenode-content {
  border: 1px solid #dee2e6;
}

/* .p-tree-container > p-treenode > li.p-treenode > div.p-treenode-content{} */

single-select-tree > p-tree > .p-tree {
  border: none !important;
  padding: 0 !important;
}

.p-treenode-label {
  cursor: pointer;
  width: 100%;
}

/* ul.p-treenode-children > p-treenode.p-element {
  position: relative;
}

ul.p-treenode-children > p-treenode.p-element::before {
  position: absolute;
  content: " ";
  top: -13px;
  right: -12px;
  width: 11px;
  height: 45px;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  border-bottom-right-radius: 5px;
  z-index: 999;
} */
/* ----------------------------------------------------------- */
/* end card & its component style */
/* ----------------------------------------------------------- */
/* start aside style */
.aside.aside-dark {
  /* background: #017CC3; */
  /* background-color: #017CC3; */
  background: linear-gradient(214.85deg, rgb(0, 168, 134) 0%, rgb(0, 108, 159) 100%) 0% 0% / contain !important;
}

.aside.aside-dark .aside-logo {
  background-color: #009C8B !important;
  /* background: linear-gradient(214.85deg, rgb(0, 168, 134) 0%, rgb(0, 108, 159) 100%) 0% 0% / contain !important; */
}

.aside.aside-dark .aside-logo a {
  color: white;
  font-weight: 600;
}

.aside-dark .menu .menu-item .menu-link.active {
  transition: color 0.2s ease, background-color 0.2s ease;
  background-color: #69adb7  !important;
  color: #ffffff;
}

.aside-dark .menu .menu-item.hover > .menu-link:not(.disabled):not(.active),
.aside-dark .menu .menu-item .menu-link:hover:not(.disabled):not(.active) {
  transition: color 0.2s ease, background-color 0.2s ease;
  background-color: #017CC3 !important;
  color: #ffffff;
}
.aside-dark .menu .menu-item .menu-link .menu-title {
  color: #ffffff !important;
}
.aside-dark
  .menu
  .menu-item
  .menu-link
  .menu-icon
  .svg-icon
  svg
  [fill]:not(.permanent):not(g) {
  transition: fill 0.3s ease;
  fill: #ffffff !important;
}
.aside-dark .menu .menu-item.here > .menu-link,
.aside-dark .menu .menu-item.show > .menu-link {
  transition: color 0.2s ease, background-color 0.2s ease;
  background-color: #017CC3 !important;
  color: #ffffff;
}
/* end aside style */
/* ----------------------------------------------------------- */
/* start mat table & its component style */
table.mat-table .mat-row:hover {
  background-color: #f2f2f2;
}

table.mat-table .mat-header-row {
  background-color: #f5f6fa !important;
  border-bottom: 2px solid #e5e5e5;
}

.mat-paginator-page-size {
  display: none !important;
}

.mat-paginator-range-label {
  color: #017CC3;
  font-weight: bold;
  font-size: 1rem;
}

.mat-focus-indicator.mat-paginator-navigation-first,
.mat-focus-indicator.mat-paginator-navigation-last {
  display: none;
}

.mat-focus-indicator.mat-paginator-navigation-next,
.mat-focus-indicator.mat-paginator-navigation-previous {
  background-color: #017CC3;
  border-radius: 5px;
  width: 33px;
  height: 35px;
  line-height: 2px;
  color: white !important;
  cursor: pointer !important;
  border: 1px solid transparent;
  transform: all 0.4s ease;
  margin: 0 2px;
}

.mat-focus-indicator.mat-paginator-navigation-next:hover,
.mat-focus-indicator.mat-paginator-navigation-previous:hover {
  color: #017CC3 !important;
  background-color: white;
  border: 1px solid #017CC3;
}

/* end mat table & its component style */
/* ----------------------------------------------------------- */
/* start <input type="image" style */

.image-input {
  position: relative;
  display: inline-block;
  border-radius: 0.475rem;
  background-repeat: no-repeat;
  background-size: cover;
}

.image-input:not(.image-input-empty) {
  background-image: none !important;
}

.image-input .image-input-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 0.475rem;
  background-repeat: no-repeat;
  background-size: cover;
}

.image-input [data-kt-image-input-action="change"] {
  cursor: pointer;
  position: absolute;
  right: -10px;
  top: -10px;
}

.image-input [data-kt-image-input-action="change"] input {
  width: 0 !important;
  height: 0 !important;
  overflow: hidden;
  opacity: 0;
}

.image-input [data-kt-image-input-action="cancel"],
.image-input [data-kt-image-input-action="remove"] {
  position: absolute;
  right: -10px;
  bottom: -5px;
}

.image-input [data-kt-image-input-action="cancel"] {
  display: none;
}

.bi-pencil-fill::before {
  content: "\f4c9";
  padding: 10px 10px;
  border-radius: 50%;
  color: #fff;
  background-color: #1492e6;
}

.btnEditImageLocation {
  padding: 7px 10px !important;
}

.image-input.image-input-changed [data-kt-image-input-action="cancel"] {
  display: flex;
}

.image-input.image-input-changed [data-kt-image-input-action="remove"] {
  display: none;
}

.image-input.image-input-empty [data-kt-image-input-action="cancel"],
.image-input.image-input-empty [data-kt-image-input-action="remove"] {
  display: none;
}

.image-input.image-input-circle {
  border-radius: 50%;
}

.image-input.image-input-circle .image-input-wrapper {
  border-radius: 50%;
}

.image-input.image-input-circle [data-kt-image-input-action="change"] {
  right: 5px;
  top: 5px;
}

.image-input.image-input-circle [data-kt-image-input-action="cancel"],
.image-input.image-input-circle [data-kt-image-input-action="remove"] {
  right: 5px;
  bottom: 5px;
}

.image-input.image-input-outline .image-input-wrapper {
  border: 3px solid #fff;
  box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075);
}
/* end <input type="image" style */
/* ----------------------------------------------------------- */
/* start ng prime calender style */
span.p-calendar {
  width: 100%;
}
/* end ng prime calender style */
/* ----------------------------------------------------------- */
/* start dropdown - select2 */

.p-dropdown {
  border: 1px solid #e4e6ef !important;
  display: flex !important;
  align-items: center;
  width: 100% !important;
  height: 39.8px !important;
  /* padding: 0.75rem 1rem !important; */
  border-radius: 0.475rem !important;
}

.p-dropdown-sm {
  border: 1px solid #e4e6ef !important;
  display: flex !important;
  align-items: center;
  width: 100% !important;
  height: 31.8px !important;
  /* padding: 0.75rem 1rem !important; */
  border-radius: 0.475rem !important;
}

.p-dropdown-sm .p-inputtext {
  padding: 0.55rem 0.5rem !important;
}

.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
  margin-right: 0 !important;
}

.serial-number-style {
  margin-top: -2px;
  font-size: 12px;
  color: rgb(99, 99, 99);
}
/* end dropdown - select2 */
/* ----------------------------------------------------------- */
/* start card style */
.mat-card,
.p-dialog,
.p-component,
.p-inputtext {
  font-family: 'Poppins', sans-serif !important;
}

.card.card-custom .card-header .card-title i {
  font-size: 1.5rem;
  color: #017CC3;
  margin-right: 1vw !important;
}
/* end card style */
/* ----------------------------------------------------------- */

/* ----------------------------------------------------------- */
/* start dashboard */
.speedometer-pointer {
  position: absolute;
  /* width: 4px;
  height: 35px;
  top: 26%;
  left: calc(50% - 3px); */

  width: 3px;
  height: 37px;
  top: 14%;
  left: calc(50% - 0px);

  bottom: 30px;
  transform-origin: bottom;
  background-color: #194f82;
  transition: cubic-bezier(0.65, 0.05, 0.36, 1) all 1s;
}

.speedometer-pointer .circle {
  width: 12px;
  height: 12px;
  background-color: #194f82;
  display: block;
  border-radius: 50%;
  position: relative;
  bottom: -30px;
  left: -4px;
}
/* end dashboard */
/* ----------------------------------------------------------- */

/* ----------------------------------------------------------- */
/* start roles style */

.roles-list .roles-items .item {
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding: 0.1rem;
  border-radius: 0.25rem;
  border: 1px solid #ebebeb;
  cursor: pointer;
  /* background: whitesmoke; */
  height: 3.5rem;
}

.roles-list .roles-items .item .item-title h6 {
  margin-bottom: 0;
}

.roles-details .role-card .title input {
  width: 200px;
  margin-inline-start: 1rem;
  padding: 0.5rem 1rem;
}

.roles-details .role-card .title h3 {
  margin-bottom: 0;
  color: #009ef7;
}

.roles-details .role-card .title {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.roles-group th:first-child {
  width: 1.5rem;
  padding-inline-end: 0 !important;
}

.roles-group th:last-child {
  padding-inline-start: 0.5rem !important;
}

.roles-group .table tbody tr {
  vertical-align: middle;
}

.roles-group .table tbody tr td:first-child {
  width: 1.5rem;
  padding-inline-end: 0 !important;
}

.roles-group .table tbody tr td:last-child {
  padding-inline-start: 0.5rem !important;
}

.roles-group .table tbody tr td:last-child .contents {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.roles-group .table tbody tr td:last-child .contents h6 {
  color: #606060;
}

/* .roles-component .roles-group table thead tr {
    border-bottom: 1px solid #eff2f5 !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
} */

.roles-details .role-info .title h4 {
  margin-bottom: 0;
  margin-inline-start: 0.8rem;
}

.roles-details .role-info .title {
  padding-bottom: 2rem;
  display: flex;
  align-items: center;
}

.roles-details .role-info .title i {
  color: #181c31;
}

.roles-group th:first-child i {
  color: black;
}

.roles-details .role-info .role-card .title {
  padding-bottom: 0rem;
}

.role-card .information p {
  color: #242424;
  font-weight: 300;
}

.role-card .information p:first-child {
  margin-bottom: 0.3rem;
}

.roles-list .title h5 i {
  color: #323232;
  margin-inline-start: 0.8rem;
}

/* .roles-list .title h5 {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
} */

/* end roles style */
/* ----------------------------------------------------------- */

/* ----------------------------------------------------------- */
/* strat modal style */
.p-dialog-header {
  /* padding-top: 1rem !important;
  padding-bottom: 1rem !important; */
  border-bottom: 2px solid #eff2f5 !important;
}

.p-dialog-content {
  padding: 1.5rem 1.5rem 0 1.5rem !important;
  overflow-y: auto !important;
}

.dialog-footer {
  margin: 0.5rem -1.5rem;
  border-top: 2px solid #eff2f5 !important;
}

.dialog-footer .footer-actions {
  margin: 0.8rem 1.5rem 0.8rem 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.dialog-footer .footer-actions .modal-footer-ok-button {
  color: white;
  background-color: #017CC3;
  padding: 9px !important;
}

/* .modal-body {
  margin-bottom: 19.5px;
  padding: 0 !important;
} */

.modal-body p {
  font-size: 1.1rem;
  margin: 0;
}
/* end modal style */
/* ----------------------------------------------------------- */
/* start multiselect style */
.p-multiselect-close {
  border: 1px solid #ced4da !important;
  border-radius: 3px !important;
  margin-right: 0.5rem !important;
  margin-left: 0 !important;
}
/* end multiselect style */
/* ----------------------------------------------------------- */
/* start table style */
.custom-table-style thead tr th {
  background-color: #f5f6fa !important;
  border-bottom: none !important;
  padding: 1rem 0.75rem !important;
}

/* .custom-table-style thead tr th{
    border-bottom: 2px solid #eff2f5 !important;
} */

.pagination-btn {
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  line-height: 30px !important;
}

.nested-table-toggle-icon {
  width: 30px;
  height: 30px;
  line-height: 30px !important;
  background-color: #f5f6fa;
  border: 1px solid #dfe0e5;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}

.nested-table-toggle-icon:hover {
  background-color: #e0e2e9;
}

.reorder-row-icon {
  display: inline-block;
  border: 1px solid #e1e1e1;
  padding: 6px 10px;
  background-color: #f5f8fa;
  border-radius: 3px;
  margin: 0;
  cursor: all-scroll;
}
/* end table style */
/* ----------------------------------------------------------- */
/* start icons style */
.action-icon {
  height: 30px;
  width: 30px;
  font-size: 1.2rem;
  padding: 7px;
  margin: 0 5px;
  text-align: center;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 10px 1px #f0f0f0;
}

/* .general-icon-hover:hover{
  box-shadow: 0 0 15px 1px #b2b2b2;
} */
.general-icon-hover:hover {
  color: white;
  background-color: #a1a5b7;
}
.general-icon-hover:hover i {
  color: white;
}

.completed-request-status {
  display: inline-block;
  border-radius: 50%;
  text-align: center;
  border: 1px solid #e6e6e6;
  color: #515151;
  font-style: normal;
}
.inProgress-request-status {
  display: inline-block;
  border-radius: 50%;
  text-align: center;
  border: 1px solid #e6e6e6;
  color: #515151;
  font-style: normal;
}
.open-request-status {
  display: inline-block;
  border-radius: 50%;
  text-align: center;
  border: 1px solid #e6e6e6;
  color: #515151;
  font-style: normal;
}

.add-icon {
  background-color: #71cfa3;
  color: white;
}

.add-icon:hover {
  background-color: #60c093;
}

.delete-icon {
  color: #d86363;
  background-color: white;
}

.delete-icon:hover {
  color: white;
  background-color: #d86363;
}

.copy-icon {
  color: #d5701c;
  background-color: white;
}

.copy-icon:hover {
  color: white;
  background-color: #d5701c;
}

.activate-icon {
  color: #7a6ee4;
  background-color: white;
}

.activate-icon:hover {
  color: white;
  background-color: #7a6ee4;
}

.mail-icon {
  color: #63bcd8;
  background-color: white;
}

.mail-icon:hover {
  color: white;
  background-color: #63bcd8;
}

.lock-icon {
  color: #d863a9;
  background-color: white;
}

.lock-icon:hover {
  color: white;
  background-color: #d863a9;
}

.delete-icon {
  color: #d86363;
  background-color: white;
}

.delete-icon:hover {
  color: white;
  background-color: #d86363;
}

.edit-icon {
  color: #17a2b8;
  background-color: white;
}

.edit-icon:hover {
  color: white;
  background-color: #17a2b8;
}

.notification-icon {
  color: #7c7f81;
  background-color: white;
}

.notification-icon:hover {
  color: white;
  background-color: #7c7f81;
}

.showing-icon {
  color: #768fca;
  background-color: white;
}

.showing-icon:hover {
  color: white;
  background-color: #768fca;
}

.undo-icon {
  color: #d5701c;
  background-color: white;
}

.undo-icon:hover {
  color: white;
  background-color: #d5701c;
}

.archive-icon {
  color: #758f9b;
  background-color: white;
}

.archive-icon:hover {
  color: white;
  background-color: #758f9b;
}

.expand-icon {
  background-color: #d8d8d8;
  color: white;
}

.expand-icon:hover {
  background-color: #c0c0c0;
}

.success-icon {
  color: #50cd5e;
  background-color: white;
}

.success-icon:hover {
  color: white;
  background-color: #50cd5e;
}

.primary-icon {
  color: #017CC3;
  background-color: white;
}

.primary-icon i {
  color: #017CC3;
}
/* .primary-icon:hover i {
  color: white;
} */
.primary-icon:hover {
  background-color: #017CC3;
  color: white;
}

/* end icons style */
/* ----------------------------------------------------------- */
/*start  buttons style */
.general-btn {
  border-radius: 5px;
  border: none;
  padding: 7px 15px;
  font-weight: normal;
  /* font-size: 14px; */
  transition: all 0.4s ease;
}

.general-btn i {
  display: inline-flex;
  font-size: 1rem;
  padding-right: 0.35rem;
  vertical-align: middle;
  line-height: 0;
}


::nn-deep .btn-primary{
  background-color: #017CC3 !important;
  display: inline-flex;
  font-size: 1rem;
  padding-right: 0.35rem;
  vertical-align: middle;
  line-height: 0;
}

.add-btn {
  background-color: #017CC3 !important;
  color: #ffffff !important;
  /* padding: 0.5rem 0.75rem !important; */
}

.btn-secondary{
    color: #3f4254 !important;
    border-color: #e4e6ef !important;
    background-color: #e4e6ef !important;
    padding: 0.5rem 0.75rem !important;

}


.btn-primary{
  background-color: #017CC3 !important;
  padding: 0.5rem 0.75rem !important;
}

.btn.btn-success {
  background-color: #50cd89 !important;
  padding: 0.5rem 0.75rem !important;

}



.add-btn i {
  color: white;
}

.add-btn:hover {
  background-color: #5395d6;
}

.edit-btn {
  background-color: #17a2b8;
  color: #ffffff;
}
.edit-btn i {
  color: white;
}

.edit-btn:hover {
  background-color: #108a9c;
}

.filter-btn {
  background-color: #f5f6fa;
  color: #383838;
  border: 1px solid #e5e5e5;
}

.filter-btn:hover {
  background-color: #e3e3e3;
}

.mail-compant-btn {
  background-color: #63bcd8;
  color: white;
}

.mail-compant-btn:hover {
  background-color: #59b0ca;
}

.activation-btn {
  background-color: yellowgreen;
  color: white;
  border: 1px solid yellowgreen;
}

.activation-btn:hover {
  color: yellowgreen;
  background-color: white;
  border: 1px solid yellowgreen;
}

.activation-btn i {
  color: white;
}

.activation-btn:hover i {
  color: yellowgreen;
}

.disable-btn {
  background-color: tomato;
  color: white;
}

.disable-btn:hover {
  background-color: #f42400;
}

.disable-btn i {
  color: white;
}

.undo-btn {
  border-color: #17a2b8;
  background-color: #17a2b8;
  color: white;
}

.undo-btn:hover {
  background-color: white;
  color: #17a2b8;
}

.undo-btn i {
  color: white;
}

.undo-btn:hover i {
  color: #17a2b8;
}

.card-header-actions > button,
.card-header-actions > i {
  margin: 0 3px;
}
/* end buttons style */
/* ----------------------------------------------------------- */
/* start multi select list checkbox style */
.p-multiselect-panel .p-multiselect-header .p-checkbox {
  margin: 0 0 0 0.5rem;
}

.p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox {
  margin: 0 0 0 0.5rem;
}
/* end multi select list checkbox style */
/* ----------------------------------------------------------- */
/* start spinner style */
.mat-spinner > svg {
  display: none;
}

.mat-spinner {
  position: absolute !important;
  left: 59%;
  top: 38%;
  height: 60px !important;
  width: 60px !important;
  margin: 0px auto;
  -webkit-animation: rotation 0.6s infinite linear;
  -moz-animation: rotation 0.6s infinite linear;
  -o-animation: rotation 0.6s infinite linear;
  animation: rotation 0.6s infinite linear;
  border-left: 6px solid rgba(0, 174, 239, 0.15);
  border-right: 6px solid rgba(0, 174, 239, 0.15);
  border-bottom: 6px solid rgba(0, 174, 239, 0.15);
  border-top: 6px solid rgba(0, 174, 239, 0.8);
  border-radius: 100%;
}

@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
@-moz-keyframes rotation {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(359deg);
  }
}
@-o-keyframes rotation {
  from {
    -o-transform: rotate(0deg);
  }
  to {
    -o-transform: rotate(359deg);
  }
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
/* end spinner style */
/* ----------------------------------------------------------- */

.form-label {
  font-size: 13px !important;
}

.table tr:first-child,
.table th:first-child,
.table td:first-child,
.custom-table-style thead tr th:first-child {
  padding-left: 0.75rem !important;
}

.table td:last-child {
  padding-right: 1rem !important;
}
/* end my styles */

/***************css-Mahmoud*******************/

.ck.ck-editor {
  direction: rtl !important;
}

.ck.ck-editor__editable_inline[dir="ltr"] {
  text-align: right !important;
}

/* .spinner-overlay {
  position: fixed !important;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: .85;
} */

mat-dialog-container {
  padding: 0 !important;
}

/* ----------------------------------------------------------- */
/* start our custom modal style */
.modal-header {
  padding: 0.85rem 1.1rem !important;
  background-color: #f5f6fa;
  border-bottom: 2px solid #e2e2e2 !important;
  border-top-left-radius: 0.475rem !important;
  border-top-right-radius: 0.475rem !important;
}


.modal-header .close-modal-icon {
  height: 30px;
  width: 30px;
  font-size: 1.2rem;
  padding: 7px;
  text-align: center;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #e6e7e8;
}

.modal-header .close-modal-icon:hover {
  background-color: #eaeaea;
  color: #181c31;
}

.modal-body {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 1.75rem !important;
}

.modal-bg-icon {
  position: absolute;
  top: -126%;
  left: 0;
  font-size: 5rem;
  z-index: 0;
  opacity: 0.1;
}

.modal-footer {
  padding: 1.5rem !important;
  display: flex;
  justify-content: flex-end;
  border-bottom-right-radius: 0.475rem !important;
  border-bottom-left-radius: 0.475rem !important;
  padding-top: 0.85rem !important;
  padding-bottom: 0.85rem !important;
  border-top: 2px solid #e2e2e2 !important;
}

.modal-footer button {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-right: 5px !important;
  margin-left: 5px !important;
}
/* start our custom modal style */
/* ----------------------------------------------------------- */
/* start our custom datepicker style  */
.custom-datepicker {
  position: relative;
}

.custom-datepicker .mat-datepicker-input {
  padding-inline-start: 35px;
  text-align: center;
  line-height: normal;
}

.custom-datepicker .mat-datepicker-toggle {
  position: absolute;
  top: 0;
  width: 100%;
  height: 33px;
}

.custom-datepicker-sm .mat-icon-button {
  width: 33px;
  height: 33px;
  line-height: 33px;
}
.container-xxl {
  max-width: 100% !important;
}
/* end our custom datepicker style  */
/* ----------------------------------------------------------- */
/* start map modal style */
/* .cmms-map-modal {
  position: relative !important;
  top: 82px;
  bottom: 0;
  left: 126px;
} */
/* .cmms-map-modal .location-card::before {
  position: absolute;
  content: " ";
  bottom: 100%;
  width: 20px;
  height: 20px;
  right: 50%;
  border-top: 10px solid transparentaliceblue;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white;
  border-left: 10px solid transparent;
} */

.cmms-map-modal .location-card .info {
  display: flex;
  justify-content: space-between;
  border: 1px solid #e7ebee;
  padding: 5px 10px;
  border-radius: 5px;
  margin-bottom: 0.75rem;
}

.cmms-map-modal .location-card .info:last-child {
  margin-bottom: 0;
}
/* end map modal style */
/* ----------------------------------------------------------- */
/* start add asset style */
.add-asset-image-input {
  text-align: start;
}
/* end add asset style */
/* ----------------------------------------------------------- */
/* start add asset style */
.basicInformation-tab-image-input {
  text-align: start;
}
/* end add asset style */

/* .p-dialog .modal-body {
  max-height: 400px !important;
  overflow-y: auto !important;
} */

.custom-dropdown .p-dropdown {
  height: 40px !important;
}

.subscription-data-child-icon {
  display: none !important;
}

/* ----------------------------------------------------------- */
.tooltip-item {
  padding-right: 1rem;
  cursor: pointer;
}

.tooltip-item svg rect {
  fill: #009ef7 !important;
}

.tooltip-item:hover svg rect {
  fill: #0389d6 !important;
}
/* ----------------------------------------------------------- */

/* ----------------------------------------------------------- */
.p-fileupload-files > div:first-child {
  display: flex;
}
.p-fileupload-row {
  flex-direction: column;
  position: relative;
  width: fit-content;
  margin-inline-end: 1.5rem;
}
.p-fileupload-row > div {
  padding: 0 !important;
  width: unset !important;
}
.p-fileupload-row > div:last-child {
  position: absolute;
  right: -6px;
  top: -9px;
}
.p-fileupload-row > div:last-child button {
  width: 18px;
  height: 18px;
}
/* ----------------------------------------------------------- */

.work-order-instruction-tree .p-treenode.p-treenode-leaf {
  margin-bottom: 0.5rem;
}

.work-order-edit-instructions .p-treenode-content {
  padding: 0 !important;
}

.work-order-edit-instructions .p-treenode.p-treenode-leaf {
  margin-bottom: 0.5rem;
}

.work-order-edit-instructions .p-ripple.p-element.p-tree-toggler.p-link {
  display: none;
}
/* media style */
/* ----------------------------------------------------------- */
/* start card asset tabs style at small screen */
@media (max-width: 991.98px) {
  .p-tabview-nav {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    height: 55px;
    align-items: center;
    padding: 0 7px !important;
  }

  .p-tabview .p-tabview-nav li .p-tabview-nav-link {
    border: none !important;
  }

  .p-tabview .p-tabview-nav {
    border: none !important;
  }

  .add-asset-image-input {
    text-align: center;
  }
  .basicInformation-tab-image-input {
    text-align: center;
  }
}
/* end card asset tabs style at small screen */
/* ----------------------------------------------------------- */

@media (max-width: 991.8px) {
  .p-dialog {
    width: 80vw !important;
  }

  .cmms-custom-modal,
  .cmms-map-modal {
    width: 80vw !important;
  }
}

bs-datepicker-container {
  z-index: 999999999999 !important;
}

.mat-tab-body-wrapper,
.mat-tab-body-wrapper .mat-tab-body,
.mat-tab-body-wrapper .mat-tab-body .mat-tab-body-content {
  overflow: visible !important;
}

.span-clickable {
  text-decoration: underline;
  cursor: pointer;
}

.nowrap{
  white-space: nowrap;
}

.icon-color{
  color: #017CC3 !important;
  font-size: 1.5rem !important;
}

/* .p-button.p-button-success, .p-buttonset.p-button-success > .p-button, .p-splitbutton.p-button-success > .p-button {
  border: none !important;
  padding: 7px 15px;
  margin-top: 3px;
} */

button{
  border-radius: 5px;
  border: none;
  padding: 7px 15px;
  font-weight: normal;
  /* font-size: 14px; */
  transition: all 0.4s ease;
}

.txt-body{
  font-size: 14px;
}

.txt-body-1{
  font-size: 16px;
}

.txt-body-2{
  font-size: 18px;
}
.txt-body-3{
  font-size: 18px;
}

a{
  text-decoration:none !important;
  font-size: 14px !important;
  color: #017CC3 !important;
  white-space: nowrap;
}
.section-title{
  line-height: 1.5em;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  margin-bottom: 15px;
}

.section-description{
  font-weight: 400;
  color: #878787!important;
  padding-bottom: 1rem!important;
  line-height: 1.7em;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
}
.bg-info {
  background-color: #11cdef !important;
}

.icon {
  width: 3.5rem;
  height: 3.5rem;
}

.icon i {
  font-size: 2rem;
}

.icon-shape {
  display: inline-flex;
  padding: 12px;
  text-align: center;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.bg-success{
  background-color: #4CE37E !important;
}

.bg-warning {
  background-color: #fb6340 !important;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner {
  animation: spin 4s linear infinite;
}

::ng-deep .p-tabmenu .p-tabmenu-nav .p-tabmenuitem.p-highlight .p-menuitem-link{
  background-color: #017CC3 !important;
  color: white !important;
}

/* use on WO and PPM Tasks pages */
.bg-success-stat {
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgba(76, 175, 80, .4);
  background: linear-gradient(60deg, #4CE37E, #4CE37E);
}

.bg-info-stat {
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgba(33, 150, 243, .4);
  background: linear-gradient(60deg, #42a5f5, #1e88e5);
}
.bg-process-stat {
box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgba(33, 150, 243, .4);
background: linear-gradient(60deg, #abf4ea, #0aeade);
}
.bg-warning-stat {
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgba(255, 152, 0, .4);
  background: linear-gradient(60deg, #ffa726, #fb8c00);
}

.bg-danger-stat {
  box-shadow: 0 4px 20px 0 rgb(14 14 14 / 40%), 0 7px 10px -5px rgba(255, 0, 0, 0.4);
  background: linear-gradient(60deg, #EB4642, #ed7a77);
}

.bg-pink-stat {
background: linear-gradient(60deg, #ec407a, #d81b60);
box-shadow: 0 4px 20px 0 rgba(236, 64, 122, 0.4), 0 7px 10px -5px rgba(236, 64, 122, 0.2);
}

.bg-yell-stat {
background: linear-gradient(60deg, #e3ebbf, #acd81b);
box-shadow: 0 4px 20px 0 rgba(221, 246, 145, 0.4), 0 7px 10px -5px rgba(236, 64, 122, 0.2);
}

.header-flex {
  display: flex;
  align-items: center;
  /* gap: 0.2rem;  */
}

.header-flex p-sortIcon, .header-flex p-columnFilter {
  margin-left: auto; /* Push the sort and filter icons to the right */
}
