@media only screen and (min-width: 500px) and (max-width: 1800px) {

.tabs {
    margin-bottom: 20px;
  }
  
  .tab {
    background-color: #f0f0f0;
    border: none;
    color: #333;
    padding: 10px 20px;
    cursor: pointer;
  }
  
  .tab:hover {
    background-color: #ddd;
  }
  
  .department {
    margin-bottom: 20px;
  }
  
  .position-card {
    border: 1px solid #070000;
    padding: 10px 10px 25px 10px;
    margin-bottom: 10px;
    background-color: #fff;
}
  
  .apply-button {
    background-color: #3913e2;
    color: white;
    padding: 8px 20px;
    border: 1px solid #111;
    margin-bottom: 10px;
   
    border-radius: 4px;
    cursor: pointer;
  }
  
  a{
   color: #fff;
   
  }

  














  .tablet-group{
    display: flex;
    justify-content: center;
  }
  .tablet{
    flex-grow: 1;
    padding:5px;
    list-style:none;
    border:solid 1px #CCC;
    text-align:center;
    cursor:pointer;
  }
  .panel-group {
    height: 1400px;
    
    border-top: none;
    background: #fff;
}
  .panel{
    display:none;
  }
  .tablet.is-active{
    background:rgb(54, 64, 199);
    color:#FFF;
    transition: all 0.2s ease-out;
  }
  .panel.is-show{
    display:block;
  }

  .main{
    font-size: 20px;
    font-family: revert;
    font-weight: bold;
}

.submain {
    opacity: 1;
    color: #000;
    text-transform: none;
    margin-bottom: 10px;
    font-family: system-ui;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}
}

.subheady{
  justify-content: center;
  display: flex;
  text-align: center;
}

@media only screen and (min-width: 300px) and (max-width: 479px) {

    .tabs {
        margin-bottom: 20px;
      }
      
      .tab {
        background-color: #f0f0f0;
        border: none;
        color: #333;
        padding: 10px 20px;
        cursor: pointer;
      }
      
      .tab:hover {
        background-color: #ddd;
      }
      
      .department {
        margin-bottom: 20px;
      }
      
      .position-card {
        border: 1px solid #070000;
        padding: 10px 10px 25px 10px;
        margin-bottom: 10px;
        background-color: #fff;
    }
      
      .apply-button {
        background-color: #3913e2;
        color: white;
        padding: 2px 10px;
        border: 1px solid #111;
        margin-bottom: 10px;
       
        border-radius: 4px;
        cursor: pointer;
      }
      
      a{
       color: #fff;
       
      }
    
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      .tablet-group{
        display: math;
        justify-content: center;
      }
      .tablet{
        flex-grow: 1;
        padding:5px;
        list-style:none;
        border:solid 1px #CCC;
        text-align:center;
        cursor:pointer;
      }
      .panel-group {
        height: 1800px;
        
        border-top: none;
        background: #fff;
    }
      .panel{
        display:none;
      }
      .tablet.is-active{
        background:rgb(54, 64, 199);
        color:#FFF;
        transition: all 0.2s ease-out;
      }
      .panel.is-show{
        display:block;
      }
    
      .main{
        font-size: 20px;
        font-family: revert;
        font-weight: bold;
    }
    
    .submain {
        opacity: 1;
        color: #000;
        text-transform: none;
        margin-bottom: 10px;
        font-family: system-ui;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.3;
    }
    }