/* Layout de tela: mantém os elementos originais e as ações das tabelas. */
@media screen {
  html body.vs-responsive-layout select.select2-hidden-accessible{width:1px!important;min-width:1px!important;max-width:1px!important;height:1px!important;min-height:1px!important;padding:0!important;border:0!important;position:absolute!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;overflow:hidden!important;}
  body.vs-responsive-layout :where(.content,.container,.container-fluid,.card,.card-body,.modal-body,form,.form-row,.form-group,[class*="col-"]){min-width:0;}
  body.vs-responsive-layout form :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea){max-width:100%;min-width:0;box-sizing:border-box;}
  body.vs-responsive-layout :where(.content,.modal-body) :where(img,video,canvas){max-width:100%;}
  body.vs-responsive-layout .content .btn,body.vs-responsive-layout main .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;}
  body.vs-responsive-layout #perfil.vs-fit-panel,body.vs-responsive-layout .vs-photo-preview.vs-fit-panel{height:auto!important;aspect-ratio:1;}
  body.vs-responsive-layout>article{max-width:100%;}
  body.vs-responsive-layout .dropdown-menu{max-width:calc(100vw - 1rem);}
  body.vs-responsive-layout .dropdown-item{white-space:normal;overflow-wrap:anywhere;}
  body.vs-responsive-layout .fc-header-toolbar{flex-wrap:wrap;gap:.5rem;}
  body.vs-responsive-layout .fc :where(.fc-scrollgrid,.fc-daygrid-body,.fc-daygrid-body table){width:100%!important;min-width:0!important;table-layout:fixed;}
  body.vs-responsive-layout .fc :where(.fc-daygrid-day-frame,.fc-event-title-container){min-width:0;}
  body.vs-responsive-layout .fc :where(.fc-event-title,.fc-toolbar-title){white-space:normal;overflow-wrap:anywhere;}
  body.vs-responsive-layout .vs-fit-panel{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box;}
  body.vs-responsive-layout .vs-fit-row{margin-left:0!important;margin-right:0!important;width:auto!important;max-width:100%!important;}
  body.vs-responsive-layout .vs-fit-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important;}
  body.vs-responsive-layout .vs-fit-flex{flex-wrap:wrap!important;}
  body.vs-responsive-layout .vs-table-container{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
  body.vs-responsive-layout .vs-table-container.dataTables_wrapper{width:100%!important;margin:0!important;padding-left:0!important;padding-right:0!important;}
  body.vs-responsive-layout .vs-table-container .dataTables_wrapper>.row{margin-left:0!important;margin-right:0!important;max-width:100%;}
  body.vs-responsive-layout .form-check-label{max-width:100%;white-space:normal!important;overflow-wrap:anywhere;}
  body.vs-responsive-layout :where(.dataTables_length,.dataTables_filter,.dataTables_info,.dataTables_paginate){min-width:0!important;max-width:100%!important;}
  body.vs-responsive-layout .dataTables_length label{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:.35rem;width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;}
  body.vs-responsive-layout .dataTables_length select{width:auto!important;min-width:0!important;max-width:100%!important;}
  body.vs-responsive-layout .dataTables_filter label{max-width:100%;}
  body.vs-responsive-layout .dataTables_filter input{max-width:100%;min-width:0;}
  body.vs-responsive-layout .dataTables_paginate .pagination{flex-wrap:wrap!important;}
  body.vs-responsive-layout table.vs-stack-table{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:auto!important;box-sizing:border-box;}
  body.vs-responsive-layout table.vs-stack-table>colgroup{display:none!important;}
  body.vs-responsive-layout table.vs-stack-table>thead{display:block!important;width:100%!important;height:auto!important;}
  body.vs-responsive-layout table.vs-stack-table>thead>tr{display:flex!important;flex-wrap:wrap!important;width:100%;gap:1px;background:#198754;}
  body.vs-responsive-layout table.vs-stack-table>thead>tr>th{flex:0 1 auto;width:auto!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box;font-size:.78rem;padding:.55rem 1.7rem .55rem .65rem;}
  body.vs-responsive-layout table.vs-stack-table>tbody,
  body.vs-responsive-layout table.vs-stack-table>tfoot{display:block!important;width:100%!important;min-width:0!important;}
  body.vs-responsive-layout table.vs-stack-table>tbody>tr{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.6rem 1rem;width:100%!important;box-sizing:border-box;margin:.7rem 0;padding:1rem;border:1px solid #dce8e1;border-radius:12px;background:#fff;}
  body.vs-responsive-layout table.vs-stack-table>tbody>tr>td,
  body.vs-responsive-layout table.vs-stack-table>tfoot>tr>td,
  body.vs-responsive-layout table.vs-stack-table>tfoot>tr>th{width:auto!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box;}
  body.vs-responsive-layout table.vs-stack-table>tbody>tr>td[data-vs-cell-visible="true"]:not([hidden]):not([style*="display: none"]):not([style*="display:none"]){display:block!important;border:0;padding:.3rem .2rem;text-align:left!important;}
  body.vs-responsive-layout table.vs-stack-table>tbody>tr>td[data-vs-label]::before{content:attr(data-vs-label);display:block;font-size:.72rem;font-weight:700;color:#526b60;margin-bottom:.3rem;line-height:1.25;}
  body.vs-responsive-layout table.vs-stack-table>tbody>tr>td[data-vs-label=""]::before{display:none;}
  body.vs-responsive-layout table.vs-stack-table>tbody>tr>td.vs-wide-cell{grid-column:1/-1;}
  body.vs-responsive-layout table.vs-stack-table>tbody>tr>td :where(input,select,textarea,.select2-container){max-width:100%!important;min-width:0!important;}
  body.vs-responsive-layout table.vs-stack-table>tbody>tr>td .btn{white-space:normal;max-width:100%;}
  body.vs-responsive-layout table.vs-stack-table>tfoot>tr{display:flex;flex-wrap:wrap;gap:.5rem;}
  body.vs-responsive-layout .vs-stack-scroll>.dataTables_scrollHead,
  body.vs-responsive-layout .vs-stack-scroll>.dataTables_scrollFoot{display:none!important;}
  body.vs-responsive-layout .vs-stack-scroll>.dataTables_scrollBody{height:auto!important;max-height:none!important;}
  @media(max-width:767.98px){
    body.vs-responsive-layout .dataTables_filter label{display:flex!important;flex-wrap:wrap!important;gap:.3rem;width:100%!important;min-width:0!important;}
    body.vs-responsive-layout .dataTables_filter input{margin:0!important;flex:1 1 12rem;width:100%!important;max-width:100%!important;}
    body.vs-responsive-layout .dataTables_wrapper>.row>div{min-width:0;max-width:100%;}
    body.vs-responsive-layout table.vs-stack-table>tbody>tr{grid-template-columns:minmax(0,1fr);}
  }
}
