@font-face {
    font-family: 'etelka_light_proregular';
    src: url('/static/tipos/etelka-light-pro_16165-webfont.woff2') format('woff2'),
         url('/static/tipos/etelka-light-pro_16165-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
   font-family: 'Material Icons';
   font-style: normal;
   font-weight: 400;
   src: url(/static/tipos/MaterialIcons-Regular.woff2) format('woff2'),
        url(/static/tipos/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  /* -moz-osx-font-smoothing: grayscale; */

  /* Support for IE. */
  font-feature-settings: 'liga';
}

@media (min-width: 968px) {
  /* .pagina_actual {
    padding-bottom: 10px;
  } */
  .menu_lateral {
    top: 98px;
  }
  #logoCZ {
    height: 70px;
    margin-top: -5px;
  }
  .encabezado {
    /* margin-bottom: 10px; */
    padding: 20px 0 0 0;
    height: 75px;
  }
  .nome_proxecto {
    margin-left: 50px;
    font-size: 55px;
  }
  #todo {
    margin-left: 10px;
    width: calc(100% - 55px);
  }
  #todo.permisos {
    width: auto;
  }
  /* .grid_container {
    margin-top: 10px;
    padding: 10px 0 5px 0;
  } */
  .grid_D2_M1 {
    grid-template-columns: 49.5% 49.5%;
  }
  #panel_tablas {
    min-width: 500px;
    overflow: auto;
    height: calc(100vh - 200px)
  }
  .panel {
    margin: 10px 8px 10px 8px;
  }
  input {
    width: 180px;
  }
  textarea {
    width: 100%;
  }
  input[type="checkbox"] {
    width: inherit;
    margin: 5px 0 5px 0
  }

  .material-icons {
    font-size: 20px;
  }
  #contenedor_fotos {
    grid-template-columns: 24.5% 24.5% 24.5% 24.5%;
  }
}

@media (min-width: 1300px) {
  #contenedor_fotos {
    grid-template-columns: 16.5% 16.5% 16.5% 16.5% 16.5% 16.5%;
  }
}

@media (max-width: 967px) {
  #logoCZ {
    height: 38px;
    /* margin: 0 0 0 0; */
  }
  .encabezado {
    /* margin-bottom: 5px; */
    padding: 7px 0 18px 0;
    height: 20px;
  }
  .nome_proxecto {
    margin-left: 25px;
    font-size: 30px;
  }
  /* .pagina_actual {
    padding-bottom: 5px;
  } */
  .menu_lateral {
    top: 48px;
  }
  #todo {
    margin-left: 0px;
    width: calc(100% - 45px)
  }
  .grid_container {
    /* margin-top: 0px; */
    /* padding: 0 0 5px 0; */
  }
  .grid_D2_M1 {
    grid-template-columns: auto;
  }
  #contenedor_fotos {
    grid-template-columns: 49% 49%;
  }
  .panel {
    margin: 10px 10px 0 8px;
  }
  input, textarea {
    width: 100%;
  }
  input[type="checkbox"] {
    width: inherit;
    margin: 10px 0 10px 0
  }
  label {
    padding: 20px 0 20px 0;
  }

  .material-icons {
    font-size: 24px;
  }
  h2 {
    font-size: 125%;
  }
  .escritorio {
    display: none;
  }
}

@media (max-width: 766px) {
  #contenedor_fotos {
    grid-template-columns: auto;
  }
}

body {
  color: #222;
  font: normal normal normal 100% "etelka_light_proregular", "open-sans", Helvetica, Arial, Verdana, sans-serif;
  word-spacing: normal;
  border-top: 3px solid #067FB6;
  margin: 0;
  background-color: #f1f2f6;
}
h3 {
  margin: 5px 0 5px 0;
}

h4 {
  margin: 5px 0 5px 0;
  cursor: pointer;
}
a.noDecorado {
  color: inherit;
  text-decoration: none;
}

.decorado {
  color: #067fb6;
}

.cabecera {
  background-color:#fafafa;
  border-bottom: solid 1px #ccc;
}

