* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: white;
    @import url ("https://fonts.googleapis.com/css?family=Roboto")
    margin: auto;
}

#logobarra {
    margin: 0.6em 0 0.6em 1em;
    width: 8em;
    cursor: pointer;
}

a {
    display: block;
    font-family: "roboto", sans-serif;
    text-decoration: none;
    color: white;
    margin-left:2vh;
}

a:hover {text-decoration: underline;}

/* MENU */
#logo {
    background: url('../imagenes/logobraille.png') no-repeat;
    margin:.75em 0;
    width: 180px;
    height: 35px;
}

#logo span {
    display: none;
}

header {
    display:flex;
    justify-content: space-between;
    align-items:flex-end;
    background:#009CDA;
}

#menu {
    margin: 0.2em;
    border-radius: 0.3em;
}

#menu a {
    display: block;
    margin: 0;
}

#selector header {
    display:flex;
    justify-content: space-between;
    align-items:flex-end;
    background:#009CDA;
}

nav {
    margin-bottom:.3em;
    
        position: absolute;
        z-index: 1;
        top: -1em;
        left:0;
        box-sizing: border-box;
        padding:1.25em;
}

nav ul {
    list-style-type:none;
}

#logobarra {
    width: 8em;
}

#iconos{
    display: block;
}

#iconos li { text-indent: -1000px; overflow: hidden; }
    
#iconos li a {
    display: block;
    position: fixed;
    right: 1em;
    background: url(../imagenes/menu.png) no-repeat center center;
    width: 40px;
    margin-top: 0.9em;
}

header:target nav {
        width:100%;
        height: 110%;
        position: fixed;
        margin-top: 0; 
        padding-top: 1.25em;
    }
    
header:target #botones{ display: block; padding-bottom: 1em; position: relative; top: 1.875em;}
    
header:target #iconos li:first-child{ display: none; }
    
#iconos li:last-child { display: none; }
    
header:target #iconos li:last-child{ display: block; }

#botones {
    display: none;
    background-color: rgba(0,156,218,0.95);
    border-radius: 0.5em;
    width:100%;
    margin-top: 2em;
    padding-top: 1em;
}

#botones li {
    background-color: rgba(0,156,218,0.0);
    padding: 0.5em 0 0.5em 2em;
    width: 100%;
    margin-bottom: 0.5em;
}

#botones li a {
    text-decoration: none;
    display: block;
    font-size:.9em;
    color: #fff;
    padding: .2em 0;
}

#botones li:hover {
    font-family: 'bentonsansmedium', Arial, sans-serif;
    z-index: 2;
}


h1{
    margin-top: 5vh;
    margin-left: 2vh;
    color: black;
    font-size: 1.2em;
    font-family: 'roboto', sans-serif;
}

/* LOGIN */
#manobraille {
    width: 100%;
    margin-top: -2em;
    margin-bottom: -3em;
}


/* FORM TRADUCTOR POR TEMAS */
.cntemas {
    display: flex;
    justify-content: space-around;
    align-content: center;
    height: 4em;
}

.btntema {
    display: flex;
    margin-top: 0;
    padding-top: 0;
    width: 3em;
    justify-content: center;
}

.cntemas a {
    display: block;
    margin: 0;
    background: none;
    font-family: "Arial", sans-serif;
    font-weight: normal;
    text-align: center;
    font-size: 0.6em;
    color: #46A6DD;
}

.imgtema {width: 100%;}

#titImagen {
    font-size: 1.3em;
}

form[name="frmtradtemas2"] {
    display: none;
}

form[name="frmtradtemas2"] h3 {
    margin: 0 0 -1em 0;
}

#tradtemas1 {
    
}

