/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.oceanwp-sidr-overlay {
  z-index: 999 !important;
}

.tod-form-wrapper {
  --tod-form-color-primary: #2e2c7f;
  --tod-form-color-primary-alt: rgba(125, 37, 124, 0.1);
}

.tod-form-wrapper label {
  color: black;
}

.mandatory {
  color: var(--tod-form-color-primary);
}

.label-more-info {
  color: #a1a1a1;
  font-style: italic;
  margin-bottom: 10px;
}

.tod-form-btn {
  background-color: var(--tod-form-color-primary);
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0.12) 0px 1px 1px 0px,
    var(--tod-form-color-primary) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(60, 66, 87, 0.08) 0px 2px 5px 0px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  padding: 0.625rem 1.25rem;
}

.tod-form-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tod-field-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.tod-field-radio-wrapper {
  display: inline-block;
}

.tod-field-radio-wrapper.checkbox-with-text .tod-radio.tod-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tod-field-radio-wrapper.checkbox-with-text
  .tod-radio.tod-checkbox
  .input[type="text"] {
  color: #000;
}

.tod-field,
.tod-field-radio {
  margin: 14px 0;
  width: 100%;
  position: relative;
}

.tod-field-radio {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tod-field-row .tod-field {
  width: 48%;
}

.tod-field.mt-50 {
  margin-top: 50px;
}

.tod-field label,
.tod-field-label {
  margin-bottom: 6px;
  font-size: 16px;
  display: block;
}

.tod-field-label {
  font-size: 18px;
}

.tod-field-radio-wrapper.checkbox-with-text
  .tod-radio.tod-checkbox
  input[type="text"] {
  background: transparent !important;
  padding: 0 12px !important;
  min-height: 31px !important;
}

.tod-field-radio-wrapper.checkbox-with-text
  .tod-radio.tod-checkbox
  input[type="text"],
.tod-field > input[type="text"],
.tod-field > input[type="email"],
.tod-field > input[type="number"],
.tod-field > input[type="tel"],
.tod-field > textarea {
  color: black;
  font-size: 16px;
  line-height: 28px;
  padding: 8px 16px;
  width: 100%;
  min-height: 44px;
  border: unset;
  border-radius: 4px;
  outline-color: var(--tod-form-color-primary);
  accent-color: var(--tod-form-color-primary);
  background-color: rgb(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(60, 66, 87, 0.16) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0) 0px 0px 0px 0px;
}

.tod-field > input[type="number"],
.tod-field > input[type="tel"] {
  -webkit-appearance: none;
}

.tod-field > input[type="number"] {
  min-width: 100%;
}

.tod-field > input[type="submit"] {
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0.12) 0px 1px 1px 0px,
    var(--tod-form-color-primary) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(60, 66, 87, 0.08) 0px 2px 5px 0px;
  font-weight: 600;
  cursor: pointer;
  text-transform: none;
  transition: all 0.2s ease-in-out;
  color: var(--tod-form-color-primary);
  border-radius: 4px;
  font-size: 1.4rem;
}

.tod-field > input[type="submit"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.tod-field > input[type="submit"]:hover {
  background-color: var(--tod-form-color-primary);
  color: #fff;
}

.tod-field-radio-wrapper.checkbox-with-text
  .tod-radio.tod-checkbox
  input[type="text"]:focus-visible,
.tod-field-radio-wrapper.checkbox-with-text
  .tod-radio.tod-checkbox
  input[type="text"]:focus-within,
.tod-field-radio-wrapper.checkbox-with-text
  .tod-radio.tod-checkbox
  input[type="text"]:focus,
.tod-field > input[type="text"]:focus-visible,
.tod-field > input[type="text"]:focus-within,
.tod-field > input[type="text"]:focus,
.tod-field > input[type="tel"]:focus-visible,
.tod-field > input[type="tel"]:focus-within,
.tod-field > input[type="tel"]:focus,
.tod-field > input[type="email"]:focus-visible,
.tod-field > input[type="email"]:focus-within,
.tod-field > input[type="email"]:focus,
.tod-field > input[type="number"]:focus-visible,
.tod-field > input[type="number"]:focus-within,
.tod-field > input[type="number"]:focus,
input[type="email"].email-format-error,
.tod-field > textarea:focus-visible,
.tod-field > textarea:focus-within,
.tod-field > textarea:focus {
  outline: 1px auto var(--tod-form-color-primary);
}

input[type="email"].email-format-error {
  color: #e21818;
}

.tod-field-radio .tod-radio {
  padding: 6px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
  margin: 0px 0;
  -webkit-tap-highlight-color: transparent;
}

.tod-field-radio .tod-radio.tod-checkbox {
  border-radius: 4px;
}

.tod-field-radio .tod-radio:hover,
.tod-field-radio .tod-radio:focus-within {
  background: var(--tod-form-color-primary-alt);
}
.tod-field-radio .tod-radio input[type="checkbox"],
.tod-field-radio .tod-radio input[type="radio"] {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  min-height: unset;
  border-radius: 10px;
  background: none;
  border: 0;
  box-shadow: inset 0 0 0 2px var(--tod-form-color-primary);
  box-shadow: inset 0 0 0 2px var(--tod-form-color-primary);
  appearance: none;
  padding: 0;
  margin: 0;
  transition: box-shadow 150ms cubic-bezier(0.95, 0.15, 0.5, 1.25);
  pointer-events: none;
  flex-shrink: 0;
}

.tod-field-radio .tod-radio input[type="checkbox"] {
  border-radius: 4px;
}

.tod-field-radio .tod-radio input:focus {
  outline: none;
}
.tod-field-radio .tod-radio input:checked {
  box-shadow: inset 0 0 0 6px var(--tod-form-color-primary);
}

.tod-field-radio .tod-radio span {
  vertical-align: middle;
  display: inline-block;
  line-height: 1.3;
  padding: 0 8px;
  font-size: 15px;
}

.tod-field .tod-field-select {
  font-size: 16px;
  min-height: 44px;
  border: unset;
  border-radius: 4px;
  float: none;
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(60, 66, 87, 0.16) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0) 0px 0px 0px 0px;
  outline-color: var(--tod-form-color-primary);
}

