/*
 * Bootstrap 5 compatibility styles for the acarslog console / dispatcher / operations.
 * Load right after the Bootstrap 5 stylesheet and before the console theme.
 *
 * Keeps the BS3 markup that has no 1:1 class rename in BS5 rendering as before:
 * the console navbars (navbar-default / navbar-nav <li><a>), <li><a> inside
 * .nav, .dropdown-menu and .pagination (also generated by jquery.bootpag),
 * .dl-horizontal, form helpers and the bootstrap3-dialog look.
 */

/* Base: tipografia e cores do Cerulean 3 (medido no console online) -------- */
:root {
	--bs-body-font-size: 0.875rem;
	--bs-body-color: #555;
	--bs-body-color-rgb: 85, 85, 85;
	--bs-body-line-height: 1.428571;
}
a { text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
h1, .h1 { font-size: 36px; }
h2, .h2 { font-size: 30px; }
h3, .h3 { font-size: 24px; }
h4, .h4 { font-size: 18px; }
h5, .h5 { font-size: 14px; }
h6, .h6 { font-size: 12px; }
h1, h2, h3, .h1, .h2, .h3 { margin-top: 20px; margin-bottom: 10px; line-height: 1.1; }
p { margin: 0 0 10px; }
dl { margin-bottom: 20px; }
h4, h5, h6, .h4, .h5, .h6 { margin-top: 10px; margin-bottom: 10px; line-height: 1.1; }
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-weight: 400; line-height: 1; color: #999; }
h1 small, h2 small, h3 small { font-size: 65%; }
h4 small, h5 small, h6 small { font-size: 75%; }

/* Grelha BS3: col-* fora de .row flutuam com padding (navbar, rodape, ...) -- */
.container { --bs-gutter-x: 30px; }
.row { --bs-gutter-x: 30px; }
:not(.row) > [class*="col-"] { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; }
/* Floats como no BS3: col-N (ex col-xs-N) sempre; col-md/lg/xl (ex sm/md/lg) so a partir
   do seu ponto de quebra. As classes foram renomeadas sm->md, md->lg, lg->xl porque os
   pontos de quebra do BS3 (768/992/1200) sao os md/lg/xl do BS5. */
:not(.row) > :is(.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12) { float: left; }
@media (min-width: 768px) { :not(.row) > [class*="col-md-"] { float: left; } }
@media (min-width: 992px) { :not(.row) > [class*="col-lg-"] { float: left; } }
@media (min-width: 1200px) { :not(.row) > [class*="col-xl-"] { float: left; } }
/* col-* em celulas de tabela so dao a largura, como no BS3 */
table tr > td[class*="col-"]:not(.row), table tr > th[class*="col-"]:not(.row) { position: static; float: none; display: table-cell; }
.container::after, .container-fluid::after { content: ""; display: table; clear: both; }
/* Larguras do .container do BS3 (o BS5 usa 540/720/960/1140/1320) */
.container { max-width: none; }
@media (min-width: 768px) { .container { max-width: 750px; } }
@media (min-width: 992px) { .container { max-width: 970px; } }
@media (min-width: 1200px) { .container { max-width: 1170px; } }

/* Tabelas: no BS5 cada celula tem fundo e cor proprios; no BS3 herdavam ---- */
table { border-spacing: 0; }
.table { --bs-table-bg: transparent; --bs-table-color: inherit; }
.table > :not(caption) > * > * { color: inherit; }
/* Listas e hover na linha (BS3), nao como sombra por cima de cada celula (BS5),
   para os fundos inline das celulas continuarem visiveis */
.table-striped > tbody > tr:nth-of-type(odd) > *, .table-hover > tbody > tr:hover > * { --bs-table-bg-type: transparent; --bs-table-bg-state: transparent; }
.table-striped > tbody > tr:nth-of-type(odd) { background-color: #f9f9f9; }
.table > thead > tr > td, .table > tbody > tr > td, .table > tbody > tr > th,
.table > tfoot > tr > td, .table > tfoot > tr > th { vertical-align: top; }
.table > thead > tr > th { vertical-align: bottom; }
.table-bordered { --bs-border-color: #ddd; }
.table-hover > tbody > tr:hover { background-color: #f5f5f5; }

/* .text-muted do BS5 tem !important e tapava as cores do tema ------------- */
.console_footer .text-muted { color: #fff !important; }

/* Navbar (BS3 markup: .navbar-default / .navbar-header / .navbar-nav > li > a) */
.navbar-fixed-top, .navbar-fixed-bottom {
	position: fixed; right: 0; left: 0; z-index: 1030;
}
.navbar-fixed-top { top: 0; }
.navbar-fixed-bottom { bottom: 0; margin-bottom: 0; }
.navbar-default .container::after,
.navbar-default .navbar-header::after,
.navbar-default .navbar-collapse::after { content: ""; display: table; clear: both; }
.navbar-nav { margin: 0; padding-left: 0; list-style: none; }
.navbar-nav > li { position: relative; display: block; }
.navbar-nav > li > a { position: relative; display: block; padding: 10px 15px; line-height: 20px; text-decoration: none; }
/* Cerulean 3: links da navbar a branco */
.navbar-default .navbar-nav > li > a { color: #fff; }
.navbar-toggle {
	position: relative; float: right; margin: 8px 15px 8px 0; padding: 9px 10px;
	background-color: transparent; background-image: none; border: 1px solid transparent; border-radius: 4px;
}
.navbar-toggle .icon-bar { display: block; width: 22px; height: 2px; border-radius: 1px; background-color: currentColor; }
/* Cerulean 3: icone do menu a branco */
.navbar-default .navbar-toggle .icon-bar { background-color: #fff; }
/* Telemovel (BS3 < 768): cabecalho e menu encostados as margens, menu aberto em bloco */
@media (max-width: 767.98px) {
	.container > .navbar-header, .container > .navbar-collapse { margin-right: -15px; margin-left: -15px; }
	.navbar-collapse { padding-right: 15px; padding-left: 15px; border-top: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
	.navbar-nav { margin: 7.5px -15px; }
	.navbar-nav.navbar-xs { display: block; } /* linha de cima: mensagens, local, relogio e logout lado a lado */
	.navbar-nav.navbar-xs::after { content: ""; display: table; clear: both; }
}
.navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; }
@media (min-width: 768px) {
	.navbar-header { float: left; }
	.navbar-toggle { display: none; }
	.navbar-collapse.collapse { display: block !important; height: auto !important; overflow: visible !important; }
	.navbar-nav { float: left; display: flex; flex-direction: row; }
	.navbar-nav > li { float: left; }
	.nav.navbar-nav > li > a { padding-top: 15px; padding-bottom: 15px; }
	.navbar-left { float: left !important; }
	.navbar-right { float: right !important; margin-right: -15px; }
	.navbar-nav > li > .dropdown-menu { margin-top: 0; }
}

/* <li><a> inside .nav (tabs / pills) -------------------------------------- */
.nav > li { position: relative; display: block; }
/* ex li.pull-right dentro de .nav: o .nav e flex, por isso empurra-se com margin */
.nav > li.float-end { margin-left: auto; }
.nav > li > a { position: relative; display: block; padding: 10px 15px; text-decoration: none; }
.nav > li > a:hover, .nav > li > a:focus { background-color: var(--bs-tertiary-bg); }
.nav-tabs > li { margin-bottom: -1px; }
.nav-tabs > li > a { margin-right: 2px; border: 1px solid transparent; border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
	color: var(--bs-nav-tabs-link-active-color); background-color: var(--bs-nav-tabs-link-active-bg);
	border-color: var(--bs-nav-tabs-link-active-border-color); cursor: default;
}
.nav-pills > li > a { border-radius: var(--bs-border-radius); }
.nav-pills > li + li { margin-left: 2px; }
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
	color: var(--bs-nav-pills-link-active-color); background-color: var(--bs-nav-pills-link-active-bg);
}
.nav-stacked { flex-direction: column; }
.nav-stacked > li + li { margin-top: 2px; margin-left: 0; }
.nav-justified > li { flex: 1 1 auto; text-align: center; }

/* <li><a> inside .dropdown-menu ------------------------------------------- */
.dropdown-menu > li > a {
	display: block; width: 100%; padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
	clear: both; font-weight: 400; color: var(--bs-dropdown-link-color); white-space: nowrap; text-decoration: none;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
	color: var(--bs-dropdown-link-hover-color); background-color: var(--bs-dropdown-link-hover-bg);
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
	color: var(--bs-dropdown-link-active-color); background-color: var(--bs-dropdown-link-active-bg);
}
.dropdown-menu > li.divider { height: 0; margin: var(--bs-dropdown-divider-margin-y) 0; overflow: hidden; border-top: 1px solid var(--bs-dropdown-divider-bg); }

/* <li><a> inside .pagination (jquery.bootpag) ----------------------------- */
.pagination {
	display: inline-flex; /* BS3: inline-block, alinha pelo text-align do contentor (DataTables a direita) */
	--bs-pagination-font-size: 12px; --bs-pagination-padding-y: 8px; --bs-pagination-padding-x: 12px;
	--bs-pagination-border-color: #ddd; --bs-pagination-border-radius: 4px;
	--bs-pagination-hover-bg: #eee; --bs-pagination-hover-border-color: #ddd;
	--bs-pagination-active-color: #999; --bs-pagination-active-bg: #f5f5f5; --bs-pagination-active-border-color: #ddd;
	--bs-pagination-disabled-color: #999; --bs-pagination-disabled-bg: #fff; --bs-pagination-disabled-border-color: #ddd;
}
.pagination > li > a, .pagination > li > span {
	position: relative; display: block; padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
	margin-left: -1px; font-size: var(--bs-pagination-font-size); color: var(--bs-pagination-color); text-decoration: none;
	background-color: var(--bs-pagination-bg); border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
}
.pagination > li:first-child > a { margin-left: 0; border-top-left-radius: var(--bs-pagination-border-radius); border-bottom-left-radius: var(--bs-pagination-border-radius); }
.pagination > li:last-child > a { border-top-right-radius: var(--bs-pagination-border-radius); border-bottom-right-radius: var(--bs-pagination-border-radius); }
.pagination > li > a:hover { color: var(--bs-pagination-hover-color); background-color: var(--bs-pagination-hover-bg); }
.pagination > .active > a, .pagination > .active > a:hover {
	z-index: 3; color: var(--bs-pagination-active-color); background-color: var(--bs-pagination-active-bg); border-color: var(--bs-pagination-active-border-color);
}
.pagination > .disabled > a { color: var(--bs-pagination-disabled-color); pointer-events: none; background-color: var(--bs-pagination-disabled-bg); }

/* Ex .label: os .badge do console vem todos de .label do BS3 (Cerulean) ---- */
.badge { display: inline; padding: .2em .6em .3em; font-size: 75%; font-weight: 700; line-height: 1; border-radius: .25em; }
.badge.text-bg-secondary { background-color: #999 !important; color: #fff !important; }

/* Botoes com as medidas do BS3 (cantos 4px / 3px nos pequenos, line-height 1.428571) */
.btn { --bs-btn-padding-y: 8px; --bs-btn-padding-x: 12px; --bs-btn-border-radius: 4px; --bs-btn-line-height: 1.428571; }
.btn-sm, .btn-group-sm > .btn { --bs-btn-padding-y: 5px; --bs-btn-padding-x: 10px; --bs-btn-border-radius: 3px; --bs-btn-line-height: 1.5; }
/* .btn-xs nao existe no BS5 (ainda vem no HTML das headlines guardado na BD) */
.btn-xs, .btn-group-xs > .btn { --bs-btn-padding-y: 1px; --bs-btn-padding-x: 5px; --bs-btn-font-size: 12px; --bs-btn-border-radius: 3px; --bs-btn-line-height: 1.5; }

/* <button class="btn"> sem variante (ex. PDF dos documentos): fundo claro com borda e texto escuros, para se ver
   (antes #efefef sem borda, quase igual ao fundo) */
:is(button, a, label).btn:not([class*="btn-primary"], [class*="btn-secondary"], [class*="btn-success"], [class*="btn-danger"], [class*="btn-warning"], [class*="btn-info"], [class*="btn-light"], [class*="btn-dark"], [class*="btn-outline"], .btn-link, .btn-close, .btn-tool, .btn-grey, .btn-bg, .btn-default) {
	--bs-btn-color: #1f2a36; --bs-btn-bg: #fff; --bs-btn-border-color: #8a97a5;
	--bs-btn-hover-color: #0b1620; --bs-btn-hover-bg: #e9eef3; --bs-btn-hover-border-color: #5f6f80;
	--bs-btn-active-color: #0b1620; --bs-btn-active-bg: #dde5ec; --bs-btn-active-border-color: #5f6f80;
	--bs-btn-disabled-color: #6c757d; --bs-btn-disabled-bg: #f4f6f8; --bs-btn-disabled-border-color: #c3ccd5;
	font-weight: 600;
}

/* Ex .btn-default (Cerulean BS3): no BS5 Cerulean o secondary e cinzento claro.
   .btn-default continua a aparecer no HTML guardado na BD. */
.btn-secondary, .btn-default {
	--bs-btn-color: #555; --bs-btn-bg: #fff; --bs-btn-border-color: rgba(0, 0, 0, .1);
	--bs-btn-hover-color: #555; --bs-btn-hover-bg: #f5f5f5; --bs-btn-hover-border-color: rgba(0, 0, 0, .1);
	--bs-btn-active-color: #555; --bs-btn-active-bg: #e6e6e6; --bs-btn-active-border-color: rgba(0, 0, 0, .1);
	--bs-btn-disabled-color: #555; --bs-btn-disabled-bg: #fff; --bs-btn-disabled-border-color: rgba(0, 0, 0, .1);
	background-image: linear-gradient(#fff, #fff 60%, #f5f5f5);
	border-bottom-color: #e6e6e6;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .1);
	color: var(--bs-btn-color); /* o Cerulean 5 fixa color: #495057 */
}
.btn-secondary:hover, .btn-secondary:active, .btn-secondary.active,
.btn-default:hover, .btn-default:active, .btn-default.active { background-image: none; }

/* Icones da toolbar lateral: o contador (span absoluto) posiciona-se pelo icone, como no .glyphicon */
.console_toolbar .bi { position: relative; top: 1px; display: inline-block; line-height: 1; }

/* .list-group-item sem .list-group pai (ex .nav-stacked do dispatch): no BS5 as
   variaveis vem do pai, sem ele o item fica sem padding, borda e fundo */
:not(.list-group) > .list-group-item {
	--bs-list-group-color: #555; --bs-list-group-bg: #fff;
	--bs-list-group-border-color: #ddd; --bs-list-group-border-width: 1px; --bs-list-group-border-radius: 4px;
	--bs-list-group-item-padding-x: 15px; --bs-list-group-item-padding-y: 10px;
	--bs-list-group-action-color: #555; --bs-list-group-action-hover-color: #555; --bs-list-group-action-hover-bg: #f5f5f5;
	--bs-list-group-action-active-color: #555; --bs-list-group-action-active-bg: #e8e8e8;
	--bs-list-group-active-color: #fff; --bs-list-group-active-bg: #2fa4e7; --bs-list-group-active-border-color: #2fa4e7;
	--bs-list-group-disabled-color: #999; --bs-list-group-disabled-bg: #eee;
}

/* Description lists -------------------------------------------------------- */
@media (min-width: 768px) {
	.dl-horizontal dt { float: left; width: 160px; clear: left; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.dl-horizontal dd { margin-left: 180px; }
}
/* clearfix do BS3: cada dd cresce ate ao fim do dt flutuante (linhas com a mesma altura) */
.dl-horizontal dd::before, .dl-horizontal dd::after { content: " "; display: table; }
.dl-horizontal dd::after { clear: both; }

/* Forms -------------------------------------------------------------------- */
label { display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: 700; }
.radio label, .checkbox label, .radio-inline, .form-check-label { font-weight: 400; }
/* ex .control-label fora de .form-horizontal: sem o padding do col-form-label */
:not(.row) > .col-form-label { padding-top: 0; padding-bottom: 0; }
/* Ex .form-inline do BS3: so os controlos ficam em linha (o contentor continua block;
   o DataTables usa-o no wrapper e o flex partia a tabela em colunas) */
@media (min-width: 768px) {
	.form-inline .form-group { display: inline-block; margin-bottom: 0; vertical-align: middle; }
	.form-inline .form-control, .form-inline .form-select { display: inline-block; width: auto; vertical-align: middle; }
}
/* Controlos com as medidas do BS3 Cerulean (14px, 8px 12px, cantos 4px) */
.form-control, .form-select { font-size: 14px; padding: 8px 12px; border-radius: 4px; line-height: 1.428571; }
.form-select { padding-right: 36px; }
/* <select class="form-control">: no BS3 mantinha a seta nativa (o BS5 poe appearance:none) */
select.form-control { appearance: auto; }
.input-group-btn { display: flex; }
/* Ex .form-horizontal: labels em coluna alinhadas a direita, como no BS3 */
@media (min-width: 768px) {
	.row > .col-form-label[class*="col-md-"], .row > .col-form-label[class*="col-lg-"],
	.row > div:not([class]) > .col-form-label[class*="col-md-"], .row > div:not([class]) > .col-form-label[class*="col-lg-"] { text-align: right; }
	/* .form-horizontal .control-label do Cerulean 3: 9px em cima, nada em baixo; tambem dentro do involucro sem classe
	   (ex #addonform do booking: o label "Addon" ficava encostado a esquerda e mais acima que o select) */
	.row > .col-form-label, .row > div:not([class]) > .col-form-label { padding-top: 9px; padding-bottom: 0; margin-bottom: 0; }
}
.radio, .checkbox { position: relative; display: block; margin-top: 10px; margin-bottom: 10px; }
.radio label, .checkbox label { min-height: 20px; padding-left: 20px; margin-bottom: 0; cursor: pointer; }
.radio input[type=radio], .checkbox input[type=checkbox] { position: absolute; margin-left: -20px; margin-top: 4px; }
.radio-inline { position: relative; display: inline-block; padding-left: 20px; margin-bottom: 0; margin-right: 10px; cursor: pointer; }
.radio-inline input[type=radio] { position: absolute; margin-left: -20px; margin-top: 4px; }
.has-feedback { position: relative; }
.has-error .form-control { border-color: var(--bs-form-invalid-border-color); }
.has-error .form-label, .has-error .form-text { color: var(--bs-form-invalid-color); }

/* Modals: BS3 markup puts the close button before the title ---------------- */
.modal-header > .btn-close:first-child { order: 2; margin-left: auto; }
/* Modais com as medidas do BS3 Cerulean: 600px a partir de 768 (900 o .modal-lg),
   largura toda com 10px de margem no telemovel, padding 20px (cabecalho 15px) */
.modal { --bs-modal-padding: 20px; --bs-modal-header-padding: 15px; --bs-modal-footer-gap: 0px; --bs-modal-margin: 10px; }
.modal-title { margin: 0; line-height: 1.428571; }
.modal-footer .btn + .btn { margin-left: 5px; }
@media (min-width: 576px) { .modal-dialog { max-width: none; margin: 10px; } }
@media (min-width: 768px) {
	.modal-dialog { width: 600px; max-width: 600px; margin: 30px auto; }
	/* a altura dos modais com scroll usa a margem da variavel: tem de ser a mesma (senao passavam 40px do ecra) */
	.modal { --bs-modal-margin: 30px; }
	.modal-sm { width: 300px; max-width: 300px; }
}
@media (min-width: 992px) { .modal-lg { width: 900px; max-width: 900px; } }
/* .modal-xl (BS5, sem equivalente no BS3): ficava com os 600px do .modal-dialog e as tabelas saiam do modal */
@media (min-width: 992px) { .modal-xl { width: 900px; max-width: calc(100vw - 20px); } }
@media (min-width: 1200px) { .modal-xl { width: 1140px; } }
/* Formularios horizontais no telemovel: o label fica por cima, sem o padding do BS5 */
@media (max-width: 767.98px) {
	.row > .col-form-label, .row > div:not([class]) > .col-form-label { padding-top: 0; padding-bottom: 0; margin-bottom: 5px; }
}

/* .close is still used as an icon holder (operations, pireps) without dismiss */
.close {
	float: right; font-size: 21px; font-weight: bold; line-height: 1; color: #000;
	text-shadow: 0 1px 0 #fff; opacity: .2; cursor: pointer; text-decoration: none;
}
.close:hover, .close:focus { color: #000; opacity: .5; }
button.close { padding: 0; background: transparent; border: 0; }

/* Misc --------------------------------------------------------------------- */
.table-stripped > tbody > tr:nth-of-type(odd) > * { --bs-table-bg-type: var(--bs-table-striped-bg); }
.bs-callout { padding: 20px; margin: 20px 0; border: 1px solid #eee; border-left-width: 5px; border-radius: 3px; }
.bs-callout-warning { border-left-color: #aa6708; }
.bs-callout-warning h4 { color: #aa6708; }

/* BootstrapDialog replacement (js/bs5-compat.js) --------------------------- */
.bootstrap-dialog .modal-header { padding: 10px 15px; }
.bootstrap-dialog .modal-header .btn-close { margin-left: auto; }
.bootstrap-dialog .bootstrap-dialog-title { font-size: 1rem; font-weight: bold; margin: 0; }
.bootstrap-dialog.type-default .bootstrap-dialog-title { color: #333; }

/* Carousel sem .slide: no BS3 a troca era instantanea; no BS5 o .carousel-item
   tem sempre transition: transform e o item novo desliza da direita (headlines) */
.carousel:not(.slide) .carousel-item { transition: none; }

/* div sem classe dentro de .row (ex #addonform do booking): no BS3 era so um
   involucro sem padding; no BS5 o ".row > *" da-lhe o gutter e as colunas de
   dentro ficam 15px mais estreitas de cada lado */
.row > div:not([class]) { padding-left: 0; padding-right: 0; }

/* .input-group-text com as medidas do .input-group-addon do BS3 (Cerulean):
   14px, line-height 1, fundo #eee. Um botao la dentro (ex #addon_default) fica a 14px */
.input-group-text { font-size: 14px; line-height: 1; background-color: #eee; }
.input-group-text > .btn { --bs-btn-font-size: 14px; }

/* .btn com o atributo disabled tambem em <a> (no BS3 ".btn[disabled]" desativava links;
   no BS5 o :disabled so existe em <button>/<input>, e o link ficava ativo). Ex.: REPLY das mensagens */
a.btn[disabled] {
	pointer-events: none;
	color: var(--bs-btn-disabled-color);
	background-color: var(--bs-btn-disabled-bg);
	border-color: var(--bs-btn-disabled-border-color);
	opacity: var(--bs-btn-disabled-opacity);
}

/* DataTables (estilo Bootstrap 3): as setas de ordenacao usavam a fonte Glyphicons, que o BS5 nao traz
   (apareciam quadrados). !important: o datatables.min.css carrega depois deste ficheiro. Passam a Bootstrap Icons: chevron-expand / caret-up-fill / caret-down-fill */
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after { font-family: "bootstrap-icons" !important; font-weight: normal; line-height: 1; bottom: auto !important; top: 50%; transform: translateY(-50%); }
table.dataTable thead .sorting:after { content: "\f283" !important; }
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc_disabled:after { content: "\f235" !important; }
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc_disabled:after { content: "\f229" !important; }

/* Modais arrastaveis pelo cabecalho (bs5-compat.js) */
.modal .modal-header { cursor: move; }
.modal .modal-header :is(button, a, input, select, .btn-close) { cursor: pointer; }
.modal .modal-dialog.modal-fullscreen .modal-header { cursor: auto; }
body.bs5-dragging { user-select: none; }
