.bg-login-image {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-image: url('/assets/img/bg/bg-image-min.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.bg-general-image {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-image: url('/assets/img/bg/general-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.bg-invite {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  background-image: url('/assets/img/bg/general-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

}

.overlay-fixed {
  position: fixed;
  /* changed from absolute to fixed */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* changed from 100% to 100vh */
  background: linear-gradient(0deg, transparent 50%, rgba(0, 0, 0, 0.2) 50%), linear-gradient(90deg, transparent 50%, rgba(0, 0, 0, 0.2) 50%);
  background-size: 3px 3px;
  box-sizing: border-box;
  margin: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, transparent 50%, rgba(0, 0, 0, 0.2) 50%), linear-gradient(90deg, transparent 50%, rgba(0, 0, 0, 0.2) 50%);
  background-size: 3px 3px;
  box-sizing: border-box;
  margin: 0;
}


.nav-flag img {
  border-radius: 50%;
  height: 22px;
  -o-object-fit: contain;
  object-fit: contain;
  width: 22px;
}

.language-icon {
  background-color: var(--bs-secondary);
  border-radius: 50%;
  height: 22px;
  -o-object-fit: contain;
  object-fit: contain;
  width: 22px;
}

.language-icon:hover {
  background-color: var(--bs-primary);
}

.language-list:hover img {
  background-color: var(--bs-primary);
}


table.dataTable.table-striped>tbody>tr.odd.selected>* {
  box-shadow: inset 0 0 0 9999px rgba(75, 125, 158, 0.95) !important;
  box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), .95);
}

table.dataTable>tbody>tr.selected>* {
  box-shadow: inset 0 0 0 9999px #528aaf !important;
  box-shadow: inset 0 0 0 9999px rgb(var(--dt-row-selected));
  color: #fff;
  color: rgb(var(--dt-row-selected-text));
}

.company-filter {
  max-width: 250px;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
  background-color: #3d7280;
  border: .15em solid #fff;
  border-radius: 1em;
  box-shadow: 0 0 .2em #444;
  box-sizing: content-box;
  color: #fff;
  content: "+";
  display: block;
  font-family: Courier New, Courier, monospace;
  height: 1em;
  left: 5px;
  line-height: 1em;
  margin-top: -9px;
  position: absolute;
  text-align: center;
  text-indent: 0 !important;
  top: 50%;
  width: 1em;
}

table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before {
  background-color: #703232;
  content: "-";
}

.ui-autocomplete {
  z-index: 10500 !important;
}

/* Adjust z-index for the new modal and its backdrop */
#emailModal {
  z-index: 1150 !important;
  /* Adjust based on your needs. Default for modals in Bootstrap is 1050 */
}

#saveTemplateModal {
  z-index: 1140 !important;
  /* Adjust based on your needs. Default for modal-backdrop in Bootstrap is 1040 */
}

#loadTemplateModal {
  z-index: 1140 !important;
  /* Adjust based on your needs. Default for modal-backdrop in Bootstrap is 1040 */
}

.custom-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* adjust the color and opacity as you like */
  z-index: 1130;
  /* make sure it overlays the first modal */
}

#emailModal+.modal-backdrop {
  z-index: 1140 !important;
  /* Adjust based on your needs. Default for modal-backdrop in Bootstrap is 1040 */
}


/* Adjust z-index for the new modal and its backdrop */
#addressModal {
  z-index: 1150 !important;
  /* Adjust based on your needs. Default for modals in Bootstrap is 1050 */
}

#addressModal+.modal-backdrop {
  z-index: 1140 !important;
  /* Adjust based on your needs. Default for modal-backdrop in Bootstrap is 1040 */
}

#eventMap {
  min-height: 250px;
}

input.is-invalid {
  border-color: #703232 !important;
  border: 3px solid #703232;
  background-color: #7032322a;

}

textarea.is-invalid {
  border-color: #703232 !important;
  border: 3px solid #703232;
  background-color: #7032322a;

}

select.is-invalid {
  border-color: #703232 !important;
  border: 3px solid #703232;
  background-color: #7032322a;

}

div.is-invalid {
  border-color: #703232 !important;
  border: 1px solid #703232;
}

#description-editor.is-invalid:not(:focus-within) .ql-editor {
  background-color: #7032322a;
}

.semi-transparent {
  opacity: 0.8;
  /* This will make the entire element half transparent */
}


#description-editor {
  min-height: 495px;
}

#invite-text-editor,
#template-preview {
  min-height: 500px;
}

.no-resize {
  height: 110px;
  resize: none;
}

div.dt-button-collection {
  background-color: #444;
  padding: 0;
  margin: 0;
}


.event-description img {
  max-width: 100%;
  /* This ensures the image doesn't exceed the container width */
  height: auto;
  /* Maintain the image aspect ratio */
}


