
.top-datatable > .btn-extra{
  float: left;
}
.btn-extra .btn{
  margin-left: 5px;
}
.show-menu{
  position: absolute;
  left:10px;
  top: 10px;
  display: none;
  cursor: pointer;
  color: #E5E5E5;
  font-size: 28px;
}

.top-datatable{
  min-height: 48px;
  position: relative;
  padding:3px 3px 0 3px;
  backdrop-filter: blur(8px);
  -webkit-box-shadow: 0 3px 5px rgba(0,0,0,.5), inset 0px -15px 85px 0px rgba(0,0,0,0.7);
  -moz-box-shadow: 0 3px 5px rgba(0,0,0,.5), inset 0px -15px 85px 0px rgba(0,0,0,0.7);
  box-shadow: 0 3px 5px rgba(0,0,0,.5), inset 0px -15px 85px 0px rgba(0,0,0,0.7);
  z-index: 1;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  border-radius: 6px;
  border: 1px solid #ACACAC;
  margin-bottom: 3px;
}

.dt-buttons{
  cursor: default;
  float: right;
  vertical-align: middle;
  padding: 5px;
  display: block;
}

.DataTableButton{
  border: none;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  background-color: rgba(255,255,255,.3);
  float: left;
  transition:all .5s ease;
  animation-name: none;
}

.DataTableButton:hover{  
  background-color: rgba(255,255,255,1);
  font-weight: bold;
  -moz-box-shadow: 0 3px 5px 0 rgba(0,0,0,.5);
  -webkit-box-shadow: 0 3px 5px 0 rgba(0,0,0,.5);
  box-shadow: 0 3px 5px 0 rgba(0,0,0,.5);
}
.DataTableButton:active{  
  outline: none;
  -moz-box-shadow: 0 2px 3px 0 rgba(0,0,0,.5) inset;
  -webkit-box-shadow: 0 2px 3px 0 rgba(0,0,0,.5) inset;
  box-shadow: 0 2px 3px 0 rgba(0,0,0,.5) inset;

}
.DataTableButton:focus{  
  outline: none;
}
.DataTableButton:first-child{  
  border-radius: 3px 0 0 3px;
}
.DataTableButton:last-child{  
  border-radius: 0 3px 3px 0;
}

.section-body table{ 
    /*border-collapse: collapse;*/
    width: 100%;
    position: relative;
    margin-bottom: 80px;
    border: 1px solid #909090;
    border-radius: 8px;
    -moz-box-shadow: 0 3px 6px 0 rgba(0,0,0,.5);
    -webkit-box-shadow: 0 3px 6px 0 rgba(0,0,0,.5);
    box-shadow: 0 3px 6px 0 rgba(0,0,0,.5);
    background-color: #BBBBBB;
    border-collapse: separate;
    border-spacing: 0;
    /*border-spacing: 2px;*/
    /*border-collapse: separate;    
    /*border-collapse: collapse;*/
}
.section-body table thead tr{ 
    
    background-color: #a0a0a0;
}

.section-body table thead tr th{ 
    border: 1px solid #949494; 
    border-bottom: 4px solid #383838;
    background-color: #a0a0a0;
    padding: 10px 5px 10px 5px;
    font-size: 12px;
    position: sticky;
    top: 48px;
    text-align: center;
    text-transform: uppercase !important;
    font-family:Bahnschrift !important;
    z-index: 1;
}

.section-sub-tabla table thead tr th{
  position: sticky;
  top: 48px;
}

.section-body table thead tr th:first-child {
    border-left: 1px solid #777;    
    box-shadow: inset 1px 1px 0 #999;
    border-radius: 6px 0 0 0;
}

.section-body table thead tr th:last-child {
    border-right: 1px solid #777;
    box-shadow: inset -1px 1px 0 #999;
    border-radius: 0 6px 0 0;
}

.section-body table tbody tr:last-child td:first-child {    
    border-radius: 0 0 0 6px;
}

.section-body table tbody tr:last-child td:last-child {    
    border-radius: 0 0 6px 0;
}

.section-body table thead{
    position: sticky;
    top: 0;
    z-index: 1;
}
.section-body table tbody{
    z-index: 0;
}
.section-body table tfoot{
    position: sticky;
    bottom: 0;
    z-index: 1;
}

.section-body table tfoot tr td{
    background-color: #a0a0a0;
    border: 1px solid rgb(194, 194, 194); 
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase !important;
    font-family:Bahnschrift !important;
}

.section-body table tfoot tr:last-child td:first-child {
    border-left: 1px solid #777;    
    box-shadow: inset 1px 1px 0 #999;
    border-radius: 0 0 0 6px;
}
.section-body table tfoot tr:last-child td:last-child {
    border-right: 1px solid #777;
    box-shadow: inset -1px 1px 0 #999;
    border-radius: 0 0 6px 0;
}

