/* css/form.css */
.form-group {
  margin-bottom: 0;
}

[data-form-field] {
  display: flex;
  flex-direction: column;
  margin: 0;
}

[_type="flCustomButton"] {
  justify-content: flex-end;
}

[data-form-field] .col-xs-12 {
  padding: 0;
}

[data-form-field] .col-xs-12.grow-2 {
  flex-grow: 2;
}

.checkbox:last-child {
  margin-bottom: 0;
}

.w-full {
  width: 100%;
  grid-column-end: span 4;
}

.w-1_4 {
  grid-column-end: span 1;
}

.w-1_4.own {
  width: calc(25% - 9px);
  grid-column-end: span 4;
}

.w-1_2 {
  grid-column-end: span 2;
}

.w-1_2.own {
  width: calc(50% - 6px);
  grid-column-end: span 4;
}

.w-3_4 {
  grid-column-end: span 3;
}

.w-3_4.own {
  width: calc(75% - 3px);
  grid-column-end: span 4;
}

.fl-form {
  position: relative;
}

.fl-form .form-html {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.fl-form.placeholder .form-html {
  display: block;
}

.fl-form.form-offline button[type="submit"] {
  pointer-events: none;
  opacity: 0.65;
}

.fl-form.form-offline .cover-form {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 15px;
  pointer-events: all;
  background: rgba(255, 255, 255, 0.85);
}

.fl-form.loading-form .form-html {
  pointer-events: none;
  opacity: 0.2;
}

form.placeholder {
  opacity: 0.5;
  cursor: pointer;
  -webkit-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-modify: read-only !important;
}

form.placeholder .form-group,
form.placeholder button {
  pointer-events: none;
}

.fl-form .label-holder {
  display: block;
  text-align: right;
}

.fl-form .label {
  display: inline-block;
  border: 1px solid #337ab7;
  background-color: rgba(0, 171, 209, 0.55);
  margin: 10px 0;
}

.required-info,
.required-info-label {
  color: #337ab7;
}

.required-info-label {
  margin-bottom: 15px;
}

.fl-form .form-error {
  margin-top: 20px;
}

.fl-form .form-submitting {
  padding: 15px;
  position: absolute;
  width: 80%;
  text-align: center;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  opacity: 0;
  pointer-events: none;
}

@-webkit-keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.fl-form.submitting .form-submitting {
  opacity: 1;
  pointer-events: all;
  -webkit-animation: pulse 3s infinite;
  animation: pulse 3s infinite;
}

.fl-form.submitting .form-html {
  opacity: 0.3;
  pointer-events: none;
}

.help-block.description {
  font-size: 85%;
}

/* Buttons */

.btn-primary {
  display: flex !important;
  clear: both;
  width: 100%;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 24px;
  border: none;
  text-align: center;
  cursor: pointer;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
}

.btn-secondary {
  display: block;
  clear: both;
  width: 100%;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 24px;
  border: none;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  background-color: #c0c0c0;
  white-space: initial;
}

.btn-primary:focus,
.btn-primary:hover,
.btn-secondary:focus,
.btn-secondary:hover,
.btn:active:focus {
  outline: none;
}

.btn-danger {
  display: block;
  clear: both;
  width: 100%;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.33;
  border: none;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
}

.btn-danger:active,
.btn-danger:active:focus,
.btn-danger:active:hover,
.btn-danger:focus,
.btn-danger:hover {
  color: #fff;
  background-color: #c9302c;
  border-color: #c9302c;
  outline: none;
}

@media (min-width: 640px) {
  .btn-primary,
  .btn-secondary {
    clear: none;
    display: inline-block;
    width: auto;
    max-width: 100%;
  }
}

.btn-link,
a {
  text-decoration: underline;
  padding: 0;
}

/* FORM STYLES */

.form-group .control-label label {
  margin-bottom: 0;
  padding-top: 5px;
}

.form-control {
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: none;
  -webkit-appearance: none;
  box-shadow: none;
  min-height: 44px;
  height: auto;
}

.form-control.has-error {
  border: 1px solid #a94442;
}

.form-control:focus {
  border: 1px solid #337ab7;
  -webkit-box-shadow: none;
  box-shadow: none;
}

textarea.form-control {
  line-height: 20px;
  padding: 15px;
  max-width: 100%;
}

.form-group .input-group {
  padding: 0px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.input-group-addon {
  position: absolute;
  width: 44px;
  height: 42px;
  top: 1px;
  left: 1px;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 42px;
  color: #555;
  text-align: center;
  background-color: transparent;
  border: none;
  z-index: 4;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.input-group-addon:first-child {
  border-right: 1px solid #ccc;
}

.form-group .input-group .form-control {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  padding-left: 57px;
}

.text-helper {
  margin-top: 0.2em;
  font-size: 0.8em;
  display: block;
}

.form-group p {
  margin: 0;
}

.form-control[disabled],
.form-control[readonly] {
  background-color: #efefef;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.form-control[readonly] {
  background-color: #f8f8f8;
}

.form-html .btn {
  margin-bottom: 15px;
}

.form-html .btn:last-child {
  margin-bottom: 0;
}

/* CHECKBOXES */

.checkbox.checkbox-icon:first-of-type {
  margin-top: 0px;
}

.checkbox.checkbox-icon input[type="checkbox"] {
  z-index: -1;
  position: absolute;
  margin: 0;
  width: 28px;
  height: 28px;
  opacity: 0;
  background: black;
  display: block;
}

.checkbox.checkbox-icon input[type="checkbox"] + label {
  padding-left: 38px;
  line-height: 28px;
  font-weight: normal;
  position: relative;
  cursor: pointer;
}

html[dir="rtl"] .checkbox.checkbox-icon input[type="checkbox"] + label {
  padding-left: 0;
  padding-right: 38px;
}

.checkbox.checkbox-icon input[type="checkbox"] + label > span.check {
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid #e4e9eb;
  padding-left: 0;
  margin-bottom: 0;
  text-align: center;
  border-radius: 4px;
  background-color: transparent;
  -webkit-transition: background-color 0.15s ease;
  transition: background-color 0.15s ease;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

html[dir="rtl"] .checkbox.checkbox-icon input[type="checkbox"] + label > span.check {
  left: auto;
  right: 0;
}

.checkbox.checkbox-icon input[type="checkbox"]:checked + label > span.check {
  background-color: #337ab7;
}

.checkbox.checkbox-icon input[type="checkbox"] + label > span.check > i.fa {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
  color: #337ab7;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.checkbox.checkbox-icon input[type="checkbox"]:checked + label span.check > i.fa {
  color: #fff;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.checkbox.checkbox-icon.readonly input[type="checkbox"] + label,
.checkbox.checkbox-icon.readonly input[type="checkbox"] + label > span.check {
  pointer-events: none;
}

.checkbox.checkbox-icon.readonly input[type="checkbox"] + label > span.check {
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}

.checkbox.checkbox-icon.readonly input[type="checkbox"]:checked + label > span.check {
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  background-color: #e1e1e1;
}

/* RADIOS */

.radio.radio-icon:first-of-type {
  margin-top: 0px;
}

.radio.radio-icon input[type="radio"] {
  z-index: -1;
  position: absolute;
  margin: 0;
  width: 28px;
  height: 28px;
  opacity: 0;
  background: none;
  display: block;
}

.radio.radio-icon input[type="radio"] + label {
  padding-left: 38px;
  line-height: 28px;
  font-weight: normal;
  position: relative;
  cursor: pointer;
}

html[dir="rtl"] .radio.radio-icon input[type="radio"] + label {
  padding-left: 0;
  padding-right: 38px;
}

.radio.radio-icon input[type="radio"] + label > span.check {
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid #e4e9eb;
  padding-left: 0;
  margin-bottom: 0;
  text-align: center;
  border-radius: 50%;
  background-color: transparent;
  -webkit-transition: background-color 0.15s ease;
  transition: background-color 0.15s ease;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

html[dir="rtl"] .radio.radio-icon input[type="radio"] + label > span.check {
  right: 0;
  left: auto;
}

.radio.radio-icon input[type="radio"]:checked + label > span.check {
  background-color: #337ab7;
}

.radio.radio-icon.readonly input[type="radio"]:checked + label > span.check {
  background-color: #e1e1e1;
}

.radio.radio-icon.readonly input[type="radio"] + label > span.check {
  border: 1px solid #e1e1e1;
}

.radio.radio-icon input[type="radio"] + label > span.check > i.fa {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.radio.radio-icon input[type="radio"] + label span.check > i.fa:before {
  content: "";
  display: block;
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 5px;
}

.radio.radio-icon input[type="radio"]:checked + label span.check > i.fa {
  -webkit-transform: scale(1);
  transform: scale(1);
}

/* SELECT */

.select-proxy-display {
  width: 100%;
  height: 44px;
  margin: 0 auto;
  padding: 0 44px 0 0;
  background: #fff;
  border: 1px solid #e4e9eb;
  border-radius: 6px;
  cursor: pointer;
  outline: 0;
  font-weight: 400;
  line-height: 44px;
  position: relative;
  color: #333;
  margin-bottom: -7px;
}

.select-proxy-display.readonly,
.fileUpload-disabled {
  pointer-events: none;
}

.select-proxy-display > .hidden-select {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  right: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 1;
}

.select-proxy-display > .select-value-proxy {
  position: absolute;
  left: 0;
  top: 0;
  right: 42px;
  bottom: 0;
  padding-left: 15px;
  padding-right: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.select-proxy-display > .icon {
  position: absolute;
  width: 44px;
  top: -1px;
  right: -1px;
  bottom: -1px;
  background-color: #337ab7;
  text-align: center;
  line-height: 44px;
  font-size: 18px;
  color: #fff;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-left: 1px solid #e4e9eb;
  z-index: 2;
  pointer-events: none;
}

.select-proxy-display > .hidden-select[disabled] ~ .icon {
  background-color: #aaa;
}

.select-proxy-display > .hidden-select[disabled] ~ .select-value-proxy {
  background: #e4e9eb;
  pointer-events: none;
}

/* FILE */

.fileUpload {
  position: relative;
  overflow: hidden;
}

.fileUpload.form-group {
  padding: 0;
}

.fileUpload-disabled label {
  background-color: #e1e1e1;
  border-radius: 31px !important;
  width: 100%;
}

.fileUpload-disabled label span {
  color: #fff;
}

.fileUpload-padding-top {
  padding-top: 10px;
}

.fileUpload .canvas-holder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.fileUpload.file-input .canvas-holder {
  min-height: calc(100% - 30px);
  margin-bottom: 10px;
}

.fileUpload .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.fileUpload .row > div {
  padding: 0 15px;
  margin: 0 -1px;
  margin-bottom: 15px;
  width: 33.333%;
}

.fileUpload .canvas-holder .badge {
  position: absolute;
  top: 50%;
  margin-top: -9px;
  right: -10px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.7);
}

.fileUpload .canvas-remove {
  position: absolute;
  padding: 0;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #ffa7a7;
  border: none;
  box-shadow: none;
  outline: none;
}

.fileUpload .canvas-remove:after,
.fileUpload .canvas-remove:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 1;
}

.fileUpload .canvas-remove:before {
  transform: translate(-50%, -50%) rotate(135deg);
}

.fileUpload .canvas-holder canvas {
  width: 100%;
  height: 70px;
}

.fileUpload .btn {
  position: relative;
}

.fileUpload .fa:not(.fa-file) {
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 15px;
  top: 50%;
  color: #fff;
}

.fileUpload input[type="file"] {
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.fileUpload .file-icon {
  font-size: 40px;
}

.fileUpload .file-name {
  display: block;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-thumbnail-helper {
  position: absolute;
  height: 34px;
  width: 30px;
  right: 6px;
  top: 50%;
  margin-top: -17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-thumbnail-helper img {
  max-width: 100%;
  max-height: 100%;
}

.file-name-helper {
  margin-top: -10px;
  font-size: 12px;
}

.file-holder {
  padding: 0;
  list-style-type: none;
}

.file-holder li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.2);
  cursor: pointer;
}

.file-holder .file-info {
  font-size: 75%;
}

.file-holder .file-title {
  padding-top: 5px;
  font-weight: bold;
  color: #666;
}

.file-holder .file-icon {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  font-size: 34px;
  min-width: 30px;
  color: #666;
}

.file-holder.editable {
  padding: 0;
  list-style-type: none;
  width: 100%;
  padding-right: 10px;
}

.file-holder.editable .file-title {
  word-break: break-all;
}

.file-holder.editable .file-content {
  max-width: calc(100% - 30px);
}

.file-holder.editable .file-icon {
  width: 30px;
  height: 30px;
}

.file-holder.editable .file-icon .fa {
  color: #e03629;
  opacity: 0.3;
  font-size: 34px;
  right: 0;
}

.file-holder.editable .no-pointer-events {
  pointer-events: none;
}

.image-gallery {
  cursor: pointer;
}

@media screen and (min-width: 640px) {
  .file-name-helper {
    margin-top: 0;
    display: inline-block;
  }

  .fileUpload .canvas-holder {
    min-height: 130px;
  }

  .fileUpload .row > div {
    width: 25%;
  }
}

/* STAR RATING */
[_type="flStarRating"] .inverse-direction {
  overflow: hidden;
  display: block;
  text-align: left;
  direction: rtl;
}

[_type="flStarRating"] .rating-input {
  display: inline-block;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0 0 0 -30px;
  opacity: 0;
}

[_type="flStarRating"] .rating-input.readonly,
[_type="flStarRating"] .rating-star.readonly,
[_type="flStarRating"] .rating-star.readonly .fa {
  pointer-events: none;
}

[_type="flStarRating"] .rating-star.readonly .fa,
[data-field="flStarRating"] .rating-star.readonly {
  color: #e5e5e5;
}

[_type="flStarRating"] .rating-star {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  padding: 0;
  cursor: pointer;
  margin-bottom: 0;
}

[_type="flStarRating"] .rating-star .fa {
  font-size: 30px;
  color: #337ab7;
}

[_type="flStarRating"] .rating-star .fa.fa-star-o {
  display: block;
}

[_type="flStarRating"] .rating-star .fa.fa-star {
  display: none;
}

[_type="flStarRating"] .rating-input:checked ~ .rating-star .fa.fa-star-o {
  display: none;
}

[_type="flStarRating"] .rating-input:checked ~ .rating-star .fa.fa-star {
  display: block;
}

[_type="flStarRating"] .rating-input ~ .readonly.rating-star .fa::before {
  content: "\f005";
  -webkit-text-stroke: 1px #e1e1e1;
}

[_type="flStarRating"] .rating-input ~ .readonly.rating-star .fa {
  color: #f8f8f8;
}

[_type="flStarRating"] .rating-input:checked ~ .readonly.rating-star .fa {
  color: #e1e1e1;
}

/* SIGNATURE FIELD */

.field-signature {
  position: relative;
}

.field-signature .btn-clear {
  position: absolute;
  top: 0;
  right: 10px;
  text-decoration: none;
  color: #aaa;
}

.field-signature canvas {
  border: 1px solid #ccc !important;
  border-top-width: 0 !important;
  border-left-width: 0 !important;
  border-right-width: 0 !important;
}

.has-success .field-signature canvas {
  border-color: #3c763d !important;
}

.has-warning .field-signature canvas {
  border-color: #8a6d3b !important;
}

.has-error .field-signature canvas {
  border-color: #a94442 !important;
}

.signature-preview {
  display: flex;
  flex-direction: column;
}

[data-widget-package="com.fliplet.form-builder"]
  [_type="flSignature"]
  .signature-editor.readonly
  .field-signature
  canvas {
  background-color: transparent;
  border-radius: 0%;
  border: none !important;
}

.signature-editor.readonly .field-signature {
  border-bottom: 1px solid #e5e5e5;
}

/* WYSIWYG FIELD */

.form-group .mce-tinymce {
  border: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-width: 1px !important;
}

.form-group .mce-tinymce > .mce-container-body.mce-stack-layout {
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.form-group .mce-top-part::before {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-bottom: 1px solid #ccc;
}

.form-group .mce-ico {
  color: #666;
}

.form-group.has-success .mce-tinymce {
  border-color: #3c763d;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.form-group.has-success .mce-top-part::before {
  border-color: #3c763d;
}

.form-group.has-success
  .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized)
  .tinymce-mobile-editor-socket {
  border-color: #3c763d;
}

.form-group.has-warning .mce-tinymce {
  border-color: #8a6d3b;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.form-group.has-warning .mce-top-part::before {
  border-color: #8a6d3b;
}

.form-group.has-warning
  .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized)
  .tinymce-mobile-editor-socket {
  border-color: #8a6d3b;
}

.form-group.has-error .mce-tinymce {
  border-color: #a94442;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.form-group.has-error
  .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized)
  .tinymce-mobile-editor-socket {
  border-color: #a94442;
}

.form-group.has-error .mce-top-part::before {
  border-color: #a94442;
}

.form-group div.mce-edit-area {
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
}

.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask {
  opacity: 0;
}

.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container,
.tinymce-mobile-outer-container
  .tinymce-mobile-disabled-mask
  .tinymce-mobile-content-container
  .tinymce-mobile-content-tap-section {
  width: 100%;
  height: 100%;
}

.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized)
  .tinymce-mobile-editor-socket {
  border: 1px solid #ccc;
  border-radius: 4px;
}

.tox .tox-toolbar__primary {
  justify-content: space-between;
}

.tox:not(.tox-tinymce-inline) .tox-editor-header {
  padding: 4px !important;
}

.tox .tox-toolbar__group {
  padding: 0px !important;
}

.tox.tox-tinymce {
  min-height: 130px !important;
}

@media screen and (max-width: 1280px) {
  .tox-toolbar__primary {
    justify-content: space-between;
  }
}

/* DATE AND TIME PICKER */

.form-group.fl-time-picker.readonly > .fa:first-child,
.form-group.fl-date-picker.readonly > .fa:first-child {
  color: #e1e1e1;
}

.fl-timer {
  display: flex;
  column-gap: 8px;
}

.form-group.fl-timer .btn {
  margin-bottom: 0;
}

.form-group.fl-date-range .form-group,
.form-group.fl-time-range .form-group {
  margin-bottom: 0;
}

/* SLIDER FIELD */

[data-widget-package="com.fliplet.form-builder"] .form-group.fl-range-slider .range-slider {
  background-color: #eeeeee;
}

[data-widget-package="com.fliplet.form-builder"] .form-group.fl-range-slider .range-slider-fill {
  background-color: #ed9119;
}

[data-widget-package="com.fliplet.form-builder"] .form-group.fl-range-slider .range-slider-handle,
[data-widget-package="com.fliplet.form-builder"]
  .form-group.fl-range-slider
  .range-slider-handle-value {
  background-color: #00abd1;
}

[data-widget-package="com.fliplet.form-builder"]
  .form-group.fl-range-slider
  .range-slider-handle-value:before {
  border-top-color: #00abd1;
}

[data-widget-package="com.fliplet.form-builder"]
  .form-group.fl-range-slider
  .range-slider-handle-value {
  color: #ffffff;
}

[data-widget-package="com.fliplet.form-builder"]
  .form-group.fl-range-slider
  .range-slider.range-slider-active
  .range-slider-handle {
  box-shadow: 0px 0px 0px 2px rgb(0 171 209 / 25%);
}

[data-widget-package="com.fliplet.form-builder"] .form-group.fl-range-slider > input {
  width: 100% !important;
}

.form-group.fl-date-picker > .form-control,
.form-group.fl-time-picker > .form-control {
  padding-right: 0 !important;
}
/* LINE BREAK */

form hr {
  border-top: 2px solid #dddddd;
}

/* @MEDIA */

@media screen and (min-width: 640px) {
  .btn-link,
  .btn-primary,
  .btn-secondary {
    clear: none;
    display: table-cell !important;
    width: auto;
    max-width: 100%;
  }

  .custom-btn.btn-link,
  .custom-btn.btn-primary,
  .custom-btn.btn-secondary {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .form-group.fileUpload .btn-primary {
    display: flex;
  }

  .form-html .btn + .btn {
    margin-right: 15px;
  }

  .fileUpload .canvas-holder canvas {
    width: 100%;
    height: 130px;
  }

  .fileUpload .fa:not(.fa-file) {
    display: inline-block;
    width: auto;
    right: 0px;
  }
}

.form-group .mce-btn-group {
  float: none;
}

/* TinyMCE source code area */

.mce-window[aria-label="Source code"] textarea {
  font-family: monospace;
}

.fade-enter-active {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.fade-leave-active {
  opacity: 1;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

.callout {
  padding: 10px;
  margin: 20px 0;
  border: 1px solid #f2f6f7;
  border-left-width: 5px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.callout-danger {
  border-color: #e03629;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Loading */
.loading-message {
  display: block;
  padding-top: 25%;
}

.sending-form {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.spinner-holder {
  overflow: hidden;
  display: none;
  text-align: center;
}

.spinner-holder.animated {
  display: block;
}

.spinner-overlay,
.spinner-overlay:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}

.spinner-overlay {
  margin: 2px auto;
  font-size: 2px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(138, 138, 138, 0.3);
  border-right: 1.1em solid rgba(138, 138, 138, 0.3);
  border-bottom: 1.1em solid rgba(138, 138, 138, 0.3);
  border-left: 1.1em solid #14505e;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: loadRotate 1.1s infinite linear;
  animation: loadRotate 1.1s infinite linear;
}

@-webkit-keyframes loadRotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loadRotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.row > div.multiple-images-item {
  width: calc(50% - 7.5px);
  margin-top: 15px;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(127, 127, 127, 0.5);
  cursor: pointer;
}

.row > div.multiple-images-item:nth-of-type(2n + 1) {
  margin-right: 15px;
}

.row > div.multiple-images-item .image-item {
  width: 100%;
  padding-top: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media screen and (min-width: 640px) {
  .row > div.multiple-images-item {
    width: calc(33.33% - 7.5px);
    margin-right: 15px;
  }

  .row > div.multiple-images-item:nth-of-type(3n) {
    margin-right: 0;
  }
}

.password-checker {
  margin-top: 10px;
  margin-bottom: 0;
}

.password-checker .panel-body {
  padding: 15px 15px 5px 15px;
}

.requirement {
  display: flex;
  align-items: flex-start;
  color: #333;
  margin-bottom: 8px;
}

.requirement .requirement-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  border: 1px solid rgba(51, 51, 51, 0.1);
  background-color: #f8f6f7;
  margin-bottom: 0;
  border-radius: 50%;
  margin-right: 8px;
}

.requirement .requirement-marker i.fa {
  color: #fff;
  font-size: 10px;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.requirement input:checked + .requirement-marker {
  background-color: #3c763d;
}

.requirement input:checked + .requirement-marker i.fa {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

/* Matrix Field */

.fl-matrix {
  position: relative;
  overflow: auto;
  width: 100%;
  max-height: 98vh;
  border: 1px solid #eee;
}

.fl-matrix table {
  border-collapse: collapse;
  border-collapse: separate;
  border-spacing: 0;
  position: relative;
  margin-bottom: 0px;
}

.fl-matrix table thead th {
  text-align: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100vw;
}

.fl-matrix table thead th:first-child {
  z-index: 2;
}

.fl-matrix table tbody th {
  text-align: left;
  z-index: 1;
}

.fl-matrix table tbody td {
  text-align: center;
}

.fl-matrix table th,
.fl-matrix table td {
  border: solid #eee;
  border-width: 0 1px 1px 0;
  padding: 8px;
  min-width: 150px;
  background: white;
  word-break: break-all;
  vertical-align: middle;
}

.fl-matrix table th {
  color: rgb(85, 85, 85);
  font-weight: normal;
  line-height: 20px;
}

.fl-matrix table th:last-child,
.fl-matrix table td:last-child {
  border-right-width: 0;
}

.fl-matrix .radio {
  margin-bottom: 0px;
}

@media screen and (min-width: 640px) {
  .fl-matrix table th,
  .fl-matrix table td {
    max-width: auto;
  }
}

.fl-matrix table tr > th:first-child,
.fl-matrix table tr > td:first-child {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
}

.fl-matrix table tbody tr:last-child th,
.fl-matrix table tbody tr:last-child td {
  border-bottom-width: 0;
}

/* Code scanner */
.scanner.btn.disabled {
  background-color: #e1e1e1;
}

/* Geolocation */

.geolocation.btn {
  column-gap: 10px;
  display: inline-block !important;
}

.scanner.btn {
  column-gap: 10px;
}

.geolocation.btn svg {
  width: 20px;
  height: 20px;
  line-height: 20px;
}

.geolocation.text-info {
  font-size: 12px;
  color: #474a74;
  font-weight: 400;
  line-height: 16px;
}

@media screen and (min-width: 640px) {
  .geolocation.btn.btn-primary,
  .scanner.btn.btn-primary {
    display: flex !important;
    align-items: center;
  }
}

@media screen and (max-width: 360px) {
  .form-group.w-1_2 .fl-date-range .fl-date-picker,
  .form-group.w-3_4 .fl-date-range .fl-date-picker,
  .form-group.w-1_2 .fl-time-range .fl-time-picker,
  .form-group.w-3_4 .fl-time-range .fl-time-picker {
    width: 100%;
  }
}

@media screen and (min-width: 360px) and (max-width: 431px) {
  .form-group.w-1_2 .fl-date-range .fl-date-picker,
  .form-group.w-1_2 .fl-time-range .fl-time-picker {
    width: 100%;
  }

  .form-group.w-1_4 .fl-time-picker > .form-control,
  .form-group.w-1_4 .fl-date-picker > .form-control {
    padding-left: 40px !important;
  }

  .form-group.w-1_4 .fl-time-picker > .fa,
  .form-group.w-1_4 .fl-date-picker > .fa {
    width: 34px;
  }
}

@media screen and (max-width: 1280px) {
  .form-group.w-1_4 .fl-date-range .fl-date-picker,
  .form-group.w-1_4 .fl-time-range .fl-time-picker {
    width: 100%;
  }
}

/* Custom button*/
.custom-btn {
  gap: 8px;
}

.custom-btn svg,
.custom-btn img {
  width: 23px;
}

/* Reorder list */
.list-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  touch-action: none;
}

.list-group-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.list-group-item:hover {
  cursor: grab;
}

.list-group-item::selection {
  cursor: grabbing;
}

.list-icons {
  display: flex;
  align-items: center;
  gap: 11px;
}

/* Address field*/

.form-group.address-typeahead.fl-typeahead {
  left: 14px !important;
}

.google-autocomplete {
  position: absolute;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-height: 300px;
  overflow-y: auto;
  width: 100%;
  padding-left: 0;
  z-index: 1000;
}

.google-autocomplete li {
  display: inline-block;
  width: 100%;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  line-height: 20px;
  border-bottom: 1px solid #dcdcdc;
  list-style: none;
  align-items: baseline;
  gap: 4px;
}
.google-autocomplete-map :first-child {
  padding-left: 3px;
  font-size: 14px;
}

.google-autocomplete-map :first-child svg {
  width: 28px;
  height: 18px;
}

.google-autocomplete li:hover,
.google-autocomplete li:focus {
  background-color: #f0f0f0;
}

.google-autocomplete li.active {
  background-color: #e0e0e0;
  font-weight: bold;
}

.timeStamp {
  font-size: 16px;
  text-align: center;
  color: #514f4f;
  padding: 10px 10px;
  background-color: #eaeaea;
}

.gmnoprint:not(:first-child) {
  display: none;
}

.gm-style-cc {
  display: none;
}

.maps {
  position: relative;
  margin-top: 10px;
}

.map-processing-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