.avatar-image {
  object-fit: cover;
  /* The image will be resized to cover the entire container, cutting off excess in the longer dimension */
  object-position: center;
  /* The center of the image is retained */
}

.dtsp-panesContainer div.dataTables_scrollBody {
  height: auto !important;
}

div.dtsp-searchPane {
  padding-bottom: 15px !important;
}

#loadingOverlay {
  background-color: rgba(255, 255, 255, 0.8);
  /* Semi-transparent white background */
  position: fixed;
  /* Fixed position */
  top: 0;
  left: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  display: flex;
  /* Using Flexbox to center the spinner */
  align-items: center;
  /* Vertical center alignment */
  justify-content: center;
  /* Horizontal center alignment */
  z-index: 9999;
  /* High z-index to ensure it's on top of all other elements */
}

.spinner-border-large {
  width: 3rem;
  height: 3rem;
}

div.dt-button-collection {
  /* Add your styles here */
  background-color: white;
  /* Example property */
  padding: 5px;
  width: 150px;
}

.status-button:hover {
  filter: brightness(80%);
  /* makes the background color 20% darker */

}

div.dt-button-collection .dt-button:not(.dt-btn-split-drop) {
  min-width: 100px;

}

.hidden {
  display: none !important;
}

.status-button {
  text-align: center;

}

.dtsp-collapseAll,
.dtsp-showAll {
  display: none;
}

.label-state {
  position: relative;
  margin-right: 8px;
}

.label-state::after {
  content: "x";
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #464646;
  width: 14px;
  height: 14px;
  border-radius: 7px;
}

.label-state:hover {
  cursor: pointer;
}

th.order-disabled::after,
th.order-disabled::before {
  display: none !important;
}

#notificationGeneratorArea {
  max-height: 60dvh;
  overflow-y: auto;
}

.small-scrollbar::-webkit-scrollbar,
.small-scrollbar ::-webkit-scrollbar,
.dataTables_scrollBody::-webkit-scrollbar,
#notificationGeneratorArea::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.small-scrollbar::-webkit-scrollbar-track,
.small-scrollbar ::-webkit-scrollbar-track,
.dataTables_scrollBody::-webkit-scrollbar-track,
#notificationGeneratorArea::-webkit-scrollbar-track {
  background: lightgray;
}

.small-scrollbar::-webkit-scrollbar-thumb,
.small-scrollbar ::-webkit-scrollbar-thumb,
.dataTables_scrollBody::-webkit-scrollbar-thumb,
#notificationGeneratorArea::-webkit-scrollbar-thumb {
  background: darkgray;
  border-radius: 5px;
}

.small-scrollbar::-webkit-scrollbar-thumb:hover,
.small-scrollbar ::-webkit-scrollbar-thumb:hover,
.dataTables_scrollBody::-webkit-scrollbar-thumb:hover,
#notificationGeneratorArea::-webkit-scrollbar-thumb:hover {
  background: gray;
}

.modal-big-width {
  --bs-modal-width: 90%;
}

.modal-big-width .modal-dialog {
  margin-bottom: .5rem;
}

#notificationsDropdownMenu {
  position: absolute;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1001;
}

.notificationsLoadingCircle {
  width: 2rem;
  height: 2rem;
}

.notificationsLoadingSmallCircle {
  width: 15px;
  height: 15px;
}

.notification-icon.green {
  color: #43815f;
}

.notification-icon.red {
  color: #d9534f;
}

.notification-icon.yellow {
  color: #b79769;
}

.notification-icon.light-green {
  color: #7ca154;
}

.notification-icon.blue {
  color: #337ab7;
}

.notification-icon.dark-green {
  color: #526d61;
}

#notificationGeneratorArea .notification-item {
  cursor: default;
}

#log-table-body-modal .custom-table-width {
  width: 85%;
}

#log-table-body-modal .custom-search-panes-width {
  width: 15%;
}

.notification-read-all-section {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #dee2e6;
  padding: 0.5rem 1rem;
}

li.no-title {
  padding: 0 !important;
  border: none !important;
  box-shadow: 0px 1px 0px 0px #efefef !important;
}

li.no-title .dtr-title {
  display: none !important;
}

table.table.dataTable>tbody>tr.child span.dtr-title,
.datatable-cusom-title {
  display: block;
  font-weight: 700;
  min-width: 75px;
}

#inbox-table-body-modal .custom-inbox-table-width {
  width: 30%;
}

#inbox-table-body-modal .custom-inbox-msg-show {
  width: 70%;
  overflow: hidden;
  position: relative;
}

/* .search-in-msg-show {
  height: 6%;
} */

.msg-show {
  height: 100%;
  overflow: auto;
}

#inbox-table-body-modal .dataTables_scrollHead {
  display: none;
}