.section-body table tbody tr td{ 
    padding: 3px 3px 3px 3px;
    font-size: 10px;
    min-width: 10px;
    max-width: 100px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
    font-family:Bahnschrift !important;
    border: 1px solid rgb(176, 176, 176); 
}

.section-body table tbody tr td .btn{ 
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  cursor:pointer !important;
  box-shadow: 0px 2px 3px rgba(0,0,0,0.2), 0px -2px 3px rgba(0,0,0,0.2), -2px 0px 3px rgba(0,0,0,0.2), 2px 0px 3px rgba(0,0,0,0.2) !important;
}

.section-body table tbody tr:nth-child(even) {
    background:#FFFFFF;
}
.section-body table tbody tr:nth-child(odd) {
    background:#E4E4E4;
}
.section-body table tbody tr:hover, table tbody tr:hover .tr-hover, .section-body table tbody tr:hover .btn {
    background:#496dff;
    cursor:pointer;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
  cursor: pointer;
  *cursor: hand;
  background-repeat: no-repeat;
  background-position: top right;
}

table.dataTable thead .sorting {
  background-image: url("DataTables-1.10.18/images/sort_both.png");
}
table.dataTable thead .sorting_asc {
  background-image: url("DataTables-1.10.18/images/sort_asc.png");
}
table.dataTable thead .sorting_desc {
  background-image: url("DataTables-1.10.18/images/sort_desc.png");
}
table.dataTable thead .sorting_asc_disabled {
  background-image: url("DataTables-1.10.18/images/sort_asc_disabled.png");
}
table.dataTable thead .sorting_desc_disabled {
  background-image: url("DataTables-1.10.18/images/sort_desc_disabled.png");
}

.dataTables_filter label{

  width: 120px;
}

/*
 * Control feature layout
 */
.dataTables_wrapper {                              /*EXTERIOR DE TABLA COMPLETA*/
  z-index: 0;
  position: relative;
  clear: both;
  *zoom: 1;
  zoom: 1;
}
.dataTables_wrapper .dataTables_length {          /*SELECTOR DE ENTRADAS  (ARRIBA IZQUIERDA)*/
          
}
.dataTables_filter {           /*BUSQUEDA   (ARRIBA DERECHA)*/
          float: right;
          padding: 5px 5px 0 5px;
          margin-right: 10px;
          }
          .buscar-tabla{                            /*ESTILO DE IMAGEN DE BUSCAR*/
            float: left;
            font-size: 19px;
            padding: 3px;
            height: 27px;
            width: 27px;
            background: #C8C8C8; /* browsers that don't support rgba */
            background: rgba(200,200,200,.5);
            border: 1px solid #000000; /* browsers that don't support rgba */
            border: 1px solid rgba(0,0,0,.5);
            border-radius: 3px 0px 0px 3px;
            -o-transition: all .2s;
            -moz-transition: all .2s;
            -webkit-transition: all .2s;
            -ms-transition: all .2s;
            transition: all .2s;
            cursor: pointer;
            margin-right: 1px;
            }
            .buscar-tabla:hover{
              color: #0019B0;
              font-weight: bold;
              text-shadow: 0 1px 2px rgba(0,0,0,.3);
            }
            .buscar-tabla-focus{
              border: 1px solid #000000; /* browsers that don't support rgba */
              border: 1px solid rgba(0,0,0,.5);
              box-shadow: 0 1px 5px 0 rgba(0,0,0,.4);
            }