/* .pagina_actual {
  margin-left: 65px;
} */

.encabezado {
  /* border-bottom: 1px solid #ddd; */
  width: 100%;
}

.logo {
  display: inline;
  width: 20%;
}

.nome_proxecto {
  float:left;
  text-align: center;
  font-weight: bold;
  color: #666;
}

a>.material-icons {
  color: black;
}

a>.sin_resaltar {
  color: black;
  text-decoration: none;
}

.rojo {
  color: rgb(200,40,100);
}

.verde {
  color: #21a45a;
}

.blanco {
  color: white;
}

.amarillo {
  color: #cce12d;
}

.gris {
  color: #888;
}

input, textarea {
  border: 1px solid #e0e1e1;
  background-color: #fbfcfc;
  margin-bottom: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

input.editado {
  background-color: rgb(230, 150, 25, 0.3);
}

input.incorrecto {
  background-color: rgb(255, 24, 0, 0.3);
}

input.correcto {
  background-color: rgb(150, 230, 25, 0.3);
}

input.imposible {
  background-color: rgb(150, 150, 150, 0.3);
}

input.en_linea {
  margin-bottom: 0;
  width: 200px;
}

span.editado {
  color: rgb(230, 150, 25);
}

span.correcto {
  color: rgb(120, 210, 15);
}

label.editado {
  color: rgb(230, 150, 25);
}

textarea.editado {
  background-color: rgb(230, 150, 25, 0.3);
}

#todo {
  position: absolute;
}

#todo.zurdo {
  left: 45px;
}

#todo.diestro {
  right: 45px;
}

.grid_container {
  display: grid;
  grid-gap: 5px 5px;
  /* margin: 0 0 5px 0; */
}

.panel {
  background-color: white;
  padding: 10px;
  box-shadow: 1px 1px 5px -3px;
  vertical-align: bottom;
  border-radius: 8px;
}

.busqueda {
  padding: 10px;
  border-radius: 8px 8px 0 0;
}

#textoBuscar {
  margin: 0;
}

h2 {
  margin: 0 0 10px 0;
}

.linea {
  margin: 10px 0 10px 0;
  border-top: solid 1px #ccc;
}

.izquierda {
  float:left;
  margin-left: 10px;
}
.derecha {
  float:right;
  margin-left: 10px;
}

.menu_lateral {
  background: rgb(0,44,90,0.95);
  padding: 0px 0px 10px 0px;
  position: absolute;
  height: 100%;
  box-shadow: 1px 1px 9px -5px;
  overflow: hidden;
  z-index: 1001;
  width: 45px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.menu_lateral.zurdo {
  left: 0;
}

.menu_lateral.diestro {
  right: 0;
}

#boton_abrir, #boton_cerrar {
  margin-left: 12px;
}

aside {
  color: white
}

aside.width {
  width: 200px;
}

.icono_menu {
  margin: 10px;
}

.azul {
  color: #00B7E2;
}

aside.menu_lateral ul {
  list-style: none;
  width: 100%;
  padding: 14px 10px 10px 0px;
}
aside.menu_lateral ul li {
  border-bottom: 1px solid #ccc;
  padding: 10px 10px;
  position: relative;
}
aside.menu_lateral ul li a {
  font-size: 14px;
  color: white;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}
aside.menu_lateral ul li a span {
  display: inline-block;
  vertical-align: middle;
  width: 38px;
}

aside.menu_lateral ul li a span i {
  font-size: 24px;
}

aside > ul > li.resaltado {
  border-left: solid 5px rgb(240,160,0);
  padding-left: 5px;
}

aside > ul > li:hover {
  border-left: solid 5px rgb(240,160,0);
  padding-left: 5px;
}

aside > ul > li > a > span > i.resaltado {
  color: rgb(240,160,0);
  padding-left: 1px;
}

