/* #cb6015, #007a32, #eeb926, #ff8702 y #4a8ac6 */
:root {
  --color-one: #cb6015;
  --color-two: #007a32;
  --color-three: #eeb926;
  --color-four: #ff8702;
  --color-five: #4a8ac6;
  --border: #ff870280;
  --fill: #ff8702;
}

html,
body {
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

* {
  font-family: "Lato", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Header y Nav */
.nav {
  height: 2em;
}
.headerinfo {
  color: #fff;
  position: relative;
  top: 14em;
  min-height: 10em;
  border-radius: 10px;
  font-weight: 700;
}
.headerinfo img {
  position: absolute;
  height: 40%;
  transform: translate(-50%, -50%);
  top: 20%;
}
.headerinfo h1 {
  text-shadow: 2px 2px 4px #000;
  font-size: 4em;
  font-family: "Lato", sans-serif;
}
.headerinfo h3 {
  text-shadow: 2px 2px 4px #000;
  font-size: 2em;
  font-family: "Lato", sans-serif;
}

.customnavpill button .active {
  width: auto;
  font-size: 1em;
  border: none !important;
}
.nav-tabstabcustom .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  border: none !important;
}
.tab-pane > div.row {
  min-height: 700px;
}
.navbar-light .navbar-nav .nav-link {
  width: auto;
  font-size: 1.2em;
  color: var(--color-four);
  text-transform: uppercase;
  border: none;
}
.navbar-light .navbar-nav .nav-link:hover {
  width: auto;
  font-size: 1.2em;
  color: var(--color-five);
  text-transform: uppercase;
  border: none;
}
.navbar-light .navbar-nav .nav-link:active {
  width: auto;
  font-size: 1.2em;
  color: var(--color-two);
  text-transform: uppercase;
  font-weight: 800;
  /*border-bottom: 2px solid #005d42;*/
}

/* Portada */
.cabecera {
  background-color: black;
  background: url(images/fondo.png) no-repeat;
  background-position: 40% 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  min-height: 700px;
  max-width: 100vw;
}
.cabecera .container {
  text-align: center;
  padding: 100px 0px 50px 0px;
}

.btn-custom {
  background-color: var(--color-five);
  border: var(--color-five);
  font-size: 2em;
  text-transform: uppercase;
  margin-top: 2em;
  height: 3em;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 60%;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-custom:hover {
  background-color: var(--color-two);
  border: var(--color-two);
  font-size: 2em;
  text-transform: uppercase;
}

.big,
.medium {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px !important;
}

.big {
  position: absolute;
  top: 45% !important;
}

/*contenido*/
.numeracion {
  font-size: 2emm;
  color: var(--color-four);
  font-weight: 800;
}
.pasoscard {
  min-height: 320px !important;
  margin-bottom: 2em !important;
}

.padroncard {
  padding: 1em;
  border-left: 5px solid var(--color-four);
}

.separador {
  width: 50%;
  margin-left: 25% !important;
  margin-right: 25%;
  height: 2px;
  border: 2px solid var(--color-four);
}

.como-votar .texto {
  background-color: #fff;
}
.como-votar .bg-img3 {
  background: url(images/bg-padron.jpeg) no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding: 0px;
}

.nav-tabcustom .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: #01376e;
  background-color: #ffffff;
  font-weight: 800;
}

.img-decor {
  padding: 0.25rem;
  background-color: #fff;
  border-radius: 0.25rem;
  max-width: 100%;
  height: auto;
}

/*Acordion*/
.accordion-button:not(.collapsed) {
  color: white;
  background-color: var(--color-four);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}
.accordion-button:focus {
  z-index: 3;
  border-color: var(--color-four);
  outline: 0;
  box-shadow: 0 0 0 0.25rem var(--border);
}
.accordion-button:not(.collapsed)::after {
  filter: brightness(0%) invert(100%);
}

/*boton subir*/
#btnUp {
  font-size: 2em;
  background-color: var(--color-five);
  color: var(--color-three);
  position: fixed;
  bottom: 2em;
  right: 20px;
  z-index: 99999999;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#btnUp.show {
  opacity: 1;
}

/*Footer*/
footer {
  background-color: var(--color-four);
  background: url(images/footer.png) no-repeat;
  opacity: 0.8;
  background-position: 50% 50%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  bottom: 0;
  position: bottom;
  color: white;
  margin-top: 2em;
}

.amail {
  text-decoration: none;
  color: white;
}
.amail:hover {
  text-decoration: none;
  color: var(--color-five);
}

@media (min-width: 320px) and (max-width: 767px) {
  .big {
    position: absolute;
    top: 52% !important;
    max-width: 250px !important;
  }
  .medium {
    position: absolute;
    top: 72% !important;
    max-width: 250px !important;
  }
  .cabecera {
    background-color: black;
    background-position: 90% 80%;
    background-size: cover;
    min-height: 400px;
  }
  .bg-img3 {
    margin-top: 1em;
  }
  .nav-brand {
    padding-left: 4rem !important;
  }
  .headerinfo {
    top: 12em;
  }
  .headerinfo img {
    height: 9em !important;
    transform: translate(-50%, -50%);
    top: 10%;
  }

  .btn-custom {
    font-size: 20px;
    text-transform: uppercase;
    margin-top: -2em;
    height: 3em !important;
    width: 80%;
  }
  .btn-custom:hover {
    background-color: var(--color-two);
    border: var(--color-two);
    font-size: 20px;
    text-transform: uppercase;
  }
  #comunas,
  #pasos,
  #padron,
  #preguntas-frecuentes {
    padding: 0 !important;
  }
  .card p {
    padding-top: 1em !important;
  }
  .bg-img3 {
    display: none !important;
  }
}
