/*
@font-face {
    font-family: "Corbel";
    font-weight: normal;
    font-style : normal;
           src : url("../fonts/corbel.eot");
           src : url("../fonts/corbel.eot") format("embedded-opentype"),
                 url("../fonts/corbel.woff") format("woff");
}
@font-face {
    font-family: "Corbel-Bold";
    font-weight: normal;
    font-style : normal;
           src : url("../fonts/corbel-bold.eot");
           src : url("../fonts/corbel-bold.eot") format("embedded-opentype"),
                 url("../fonts/corbel-bold.woff") format("woff");
}
*/
@font-face {
    font-family: "NeoSans";
    font-weight: normal;
    font-style : normal;
           src : url("../fonts/neo-sans-std-regular.eot");
           src : url("../fonts/neo-sans-std-regular.eot") format("embedded-opentype"),
                 url("../fonts/neo-sans-std-regular.woff") format("woff");
}
@font-face {
    font-family: "NeoSans-Bold";
    font-weight: normal;
    font-style : normal;
           src : url("../fonts/neo-sans-std-bold.eot");
           src : url("../fonts/neo-sans-std-bold.eot") format("embedded-opentype"),
                 url("../fonts/neo-sans-std-bold.woff") format("woff");
}
@font-face {
    font-family: "NeoSans-Light";
    font-weight: normal;
    font-style : normal;
           src : url("../fonts/neo-sans-std-light.eot");
           src : url("../fonts/neo-sans-std-light.eot") format("embedded-opentype"),
                 url("../fonts/neo-sans-std-light.woff") format("woff");
}

body {
    background-color: rgb(27, 44, 93);
    margin: 0;
    padding: 0;
    font-family: 'NeoSans', sans-serif;
}

h1, h2, h3, li, p, a, div {
    font-family: 'NeoSans', sans-serif;
    color: white !important;
}

#app {
    position: relative;
    background-color: rgb(27, 44, 93);
    color: white;
    border: none;
    min-height: calc(100vh);
    background-image: url('../img/background.png');
    background-repeat: no-repeat;
    background-size: contain;
    /*background-size: 768px 300px;*/
    background-position-y: 100%;
    /*min-height: 1280px;*/
    /*top: 10px;*/
    left: 0px;
}

@media screen and (min-width:721px){
    body {
        background-color: gray;
    }
    #app {
        width: 720px;
        left: calc( 50vw - 360px);
        min-height: 1280px;
        border: 1px solid white;
        border-radius: 10px;
    }
}

form {
    position: relative;
    margin: 0;
    padding: 0;
    margin-bottom: 40px;
}
.form-group {
    position: relative;
    margin: 0;
    padding: 0;
    border: none;
}
.form-group input,
.form-group select {
    position: relative;
    width: 70%;
    margin-bottom: 15px;
    font-family: 'NeoSans', sans-serif;
}
.form-group input {
    color:  rgb(27, 44, 93);
    border-radius: 25px; 
    padding: 5px;
}
.form-group .invalid-feedback {
    color: Red;
    font-family: 'NeoSans-Bold', sans-serif;
}
.form-group select {
    border-radius: 5px;
    border-color: rgb(27, 44, 93) !important;
    height: 2em;
    padding: 5px;
}
.form-group .radio {
    margin-top: 15px;
}
.form-group .radio input {
    width: auto;
}
.form-group .radio label {
    padding-left: 10px;
}
form button {
    font-family: 'NeoSans-Bold', sans-serif;
    margin-top: 40px;
}

#app, 
main,
div.container {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}


div.header,
div.section,
div.footer {
    position: relative;
    margin: 0;
    padding: 0;
    /*
    background-color: rgb(27, 44, 93) !important;
    
    */
    color: white !important;
}

div.header {
    position: relative;
    margin: 0;
    margin-bottom: 90px;
    padding: 0;
}
div#navigation-back,
div#navigation-home {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 40%;
}
div#navigation-back figure,
div#navigation-home figure {
    position: absolute;
    margin: 0;
    padding: 0;
    cursor: pointer;
}
div#navigation-back figure {
    left: 10px;
}
div#navigation-home figure {
    right: 10px;
}
div#navigation-back figure img,
div#navigation-home figure img {
    position: relative;
    height: 100%;
    width: auto;
    border: 2px solid rgb(0, 147, 212);
    padding: 10px;
    border-radius: 50px;
}

div.logo {
    margin-bottom: 40px;
}


/* Botones para navegabilidad */
div.link-button {
    position: relative;
    font-family: 'NeoSans', sans-serif;
    font-weight: 600;
    margin: 0;
    border: 1px solid white;
    border-radius: 5px;
    padding: 10px 15px;
    /*
    width: 60%;
    left: 15%;
    */
}

button.link {
    /*background-color: rgb(27, 44, 93);*/
    font-family: 'NeoSans', sans-serif;
    font-weight: 600;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 5px;
    padding: 10px 45px;
    cursor: pointer;
}

