*, ::before, ::after {
    box-sizing: inherit;
}
.btnSalir::after {
  content: url("/img/tache.svg");
}
html {
    /* background-image: radial-gradient(circle,#667733,gray); */
    /* background-image: radial-gradient(circle,#c13515,gray); */
    /* background-image: radial-gradient(circle,#ff9900,gray); */

    background-color: #e1d9be;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 8px 8px;


  height: 100%;
    font-family:sans-serif;
}
.portada-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top:5px;
    height:20mm;
}
.radiote {
    vertical-align:top;
    display:inline-block;
    margin:.5rem .5rem 0 .5rem;
    border:0;
    width:2.5em;
    height:2.5em;
}
.radiotexto {
    font-size:large;
    display:inline-block;
    width:unset;
    margin-top: .7rem;
}
.inicio {
    background:url('/img/inicio.svg') top left no-repeat;
    width:25px;
    height:25px;
}
.anterior {
    background:url('/img/anterior.svg') top left no-repeat;
    width:25px;
    height:25px;
}
.siguiente {
    background:url('/img/siguiente.svg') top left no-repeat;
    width:25px;
    height:25px;
}
.final {
    background:url('/img/final.svg') top left no-repeat;
    width:25px;
    height:25px;
}
.imprimir {
    background:url('/img/imprimir.png') top left no-repeat;
    width:25px;
    height:25px;
}
.formulario {
    display:grid;
    grid-template-rows:auto auto 90px;
    grid-template-columns: auto auto auto auto auto;
    }
.formulario form, .formulario .forma {
    display:grid;
    padding: 1rem;
    box-sizing: border-box;
    border: 1px solid #003300;
    border-radius:8px;
    grid-column:3;
    grid-row:2;
    margin-bottom: 90px;
}

