/* SWAL STYLES: CAN BE OPTIMIZED*/

div div.swal2-icon {
  transform: scale(1.15);
  background-size: cover;
  background-position: center;
  border: none;
}

.swal2-icon.swal2-warning {
  background-image: url('/wp-content/themes/Divi-child/inc/resources/wtk-warning-icon.svg');
  background-blend-mode: luminosity;
  background-color: var(--primary-color-light);
}

.swal2-icon.swal2-info {
  background-image: url('/wp-content/themes/Divi-child/inc/resources/wtk-warning-icon.svg');
  background-blend-mode: luminosity;
  background-color: var(--primary-color-light);
  transform: rotate(180deg);
}

.swal2-icon.swal2-error {
  background-image: url('/wp-content/themes/Divi-child/inc/resources/wtk-error-icon.svg');
  background-blend-mode: luminosity;
  background-color: var(--primary-color-light);
}

.swal2-icon.swal2-question {
  background-image: url('/wp-content/themes/Divi-child/inc/resources/wtk-question-icon.svg');
  background-blend-mode: luminosity;
  background-color: var(--primary-color-light);
}

.swal2-icon.swal2-success {
  background-image: url('/wp-content/themes/Divi-child/inc/resources/wtk-success-icon.svg');
  background-blend-mode: luminosity;
  background-color: var(--primary-color-light);
}

/* WARNING */
div.swal2-icon.swal2-icon-show div.swal2-icon-content {
  display: none;
}

/* ERROR */
div.swal2-icon.swal2-error.swal2-icon-show div.swal2-x-mark {
  display: none;
}

/* SUCCESS */
div.swal2-icon.swal2-success.swal2-icon-show div.swal2-success-circular-line-left {
  display: none;
}

div.swal2-icon.swal2-success.swal2-icon-show span.swal2-success-line-tip {
  display: none;
}

div.swal2-icon.swal2-success.swal2-icon-show span.swal2-success-line-long {
  display: none;
}

div.swal2-icon.swal2-success.swal2-icon-show div.swal2-success-ring {
  display: none;
}

div.swal2-icon.swal2-success.swal2-icon-show div.swal2-success-fix {
  display: none;
}

div.swal2-icon.swal2-success.swal2-icon-show div.swal2-success-circular-line-right {
  display: none;
}

div.swal2-popup.swal2-modal{
  place-items: normal;
}

.swal2-html-container {
  line-height: 24px !important;
  text-align: justify !important;
}

.swal2-popup.swal2-modal,
.swal2-container img.swal2-image {
  border-radius: 20px;
}

.swal2-title {
  font-size: 1.5em !important;
  font-weight: 500 !important;
}

.swal2-actions button.swal2-styled {
  min-width: 57px !important;
  text-transform: initial !important;
}

.swal2-container .swal2-actions button {
  color: #fff;
  padding: 15px;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/* PARA LAS SWAL DEL CARGANDO */
.swal2-html-container.custom-swal2-html-container {
  margin-top: 0.3em;
}

/* TEXTO RESALTADO EN SWAL */
div#swal2-html-container b {
  color: var(--primary-color);
  font-size: 0.9em;
}

/* TEXTOS CENTRADOS EN SWAL */
.swal2-modal .swal2-html-container div.swal-custom-text-container {
  text-align: center !important;
}

/* PARA QUE SALGAN LOS TIPPYS EN LAS MODALES */
.swal2-container.swal2-backdrop-show {
  z-index: 9998 !important;
}

/*? ESTE O EL DE ARRIBA?? */
.swal2-container {
  z-index: 999999 !important;
}

.swal2-container input:not([type=checkbox]) {
  width: 100%;
  height: 50px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  text-align: center;
  font-size: 16px;
}

.swal2-container input[data-intl-tel-input-id] {
  padding: 10px;
}