/* Home */
.inicio .header {
    margin-bottom: 180px;
}
/* Seleccionar metodo */
div#seleccionarMetodo {
    position: relative;
    display: inline-block;
    margin: 0;
    margin-bottom: 50px;
    margin-top: 20px;
    padding: 0;
    width: 100%;
}

#app div.seleccionarMetodoOpcion {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 45%;
    /* width: 30%; */
    text-align: center;
    cursor: pointer;
}
#app div.seleccionarMetodoOpcion figure {
    position: relative;
    margin: 0;
    padding: 0;
    width: 50%;
    left: 25%;
    height: auto;
}
#app div.seleccionarMetodoOpcion figure img {
    position: relative;
    width: 80%;
    height: auto;
}
#app div.seleccionarMetodoOpcionManual figure img {
    top: 10px;
}

div#seleccionarMetodoAlt {
    position: relative;
    display: inline-block;
    margin: 0;
    margin-bottom: 50px;
    margin-top: 20px;
    padding: 0;
    width: 60%;
}


/* 
#app div#seleccionarMetodoCamara {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 45%;
    text-align: center;
    cursor: pointer;
}
#app div#seleccionarMetodoManual {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 45%;
    text-align: center;
    cursor: pointer;
}
#app div#seleccionarMetodoCamara figure,
#app div#seleccionarMetodoManual figure {
    position: relative;
    margin: 0;
    padding: 0;
    width: 50%;
    left: 25%;
    height: auto;
}
#app div#seleccionarMetodoCamara figure img,
#app div#seleccionarMetodoManual figure img {
    position: relative;
    width: 100%;
    height: auto;
} 
#app div#seleccionarMetodoManual figure img {
    top: 10px;
}
*/


#app div.bases-condiciones p {
    position: relative;
    font-family: 'NeoSans-Light', sans-serif;
    width: 80%;
    left: 10%;
    font-size: 0.8em;
}

/* Ingreso por camara */
.section-camara {
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 250px;
}
.section-camara div#camara-video-canvas {
    position: relative;
    margin: 0;
    padding: 0;
    /*
    width: 90%;
    left: -5%;
    */
    margin-bottom: 50px;
}
.section-camara div#camara-video,
.section-camara div#camara-canvas {
    position: relative;
    width: 70%;
    height: auto;
    /*
    width: 720px;
    height: 540px;
    */
    /*
    width: calc(100vw);
    height: calc(100vw * 0.75);
    */
}
div#camara-video video,
div#camara-canvas canvas {
    position: relative;
    /*
    width: 100%;
    height: auto;
    */
    /*
    width: 720px;
    height: 540px;
    */
    /*
    width: calc(100vw);
    height: calc(100vw * 0.75);
    */
}
@media screen and (min-width:720px){
    .section-camara div#camara-video,
    .section-camara div#camara-canvas {
        width: 720px;
        height: 540px;
        /*
        width: calc(100vw);
        height: calc(100vw * 0.75);
        */
    }
    div#camara-video video,
    div#camara-canvas canvas {
        width: 720px;
        height: 540px;
        /*
        width: calc(100vw);
        height: calc(100vw * 0.75);
        */
    }
}

div.section-camara div.camara-button {
    position: absolute;
    margin: 0;
    padding: 10px;
    top: calc(100% - 80px);
    left: 0px;
    cursor: pointer;
}
div.section-camara div.camara-button a {
    position: relative;
    margin: 0;
    padding: 0;
}
div.section-camara div.camara-button figure {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
}
div.section-camara div.camara-button figure img {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
}

/* Confirmación */
div.nuevo-participante {
    margin-top: 50px;
}

div.teclado {
    position: relative;
    margin: 0;
    margin-bottom: 30px;
    padding: 0;
  }
  div.teclado ul {
    position: relative;
    width: 90%;
    left: 2%;
    margin-top: 0;
    margin-bottom: 5px;
  }
  div.teclado ul li {
    position: relative;
    display: inline-block;
    list-style: none;
    border: 1px solid rgb(27, 44, 93);
    border-radius: 75px;
    font-size: 3em;
    margin: 0px 30px;
    width: 140px;
    height: 140px;
    text-shadow: 0px 1px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(rgb(107, 152, 171), rgb(36, 129, 170));
  }
  div.teclado ul li#clear,
  div.teclado ul li#delete {
    font-size: 2.6em;
  }  
