/***** captcha *****/
.h-captcha {
  margin-left: calc(0.9em);
}

a.link {
  display: none !important;
}

/***** header.php *****/
#body-row {
  margin-left:0;
  margin-right:0;
  display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}

#sidebar-container {
  /*min-height: 100vh;   */
  width: 164px;
  background-color: #000;
  padding: 0;
  -webkit-box-shadow: 1px 0 14px 0 #101010;
  margin-top: 4.7em;
    position: fixed;
    overflow-y: auto;
    top: 0;
    bottom: 0;
    z-index: 3;
}

/* Ocultar el scrollbar del sidebar */
#sidebar-container::-webkit-scrollbar {
  display: none;
}

.text-muted{
  color: white !important;
}

/* Sidebar sizes when expanded and expanded */
.sidebar-expanded {
  width: 160px;
}
.sidebar-collapsed {
  width: 60px;
}

/* Menu item*/
#sidebar-container .list-group a {
  height: 50px;
  color: white;
}

/* Submenu item*/
#sidebar-container .list-group .sidebar-submenu a {
 /* height: 45px; */
 width: 135px;
    /* padding-left: 20px;*/
    background: white;
    color: black;
}
.sidebar-submenu {
  font-size: 0.9rem;
}

.list-group-item-action:hover {
  background: #495057 !important;
  color: white !important;
}

.d-md-block {
  display: block!important;
} 

/* List Group Item */
.list-group-item {
  position: relative;
  display: block;
  padding: 0.75rem 0.25rem;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.125);
}

ul.list-group {
  margin-bottom: 5em;
}

.bg-dark {
  background-color: #000000!important;
}

a.bg-dark:focus, a.bg-dark:hover, button.bg-dark:focus, button.bg-dark:hover {
  background-color: #6f6f6f!important;
}

/* Separators */
.sidebar-separator-title {
  background-color: #333;
  height: 48px;
  padding-top: 17px;
}
.sidebar-separator {
  background-color: #333;
  height: 25px;
}

/* Closed submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="false"] .submenu-icon::after {
  
  font-family: FontAwesome;
  content: "+";
  display: inline;
  text-align: right;
  padding-left: 10px;
}
/* Opened submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="true"] .submenu-icon::after {
  content: "-";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 10px;
}

.footer-custom{
  position: fixed;
  bottom: 0;
  width: inherit;

}

.footer-custom section.mb-4 {
  inline-size: max-content;
  margin-left: -10px;
}


/***** NAVBAR PRINCIPAL *****/
#navbar-principal{
  background: #000 !important;
  padding-right: 2%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  -webkit-box-shadow: 1px 0 14px 0 #101010;
  position: fixed;
    width: 100%;
    max-height: 25%;
    z-index: 3;
}

div#menus-desplegables {
  display: flex;
  color: white;
}

#navbar-principal-index {
  background: #000 !important;
  padding-right: 25%;
  /* display: flex; */
  /* flex-direction: row; */
  /* flex-wrap: wrap; */
  /* justify-content: space-between; */
  -webkit-box-shadow: 1px 0 14px 0 #101010;
  position: absolute;
  width: 100%;
  max-height: 15rem;
  z-index: 3;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgb(255 255 255);
}

#dropdown-menu-user.show {
  display: block;
  margin-left: 16%;
}

#dropdown-menu-group.show {
  display: block;
  margin-left: -29%;
}

.dropdown-item:hover {
  background-color: #333;
  color: white !important;
}

#logo-navbar-header{
  position: relative;
  margin-right: 36%;
  width: 14rem;
}

.btn-secondary:not(:disabled):not(.disabled).active, 
.btn-secondary:not(:disabled):not(.disabled):active, 
.show>.btn-secondary.dropdown-toggle {
  /* color: #fff; */
  background-color: #545b62;
  border-color: #ffffff;
}

#dropdown-usuario:hover{
  background-color: black;
}

#form-login {
  position: absolute;
  padding-top: 17rem;
  width: 19rem;
}

.input-login {
  width: 19rem;
  height: 2.5rem;
  position: inherit;
}

