.mainWrap {
  background: #ffffff;
  padding: 32px 64px;
  border-radius: 8px;
  margin: 64px auto;
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}
.mainWrap .page-title-wrapper .page-title {
  color: #000000;
}
.form-composite > legend,
.label,
label {
  font-weight: bold;
}
fieldset legend {
  float: left;
  width: 30%;
}
fieldset.form-fieldset legend {
  float: none;
  width: 100%;
}
.form-type-email,
.form-type-number,
.form-type-password,
.form-type-select,
.form-type-textfield,
.form-type-managed-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.form-type-email label,
.form-type-number label,
.form-type-password label,
.form-type-select label,
.form-type-textfield label,
.form-type-managed-file label {
  margin: 0;
}
.form-type-email .form-control,
.form-type-number .form-control,
.form-type-password .form-control,
.form-type-select .form-control,
.form-type-textfield .form-control,
.form-type-managed-file .form-control,
.form-type-email .form-managed-file,
.form-type-number .form-managed-file,
.form-type-password .form-managed-file,
.form-type-select .form-managed-file,
.form-type-textfield .form-managed-file,
.form-type-managed-file .form-managed-file,
.form-type-email .select2,
.form-type-number .select2,
.form-type-password .select2,
.form-type-select .select2,
.form-type-textfield .select2,
.form-type-managed-file .select2 {
  margin: 0;
}
.form-type-email .form-managed-file .form-control,
.form-type-number .form-managed-file .form-control,
.form-type-password .form-managed-file .form-control,
.form-type-select .form-managed-file .form-control,
.form-type-textfield .form-managed-file .form-control,
.form-type-managed-file .form-managed-file .form-control {
  width: 100%!important;
}
.form-control,
.form-textarea {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
  border: 0;
  padding: 8px;
  background: #f6f6f7;
}
.form-control:focus,
.form-textarea:focus {
  outline: none;
}
.form-textarea {
  padding: 16px;
}
.form-actions {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.form-item .form-radios {
  display: inline-flex;
}
.form-item .form-radios .form-type-radio {
  margin-right: 1rem;
}
.form-item .form-radios .form-type-radio:first-child {
  margin-left: 0;
}
.form-item .form-radios .form-type-radio:last-child {
  margin-right: 0;
}
.form-type-managed-file .image-preview {
  margin: 0 0 0.5rem;
}
.form-type-managed-file .image-preview img {
  margin: auto;
  display: block;
  border: 1px solid #f6f6f7;
  padding: 1px;
}
.form-type-managed-file .description br {
  display: none;
}
.description {
  font-size: 0.75rem !important;
  margin-top: 0.25rem;
  font-style: italic;
}
.description a {
  text-decoration: underline;
}
.form-radios {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.form-radios .form-type-radio {
  margin-right: 1.5rem;
  margin-bottom: 0;
  white-space: nowrap;
}
input[type="radio"].form-radio {
  display: none;
}
input[type="radio"].form-radio + label {
  position: relative;
  padding-left: 1.6rem;
  display: flex;
  align-items: center;
  line-height: 1.25;
}
input[type="radio"].form-radio + label::before,
input[type="radio"].form-radio + label::after {
  display: block;
  position: absolute;
  box-sizing: border-box;
  content: '';
  border-radius: 1rem;
}
input[type="radio"].form-radio + label::before {
  bottom: 0;
  left: 0;
  border: 1px solid #cccccc;
  background-color: #cccccc;
  width: 1.25rem;
  height: 1.25rem;
}
input[type="radio"].form-radio + label::after {
  bottom: 2px;
  left: 2px;
  width: calc(1.25rem - 4px);
  height: calc(1.25rem - 4px);
}
input[type="radio"].form-radio:checked + label::before {
  border-color: #8bbe28;
}
input[type="radio"].form-radio:checked + label::after {
  background-color: #8bbe28;
}
.form-checkboxes {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.form-checkboxes .form-type-checkbox {
  margin-right: 0.5rem;
  margin-bottom: 0;
  white-space: nowrap;
}
.form-item input[type="checkbox"].form-checkbox {
  display: none;
}
.form-item input[type="checkbox"].form-checkbox + label {
  display: flex;
  align-items: center;
}
.form-item input[type="checkbox"].form-checkbox + label::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  padding: 0 0.6rem;
  margin-right: 0.3rem;
  background-color: #cccccc;
  mask: url("/themes/gate/front/plan_front/images/icons/source/square-regular.svg") no-repeat center / contain;
  -webkit-mask: url("/themes/gate/front/plan_front/images/icons/source/square-regular.svg") no-repeat center / contain;
}
.form-item input[type="checkbox"].form-checkbox:checked + label::before {
  background-color: #008eab;
  mask: url("/themes/gate/front/plan_front/images/icons/source/square-check-regular.svg") no-repeat center / contain;
  -webkit-mask: url("/themes/gate/front/plan_front/images/icons/source/square-check-regular.svg") no-repeat center / contain;
}
.form-item.form-no-label input[type="checkbox"].form-checkbox {
  display: inherit;
  margin: auto;
}
.theme-toggle-wrap {
  display: flex;
  align-items: center;
  margin: 0.5rem;
}
.theme-toggle-wrap:last-child {
  margin-right: 0;
}
.theme-toggle-wrap .new-label {
  margin-left: 0.5rem;
}
.btn-toggle {
  display: none;
}
.btn-toggle + label {
  box-sizing: border-box;
  display: inline-block;
  width: 48px;
  height: 20px;
  border-radius: 20px;
  margin-bottom: 0;
  padding: 2px;
  background-color: #008eab;
  transition: all 0.5s;
  cursor: pointer;
}
.btn-toggle + label::before {
  box-sizing: border-box;
  display: block;
  content: "";
  height: calc(20px - 4px);
  width: calc(20px - 4px);
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.5s;
}
.btn-toggle:checked + label {
  background-color: #8bbe28;
}
.btn-toggle:checked + label::before {
  margin-left: 28px ;
}
.simplebar-scrollbar.simplebar-visible:before {
  opacity: 1;
  cursor: pointer;
}
.views-exposed-form .form--inline {
  display: flex;
}
.views-exposed-form .form--inline .form-item,
.views-exposed-form .form--inline .form-actions {
  margin-top: 8px;
  margin-bottom: 8px;
}
.views-exposed-form .form--inline .form-item .form-select,
.views-exposed-form .form--inline .form-actions .form-select {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
  border: 0;
  font-family: sans-serif;
  color: #000000;
  font-size: 1em;
  cursor: pointer;
}
.views-exposed-form .form--inline .form-item .form-select option,
.views-exposed-form .form--inline .form-actions .form-select option {
  color: #000000;
  background: #fff;
}
.views-exposed-form .form--inline .form-item .form-select option:hover,
.views-exposed-form .form--inline .form-actions .form-select option:hover,
.views-exposed-form .form--inline .form-item .form-select option:focus,
.views-exposed-form .form--inline .form-actions .form-select option:focus {
  background: #f6f6f7;
}
.views-exposed-form .form--inline .form-item .form-select option:checked,
.views-exposed-form .form--inline .form-actions .form-select option:checked {
  background: #008eab;
  color: #fff;
}
option .views-exposed-form .form--inline .form-item .form-select:focus,
option .views-exposed-form .form--inline .form-actions .form-select:focus {
  outline: none;
}
.views-exposed-form .form--inline .button.js-form-submit {
  padding: 8px 16px;
  border-radius: 32px;
  font-size: 0.75rem;
}
.ui-widget-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
}
.ui-dialog {
  max-width: 100%;
  box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  border: 0!important;
}
.ui-dialog.ui-dialog-sm {
  width: 500px!important;
}
.ui-dialog.ui-dialog-md {
  width: 800px!important;
}
.ui-dialog.ui-dialog-lg {
  width: 1200px!important;
}
.ui-dialog.ui-dialog-xl {
  width: 96%!important;
}
.ui-dialog .ui-dialog-titlebar-close {
  width: 36px;
  height: 36px;
  top: 22px;
  right: 12px;
}
.ui-dialog .ui-dialog-titlebar-close:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  mask: url("/themes/gate/front/plan_front/images/icons/closed.svg") no-repeat center / contain;
  -webkit-mask: url("/themes/gate/front/plan_front/images/icons/closed.svg") no-repeat center / contain;
}
.ui-dialog .ui-dialog-titlebar-close:hover:before {
  background: #000000;
}
.ui-dialog .ui-dialog-titlebar {
  border-radius: 4px 4px 0 0;
  background: none;
  color: #008eab;
  padding: 16px;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-title {
  float: none;
  font-size: 1.2rem;
  white-space: normal;
}
.ui-dialog .ui-dialog-content {
  padding: 32px !important;
  border-radius: 0 0 4px 4px;
}
.ui-dialog .ui-dialog-content .actions-wrapper {
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
}
.ui-dialog .ui-dialog-content .actions-wrapper .btn,
.ui-dialog .ui-dialog-content .actions-wrapper .button {
  margin: 0;
}
.ui-dialog .ui-dialog-content .actions-wrapper > .row {
  justify-content: space-between;
}
.ui-dialog .ui-dialog-content .actions-wrapper > .row .button {
  text-transform: none;
  min-width: inherit;
  width: max-content;
  border-radius: 0.2rem;
}
.ui-dialog .ui-dialog-content .actions-wrapper > .row .button:hover {
  background: #7C7D80;
}
.ui-dialog .ui-dialog-content details[data-drupal-selector="edit-relations"] {
  display: none;
}
.ui-dialog .ui-dialog-buttonpane {
  background: none;
  border: 0;
  padding: 16px 32px 32px;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  float: none;
  flex-direction: row;
  column-gap: 16px;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button {
  margin: 0;
}
input[data-drupal-selector="edit-delete"] {
  background: red;
}
@media all and (max-width: 767px) {
  .form-item.form-type-textfield {
    flex-direction: column;
  }
}
