table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    max-width: 1500px;
  }
  
  table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
  }
  
  table tr {
    background-color: white;
    border: 1px solid #ddd;
    padding: .35em;
  }
  
 
  tr:nth-child(even) {background-color: #f2f2f2;}
  tr:hover {background-color: #ffecc7;}
  th {
    background-color: #c59c44;
    height: 26px;
  }

  table th,
  table td {
    padding: .625em;
    text-align: center;
  }
  
  table th {
    font-size: 1em;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  
  @media screen and (max-width: 600px) {
    table {
      border: 0;
    }
  
    table caption {
      font-size: 1.3em;
    }
    
    table thead {
      border: none;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }
    
    table tr {
      border-bottom: 3px solid #ddd;
      display: block;
      margin-bottom: .625em;
    }
    
    table td {
      border: none;
      border-bottom: 1px solid #ddd;
      display: block;
      font-size: 1.2em;
      text-align: right;
    }
    
    table td::before {
      /*
      * aria-label has no advantage, it won't be read inside a table
      content: attr(aria-label);
      */
      content: attr(data-label);
      float: left;
      font-weight: bold;
      text-transform: uppercase;
    }
    
    table td:last-child {
      border-bottom: 0;
    }

    tbody tr:last-child {
        display: none;
    }

    .filters {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 85vw!important;
    }

    .filters > div {
        max-width: 85vw!important;
    }

    input[type=range] {
        max-width: 25vw!important;
      }
    
    .text-control {
        margin-right: 0px!important;
        margin-left: 10px!important;
    }
  }

.text-control {
    text-align: justify;
}

.a-adatlap {
    padding: 2px;
    color: black;
    border: 1px solid;
    border-radius: 2px;
    background: #c59c44;
}

.filters {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background:#ffecc7;
    padding: 20px;
    font-size: 15px;
    margin-bottom: -60px;
}

.filters > div {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 4px;
    padding-right: 4px;
    display: flex;
    justify-content: center;
}

.lefoglalva {
    color: black;
    background-color: #eab676
    ;
}

.elerheto {
    color: black;
    background-color: #B1F7A6;
}

.eladva {
    color: white;
    background-color: #FF5733 ;
}

@media (min-width: 380px) {
    .size-control {
        width: 147px;
        text-align: right;
    }
}

@media (max-width: 380px) {
    .filters > div:first-child {
        justify-content: center;
    }
    
    .filters > div{
        justify-content: flex-start;
    }
    
    .size-control {
        width: 115px;
        text-align: right;
    }
}
