/* Keep the existing company choices and handlers reachable on small screens. */
@media screen and (min-width:761px) and (max-width:1024px){
  .erp-top .soc-menu{
    left:0;
    right:auto;
    max-width:calc(100vw - 28px);
  }
}
@media screen and (max-width:760px){
  body.avm-menu-open>header{
    max-height:100vh;
    max-height:100dvh;
    overflow-y:auto;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
  }
  body.avm-menu-open>header>.avm-bar{
    position:sticky;
    top:0;
    z-index:2;
  }
  body.avm-menu-open>header>.erp-top,
  body.avm-menu-open>header>.erp-nav{
    max-height:none;
    overflow:visible;
  }
  .erp-top .soc-bt{
    display:block;
    width:100%;
    min-width:0;
  }
  .erp-top #socBouton{
    width:100%;
    min-height:44px;
    justify-content:space-between;
    padding:10px 12px;
    font-size:14px;
    text-align:left;
  }
  .erp-top .soc-menu{
    position:static;
    inset:auto;
    width:100%;
    min-width:0;
    max-width:none;
    max-height:none;
    overflow:visible;
    margin-top:8px;
    box-shadow:none;
  }
  .erp-top .soc-menu .soc-li{
    min-height:52px;
    padding:11px 12px;
    white-space:normal;
  }
  .erp-top .soc-menu .soc-li b{font-size:14px;line-height:1.4}
  .erp-top .soc-menu .soc-li span{font-size:12px;line-height:1.4}
  .erp-top .soc-menu .soc-grp{
    min-height:44px;
    padding:10px 12px;
    font-size:12px;
    align-items:center;
  }
  .erp-top .soc-menu .soc-grp input{width:18px;height:18px;flex:none}
}