#inbox-table-body-modal .all {
  padding: 0;
}

#inbox-table-body-modal .msg-show {
  border: 1px solid #dee2e6;
}

#inbox-table-body-modal div.dataTables_wrapper div.dataTables_filter {
  text-align: left;
}

#inbox-table-body-modal div.dataTables_wrapper div.dataTables_filter input {
  margin-left: 0;
}

#datatables-inbox-ajax_filter .form-control.form-control-sm,
#datatables-inbox-ajax_filter label {
  width: 100%;
}

.inbox-display-no-select {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  color: #337ab7;
  padding-bottom: 10%;
}

.inbox-display-no-select .inbox-display-no-select-icon {
  font-size: 15dvh;
}

.inbox-display-no-select .inbox-display-no-select-text {
  font-size: 1rem;
}

#inbox-msg-show #inboxLoading {
  padding-bottom: 10%;
}

.inbox-msg {
  cursor: pointer;
}

.inbox-msg-head {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  white-space: nowrap;
  color: #495057;
}

.inbox-msg-from {
  font-weight: 900;
  font-size: 1rem;
  line-height: 0.9rem;
}

tr.selected .inbox-msg-head {
  color: #fff;
}

.inbox-msg-mail {
  font-weight: 600;
  font-size: .75rem;
}

.inbox-msg-additional {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: .75rem;
  font-weight: 600;
  color: #337ab7;
}

tr.selected .inbox-msg-additional {
  color: #d4e9ff;
}

.inbox-msg-additional .inbox-msg-subject {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-msg-additional .inbox-msg-data {
  padding-left: .5rem;
  white-space: nowrap;
  width: max-content;
  text-align: right;

}

#inbox-table-body-modal .dataTables_scrollBody {
  overflow-x: hidden !important;
}

table#datatables-inbox-ajax {
  table-layout: fixed;
  width: 100%;
}

.selectMessage {
  border: 1px solid #6c757d;
  border-radius: 0;
  height: 33px;
}

.selectMessage:focus {
  border-color: #6c757d;
  box-shadow: none;
}

.selectMessage:first-child {
  /* border-right: none; */
}

.in-table-dropdown {
  max-height: 50dvh;
  overflow-y: auto;
}

#template-preview {
  border: 1px #ced4da solid;
}

.msg-answer {
  /* position: absolute;  */
  bottom: 0px;
  background-color: #fff;
  width: 100%;
  /* right: 20px; */
  /* width: 67.8%; */
  /* padding: 0 20px; */
  /* margin-top: -243px; */
  /* height: 200px !important; */
}

.msg-answer .ql-snow .ql-editor {
  background: #fff;
  min-height: 200px;
}

.msg-answer .ql-toolbar {
  background-color: #fff;
  z-index: 1;
  position: relative;
}

.answer-buttons {
  /* margin: 0 20px 20px; */
  margin: 1.75rem 1.75rem;
  display: flex;
  justify-content: flex-end;
  min-height: 33px;
  bottom: 0;
  right: 0;
}

.msg-answer {
  display: none;
  animation-name: slideIn;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  /* margin-top: -20%; */
  position: absolute;
}

.answer-alerts {
  bottom: 0;
  left: 31%;
  margin: 0.75rem 0.3rem;
}

.fade-out {
  animation: slideUpAnimation ease 0.25s, fadeOutAnimation ease 1.75s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeOutAnimation {
  0% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes slideUpAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes slideOut {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(100%);
  }
}

.slide-out {
  animation-name: slideOut;
  animation-duration: 0.5s;
}

.answer-buttons .btn {
  color: white;
  border-radius: 100%;
  border: none;
  padding: 1rem;
  line-height: 0;
  position: relative;
  aspect-ratio: 1 / 1;
  height: fit-content;
  font-size: 1.25REM;
  text-align: center;
}

.answer-buttons .btn i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.participants-buttons {
  border: 1px solid transparent;
}

.participants-buttons>.dt-buttons.btn-group {
  margin: .1rem 0;
  gap: .25rem
}

#datatables-ajax .removed-invite-type {
  text-decoration: line-through solid #d9534f;
}

.w-15 {
  width: 15%;
}

.w-85 {
  width: 85%;
}

.participants-table-size {
  width: 100%;
}

.participants-sp-size {
  max-width: 15%;
}

.participants-sp-size .dtsp-searchPane,
.participants-sp-size .dtsp-title {
  padding-left: 1rem !important;
}

.no-arrows::-webkit-inner-spin-button,
.no-arrows::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.no-arrows {
  -moz-appearance: textfield;
  appearance: textfield;
}

.table-tooltip {
  /* --bs-tooltip-bg: var(--bs-gray-400); */
  --bs-tooltip-opacity: 1;
}

