@import url("/assets/bootstrap-f3f91c0f.css");
@import url("/assets/enrich-d68b1767.css");
@import url("/assets/account-58bcda0e.css");
@import url("/assets/actiontext-e646701d.css");

body {
  margin-top: 87px;
}

abbr {
  font-weight: bold;
  color: red;
}

form.simple_form fieldset legend {
  float: unset;
}

fieldset.user_communities legend {
  font-weight: bold;
}

#contents_text_content {
  height: 300px;
  overflow-y: auto;
}

.community_profile_answer_text {
  text-align: justify;
}

#messaging_message_body {
  height: 250px;
  overflow-y: auto;
}

.toggle-permission-button {
  border: 0px;
  background-color: #fff;
}

#contents_comment_body {
  height: 200px;
  overflow-y: auto;
}

#messaging_community_mail_body {
  height: 350px;
  overflow-y: auto;
}

.root-comment:not(:first-child) {
  border-top: 1px solid gray;
  padding-top: 10px;
  width: 90%;
}

#event figcaption {
  display: none;
}

#event #event-body h1 {
  font-size: 1.2em;
  color: #000;
}

.copy-to-clipboard button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#news-body h1 {
  font-size: 1.2em;
  color: #000;
}

.news-show-body {
  text-align: justify;
  text-justify: inter-word;
}

.egcp-event {
  padding-left: 2px !important;
  white-space: normal !important; /* Allow text to wrap */
  overflow: visible !important; /* Prevent clipping */
  display: block !important; /* Ensure block display */
  word-wrap: break-word; /* Break long words */
  line-height: 1.2; /* Improve readability */
}

.fc-day-disabled {
  display: none;
  pointer-events: none; /* Prevents interaction */
}

.leaflet-sidebar-tabs {
  background-color: #fefefe !important;
}

/* useful for the mapping tool */
.fixed-top {
  z-index: 8888;
}

.modal {
  z-index: 9999;
}

label.hidden {
  display: none;
}

.toast {
  width: 360px;
}

a.dropdown-item {
  text-decoration: none;
}

#inline-message-form {
  margin-top: -15px;
  margin-bottom: 15px;
  .messaging_message_body #messaging_message_body {
    height: 100px;
  }

  .messaging_message_body label {
    display: none;
  }
}

/* Dropzone styles for file uploads */
.dropzone-area {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

.dropzone-area:hover {
  border-color: #0d6efd;
  background-color: #f0f7ff;
}

.dropzone-area.dropzone-highlight {
  border-color: #0d6efd;
  background-color: #e7f1ff;
  border-style: solid;
}

.dropzone-area .dropzone-icon {
  font-size: 2rem;
  color: #6c757d;
  margin-bottom: 10px;
}

.dropzone-area .dropzone-text {
  color: #6c757d;
  margin-bottom: 5px;
}

.dropzone-area .dropzone-hint {
  font-size: 0.85rem;
  color: #adb5bd;
}

.dropzone-area .dropzone-browse {
  color: #0d6efd;
  text-decoration: underline;
  cursor: pointer;
}

.dropzone-area .dropzone-browse:hover {
  color: #0a58ca;
}

.dropzone-preview {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  margin-top: 10px;
}

.dropzone-error {
  margin-top: 5px;
}
