body {
  background-image:url("images/voluntario.jpeg");
  padding: 0;
  margin: 0;
  margin-top: 5%;
  background-size: cover;
  align-items: center;
}

:root {
  --background-clr: rgba(11, 67, 116, 0.61);
  --background-content: #c9d2fb;
  --primary-text: #292828;
  --dcblue: rgba(239, 121, 42, 1);
}
@font-face {
  font-family: "Gotham";
  src: url("/voluntariado/font/Gotham-Black.otf") format("opentype");
}

* {
  margin: 0;
  padding: 0;
  font-family: "Gotham", sans-serif;
}
img {
  width: 100%;
  height: auto;
}
a:link {
  text-decoration: none;
}
a {
  color: black;
}

#head-title {
  background: var(--dcblue);
  color: rgb(255, 255, 255);
  padding: 10px 0;
  text-align: center;
  margin: 0;
}

#outer,
footer {
  background: var(--background-clr);
  max-width: 1024;
  margin: 0 auto;
}
footer {
  background-color: rgba(11, 67, 116, 0.61);
}
.slide-content {
  background: rgba(255, 255, 255, 0.8);
  width: 95%;
  margin: 0 auto;
  padding: 1.2em;
  position: absolute;
  height: 100%;
  z-index: 9;
  overflow: auto;
  display: none;
  border-radius: 10px;
}
.show-slide-content {
  display: block;
}

.content {
  width: 90%;
  margin: 0 auto;
}
.content-title {
  padding: 20px 0;
  color: var(--primary-text);
}

div.inputs label,
input[type="text"],
input[type="email"],
input[type="tel"],
select {
  display: block;
  width: 100%;
}

div.inputs label {
  color: var(--primary-text);
}

div.inputs input,
select {
  border: 1px solid #c8c1c1;
  border-radius: 10px;
  font-size: 1.25rem;
  padding-left: 0.5em;
  color: var(--primary-text);
}
div.sombra {
  background: rgba(250, 124, 40, 0.534);
  padding: 10px 0;
  margin: 10px 0;
  border-radius: 10px;
  padding-left: 0.5em;
}
#masculio {
  margin-left: 1em;
}

form {
  position: relative;
  width: 70%;
  margin: 0 auto;
  min-height: 630px;
}
.inputs {
  margin-bottom: 5px;
}

.checkbox-bubble {
  display: inline-block;
  position: relative;
  border: 2px solid var(--primary-text);
  color: var(--primary-text);
  padding: 2px 4px;
  border-radius: 3px;
  margin: 6px;
  transition: all 0.2s;
}
.checkbox-bubble > input[type="checkbox"],
i {
  position: absolute;
}

.checkbox-bubble > input[type="checkbox"] {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.checkbox-bubble > i {
  top: -13px;
  right: -13px;
  opacity: 0;
  transition: all 0.2s;
}
.checkbox-bubble-on {
  border: 2px solid transparent;
  background-color: #ec770b;
  color: #fff;
}
.checkbox-bubble-on > i {
  opacity: 1;
  color: rgb(11, 174, 11);
}

#servicioBlock {
  padding: 20px;
  border: 1px solid #e6e3e3;
  border-radius: 3px;
}
.foto {
  background: var(--background-content);
  width: 9.4rem;
  height: 9.4rem;
  margin: 10px auto;
  position: relative;
  border-radius: 3px;
}

.cedula {
  background: var(--background-content);
  width: 9.4rem;
  min-height: 9.4rem;
  margin: 10px auto;
  position: relative;
  border-radius: 3px;
}

.fotofile {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
}
.fotofile:hover + .hoverableimg {
  opacity: 1;
}

.hoverableimg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #0000001f;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
}

.fa-camera {
  font-size: 100px;
  color: #2c2b2b69;
}
.form-check {
  margin-bottom: 1.1rem;
}
.form-check .form-check-input {
  position: relative;
  left: 50px;
  float: none;
}

label.form-check-label {
  font-size: 1.3rem;
  color: var(--primary-text);
}

.form-switch .form-check-input {
  width: 2.5em;
  height: 1.2em;
}

.cedula {
  width: 18rem;
  min-height: 11rem;
}

.hide-file-inputs {
  transition: all 0.2s;
  height: 0;
}
.show-file-inputs {
  height: 30px;
}

.btnNav,
#submit {
  border: 1px solid #b3b1b1;
  width: 6rem;
  position: relative;
  background-color: white;
}

.btnNav:active {
  background-color: var(--dcblue);
  top: 2px;
  left: 2px;
}

#btnGroup {
  padding: 5px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

#submit {
  background-color: var(--dcblue);
  color: white;
  display: none;
}
label > span {
  color: red;
}

#loader {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

#spinner {
  border: 10px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  animation: spinner 1s linear infinite;
  width: 100px;
  height: 100px;
  border-left: 10px var(--dcblue) solid;
}

#percent,
#msg,
#spinner-container {
  position: absolute;
}

#msg {
  opacity: 0;
}

.row {
  margin-bottom: 10px;
}

.hide-spinner {
  animation: hideSpinner 0.5s linear;
  animation-fill-mode: forwards;
}
.show-smg {
  animation: showSmg 0.5s linear;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

.invalid {
  box-shadow: 0 0 2px 2px rgb(245, 41, 41) !important;
}

.valid {
  box-shadow: 0 0 2px 2px rgb(41, 168, 41) !important;
}

/* toogle checkbox */
input:checked[type="checkbox"].togglebtn {
  background: #ff6a00;
}

input[type="checkbox"].togglebtn:before {
  content: "";
  position: absolute;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  top: 0;
  left: 0;
  background-color: #fff;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: 0.2s;
}

input[type="checkbox"].togglebtn {
  position: relative;
  width: 50px;
  height: 25px;
  -webkit-appearance: none;
  appearance: none;
  background: #c6c6c6;
  outline: none;
  border-radius: 20px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
}

input:checked[type="checkbox"].togglebtn:before {
  left: 25px;
}

/* end of toggle checkbox */

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes hideSpinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
@keyframes showSmg {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 800px) {
  form {
    width: 90%;
  }
}

@media (prefers-color-scheme: dark) {
  .body.dark-scheme {
  height: 100%;
  background: black;
  color: white;
 }
}