/* Cabeçalho Omnia: compatibilidade com o tema legado, sem alterar dropdowns. */
.layout-wrapper .layout-main .omnia-topbar.layout-topbar {
  display:flex!important; align-items:center; gap:10px; box-sizing:border-box;
  height:64px!important; padding:0 18px!important;
}
.layout-wrapper .layout-main .omnia-topbar .layout-topbar-menu-wrapper {
  display:flex!important; align-items:center; flex:1; min-width:0; height:100%; width:auto;
}
.layout-wrapper .layout-main .omnia-topbar .topbar-menu {
  position:static!important; display:flex!important; align-items:center; flex-wrap:nowrap;
  width:100%!important; height:100%!important; min-width:0; gap:10px;
  padding:0!important; margin:0!important; border:0!important; background:transparent!important;
  box-shadow:none!important; transform:none!important;
}
.layout-wrapper .layout-main .omnia-topbar .topbar-menu:before {display:none!important;}
.layout-wrapper .layout-main .omnia-topbar .topbar-menu>li {
  display:flex!important; float:none!important; margin:0!important; min-width:0; align-self:center;
}
.layout-wrapper .layout-main .omnia-topbar .menu-btn {
  position:static!important; flex:none; margin:0!important; width:32px; height:36px;
  align-items:center; justify-content:center; line-height:36px;
}
.layout-wrapper .layout-main .omnia-topbar .topbar-menu-btn {display:none!important;}
.layout-wrapper .layout-main .omnia-topbar .topbar-menu>li.profile-item.ot-user>a {
  display:flex!important; flex-direction:row!important; align-items:center; gap:9px;
  width:auto!important; height:44px!important; max-width:260px; min-width:0;
  position:relative!important; top:0!important; bottom:auto!important;
  padding:4px 8px!important; box-sizing:border-box; line-height:normal;
}
.layout-wrapper .layout-main .omnia-topbar .ot-avatar {
  width:36px!important; height:36px!important; flex:0 0 36px; margin:0!important;
  display:grid!important; place-items:center; position:static!important; font-size:13px;
}
.layout-wrapper .layout-main .omnia-topbar .profile-name.ot-who {
  display:flex!important; flex:1; min-width:0; margin:0!important; padding:0!important;
  float:none!important; line-height:20px;
}
.layout-wrapper .layout-main .omnia-topbar .ot-nm {
  display:block; max-width:180px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
  font-size:14px!important; line-height:20px!important;
}
.layout-wrapper .layout-main .omnia-topbar .ot-chev {
  position:static!important; float:none!important; margin:0!important; flex:none;
  font-size:18px!important; line-height:20px;
}
.layout-wrapper .layout-main .omnia-topbar .ot-spacer {flex:1 1 auto;}
.layout-wrapper .layout-main .omnia-topbar .topbar-menu>li.ot-cell {
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  height:48px; padding:4px 10px; box-sizing:border-box; gap:3px;
}
.layout-wrapper .layout-main .omnia-topbar .ot-cell.ot-modulo {padding:0;}
.layout-wrapper .layout-main .omnia-topbar .ot-cell.ot-modulo>a {
  display:flex!important; flex-direction:column; align-items:flex-start;
  height:48px; padding:4px 10px; box-sizing:border-box; gap:3px;
}
.layout-wrapper .layout-main .omnia-topbar .ot-lb {font-size:10px; line-height:13px; color:#a9bbd5;}
.layout-wrapper .layout-main .omnia-topbar .ot-vl {
  font-size:14px; line-height:20px; max-width:210px; overflow:hidden; text-overflow:ellipsis;
}
.layout-wrapper .layout-main .omnia-topbar .ot-cal.ui-calendar {
  display:flex!important; align-items:stretch; width:142px!important; height:30px; position:relative;
}
.layout-wrapper .layout-main .omnia-topbar .ot-cal .ui-inputtext {
  position:static!important; flex:1; min-width:0; width:110px!important; height:30px!important;
  box-sizing:border-box; padding:0 8px!important; font-size:13px!important; font-weight:600;
  line-height:28px!important; border:1px solid rgba(255,255,255,.22)!important;
  border-radius:7px 0 0 7px!important; background:rgba(255,255,255,.06)!important; color:#eef4ff!important;
}
.layout-wrapper .layout-main .omnia-topbar .ot-cal .ui-datepicker-trigger {
  position:relative!important; top:0!important; right:auto!important; bottom:auto!important; left:auto!important;
  flex:0 0 30px; width:30px!important; height:30px!important;
  margin:0!important; padding:0!important; border:1px solid rgba(255,255,255,.22)!important;
  border-left:0!important; border-radius:0 7px 7px 0!important; background:rgba(255,255,255,.09)!important;
}
.layout-wrapper .layout-main .omnia-topbar .ot-cal .ui-datepicker-trigger .ui-button-icon-left {
  position:absolute!important; top:50%!important; left:50%!important;
  transform:translate(-50%,-50%)!important; margin:0!important;
  width:16px; height:16px; line-height:16px; font-size:14px; color:#ffcf6b;
}
.layout-wrapper .layout-main .omnia-topbar .ot-cal .ui-datepicker-trigger .ui-button-text {display:none!important;}
.layout-wrapper .layout-main .omnia-topbar .ot-cal .ui-datepicker-trigger:hover {background:rgba(245,166,35,.18)!important;}
.layout-wrapper .layout-main .omnia-topbar .topbar-menu>li.ot-filial {
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
  height:48px; flex:0 1 192px; min-width:130px; max-width:220px; padding:4px 10px; box-sizing:border-box;
}
.layout-wrapper .layout-main .omnia-topbar #dropdownDeFiliais {width:100%; min-width:0;}
.layout-wrapper .layout-main .omnia-topbar #dropdownDeFiliais .ui-dropdown {
  width:100%!important; min-width:0!important; height:23px;
}
.layout-wrapper .layout-main .omnia-topbar #dropdownDeFiliais .ui-dropdown-label {
  display:block!important; box-sizing:border-box; padding:0 25px 0 0!important;
  line-height:22px; font-size:14px!important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.layout-wrapper .layout-main .omnia-topbar #dropdownDeFiliais .ui-dropdown-trigger {width:23px!important;}
