/* FUENTE */
@font-face {
  font-family: "fajala";
  src: url(../fonts/fuente.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
}

/*Estilos generales*/

* {
  margin: 0px;
  padding: 0px;
  font-family: sans-serif, Helvetica, Arial;
  text-decoration: none;
}

.clearfix {
  clear: both;
  float: none;
}

body {
  background: url(../img/cubes_black.png) #1a1a1a;
}

/*Estilos de la cabecera*/

#cabecera {
  width: 85%;
  height: auto;
  background: transparent;
  margin: 0px auto;
  /*    border: 1px solid black;*/
}

/*LOGOTIPO*/
#logo {
  float: left;
  height: 70px;
}

#logo img {
  height: 50px;
}

#logo a {
  text-shadow: 0px 0px 0px black, 1px 1px 0px black, 2px 2px 0px black;
  transition: all 500ms;
  line-height: 100px;
  margin-left: 16px;
}

#logo a:hover {
  cursor: pointer;
  text-shadow: 0px 0px 0px black, -1px -1px 0px black, -2px -2px 0px black;
}

/*MENU*/

#menu {
  clear: both;
  width: 100%;
  height: 64px;
  background: linear-gradient(to bottom, #f9f9f9 0px, #e9e9e9 100%);
  border: 1px solid #c9c9c9;
  border-radius: 8px;
  box-shadow: 0px 1px 1px #eee;
  white-space: nowrap;

  overflow-y: hidden;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
}

#menu::-webkit-scrollbar {
  display: none;
}

#menu ul {
  display: inline-block;
  list-style: none;
  height: 100%;
}

#menu ul li {
  display: inline-block;
  border-right: 1px solid #d6d6d6;
  text-align: center;
  margin-left: -4px;
}

#menu ul li a {
  display: block;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 15px;
  color: #585858;
}

#menu ul li a:hover {
  background: linear-gradient(to bottom, #f2f2f2 0px, #dad9d4 100%);
}

.menu-icons {
  margin-top: 7px;
  height: 30px;
}

/*CONTENIDO*/

#contenedor {
  width: 85%;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

/*BARRA LATERAL*/

input,
select,
input[type="number"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 5px;
  font-size: 14px;
}

input[type="checkbox"] {
  height: 1.5rem;
}

.selectize-control {
  width: 180px;
}

.descripcion {
  display: block;
  box-sizing: border-box;
  min-width: 100%;
  max-width: 100%;
  margin: 0 2px;
  padding: 5px;
  font-size: 13px;
  margin-bottom: 5px;
}
.corta {
  height: 4em;
}
.larga {
  height: 8em;
}

.caratula {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

.form-flex {
  display: flex;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-between;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.form-flex div {
  padding: 5px;
}

.form-flex input {
  height: 30px;
}

input[type="search"] {
  /* background-image: url('../img/search_icon.svg'); */
  background-repeat: no-repeat;
  background-size: contain;
  padding-left: 30px;
}

.contenedor-botones {
  display: flex;
  justify-content: space-around;
  align-content: center;
  clear: both;
}

.contenedor-botones img {
  width: 20px;
  height: 20px;
  margin-top: 7px;
}

.contenedor-botones img:hover {
  cursor: pointer;
  fill: red;
}

input[type="button"],
input[type="submit"],
.boton {
  display: block;
  padding: 7px;
  border-radius: 5px;
  background: #007ee5;
  cursor: pointer;
  color: white !important;
  margin-bottom: 10px;
}

.boton {
  text-align: center;
  width: 130px;
  margin-bottom: 5px;
  background-color: darkred;
  color: aliceblue;
}

.boton:hover {
  cursor: pointer;
  background-color: red;
}

.boton-naranja {
  background: orange;
  border-color: #a96d00;
}

.boton-verde {
  background: #0dab0d;
  border-color: green;
}

.boton-rojo {
  background: #cc0033;
}

.boton-borrar {
  margin-top: 20px;
  clear: both;
}

/*ALERTAS*/

.alerta {
  padding: 5px;
  font-size: 14px;
  color: white;
  background-color: green;
  box-shadow: 0px 1px 3px #ccc;
  margin-bottom: 15px;
  margin-top: 5px;
  border-radius: 2px;
}

.alerta-error {
  background-color: #cc0033;
}

.alerta-mensaje {
  background-color: green;
}

/*PRINCIPAL*/

#principal {
  box-sizing: border-box;
  float: left;
  width: 100%;
  min-height: 565px;
  background: white;
  border-radius: 5px;
  box-shadow: 0px 0px 5px #ccc;
  overflow-y: hidden;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
  margin-bottom: 20px;
}

#principal a {
  color: #444;
}

