@media (min-width:769px){
  tr td:last-child {
    padding-right: 60px !important;
  }

  .barra-filtro{
      display:none;
  }

  /* th i.iconitos{
    margin-top:28.8px !important
    ;
  } */

  th input{
    border-radius: 8px;
  }
}



@media(max-width:300px){
  table.dataTable.nowrap th, table.dataTable.nowrap td {
    white-space: unset !important;
  }
}

@media (max-width: 768px) { 

  table tr button{
    width:auto !important;
  }

  td button{
    margin-top:0px !important;
  }

  span.asunto{
      display: flex;
      flex-direction:row;
    justify-content: center;
    width: 75%;
    text-wrap: wrap;
 
  }

  table tr td:first-child {
    padding-left:8px !important;
  }
  .barra-filtro{
      display:block;
  }

  html{
      max-width: 100vw !important;
      zoom:normal !important;
  }

  body{
      width: 100dvw !important;
  }
  
  .idiomasCenter {
      width: 100vw !important;
      margin-right:0px !important;
      padding-right: 0px !important;
      justify-content: center !important;
  }

  td span .etiqueta-round{
      font-size: 12px !important;
  }

  th:hover{
    cursor:pointer;
  }
  
  th input:hover{
    cursor:text;
  }
  th{
    min-width: fit-content;
  }
  table td{
    background-color: white !important;
  }



  .usuario-tarea{
    font-weight: 700;
    padding:4px 8px;
    border: 1px solid rgb(82, 82, 82);
    border-radius: 6px;
  }

  table {
    border-collapse: collapse;
    width: 100vw !important;
    
    display:flex;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }

  tbody{
      display:flex;
      flex-direction: column !important;
      justify-content: center !important;
      align-items: center !important;
      font-size: 1.4rem !important;
  }

  td.acciones{
    display:flex;
    flex-direction: row !important;
    justify-content:  space-around !important;
  }

  .acciones i{
    font-size: 22px !important;
  }

  th, td {
    display:flex;
    flex-direction:column !important;
    justify-content: center !important;
    align-items: center !important;
    align-content: center!important;
    text-align: center !important;
    padding: 8px;
    text-align: left;
    display: block;
    width: 100%;
    /* font-size: 1.4rem !important; */
    font-size: 14px !important;

  }



  .tarea-form .center{
    display: block !important;
  } 

  td button{
      background-color: transparent !important;
  }

  .modalWindowHistorial {
      max-width: 90%;
      margin: 10% auto;
      overflow-y: auto; 
      max-height: 80vh; 
      padding: 15px; 
  }

  table.dataTable.row-border > tbody > tr > *, table.dataTable.display > tbody > tr > * {
    border:none !important;
  }
  .textoDetalle {
      font-size: 1.4rem !important;
      line-height: 1.6;
      word-wrap: break-word; 
      overflow-wrap: break-word; 
  }

    /* select{
      width:100% !important;
  } */
  .email-fecha-incidencia{
      font-size: 1.4rem !important;
  }

  td select{
      width:100% !important;
      font-size: 1.4rem !important;
      height: 80px !important;
  }

  tr {
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center !important;
    text-align: center;
    width: 90vw !important;
    margin-bottom: 70px !important;
    margin-top:20px;
    border-radius:16px !important;
    background-color: #ffffff !important;
    padding: 5px !important;
  }

  .fa-arrows-rotate , .fa-trash{
    font-size: 40px !important;
  }

  .fa-trash{
    margin-left: 40px !important;
  }
  
  .selectorTipo, .selectorEstado, .selectorTecnico {
    width: 100% !important;
    max-width: none !important;
   
  }

  .selectorTecnico{
     margin: 5px 0;
  }
  
  table tr td:last-child {
    padding-right:18.3px !important;  
  }

  .motivo{
    max-width:  none !important;
  }


  td:empty {
    display: none;
  }
    
  tr td:not(:last-child) {
    background-color: transparent !important;
    position: relative !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  tr td:last-child {
      margin: 20px auto;
      
  }

  table.dataTable.stripe > tbody > tr:nth-child(odd) > *, table.dataTable.display > tbody > tr:nth-child(odd) > *{
    box-shadow: none !important;
  }


  tr td:first-child {
    margin-top: 20px;
    padding: 8px !important;
  }

  table.datatable.stripe tbody tr .odd{
    background-color: transparent !important;
  }

  table.datatable.display tbody tr .odd{
    background-color: transparent !important;
  }

  #filtro5{
    display:block !important;
  }

  tr{
    background-color: white !important;
  }

  tr td{
    background-color: white !important;
  }
  
  
  td::before {
    content: attr(data-label);
    position: absolute;
    left: 8px;
    top: 8px;
    font-weight: bold;
  }

  .modalWindowHistorial {
    max-width: 90%;
    margin: 10% auto;
  }
  
  
  .email-fecha-incidencia,
  .detalle-incidencia,
  .anadir-nota {
    display: block;
    width: 100%;
  }

  body.modal-abierto,
  html.modal-abierto {
    overflow: hidden !important;
    height: 100% !important;
    position: fixed !important;
    width: 100% !important;
  }

  .modalWindowHistorial {
    max-height: 80vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  .botonCerrar {
    display:flex !important;
    flex-direction:column !important;
    justify-content: center !important;
    text-align:center !important;
    font-size: 16px !important;
    height:30px !important;
    width: 30px !important;
    border-radius: 50% !important;
  }

  .x-close {
    border-radius: 50% !important;
    font-size: 24px !important;
    background-color: #6e73b8 !important;

    height:30px !important;
    width: 30px !important;
    color: rgb(255, 255, 255) !important;
  }

  .textoDetalle {
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  input[type="datetime-local"] {
    font-size:16px !important; 
    border: 2px solid #ccc;
    background-color: #ffffff !important;
    width: 75% !important; 
    box-sizing: border-box; 
    transition: border-color 0.3s ease;
  }


  input[type="datetime-local"]:focus {
    border-color: #4A90E2;
    background-color: #ffffff; 
    outline: none;
  }

  td button{
    margin-top:10px;
    width:100% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
  }

  td b {
    display: flex;
    flex-wrap: wrap !important;
    justify-content: center;
    margin-bottom:10px;
  }

  tr:last-child {
      padding-top: 14px !important;
      padding-bottom: 14px  !important;
  }
  
  table, tbody{
    background-color:  transparent !important;
  }

  tr select.selectorTipo, .selectorEstado {
    width: 75% !important;
  }

  .visibleMobile{
    display:none;
  }
  tr input,
  tr select,
  tr textarea,
  tr button {
    height: auto !important;
    padding: 4px 10px !important; 
    font-size: 16px !important;
    font-family: inherit;
    line-height: 1.2 !important;
    border-radius: 8px !important;
    width: 75% !important;
  }
  tr td{
    width:100% !important;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 80% !important;
  }

  span.inicio {
    padding-bottom: 0px !important;

        width:100% !important;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .fin{
       width:100% !important;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

  }
  tr li{
    width:100%;
  }
  .textoDetalle{
    font-size: 16px !important;
  }

  tr, 
  tr * {
    font-size: 16px !important;
    box-sizing: border-box;
  }

  /**filtro minimalista mobile**/

  .barra-filtro {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fefefe;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}


  .apple-style-input {
      flex: 1;
      margin-left: 0.75rem;
      padding: 0.6rem 1rem;
      font-size: 1rem;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
      color: #333;
      background-color: #f9f9f9;
      border: 1px solid #ddd;
      border-radius: 12px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
      outline: none;
  }

  body {
    padding-top: 70px; /* alto real de la barra */
  }
    
}
  