/***** header-index.php *****/
.simple-login-container{
  position: absolute;
  width: 300px;
  max-width: 100%;
  margin-left: 38vw;
  margin-bottom: 5%;
}
.simple-login-container h2{
  text-align:center;
  font-size:20px;
}

.simple-login-container .btn-login{
  background-color:#525252;
  color:#fff;
}

#logo-navbar-index{
  position: relative;
    margin-left: 19vw;
}

#texto-descripcion-index {
  margin-left: 35%;
  margin-right: 1%;
}

#logo-cyltv-index {
  margin-top: 2%;
  margin-left: 44%;
  margin-right: 1%;
}

a b {
  font-weight: bolder;
    font-family: raleway;
    font-size: 40px;
    color: white;
}

a:hover {
  color: #000000;
  text-decoration: underline;
}


/***** footer.php *****/
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1;
}

.mb-4, .my-4 {
  margin-bottom: 0px!important;
}

.pt-4, .py-4 {
  padding-top: 0rem!important;
  padding-bottom: 0.5rem;
} 

.btn-dark {
  color: #fff;
  background-color: #343a40;
  border-color: white;
}

body{ /*ajustamos el body para que no se meta en el footer */
    padding-left: 0px;
    background: #dedddd;
}

/***** index1.php *****/
.btn-block, .btn-login{
  height: 45px;
}

.text-center.p-3 {
  padding: 2px !important;
}

#container {
  margin-left: 160px;
  margin-top: 1%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  align-content: stretch;
  justify-content: flex-start;
}

a.page-link.btn-dark {
  background-color: #6c757d;
}

.page-item.active .page-link{
  background-color: #333;
  border-color: #6c757d;
}

.page-link:hover {
  color: white;
  border-color: #333;
  background-color: #333 !important;
}


/***** FORMULARIO DE insertardata.php *****/


.oculto{
  display: none;
}

.inner.show {
  max-height: 400px !important;
  display: inline-block;
  background: #efefef;
  border-radius: 4px;
  
  box-shadow: 0 0 5px;
  margin-left: 0.5vw;
  padding-bottom: 8px;
  position: fixed;
  z-index: 1;
}

.dropdown-menu.show {
  display: contents;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder {
  color: gray !important;
  height: 30px;
    padding-left: 2%;
    font-style: italic;
    font-size: smaller;
    background: none;
}

#insertarficha-nombreprograma-nombreficha .bootstrap-select>.dropdown-toggle.bs-placeholder {
  
  color: gray !important;
  margin-left: 0;
  height: 29px;
  /* padding: 0%; */
  font-style: italic;
  font-size: smaller;
  padding-left: 0%;
}

#insertarficha-nombreprograma-nombreficha .bs-searchbox {
margin-left: -4%;

}

.bootstrap-select .dropdown-toggle .filter-option {
  position: absolute;
  top: 0;
  left: 0;
  padding-top: inherit;
  padding-right: inherit;
  padding-bottom: inherit;
  padding-left: inherit;
  height: 100%;
  width: 100%;
  text-align: left;
  /*background-color: white;*/
  border-color: black;
}

.bootstrap-select>.dropdown-toggle {
  position: relative;
  width: 100%;
  z-index: 1;
  text-align: right;
  white-space: nowrap;
  border-color: black;
}

.show>.btn-light.dropdown-toggle {
  color: #212529;
  background-color: #ffffff;
  border-color: #000000;
}

.bs-searchbox {
  padding: 5px 9px;
  width: 234px;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding-left: 7% !important;
  padding-top: 0%;
  padding-bottom: 0%;
  overflow: hidden;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-item:active,
.dropdown-item.active {
  color: #fff;
  text-decoration: none;
  background-color: #a5a5a5;
}


ul.dropdown-menu.inner.show li {
  margin-top: 0.5em;
}

.form-control:focus {
  color: #000000;
  background-color: #fff;
  border-color: #6d7072;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgb(52 52 52 / 25%);
}

button.btn.dropdown-toggle.bs-placeholder.btn-light {
  border-color: #80808052 !important;
}


select {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  /*border-color: black !important;*/
  border-radius: 3px;
}

.picker .pc-select .pc-list {
  position: inherit !important;
}

.picker .pc-select .pc-list li {
  display: contents !important;
  list-style: none;
  padding: 0 0 0 8px;
  cursor: pointer;
  color: #666666;
  word-wrap: break-word;
}

#container-insertar{
  margin-left: 11em;
  margin-top: 5.5em;
  margin-bottom: 4.5em;
  width: 83%;
}