.dataTables_filter input {    /* INPUT BUSQUEDA   (ARRIBA DERECHA)*/
    float: left;
    text-transform: uppercase;
    width: 90px;
    height: 27px;
    margin-bottom: 5px;
    padding: 0 1px 0 5px;
    background: #C8C8C8; /* browsers that don't support rgba */
    background: rgba(200,200,200,.5);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 0px 3px 3px 0px;
    border: 1px solid #000000; /* browsers that don't support rgba */
    border: 1px solid rgba(0,0,0,.3);
    -moz-box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
    -webkit-box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
    box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
    font-family: Bahnschrift;
    font-size: 10px;
    color: #000000;
    text-shadow: 0 1px 2px rgba(0,0,0,.1);
    -o-transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
    }
    .dataTables_filter input:focus {
    background: #ffffff; /* browsers that don't support rgba */
    box-shadow: 0 3px 5px 0 rgba(0,0,0,.3), 0 1px 1px 0 rgba(0,0,0,.1) inset;
    outline: none;
    }

    .focus-search{
    color: #7B0000;
    background: #ffffff; /* browsers that don't support rgba */
    box-shadow: 0 3px 5px 0 rgba(0,0,0,.3);
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
    outline: none;
    }

    .dataTables_filter input:-moz-placeholder { color: #848484; }
    .dataTables_filter input:-ms-input-placeholder { color: #848484; }
    .dataTables_filter input::-webkit-input-placeholder { color: #848484; }

    

.dataTables_wrapper .dataTables_info {            /*CANTIDAD DE REGISTROS POR PAGINA    (ABAJO CENTRO)*/
              clear: both;
              text-align: center;
              padding-bottom: 0.755em;
              margin-top: -45px;
              }
              .result{                            /*SOMBREADO Y BORDE DE CANTIDAD DE REGISTROS*/
                    background-color: #CDCDCD;
                    border-radius:3px;
                    border:1px solid #484848;
                    padding: 3 6;
                    font-weight:bold;
                    color:#484848;
                    }



.dataTables_wrapper .dataTables_paginate {        /*PAGINACION COMPLETA   (ABAJO DERECHA)*/
  float: right;
  text-align: right;
  padding-top: 0.25em;
}
.dataTables_wrapper .dataTables_paginate .paginate_button { /*BOTON DE PAGINACION   (ABAJO DERECHA)*/
  border: 1px solid #979797;
  box-sizing: border-box;
  display: inline-block;
  min-width: 1.5em;
  padding: 0.3em 0.8em;
  margin-left: 2px;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  *cursor: hand;
  color: #333 !important;
  border-radius: 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #333 !important;
  border: 1px solid #979797;
  background-color: white;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #dcdcdc));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, white 0%, #dcdcdc 100%);
  /* Chrome10+,Safari5.1+ */
  background: -moz-linear-gradient(top, white 0%, #dcdcdc 100%);
  /* FF3.6+ */
  background: -ms-linear-gradient(top, white 0%, #dcdcdc 100%);
  /* IE10+ */
  background: -o-linear-gradient(top, white 0%, #dcdcdc 100%);
  /* Opera 11.10+ */
  background: linear-gradient(to bottom, white 0%, #dcdcdc 100%);
  /* W3C */
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  cursor: default;
  color: #666 !important;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: white !important;
  background-color: #585858;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #585858 0%, #111 100%);
  /* Chrome10+,Safari5.1+ */
  background: -moz-linear-gradient(top, #585858 0%, #111 100%);
  /* FF3.6+ */
  background: -ms-linear-gradient(top, #585858 0%, #111 100%);
  /* IE10+ */
  background: -o-linear-gradient(top, #585858 0%, #111 100%);
  /* Opera 11.10+ */
  background: linear-gradient(to bottom, #585858 0%, #111 100%);
  /* W3C */
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
  outline: none;
  background-color: #2b2b2b;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  /* Chrome10+,Safari5.1+ */
  background: -moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  /* FF3.6+ */
  background: -ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  /* IE10+ */
  background: -o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
  /* Opera 11.10+ */
  background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);
  /* W3C */
  box-shadow: inset 0 0 3px #111;
}
.dataTables_wrapper .dataTables_paginate .ellipsis {
  padding: 0 1em;
}
.dataTables_wrapper .dataTables_processing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 40px;
  margin-left: -50%;
  margin-top: -25px;
  padding-top: 20px;
  text-align: center;
  font-size: 1.2em;
  background-color: white;
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
  background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
  background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
  background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
  color: #333;
}
.dataTables_wrapper .dataTables_scroll {
  clear: both;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
  *margin-top: -1px;
  -webkit-overflow-scrolling: touch;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td {
  vertical-align: middle;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th > div.dataTables_sizing,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td > div.dataTables_sizing, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th > div.dataTables_sizing,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td > div.dataTables_sizing {
  height: 0;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}
.dataTables_wrapper.no-footer .dataTables_scrollBody {
  border-bottom: 1px solid #111;
}
.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,
.dataTables_wrapper.no-footer div.dataTables_scrollBody > table {
  border-bottom: none;
}
.dataTables_wrapper:after {
  visibility: hidden;
  display: block;
  content: "";
  clear: both;
  height: 0;
}


@media all and (max-width: 900px){
  .top-datatable:not(.not-menu){
    align-items: center;
    align-content: center;
  }
  .dataTables_filter{
    display:block;
    margin-right: 10px;
  }
  .dt-buttons{
    display:flex;
    justify-content: center;
  }
  .dt-buttons > button{    
    animation-duration: 0.4s;
    animation-name: Show;
  }
  .top-datatable:not(.not-menu) > .btn-extra{
    float: none;
    display: none;
  }
  .top-datatable:not(.not-menu) > .btn-extra > .btn{
    margin-left: 10px;
    width: 90%;
    margin-top: 3px;
    margin-bottom: 5px;    
  }

  .top-datatable:not(.not-menu) .show-menu{
    display: block;
  }

}



