/* portal-utilities.css - Classes utilitarias e regras para substituir estilos inline (CSP compliance) */

.u-center {
    text-align: center !important;
}

.u-w100 {
    width: 100% !important;
}

.u-w95 {
    width: 95% !important;
}

.u-w80 {
    width: 80% !important;
}

.u-w35 {
    width: 35px !important;
}

.u-h40 {
    height: 40px !important;
}

.u-col14 {
    max-width: 14% !important;
    min-width: 0px !important;
}

.u-col10 {
    max-width: 10% !important;
    min-width: 0px !important;
}

.u-right-w95 {
    text-align: right !important;
    width: 95% !important;
}

.u-mt15 {
    margin-top: 15px !important;
}

.u-minw15 {
    min-width: 15% !important;
}

.u-minw0 {
    min-width: 0px !important;
}

.u-px20 {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.u-mx20 {
    margin-left: 20px !important;
    margin-right: 20px !important;
}

.u-minw5-center {
    min-width: 5% !important;
    text-align: center !important;
}

.u-justify-end {
    justify-content: flex-end !important;
}

.u-justify-center {
    justify-content: center !important;
}

.u-border-light {
    border: 1px solid #F8F8F8 !important;
    padding: 0px !important;
}

.u-bg-white {
    background-color: #ffffff !important;
}

.u-scroll-max400 {
    max-height: 400px;
    overflow: auto;
}

.u-img-responsive {
    max-width: 100%;
    height: auto;
}

/* Icones do menu lateral */
.tk-menu-icon {
    width: 18px !important;
    height: 18px !important;
}

/* Icone de alterar password no cabecalho */
.u-changepass-icon {
    margin-right: 50px !important;
    width: 16px !important;
}

/* Mensagem de alerta no footer / cabecalho */
.tk-header-alert-msg {
    display: inline-block;
    color: white;
    text-align: left;
    font-size: 15px;
    margin-top: 15px;
    margin-left: 270px;
    margin-right: 70px;
    background-color: #005189;
    padding: 15px;
    border-radius: 15px;
}

/* Ocultacao sem !important para permitir que $(...).show() / toggle() do jQuery continuem funcionais */
.tk-hidden {
    display: none;
}

/* Classes de apresentacao para SVGs inline (Header e Menus) */
.logo-cls-1 {
    fill: #ed1c24;
}

.logo-cls-2 {
    fill: #005189;
}

.log-cls-1 {
    fill: none;
    opacity: 1;
}

.log-cls-2 {
    fill: none;
    stroke: #9fa0a5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
}

.logoff-cls-1 {
    fill: none;
    opacity: 0;
}

/* Links em paineis via data-url */
.js-nav-link {
    cursor: pointer;
}

/* Classes de apresentacao para SVGs de listagens e paineis */
.list-cls-1, .list-cls-2, .list-cls-3, .list-cls-5 {
    fill: none;
}

.list-cls-1 {
    opacity: 0;
}

.list-cls-2, .list-cls-3 {
    stroke: #005189;
    stroke-width: 5px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.list-cls-4 {
    stroke: none;
    fill: #005189;
}

.cls-1, .cls-2 {
    fill: none;
}

.cls-1 {
    opacity: 0;
}

.cls-2 {
    stroke: #9fa0a5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5px;
}

.cls-3 {
    stroke: #9fa0a5;
    stroke-width: 5px;
    fill: none;
}

.cls-4 {
    stroke: none;
    fill: #9fa0a5;
}

.cls-5 {
    fill: none;
}

.u-p0 {
    padding: 0 !important;
}

.u-text-right {
    text-align: right !important;
}

.tk-link-underline {
    text-decoration: underline !important;
    color: #005189 !important;
}

.u-text-left {
    text-align: left !important;
}

.u-minw15-center {
    min-width: 15% !important;
    text-align: center !important;
}

.u-minw200 {
    min-width: 200px !important;
}

.u-h2em {
    height: 2em !important;
}

.u-filter-apply-box {
    width: 87% !important;
    text-align: right !important;
    margin: auto !important;
}

.u-filter-excel-box {
    width: 5% !important;
    padding: 0 !important;
    text-align: right !important;
}

.u-bg-pos-center {
    background-position-x: center !important;
}

.u-minw5 {
    min-width: 5% !important;
}

.u-pl5 {
    padding-left: 5px !important;
}

.u-pl12 {
    padding-left: 12px !important;
}

.u-pr5 {
    padding-right: 5px !important;
}

.u-maxw5-center {
    max-width: 5% !important;
    text-align: center !important;
}

.u-w30pct {
    width: 30% !important;
}

.u-d-block {
    display: block !important;
}

.u-d-flex {
    display: flex !important;
}

.u-flex-1 {
    flex: 1 !important;
}

.u-fw-bold {
    font-weight: bold !important;
}

.u-pl15 {
    padding-left: 15px !important;
}

.u-mr28 {
    margin-right: 28px !important;
}

.u-dep-label-box {
    flex: 0.1 !important;
    width: 100px !important;
    align-items: center !important;
    display: flex !important;
}

.u-filter-apply-box-dep {
    padding-right: 20px !important;
    text-align: right !important;
    margin: auto !important;
}

.u-w100pct {
    width: 100% !important;
}

.u-w200 {
    width: 200px !important;
}

.u-w35 {
    width: 35px !important;
}

.u-w22 {
    width: 22px !important;
}

.u-mb5 {
    margin-bottom: 5px !important;
}

.u-v-hidden {
    visibility: hidden !important;
}

.u-col-max10 {
    max-width: 10% !important;
    min-width: 0px !important;
}

.u-col-max11 {
    max-width: 11% !important;
    min-width: 0px !important;
}

.u-col-max14 {
    max-width: 14% !important;
    min-width: 0px !important;
}

.u-col-max20 {
    max-width: 20% !important;
    min-width: 0px !important;
}

.u-col-max26 {
    max-width: 26% !important;
    min-width: 0px !important;
}

.u-col-action-btn {
    max-width: 4.5% !important;
    min-width: 0px !important;
    height: 60px !important;
    padding-left: 25px !important;
    margin: 0 !important;
}

.u-d-flex-col-p0 {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
}

.u-action-btn-blue {
    cursor: pointer !important;
    margin: 0 !important;
    height: 22px !important;
    background-color: #005189 !important;
    padding: 3px !important;
}

.u-pb50-pr0-flex-end-inline {
    padding-bottom: 50px !important;
    padding-right: 0 !important;
    justify-content: flex-end !important;
    display: inline-flex !important;
}

.u-mt15-mr20 {
    margin-top: 15px !important;
    margin-right: 20px !important;
}

.u-border-box-f8 {
    border: 1px solid #F8F8F8 !important;
    padding: 0px !important;
}

.u-bg-f8 {
    background-color: #F8F8F8 !important;
}

.u-mt25 {
    margin-top: 25px !important;
}

.u-mt15 {
    margin-top: 15px !important;
}

.u-box-red-order {
    border: 2px solid red !important;
    border-radius: 10px !important;
    margin-top: 10px !important;
    padding: 10px !important;
}

.u-h40 {
    height: 40px !important;
}

.u-h52 {
    height: 52px !important;
}

.u-w95-tr {
    text-align: right !important;
    width: 95% !important;
}

.u-w95-tr-bold {
    text-align: right !important;
    width: 95% !important;
    font-weight: bold !important;
}

.u-fw-bolder-14 {
    margin-top: 15px !important;
    font-weight: bolder !important;
    font-size: 14px !important;
}

.u-justify-flex-end {
    justify-content: flex-end !important;
}

.u-clear-both {
    clear: both !important;
}

.u-col-min5 {
    min-width: 5% !important;
}

.u-col-min7 {
    min-width: 7% !important;
}

.u-col-min8 {
    min-width: 8% !important;
}

.u-col-min10 {
    min-width: 10% !important;
}

.u-col-min11 {
    min-width: 11% !important;
}

.u-col-min15 {
    min-width: 15% !important;
}

.u-col-min22 {
    min-width: 22% !important;
}

.u-col-min25 {
    min-width: 25% !important;
}

.u-col-min30 {
    min-width: 30% !important;
}

.u-col-min39-5 {
    min-width: 39.5% !important;
}

.u-col-min40 {
    min-width: 40% !important;
}

.u-col-min41 {
    min-width: 41% !important;
}

.u-col-min65 {
    min-width: 65% !important;
}

.u-col-min15-p0 {
    min-width: 15% !important;
    padding: 0 !important;
}

.u-col-min65-p0 {
    min-width: 65% !important;
    padding: 0 !important;
}

.u-col-min40-p0 {
    min-width: 40% !important;
    padding: 0 !important;
}

.u-col-min25-p0 {
    min-width: 25% !important;
    padding: 0 !important;
}

.u-col-min10-p0 {
    min-width: 10% !important;
    padding: 0 !important;
}

.u-col-max10-tr-p0 {
    text-align: right !important;
    max-width: 10% !important;
    padding: 0 !important;
}

.u-col-max25-p0 {
    max-width: 25% !important;
    padding: 0 !important;
}

.u-col-max10-tr-ml90 {
    text-align: right !important;
    max-width: 10% !important;
    margin-left: 90px !important;
}

.u-px14 {
    padding-right: 14px !important;
    padding-left: 14px !important;
}

.u-col-min15-p0-pr2 {
    min-width: 15% !important;
    padding: 0 !important;
    padding-right: 2% !important;
}

.u-col-min65-p0-pr2 {
    min-width: 65% !important;
    padding: 0 !important;
    padding-right: 2% !important;
}

.u-col-min40-p0-pr2 {
    min-width: 40% !important;
    padding: 0 !important;
    padding-right: 2% !important;
}

.u-col-control-cartao {
    min-width: 10% !important;
    padding-top: 20px !important;
    padding-right: 2% !important;
}

.u-col-control-cartao-fx {
    min-width: 10% !important;
    padding-top: 5px !important;
    padding-right: 4.5% !important;
}

.u-float-right-m0 {
    float: right !important;
    margin: 0 !important;
}

.u-float-right-w20 {
    float: right !important;
    width: 20px !important;
}

.u-wallet-select {
    width: 100% !important;
    border-radius: 5px !important;
    height: 32.88px !important;
}

.u-ml15 {
    margin-left: 15px !important;
}

.u-minw1-pr0 {
    min-width: 1px !important;
    padding-right: 0 !important;
}

.is-line-error {
    border: 2px solid #CC0000 !important;
    border-radius: 3px !important;
}

.u-w400 {
    width: 400px !important;
}

.u-w90 {
    width: 90% !important;
}

.u-w80 {
    width: 80% !important;
}

.u-w70 {
    width: 70% !important;
}

.u-w95 {
    width: 95% !important;
}

.u-w20 {
    width: 20px !important;
}

.u-h20 {
    height: 20px !important;
}

.u-m0 {
    margin: 0 !important;
}

.u-ml7 {
    margin-left: 7px !important;
}

.u-ml5 {
    margin-left: 5px !important;
}

.u-ml10 {
    margin-left: 10px !important;
}

.u-ml10-mr20 {
    margin-left: 10px !important;
    margin-right: 20px !important;
}

.u-pr2 {
    padding-right: 2% !important;
}

.u-pt20 {
    padding-top: 20px !important;
}

.u-col-min23 {
    min-width: 23% !important;
}

.u-col-min58 {
    min-width: 58% !important;
}

.u-col-min9-6 {
    min-width: 9.6% !important;
}

.u-col-min24 {
    min-width: 24% !important;
}

.u-pl0 {
    padding-left: 0px !important;
}

.u-pb0-bb0 {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.u-morada-ul {
    height: 50px !important;
    border: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* display sem !important para que $(...).show() continue a funcionar */
.u-morada-hidden-ul {
    display: none;
    height: 50px !important;
    border: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.u-float-right-w90-m0 {
    float: right !important;
    width: 90% !important;
    margin: 0 !important;
}

.u-vales-header-box {
    position: relative !important;
    margin-bottom: 50px !important;
}

.u-vales-left-col {
    width: 60% !important;
    float: left !important;
    padding: 0 !important;
}

.u-vales-tipo-enc {
    position: absolute !important;
    top: 30px !important;
    float: left !important;
}

.u-vales-locais-box {
    position: absolute !important;
    bottom: 0 !important;
    float: left !important;
    width: 58% !important;
}

.u-vales-locais-scroll {
    padding-left: 0 !important;
    height: 100px !important;
    width: 100% !important;
    overflow: auto !important;
}

.u-vales-right-col {
    width: 40% !important;
    padding-right: 0 !important;
    float: right !important;
}

.u-vales-info-wrapper {
    width: 100% !important;
    padding: 0 !important;
    text-align: right !important;
}

.u-vales-info-box {
    width: 40% !important;
    display: inline-block !important;
    text-align: left !important;
    padding-left: 14px !important;
    padding-right: 0 !important;
    margin-top: 10px !important;
}

.u-vales-info-text {
    font-size: 12px !important;
    padding: 5px 5px 5px 20px !important;
    border: solid 1px #404040 !important;
}

.u-mt50 {
    margin-top: 50px !important;
}

.u-col-min45 {
    min-width: 45% !important;
}

.u-col-min28 {
    min-width: 28% !important;
}

.u-col-min12 {
    min-width: 12% !important;
}

.u-col-min9 {
    min-width: 9% !important;
}

.u-col-max10px {
    max-width: 10px !important;
}

.u-pr40 {
    padding-right: 40px !important;
}

.u-pr0 {
    padding-right: 0px !important;
}

.u-ml14 {
    margin-left: 14px !important;
}

.u-digital-tipo-enc {
    font-size: 20px !important;
    display: flex !important;
    position: absolute !important;
    top: 30px !important;
    float: left !important;
}

.u-pt45 {
    padding-top: 45px !important;
}

.u-pr5-pt45 {
    padding-right: 5px !important;
    padding-top: 45px !important;
}

.u-pl0-pt11pct {
    padding-left: 0 !important;
    padding-top: 11% !important;
}

.u-col-min35-p0 {
    min-width: 35% !important;
    padding: 0 !important;
}

.u-col-min7-p0 {
    min-width: 7% !important;
    padding: 0 !important;
}

.u-col-min5-pt20 {
    min-width: 5% !important;
    padding-top: 20px !important;
}

.u-col-max10px-pt20 {
    max-width: 10px !important;
    padding-top: 20px !important;
}

.u-w90 {
    width: 90% !important;
}

.u-w20 {
    width: 20px !important;
}

.u-m0 {
    margin: 0 !important;
}

.u-p0 {
    padding: 0 !important;
}

.u-pt0 {
    padding-top: 0 !important;
}

.u-w70 {
    width: 70px !important;
}

.u-w22 {
    width: 22px !important;
}

.u-bg-f8 {
    background-color: #F8F8F8 !important;
}

.u-pb50-justify-end {
    padding-bottom: 50px !important;
    justify-content: flex-end !important;
}

.u-pt120-pr0 {
    padding-top: 120px !important;
    padding-right: 0 !important;
}

.u-float-right-pb50-pr0-justify-end {
    float: right !important;
    padding-bottom: 50px !important;
    padding-right: 0 !important;
    justify-content: flex-end !important;
}

.u-rtl {
    direction: rtl !important;
}

.u-col-min9-p0 {
    min-width: 9% !important;
    padding: 0 !important;
}

.u-col-min29-p0 {
    min-width: 29% !important;
    padding: 0 !important;
}

.u-col-min28-p0 {
    min-width: 28% !important;
    padding: 0 !important;
}

.u-col-min27-p0 {
    min-width: 27% !important;
    padding: 0 !important;
}

.u-col-min10-p0 {
    min-width: 10% !important;
    padding: 0 !important;
}

.u-col-min6-p0-tl {
    min-width: 6% !important;
    padding: 0 !important;
    text-align: left !important;
}

.u-col-min8-tl {
    min-width: 8% !important;
    text-align: left !important;
}

.u-col-min5 {
    min-width: 5% !important;
}

.u-col-min8 {
    min-width: 8% !important;
}

.u-float-right-w95-m0 {
    float: right !important;
    width: 95% !important;
    margin: 0 !important;
}

.u-float-right-w20 {
    float: right !important;
    width: 20px !important;
}

/* SVG listagem icon classes */
svg.listagem .cls-1,
svg.listagem .cls-5 {
    fill: none;
    opacity: 0;
}

svg.listagem .cls-2,
svg.listagem .cls-3 {
    fill: none;
    stroke: #9FA0A5;
    stroke-width: 5px;
}

svg.listagem .cls-2 {
    stroke-linecap: round;
    stroke-linejoin: round;
}

svg.listagem .cls-4 {
    stroke: none;
    fill: #9FA0A5;
}

.u-d-flex-mt30 {
    display: flex !important;
    margin-top: 30px !important;
}

.u-mt25 {
    margin-top: 25px !important;
}

.u-mt20 {
    margin-top: 20px !important;
}

.u-mt30 {
    margin-top: 30px !important;
}

.u-ml40 {
    margin-left: 40px !important;
}

.u-float-right {
    float: right !important;
}

/* width sem !important para que $(".tk-progress-bar").width(...) consiga atualizar a barra de upload */
.u-w0 {
    width: 0%;
}

/* Gestao Cartoes Table */
.tablegestaocartoes {
    border-spacing: 0 15px;
}

.tablegestaocartoes th,
.tablegestaocartoes td {
    vertical-align: middle;
    text-align: center;
    padding-right: 5px;
    padding-left: 5px;
}

.tablegestaocartoes th {
    font-size: 12px;
    font-weight: 700;
}

.tablegestaocartoes input {
    margin: 0;
}

.tablegestaocartoes td {
    border-right: 1px solid #E2E2E4;
}

.tablegestaocartoes tr:nth-child(odd) {
    background-color: #F8F8F8;
}

.tk-lista-wrapper .gestaocartoesheader {
    background-color: rgba(0, 82, 161, 0.1) !important;
}

.u-h2em {
    height: 2em !important;
}

.u-mb20-w90-p0-tr {
    margin-bottom: 20px !important;
    width: 90% !important;
    padding: 0 !important;
    text-align: right !important;
}

.u-flex-center-gap12 {
    display: flex !important;
    align-items: center !important;
    gap: 1.2em !important;
}

.u-ml20 {
    margin-left: 20px !important;
}

.u-w170-h30-m0 {
    width: 170px !important;
    height: 30px !important;
    margin: 0 !important;
}

.u-ml20-w70 {
    margin-left: 20px !important;
    width: 70px !important;
}

.u-w170-inline-m0 {
    width: 170px !important;
    display: inline-block !important;
    margin: 0 !important;
}

.u-w100-pb0 {
    width: 100% !important;
    padding-bottom: 0 !important;
}

.u-h45 {
    height: 45px !important;
}

.u-h60 {
    height: 60px !important;
}

.u-w13pct {
    width: 13% !important;
}

.u-w9pct {
    width: 9% !important;
}

.u-w10pct {
    width: 10% !important;
}

.u-border-0 {
    border: 0 !important;
}

.u-d-flex-center-p0 {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
}

.u-h20 {
    height: 20px !important;
}

.u-mt0 {
    margin-top: 0 !important;
}

.u-mt10 {
    margin-top: 10px !important;
}

.u-more-btn-box {
    display: flex !important;
    align-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    height: 60px !important;
    width: 14px !important;
    background-color: black !important;
}

.u-w70 {
    width: 70px !important;
}

.u-v-hidden {
    visibility: hidden !important;
}

.u-cursor-pointer {
    cursor: pointer !important;
}

.u-maxw15 {
    max-width: 15% !important;
}

.u-minw75 {
    min-width: 75% !important;
}

.u-maxw10 {
    max-width: 10% !important;
}

.u-minw10 {
    min-width: 10% !important;
}

.u-col3 {
    max-width: 3% !important;
    min-width: 0px !important;
}

.u-col7 {
    max-width: 7% !important;
    min-width: 0px !important;
}

.u-col11 {
    max-width: 11% !important;
    min-width: 0px !important;
}

.u-col20 {
    max-width: 20% !important;
    min-width: 0px !important;
}

.u-minw20 {
    min-width: 20% !important;
}

.u-ticket-summary-box {
    float: right !important;
    padding-top: 50px !important;
    padding-right: 20px !important;
    justify-content: flex-end !important;
}

.u-b-gray-p0 {
    border: 1px solid #F8F8F8 !important;
    padding: 0px !important;
}

.u-border-red-box {
    border: solid red !important;
    border-radius: 10px !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.u-fl-right-mr5pct-tr-w20 {
    float: right !important;
    margin-right: 5% !important;
    text-align: right !important;
    width: 20% !important;
}

.u-pt60 {
    padding-top: 60px !important;
}

.u-h48-mr10 {
    height: 48px !important;
    margin-right: 10px !important;
}

.u-w50-fl-left {
    width: 50% !important;
    float: left !important;
}

.u-w50-fl-right {
    width: 50% !important;
    float: right !important;
}

.u-w200 {
    width: 200px !important;
}

.u-p0-mx14 {
    padding: 0 !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
}

.u-col3-pl21 {
    max-width: 3% !important;
    min-width: 0px !important;
    padding-left: 21px !important;
}

.u-ml18 {
    margin-left: 18px !important;
}

#select2-selEstabelecimento-container {
    max-width: 200px !important;
}

.u-w90-p0-tr {
    width: 90% !important;
    padding: 0 !important;
    text-align: right !important;
}

.u-col5-h60-pl25-m0 {
    max-width: 5% !important;
    min-width: 0px !important;
    height: 60px !important;
    padding-left: 25px !important;
    margin: 0 !important;
}

.u-w22 {
    width: 22px !important;
}

.u-d-flex-col {
    display: flex !important;
    flex-direction: column !important;
}

.backBtn {
    margin-bottom: 10px !important;
    width: 60px !important;
    display: flex !important;
    flex-direction: row !important;
    transition: 0.3s !important;
}

.backBtn:hover {
    cursor: pointer !important;
    color: #e32636 !important;
}

.gg-chevron-left {
    box-sizing: border-box !important;
    position: relative !important;
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid transparent !important;
    border-radius: 100px !important;
    transition: 0.3s !important;
}

.gg-chevron-left::after {
    content: "" !important;
    display: block !important;
    box-sizing: border-box !important;
    position: absolute !important;
    width: 10px !important;
    height: 10px !important;
    border-bottom: 2px solid !important;
    border-left: 2px solid !important;
    transform: rotate(45deg) !important;
    left: 6px !important;
    top: 4px !important;
}

.u-mt40-mb20-flex-end-between {
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
}

.u-fs24-bold-mb10 {
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
}

.u-color-gray-fs14-lh15-m0 {
    color: #9FA0A5 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.u-pt20 {
    padding-top: 20px !important;
}

.u-flex-between-center-w100-mb20 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}

.u-flex-gap15 {
    display: flex !important;
    gap: 15px !important;
}

/* Botoes de exportacao (ConsultasContabilidade / ConsultasSaldo): texto numa so linha.
   Largura conforme o texto (minimo 174px do .btn), letra um pouco mais pequena */
.u-btn-filter-150 {
    width: auto !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    white-space: nowrap;
}

.u-flex-w100 {
    display: flex !important;
    width: 100% !important;
}

.u-mr20-ml0 {
    margin-right: 20px !important;
    margin-left: 0 !important;
}

.u-ml0 {
    margin-left: 0 !important;
}

.u-flex-w100-mt10 {
    display: flex !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.u-color-gray-fs13 {
    color: #9FA0A5 !important;
    font-size: 13px !important;
}

.u-m0 {
    margin: 0 !important;
}

.u-w87-tr-m-auto-flex {
    width: 87% !important;
    text-align: right !important;
    margin: auto !important;
    display: flex !important;
}

.u-w87-m10-auto-clear {
    width: 87% !important;
    margin: 10px auto 0 auto !important;
    clear: both !important;
}

.u-minw15-tr-pr20 {
    min-width: 15% !important;
    text-align: right !important;
    padding-right: 20px !important;
}

/* Bloco 4 - Gestao e Consultas */
.u-w100-bg-f8 {
    width: 100% !important;
    background-color: #F8F8F8 !important;
}

.u-tl-ml10 {
    text-align: left !important;
    margin-left: 10px !important;
}

.u-tr-mr10 {
    text-align: right !important;
    margin-right: 10px !important;
}

.u-tc {
    text-align: center !important;
}

.u-tl {
    text-align: left !important;
}

.u-pt0 {
    padding-top: 0 !important;
}

.u-p20 {
    padding: 20px !important;
}

.u-tc-mt0 {
    text-align: center !important;
    margin-top: 0 !important;
}

.u-flex-center-gap25 {
    text-align: center !important;
    margin-top: 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 25px !important;
    align-items: center !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.u-radio-label-bold {
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    opacity: 1 !important;
    color: #3B3B3B !important;
    margin-top: 10px !important;
}

.u-radio-input-inline {
    width: 16px !important;
    height: 16px !important;
    margin: 0 6px 0 0 !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}

.u-pt20 {
    padding-top: 20px !important;
}

.u-d-flex-gap10 {
    display: flex !important;
    gap: 10px !important;
}

.u-flex-1 {
    flex: 1 !important;
}

.u-bottom-n38 {
    bottom: -38px !important;
}

.u-mt5 {
    margin-top: 5px !important;
}

.u-mt10 {
    margin-top: 10px !important;
}

.u-mt20 {
    margin-top: 20px !important;
}

.u-mt30 {
    margin-top: 30px !important;
}

.u-mb5 {
    margin-bottom: 5px !important;
}

.u-w60 {
    width: 60px !important;
}

.u-mb37 {
    margin-bottom: 37px !important;
}

.tk-carregamento-form select.select-custom,
.tk-form select.select-custom {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    border-style: solid;
    border-width: 1px;
    border-color: grey;
    padding-left: 5px;
    border-radius: 5px;
    box-shadow: none;
    color: #444444;
    display: block;
    font-family: inherit;
    font-size: 15px;
    height: 2.05556rem;
    margin: 0 0 0.88889rem 0;
    padding: 0.44444rem;
    width: 100%;
    box-sizing: border-box;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}

.tk-carregamento-form select.select-custom:focus,
.tk-form select.select-custom:focus {
    outline: 0;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    display: inline-block !important;
    width: 42% !important;
    margin: 0 3% !important;
    border: none !important;
    color: white !important;
    background: transparent !important;
    background-image: none !important;
    padding: 0 !important;
    height: 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    appearance: menulist !important;
    box-shadow: none !important;
}

.ui-datepicker select option {
    color: #333333 !important;
    background-color: #ffffff !important;
}

/* Select2 fixes */
.select2-container .select2-search--inline .select2-search__field {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    height: 26px !important;
    display: inline-block !important;
    box-shadow: none !important;
}

/* So no formulario de pedido de cartao (_cartaoinfo, em EditarPedidoCartao e RegistoDePedidos), onde estava originalmente;
   global desalinhava os select2 dos filtros das outras paginas */
.tk-cartao-form .select2-container {
    margin-bottom: 14px !important;
}

.dynamic-height-group {
    display: flex !important;
    flex-direction: column !important;
}

.dynamic-height-group .tk-form-input-sub {
    position: static !important;
    margin-top: 5px !important;
    margin-left: 0 !important;
}

.u-mt100 {
    margin-top: 100px !important;
}

.u-mr15em {
    margin-right: 1.5em !important;
}

.u-mt10pct-fs2em {
    margin-top: 10% !important;
    font-size: 2em !important;
}

/* Unsupported browser page styles */
body.unsupported-body {
    font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    width: auto;
    -webkit-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    -webkit-font-smoothing: antialiased !important;
    background-image: url('../images/img/new-bg.jpg');
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
}

.unsupported-page .tableContent img {
    border: 0 !important;
    display: inline-block !important;
    outline: none !important;
}

.unsupported-page p,
.unsupported-page h1,
.unsupported-page h2,
.unsupported-page h3,
.unsupported-page ul,
.unsupported-page ol,
.unsupported-page li,
.unsupported-page div {
    margin: 0;
    padding: 0;
}

.unsupported-page h1,
.unsupported-page h2 {
    font-weight: normal;
    background: transparent !important;
    border: none !important;
}

.unsupported-page td,
.unsupported-page table {
    vertical-align: middle;
    width: 100vw;
}

.unsupported-page td.cima-esq {
    width: 49%;
    float: left;
    text-align: right;
}

.unsupported-page td.cima-dir {
    float: right;
    width: 49%;
}

.unsupported-page img.logo-portal {
    height: 75px;
    width: auto;
    margin-top: auto;
    margin-bottom: auto;
    vertical-align: middle;
}

.unsupported-page h1.titulo-main {
    font-weight: 700;
    font-size: 50px;
    line-height: 55px;
    margin-top: 10px;
    margin-bottom: 0px;
    color: #004996;
    vertical-align: middle;
}

.unsupported-page h3 {
    font-size: 25px;
    line-height: 32px;
    color: #e2211c;
    text-align: left;
    width: 80%;
}

.unsupported-page td.meio-esq {
    height: 60vh;
}

.unsupported-page td.meio-dir {
    width: 30%;
    padding-left: 4%;
}

.unsupported-page td.meio {
    width: 100vw;
}

.unsupported-page p {
    text-align: center;
    color: #004996;
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.unsupported-page td.browsers {
    width: 25%;
    padding: 20px;
    text-align: center;
}

.unsupported-page table.logos {
    width: 60vw;
}

/* Contactos */
.u-mb30 {
    margin-bottom: 30px !important;
}

.u-pt50 {
    padding-top: 50px !important;
}

.u-w200-h30 {
    width: 200px !important;
    height: 30px !important;
}

/* LocalizarAderentes */
.u-w70-ib {
    width: 70px !important;
    display: inline-block !important;
}

.u-w70-ml20 {
    width: 70px !important;
    margin-left: 20px !important;
}

.u-w170-h30 {
    width: 170px !important;
    height: 30px !important;
}

.u-w170-ib {
    width: 170px !important;
    display: inline-block !important;
}

.u-float-right {
    float: right !important;
}

.u-p0-mx14 {
    padding: 0 !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
}

.u-maxw25 {
    max-width: 25% !important;
}

.u-maxw25-border0 {
    max-width: 25% !important;
    border: 0 !important;
}

/* PedidoRegisto */
.u-ib-w80 {
    display: inline-block !important;
    width: 80% !important;
}

.u-text-left {
    text-align: left !important;
}

/* ProdutosInfo */
.prop-cls-1, .prop-cls-2 {
    fill: none;
}

.prop-cls-1 {
    opacity: 0;
}

.prop-cls-2 {
    stroke: #9fa0a5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
}

.u-ml30-mt0 {
    margin-left: 30px !important;
    margin-top: 0 !important;
}

.u-fw700 {
    font-weight: 700 !important;
}

.u-pl0 {
    padding-left: 0 !important;
}

/* TicketMais */
.u-cols2 {
    column-count: 2 !important;
}

.u-fs38 {
    font-size: 38px !important;
}

.u-w80-ml15-block {
    width: 80% !important;
    margin-left: 15% !important;
    display: block !important;
}

.u-fw-bolder {
    font-weight: bolder !important;
}

.u-w100-h30 {
    width: 100% !important;
    height: 30px !important;
}







/* Classes em falta (usadas nas views mas nao definidas) */
.u-text-center {
    text-align: center !important;
}

.u-bg-f8-h40 {
    background-color: #F8F8F8 !important;
    height: 40px !important;
}

/* Paginacao: o original era style="width:80px" (pixels, nao percentagem) */
.u-w80px {
    width: 80px !important;
}

.u-color-red {
    color: red !important;
}

/* Logos de produtos nao subscritos (Produtos/Index): o custom.js insere o SVG inline e reaplica o <style> interno
   de cada logo via CSSOM (permitido pela CSP), por isso as cores vem do proprio ficheiro SVG.
   Aqui so se anulam as regras globais .cls-1 (opacity:0) e .cls-2/.cls-3 (stroke) definidas acima.
   O hover a branco continua em main.css (.tk-small-card.not-subscribed:hover, com !important). */
svg.notSub .cls-1,
svg.notSub .cls-2,
svg.notSub .cls-3 {
    opacity: 1;
    stroke: none;
}

/* Rebranding: o jQuery UI define a sua propria fonte (Verdana/Arial); forcar a fonte do portal (Montserrat).
   Prefixo 'body' para ganhar especificidade, pois o jquery-ui.min.css e carregado depois deste ficheiro no bundle. */
body .ui-widget,
body .ui-widget input,
body .ui-widget select,
body .ui-widget textarea,
body .ui-widget button {
    font-family: inherit;
}

/* Icones de fundo dos cartoes de produto (ProdutosInfo/Index e Produtos/Index).
   Os SVG t_*_icon.svg sao usados como mascara: o ficheiro define so a forma e a cor vem daqui.
   Para mudar a cor de todos os icones basta alterar --tk-card-icon-color.
   Tamanhos/posicoes de cada icone: regras .card-svg.t-*-svg::before em main.css, portal.css e media.css. */
:root {
    --tk-card-icon-color: #ED1C24; /* vermelho dos icones originais (t_*_icon_old.svg) */
    --tk-card-icon-escala: 0.7; /* tamanho dos icones (1 = tamanho das regras de main/portal/media.css) */
}

/* O ::before fica com z-index -1 dentro do cartao, para ficar por baixo do semicirculo e do logo,
   tal como acontecia com o background-image. */
.tk-products-simple-grid .tk-small-card {
    z-index: 0;
}

.tk-products-simple-grid .card-svg {
    position: relative;
}

.tk-products-simple-grid .card-svg.t-restaurant-svg::before,
.tk-products-simple-grid .card-svg.t-restaurante-svg::before,
.tk-products-simple-grid .card-svg.t-infancia-svg::before,
.tk-products-simple-grid .card-svg.t-educacao-svg::before,
.tk-products-simple-grid .card-svg.t-flex-svg::before,
.tk-products-simple-grid .card-svg.t-ensino-svg::before,
.tk-products-simple-grid .card-svg.t-saude-svg::before,
.tk-products-simple-grid .card-svg.t-car-svg::before,
.tk-products-simple-grid .card-svg.t-oferta-svg::before,
.tk-products-grid .card-svg.t-restaurant-svg::before,
.tk-products-grid .card-svg.t-restaurante-svg::before,
.tk-products-grid .card-svg.t-infancia-svg::before,
.tk-products-grid .card-svg.t-educacao-svg::before,
.tk-products-grid .card-svg.t-flex-svg::before,
.tk-products-grid .card-svg.t-ensino-svg::before,
.tk-products-grid .card-svg.t-saude-svg::before,
.tk-products-grid .card-svg.t-car-svg::before,
.tk-products-grid .card-svg.t-oferta-svg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-color: var(--tk-card-icon-color);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    /* reduz o icone mantendo-o no topo do cartao (escala a partir do centro, a 15% da altura) */
    transform: scale(var(--tk-card-icon-escala));
    transform-origin: 50% 15%;
}

/* Login: logo centrado na coluna do formulario (o .tk-sign-in-inner-wrapper nao e flex,
   por isso o align-items do wrapper nao tem efeito) */
.tk-sign-in-logo {
    text-align: center;
}

/* Login (desktop, >= 961px): a imagem (Imagem_entrada.svg) tem margens transparentes. E dimensionada pela parte visivel,
   para ocupar o maximo da coluna esquerda sem cortar em cima nem a direita (a esquerda e propositadamente "a sangrar").
   Usa container queries (cqw/cqh = tamanho da coluna esquerda); o formulario a direita nao muda.
   Ao trocar a imagem, medir a parte visivel e atualizar as 3 proporcoes abaixo (fracoes da LARGURA da imagem, w):
     Imagem_entrada.svg (viewBox 717.75x635.25): visivel x 0-90.39%, y 10.07-93.31% da altura
     -> largura visivel 0.9039w | altura visivel 0.8324*0.8850 = 0.7368w | topo transparente 0.1007*0.8850 = 0.08913w
   Sem suporte a container queries fica o comportamento anterior (main.css). */
@media all and (min-width: 961px) {
    @supports (container-type: size) {
        .tk-sign-in-left {
            container-type: size;
            position: relative;
            overflow: hidden;
            display: block;
            /* margem em cima/em baixo e distancia ao formulario (80px no portatil, ate 140px em ecras largos) */
            padding: 30px clamp(80px, 7vw, 140px) 30px 0;
        }

            .tk-sign-in-left .logo {
                --tk-login-vis-largura: 0.9039;
                --tk-login-vis-altura: 0.7368;
                --tk-login-vis-topo: 0.08913;
                /* Enche a largura disponivel, mas sem cortar mais do que --tk-login-max-corte (fracao da altura visivel) em baixo */
                --tk-login-max-corte: 0.12;
                --tk-login-img-w: min(calc(100cqw / var(--tk-login-vis-largura)), calc(100cqh / (var(--tk-login-vis-altura) * (1 - var(--tk-login-max-corte)))));
                position: absolute;
                left: 0;
                /* parte visivel encostada ao topo (com a margem); se nao couber na altura, corta em baixo; se sobrar altura, centra */
                top: calc(30px + max(0px, (100cqh - var(--tk-login-vis-altura) * var(--tk-login-img-w)) / 2) - var(--tk-login-vis-topo) * var(--tk-login-img-w));
                width: var(--tk-login-img-w);
                height: auto;
                max-width: none; /* anula o img { max-width: 100% } global */
                max-height: none;
                margin: 0;
                object-fit: contain;
            }
    }
}

/* ProdutosInfo (Restaurant, Infancia, ...): o "Solicitar proposta" passou de <button> a <a class="btn"> (CSP);
   as regras antigas (.tk-prod-top button em main.css/media.css) ja nao se aplicam, por isso sao repostas aqui */
.tk-prod-top .btn {
    float: right;
}

/* Com o menu lateral visivel (> 1024px, ver media.css) o cabecalho fica com a largura dos blocos de conteudo (col-10),
   para o botao encostado a direita nao ficar por baixo do menu (que e position: fixed) */
@media all and (min-width: 1025px) {
    .tk-prod-top {
        -ms-flex-preferred-size: 83.33333333%;
        flex-basis: 83.33333333%;
        max-width: 83.33333333%;
    }
}

@media all and (max-width: 450px) {
    .tk-prod-top .btn {
        float: none;
        display: block;
        margin: 20px auto;
    }
}

/* Botoes iguais aos do site institucional (ticket.dev.mktvweb.com, banner da homepage):
   cantos de 3px, sem sombra, Montserrat 700 16px, padding 15px 35px.
   Vermelho #E02726 (hover #C11F1E, igual ao site) e azul escuro #005189 (o site nao define hover; usa-se um tom mais escuro).
   Nao se aplica aos botoes de contorno (.btn-secondary) nem aos transparentes (.btn-clear). */
:root {
    --tk-btn-vermelho: #E02726;
    --tk-btn-vermelho-hover: #C11F1E;
    --tk-btn-azul: #005189;
    --tk-btn-azul-hover: #004676;
}

.btn:not(.btn-secondary):not(.btn-clear) {
    background-color: var(--tk-btn-vermelho);
    border-color: var(--tk-btn-vermelho);
    border-radius: 3px;
    transition: background-color 0.15s, color 0.15s;
}

.btn-primary:not(.btn-clear) {
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    padding: 15px 35px;
    box-shadow: none;
}

    .btn:not(.btn-secondary):not(.btn-clear):hover,
    .btn:not(.btn-secondary):not(.btn-clear):focus-visible,
    .btn-primary:not(.btn-clear):not(:disabled):not(.disabled):active,
    .btn-primary:not(.btn-clear):not(:disabled):not(.disabled).active {
        background-color: var(--tk-btn-vermelho-hover);
        box-shadow: none;
        border-radius: 3px;
    }

/* Azul escuro (ex.: "Aderir/Aceder a Fatura Electronica" no login): mantem a altura fixa de 2 linhas do .btn-primary-2 */
.btn.btn-primary-2:not(.btn-clear) {
    background-color: var(--tk-btn-azul);
    border-color: var(--tk-btn-azul);
    padding: 0 20px;
    line-height: 1.5;
}

    .btn.btn-primary-2:not(.btn-clear):hover,
    .btn.btn-primary-2:not(.btn-clear):focus-visible,
    .btn.btn-primary-2:not(.btn-clear):not(:disabled):not(.disabled):active {
        background-color: var(--tk-btn-azul-hover);
    }

/* Cabecalho (Header/BasicHeader): o logo passou de SVG inline a <img> com logos/logo_ticket.svg
   (viewBox cortado a parte visivel). As regras antigas eram para svg.tk-logo (110x41 / 95x34 em <= 450px). */
.tk-header img.tk-logo {
    display: block;
    height: 41px;
    width: auto;
}

@media all and (max-width: 450px) {
    .tk-header img.tk-logo {
        height: 34px;
    }
}

/* As minhas contas (Main/Index): nome em cima e NIF sempre no fundo do cartao.
   O tamanho da letra do nome baixa com o numero de caracteres (ate 30 / 31-50 / 51-70; o nome e cortado aos 70). */
.tk-homepage-grid .tk-small-card.tk-client-card {
    justify-content: space-between;
    padding: 30px 12px 28px 12px;
}

    .tk-homepage-grid .tk-small-card.tk-client-card .tk-client-name {
        margin-top: 0;
        width: 100%;
        font-size: 22px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

        .tk-homepage-grid .tk-small-card.tk-client-card .tk-client-name.tk-client-name--medio {
            font-size: 18px;
        }

        .tk-homepage-grid .tk-small-card.tk-client-card .tk-client-name.tk-client-name--pequeno {
            font-size: 15px;
        }

    .tk-homepage-grid .tk-small-card.tk-client-card .tk-client-nif {
        flex: 0 0 auto;
        margin-top: 12px;
        color: #005189;
        font-size: 22px;
        font-weight: 700;
        text-align: center;
    }

    .tk-homepage-grid .tk-small-card.tk-client-card:hover .tk-client-nif {
        color: #ffffff;
    }

/* ListagemPedidoEmissao: cabecalho "Filtrar por: ... [Aplicar Filtros] [Excel]" numa so linha.
   As larguras fixas (87% + 5%) so cabiam com a fonte antiga; com a Montserrat o titulo e mais largo e o Excel
   passava para a linha seguinte. O bloco do botao ocupa o espaco que sobra e o Excel fica com a largura do icone. */
.tk-listagem-pedido-emissao-filtros > .u-filter-apply-box,
.tk-listagem-pedido-emissao-filtros > .u-w87-tr-m-auto-flex { /* ConsultasCartaoSimple (Saldo por Cartao) */
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
}

.tk-listagem-pedido-emissao-filtros > .u-filter-excel-box {
    flex: 0 0 auto;
    width: auto !important;
    padding-left: 20px !important;
}

/* Grupos de botoes (Editar / Eliminar / Enviar, popups, formularios): espaco entre botoes.
   Com gap o espaco so existe entre botoes (nao nas pontas) e funciona tambem quando o grupo passa a coluna (mobile). */
.tk-button-group {
    gap: 12px;
}

/* Produtos/Index (grelha simples): todos os icones ocupam a mesma caixa acima do semicirculo e sao encaixados
   (contain) e centrados nela, independentemente da proporcao do desenho (o chapeu e o carro sao largos e baixos).
   Substitui os tamanhos/posicoes por icone de main/portal/media.css e a escala geral (que fica so para ProdutosInfo). */
:root {
    --tk-card-icon-caixa-topo: 8%;     /* inicio da caixa (altura do cartao) */
    --tk-card-icon-caixa-altura: 50%;  /* altura da caixa; o semicirculo comeca a ~61% */
    --tk-card-icon-caixa-lados: 15%;   /* margem esquerda/direita */
}

.tk-products-simple-grid .card-svg.t-restaurant-svg::before,
.tk-products-simple-grid .card-svg.t-restaurante-svg::before,
.tk-products-simple-grid .card-svg.t-infancia-svg::before,
.tk-products-simple-grid .card-svg.t-educacao-svg::before,
.tk-products-simple-grid .card-svg.t-flex-svg::before,
.tk-products-simple-grid .card-svg.t-ensino-svg::before,
.tk-products-simple-grid .card-svg.t-saude-svg::before,
.tk-products-simple-grid .card-svg.t-car-svg::before,
.tk-products-simple-grid .card-svg.t-oferta-svg::before {
    top: var(--tk-card-icon-caixa-topo);
    bottom: auto;
    height: var(--tk-card-icon-caixa-altura);
    left: var(--tk-card-icon-caixa-lados);
    right: var(--tk-card-icon-caixa-lados);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    transform: none;
}

/* Login (e restantes paginas de entrada .tk-sign-in): botoes azuis da fatura electronica com letra mais pequena,
   para nao competirem com o botao Login. A altura do .btn-primary-2 (3em) acompanha a letra. */
.tk-sign-in .btn.btn-primary-2 {
    font-size: 13px;
}