#container-insertar h4{
  font-size: 1.5rem;
  /*background: black;*/
  color: #767676;
  width: fit-content;
}

.etiqueta-titulo {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 0.5em;
}

.row-titulo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

#ultimos-contenidos-anadidos {
  margin-left: 11em;
    margin-top: 5.5em;
    margin-bottom: 1em;
  width: 83%;
  display: flex;
  justify-content: space-between;
  
}

.ultimos-registros {
  margin-right: 3em;
  margin-left: 11.2em;
    padding-bottom: 3px;
}


.ultimos-registros>.table-striped {
  white-space: break-spaces;
}

#ultimos-contenidos-anadidos h4{
  font-size: 1.5rem;
  /*background: black;*/
  color: #767676;
  width: fit-content
}

#registros-sin-formato h4{
  color: #767676;
  
}

#registros-sin-formato {
  margin-left: 11em;
  margin-top: 5.5em;
  margin-bottom: 1em;
  width: 83%;
  display: flex;
  justify-content: space-between;
}

.formato-checkbox {
  width: auto;
  float: none;
  zoom: 2;
}

#asignar-formato {
  text-align: end;
  padding: 1em;
}

#formatosWrapper-regSinFormato {
  padding-top: 0.3em;
}

#boton-asignar-formato { 
  margin-top: 0.3em;
  margin-right: 3em;
}

#busqueda-contenidos {
  margin-left: 11em;
    margin-top: 5.5em;
    margin-bottom: 4.5em;
  width: 83%;
}

#busqueda-contenidos h4{
  font-size: 1.5rem;
  /*background: black;*/
  color: #767676;
  width: fit-content
}

#labelHD input, #labelHD label{
  width: 21px;
  display: inline-block;
  margin-left: 5px;
  height: 15px;
}

#labelIntervaloFechas input {
  width: 160px;
  display: inline-block;
  margin-left: 1px;
  height: 30px;
} 

#labelIntervaloFechas {
  box-sizing: content-box;
  text-align-last: left;
}

#input-archivado {
  width: 236px;
}
#boton-insertar-datos{
  float: right;
}
#boton-buscar-datos,
#boton-reset-datos {
  width: 5vw;
    height: 8vh; 
}

.borrar-cap-header {
  margin-left: 2vw;
}

.btn_eliminarCapitulo {
  margin-top: -0.2rem;
  margin-left: 1.4rem;
  padding-top: 0px;
  border-radius: 6px;
  border: none;
  height: 2.5rem;
  width: 2.5rem;
  background: #c1c1c1;
}

.btn_eliminarCapitulo:hover {
  cursor: pointer;
  background: #fb0000;
  transition: 0.3s;
}

#form-busqdata {
  margin-bottom: 5vh;
  width: 100vw;
}

#switches-busqdata {
  margin-top: 1%;
}

.label-corto label{
  width: 5em;
}

.busqueda1 label, .busqueda2 label {
  font-weight: 200;
}

.busqueda1 {
  height: 6em;
}

.busqueda1 .col-3 {
  text-align-last: left;
}

.col-busqueda1 {
  margin: 0.75em;
}

.col-5 {
  /*flex: 0 0 41.666667%;
  max-width: 35%;*/
  flex: 0 0 72.666667%;
  max-width: 48%;
}

.col-6 {
  flex: 0 0 36%;
  max-width: 50%;
}

.datos-modal-busqueda {
  /*max-width: 49% !important;*/
  max-width: calc(27vw) !important;
}

