/* You can add global styles to this file, and also import other style files */

.p-dropdown {
  width: 100% !important;
  min-width: auto !important;
}

.p-dropdown .p-dropdown-panel {
  min-width: 100%;
  width: max-content;
  z-index: 9999;
}

.p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled).p-focus {
  color: #3560d6 !important;
  background: #EFF6FF !important;
}

.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight {
  color: #fff;
  background: #1D4ED8;
}


.p-calendar {
  width: 100% !important;
}
/* .ng-star-inserted {
  text-align: left !important;
} */
.spinner_overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #0000009e;
  opacity: 0.2;
  z-index: 9999;
}

@media only screen and (max-width: 600px) {
  body .p-dialog {
    width: 100% !important;
  }
}

body .p-dialog .p-dialog-content {
  max-height: 600px;
  overflow-y: auto;
}

.error-message {
  color: red;
}

.p-datatable .p-datatable-tbody > tr > td {
  word-wrap: break-word;
}

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type="file"] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  cursor: inherit;
  display: block;
}

.image {
  position: fixed;
  top: 50%;
  left: 50%;
  margin: -60px 0 0 -60px;
  -webkit-animation: spin 4s linear infinite;
  -moz-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;
  z-index: 9999;
}

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 40em) {
  body .p-tabview.p-tabview-top .p-tabview-nav li {
    width: 100% !important;
  }
  body .p-datatable.p-datatable-responsive .p-datatable-tbody > tr > td {
    border: 1px solid #c8c8c8 !important;
  }
}

/* input[readonly],
input[disabled] {
  background-color: #c8c8c899 !important;
  color: navy !important;
} */

body .p-state-disabled,
body .p-widget:disabled {
  opacity: 1 !important;
}

.angular-editor-toolbar {
  display: none;
}

.angular-editor-textarea {
  min-height: 200px !important;
}

body .p-dialog {
  z-index: 2000 !important;
}

body .p-dropdown-panel {
  z-index: 3000 !important;
}

.flex-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
}
/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */

input[type="number"] {
  -moz-appearance: textfield;
}


div:where(.swal2-container) .swal2-input {
  height: 2em !important;
}