/* .est-val-col {
  color: var(--bs-blue);
}

.table-tooltip.est-val-col {
  color: white;
  --bs-tooltip-bg: var(--bs-blue);
} */



.light-green-txt {
  color: #43815f;
}

.selected .light-green-txt.changeable {
  color: #cbffe2;
}

.light-red-txt {
  color: #d9534f;
}

.selected .light-red-txt.changeable {
  color: #ffc2c0;
}

.light-yellow-txt {
  color: #b79769;
}

.selected .light-yellow-txt.changeable {
  color: #ffe6c3;
}

#customStatelateModal .fade {
  opacity: 1 !important;
}

#customStatelateModal .dropdown-menu.iconpicker-container {
  inset: 100% !important;
  border: none !important;
}

#customStatelateModal .dropdown-menu.iconpicker-container .iconpicker-popover {
  transform: translate(-100%, 0) !important;
}

.w-auto {
  width: auto !important;
}

#parentImportModal .select-item {
  font-size: 15px;
  font-weight: 600;
}

.white-red-txt {
  color: #ffc2c0;
}

/* #main-alert{
  position: absolute;
  z-index: 1;
  transform: translateX(-50%);
  left: 50%;
  top: 3rem;
  min-width: 40%;
} */

.noted-reserved-icon {
  color: #337ab7;
}

.selected .noted-reserved-icon {
  color: #cae6ff;
}

.selected .white-link-in-table {
  color: #fff !important;
  text-decoration: 1px underline dotted #fff;
}

.selected .white-link-in-table:hover {
  text-decoration: 1px underline #fff;
}

.icons-only-col {
  padding-right: 10px !important;
}

.tooltip-blue {
  --bs-tooltip-bg: var(--bs-primary);
}

.tooltip-yellow {
  --bs-tooltip-bg: var(--bs-warning);
}

.tooltip-green {
  --bs-tooltip-bg: var(--bs-success);
}

.tooltip-red {
  --bs-tooltip-bg: var(--bs-danger);
}

.t-opacity-1 {
  --bs-tooltip-opacity: 1;
}

.fc .fc-event {
  border-radius: 5px;
}

.link-btn {
  border-color: var(--bs-border-color);
}

.pubInvLinkCopyBtn i,
#pubInvLinkCopyBtn i {
  min-width: 12.25px;
}

.pubInvInTableWrapper button {
  background: #fff;
}

.pubInvInTableWrapper input {
  background: #fff;
}

.spin {
  animation: spin .3s;
}

.spin-collapse {
  animation: spin .7s;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(180deg);
  }
}

/* .rotate {
  transition: transform 0.35s;
}

.spin {
  transform: rotate(180deg);
} */

.table-settings {
  border: 1px solid var(--bs-border-color);
  border-radius: 50px;
}

.table-settings-btn-wrapper {
  display: flex;
  align-self: start;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  height: 38px;
}

.table-settings-btn {
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  line-height: 0;
}


.table-settings-collapse {
  height: 38px;
  text-wrap: nowrap;
  margin: 0 0 0 .25rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: .5rem
}

.table-settings-save-btn {
  padding: 1px 0.25rem;
  line-height: normal;
  /* aspect-ratio: 1/1; */
  border-radius: 3px;
}

/* .rotate {
  aspect-ratio: 1/1;
} */

.white-bg-tab.tab .nav-tabs .nav-link.active {
  border: 1px solid var(--bs-border-color);
  border-bottom: none;
}

.white-bg-tab.tab .tab-content {
  border: 1px solid var(--bs-border-color);
}

.display-symbol-count {
  position: relative;
}

.display-symbol-count .symbol-counter {
  position: absolute;
  right: .75rem;
  bottom: 1px;
  background: #fff;
  font-size: 12px;
}

#sendNotificationMsg .alert-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70px;
}

#sendNotificationMsg {
  border: 1px solid var(--bs-border-color);
  border-radius: 3px;
}

#confirmModal {
  z-index: 999999;
  background: #00000080;
  --bs-modal-width: 500px;
}

#confirmModal .modal-content {
  margin-top: 3rem;
}

.full-size-loading-parent {
  position: relative;
  min-height: 60dvh;
}

.full-size-loading {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* backdrop-filter: blur(4px); */
  background: #fff;
  z-index: 9999;
  /* border-radius: 4px; */
  padding-bottom: 10%;
}

.small-txt {
  font-size: .75rem;
  font-weight: 700;
}

/* Add this to your CSS */
.message-mode .dt-buttons-template,
.message-mode .toggleMessageBackground,
.message-mode .toggleMessageImage,
.message-mode .insertMessageLink {
  display: none !important;
}

.message-mode #template-preview {
  display: none !important;
}

.message-mode #invite-text-editor-old {
  display: block !important;
}