.datos-modal-emision {
    -ms-flex: 0 0 25%;
    flex: 0 0 30%;
    /*max-width: 28%;*/
    max-width: calc(27vw) !important;
}

.imagen-modal {
  width: -webkit-fill-available;
}

.mas-imagenes {
  background-color: #f1efef;
  border-radius: 12px;
  margin-top: 1em;
  margin-left: 3em;
    margin-right: 29em;
  padding-left: 1.5em;
  padding-bottom: 1em;
  padding-top: 0.5em;
}

#eliminar-imagen {
  color: rgb(0, 0, 0); 
  font-size:18px;
}

#descargar-imagen {
  color: rgb(0, 0, 0); 
  font-size:18px;
}

#foto {
  max-width: calc(20vw) !important;
}

.informacion-modal-busqueda>.table-responsive {
  display: contents;
  margin-bottom: 0;
  white-space: break-spaces;
}

td:nth-child(1) {
  font-weight: 500;
}

form, form p {
  /* Center the form on the page */
  margin: 1px;
  /* width: 600px; */
  padding-top: 5px;
  padding-right: 30px;
  font-size: 1rem;
    font-weight: 200;
    line-height: 1;
    margin-bottom: 0;
    /*display: inline-table;*/
}

#containerForm{
  margin-left: 0px;
}

fieldset {
  min-width: 0;
  width: 100%;
  box-shadow: 0 0 5px;
  border-radius: 7px;
  border: 0px solid #868383;
  padding: 13px;
  margin-top: -20px;
  margin-bottom: 15px;
  /*height: auto;*/
  overflow: hidden;
  background: white;
}

fieldset.active {
  /*height: 8.5rem;*/
}

#fieldset-insertar-data {
  overflow: visible;
}

#fieldset-busqueda {
  /*height: 24rem;*/
}

#fieldset-busqueda.active {
  /*height: 8.5rem;*/
}

legend {
  width: calc(35vw);
    font-size: 1.2rem;
    padding-top: 3%;
}
  
.fondo-soporte {
  background: #cfcecead;
}


/*.fieldset-icon::after{
  content: '\f0aa';
}

.fieldset-icon-expand::after{
  content: '-';
}*/

ul.pagination {
  flex-direction: row;
}

  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: flex-end;  
    flex-direction: column;
  }
  
  form li + li {
    margin-top: 1em;
  }
  
  label {
    /* Uniform size & alignment */
    display: inline-block;
    width: 162px;
    text-align: right;
    margin-bottom: 0;
    margin-right: 5px;

  }

  #label-insertar-programa {
    float: left;
    margin-top: 1%;
  }

  #label-nombre-programa-busqueda {
    float: left;
    margin-top: 3%;
}

#label-switch-todas-palabras {
  width: 200px !important;
}
  
  input {
    /* To make sure that all text fields have the same font settings
       By default, textareas have a monospace font */
    font: 1em ;
  
    /* Uniform text field size */
    width: 700px;;
    box-sizing: border-box;
    border-radius: 5px;
  
    /* Match form field borders */
    border: 1px solid #9d9d9d80;
    

    white-space: pre-line;
  }

  textarea {
    /* To make sure that all text fields have the same font settings
       By default, textareas have a monospace font */
    font: 1em ;
  
    /* Uniform text field size */
    width: 700px;;
    box-sizing: border-box;
    border-radius: 5px;
  
    /* Match form field borders */
    border: 1px solid #9d9d9d80;
    white-space: pre-line;
  }

  input::-webkit-input-placeholder,
  textarea::-webkit-input-placeholder{
    /*color:#D11141;*/
    font-size: small;
    font-style: italic;
    }

    input#textoBusqueda {
      height: 2.3rem;
      border-color: black;
      box-shadow: none !important;
      z-index: revert;
    }

  input:focus,
  textarea:focus,
  .form-control:focus {
    /* Additional highlight for focused elements */
    /*border-color: rgb(250, 4, 4);*/
    box-shadow: 0 0 6px;
  }

  
  .form-control:valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 17px rgba(128, 255, 166, 70%)!important;
  }

  .form-control:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 17px rgb(220 53 69 / 70%)!important;
  }

  textarea {
    /* Align multiline text fields with their labels */
    vertical-align: top;
  
    /* Provide space to type some text */
    min-height: 5em;
  }

  textarea#tema,
  textarea#breve,
  textarea#intervienen,
  textarea#observaciones,
  textarea#sinopsis {
    min-height: 3em;
    width: 700px;
    display: initial !important;
    padding-left: 3px;
    padding-top: 0px;
}
  
  .button {
    /* Align buttons with the text fields */
    padding-left: 90px; /* same size as the label elements */
  }
  
  button {
    /* This extra margin represent roughly the same space as the space
       between the labels and their text fields */
    margin-left: .5em;
  }

  .form-check-input, .form-check-label{
    width: 30px;
    height: 20px;
  }

  .numeroSegmentos {
    display: none;
  }

  button.btn.eliminar {
    padding: 2%;
    line-height: 20px;
    width: 55%;
    margin-top: -6%;
}

