html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Calibri, sans-serif;
}

#div-page-not-found {
  width: 100%;
  height: 100%;
  margin: 0;
  background-image: url('assets/page-not-found.jpg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

input[type=text] {
  padding: 4px 2px;
  flex: 1;
  border-width: 2px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
  padding: 4px 2px;
  flex: 1;
  border-width: 2px;
}

input[type=email] {
  padding: 4px 2px;
  flex: 1;
  border-width: 2px;
}

input[type=radio] {
  margin: 0;
  margin-left: 0.5%;
  margin-right: 0.5%;
}

input[type="file"] {
  display: none;
  border-width: 2px;
}

textarea {
  flex: 1;
  border-width: 2px;
}

.font-bold {
  font-weight: bolder;
}

.font-larger {
  font-size: 1.1em;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.margin-top-2 {
  margin-top: 2% !important;
}

.justify-content-center {
  justify-content: center;
}

.color-red {
  color: #f00;
}

.button-principal {
  display: block;
  padding: 2vh;
  background: #000; /* #4e81bd; */
  color: #fff;
  border: 1px solid #000; /* #395e89; */
  border-radius: 10px;
  font-size: 3vh;
  font-weight: bolder;
  line-height: 3vh;
}

#div-body {
  position: relative;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#div-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
  height: 100%;
  margin-top: 1%;
  margin-bottom: 1%;
}

#div-formulario {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#div-header {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 15%;
}

#div-bonanza-club {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40%;
}

#img-bonanza-club {
  width: 85%;
}

#div-info {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
}

#div-info.span {
  position: relative;
  width: 100%;
}

.div-bloque {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 98%;
  margin-top: 2%;
}

.div-bloque-titulo {
  position: relative;
  width: 100%;
  padding: 0.5%;
  background-color: rgb(50, 0, 98);
  color: rgb(255, 255, 255);
}

.div-bloque-seccion {
  width: 100%;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin-top: 0.6%;
}

.label {
  display: inline-block;
  width: 25%;
}

.fourth {
  display: flex;
  align-items: center;
  width: 25%;
}

#input-correo:invalid {
  border-color: red;
}

.div-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.img-button-delete {
  display: none;
  margin-left: 1%;
}

#div-edad {
  position: relative;
  display: block;
  align-items: top;
  width: 90%;
}

#checkbox-edad {
  min-width: 5vh;
}

#img-button-send {
  margin-bottom: 2vh;
}

#dialog-validacion {
  text-align: center;
  color: #f00;
  font-size: 16px;
  font-weight: bolder;
}

#div-validacion {
  position: relative;
  display: block;
  margin-top: 2%;
  text-align: center;
  color: #f00;
  font-size: large;
  font-weight: bolder;
}

#button-validacion {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

#div-body-center {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#div-loader {
  display: none;
  width: 20%;
  height: 0;
  padding-bottom: 20%;
  border: 5vh solid #f3f3f3; /* Light grey */
  border-top: 5vh solid #3498db; /* Blue */
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#div-despedida {
  position: relative;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 3.5vh;
}

#img-bonanza-club-despedida {
  margin-top: 10%;
  width: 40%;
}

#div-final {
  display: none;
}

#div-preview-1 {
  display: none;
}

#div-preview-2 {
  display: none;
}

#div-preview-3 {
  display: none;
}

@media print {
  body {
    margin: 0;
    padding: 0;
  }
  body * {
    visibility: hidden;
  }
  #div-formulario, #div-formulario * {
    visibility: visible;
  }
  #div-formulario {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 297mm; /* A4 height */
    font-size: 0.7em;
  }
  #img-button-send, #img-button-upload {
    visibility: hidden;
  }

  img {
    display: block;
  }

  #div-preview-1 {
    display: block;
  }

  #div-preview-2 {
    display: block;
  }

  #div-preview-3 {
    display: block;
  }
}

@page {
  size: A4;
  margin: 0;
}

/* Inputs */
input:disabled,
textarea:disabled,
select:disabled,
button:disabled {
  background-color: white !important;
  color: black !important;
  opacity: 1 !important;
  -webkit-text-fill-color: black !important; /* Safari */
  cursor: not-allowed;
}

/* Remove default focus/outline */
input:disabled:focus {
  outline: none;
}

input[type="radio"][data-locked="true"] {
  pointer-events: none;
}