/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
#mobile-nav {
  border-color: #952323;
  background-color: #a92828;
  background-image: linear-gradient(to top, #a92828, #801e1e);
  color: #fff;
}
label {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}
.buttons-excel, .buttons-pdf, .buttons-print {
  background-color: #f5f5f5;
  background-image: -webkit-gradient(linear, left bottom, left top, from(#f5f5f5), to(#f1f1f1));
  background-image: linear-gradient(to top, #f5f5f5, #f1f1f1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: none;
  color: #444;
  cursor: pointer;
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.47;
  border-radius: 4px;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
}
.alert-success {
  color: #45a197;
  background-color: #f7fdfc;
  border-color: #a3ebe4;
}
.field_with_errors {
  word-wrap: normal !important;
  color: #de7373;
}
.field_with_errors textarea {
  border-color: #de7373;
}
.field_with_errors input {
  border-color: #de7373;
}
.page-content {
  color: #333333;
}
.badge {
   background-color: #434a51;
   color: white;
   border: 1px solid #505050;
   margin-left: 5px;
 }
.subheader-title {
  -webkit-box-flex: 0;
  -ms-flex: 0;
  flex: 0;
  margin-bottom: 20px;
}
.nav-menu b.collapse-sign {
  padding-left: 5px;
}
.nav-menu .badge,
.nav-menu li > ul li a > .badge {
  color: #fff;
  background-color: #Be2d2d;
  border: 1px solid #505050;
  margin-left: 5px;
}
.page-logo img {
  width: auto;
}
.panel i {
  padding-right: 5px;
}
div[role=tabpanel] {
  width: 100%;
}
form[role=form] {
  margin-bottom: 20px;
}
.pull-right {
  float: right;
}
.pull-left {
  float: left;
}
.ui-autocomplete {
  background: #fff;
  width: 75% !important;
  border: 1px solid #627ca0;
  z-index: 9999999;
}
.ui-autocomplete li.ui-menu-item {
  list-style-type:none;
  margin-left: -40px;
  padding: 5px;
}
.ui-autocomplete li.ui-menu-item:hover {
  cursor: pointer;
  background: #627ca0;
  color: #fff;
}
.ui-autocomplete li.ui-menu-item .ui-menu-item-wrapper {

}
.ui-helper-hidden-accessible, .dz-hidden-input {
  display: none;
}
#place_sortable_options li:nth-child(odd), 
#project_sortable_options li:nth-child(odd),
#campaign_sortable_options li:nth-child(odd), 
#other_options li:nth-child(odd),
#sortable_options li:nth-child(odd) {
  background-color: #f9f9f9;
}
#place_sortable_options, 
#project_sortable_options,
#campaign_sortable_options,
#other_options,
#sortable_options,
#sortable {
  list-style-type: none;
  padding: 0;
}
.category_option_group {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
}
#sortable li {
  margin: 5px;
  padding: 2px;
  height: 200px;
  width: 225px;
  float: left;
  text-align: center;
  font-weight: normal;
}
.well {
  min-height: 20px;
  margin-bottom: 20px;
  background-color: #fbfbfb;
  border: 1px solid #ddd;
  box-shadow: 0 1px 1px #ececec;
  -webkit-box-shadow: 0 1px 1px #ececec;
  -moz-box-shadow: 0 1px 1px #ececec;
  position: relative;
}
.well-sm {
  padding: 9px;
  border-radius: 4px;
}
.well-lg {
  padding: 24px;
  border-radius: 6px;
}
.delete-shortcut {
  color: red;
  display: none;
}

/* overrides for Select2 styles to match our look better */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border: 1px solid #E5E5E5; }
.select2-dropdown {
  border-color: #E5E5E5; }
.select2-search--dropdown {
  padding: 0.875rem; }
.select2-search--dropdown:before {
  color: #0a6ebd; }
.select2-container--open .select2-dropdown--above {
  border-color: #0a6ebd; }
.select2-container--open .select2-dropdown--below {
  border-color: #0a6ebd; }
.select2-container--default .select2-search--dropdown .select2-search__field {
  color: #495057;
  background-color: #fff;
  border: 1px solid #E5E5E5;}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #cccccc; }
.select2-container--default .select2-results__group {
  color: #8e8e8e; }
.select2-container--default .select2-results__option[aria-selected=true] {
  background: #e3f2fd;
  color: #0a6ebd; }
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #0a6ebd;
  color: #fff; }
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
  border-color: #0a6ebd; }
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #0a6ebd; }
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: #e3f2fd;
  border-color: #0a6ebd;
  color: #0a6ebd; }
.select2-container--default .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  color: #0a6ebd; }
.select2-container--default .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove:hover {
  color: #0a6ebd; }
.select2-container--default .select2-selection--single .select2-selection__clear {
  padding: 0 15px;
  margin-right: 8px;
  font-size: 1rem;
  color: #fd3995; }
.select2-container--default .select2-selection--single .select2-selection__clear:hover {
  color: #fd2087; }
.select2-results__message {
  color: #fd3995; }
.strikeout,
.strikeout a {
  text-decoration: line-through;
  color: gray;
}
.dropdown-toggle:after,
.dropleft .dropdown-toggle:before {
  text-align: center;
  display: none;
  border: 0 !important;
  font-family: "Font Awesome 5 Solid";
  content: "\f107" !important;
  vertical-align: top !important;
  position: relative; 
}
.dropdown-item i {
  padding-left: 5px;
  padding-right: 5px;
}
/* don't round the buttons in the dropdowns */
.dropdown-item {
  border-radius: 0px;
}
.alert-success {
  color: #0f695f;
  background-color: #d2f4f1;
  border-color: #c0f0eb;
}
.required label:before { 
   content:"* ";
   color:red;
}
.required-form-element {
  margin-top: 10px;
  font-weight: bold;
  color: #a90329;
}
.rounded-top {
  border-radius: 3px 3px 0 0;
}
.btn {
  margin-bottom: 5px;
}
table .btn {
  margin-bottom: 0;
  margin-top: 0;
}
.btn-success {
  color:  #fff !important;
}
table .bg-danger {
  background-color: rgba(var(--theme-rgb-danger), 0.2) !important;
}
table .bg-warning {
  background-color: rgba(var(--theme-rgb-warning), 0.2) !important;
}
table .bg-info {
  background-color: rgba(var(--theme-rgb-info), 0.2) !important;
}
  .alert-nav {
    background-color: #f7f9fa;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
/* spinner styles */
.svg-spinner {
  -webkit-animation: rotation .75s infinite linear;
  -moz-animation: rotation .75s infinite linear;
  -ms-animation: rotation .75s infinite linear;
  animation: rotation .75s infinite linear;
}
@-webkit-keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
@-moz-keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
@-ms-keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
.nav-footer i {
  color: #fff;
}
.dt-bootstrap4 .input-group-text {
  padding: 0.69rem !important;
}
.ghost {
  opacity: 0.3;
}
/* backport bs5 flex gap utilities */
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
[x-cloak] {
  display: none !important;
}
.ProseMirror:focus-visible {
  outline: none;
}
.tiptap p.is-editor-empty:first-child::before {
  color: #868e96;
  content: attr(data-placeholder);
  float: left;
  height: 0;
  pointer-events: none;
}
.tiptap p.is-editor-empty {
  margin-bottom: 0;
}
.hidden {
  display: none;
}