.selected {
  font-style: italic;
  font-weight: bold;
}

option[selected] {
  font-weight: bold;
}

.btn_verFicha {
  color: #191818;
  background: #ffffff;
  margin-left: 0%;
  margin-top: -0.4rem;
  padding: 0.7rem;
  border-radius: 6px;
  position: absolute;
}

.btn_verFicha:hover {
  color: black;
  background-color: #929191;
  transition: 0.3s;
}

.btn_eliminarFicha {
  margin-top: -1rem;
    margin-left: 1.4rem;
    padding-top: 0px;
    border-radius: 6px;
    border: none;
    height: 2.5rem;
    width: 2.5rem;
    background: white;
}

.btn_eliminarFicha:hover {
  cursor: pointer;
  background: #fb0000;
  transition: 0.3s;
}

button.btn.eliminar:hover {
  background: #9c9999;
}

.eligeFichas,
.rellenoFichas {
  display: none;
}

.produccion {
  display: flex;
    flex-direction: row;
    align-items: baseline;
    margin-left: 4px;
}

#texto-subtipoproduccion {
  width: 25.4rem;
}

.WrapperFichas {
  margin-top: 9px;
  margin-left: 3px;
}

.WrapperFichas.busquedaPaginada {
  margin-top: 15px;
  margin-left: 3px;
  display: flex;
}

.WrapperSegmentos{
  margin-left: 82px;
  margin-top: 5px;
}

#avanzado-mas-datos {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: larger;
}

#mas_datos {
    background: #f1efef;
    border-radius: 14px;
    margin-bottom: 1rem;
}

a.link-dark {
    color: black;
    font-weight: 400;
}
div#resolucion {
  margin-top: 5px;
}

  /***** resumen_temas.php *****/
  #container_temas{
    margin-top: 1%;
    padding-left: 260px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: space-around;
    align-items: center;
  }

  #tabla_resumen_temas{
    margin-top: 3%
  }

/***** administrar.php *****/
.botones-administrar{
  padding-left: 1%;
  margin-top: 5em;
}

.btn-secondary:hover, .admin:hover{
  background-color: #333;
}

.admin{
  margin-bottom: 10px !important;
}

/***** adminUsuarios.php *****/
#container-usuarios {
  margin-left: 11em;
    margin-top: 5.5em;
    margin-bottom: 4.5em;
  /*display: flex;*/
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 83%;
}

#container-usuarios h4{
  font-size: 1.5rem;
  /*background: black;*/
  color: #767676;
  width: fit-content;
}

#tabla-usuarios, 
#tabla-programas, 
#tabla-fichas, 
#tabla-sedes, 
#tabla-formatos, 
#tabla-contenidos,
#tabla-descriptores {
  background: white;
  box-shadow: 0 0 5px;
  border-radius: 7px;
  padding-top: 13px;
  padding-left: 13px;
  padding-right: 13px;
  padding-bottom: 3px;
  z-index: 1;
  
}

#tabla-busqueda {
  background: white;
  box-shadow: 0 0 5px;
  border-radius: 7px;
  padding: 13px;
  margin-bottom: 15px;
}



