/*
Custom style for the jMeeoForm plugin
default class assigned to the container is:
.jmeeo-form
*/


.jmeeo-form label{
  margin-top: 1rem;
}

.jmeeo-form .jmeeo-form-footer{
  overflow: auto;
  padding: .75rem;
  display: block;
}

.jmeeo-form .jmeeo-form-footer .btn.float-end{
  margin-left: .5rem;
}

.jmeeo-form .jmeeo-form-footer .btn.float-start{
  margin-right: .5rem;
}

.jmeeo-form .jmeeo-form-footer .btn.float-end.btn-prev{
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: 0;
}

.jmeeo-form .jmeeo-form-footer .btn.float-end.btn-next{
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: 0;
}

.jmeeo-form .form-check{
  padding-left: 0;
}

.jmeeo-form .btn-secondary::before{
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.jmeeo-form .json-editor-btn-subtract span,
.jmeeo-form .json-editor-btn-delete span,
.jmeeo-form .json-editor-btn-moveup span,
.jmeeo-form .json-editor-btn-movedown span,
.jmeeo-form .json-editor-btn-add span{
  display: none;
}

.jmeeo-form .json-editor-btn-add::before{
  content: "\f64d";
}
.jmeeo-form .json-editor-btn-subtract::before{
  content: "\f2ea";
}
.jmeeo-form .json-editor-btn-delete::before{
  content: "\f5de";
}
.jmeeo-form .json-editor-btn-moveup::before{
  content: "\f148";
}
.jmeeo-form .json-editor-btn-movedown::before{
  content: "\f128";
}

.jmeeo-form.no-card .table {
  margin-bottom: 0.25rem;
}
.jmeeo-form.no-card .table>:not(caption)>*>* {
  padding-left: 0;
}
.jmeeo-form.no-card .card {
  border-color: transparent;
  display: block;
}

.jmeeo-form.no-card .card-body {
  padding: 0;
}

.jmeeo-form.no-card .btn-group button{
  border-radius: 0.25rem !important;
  margin-right: 0.25rem !important;
}

/* invalid fiels add asterisk  */
.jmeeo-form a.invalid::after,
.jmeeo-form label.invalid::after {
  content: " *";
  color: var(--portal-accent-hover-color);
}