#principal h1 {
  font-size: 32px;
  color: rgb(209, 0, 0);
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px #ccc;
  font-family: "fajala";
}

#principal h2 {
  font-size: 20px;
  color: #2979cd;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px #ccc;

  font-family: "fajala";
  margin-top: 25px;
}

#principal p {
  margin-top: 8px;
}

.listado-lineas-colores {
  list-style: none;
}
.listado-lineas-colores li {
  padding: 5px;
}
.listado-lineas-colores li:nth-child(even) {
  background-color: #eeeeee;
}
.listado-lineas-colores form {
  padding: 5px;
}
.listado-lineas-colores form:nth-child(even) {
  background-color: #eeeeee;
}
.listado-lineas-colores input {
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid lightgray;
  padding: 3px;
}

.linea-tema {
  display: grid;
  grid-template-columns: 1em 1em 1fr 5fr 1fr 1em;
  align-content: center;
  font-size: 14px;
  color: gray;
  grid-column-gap: 5px;
}
.linea-tema a {
  align-self: center;
}

.alineado-derecha {
  text-align: right;
}

@media (max-width: 880px) {
  .linea-tema {
    grid-template-columns: 15px 1em 1fr 1fr 1em;
  }
  .nombre_tema {
    grid-column: 1/6;
    padding: 0px;
    margin: 0px;
  }
  #caratula {
    width: 100px;
    height: auto;
  }
  .codigo-salida {
    grid-column: 4/6;
    grid-row: 1/1;
  }
}

.selector {
  width: 100%;
  margin-bottom: 3px;
  background-color: rgba(0, 0, 0, 0);
}

.select2-container {
  font-size: 13px;
  width: 100% !important;
}

.formulario-interpretes-concierto {
  display: grid;
  grid-template-columns: 1em 1fr 1em;
  column-gap: 5px;
  align-items: center;
}

.formulario-interpretes-tema {
  display: grid;
  grid-template-columns: 1em 1fr 50px 70px 1em;
  column-gap: 5px;
  align-items: center;
  justify-content: center;
}
.formulario-interpretes-tema > input[type="checkbox"] {
  width: 1em;
  justify-self: center;
}

.linea-ingesta {
  display: grid;
  grid-template-columns: 1fr 1fr 1em;
  align-content: center;
  grid-column-gap: 5px;
}
.linea-ingesta a {
  align-self: center;
}

.listado-conciertos tr:nth-child(even) {
  background-color: #cccccc;
}
.listado-conciertos td {
  padding: 0px 5px;
}

/*PIE DE PAGINA*/

#pie {
  width: 85%;
  clear: both;
  margin: 0px auto;
  background: linear-gradient(to bottom, #f9f9f9 0px, #e9e9e9 100%);
  border: 1px solid #c9c9c9;
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
  color: #666;
  height: auto;
  padding: 15px;
  text-align: center;
  clear: both;
}

.icono {
  height: 1rem;
  width: auto;
  margin-right: 5px;
}

/*

INDEX
*/
.contenedor-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-content: center;
  justify-content: center;
}

.contenedor-panel img {
  height: 40px;
  background-color: #eeeeee;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 2px 2px 3px;
  margin-bottom: 3px;
}

.contenedor-panel img:hover {
  box-shadow: 0px 0px 0px;
  background-color: #dddddd;
}

.grid-item {
  margin-bottom: 30px;
}

.contenedor-panel:nth-child(1n) {
  text-align: center;
}

.estado {
  text-align: right;
  align-items: center;
}

#total-duracion {
  display: block;
  float: right;
}

#texto-filtrado {
  display: block;
  float: left;
}

/*Boton de ir arriba*/
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}