#tabla-busqueda b {
  font-weight: 700;
}

/***** adminProgramas.php *****/
#container-programas{
  margin-left: 11em;
    margin-top: 5.5em;
    margin-bottom: 4.5em;
  /*display: flex;*/
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 83%;
}

#container-programas h4{
  font-size: 1.5rem;
  /*background: black;*/
  color: #767676;
  width: fit-content;
}



/***** adminFichas.php *****/
span#basic-addon1 {
    color: white;
    background: black;
}

#container-fichas {
  margin-left: 11em;
    margin-top: 5.5em;
    margin-bottom: 4.5em;
  width: 83%;
}

#container-fichas h4{
  font-size: 1.5rem;
  /*background: black;*/
  color: #767676;
  width: fit-content;
}

#insertar_ficha{
  margin-left: 50%;
}

#insertarficha-nombreprograma-nombreficha .inner.show {
  max-height: 200px !important;
  display: inline-block;
  background: #efefef;
  border-radius: 5px;
  margin-bottom: 12%;
  margin-left: 0;
}

.botones_insertar {
  margin-left: 40%;
}


.opcionesWrapper{
  text-align: center;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
    margin-left: 4px;
    margin-top: 0.4rem;
}

.opcionesProduccion{
  display: none;
}

.opcionesForamtos {
  display: none;
}

input#nombreprograma,
input#nombreficha,
input#temporada, 
input#fechatemporada, 
input#capitulotemporada,
input#capitulo, 
input#totalcapitulos,
input#duracion,
input#duracionsegmento1,
input#duracionsegmento2,
input#duracionsegmento3,
input#duracionsegmento4,
input#derechosstart,
input#derechosend,
input#numpases,
input#sedearchivado,
input#hashtag,
input#capitulo_temporada,
input#fechaestreno,
input#fechaarchivado,
input#titulo,
input#descriptores,
input#lenguajesignos,
input#audiodescripcion,
input#subtitulos {

  width: 201px;
    display: initial;
    height: 1.7rem;
    padding: 0%;
  

}

select#segmentos,
select#tipoproduccion,
select#subtipoproduccion,
select#subtipoproduccion-delegada,
select#sedearchivado,
select#emisionseriada,
select#formato,
select#numeroFormato,
select#resolucion {
  width: 201px;
  display: initial;
    height: 1.7rem;
    padding: 0%;
    /*border-color: #60606047;*/
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
  width: 201px !important;
  
}

.bs-searchbox .form-control {
  margin-bottom: 0;
  width: 92% !important;
  float: none;
}


.bs-searchbox .form-control:valid:focus {
    border-color: gray;
    box-shadow: 0 0 17px gray !important;
}


.was-validated .form-control:valid {
  border-color: gray !important;
}

input#hashtag {
/*margin-left: 4.3rem;*/
}

input#duracionsegmento1,
input#duracionsegmento2,
input#duracionsegmento3,
input#duracionsegmento4{
  width: 60px;
}

.dursegmentos {
  width: 80px;
}

.opcionesWrapperSegmentos {
  padding-left: 130px;
  padding-top: 10px;
}

.form-check-inline {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
  text-align-last: justify;
  padding-left: 0;
  margin-right: 1.75rem;
}

#imagen-verFicha {
  width: 15%;
}

/**** adminPermisos.php ****/
#tabla-permisos-usuario-programa td:nth-child(1) {
  width: 25%;
}


/****** BOTONES TOGGLE *****/

:focus {
  outline: 0;
}

.wrappper {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items:center;
}

.custom-control {
  z-index: 2;
  position: static;
}

.custom-control-input {
  position: absolute;
  z-index: -1;
  opacity: 0;
  outline: 0;
  width: 5%;
}

.custom-control-input:focus {
  outline: 0;
  /*border: 1px solid black;*/
}
.custom-control-input:focus ~ .custom-control-label::before{
  /*border: 1px solid black;*/
}

