/* TM_MODELLBAHN_SUBNAV_MOBILE_1_0 */
.tm-model-subnav{
  max-width:100%;
  overflow:hidden;
}

@media(max-width:1100px){
  .tm-model-subnav .shell{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    gap:0!important;
    padding:0 12px!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  .tm-model-subnav .shell>a{
    width:100%!important;
    min-width:0!important;
    min-height:50px!important;
    height:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:10px 7px!important;
    border-bottom:2px solid transparent!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    text-align:center!important;
    line-height:1.25!important;
  }

  .tm-model-subnav .shell>a.active,
  .tm-model-subnav .shell>a:hover,
  .tm-model-subnav .shell>a:focus-visible{
    color:#ffd000!important;
    border-bottom-color:#ffd000!important;
  }
}

@media(max-width:640px){
  .tm-model-subnav .shell{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    padding:0 8px!important;
  }

  .tm-model-subnav .shell>a{
    min-height:46px!important;
    padding:9px 5px!important;
    font-size:11px!important;
    letter-spacing:.035em!important;
  }

  .tm-model-subnav .shell>a:last-child:nth-child(odd){
    grid-column:1/-1;
  }
}

@media(max-width:360px){
  .tm-model-subnav .shell>a{
    font-size:10px!important;
    letter-spacing:.02em!important;
  }
}
