.form-composite > legend,
.label,
label {
  font-weight: bold;
}
fieldset legend {
  text-align: left;
}
fieldset.form-fieldset legend {
  float: none;
  width: 100%;
}
.form-item {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.form-type-email,
.form-date,
.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-date 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-date .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-date .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-date .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-date .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-item .form-radios {
  display: inline-flex;
}
.form-item .form-radios .form-type-radio {
  margin: 0 0.5rem;
}
.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;
  cursor: pointer;
}
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: 20px;
  height: 20px;
}
input[type="radio"].form-radio + label::after {
  bottom: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
}
input[type="radio"].form-radio:checked + label::before {
  border-color: #fcd502;
}
input[type="radio"].form-radio:checked + label::after {
  background-color: #fcd502;
}
.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;
  font-size: 1rem;
}
.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;
  cursor: pointer;
  mask: url("/themes/gate/front/game_front/images/icons/source/square-regular.svg") no-repeat center / contain;
  -webkit-mask: url("/themes/gate/front/game_front/images/icons/source/square-regular.svg") no-repeat center / contain;
}
.form-item input[type="checkbox"].form-checkbox:checked + label::before {
  background-color: #e42618;
  mask: url("/themes/gate/front/game_front/images/icons/source/square-check-regular.svg") no-repeat center / contain;
  -webkit-mask: url("/themes/gate/front/game_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;
}
.startengo-type-game-registration-identifier-form {
  max-width: 320px;
  margin: auto;
}
.startengo-type-game-registration-identifier-form .form-submit {
  margin-top: 1rem;
}
.ui-dialog {
  box-shadow: 0 3px 32px 20px rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
  border: 0!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: #ffffff;
  mask: url("/themes/gate/front/game_front/images/icons/source/times-solid.svg") no-repeat center / contain;
  -webkit-mask: url("/themes/gate/front/game_front/images/icons/source/times-solid.svg") no-repeat center / contain;
}
.ui-dialog .ui-dialog-titlebar-close:hover:before {
  background: #000000;
}
.ui-dialog .ui-dialog-titlebar {
  border-radius: 1rem 1rem 0 0;
  background: #e42618;
  color: #ffffff;
  padding: 1rem 2rem;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-title {
  float: none;
  font-size: 1.2rem;
  white-space: normal;
}
.ui-dialog .ui-dialog-content {
  padding: 1rem 2rem 0;
  border-radius: 0 0 1rem 1rem;
}
.ui-dialog .ui-dialog-content .actions-wrapper {
  margin: 2rem -2rem 0;
  padding: 1rem;
  border-top: 1px solid #dddddd;
}
.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;
}
input[data-drupal-selector="edit-delete"] {
  background: red;
}
.select2-container--default .select2-selection--single {
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  height: auto;
  text-align: left;
}
.startengo-type-game-registration-validation-form .scroll-valid-rules {
  margin-bottom: 1rem;
  height: 200px;
  min-width: 500px;
  overflow: hidden;
}
.startengo-type-game-registration-validation-form .scroll-valid-rules div[data-simplebar] {
  height: 200px;
}
@media all and (max-width: 767px) {
  .form-item.form-type-textfield {
    flex-direction: column;
  }
}