/* Reset Select */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 !important;
  background: #46A6DD;
  background-image: none;
}
/* Custom Select */
.select {
  position: relative;
  display: block;
  margin-top: 1.5em;
  margin-left: 1em;
  width: 90%;
  height: 2em;
  line-height: 2;
  background: #46A6DD;
  overflow: hidden;
  border-radius: .5em;
}
select {
  width: 100%;
  height: 100%;
  margin: 0.1em 0 0 0;
  padding: 0 0 0 1em;
  color: #fff;
  cursor: pointer;
}
select::-ms-expand {
  display: none;
}
/* Arrow */
.select::after {
  content: '\25BC';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: .2em 1em;
  background: #46A6DD;
  pointer-events: none;
}
/* Transition */
.select:hover::after {
  color: white;
}
.select::after {
  -webkit-transition: .25s all ease;
  transition: .25s all ease;
}

/* FORM TRADUCTOR LIBRE */
.btnvolver {
    margin: 1em;
    color: black;
}

.btn2 {
    border-radius: 3em;
    background-color: #584F96;
    text-decoration: none;
    color: white;
    padding: 0.75em 3em;
    margin-top: 2.5em;
    box-shadow: 4px 6px 7px grey;
    font-size: 0.66em;
}

.avanzar {
    width: 15em;
    height: 3em;
    margin: 2.5em auto;
    padding-top: 0.9em;
    text-align: center;
}

.btnavanzar {
    display: flex;
    margin: 2em auto;
    width: 3em;
    height: 2em;
}

.btnavanzar a {
    width: 100%;
    height: 100%;
    background: none;
}

.btnavanzar a img {
    width: 100%;
    height: 100%;
}

.lineaazul {
    margin: 0.1em 1.2em;
    width: 93%;
    border-bottom: 2px solid #46A6DD;
}

form h2, form label {
    font-family: "roboto", sans-serif;
    margin-top: 2vh;
    margin-left: 2vh;
    margin-bottom: 0;
    font-size: 0.7em;
    font-weight: bold;
}

input[type=text], input[type=email], input[type=password] {
    margin: 1.5em 1.2em;
    font-size: 1em;
    width: 93%;
    border: none;
    border-bottom: 2px solid #46A6DD;
    margin-bottom: 3em;
}

form h1 {
    margin: 0.5em 0 1.5em 0.8em;
}

textarea {
    margin: 0.3em 1em 0 1em;
    padding: 0.5em;
    font-size: 1em;
    width: 90vw;
    border-radius: 0.5em;
    border: none;
    border: 2px solid #46A6DD;
    box-shadow: 0 5px 15px lightgray;
}

form[name="frmtradlibre2"] {
    display: none;
}

form[name="frmtradlibre2"] h3 {
    margin: 0 0 -1em 1em;
    font-family: "Arial", sans-serif;
}

.btn {
    margin-left: 7em;
}

.cnimgbraille {
    margin: 0.5em 1em 0 1em;
    height: 4em;
    border-radius: 0.5em;
    border: 2px solid #46A6DD;
    box-shadow: 0 5px 15px lightgray;
    background-color: #46A6DD;
}

.cnimgbraille2 {
    margin: 0.5em 1em 0 1em;
    border-radius: 0.5em;
    border: 2px solid #46A6DD;
    box-shadow: 0 5px 15px lightgray;
    background-color: #46A6DD;
}

#cnindicaciones {
    display: flex;
    justify-content: center;
}

#indicaciones {
    width: 100%;
    height: 100%;
    margin-bottom: 5em;
}

#cnbotguardar {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 15px grey;
    background-color: white;
}

.botguardar {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    width: 12em;
    height: 3em;
    border-right: 1px solid #46A6DD;
}

.botguardar p {
    font-family: 'Lato', sans-serif;
    font-size: 0.8em;
}

.botdescargar {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    width: 10em;
    height: 3em;
}

.botdescargar p {
    font-family: 'Lato', sans-serif;
    font-size: 0.8em;
}

#imgguardar {
    width: 2em;
    height: 2em;
}

#imgdescargar {
    width: 2em;
    height: 2em;
}

.botguardar, .botdescargar p {
    font-size: 0.9em;
    color: #46A6DD;
}

#dImagen1, #dImagen2 {
    margin: 0.5em 1.2em;
}