.layout-wrapper .layout-main .omnia-topbar .ot-icon>a {
  display:flex!important; align-items:center; justify-content:center; width:36px; height:36px;
  margin:0!important; padding:0!important; line-height:36px; flex:none;
}
.layout-wrapper .layout-main .omnia-topbar .topbar-menu>li>ul {top:calc(100% + 8px)!important;}
.layout-wrapper .layout-main .omnia-topbar a:focus-visible,
.layout-wrapper .layout-main .omnia-topbar button:focus-visible {outline:2px solid #ffcf6b; outline-offset:3px;}
@media(max-width:1200px) {
  .layout-wrapper .layout-main .omnia-topbar .topbar-menu {gap:6px;}
  .layout-wrapper .layout-main .omnia-topbar .ot-nm {max-width:140px;}
  .layout-wrapper .layout-main .omnia-topbar .ot-vl {max-width:160px;}
}
@media(max-width:1100px) {
  .layout-wrapper .layout-main .omnia-topbar .topbar-menu>li.ot-cell:not(.ot-database):not(.ot-modulo) {display:none!important;}
}
@media(max-width:900px) {
  .layout-wrapper .layout-main .omnia-topbar .ot-brand,
  .layout-wrapper .layout-main .omnia-topbar .ot-sep-li,
  .layout-wrapper .layout-main .omnia-topbar .profile-name.ot-who {display:none!important;}
  .layout-wrapper .layout-main .omnia-topbar .topbar-menu>li.ot-database,
  .layout-wrapper .layout-main .omnia-topbar .topbar-menu>li.ot-modulo {display:flex!important;}
  .layout-wrapper .layout-main .omnia-topbar.layout-topbar {padding:0 10px!important; gap:4px;}
  .layout-wrapper .layout-main .omnia-topbar .ot-cell+.ot-cell {border-left:0;}
}
@media(max-width:650px) {
  .layout-wrapper .layout-main .omnia-topbar .topbar-menu>li.ot-modulo {display:none!important;}
}
@media(max-width:520px) {
  .layout-wrapper .layout-main .omnia-topbar .topbar-menu>li.ot-database {display:none!important;}
  .layout-wrapper .layout-main .omnia-topbar .ot-filial {flex-basis:180px;}
}