@media screen and (max-width:600px){
    div.teclado ul li {
        border-radius: 75px;
        font-size: 2em;
        margin: 0px 20px;
        width: 110px;
        height: 110px;
        left: -25px;
    }
    div.teclado ul li#clear,
    div.teclado ul li#delete {
        font-size: 1.6em;
    }  
}
@media screen and (max-width:480px){
    div.teclado ul li {
        width: 90px;
        height: 90px;
    }
}
@media screen and (max-width:414px){
    div.teclado ul li {
        width: 70px;
        height: 70px;
        left: -20px;
    }
}
@media screen and (max-width:360px){
    div.teclado ul li {
        font-size: 1.6em;
        margin: 0px 15px;
        width: 60px;
        height: 60px;
        left: -25px;
    }
    div.teclado ul li#clear,
    div.teclado ul li#delete {
        font-size: 1.2em;
    }  
}
@media screen and (max-width:320px){
    div.teclado ul li {
        font-size: 1.6em;
        margin: 2px 10px;
        width: 55px;
        height: 55px;
        left: -25px;
    }
}
  div.teclado ul li span {
    position: relative;
    top: 30px;
  }
  @media screen and (max-width:480px){
    div.teclado ul li span {
      top: 20px;
    }
  }
  @media screen and (max-width:414px){
    div.teclado ul li span {
      top: 10px;
    }
  }

  /* teclado numerico */
  div.teclado-cel {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  div.teclado-cel-row {
    width: 100%;
  }
  div.teclado-cel-col {
    display: inline-block;
    width: 32%;
    /*font-family: 'Corbel', sans-serif;*/
    font-size: 3em;
    text-align: center;
    vertical-align: middle;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
  }
@media screen and (max-width:480px){
    div.teclado-cel-col {
        font-size: 2.8em;
    }
}
@media screen and (max-width:360px){
    div.teclado-cel-col {
        font-size: 2.2em;
    }
}

div.documento,
div.celular {
  position: relative;
  margin: 0;
  margin-bottom: 20px;
  padding: 0;
  padding-top: 10px;
  width: 80%;
  left: 10%;
  height: 80px;
  text-align: center;
  border: 1px solid white;
  border-radius: 15px;
}
@media screen and (max-width:480px){
    div.documento,
    div.celular {
        padding-top: 20px;
    }
}
@media screen and (max-width:360px){
    div.documento,
    div.celular {
        padding-top: 10px;
        height: 50px;
    }
}

/* Nro de documento/celular */
div.documento p:nth-child(1),
div.celular p:nth-child(1) {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 3em;
}
@media screen and (max-width:480px){
    div.documento p:nth-child(1),
    div.celular p:nth-child(1) {
        font-size: 2.2em;
    }
}
@media screen and (max-width:414px){
    div.documento p:nth-child(1),
    div.celular p:nth-child(1) {
        font-size: 1.8em;
    }
}
@media screen and (max-width:360px){
    div.documento p:nth-child(1),
    div.celular p:nth-child(1) {
        font-size: 1.6em;
    }
}

/* Mensaje documento/celular */
div.documento p:nth-child(2),
div.celular p:nth-child(2) {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 1.6em;
}
.displayMsjError,
.displayNumberError {
    color: red !important;
}
@media screen and (max-width:480px){
    div.documento p:nth-child(2),
    div.celular p:nth-child(2) {
        font-size: 1.4em;
    }
}
@media screen and (max-width:414px){
    div.documento p:nth-child(2),
    div.celular p:nth-child(2) {
        font-size: 1.2em;
    }
}
@media screen and (max-width:360px){
    div.documento p:nth-child(2),
    div.celular p:nth-child(2) {
        font-size: 1.2em;
    }
}

/* Seleccionar sexo */
div#seleccionarSexo {
    position: relative;
    display: inline-block;
    margin: 0;
    margin-bottom: 50px;
    margin-top: 20px;
    padding: 0;
    width: 100%;
}
div#seleccionarSexo div {
    position: relative;
    display: inline-block;
    margin: 0;
    margin-top: 40px;
    padding: 0;
    width: 48%;
    width: 30%;
    font-family: 'NeoSans-Bold', sans-serif;
    text-align: center;
    cursor: pointer;
}
div#seleccionarSexo a {
    text-decoration: none;
}
div#seleccionarSexo div p {
    position: relative;
    margin: 0;
    padding: 0;
}
div#seleccionarSexo div p:nth-child(1) {
    font-family: 'NeoSans-Bold', sans-serif;
    font-size: 4em;
}
div#seleccionarSexo div p:nth-child(2) {
    font-family: 'NeoSans', sans-serif;
    font-size: 1.2em;
}
/* div#seleccionarSexo div p#noBinario {
    font-size: 1em;
} */

div#participanteConfirmacion {
    position: relative;
    margin: 0;
    padding: 0;
    margin-bottom: 50px;
}

.spinner-border {
    display: inline-block;
    color: white;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid;
        border-right-color: currentcolor;
        border-right-style: solid;
        border-right-width: 0.25em;
    border-right: .25em solid transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
         transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

/* Opcion: EsCliente */
div#seleccionarEsCliente {
    position: relative;
    display: inline-block;
    margin: 0;
    margin-bottom: 50px;
    margin-top: 20px;
    padding: 0;
    width: 100%;
}
div#seleccionarEsCliente h2 {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 1.8em;
}
div#seleccionarEsCliente div {
    position: relative;
    display: inline-block;
    margin: 0;
    margin-top: 30px;
    padding: 0;
    width: 48%;
    font-family: 'NeoSans-Bold', sans-serif;
    text-align: center;
    cursor: pointer;
}
div#seleccionarEsCliente > div {
    width: 80%;
}

div#seleccionarEsCliente a {
    text-decoration: none;
}
div#seleccionarEsCliente div p:nth-child(1) {
    font-family: 'NeoSans-Bold', sans-serif;
    font-size: 3em;
}
