/* Tablets  */
@media only screen and (min-width: 768px) and (max-width: 1281px)   {

    table.dataTable td.sorting_1 {
        min-width:60px;
    }

    table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td:first-child:before, 
    table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th:first-child:before {
        top: 50%;
        left: 6px;
        height: 20px;
        width: 20px;
        margin-top:-10px;
        border-radius: 20px;
        line-height: 20px;
        cursor: pointer;
    }

    .check_seleccion {
        float: right;
        /*margin: 10px;*/
    }

    .thead_style input{
        /*width: auto !important;*/
        min-width: 20px;
    }

    table.dataTable>tbody>tr.child ul.dtr-details {
        width: 100%;
        padding: 15px 0;
    }    

    table.dataTable>tbody>tr.child ul.dtr-details>li .dtr-data a {
        width: 60px;
        display: inline-block;
        text-align: center;
        border: 1px solid #ccc;
    }
    button.estado {
        padding: 10px;
        width: auto !important;
    }
}

/* MEDIA QUERIES */

@media (min-width: 564px) {
    textarea#motivo {
      height: 200px !important;
      resize: none;
    }
  }


/* Extra small devices (phones, 640px and down) */
@media only screen and (max-width: 640px) {
    .h1, h1 {
        font-size: 2rem;
    }

    .head_nav {
        padding:0;
    }

    .control_scroll_continuo {
        margin: 0;
    }
    
    .gestiones {
        padding-right: 5px;
        padding-left: 5px;
    }

    .info-usuario {
        padding-right: 5px;
        padding-left: 5px;
    }

    .usuario span{
        display:none;
    }

    .usuario a span{
        display:none;
    }    

 
    .modal {
        height:auto;
    }

    /* Important part */
    .modal-dialog{
        overflow-y: initial !important
    }

    .modal-body{
        height: 60vh;
        overflow-y: auto;
    }

    .select_accion_masa_div,
    .mostrar_ocultar_columnas_div {
        width:100%;
    }

    .mostrar_ocultar_columnas_div,
    #mostrar_ocultar_columnas {
        float: none;
    }

    #tabla_facturas_length {
        display: none;
    }


    #tabla_facturas_filter,
    #tabla_facturas_filter label, 
    .dataTables_wrapper .dataTables_filter input {
        width:100%;
    }

    .dataTables_wrapper .dataTables_filter input {
        margin-left: 0; 
    }

    .dataTables_wrapper .dataTables_length, 
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: left;
    }

    .dataTables_wrapper .dataTables_filter label{
        width:100%;
    }

    .dataTables_wrapper .dataTables_length {
        display:none;
    }

    .ms-options-wrap > button:focus, 
    .ms-options-wrap > button {
        width: 100%!important;
    }

    #tabla_facturas td,
    table.dataTable td {
        line-height: 3rem;
        font-size:1em;
        line-height: 1em;
    }

    table.dataTable td.sorting_1 {
        min-width:60px;
    }

    table.dataTable tbody td {
        padding: 1em 0;
    }

    table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td:first-child:before, 
    table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th:first-child:before {
        top: 50%;
        left: 6px;
        height: 20px;
        width: 20px;
        margin-top:-10px;
        border-radius: 20px;
        line-height: 20px;
        cursor: pointer;
    }

    .check_seleccion {
        float: right;
        margin: 10px;
    }


    .thead_style input{
        /*width: auto !important;*/
        min-width: 20px;
    }

    .navbar-nav h2 {
        margin-left: 0;
        margin-top: 0.15em;
        font-size: 1.5rem;
    }    

    button.estado {
        padding: 10px;
        width:auto !important;
    }    

    table.dataTable td {
        font-size: 1em;
        
    }

    table.dataTable td {
        padding: 15px 0; 
    }

    table.dataTable>tbody>tr.child ul.dtr-details {
        width: 100%;
        padding: 15px 0;
    }

    table.dataTable>tbody>tr.child ul.dtr-details>li .dtr-data a{
        width:60px;
        display: inline-block;
        text-align: center;
        border: 1px solid #ccc;
    }

    .modal-footer {
        padding: 1rem 0;
    }

    .modal-footer .row > div{
        padding-left: 0;
        margin-bottom:15px;
    }
    #footer {
        display:none;
    }
    

} 