form, .forma {
    padding: 1rem;
    box-sizing: border-box;
    border: 1px solid #003300;
    border-radius:8px;
    background: rgba(255,255,255,.4);
    margin-top:.5rem;
    margin-right:.5rem;
    margin-left:.5rem;
}
.formaencima {
    padding: 1rem;
    box-sizing: border-box;
    border: 1px solid #003300;
    border-radius:8px;
    background-image: radial-gradient(circle,#003300,gray);
    color: black;
}
input:not([type=checkbox],[type=radio])
, select
, textarea {
    display:block;
    width:100%;
    box-sizing: inherit;
    padding:.25rem .5rem;
    margin-right: 1rem;
    border:1px solid;
    border-left-color: #003300;
    border-top-color: #003300;
    border-right-color: #003300;
    border-bottom-color:#72767b;
    border-radius:.3rem;
    font-size: large;
    margin-bottom:1rem;
    font-family: sans-serif;
    background-color: rgba(255,255,255,.4);
}
[type=checkbox] {
    box-sizing: inherit;
    padding:0;
    font-size: large;
    margin-left: .5rem;
}
input:focus,
textarea:focus {
    border-bottom-color:#06c;
    border-bottom-width:2px;
    outline: 0;
}
label {
    margin-bottom:1rem;
    font-size:small;
    font-weight:600;
    line-height:inherit
}
/*
.boton {
    background-color: white;
    text-align: center;
}
*/
button, .boton {
    overflow:visible;
    border-radius:.3rem;
    border:none;
    font-weight:600;
    cursor: pointer;
    font-size:large;
    line-height:inherit;
    padding-left:.5rem;
    padding-right:.5rem;
    padding-top:.2rem;
    padding-bottom:.2rem;
    color: black;
    margin-top:.2rem;
    margin-bottom:.2rem;
    text-decoration:none;
    /* background-color: rgb(179, 160, 136); */
}
button:hover, .boton:hover {
    /* background-color:#06c; */
    background-color: #4f4a33;
    color: white;
}
button.botoncito {
    overflow:visible;
    border-radius:1rem;
    border:none;
    font-weight:600;
    cursor: pointer;
    font-size:large;
    line-height:inherit;
    padding-left:0;
    padding-right:0;
    padding-top:0;
    padding-bottom:0;
    background-color:unset;
    color: black;
    margin-top:0;
    margin-bottom:0;
    align-self: center;
}
button.botoncito:hover {
    background-color:#06c;
    color:white;
}
button:disabled {
    overflow:visible;
    border-radius:.3rem;
    border:none;
    font-weight:600;
    cursor: not-allowed;
    font-size:large;
    line-height:inherit;
    padding-left:.5rem;
    padding-right:.5rem;
    padding-top:.2rem;
    padding-bottom:.2rem;
    background-color:#ccc;
    color: black;
    margin-top:1rem;
    margin-bottom:1rem;
}
.error {
    color: red;
    font-weight:600;
}

.opciones {
    text-decoration:none;
    background-color:unset;
    color: black;
  }

  .opciones:hover {
  background-color: #003300;
  color:white;
}

/*Clases*/
.uam-foto {
    border: white solid 1px;
    box-shadow: 0px 0px 8px 4px rgb(100,130,100);
}

/*AVISO*/
#aviso {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 20%;
  bottom: 50%;
  font-size: 17px;
}
#aviso.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 50%; opacity: 1;}
}
@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 50%; opacity: 1;}
}
@-webkit-keyframes fadeout {
  from {bottom: 50%; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

.w3-modal{z-index:3;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)}

/*Tablas*/
table {
    border-spacing:0;
    width:100%;
    border: solid black 1px;
}
tbody tr:hover {
    background-color:rgba(100,100,100,.5);
}
th {
    text-align: left;
    border-radius:inherit;
}
tr:nth-child(odd){
    background-color:rgba(255,255,255,.5);
}
tr:nth-child(even){
    background-color:rgba(230,230,230,.5);
}
tr th {
    border-bottom:2px solid;
    border-bottom-color:#003300;
}
td, th {
    padding-left:.5rem;
}

/*Menú*/

.topnav {
  overflow: hidden;
  /* background-color: #003300; */
  background-color: #332900;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 4px 16px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

.topnav a:hover {
  /* background-color: #90ac90; */
  background-color: rgb(179, 160, 136);
  color: black;
}

.topnav a.active {
  background-color: #003300;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and ((max-width: 600px) or (max-height: 600px)) {
    .soloescritorio {
        display: none;
      }
    .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: inherit;
    display: block;
  }
  .portada-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top:5px;
    height:20mm;
    }
    .uam-boton {
        height:max(4vh,4vw);
    }
    .uam-camara {
        width:min(80vh,80vw);
    }
    .uam-foto {
        width:min(80vh,80vw);
    }
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: inherit;
      display: block;
      text-align: left;
    }
    td:nth-child(n+4), th:nth-child(n+4) {
        display:none;
    }
}
@media screen and (min-width: 601px) and (min-height: 601px){

    label[class=required] {font-size:10px;font-weight:bold;}
    .portada-titulo {
        font-size:25px;
        }
    .portada-logo {
        margin: 10px;
        height:15mm;
        }
    .portada-encabezado {
        height: 9vh;
    }
    .uam-boton {
        height:min(3vh,3vw);
    }
    .uam-foto {
        width:max(9vh,9vw);
    }
    .uam-camara {
        width:max(20vh,20vw);
    }
    .uam-form {
        width:50%;
        font-size:20px;
        transform: translateX(50%);
        margin-top:5px;
    }
    .soloescritorio {
        display: inline-block;
    }
}


/* TOGGLE STYLING */
.toggle {
  margin: .5rem 0 .5rem;
  box-sizing: border-box;
  font-size: 0;
  display: inline-block;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
}
.toggle input {
  width: 0;
  height: 0;
  position: absolute;
  left: -9999px;
}
.toggle input + label {
  margin: 0;
  padding: 0.1rem .1rem;
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  border: solid 1px #DDD;
  background-color: #FFF;
  font-size: 1rem;
  line-height: 140%;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  transition: border-color 0.15s ease-out, color 0.25s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out;
  /* ADD THESE PROPERTIES TO SWITCH FROM AUTO WIDTH TO FULL WIDTH */
  /*flex: 0 0 50%; display: flex; justify-content: center; align-items: center;*/
  /* ----- */
}
.toggle input + label:first-of-type {
  border-radius: 6px 0 0 6px;
  border-right: none;
}
.toggle input + label:last-of-type {
  border-radius: 0 6px 6px 0;
  border-left: none;
}
.toggle input:hover + label {
  border-color: #213140;
}
.toggle input:checked + label {
  background-color: #4B9DEA;
  color: #FFF;
  box-shadow: 0 0 10px rgba(102, 179, 251, 0.5);
  border-color: #4B9DEA;
  z-index: 1;
}
.toggle input:focus + label {
  outline: dotted 1px #CCC;
  outline-offset: 0.45rem;
}