.tod-field .tod-field-select:focus,
.tod-field .tod-field-select.open,
.tod-field .tod-field-select:active {
  outline: none;
}
.tod-field .tod-field-select.open li,
.tod-field .tod-field-select.open ul {
  margin: 0;
}

.tod-field-group-label {
  display: block;
  width: 100%;
  font-size: 24px;
  margin: 40px 0 20px 0;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.tod-field-group-label.no-bottom-margin {
  margin-bottom: 0;
}

.label-group-more-info {
  color: #a1a1a1;
  font-size: 16px;
  line-height: 150%;
  margin-top: 15px;
  margin-bottom: 10px;
}

#mercuriades-form-submit-wrap {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 650px) {
  .tod-field-group-label {
    margin: 20px 0;
  }
  .tod-field-row {
    flex-wrap: wrap;
    gap: 0;
  }

  .tod-field-row .tod-field {
    width: 100%;
  }

  .tod-field {
    margin: 10px 0;
  }
}

/* Start spinner */
.spinner {
  width: 40px;
  height: 40px;

  position: relative;
  margin: 20px auto;
}

.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #2e2c7f;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;

  -webkit-animation: sk-bounce 2s infinite ease-in-out;
  animation: sk-bounce 2s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

@-webkit-keyframes sk-bounce {
  0%,
  100% {
    -webkit-transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  50% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
/* End spinner */

#tod-form-spinner-container,
.tod-form-response-container {
  padding: 100px 10px;
  text-align: center;
}

#tod-form-spinner-container p,
.tod-form-response-container p {
  font-size: 18px;
  line-height: 200%;
}

.tod-form-response-icon {
  text-align: center;
  margin-bottom: 20px;
}

.tod-form-response-icon.success svg {
  font-size: 60px;
  fill: #4bb543;
}

.tod-form-response-icon.error svg {
  font-size: 60px;
  fill: var(--tod-form-color-primary);
}

.tod-form-field-error-msg {
  margin-top: 5px;
  font-size: 15px;
  color: #e21818;
}

/* NICE SELECT */
.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: #fff;
  border-radius: 5px;
  border: solid 1px #e8e8e8;
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  float: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  height: 42px;
  line-height: 40px;
  outline: none;
  padding-left: 18px;
  padding-right: 30px;
  position: relative;
  text-align: left !important;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
  width: auto;
}
.nice-select:hover {
  border-color: #dbdbdb;
}
.nice-select:active,
.nice-select.open,
.nice-select:focus {
  border-color: #999;
}
.nice-select:after {
  border-bottom: 2px solid #999;
  border-right: 2px solid #999;
  content: "";
  display: block;
  height: 5px;
  margin-top: -4px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  -webkit-transform-origin: 66% 66%;
  -ms-transform-origin: 66% 66%;
  transform-origin: 66% 66%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  width: 5px;
}
.nice-select.open:after {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
}
.nice-select.disabled {
  border-color: #ededed;
  color: #999;
  pointer-events: none;
}
.nice-select.disabled:after {
  border-color: #cccccc;
}
.nice-select.wide {
  width: 100%;
}
.nice-select.wide .list {
  left: 0 !important;
  right: 0 !important;
}
.nice-select.right {
  float: right;
}
.nice-select.right .list {
  left: auto;
  right: 0;
}
.nice-select.small {
  font-size: 12px;
  height: 36px;
  line-height: 34px;
}
.nice-select.small:after {
  height: 4px;
  width: 4px;
}
.nice-select.small .option {
  line-height: 34px;
  min-height: 34px;
}
.nice-select .list {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
  box-sizing: border-box;
  margin-top: 4px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(0.75) translateY(-21px);
  -ms-transform: scale(0.75) translateY(-21px);
  transform: scale(0.75) translateY(-21px);
  -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25),
    opacity 0.15s ease-out;
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 9;
}
.nice-select .list:hover .option:not(:hover) {
  background-color: transparent !important;
}
.nice-select .option {
  cursor: pointer;
  font-weight: 400;
  line-height: 40px;
  list-style: none;
  min-height: 40px;
  outline: none;
  padding-left: 18px;
  padding-right: 29px;
  text-align: left;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: #f6f6f6;
}
.nice-select .option.selected {
  font-weight: bold;
}
.nice-select .option.disabled {
  background-color: transparent;
  color: #999;
  cursor: default;
}

.no-csspointerevents .nice-select .list {
  display: none;
}

.no-csspointerevents .nice-select.open .list {
  display: block;
}

.neq-no-registre {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.5;
}

.neq-no-registre .mandatory {
  display: none;
}