.custom-control-label::before {
  height: 23px;
  background-color: #ff2929;
  border: 0;
  
  transition: background-color .15s ease-in-out;
}
.custom-switch .custom-control-label::before {
  left: 11.8rem;
  top: -1px;
  width: 46px;
  border-radius: 30px;
  box-shadow: none;
}

.custom-switch .custom-control-label::after {
  width: 18px;
  height: 18px;
  top: 1.5px;
  left: calc(11.9rem + 1.6px);
  background-color: #fff;
  border-radius: 1.5rem;
  transition: transform 0.15s ease-in-out 0s, background-color 0.15s ease-in-out 0s;
}

label#switch-fichas::before{
  left: -1.2rem;
  top: -17px;
  width: 46px;
  border-radius: 30px;
  box-shadow: none;
}

label#switch-fichas::after{
  width: 18px;
    height: 18px;
    top: -15.5px;
    left: calc(-1.1rem + 1.6px);
    background-color: #fff;
    border-radius: 1.5rem;
    transition: transform 0.15s ease-in-out 0s, background-color 0.15s ease-in-out 0s;
}

.custom-control-input:checked~.custom-control-label::before {
  color: #fff;
  border: 0;
  background-color: #38ff00;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
   transform: translateX(1.5rem);
}

/***** DESCRIPTORES *****/
#descriptoresOK-tokenfield {
  /*width: 43.4rem!important;*/
}

.tokenfield.form-control {
  width: 700px;
  margin-left: 171px;
  margin-top: -15px;
  border-color: lightslategray;
  height: 33px;
  min-height: 19px;
  padding-top: 3px;
}

.tokenfield .token {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  display: inline-block;
  border: 1px solid #d9d9d9;
  background-color: #ededed;
  white-space: nowrap;
  margin: -1px 5px 5px 0;
  height: 27px !important;
  vertical-align: top;
  cursor: default;
}

ul#ui-id-1 {
  display: none;
  min-width: 698px;
  top: 694.297px;
  left: 377px;
  width: 699px;
  flex-direction: column;
  align-items: flex-start;
  color: #7e7e7e;
}

.ui-menu .ui-menu-item-wrapper {
  position: relative;
  padding: 2px 1em 1px 0.4em;
  font-style: normal;
  font-weight: 200;
  font-size: 14px;
}

#boton-eliminar-descriptor {
  width: 10%;
  margin: 0rem;
}

#boton-eliminar-descriptor:hover {
  
    cursor: pointer;
    background: #fb0000;
    transition: 0.3s;

}

.form-control {
  /*display: initial;
  padding: 0.1rem;
  height: 1.7rem;
  width: auto;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #999;
  white-space: pre-line;*/
}
/***** FOTO DE PORTADA *****/
img#foto-portada {
    height: calc(10vh);
    width: calc(7vw);
}

img#foto-portada-editar{
  height: 150px;
}

div#response {
  padding-left: 9%;
}

/***** FORMULARIO DE BÚSQUEDA busqdata.php *****/
input#keywords,
input#busqueda {
  width: 60%;
  height: 31px;
}

input#capitulo_busqueda,
input#temporada_busqueda {
  height: 31px;
  width: 10%;
}

#busqueda_programa label {
  margin: 0;
  width: 7em;
}

#keywords-busqdata {
  margin-bottom: 2vh;
}
.row.busqueda2 {
  display: flex;
  justify-content: flex-end;
  margin-right: 6%;
}

#resaltar_busqueda {
  margin-left: 5%;
  display: none;
}

mark {
  padding: 0;
  background-color: yellow;
}

div#informacion {
  /*white-space: break-spaces;*/
}

#capitulo-temporada-busqueda {
  padding-top: 5%;
}

#select-programa-busqueda {
  padding-top: 3%;
  width: max-content;
}

div#tabla-soporte-busqueda {
  padding-top: 3%;
}

.switch-busqueda{
  margin-top: 10px;
  margin-left: -12px;
}

#select-programa-busqueda .inner.show {
  max-height: 130px !important;
  background: #efefef;
  border-radius: 3px;
}