aside ul li a span.notif {
  position: absolute;
  top: 8px;
  text-align: center;
  width: 30px;
  height: 30px;
  right: 10px;
  background: #343436;
  line-height: 31px;
  border-radius: 100%;
  color: #fff;
}
.red {
  background: #e74c3c !important;
  box-shadow: 0px 0px 10px #e74c3c;
}
.yellow {
  background: #f1c40f !important;
  box-shadow: 0px 0px 10px #f1c40f;
}
.green {
  background: #27ae60 !important;
  box-shadow: 0px 0px 10px #27ae60;
}
aside ul li a span.notif {
    width: 10px;
    height: 10px;
    color: transparent;
    right: 5px;
    transition: all 0.2s ease;
}

aside.compacto ul li:hover a span.notif{
  top: 7px;
  left: 162px;
  width: 30px;
  height: 30px;
  color: #fff;
}
aside ul li:hover a span.notif.red {
    box-shadow: 0px 0px 60px #e74c3c;
}
aside ul li:hover a span.notif.yellow{
    box-shadow: 0px 0px 60px #f1c40f;
}
aside ul li:hover a span.notif.green{
    box-shadow: 0px 0px 60px #27ae60;
}

.clicable {
  cursor: pointer;
}

.hoverable:hover {
  box-shadow: 2px 2px 7px -4px;
}

.material-icons.noClicable {
  cursor: default;
}

.material-icons {
  cursor: pointer;
  vertical-align: sub;
  padding-bottom: 1px;
}

.tabla_ {
  text-decoration:none;
}

#clasificacion {
  margin: 15px;
}

#lista1 {
  color: rgb(0,160,240);
}

.invisible {
  display:none
}
aside.menu_lateral ul li a span.invisible {
  display: none;
}

.check {
  color: #3A3;
}

.ficha {
  height: min-content;
  display: inline-block;
  overflow-wrap: break-word;
}

.etiqueta {
  color: #282828;
  font-size: 75%;
  font-weight: bold;
  display: block;
  /* margin-top: 5px; */
}

.entre_etiquetas {
  margin: 0 0 10px 0;
}

.grid_2 {
  grid-template-columns: 48% 48%;
}
.grid_3 {
  grid-template-columns: 32% 32% 32%;
}
.boton {
  text-align: center;
  cursor: pointer;
  color: #0c3561;
}
.boton.panel {
  margin: 0;
  background-color: #0C36623D;
  box-shadow: 0 0 white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.boton.pulsado {
  background-color: #0C3662A1;
}
.boton.panel.editado {
  background-color: rgb(230, 150, 25);
  color: rgb(70, 40, 5);
}

.boton.panel.correcto {
  background-color: rgb(130, 210, 25);
  color: rgb(40, 70, 5);
}

.panel.resaltado {
  background-color: rgb(140, 221, 240);
  color: rgb(5, 52, 70);
}

.panel.incorrecto {
  background-color: rgb(255, 24, 0, 0.3);
  color: rgb(70, 5, 40);
}

tr.incorrecto {
  background-color: rgb(255, 24, 0, 0.3);
  color: rgb(70, 5, 40);
}

.boton.panel.aceptar {
  background-color: rgb(0, 178, 227);
  color: rgb(0, 44, 90);
  margin-bottom: 10px;
}

.boton.panel.aceptar.invisible {
    display: none;
}

.boton.panel.cancelar {
  background-color: rgb(240, 20, 20);
  color: rgb(48, 0, 0);
}
table > tbody > tr > th {
  padding: 5px;
  border: 1px dotted #888;
}
table > tbody > tr > td {
  padding: 5px;
  border: 1px dotted #888;
  text-align: center;
}
table {
  font-size: 90%;
  /* cursor: pointer; */
  border: 1px solid;
  border-collapse: collapse;
}

.tag {
  border-radius: 8px;
  padding: 5px;
  font-size: 90%;
  white-space:nowrap;
  cursor: pointer;
  line-height: 35px;
}

div>.tag {
}

.tag.hoverable:hover, .tag.resaltado {
  box-shadow: 0px 0px 1px 2px #a00;
}
.tag.resaltado_azul {
  box-shadow: 0px 0px 1px 2px #04a;
}
.tag.resaltado_verde {
  box-shadow: 0px 0px 1px 2px #0a0;
}
