/********************************************/
/***************** RuneTable ****************/
/********* Brought to you by Runelab ********/
/********************************************/

/* utilities
-------------------------------------------------------*/
.hidden {display: none;}
/* tabelle
-------------------------------------------------------*/
.table-actions {
    width:96px;
}

/* Custom Data Table */
table.runeTable {
    position: relative;
}
.runeTable td, .runeTable th {
    font-size:11px;
    width: auto;
}
.runeTable th {
    color: #666666;
    font-weight: bold;
    padding: 10px 18px;
    border-bottom: 1px solid #111;
    position: relative;
}
.runeTable .adv-tooltip th {
    border-bottom: none;
}
    .runeTable th:after {
        position: absolute;
        left:0;
        top:50%;
        transform: translateY(-37%);
        font-family: 'FontAwesome';
        font-size: 14px;
        content: "";
        color:#333;
    }
    .runeTable th.asc:after {
        content: "\f0de";
    }
    .runeTable th.desc:after {
        content: "\f0dd";
        transform: translateY(-67%);
    }
.runeTable td {
    padding: 8px 10px;
    border-top: 1px solid #ddd;
    position: relative;
}
.runeTable td:before {
    content: attr(data-before); /* Label the data (set via jquery in runeTable.loadTable) */
    display:none;
    position: relative;
    font-weight: 500;
    margin-bottom:10px;
    top: 6px;
    left: 0;
    width: 45%; 
    padding-right: 10px; 
    white-space: nowrap;
}

.runeTable tbody tr:hover td {
    background-color: #e9e9e9;
    color: black;
}
.runeTable td.actions {
    width: 140px;
}

/* RESPONSIVE TABLE */

  /* table.runeTable.overflow {} */
  .runeTable.overflow th.overflow {
      display: none;
  }
  .runeTable.overflow td.overflow, .runeTable td.overflow:before {
      display: block;
  }
  .runeTable.overflow td.overflow {
      border-left: 1px solid #ddd;
  }
  .runeTable .collapser {
    position: absolute;
    top: 15px;
    right: 0;
    visibility: visible;
  }
        .runeTable .collapser i.fas:before {
        color:#00c292;
        }

  @media 
  only screen and (max-width: 760px),
  (max-device-width: 1024px)  {
  
      /* Force table to not be like tables anymore */
      table.runeTable, .runeTable thead, .runeTable tbody, .runeTable th, .runeTable td, .runeTable tr { 
          display: block; 
      }
      
      /* Hide table headers (but not display: none;, for accessibility) */
      .runeTable thead tr { 
          position: absolute;
          top: -9999px;
          left: -9999px;
      }
      
      .runeTable tr { border-bottom: 1px solid #ccc; }
      
      .runeTable td { 
          /* Behave  like a "row" */
          border: none;
          border-bottom: 1px solid #eee; 
          position: relative;
          padding-left: 50%; 
          min-height: 30px;
      }
      
      .runeTable td:before { 
          /* Now like a table header */
          position: absolute;
          display: block;
          left: 6px;
          margin-bottom:0;
      }

      .runeTable td.actions.overflow {
            width: auto;
        }
      .runeTable .collapser {
        display: none;
        visibility: hidden;
      }
  }

  .tableSearch {
    background-image: url('https://www.w3schools.com/css/searchicon.png'); /* Add a search icon to input */
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    font-size: 16px; /* Increase font-size */
    padding: 12px 20px 12px 40px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
  }
  /* export buttons */
  .btn.btn-export {
      float: right;
      margin-right: 0;
  }
/*-------------------------------------------------------*/