.modal-dialog {
  max-width: 75%;
  margin: 0.2rem auto;
  transition: transform .3s ease-out,-webkit-transform .3s cubic-bezier(0.18, 0.89, 0.32, 1.28) !important;
}

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0.5rem;
}

.titulo-tabla-busqueda {
  text-align: center;
    background: lightgray;
    font-size: 20px;
}

.no-rights {
  background: red;
}

.search-result {
  min-height: 11vh;
}

.search-result-left-container {
  
    height: 100%;
    width: 10%;
    overflow: hidden;
    position: relative;
    /*display: inline-block;*/
    float: left;
    
}

.search-result-right-container {
 
    height: 100%;
    width: 90%;
    overflow: hidden;
    position: relative;
    display: inline-block;
    padding: 1px 0 24px 0px;
    
}

img#foto-portada-no-encontrada {
    width: calc(8vw);
    margin-top: 1vw;
    padding-right: 0.3vw;
}

.thumbnail {
  width: 150px;
  height: 100px;
  margin-top: 6%;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  
}

.thumbnail-capitulo {
  /*width: 150px;*/
  height: 100px;
  /*margin-left: 6vw;*/
  background-position: center;
  background-size: contain;
  cursor: pointer;
  
}

.thumbnail-mas-imagenes {
  width: 10vw;
  height: 6vw;
  margin-top: 0.1em;
    margin-bottom: 1em;
    margin-right: 1em;
}

span.field {
  display: block;
  margin-top: 5px;
    margin-bottom: 9px;
}

span.fas.fa-solid.fa-ban.mr-3 {
  cursor: pointer;
}

span.fas.fa-solid.fa-ban.mr-3:hover {
  background: red;
}

.search-result-label {
  font-weight: 500;
}

.search-result-field-value {
  white-space: break-spaces;
  margin-right: calc(2vw);
}

.mainTitle {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: bold;
}

.main-title {
  cursor: pointer;
  color: black;
}

.main-title:hover {
  cursor: pointer;
  color: #444444 !important;
}

#container-generar-id {
  margin-top: 7%;
  margin-left: 10%;
  margin-right: 2%;
}

#container-generar-id h4 {
  font-size: 1.5rem;
  background: black;
  color: white;
  width: fit-content;
  margin-left: 3%;
}

#container-contenidos-productora {
  margin-left: 13%;
  margin-top: 6%;
  margin-right: 2%;
}

#container-contenidos-productora h4 {
  font-size: 1.5rem;
  background: black;
  color: white;
  width: fit-content;
  /*margin-left: 3%;*/
}

#tabla-contenidos-productoras {
  background-color: white;
  box-shadow: 0 0 5px;
  border-radius: 3px;
}

.imagen {
    margin-left: calc(4vw);
}

#label-busqueda-paginada {
  margin-bottom: 2%;
    margin-left: 1%;
    padding-right: 2%;
}

select#nombreficha {
  max-width: 52%;
  display: initial;
}

.label-corto {
  max-width: 33%;
}

.label-pegada {
  width: 3em !important;
}

#busqueda_avanzada {
    margin-right: 1rem;
    flex-direction: column;
    padding-bottom: 1rem;
    background: #f1efef;
    border-radius: 5px;
    height: calc(25vh);
}

/***** estado active a tags sidebar *****/
.list-group-item.active {
  z-index: 2;
  color: #fff;
  background-color: #939393 !important;
  border-color: black;
}


@media (max-width: 1175px) {
  input {
    /*width: 201px !important;*/
  }

  input#duracionsegmento1, input#duracionsegmento2, input#duracionsegmento3, input#duracionsegmento4 {
    width: 60px !important;
  }

  textarea {
    /*width: 201px !important;*/
  }

  form p {
    width: 573px;
    white-space: nowrap;
  }

  legend {
    width: 60%;
    padding-top: 30px;
  }

  .tokenfield.form-control {
    /*width: 201px !important;*/
  }

  
  .form-check.form-check-inline {
    width: 66px;
    text-align-last: justify;
  }

  .busqueda1, .busqueda2 {
    width: 53em;
  }
}