@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700&display=swap');

/*
   Camada visual do site FMF.
   Carregada por ultimo no Site.Master: altera apenas aparencia (cores, bordas, sombras, tipografia).
   Nao alterar altura/padding/font-size dos itens de menu: os submenus usam posicoes fixas em px (Site.Master).
*/

:root {
    --fmf-vermelho: #bb1414;
    --fmf-vermelho-escuro: #8f0f0f;
    --fmf-vermelho-suave: #fdf0f0;
    --fmf-texto: #2b2b2b;
    --fmf-texto-suave: #6b6f76;
    --fmf-borda: #e6e7ea;
    --fmf-fundo: #f3f4f6;
    --fmf-raio: 10px;
    --fmf-sombra: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px rgba(16, 24, 40, .06);
    --fmf-sombra-forte: 0 12px 32px rgba(16, 24, 40, .14);
}

html,
body {
    font-family: 'Source Sans 3', 'Source Sans Pro', 'Segoe UI', Arial, sans-serif;
    color: var(--fmf-texto);
    background-color: var(--fmf-fundo);
}

a {
    color: var(--fmf-vermelho);
    transition: color .15s ease, background-color .15s ease;
}

    a:hover,
    a:focus {
        color: var(--fmf-vermelho-escuro);
    }

/* Estrutura: mesma largura maxima de antes, mas fluida em telas menores */
.wrappertop {
    background-image: linear-gradient(180deg, #ffffff 0, #ffffff 160px, var(--fmf-fundo) 520px);
    border-top: 4px solid var(--fmf-vermelho);
}

.wrapper {
    background-color: var(--fmf-fundo);
}

#wrapper {
    width: 100%;
    max-width: 1320px;
}

.jp-wrapper {
    width: 100%;
    max-width: 1320px;
}

.container_es {
    padding: 0 24px;
}

#wrapper img,
#wrapperfx img,
#Div1 img {
    max-width: 100%;
}

/* Cabecalho */
.jp-wrapper > div[style*="text-align: center"] {
    padding: 22px 0 18px;
}

    .jp-wrapper > div[style*="text-align: center"] > br,
    .jp-wrapper > div[style*="text-align: center"] + br {
        display: none;
    }

    .jp-wrapper > div[style*="text-align: center"] img {
        max-height: 104px;
        width: auto;
    }

/* Banner TV FMF */
.container_es > a > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--fmf-raio);
    box-shadow: var(--fmf-sombra);
}

/* Menu principal */
.container_es .navbar {
    background: #ffffff;
    border: 0;
    border-radius: var(--fmf-raio);
    box-shadow: var(--fmf-sombra);
    margin-bottom: 22px;
}

    .container_es .navbar .navbar-nav > li > a {
        color: #3a3d42;
        font-weight: 700;
        letter-spacing: .02em;
    }

        .container_es .navbar .navbar-nav > li > a:hover,
        .container_es .navbar .navbar-nav > li > a:focus,
        .container_es .navbar .navbar-nav > li.open > a,
        .container_es .navbar .navbar-nav > li.active > a {
            color: var(--fmf-vermelho);
            background-color: transparent;
            box-shadow: inset 0 -3px 0 var(--fmf-vermelho);
        }

    .container_es .navbar .navbar-nav > li.fmf-menu-home > a {
        display: flex;
        align-items: center;
    }

        .container_es .navbar .navbar-nav > li.fmf-menu-home > a > svg {
            display: block;
            width: 22px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: transform .15s ease;
        }

        .container_es .navbar .navbar-nav > li.fmf-menu-home > a:hover > svg {
            transform: translateY(-1px);
        }

    .fmf-menu-home-txt {
        margin-left: 10px;
    }

@media (min-width: 768px) {
    .container_es .navbar .navbar-nav > li.fmf-menu-home > a {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fmf-menu-home-txt {
        display: none;
    }
}

    .container_es .navbar .dropdown-menu,
    .container_es .navbar .sub-menu {
        border: 0;
        border-radius: var(--fmf-raio);
        box-shadow: var(--fmf-sombra-forte), inset 0 3px 0 var(--fmf-vermelho);
    }

        .container_es .navbar .dropdown-menu > li > a,
        .container_es .navbar .sub-menu > li > a {
            color: #3a3d42;
        }

            .container_es .navbar .dropdown-menu > li > a:hover,
            .container_es .navbar .dropdown-menu > li > a:focus,
            .container_es .navbar .sub-menu > li > a:hover,
            .container_es .navbar .sub-menu > li > a:focus {
                color: var(--fmf-vermelho);
                background-color: var(--fmf-vermelho-suave);
            }

@media (min-width: 768px) {
    .container_es .navbar .navbar-collapse {
        text-align: center;
    }

    .container_es .navbar .navbar-nav {
        float: none;
        display: inline-block;
        vertical-align: top;
    }

        .container_es .navbar .navbar-nav > li > a {
            font-size: 14px;
        }

        .container_es .navbar .navbar-nav .dropdown-menu {
            text-align: left;
        }
}

/* Caixas */
.box {
    border-radius: var(--fmf-raio);
    box-shadow: var(--fmf-sombra);
    border-top-width: 3px;
}

    .box.box-danger {
        border-top-color: var(--fmf-vermelho);
    }

    .box > .box-header {
        padding: 12px 14px;
        padding-bottom: 12px !important;
    }

    .box > .box-body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .box > .box-header > .box-title {
        margin: 0;
        padding: 0;
        line-height: 1.3;
    }

    .box .box-header .box-title {
        font-size: 16px;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
        color: #2b2b2b;
    }

    .box.box-solid.bg-red {
        background-image: linear-gradient(135deg, #c91c1c 0%, var(--fmf-vermelho) 45%, var(--fmf-vermelho-escuro) 100%);
    }

.box-es-titulo {
    background: rgba(0, 0, 0, .28);
    color: #ffffff;
    letter-spacing: .04em;
    border-top-left-radius: var(--fmf-raio);
}

.box.box-solid.bg-gray {
    background-color: #ffffff !important;
}

.bg-red .box-es-titulo,
.bg-gray .box-es-titulo {
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-align: left;
}

.bg-gray .box-es-titulo {
    color: var(--fmf-texto);
}

/* Cabecalho dos widgets (titulo a esquerda, seletor a direita, mesmo recuo do corpo) */
.box.box-solid > .box-header:has(.box-es-titulo) {
    padding: 8px 14px;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--fmf-borda);
}

.box.box-solid.bg-red > .box-header:has(.box-es-titulo) {
    border-bottom-color: rgba(255, 255, 255, .18);
}

    .box.box-solid > .box-header:has(.box-es-titulo) > .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0;
    }

        .box.box-solid > .box-header:has(.box-es-titulo) > .row::before,
        .box.box-solid > .box-header:has(.box-es-titulo) > .row::after {
            display: none;
        }

        .box.box-solid > .box-header:has(.box-es-titulo) > .row > [class*="col-"] {
            float: none;
            width: auto;
            min-height: 0;
            padding: 0;
            flex: 0 0 auto;
        }

            .box.box-solid > .box-header:has(.box-es-titulo) > .row > [class*="col-"]:first-child {
                flex: 0 0 auto;
            }

            .box.box-solid > .box-header:has(.box-es-titulo) > .row > [class*="col-"]:last-child:not(:first-child) {
                flex: 1 1 0;
                min-width: 0;
                display: flex;
                justify-content: flex-end;
            }

    .box.box-solid > .box-header:has(.box-es-titulo) .box-es-titulo {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        line-height: 1.2;
        border-radius: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .box.box-solid > .box-header:has(.box-es-titulo) .form-group-lg {
        margin: 0;
    }

    .box.box-solid > .box-header:has(.box-es-titulo) .form-group-lg {
        width: 100%;
        max-width: 170px;
    }

    .box.box-solid > .box-header:has(.box-es-titulo) select {
        width: 100%;
        min-width: 0;
        max-width: 170px;
    }

.box.box-solid:has(.box-es-titulo) > .box-body {
    padding: 12px 14px;
}

    .box.box-solid:has(.box-es-titulo) > .box-body .nav-tabs-custom {
        box-shadow: none;
        margin-bottom: 0;
    }

        .box.box-solid:has(.box-es-titulo) > .box-body .nav-tabs-custom > .tab-content {
            padding-left: 0;
            padding-right: 0;
        }

        .box.box-solid:has(.box-es-titulo) > .box-body .nav-tabs-custom > .nav-tabs {
            margin-left: -5px;
        }

    .box.box-solid:has(.box-es-titulo) > .box-body .table tr > td:first-child,
    .box.box-solid:has(.box-es-titulo) > .box-body .table tr > th:first-child {
        padding-left: 0;
    }

    .box.box-solid:has(.box-es-titulo) > .box-body .table tr > td:last-child,
    .box.box-solid:has(.box-es-titulo) > .box-body .table tr > th:last-child {
        padding-right: 0;
    }

.combo-site,
.combo-siteR {
    cursor: pointer;
    font-weight: 600;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    outline: 0;
}

.combo-site {
    background-color: rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #ffffff;
}

.combo-siteR {
    background-color: #ffffff;
    border: 1px solid var(--fmf-borda);
    color: var(--fmf-texto);
}

    .combo-site option,
    .combo-siteR option {
        background-color: #ffffff;
        color: var(--fmf-texto);
    }

/* Destaques (foto com legenda) */
.imageHolder {
    width: 100%;
    height: 209px;
    overflow: hidden;
    border-radius: var(--fmf-raio);
    margin-bottom: 15px;
    box-shadow: var(--fmf-sombra);
}

    .imageHolder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

    .imageHolder:hover img {
        transform: scale(1.04);
    }

    .imageHolder .caption {
        width: 100%;
        height: auto;
        min-height: 50px;
        padding: 28px 14px 12px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .85) 100%);
        opacity: 1;
        text-align: left;
        font-weight: 600;
        line-height: 1.3;
        pointer-events: none;
    }

        .imageHolder .caption br {
            display: none;
        }

/* Abas e lista de noticias */
.nav-tabs-custom {
    border-radius: var(--fmf-raio);
    box-shadow: var(--fmf-sombra);
}

    .nav-tabs-custom > .nav-tabs > li > a {
        font-weight: 600;
        color: var(--fmf-texto-suave);
    }

    .nav-tabs-custom > .nav-tabs > li.active {
        border-top-color: var(--fmf-vermelho);
    }

        .nav-tabs-custom > .nav-tabs > li.active > a {
            color: var(--fmf-vermelho);
        }

    .nav-tabs-custom > .nav-tabs > li.header {
        font-weight: 700;
        letter-spacing: .05em;
        color: var(--fmf-texto);
    }

    .nav-tabs-custom .tab-content h4 {
        font-weight: 700;
        line-height: 1.3;
        color: var(--fmf-texto);
    }

/* Fichas (DetalheEquipe, DetalheEstadio...): invólucro de abas sem abas */
.box-body > .nav-tabs-custom:not(:has(> .nav-tabs)) {
    margin-bottom: 0;
    box-shadow: none;
    background: transparent;
}

    .box-body > .nav-tabs-custom:not(:has(> .nav-tabs)) > .tab-content {
        padding: 0;
    }

.box-body .tab-pane > .table-striped td[align="right"] {
    color: var(--fmf-texto-suave);
    padding-right: 12px;
}

.img-thumbnail {
    padding: 0;
    border: 0;
    border-radius: 8px;
    box-shadow: var(--fmf-sombra);
}

/* Tabelas */
.table > thead > tr > th,
.table > tbody > tr > td {
    border-top-color: var(--fmf-borda);
}

.table > tbody > tr:hover > td {
    background-color: rgba(187, 20, 20, .035);
}

/* Destaque principal */
#carousel-master {
    border-radius: var(--fmf-raio);
    overflow: hidden;
    box-shadow: var(--fmf-sombra);
    margin-bottom: 20px;
}

    #carousel-master .carousel-caption {
        background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .78) 100%);
        text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    }

        #carousel-master .carousel-caption h3 {
            font-weight: 700;
            line-height: 1.25;
        }

    #carousel-master .carousel-control {
        background-image: none;
        opacity: .75;
    }

        #carousel-master .carousel-control:hover {
            opacity: 1;
        }

/* Galerias e rodape */
#wrapperfx h3 {
    font-weight: 700;
    letter-spacing: .05em;
    color: #2b2b2b;
    border-left: 4px solid var(--fmf-vermelho);
    padding-left: 10px;
}

#Div1 {
    border-top: 1px solid var(--fmf-borda);
    padding-top: 24px;
}

    #Div1 p.small {
        color: var(--fmf-texto-suave);
    }

.fmf-credito {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.fmf-credito-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: opacity .15s ease;
}

    .fmf-credito-logo:hover {
        opacity: .8;
    }

    .fmf-credito-logo svg {
        flex: 0 0 auto;
        width: 30px;
        height: 30px;
    }

.fmf-credito-marca {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-transform: uppercase;
}

    .fmf-credito-marca strong {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .12em;
        color: #0F2B5B;
    }

    .fmf-credito-marca small {
        font-size: 8.5px;
        font-weight: 600;
        letter-spacing: .14em;
        color: #1E4976;
    }

@media (max-width: 1199px) {
    .fmf-credito {
        justify-content: flex-start;
    }
}

/*
   Paginas institucionais (Quem Somos): os textos sao asp:Label com estilo inline,
   por isso os seletores usam o atributo style e !important.
*/
.fmf-institucional {
    padding-top: 0;
}

    .fmf-institucional > .row > [class*="col-"]:first-child,
    .fmf-institucional > .row + .row > [class*="col-"] {
        position: relative;
        z-index: 0;
        padding: 26px 43px 22px;
        margin-bottom: 20px;
    }

        .fmf-institucional > .row > [class*="col-"]:first-child::before,
        .fmf-institucional > .row + .row > [class*="col-"]::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 15px;
            right: 15px;
            z-index: -1;
            background: #ffffff;
            border-top: 3px solid var(--fmf-vermelho);
            border-radius: var(--fmf-raio);
            box-shadow: var(--fmf-sombra);
        }

    .fmf-institucional > .row > [class*="col-"] > .box {
        top: 0;
    }

    @media (min-width: 992px) {
        .fmf-institucional > .row:first-child:has(> .col-md-3 > .box) {
            display: flex;
        }
    }

    @media (min-width: 1200px) {
        .fmf-institucional > .row:first-child:has(> .col-lg-3 > .box) {
            display: flex;
        }
    }

    @media (min-width: 992px) {
        .fmf-institucional > .row:first-child > [class*="col-"]:has(> .box) {
            display: flex;
            flex-direction: column;
        }

            .fmf-institucional > .row:first-child > [class*="col-"]:has(> .box) > .box {
                flex: 1 1 auto;
            }
    }

    .fmf-institucional br + br + br {
        display: none;
    }

    .fmf-institucional span[style*="X-Large"][style*="#CC3300"],
    .fmf-institucional span[style*="font-size:24px"] {
        display: block;
        font-size: 26px !important;
        font-weight: 700 !important;
        letter-spacing: .04em;
        color: var(--fmf-vermelho) !important;
        padding-bottom: 12px;
        margin-bottom: 18px;
        border-bottom: 1px solid var(--fmf-borda);
    }

        .fmf-institucional span[style*="X-Large"][style*="#CC3300"] + br,
        .fmf-institucional span[style*="X-Large"][style*="#CC3300"] + br + br,
        .fmf-institucional span[style*="font-size:24px"] + br,
        .fmf-institucional span[style*="font-size:24px"] + br + br {
            display: none;
        }

    .fmf-institucional span[style*="X-Large"][style*="#5B5B5B"] {
        display: inline-block;
        font-size: 19px !important;
        font-weight: 700 !important;
        color: var(--fmf-texto) !important;
        border-left: 4px solid var(--fmf-vermelho);
        padding-left: 10px;
        margin: 8px 0 8px;
        line-height: 1.3;
    }

    .fmf-institucional span[style*="font-size:Large"][style*="bold"] {
        font-size: 17px !important;
        font-weight: 700 !important;
        color: var(--fmf-texto) !important;
        line-height: 1.8;
    }

    .fmf-institucional span[style*="font-size:Large"]:not([style*="bold"]) {
        display: inline-block;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        letter-spacing: .07em;
        text-transform: uppercase;
        color: var(--fmf-texto-suave) !important;
        margin-top: 4px;
    }

    .fmf-institucional span[style*="#CC3300"]:not([style*="X-Large"]) {
        font-size: 14px;
        font-weight: 600 !important;
        color: var(--fmf-vermelho) !important;
        line-height: 1.8;
    }

        .fmf-institucional span[style*="#CC3300"]:not([style*="X-Large"])::before {
            content: "\f0e0";
            font-family: FontAwesome;
            font-weight: normal;
            margin-right: 6px;
            opacity: .75;
        }

    .fmf-institucional a[href$=".pdf"] {
        display: inline-block;
        margin-top: 8px;
        padding: 7px 14px;
        border: 1px solid var(--fmf-borda);
        border-radius: 999px;
        font-size: 13px !important;
        font-weight: 600;
        color: var(--fmf-texto) !important;
        text-decoration: none;
    }

        .fmf-institucional a[href$=".pdf"]::before {
            content: "\f1c1";
            font-family: FontAwesome;
            margin-right: 6px;
            color: var(--fmf-vermelho);
        }

        .fmf-institucional a[href$=".pdf"]:hover {
            border-color: var(--fmf-vermelho);
            color: var(--fmf-vermelho) !important;
            background-color: var(--fmf-vermelho-suave);
        }

    .fmf-institucional .img-thumbnail {
        border-radius: var(--fmf-raio);
    }

/* Escola FMF: logo em destaque com informacoes ao lado */
.fmf-escola {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-bottom: 24px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--fmf-borda);
}

.fmf-escola-logo {
    flex: 0 0 auto;
    display: block;
    width: 300px;
    max-width: 100%;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid var(--fmf-borda);
    border-radius: var(--fmf-raio);
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .fmf-escola-logo:hover {
        border-color: var(--fmf-vermelho);
        box-shadow: var(--fmf-sombra);
    }

    .fmf-escola-logo img {
        display: block;
        width: 100%;
        height: auto;
    }

.fmf-escola-info h3 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--fmf-vermelho);
}

.fmf-escola-info p {
    margin: 0 0 16px;
    font-size: 15px;
    color: var(--fmf-texto-suave);
}

.fmf-escola-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fmf-escola-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--fmf-vermelho);
    border-radius: 999px;
    background-color: var(--fmf-vermelho);
    font-size: 13px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
}

    .fmf-escola-btn:hover {
        background-color: var(--fmf-vermelho-escuro);
    }

.fmf-escola-btn-sec {
    border-color: var(--fmf-borda);
    background-color: #ffffff;
    color: var(--fmf-texto) !important;
}

    .fmf-escola-btn-sec .fa {
        color: var(--fmf-vermelho);
    }

    .fmf-escola-btn-sec:hover {
        border-color: var(--fmf-vermelho);
        background-color: var(--fmf-vermelho-suave);
        color: var(--fmf-vermelho) !important;
    }

.fmf-escola-equipe h4 {
    margin: 0 0 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--fmf-texto-suave);
}

.fmf-escola-pessoa {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px 14px 14px;
    background-color: var(--fmf-fundo);
    border-radius: var(--fmf-raio);
}

    .fmf-escola-pessoa strong,
    .fmf-escola-pessoa small,
    .fmf-escola-pessoa a {
        display: block;
    }

    .fmf-escola-pessoa strong {
        font-size: 16px;
        color: var(--fmf-texto);
    }

    .fmf-escola-pessoa small {
        margin: 2px 0 4px;
        font-size: 11.5px;
        font-weight: 700;
        letter-spacing: .07em;
        text-transform: uppercase;
        color: var(--fmf-texto-suave);
    }

    .fmf-escola-pessoa a {
        font-size: 13.5px;
        font-weight: 600;
        color: var(--fmf-vermelho);
    }

        .fmf-escola-pessoa a .fa {
            margin-right: 6px;
            opacity: .75;
        }

.fmf-escola-avatar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--fmf-vermelho-suave);
    font-size: 20px;
    color: var(--fmf-vermelho);
}

@media (max-width: 767px) {
    .fmf-escola {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .fmf-escola-logo {
        width: 260px;
    }
}

/* Paginas internas: titulo no topo (Documentos, TJD, Legislacao, Taxas...) */
.container_es > .box-header {
    padding: 4px 2px 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--fmf-borda);
}

    .container_es > .box-header .box-title,
    .container_es > .box-header .box-title > span {
        font-size: 24px !important;
        font-weight: 700 !important;
        letter-spacing: .03em;
        color: var(--fmf-vermelho) !important;
    }

.container_es > .box {
    padding: 8px 0;
}

.box .box-header > h3[style*="#bb1414"] {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--fmf-texto) !important;
}

.box > .box-header > h3[style*="padding-left"] {
    padding-left: 0 !important;
    line-height: 1.3;
}

    .box > .box-header > h3 > p.box-info {
        margin: 0;
    }

.box > .box-header span[id$="lblCompeticao"][style*="padding-left"] {
    padding-left: 0 !important;
}

/* Abas principais de pagina (ProxJogos: Tabela, Classificacao...) */
:is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom {
    margin-bottom: 0;
    box-shadow: none;
    background: transparent;
}

    :is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom > .nav-tabs {
        border-bottom: 1px solid var(--fmf-borda);
    }

        :is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom > .nav-tabs > li {
            margin: 0 22px -1px 0;
            border-top: 0 !important;
            background: transparent !important;
        }

            :is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom > .nav-tabs > li > a {
                margin: 0;
                padding: 10px 0 9px;
                border: 0 !important;
                border-bottom: 3px solid transparent !important;
                border-radius: 0;
                background: transparent !important;
                font-size: 14px;
                font-weight: 600;
                color: var(--fmf-texto-suave);
            }

                :is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom > .nav-tabs > li > a:focus {
                    outline: none;
                }

                :is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom > .nav-tabs > li > a:hover {
                    color: var(--fmf-texto);
                    border-bottom-color: var(--fmf-borda) !important;
                }

            :is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom > .nav-tabs > li.active > a {
                color: var(--fmf-vermelho);
                border-bottom-color: var(--fmf-vermelho) !important;
            }

    :is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom > .tab-content {
        padding: 16px 0 0;
    }

/* Fases da competicao (abas dentro das abas Tabela e Classificacao): botoes em pilula */
:is([id$="LblTabela"], [id$="PnlComGrupo"] > [id$="LblClassifica"]) > .nav-tabs-custom {
    margin-bottom: 0;
    box-shadow: none;
    background: transparent;
}

    :is([id$="LblTabela"], [id$="PnlComGrupo"] > [id$="LblClassifica"]) > .nav-tabs-custom > .nav-tabs {
        border-bottom: 0;
    }

        :is([id$="LblTabela"], [id$="PnlComGrupo"] > [id$="LblClassifica"]) > .nav-tabs-custom > .nav-tabs > li {
            margin: 0 6px 6px 0;
            border-top: 0 !important;
        }

            :is([id$="LblTabela"], [id$="PnlComGrupo"] > [id$="LblClassifica"]) > .nav-tabs-custom > .nav-tabs > li > a {
                margin: 0;
                padding: 6px 14px;
                border: 0 !important;
                border-radius: 999px;
                background-color: var(--fmf-fundo) !important;
                font-size: 12px;
                font-weight: 700;
                letter-spacing: .04em;
                color: var(--fmf-texto-suave);
                transition: background-color .15s ease, color .15s ease;
            }

                :is([id$="LblTabela"], [id$="PnlComGrupo"] > [id$="LblClassifica"]) > .nav-tabs-custom > .nav-tabs > li > a:hover {
                    background-color: #e8e9ec !important;
                    color: var(--fmf-texto);
                }

            :is([id$="LblTabela"], [id$="PnlComGrupo"] > [id$="LblClassifica"]) > .nav-tabs-custom > .nav-tabs > li.active > a {
                background-color: var(--fmf-vermelho) !important;
                color: #ffffff;
            }

    [id$="LblTabela"] > .nav-tabs-custom > .tab-content {
        padding: 0;
    }

/* Carrossel de rodadas: cabecalho da rodada e setas */
.ca-item .box.box-solid.box-danger > .box-header {
    padding: 11px 14px !important;
}

.ca-item .box-title_es {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.5;
}

.ca-nav span {
    top: 44px;
    margin-top: 0;
}

/* Jogos da rodada */
.ca-item .box-body {
    font-size: 12.5px;
    color: var(--fmf-texto);
}

    .ca-item .box-body div[style*="border-top: solid 1px #d9d9d9"] {
        border-top-color: var(--fmf-borda) !important;
    }

    .ca-item .box-body > .table > .row[style*="min-height: 24px"] {
        margin: 6px 0 2px !important;
        padding: 6px 0 !important;
        border-radius: 6px;
        background-color: var(--fmf-fundo);
    }

        .ca-item .box-body > .table > .row[style*="min-height: 24px"] b {
            font-size: 11.5px;
            letter-spacing: .06em;
            text-transform: uppercase;
            color: var(--fmf-texto-suave);
        }

    .ca-item .box-body > .table > .row[style*="min-height: 65px"] {
        border-radius: 8px;
        transition: background-color .15s ease;
    }

        .ca-item .box-body > .table > .row[style*="min-height: 65px"]:hover {
            background-color: #fafafb;
        }

    .ca-item .box-body .col-md-1[style*="top: 10px"] {
        font-size: 12px;
        font-weight: 600;
        color: var(--fmf-texto-suave);
    }

    .ca-item .box-body .col-md-11 > .row > .col-md-3 {
        font-weight: 700;
        line-height: 1.3;
    }

    .ca-item .box-body .col-md-6 > .row > .col-md-2 td {
        font-size: 16px;
        font-weight: 700;
        color: var(--fmf-texto);
    }

        .ca-item .box-body .col-md-6 > .row > .col-md-2 td:nth-child(2) {
            font-size: 11px;
            font-weight: 600;
            color: var(--fmf-texto-suave);
        }

    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-3 {
        font-size: 11.5px;
        line-height: 1.45;
        color: var(--fmf-texto-suave);
    }

        .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-3::first-line {
            font-weight: 700;
            color: var(--fmf-texto);
        }

    .ca-item .box-body > .table > .row > .col-md-3 img[width="60px"] {
        width: 48px;
        padding: 0 !important;
        margin: 2px;
        border-radius: 8px;
        transition: opacity .15s ease, transform .15s ease;
    }

        .ca-item .box-body > .table > .row > .col-md-3 img[width="60px"]:hover {
            opacity: .85;
            transform: translateY(-1px);
        }

@media (min-width: 992px) {
    /* alinhamento vertical por flex no lugar dos "top: Npx" inline */
    .ca-item .box-body > .table > .row[style*="min-height: 65px"],
    .ca-item .box-body > .table > .row > .col-md-9 > .row,
    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 > .row,
    .ca-item .box-body .col-md-11 > .row,
    .ca-item .box-body .col-md-6 > .row {
        display: flex;
        align-items: center;
    }

        .ca-item .box-body > .table > .row[style*="min-height: 65px"]::before,
        .ca-item .box-body > .table > .row[style*="min-height: 65px"]::after,
        .ca-item .box-body > .table > .row > .col-md-9 > .row::before,
        .ca-item .box-body > .table > .row > .col-md-9 > .row::after,
        .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 > .row::before,
        .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 > .row::after,
        .ca-item .box-body .col-md-11 > .row::before,
        .ca-item .box-body .col-md-11 > .row::after,
        .ca-item .box-body .col-md-6 > .row::before,
        .ca-item .box-body .col-md-6 > .row::after {
            display: none;
        }

    .ca-item .box-body > .table > .row[style*="min-height: 65px"] {
        padding: 8px 0 !important;
    }

        .ca-item .box-body > .table > .row[style*="min-height: 65px"] [class*="col-"] {
            top: 0 !important;
            min-height: 0 !important;
        }
}

/* ProxJogos: linhas de jogo dentro do recuo de 14px da caixa da rodada
   (a div .table gerada tem padding-left:1px inline, compensado aqui) */
.ca-item .box-body > .table > .row {
    margin-left: -1px;
    margin-right: 0;
}

.ca-item .box-body .col-md-1[style*="top: 10px"] {
    padding-left: 0 !important;
    text-align: left;
}

.box .box-header .box-title[style*="#bb1414"] {
    color: var(--fmf-texto) !important;
}

/* Caixa direto dentro de .row, sem coluna (coluna lateral da home) */
[class*="col-"] > .row > .box {
    width: auto;
    margin-left: 15px;
    margin-right: 15px;
}

/* Cartoes em grade (Equipes: escudo + nome/cidade; Arbitragem: foto + nome) */
[class*="col-"] > .box.box-solid.danger {
    border: 1px solid var(--fmf-borda);
    box-shadow: none;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

    [class*="col-"] > .box.box-solid.danger:hover {
        border-color: #d9dadf;
        box-shadow: var(--fmf-sombra);
        transform: translateY(-2px);
    }

    [class*="col-"] > .box.box-solid.danger > .box-body,
    [class*="col-"] > .box.box-solid.bg-red > .box-body {
        padding: 12px 14px;
    }

        [class*="col-"] > .box.box-solid.danger > .box-body > .row,
        [class*="col-"] > .box.box-solid.bg-red > .box-body > .row {
            display: flex;
            align-items: center;
            margin: 0;
        }

            [class*="col-"] > .box.box-solid.danger > .box-body > .row::before,
            [class*="col-"] > .box.box-solid.danger > .box-body > .row::after,
            [class*="col-"] > .box.box-solid.bg-red > .box-body > .row::before,
            [class*="col-"] > .box.box-solid.bg-red > .box-body > .row::after {
                display: none;
            }

            [class*="col-"] > .box.box-solid.danger > .box-body > .row > [class*="col-"],
            [class*="col-"] > .box.box-solid.bg-red > .box-body > .row > [class*="col-"] {
                float: none;
                width: auto;
                padding: 0;
            }

                [class*="col-"] > .box.box-solid.danger > .box-body > .row > [class*="col-"]:first-child,
                [class*="col-"] > .box.box-solid.bg-red > .box-body > .row > [class*="col-"]:first-child {
                    flex: 0 0 auto;
                    margin-right: 14px;
                }

                [class*="col-"] > .box.box-solid.danger > .box-body > .row > [class*="col-"]:last-child,
                [class*="col-"] > .box.box-solid.bg-red > .box-body > .row > [class*="col-"]:last-child {
                    flex: 1 1 auto;
                    min-width: 0;
                    font-weight: 600;
                    line-height: 1.4;
                    overflow-wrap: anywhere;
                }

        [class*="col-"] > .box.box-solid.danger > .box-body img.image {
            display: block;
            width: 72px;
            height: 72px;
            object-fit: contain;
        }

        [class*="col-"] > .box.box-solid.bg-red > .box-body img.img-rounded {
            display: block;
            width: 72px;
            height: 96px;
            object-fit: cover;
            object-position: center top;
            border-radius: 8px;
            border: 2px solid rgba(255, 255, 255, .6);
            background-color: #ffffff;
        }

        [class*="col-"] > .box.box-solid.danger > .box-body center {
            text-align: left;
            font-size: 13px;
            font-weight: normal;
            line-height: 1.45;
            color: var(--fmf-texto-suave);
        }

            [class*="col-"] > .box.box-solid.danger > .box-body center::first-line {
                font-size: 15px;
                font-weight: 700;
                color: var(--fmf-texto);
            }

/* Listas de documentos (DataGrid com GridItem/GridAlternate/GridPager) */
.GridItem > td,
.GridAlternate > td {
    padding: 11px 14px !important;
    border-bottom: 1px solid var(--fmf-borda);
    background-color: #ffffff;
    transition: background-color .15s ease;
}

.GridAlternate > td {
    background-color: #fafbfc;
}

.GridItem:hover > td,
.GridAlternate:hover > td {
    background-color: var(--fmf-vermelho-suave);
}

.GridItem a,
.GridAlternate a {
    font-size: 14.5px !important;
    font-weight: 600;
    color: var(--fmf-texto) !important;
    text-decoration: none;
}

    .GridItem a:hover,
    .GridAlternate a:hover {
        color: var(--fmf-vermelho) !important;
    }

.GridItem > td:first-child > a:first-child::before,
.GridAlternate > td:first-child > a:first-child::before {
    content: "\f0f6";
    font-family: FontAwesome;
    font-weight: normal;
    color: var(--fmf-vermelho);
    margin-right: 10px;
}

.GridHeader > td {
    padding: 10px 14px !important;
    font-weight: 700;
    color: var(--fmf-texto-suave);
    border-bottom: 2px solid var(--fmf-borda);
}

.GridPager > td {
    padding: 16px 14px !important;
}

    .GridPager > td > a,
    .GridPager > td > span {
        display: inline-block;
        min-width: 34px;
        height: 34px;
        line-height: 32px;
        margin: 2px;
        padding: 0 8px;
        text-align: center;
        border: 1px solid var(--fmf-borda);
        border-radius: 8px;
        font-weight: 600;
        color: var(--fmf-texto);
        background-color: #ffffff;
        text-decoration: none;
    }

        .GridPager > td > a:hover {
            border-color: var(--fmf-vermelho);
            color: var(--fmf-vermelho);
        }

    .GridPager > td > span {
        background-color: var(--fmf-vermelho);
        border-color: var(--fmf-vermelho);
        color: #ffffff;
    }

/* Paginas com coluna vazia de recuo (col-lg-1 + col-lg-11) */
.container_es > .box > .row:has(> .col-lg-1 + .col-lg-11) {
    margin: 0;
}

    .container_es > .box > .row > .col-lg-1:has(+ .col-lg-11) {
        display: none;
    }

    .container_es > .box > .row > .col-lg-1 + .col-lg-11 {
        float: none;
        width: 100%;
        padding: 0;
    }

/* Filtro simples (Transferencia Interestadual) */
.container_es > .box > .row > .col-lg-11 > .row:has(.form-control) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 0;
    margin: 0;
    padding: 14px 0 16px;
}

    .container_es > .box > .row > .col-lg-11 > .row:has(.form-control)::before,
    .container_es > .box > .row > .col-lg-11 > .row:has(.form-control)::after {
        display: none;
    }

    .container_es > .box > .row > .col-lg-11 > .row:has(.form-control) > [class*="col-"] {
        padding: 0 14px;
        font-size: 11.5px;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
        color: var(--fmf-texto-suave);
    }

        .container_es > .box > .row > .col-lg-11 > .row:has(.form-control) > [class*="col-"]:has(.form-control) {
            float: none;
            flex: 1 1 260px;
            width: auto;
            max-width: 380px;
        }

        .container_es > .box > .row > .col-lg-11 > .row:has(.form-control) > [class*="col-"]:has(> .btn) {
            float: none;
            flex: 0 0 auto;
            width: auto;
        }

        .container_es > .box > .row > .col-lg-11 > .row:has(.form-control) > [class*="col-"] > br {
            display: none;
        }

        .container_es > .box > .row > .col-lg-11 > .row:has(.form-control) .form-control {
            height: 38px;
            margin-top: 6px;
            font-size: 14px;
            font-weight: normal;
            letter-spacing: 0;
            text-transform: none;
        }

        .container_es > .box > .row > .col-lg-11 > .row:has(.form-control) .btn {
            height: 38px;
            padding: 0 22px;
            border-radius: 8px;
        }

/* Torne-se um Filiado */
.container_es > .box-body > .row > .col-lg-9 span[id$="lblTitulo"][style*="X-Large"] {
    display: block;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--fmf-borda);
    font-size: 24px !important;
    letter-spacing: .03em;
    color: var(--fmf-vermelho) !important;
}

    .container_es > .box-body > .row > .col-lg-9 span[id$="lblTitulo"][style*="X-Large"] + br,
    .container_es > .box-body > .row > .col-lg-9 span[id$="lblSubTitulo1"] + br + br {
        display: none;
    }

.container_es > .box-body > .row > .col-lg-9 span[id$="lblSubTitulo1"] {
    display: block;
    margin-bottom: 4px;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--fmf-texto-suave) !important;
}

.container_es > .box-body > .row > .col-lg-9 .tab-pane {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fmf-texto);
}

    .container_es > .box-body > .row > .col-lg-9 .tab-pane > br:first-child {
        display: none;
    }

    .container_es > .box-body > .row > .col-lg-9 .tab-pane > a[target="_blank"] {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 11px 18px 11px 14px;
        border: 1px solid var(--fmf-borda);
        border-radius: 10px;
        background-color: #ffffff;
        font-size: 14px !important;
        font-weight: 600;
        color: var(--fmf-texto) !important;
        text-decoration: none;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

        .container_es > .box-body > .row > .col-lg-9 .tab-pane > a[target="_blank"]::before {
            content: "\f1c1";
            flex: 0 0 36px;
            height: 36px;
            border-radius: 8px;
            background-color: var(--fmf-vermelho-suave);
            font-family: FontAwesome;
            font-size: 17px;
            font-weight: normal;
            line-height: 36px;
            text-align: center;
            color: var(--fmf-vermelho);
        }

        .container_es > .box-body > .row > .col-lg-9 .tab-pane > a[target="_blank"]:hover {
            border-color: var(--fmf-vermelho);
            box-shadow: var(--fmf-sombra);
            color: var(--fmf-vermelho) !important;
        }

    .container_es > .box-body > .row > .col-lg-9 .tab-pane > span[id$="lblPartTextoLiga"] {
        display: block;
        margin-bottom: 10px;
        font-size: 15px;
    }

    .container_es > .box-body > .row > .col-lg-9 .tab-pane > b {
        color: var(--fmf-vermelho);
    }

/* Listas fixas de arquivos (Prestacao de Contas, Futebol Amador, Portarias, Torcedores Impedidos) */
.container_es > .box > .row:has(> .col-lg-11 > a[target="_blank"]) {
    min-height: 0 !important;
    margin: 0;
}

    .container_es > .box > .row > .col-lg-1:has(+ .col-lg-11 > a[target="_blank"]) {
        display: none;
    }

    .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) {
        float: none;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 10px;
        padding: 14px;
    }

        .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) br {
            display: none;
        }

        .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) > span:has(> a) {
            display: contents;
        }

        .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) > a[target="_blank"],
        .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) > span > a[target="_blank"] {
            display: flex;
            align-items: center;
            gap: 12px;
            min-height: 58px;
            padding: 11px 14px;
            border: 1px solid var(--fmf-borda);
            border-radius: 10px;
            background-color: #ffffff;
            font-size: 14px !important;
            font-weight: 600;
            line-height: 1.35;
            color: var(--fmf-texto) !important;
            text-decoration: none;
            transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
        }

            .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) a[target="_blank"]::before {
                content: "\f15b";
                flex: 0 0 36px;
                height: 36px;
                border-radius: 8px;
                background-color: var(--fmf-vermelho-suave);
                font-family: FontAwesome;
                font-size: 17px;
                font-weight: normal;
                line-height: 36px;
                text-align: center;
                color: var(--fmf-vermelho);
                transition: background-color .15s ease, color .15s ease;
            }

            .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) a[target="_blank"][href$=".pdf" i]::before {
                content: "\f1c1";
            }

            .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) a[target="_blank"]:is([href$=".doc" i], [href$=".docx" i])::before {
                content: "\f1c2";
            }

            .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) a[target="_blank"]:hover {
                border-color: var(--fmf-vermelho);
                box-shadow: var(--fmf-sombra);
                transform: translateY(-1px);
                color: var(--fmf-vermelho) !important;
            }

                .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) a[target="_blank"]:hover::before {
                    background-color: var(--fmf-vermelho);
                    color: #ffffff;
                }

/* Listas com foto (Estadios, Noticias) */
.box-body .table a[style*="XX-Large"] {
    font-size: 22px !important;
    font-weight: 700;
    color: var(--fmf-texto) !important;
    text-decoration: none;
}

    .box-body .table a[style*="XX-Large"]:hover {
        color: var(--fmf-vermelho) !important;
    }

.box > .box-body > .table:has(img[width="200"]) > tbody > tr > td:first-child {
    padding-left: 0;
}

.box > .box-body > .table:has(img[width="200"]) > tbody > tr > td:last-child {
    padding-right: 0;
}

.box-body .table img[width="200"] {
    border: 0 !important;
    border-radius: 8px;
    box-shadow: var(--fmf-sombra);
    object-fit: cover;
}

.box.box-solid.box-danger > .box-header {
    border-radius: var(--fmf-raio) var(--fmf-raio) 0 0;
}

    .box.box-solid.box-danger > .box-header .box-title,
    .box.box-solid.box-danger > .box-header .box-title * {
        color: #ffffff !important;
    }

/* Noticia aberta (VerNoticia) */
.box.box-solid.box-danger > .box-header .box-title > span.bold {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
}

.box.box-solid.box-danger > .box-body[style*="min-height"] > .table-striped > tbody > tr > td {
    background-color: transparent;
    border-top: 0;
}

.box.box-solid.box-danger > .box-body[style*="min-height"] i[style*="gray"] {
    font-style: normal;
    font-size: 16px;
    line-height: 1.75;
    color: #3a3d42 !important;
}

.box.box-solid.box-danger > .box-body[style*="min-height"] .img-thumbnail {
    max-width: 100%;
}

/*
   Classificacao (ProxJogos): tabela gerada no code-behind com cores inline por linha
   (cabecalho #BB1414, grupo Gray, linhas White/LightGrey).
*/
[id$="PnlComGrupo"] table,
[id$="PnlSemGrupo"] table,
[id$="pnlCnjComGrupo"] table,
[id$="pnlCnjSemGrupo"] table {
    font-size: 14px !important;
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: var(--fmf-raio);
    overflow: hidden;
    box-shadow: var(--fmf-sombra);
    background-color: #ffffff;
    margin-bottom: 12px;
}

    [id$="PnlComGrupo"] table td,
    [id$="PnlSemGrupo"] table td,
    [id$="pnlCnjComGrupo"] table td,
    [id$="pnlCnjSemGrupo"] table td {
        padding: 9px 8px !important;
        vertical-align: middle !important;
        border-top: 0 !important;
        border-bottom: 1px solid var(--fmf-borda);
        color: var(--fmf-texto);
    }

    [id$="PnlComGrupo"] table tr[style*="background-color:White"],
    [id$="PnlSemGrupo"] table tr[style*="background-color:White"],
    [id$="pnlCnjComGrupo"] table tr[style*="background-color:White"],
    [id$="pnlCnjSemGrupo"] table tr[style*="background-color:White"] {
        background-color: #ffffff !important;
    }

    [id$="PnlComGrupo"] table tr[style*="background-color:LightGr"],
    [id$="PnlSemGrupo"] table tr[style*="background-color:LightGr"],
    [id$="pnlCnjComGrupo"] table tr[style*="background-color:LightGr"],
    [id$="pnlCnjSemGrupo"] table tr[style*="background-color:LightGr"] {
        background-color: #f8f9fa !important;
    }

    [id$="PnlComGrupo"] table tr[style*="background-color:White"]:hover,
    [id$="PnlComGrupo"] table tr[style*="background-color:LightGr"]:hover,
    [id$="PnlSemGrupo"] table tr[style*="background-color:White"]:hover,
    [id$="PnlSemGrupo"] table tr[style*="background-color:LightGr"]:hover,
    [id$="pnlCnjComGrupo"] table tr[style*="background-color:White"]:hover,
    [id$="pnlCnjComGrupo"] table tr[style*="background-color:LightGr"]:hover,
    [id$="pnlCnjSemGrupo"] table tr[style*="background-color:White"]:hover,
    [id$="pnlCnjSemGrupo"] table tr[style*="background-color:LightGr"]:hover {
        background-color: var(--fmf-vermelho-suave) !important;
    }

    [id$="PnlComGrupo"] table tr > td:first-child,
    [id$="PnlSemGrupo"] table tr > td:first-child,
    [id$="pnlCnjComGrupo"] table tr > td:first-child,
    [id$="pnlCnjSemGrupo"] table tr > td:first-child {
        font-weight: 700;
        width: 44px;
    }

    [id$="PnlComGrupo"] table tr > td:nth-child(3),
    [id$="PnlSemGrupo"] table tr > td:nth-child(3),
    [id$="pnlCnjComGrupo"] table tr > td:nth-child(3),
    [id$="pnlCnjSemGrupo"] table tr > td:nth-child(3) {
        font-weight: 600;
    }

    [id$="PnlComGrupo"] table tr > td:nth-child(4),
    [id$="PnlSemGrupo"] table tr > td:nth-child(4),
    [id$="pnlCnjComGrupo"] table tr > td:nth-child(4),
    [id$="pnlCnjSemGrupo"] table tr > td:nth-child(4) {
        font-weight: 700;
    }

    [id$="PnlComGrupo"] table td > img + br,
    [id$="PnlSemGrupo"] table td > img + br,
    [id$="pnlCnjComGrupo"] table td > img + br,
    [id$="pnlCnjSemGrupo"] table td > img + br {
        display: none;
    }

    [id$="PnlComGrupo"] table td > img,
    [id$="PnlSemGrupo"] table td > img,
    [id$="pnlCnjComGrupo"] table td > img,
    [id$="pnlCnjSemGrupo"] table td > img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    [id$="PnlComGrupo"] table tr[style*="#BB1414"] > td,
    [id$="PnlComGrupo"] table tr[style*="#bb1414"] > td,
    [id$="PnlSemGrupo"] table tr[style*="#BB1414"] > td,
    [id$="PnlSemGrupo"] table tr[style*="#bb1414"] > td,
    [id$="pnlCnjComGrupo"] table tr[style*="#BB1414"] > td,
    [id$="pnlCnjComGrupo"] table tr[style*="#bb1414"] > td,
    [id$="pnlCnjSemGrupo"] table tr[style*="#BB1414"] > td,
    [id$="pnlCnjSemGrupo"] table tr[style*="#bb1414"] > td {
        padding: 11px 8px !important;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: #ffffff;
        border-bottom: 0;
        background-color: var(--fmf-vermelho);
    }

    [id$="PnlComGrupo"] table tr[style*="background-color:Gray"] > td,
    [id$="pnlCnjComGrupo"] table tr[style*="background-color:Gray"] > td {
        padding: 12px 14px 8px !important;
        text-align: left;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .08em;
        color: var(--fmf-vermelho);
        background-color: #ffffff;
        border-bottom: 2px solid var(--fmf-vermelho);
    }

    [id$="PnlComGrupo"] table tr[style*="background-color:Gray"],
    [id$="pnlCnjComGrupo"] table tr[style*="background-color:Gray"] {
        background-color: #ffffff !important;
    }

/* Abas de ProxJogos: titulo e conteudo alinhados ao texto das abas */
:is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom > .tab-content > .tab-pane > .box-header {
    padding: 4px 0 12px !important;
}

    :is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom > .tab-content > .tab-pane > .box-header > .box-title {
        padding: 0;
        margin: 0;
    }

:is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom > .tab-content > .tab-pane > .box-body {
    padding: 0;
}

/* Classificacao */
[id$="LblClassifica"] > .nav-tabs-custom > .tab-content {
    padding-left: 0;
    padding-right: 0;
}

[id$="LblClassifica"] .tab-pane > .table {
    margin-bottom: 10px;
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: var(--fmf-raio);
    overflow: hidden;
    box-shadow: var(--fmf-sombra);
    background-color: #ffffff;
    font-size: 13px !important;
}

    [id$="LblClassifica"] .tab-pane > .table td {
        padding: 9px 8px !important;
        vertical-align: middle !important;
        border-top: 0 !important;
        border-bottom: 1px solid var(--fmf-borda);
        color: var(--fmf-texto);
    }

    [id$="LblClassifica"] .tab-pane > .table tr:last-child > td {
        border-bottom: 0;
    }

    [id$="LblClassifica"] .tab-pane > .table tr[style*="#BB1414"] > td {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--fmf-texto-suave);
        border-bottom: 1px solid var(--fmf-borda);
        background-color: #f7f7f9;
    }

    [id$="LblClassifica"] .tab-pane > .table tr:not([style*="#BB1414"]) > td:first-child,
    [id$="LblClassifica"] .tab-pane > .table tr:not([style*="#BB1414"]) > td:nth-child(4) {
        font-weight: 700;
    }

    [id$="LblClassifica"] .tab-pane > .table tr:not([style*="#BB1414"]) > td:nth-child(3) {
        font-weight: 600;
    }

    [id$="LblClassifica"] .tab-pane > .table tr[style*="background-color:Gray"] > td {
        padding: 8px 14px !important;
        border-top: 0 !important;
        border-bottom: 0;
        box-shadow: none;
        background-color: #d32f2f;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .18em;
        text-align: center !important;
        text-transform: uppercase;
        color: #ffffff;
    }

    [id$="LblClassifica"] .tab-pane > .table tr[style*="#BB1414"] + tr[style*="background-color:Gray"] > td {
        border-top: 0 !important;
    }

    [id$="LblClassifica"] .tab-pane > .table td > img {
        max-width: 24px;
        max-height: 24px;
    }

/* Widget de classificacao da home: cartao branco com faixa vermelha */
.box.box-solid.bg-red:has([id$="LblClassifica"]) {
    overflow: hidden;
    background: #ffffff !important;
    color: var(--fmf-texto);
}

    .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-header {
        background-image: linear-gradient(135deg, #c91c1c 0%, var(--fmf-vermelho) 45%, var(--fmf-vermelho-escuro) 100%);
        border-bottom: 0;
    }

    .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body {
        padding: 0 !important;
    }

        .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body .nav-tabs-custom {
            margin: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
        }

            .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body .nav-tabs-custom > .nav-tabs {
                display: flex;
                gap: 18px;
                margin: 0;
                padding: 0 14px;
                border-bottom: 1px solid var(--fmf-borda);
                background: #ffffff;
            }

                .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body .nav-tabs-custom > .nav-tabs::before,
                .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body .nav-tabs-custom > .nav-tabs::after {
                    display: none;
                }

                .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body .nav-tabs-custom > .nav-tabs > li {
                    float: none;
                    margin: 0 0 -1px;
                    border: 0 !important;
                    background: transparent !important;
                    font-size: 11px !important;
                }

                    .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body .nav-tabs-custom > .nav-tabs > li > a {
                        margin: 0;
                        padding: 11px 0 9px;
                        border: 0 !important;
                        border-bottom: 2px solid transparent !important;
                        border-radius: 0;
                        background: transparent !important;
                        color: var(--fmf-texto-suave) !important;
                        font-weight: 700;
                        letter-spacing: .06em;
                    }

                        .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body .nav-tabs-custom > .nav-tabs > li > a:hover {
                            color: var(--fmf-texto) !important;
                        }

                    .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body .nav-tabs-custom > .nav-tabs > li.active > a {
                        border-bottom-color: var(--fmf-vermelho) !important;
                        color: var(--fmf-vermelho) !important;
                    }

            .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body .nav-tabs-custom > .tab-content {
                padding: 0 !important;
                background: #ffffff;
            }

    .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        font-size: 11.5px !important;
        font-variant-numeric: tabular-nums;
    }

        .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table td {
            padding: 8px 3px !important;
            border-bottom: 1px solid #f0f1f3;
            color: var(--fmf-texto-suave);
            font-weight: 400;
        }

            .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table td:first-child {
                width: 30px;
                padding-left: 14px !important;
                text-align: left;
                color: var(--fmf-texto);
                font-weight: 700;
            }

            .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table td:last-child {
                padding-right: 14px !important;
            }

            .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table tr:not([style*="#BB1414"]):not([style*="background-color:Gray"]) > td:nth-child(2) {
                color: var(--fmf-texto);
                font-weight: 600;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: 120px;
            }

            .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table tr:not([style*="#BB1414"]):not([style*="background-color:Gray"]) > td:nth-child(3) {
                color: var(--fmf-texto);
                font-weight: 800;
            }

            .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table tr:not([style*="#BB1414"]):not([style*="background-color:Gray"]) > td:nth-child(4) {
                font-weight: 400;
            }

        .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table tr[style*="background-color:LightGrey"] {
            background-color: #fafafb !important;
        }

        .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table tr:not([style*="#BB1414"]):not([style*="background-color:Gray"]):hover {
            background-color: var(--fmf-vermelho-suave) !important;
        }

        .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table tr[style*="#BB1414"] {
            background-color: #f7f7f9 !important;
        }

            .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table tr[style*="#BB1414"] > td {
                padding-top: 7px !important;
                padding-bottom: 7px !important;
                border-bottom: 1px solid var(--fmf-borda);
                background: transparent;
                color: var(--fmf-texto-suave);
                font-size: 9.5px;
                font-weight: 700;
                letter-spacing: .06em;
            }

        .box.box-solid.bg-red:has([id$="LblClassifica"]) .tab-pane > .table tr[style*="background-color:Gray"] > td {
            padding: 6px 14px !important;
            border-top: 0 !important;
            border-bottom: 0;
            box-shadow: none;
            background: #d32f2f;
            color: #ffffff;
            font-size: 10.5px;
            font-weight: 700;
            letter-spacing: .18em;
            text-align: center !important;
        }
    .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body > center {
        border-top: 1px solid var(--fmf-borda);
    }

        .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body > center > a {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 14px;
            color: var(--fmf-vermelho) !important;
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: .08em;
            text-decoration: none;
            transition: background-color .2s ease;
        }

            .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body > center > a::after {
                content: "\f105";
                font-family: FontAwesome;
                font-size: 13px;
                transition: transform .2s ease;
            }

            .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body > center > a:hover {
                background-color: var(--fmf-vermelho-suave);
            }

                .box.box-solid.bg-red:has([id$="LblClassifica"]) > .box-body > center > a:hover::after {
                    transform: translateX(3px);
                }

/* Artilharia */
[id$="dtgArtilharia"] {
    font-size: 13.5px !important;
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: var(--fmf-raio);
    overflow: hidden;
    box-shadow: var(--fmf-sombra);
    background-color: #ffffff;
}

    [id$="dtgArtilharia"] td {
        padding: 10px 12px !important;
        vertical-align: middle !important;
        border-top: 0 !important;
        border-bottom: 1px solid var(--fmf-borda);
        color: var(--fmf-texto);
    }

    [id$="dtgArtilharia"] tr:last-child > td {
        border-bottom: 0;
    }

    [id$="dtgArtilharia"] tr[style*="#BB1414"] > td {
        padding: 11px 12px !important;
        font-size: 11.5px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: #ffffff;
        border-bottom: 0;
        background-color: var(--fmf-vermelho);
    }

    [id$="dtgArtilharia"] tr[style*="background-color:White"],
    [id$="dtgArtilharia"] tr[style*="background-color:LightGr"] {
        background-color: #ffffff !important;
        transition: background-color .15s ease;
    }

        [id$="dtgArtilharia"] tr[style*="background-color:LightGr"] {
            background-color: #f8f9fa !important;
        }

            [id$="dtgArtilharia"] tr[style*="background-color:White"]:hover,
            [id$="dtgArtilharia"] tr[style*="background-color:LightGr"]:hover {
                background-color: var(--fmf-vermelho-suave) !important;
            }

    [id$="dtgArtilharia"] td:first-child {
        width: 72px !important;
    }

    [id$="dtgArtilharia"] td:not(:first-child) {
        width: auto !important;
    }

    [id$="dtgArtilharia"] tr:not([style*="#BB1414"]) > td:first-child {
        font-size: 16px;
        font-weight: 700;
        color: var(--fmf-vermelho);
    }

    [id$="dtgArtilharia"] tr:not([style*="#BB1414"]) > td:nth-child(2) {
        font-weight: 700;
    }

    [id$="dtgArtilharia"] tr:not([style*="#BB1414"]) > td:nth-child(3) {
        color: var(--fmf-texto-suave);
    }

/* Regulamento, Documentos, Alteracao de Tabela: lista de arquivos */
.tab-pane .col-lg-6:has(> span.form-control[style*="#BD1414"]) {
    width: 100%;
}

.tab-pane span.form-control[style*="#BD1414"] {
    display: block;
    height: auto;
    margin-bottom: 12px;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid var(--fmf-borda);
    border-radius: 0;
    box-shadow: none;
    background-color: transparent !important;
    font-size: 12px !important;
    letter-spacing: .08em;
    color: var(--fmf-texto-suave) !important;
}

    .tab-pane span.form-control[style*="#BD1414"] + br {
        display: none;
    }

[id$="lblArquivosAnexos"],
[id$="lblDocumentosAnexos"],
[id$="lblAlteracaoTabela"] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    [id$="lblArquivosAnexos"] > br,
    [id$="lblDocumentosAnexos"] > br,
    [id$="lblAlteracaoTabela"] > br {
        display: none;
    }

    [id$="lblArquivosAnexos"] > a,
    [id$="lblDocumentosAnexos"] > a,
    [id$="lblAlteracaoTabela"] > a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        border: 1px solid var(--fmf-borda);
        border-radius: var(--fmf-raio);
        background-color: #ffffff;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
        color: var(--fmf-texto);
        text-decoration: none;
        transition: border-color .15s ease, background-color .15s ease, color .15s ease;
    }

        [id$="lblArquivosAnexos"] > a:hover,
        [id$="lblDocumentosAnexos"] > a:hover,
        [id$="lblAlteracaoTabela"] > a:hover {
            border-color: var(--fmf-vermelho);
            background-color: var(--fmf-vermelho-suave);
            color: var(--fmf-vermelho);
        }

        [id$="lblArquivosAnexos"] > a > img,
        [id$="lblDocumentosAnexos"] > a > img,
        [id$="lblAlteracaoTabela"] > a > img {
            flex: 0 0 auto;
            width: 28px;
            height: auto;
        }

/* Arbitragem por rodada (aba Arbitragem) */
[id$="lblTabelaArbitragem"] > .ca-container {
    width: auto;
    height: auto;
    margin: 0;
}

[id$="lblTabelaArbitragem"] .box.box-solid.box-danger {
    margin-bottom: 16px;
}

    [id$="lblTabelaArbitragem"] .box.box-solid.box-danger > .box-header {
        padding: 11px 14px !important;
    }

[id$="lblTabelaArbitragem"] .box-title_es {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.5;
}

[id$="lblTabelaArbitragem"] .box-body {
    padding: 4px 14px;
    font-size: 13px;
}

    [id$="lblTabelaArbitragem"] .box-body > .table {
        margin-bottom: 0;
    }

        [id$="lblTabelaArbitragem"] .box-body > .table td {
            padding: 8px 6px !important;
            vertical-align: middle !important;
            border-top: 0 !important;
            border-bottom: 1px solid var(--fmf-borda);
            color: var(--fmf-texto);
        }

        [id$="lblTabelaArbitragem"] .box-body > .table tr:last-child > td {
            border-bottom: 0;
        }

        [id$="lblTabelaArbitragem"] .box-body > .table tr:hover > td {
            background-color: #fafafb;
        }

        [id$="lblTabelaArbitragem"] .box-body > .table td:first-child {
            padding-left: 0 !important;
            font-size: 12px;
            font-weight: 600;
            color: var(--fmf-texto-suave);
        }

        [id$="lblTabelaArbitragem"] .box-body > .table td:last-child {
            padding-right: 0 !important;
        }

        [id$="lblTabelaArbitragem"] .box-body > .table td:nth-child(2),
        [id$="lblTabelaArbitragem"] .box-body > .table td:nth-child(8) {
            font-weight: 700;
        }

        [id$="lblTabelaArbitragem"] .box-body > .table td:nth-child(4),
        [id$="lblTabelaArbitragem"] .box-body > .table td:nth-child(6) {
            font-size: 16px;
            font-weight: 700;
            text-align: center;
        }

        [id$="lblTabelaArbitragem"] .box-body > .table td:nth-child(5) {
            font-size: 11px;
            font-weight: 600;
            color: var(--fmf-texto-suave);
        }

        [id$="lblTabelaArbitragem"] .box-body > .table img[width="40px"] {
            width: 32px;
            height: 32px;
            object-fit: contain;
        }

        [id$="lblTabelaArbitragem"] .box-body > .table img[width="60px"] {
            width: 44px;
            border-radius: 8px;
            transition: opacity .15s ease;
        }

            [id$="lblTabelaArbitragem"] .box-body > .table img[width="60px"]:hover {
                opacity: .85;
            }

/* Jogadores inscritos: grade de clubes */
[id$="LblEquipes"] > .row table:first-child {
    border-collapse: separate;
    border-spacing: 8px;
}

[id$="LblEquipes"] table table {
    border: 1px solid var(--fmf-borda);
    border-radius: var(--fmf-raio);
    background-color: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    [id$="LblEquipes"] table table:hover {
        border-color: #d9dadf;
        box-shadow: var(--fmf-sombra);
    }

    [id$="LblEquipes"] table table td {
        padding: 8px;
    }

    [id$="LblEquipes"] table table span[style*="xx-small"] {
        font-size: 12px !important;
        font-weight: 700;
        line-height: 1.3;
        color: var(--fmf-texto);
    }

/* Cabecalho de pagina com busca (Arbitragem) */
.container_es > .box > .box-header:has(> .pull-right input) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
}

    .container_es > .box > .box-header:has(> .pull-right input)::before,
    .container_es > .box > .box-header:has(> .pull-right input)::after {
        display: none;
    }

    .container_es > .box > .box-header > .pull-right:has(input) {
        display: flex;
        float: none !important;
    }

        .container_es > .box > .box-header > .pull-right:has(input) > br {
            display: none;
        }

        .container_es > .box > .box-header > .pull-right input[type="text"] {
            width: 260px !important;
            height: 36px;
            padding: 0 14px;
            border: 1px solid #d5d8dd;
            border-right: 0;
            border-radius: 8px 0 0 8px;
            text-align: left !important;
            font-size: 13px;
            color: var(--fmf-texto);
            outline: none;
            transition: border-color .15s ease, box-shadow .15s ease;
        }

            .container_es > .box > .box-header > .pull-right input[type="text"]:focus {
                border-color: var(--fmf-vermelho);
                box-shadow: 0 0 0 3px rgba(187, 20, 20, .12);
            }

        .container_es > .box > .box-header > .pull-right input[type="submit"] {
            height: 36px;
            padding: 0 16px;
            border: 0;
            border-radius: 0 8px 8px 0;
            background-color: var(--fmf-vermelho);
            font-size: 13px;
            font-weight: 700;
            color: #ffffff;
            cursor: pointer;
            transition: background-color .15s ease;
        }

            .container_es > .box > .box-header > .pull-right input[type="submit"]:hover {
                background-color: var(--fmf-vermelho-escuro);
            }

.container_es > .box > .nav-tabs-custom {
    margin: 0 14px;
}

/* Arbitragem: caixas internas das abas sem moldura */
#tabArbitros .box.box-solid.danger,
#tabSorteio > .box.box-solid.danger,
#tabCronograma > .box.box-solid.danger {
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

    #tabArbitros .box.box-solid.danger > .box-header,
    #tabSorteio > .box.box-solid.danger > .box-header,
    #tabCronograma > .box.box-solid.danger > .box-header {
        padding: 0 0 14px !important;
    }

    #tabArbitros .box.box-solid.danger > .box-body,
    #tabSorteio > .box.box-solid.danger > .box-body,
    #tabCronograma > .box.box-solid.danger > .box-body {
        padding: 0;
    }

    #tabArbitros .box.box-solid.danger > .box-header > h6,
    #tabSorteio > .box.box-solid.danger > .box-header > h6,
    #tabCronograma > .box.box-solid.danger > .box-header > h6 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 10px;
        margin: 0;
        font-size: 12px;
        letter-spacing: .08em;
        color: var(--fmf-texto-suave);
    }

[id$="LblLetras"] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

    [id$="LblLetras"] > .btn {
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        border: 1px solid var(--fmf-borda);
        border-radius: 999px;
        background-color: #ffffff;
        font-size: 12px;
        font-weight: 700;
        line-height: 28px;
        color: var(--fmf-texto);
        box-shadow: none;
        transition: border-color .15s ease, background-color .15s ease, color .15s ease;
    }

        [id$="LblLetras"] > .btn:hover {
            border-color: var(--fmf-vermelho);
            background-color: var(--fmf-vermelho-suave);
            color: var(--fmf-vermelho);
        }

/* Arbitragem > Escala: modulos em pilula */
#tabEscala ul.nav-tabs {
    float: none;
    margin-bottom: 4px;
    border-bottom: 0;
}

    #tabEscala ul.nav-tabs > li {
        margin: 0 6px 6px 0;
    }

        #tabEscala ul.nav-tabs > li > a {
            margin: 0;
            padding: 6px 14px;
            border: 0 !important;
            border-radius: 999px;
            background-color: var(--fmf-fundo) !important;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: .04em;
            color: var(--fmf-texto-suave) !important;
            transition: background-color .15s ease, color .15s ease;
        }

            #tabEscala ul.nav-tabs > li > a:hover {
                background-color: #e8e9ec !important;
                color: var(--fmf-texto) !important;
            }

        #tabEscala ul.nav-tabs > li.active > a {
            background-color: var(--fmf-vermelho) !important;
            color: #ffffff !important;
        }

#tabEscala .box-header {
    padding: 14px 0 10px !important;
}

    #tabEscala .box-header > .box-title {
        margin: 0;
        padding: 0;
    }

#tabEscala [id$="lblCompeticao"] {
    font-size: 20px;
    letter-spacing: .03em;
    color: var(--fmf-vermelho) !important;
}

#tabEscala [id$="_Label1"],
#tabEscala [id$="_Label2"] {
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--fmf-texto-suave) !important;
}

#tabEscala .box-body {
    padding: 0 0 6px;
}

    #tabEscala .box-body > .row {
        margin: 0;
    }

/* Busca por rodada / por time: grade de botoes */
[id$="dtgRodada"],
[id$="dtgTimes"] {
    display: block;
}

    [id$="dtgRodada"] > tbody,
    [id$="dtgTimes"] > tbody {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 8px;
    }

        [id$="dtgRodada"] > tbody > tr,
        [id$="dtgTimes"] > tbody > tr {
            display: contents;
        }

            [id$="dtgRodada"] > tbody > tr:first-child,
            [id$="dtgTimes"] > tbody > tr:first-child,
            [id$="dtgRodada"] td:not(:has(a)),
            [id$="dtgTimes"] td:not(:has(a)) {
                display: none;
            }

        [id$="dtgRodada"] td,
        [id$="dtgTimes"] td {
            display: block;
            width: auto !important;
            padding: 0 !important;
            border: 1px solid var(--fmf-borda) !important;
            border-radius: 8px;
            background-color: #ffffff;
            transition: border-color .15s ease, background-color .15s ease;
        }

            [id$="dtgRodada"] td:hover,
            [id$="dtgTimes"] td:hover {
                border-color: var(--fmf-vermelho) !important;
                background-color: var(--fmf-vermelho-suave);
            }

            [id$="dtgRodada"] td > a,
            [id$="dtgTimes"] td > a {
                display: block;
                padding: 10px 8px;
                font-size: 13px;
                font-weight: 600;
                line-height: 1.3;
                color: var(--fmf-texto) !important;
                text-decoration: none;
                overflow-wrap: anywhere;
            }

            [id$="dtgRodada"] td:hover > a,
            [id$="dtgTimes"] td:hover > a {
                color: var(--fmf-vermelho) !important;
            }

/* Escala: resultado da busca */
#tabEscala [id$="pnlResultadoEscala"] > h3.box-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0 12px;
    padding: 0;
}

    #tabEscala [id$="pnlResultadoEscala"] > h3.box-title input[type="submit"] {
        height: 32px;
        padding: 0 16px;
        border: 1px solid var(--fmf-borda);
        border-radius: 999px;
        background-color: #ffffff;
        font-size: 12px !important;
        font-weight: 700;
        color: var(--fmf-texto);
        cursor: pointer;
    }

        #tabEscala [id$="pnlResultadoEscala"] > h3.box-title input[type="submit"]:hover {
            border-color: var(--fmf-vermelho);
            color: var(--fmf-vermelho);
        }

[id$="dtgResultadoEscala"] {
    border-collapse: separate !important;
    border-spacing: 0;
    border: 1px solid var(--fmf-borda);
    border-radius: var(--fmf-raio);
    overflow: hidden;
    background-color: #ffffff;
}

    [id$="dtgResultadoEscala"] td {
        padding: 12px 14px !important;
        border-bottom: 1px solid var(--fmf-borda);
        font-size: 13px;
        color: var(--fmf-texto);
    }

    [id$="dtgResultadoEscala"] tr:last-child > td {
        border-bottom: 0;
    }

    [id$="dtgResultadoEscala"] td:first-child {
        font-weight: 700;
        color: var(--fmf-vermelho);
    }

    [id$="dtgResultadoEscala"] [id$="lblJogo"] {
        font-size: 15px !important;
        font-weight: 700;
    }

/* Termo de audiencia: anos em pilula + datas em grade */
[id$="LblAta"] > .nav-tabs-custom {
    margin-bottom: 0;
    box-shadow: none;
    background: transparent;
}

    [id$="LblAta"] > .nav-tabs-custom > .nav-tabs {
        border-bottom: 0;
    }

        [id$="LblAta"] > .nav-tabs-custom > .nav-tabs > li {
            margin: 0 6px 6px 0;
            border-top: 0 !important;
        }

            [id$="LblAta"] > .nav-tabs-custom > .nav-tabs > li > a {
                margin: 0;
                padding: 6px 14px;
                border: 0 !important;
                border-radius: 999px;
                background-color: var(--fmf-fundo) !important;
                font-size: 12px;
                font-weight: 700;
                color: var(--fmf-texto-suave);
            }

                [id$="LblAta"] > .nav-tabs-custom > .nav-tabs > li > a:hover {
                    background-color: #e8e9ec !important;
                    color: var(--fmf-texto);
                }

            [id$="LblAta"] > .nav-tabs-custom > .nav-tabs > li.active > a {
                background-color: var(--fmf-vermelho) !important;
                color: #ffffff;
            }

    [id$="LblAta"] > .nav-tabs-custom > .tab-content {
        padding: 10px 0 0;
    }

        [id$="LblAta"] > .nav-tabs-custom > .tab-content > .tab-pane.active {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            gap: 8px;
        }

            [id$="LblAta"] > .nav-tabs-custom > .tab-content > .tab-pane > br {
                display: none;
            }

            [id$="LblAta"] > .nav-tabs-custom > .tab-content > .tab-pane > a,
            [id$="lblCronograma"] > a {
                display: flex;
                align-items: center;
                gap: 10px;
                padding: 10px 12px;
                border: 1px solid var(--fmf-borda);
                border-radius: 8px;
                background-color: #ffffff;
                font-size: 13px;
                font-weight: 600;
                line-height: 1.35;
                color: var(--fmf-texto) !important;
                text-decoration: none;
                transition: border-color .15s ease, background-color .15s ease, color .15s ease;
            }

                [id$="LblAta"] > .nav-tabs-custom > .tab-content > .tab-pane > a:hover,
                [id$="lblCronograma"] > a:hover {
                    border-color: var(--fmf-vermelho);
                    background-color: var(--fmf-vermelho-suave);
                    color: var(--fmf-vermelho) !important;
                }

                [id$="LblAta"] > .nav-tabs-custom > .tab-content > .tab-pane > a::before,
                [id$="lblCronograma"] > a::before {
                    content: "\f1c1";
                    font-family: FontAwesome;
                    font-weight: normal;
                    color: var(--fmf-vermelho);
                }

/* Cronograma de audiencia: lista de arquivos */
[id$="lblCronograma"] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    [id$="lblCronograma"] > br {
        display: none;
    }

/* Icone em bloco para todos os links de arquivo */
:is(.GridItem, .GridAlternate) > td:first-child > a:first-child {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    vertical-align: middle;
}

:is(.GridItem, .GridAlternate) > td:first-child > a:first-child::before,
[id$="LblAta"] > .nav-tabs-custom > .tab-content > .tab-pane > a::before,
[id$="lblCronograma"] > a::before,
.fmf-institucional a[href$=".pdf"]::before {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 8px;
    background-color: var(--fmf-vermelho-suave);
    font-family: FontAwesome;
    font-size: 16px;
    font-weight: normal;
    line-height: 34px;
    text-align: center;
    color: var(--fmf-vermelho);
    transition: background-color .15s ease, color .15s ease;
}

:is(.GridItem, .GridAlternate) > td:first-child > a:first-child[href*=".pdf" i]::before,
:is(.GridItem, .GridAlternate) > td:first-child > a:first-child[href^="javascript"]::before {
    content: "\f1c1";
}

:is(.GridItem, .GridAlternate) > td:first-child > a:first-child:is([href*=".doc" i])::before {
    content: "\f1c2";
}

:is(.GridItem, .GridAlternate) > td:first-child > a:first-child:is([href*=".xls" i])::before {
    content: "\f1c3";
}

:is(.GridItem, .GridAlternate):hover > td:first-child > a:first-child::before,
[id$="LblAta"] > .nav-tabs-custom > .tab-content > .tab-pane > a:hover::before,
[id$="lblCronograma"] > a:hover::before,
.fmf-institucional a[href$=".pdf"]:hover::before {
    background-color: var(--fmf-vermelho);
    color: #ffffff;
}

[id$="LblAta"] > .nav-tabs-custom > .tab-content > .tab-pane > a::before {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    line-height: 30px;
}

.fmf-institucional a[href$=".pdf"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 16px 5px 5px;
}

    .fmf-institucional a[href$=".pdf"]::before {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        font-size: 13px;
        line-height: 28px;
    }

/* Credenciamento de imprensa */
.container_es > [id$="pnlFiltro"] > br:first-child {
    display: none;
}

[id$="pnlFiltro"] > .box-body {
    padding-top: 14px;
    padding-bottom: 16px;
}

    [id$="pnlFiltro"] > .box-body > .row,
    [id$="pnlFiltro"] > .box-body > .row > [class*="col-"] > .row,
    [id$="pnlEditar"] > .box-body > .row:has(> [class*="col-"] > .form-control) {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
    }

        [id$="pnlFiltro"] > .box-body > .row::before,
        [id$="pnlFiltro"] > .box-body > .row::after,
        [id$="pnlFiltro"] > .box-body > .row > [class*="col-"] > .row::before,
        [id$="pnlFiltro"] > .box-body > .row > [class*="col-"] > .row::after,
        [id$="pnlEditar"] > .box-body > .row:has(> [class*="col-"] > .form-control)::before,
        [id$="pnlEditar"] > .box-body > .row:has(> [class*="col-"] > .form-control)::after {
            display: none;
        }

    [id$="pnlFiltro"] [class*="col-"]:has(> .form-control),
    [id$="pnlEditar"] [class*="col-"]:has(> .form-control) {
        margin-bottom: 12px;
        font-size: 11.5px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--fmf-texto-suave);
    }

        [id$="pnlFiltro"] [class*="col-"] > .form-control,
        [id$="pnlEditar"] [class*="col-"] > .form-control {
            height: 38px;
            margin-top: 6px;
            font-size: 14px;
            font-weight: normal;
            letter-spacing: 0;
            text-transform: none;
            color: var(--fmf-texto);
        }

    [id$="pnlFiltro"] [class*="col-"]:has(> .btn) > br,
    [id$="pnlEditar"] [class*="col-"]:has(> .btn) > br {
        display: none;
    }

    [id$="pnlFiltro"] [class*="col-"]:has(> .btn),
    [id$="pnlEditar"] .row:has(> [class*="col-"] > .form-control) > [class*="col-"]:has(> .btn) {
        margin-bottom: 12px;
    }

        [id$="pnlFiltro"] [class*="col-"] > .btn,
        [id$="pnlEditar"] [class*="col-"] > .btn {
            height: 38px;
            line-height: 24px;
        }

@media (max-width: 991px) {
    [id$="pnlFiltro"] > .box-body > .row > [class*="col-"],
    [id$="pnlFiltro"] > .box-body > .row > [class*="col-"] > .row > [class*="col-"],
    [id$="pnlEditar"] > .box-body > .row:has(> [class*="col-"] > .form-control) > [class*="col-"] {
        flex: 1 1 100%;
    }

    [id$="pnlFiltro"] [class*="col-"] > .btn {
        width: 100%;
    }
}

/* Lista de jogos e credenciados */
[id$="dtgPopula"],
[id$="dtgCredenciamento"] {
    margin-bottom: 0;
    border-collapse: separate !important;
    border-spacing: 0;
    border: 1px solid var(--fmf-borda);
    border-radius: var(--fmf-raio);
    overflow: hidden;
    background-color: #ffffff;
}

    [id$="dtgPopula"] td,
    [id$="dtgCredenciamento"] td {
        padding: 12px 14px !important;
        vertical-align: middle !important;
        border-top: 0 !important;
        border-bottom: 1px solid var(--fmf-borda);
        background-color: #ffffff !important;
        font-size: 13px;
        color: var(--fmf-texto);
    }

    [id$="dtgPopula"] tr:last-child > td,
    [id$="dtgCredenciamento"] tr:last-child > td {
        border-bottom: 0;
    }

    [id$="dtgPopula"] tr:not(:first-child):hover > td,
    [id$="dtgCredenciamento"] tr:not(:first-child):hover > td {
        background-color: #fafafb !important;
    }

    [id$="dtgPopula"] tr:first-child > td,
    [id$="dtgCredenciamento"] tr:first-child > td {
        padding-top: 11px !important;
        padding-bottom: 11px !important;
        background-color: var(--fmf-fundo) !important;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .07em;
        text-transform: uppercase;
        color: var(--fmf-texto-suave);
    }

    [id$="dtgPopula"] tr:first-child > td:nth-child(6)::after {
        content: "Jogo";
    }

    [id$="dtgPopula"] tr:not(:first-child) > td:first-child {
        font-weight: 700;
        color: var(--fmf-texto-suave);
    }

    [id$="dtgPopula"] tr:not(:first-child) > td:nth-child(5) {
        white-space: nowrap;
        font-weight: 600;
    }

    [id$="dtgPopula"] tr:not(:first-child) > td:nth-child(6) {
        font-size: 13.5px;
        font-weight: 700;
    }

    [id$="dtgPopula"] td:last-child {
        text-align: center;
        white-space: nowrap;
    }

        [id$="dtgPopula"] td:last-child > .btn {
            padding: 6px 14px;
            border-radius: 999px;
            font-size: 12px;
        }

        [id$="dtgPopula"] td:last-child > .fa-lock {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background-color: var(--fmf-fundo);
            font-size: 15px;
            color: #9ca1a9 !important;
            cursor: help;
        }

/* Credenciamento: dados do jogo e formulario */
[id$="pnlEditar"] > .box-body > .row:first-child {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
}

    [id$="pnlEditar"] > .box-body > .row:first-child::before,
    [id$="pnlEditar"] > .box-body > .row:first-child::after {
        display: none;
    }

    [id$="pnlEditar"] > .box-body > .row:first-child > [class*="col-"] > .box-header {
        height: 100%;
        padding: 10px 14px !important;
        border-radius: 8px;
        background-color: var(--fmf-fundo);
    }

        [id$="pnlEditar"] > .box-body > .row:first-child .box-title {
            margin: 0;
            font-size: 14px;
            font-weight: 600;
            line-height: 1.4;
            text-transform: none;
            color: var(--fmf-texto);
        }

            [id$="pnlEditar"] > .box-body > .row:first-child .box-title > b {
                font-size: 11px;
                letter-spacing: .07em;
                text-transform: uppercase;
                color: var(--fmf-texto-suave);
            }

            [id$="pnlEditar"] > .box-body > .row:first-child .box-title > span {
                font-size: 14px !important;
            }

[id$="pnlEditar"] hr {
    border-top-color: var(--fmf-borda);
}

[id$="pnlEditar"] .alert,
[id$="pnlAlertFinalizar"] .alert {
    border: 0;
    border-radius: var(--fmf-raio);
}

[id$="pnlAlertFinalizar"] {
    box-shadow: none;
    border: 0;
    background: transparent;
}

[id$="pnlEditar"] .btn-primary {
    border-color: var(--fmf-texto);
    background-color: var(--fmf-texto);
}

    [id$="pnlEditar"] .btn-primary:hover {
        border-color: #000000;
        background-color: #000000;
    }

[id$="pnlEditar"] .btn-success {
    border-radius: 8px;
    font-weight: 700;
}

/* Voltar ao topo (mobile) */
.fmf-topo {
    display: none;
}

@media (max-width: 767px) {
    .fmf-topo {
        display: block;
        position: fixed;
        right: 14px;
        bottom: 18px;
        z-index: 1030;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }

        .fmf-topo.visivel {
            opacity: 1;
            visibility: visible;
            transform: none;
        }

    .fmf-topo-subir {
        display: block;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(187, 20, 20, .82);
        box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
        font-size: 14px;
        line-height: 38px;
        color: #ffffff;
    }

        .fmf-topo-subir:active {
            background: var(--fmf-vermelho);
        }

    .fmf-topo-fechar {
        position: absolute;
        top: -7px;
        right: -7px;
        width: 18px;
        height: 18px;
        padding: 0;
        border: 1px solid var(--fmf-borda);
        border-radius: 50%;
        background: #ffffff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
        font-size: 9px;
        line-height: 16px;
        color: var(--fmf-texto-suave);
    }

    .fmf-topo button:focus {
        outline: none;
    }
}

/* Modal Fale Conosco */
#modalDiv {
    top: 24px;
    bottom: auto;
    left: 0;
    right: 0;
    width: calc(100% - 32px);
    max-width: 680px !important;
    min-height: 0;
    max-height: calc(100vh - 48px);
    margin: 0 auto !important;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-gutter: stable both-edges;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

    #modalDiv > .jp-wrapper {
        max-width: none !important;
        margin: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

        #modalDiv > .jp-wrapper > .body {
            padding: 20px 14px 24px;
            text-align: left;
        }

            #modalDiv > .jp-wrapper > .body > br {
                display: none;
            }

            #modalDiv > .jp-wrapper > .body > .row {
                margin: 0;
            }

                #modalDiv > .jp-wrapper > .body > .row > [class*="col-"] {
                    padding: 0;
                }

    #modalDiv #headerModal {
        position: relative;
        height: 64px;
        background-size: contain;
        background-position: left center;
    }

        #modalDiv #headerModal > .close {
            position: absolute;
            top: 0;
            right: 0;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: var(--fmf-cinza-claro, #f2f2f2);
            font-size: 22px;
            line-height: 34px;
            color: var(--fmf-texto);
            opacity: .8;
        }

            #modalDiv #headerModal > .close:hover {
                opacity: 1;
                background: #e6e6e6;
            }

    #modalDiv h3 {
        margin: 18px 0 8px;
        padding-top: 18px;
        border-top: 1px solid var(--fmf-borda);
        font-size: 16px;
        font-weight: 600;
        line-height: 1.45;
        color: var(--fmf-texto);
    }

    #modalDiv [id$="lblContato"] > .row {
        margin: 0;
    }

        #modalDiv [id$="lblContato"] > .row > div[style*="#bb1414"] {
            height: auto !important;
            margin-top: 10px;
            padding: 11px 16px 2px 14px;
            border: 1px solid var(--fmf-borda);
            border-left: 3px solid var(--fmf-vermelho);
            border-bottom: 0;
            border-radius: 10px 10px 0 0 !important;
            background-color: #ffffff !important;
            color: var(--fmf-vermelho) !important;
            font-size: 13px;
            letter-spacing: .02em;
        }

        #modalDiv [id$="lblContato"] > .row > div[style*="Grey"] {
            height: auto !important;
            padding: 2px 16px 11px 14px;
            border: 1px solid var(--fmf-borda);
            border-left: 3px solid var(--fmf-vermelho);
            border-top: 0;
            border-radius: 0 0 10px 10px !important;
            font-size: 11.5px !important;
            line-height: 1.55;
            color: var(--fmf-texto-suave) !important;
        }

            #modalDiv [id$="lblContato"] > .row > div[style*="Grey"] > a {
                display: inline-block;
                font-size: 13px;
                font-weight: 600;
                color: var(--fmf-texto);
                overflow-wrap: anywhere;
            }

                #modalDiv [id$="lblContato"] > .row > div[style*="Grey"] > a::before {
                    content: "\f0e0";
                    margin-right: 6px;
                    font-family: FontAwesome;
                    font-weight: normal;
                    color: var(--fmf-vermelho);
                }

                #modalDiv [id$="lblContato"] > .row > div[style*="Grey"] > a:hover {
                    color: var(--fmf-vermelho);
                }

/* Formularios (Contato, Credenciamento, Seja um Arbitro...) */
.container_es .form-control {
    border-radius: 8px;
    border-color: #d5d8dd;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .container_es .form-control:focus {
        border-color: var(--fmf-vermelho);
        box-shadow: 0 0 0 3px rgba(187, 20, 20, .12);
    }

.container_es .btn {
    border-radius: 8px;
    font-weight: 600;
}

.container_es .btn-danger {
    background-color: var(--fmf-vermelho);
    border-color: var(--fmf-vermelho);
}

    .container_es .btn-danger:hover,
    .container_es .btn-danger:focus {
        background-color: var(--fmf-vermelho-escuro);
        border-color: var(--fmf-vermelho-escuro);
    }

/* Telas menores */
@media (max-width: 1100px) {
    .container_es {
        padding: 0 16px;
    }
}

.container_es .navbar .navbar-brand {
    color: #3a3d42;
    font-weight: 700;
    letter-spacing: .08em;
}

.container_es .navbar .navbar-toggle {
    border: 0;
    border-radius: 8px;
    background-color: var(--fmf-vermelho);
}

    .container_es .navbar .navbar-toggle .icon-bar {
        background-color: #ffffff;
    }

    .container_es .navbar .navbar-toggle:hover,
    .container_es .navbar .navbar-toggle:focus {
        background-color: var(--fmf-vermelho-escuro);
    }

@media (max-width: 991px) {
    .box-es-titulo {
        position: static;
        margin-bottom: 8px;
    }
}

@media (max-width: 767px) {
    .container_es {
        padding: 0 15px;
    }

    .box-body .tab-pane > .table-striped td {
        display: block;
        width: auto !important;
        white-space: normal;
        text-align: left !important;
        border-top: 0 !important;
        background-color: transparent !important;
    }

    .box-body .tab-pane > .table-striped tr {
        display: block;
        border-bottom: 1px solid var(--fmf-borda);
    }

        .box-body .tab-pane > .table-striped td[align="right"] {
            padding: 10px 0 0 !important;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: .04em;
        }

        .box-body .tab-pane > .table-striped td:not([align="right"]) {
            padding: 2px 0 10px !important;
            overflow-wrap: anywhere;
        }

    .jp-wrapper > div[style*="text-align: center"] img {
        max-height: 64px;
    }

    .fmf-institucional > .row > [class*="col-"]:first-child,
    .fmf-institucional > .row + .row > [class*="col-"] {
        padding: 20px 33px 16px;
    }

    .fmf-institucional span[style*="X-Large"][style*="#CC3300"],
    .fmf-institucional span[style*="font-size:24px"] {
        font-size: 21px !important;
    }

    .container_es .navbar .navbar-collapse {
        border-top: 1px solid var(--fmf-borda);
        box-shadow: none;
        max-height: none;
    }

    .container_es .navbar .navbar-nav {
        float: none;
        margin: 0 -15px;
    }

        .container_es .navbar .navbar-nav > li {
            float: none;
            border-bottom: 1px solid var(--fmf-borda);
        }

            .container_es .navbar .navbar-nav > li > a {
                padding: 12px 18px;
            }

            .container_es .navbar .navbar-nav > li > a:hover,
            .container_es .navbar .navbar-nav > li > a:focus,
            .container_es .navbar .navbar-nav > li.open > a,
            .container_es .navbar .navbar-nav > li.active > a {
                box-shadow: inset 4px 0 0 var(--fmf-vermelho);
                background-color: var(--fmf-vermelho-suave);
            }

        .container_es .navbar .navbar-nav .dropdown-menu {
            position: static;
            float: none;
            width: auto;
            margin: 0;
            padding: 0 0 8px;
            border-radius: 0;
            box-shadow: none;
            background-color: #fafafa;
        }

            .container_es .navbar .navbar-nav .dropdown-menu > li > a {
                padding: 9px 18px 9px 30px;
                white-space: normal;
            }

        .container_es .navbar .sub-menu,
        .container_es .navbar .bt-submenu:hover ul {
            position: static;
            display: block;
            float: none;
            top: auto;
            min-width: 0;
            margin: 0;
            padding: 0;
            border: 0;
            border-radius: 0;
            box-shadow: none;
            background-color: transparent;
        }

            .container_es .navbar .sub-menu > li > a {
                padding: 7px 18px 7px 46px;
                font-size: 13px;
                color: var(--fmf-texto-suave);
                white-space: normal;
            }

    .box .box-body {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

        .box .box-body .row {
            margin-left: -10px;
            margin-right: -10px;
        }

            .box .box-body .row > [class*="col-"] {
                padding-left: 10px;
                padding-right: 10px;
            }

    #Div1 .jp-wrapper > .row {
        margin-left: 0;
        margin-right: 0;
    }

    iframe,
    video,
    embed,
    object {
        max-width: 100%;
    }

    .box.box-solid.box-danger > .box-body[style*="min-height"] > .table-striped > tbody > tr > td {
        display: block;
        width: auto !important;
        white-space: normal;
    }

    .box.box-solid.box-danger > .box-body[style*="min-height"] .img-thumbnail {
        width: 100% !important;
        height: auto !important;
    }

    .box.box-solid.box-danger > .box-header .box-title > span.bold {
        font-size: 19px;
    }

    .container_es > .box-header .box-title,
    .container_es > .box-header .box-title > span {
        font-size: 20px !important;
    }

    .box-body .table a[style*="XX-Large"] {
        font-size: 18px !important;
    }

    .nav-tabs-custom > .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

        .nav-tabs-custom > .nav-tabs > li {
            float: none;
            flex: 0 0 auto;
            white-space: nowrap;
        }

    .table > thead > tr > th,
    .table > tbody > tr > th,
    .table > tbody > tr > td {
        padding: 6px 5px;
    }

    select,
    input[type="text"],
    input[type="email"],
    input[type="search"],
    textarea {
        font-size: 16px !important;
    }

    [id$="lblTabelaArbitragem"] .box-body > .table td:nth-child(3),
    [id$="lblTabelaArbitragem"] .box-body > .table td:nth-child(7) {
        display: none;
    }

    [id$="dtgRodada"] > tbody,
    [id$="dtgTimes"] > tbody {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) {
        gap: 8px;
    }

    .container_es > .box > .row > .col-lg-11 > .row:has(.form-control) > [class*="col-"]:has(.form-control) {
        flex-basis: 100%;
        max-width: none;
    }

    .container_es > .box > .row > .col-lg-11 > .row:has(.form-control) > [class*="col-"]:has(> .btn),
    .container_es > .box > .row > .col-lg-11 > .row:has(.form-control) .btn {
        flex-basis: 100%;
        width: 100%;
    }

        .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) > a[target="_blank"],
        .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) > span > a[target="_blank"] {
            min-height: 48px;
            padding: 8px 12px;
            gap: 10px;
            font-size: 13.5px !important;
        }

            .container_es > .box > .row > .col-lg-11:has(> a[target="_blank"]) a[target="_blank"]::before {
                flex-basis: 30px;
                height: 30px;
                font-size: 15px;
                line-height: 30px;
            }

    [id$="dtgPopula"] td:nth-child(2),
    [id$="dtgPopula"] td:nth-child(3),
    [id$="dtgPopula"] td:nth-child(4) {
        display: none;
    }

    [id$="dtgPopula"] td {
        padding: 10px 8px !important;
    }

        [id$="dtgPopula"] tr:not(:first-child) > td:nth-child(5) {
            white-space: normal;
        }

    .container_es > .box > .box-header > .pull-right:has(input) {
        width: 100%;
    }

        .container_es > .box > .box-header > .pull-right input[type="text"] {
            flex: 1 1 auto;
            width: auto !important;
            min-width: 0;
            font-size: 16px;
        }

    [id$="lblTabelaArbitragem"] .box-body > .table td {
        font-size: 12px;
    }

    [id$="dtgArtilharia"] {
        font-size: 12px !important;
    }

    [id$="LblClassifica"] .tab-pane > .table {
        font-size: 11.5px !important;
    }

        [id$="LblClassifica"] .tab-pane > .table td {
            padding: 8px 3px !important;
        }

            [id$="LblClassifica"] .tab-pane > .table td:first-child {
                padding-left: 8px !important;
            }

            [id$="LblClassifica"] .tab-pane > .table td:last-child {
                padding-right: 8px !important;
            }

            [id$="LblClassifica"] .tab-pane > .table:has(td:nth-child(2) > img) td:nth-child(2) {
                display: none;
            }

            [id$="LblClassifica"] .tab-pane > .table tr:not([style*="#BB1414"]) > td:nth-child(3) {
                overflow-wrap: anywhere;
            }

        [id$="LblClassifica"] .tab-pane > .table tr[style*="#BB1414"] > td {
            font-size: 10px;
            letter-spacing: 0;
        }

    [id$="dtgArtilharia"],
    [id$="dtgArtilharia"] > tbody {
        display: block;
        width: 100% !important;
    }

        [id$="dtgArtilharia"] tr[style*="#BB1414"] {
            display: none;
        }

        [id$="dtgArtilharia"] tr:not([style*="#BB1414"]) {
            display: grid;
            grid-template-columns: 56px minmax(0, 1fr);
            column-gap: 4px;
            height: auto !important;
            padding: 10px 14px 10px 0;
            border-bottom: 1px solid var(--fmf-borda);
        }

            [id$="dtgArtilharia"] tr:not([style*="#BB1414"]):last-child {
                border-bottom: 0;
            }

            [id$="dtgArtilharia"] tr:not([style*="#BB1414"]) > td {
                width: auto !important;
                padding: 0 !important;
                border: 0 !important;
                text-align: left;
                overflow-wrap: break-word;
            }

            [id$="dtgArtilharia"] tr:not([style*="#BB1414"]) > td:first-child {
                grid-row: 1 / span 3;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                width: auto !important;
                font-size: 22px;
                line-height: 1;
                text-align: center;
            }

                [id$="dtgArtilharia"] tr:not([style*="#BB1414"]) > td:first-child::after {
                    content: "gols";
                    margin-top: 3px;
                    font-size: 9.5px;
                    font-weight: 700;
                    letter-spacing: .08em;
                    text-transform: uppercase;
                    color: var(--fmf-texto-suave);
                }

            [id$="dtgArtilharia"] tr:not([style*="#BB1414"]) > td:nth-child(2) {
                font-size: 14px;
                line-height: 1.3;
            }

            [id$="dtgArtilharia"] tr:not([style*="#BB1414"]) > td:nth-child(3) {
                font-size: 12px;
                line-height: 1.35;
            }

            [id$="dtgArtilharia"] tr:not([style*="#BB1414"]) > td:nth-child(4) {
                margin-top: 3px;
                font-size: 10.5px;
                font-weight: 700;
                letter-spacing: .04em;
                text-transform: uppercase;
                color: var(--fmf-vermelho);
            }

    #modalDiv {
        top: 12px;
        max-height: calc(100vh - 24px);
    }

        #modalDiv > .jp-wrapper > .body {
            padding: 16px 6px 18px;
        }

        #modalDiv #headerModal {
            height: 48px;
        }

        #modalDiv h3 {
            font-size: 14.5px;
        }
}

@media (min-width: 768px) and (max-width: 991px) {
    [id$="dtgRodada"] > tbody,
    [id$="dtgTimes"] > tbody {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    /* Carrossel de rodadas (ProxJogos): o plugin le a largura do item ao iniciar,
       entao basta o item acompanhar a largura disponivel */
    .ca-container {
        width: 100%;
        margin: 12px 0;
    }

    .ca-item {
        width: 100%;
    }

    .ca-item-main {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ca-nav span {
        top: 19px;
        margin-top: 0;
        left: 6px;
    }

        .ca-nav span.ca-nav-next {
            left: auto;
            right: 6px;
        }

    .ca-item .box-body > .table > .row > .col-md-9 .row {
        margin-left: 0;
        margin-right: 0;
    }

    .ca-item .box-body > .table > .row > [class*="col-md-"],
    .ca-item .box-body > .table > .row > .col-md-9 > .row > [class*="col-md-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 [class*="col-md-"] {
        float: left;
        top: 0 !important;
    }

    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 > .row,
    .ca-item .box-body .col-md-11 > .row,
    .ca-item .box-body .col-md-6 > .row {
        display: flex;
        align-items: center;
    }

        .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 > .row::before,
        .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 > .row::after,
        .ca-item .box-body .col-md-11 > .row::before,
        .ca-item .box-body .col-md-11 > .row::after,
        .ca-item .box-body .col-md-6 > .row::before,
        .ca-item .box-body .col-md-6 > .row::after {
            display: none;
        }

    .ca-item .box-body .col-md-11 > .row > .col-md-3 {
        padding-left: 4px !important;
        padding-right: 4px !important;
        overflow-wrap: anywhere;
    }

    .ca-item .box-body > .table > .row > .col-md-3 img[width="60px"] {
        width: 44px;
    }

    .ca-item .box-body {
        font-size: 11.5px;
    }

        .ca-item .box-body .col-md-6 > .row > .col-md-2 td {
            font-size: 14px;
        }

    :is(.container_es > .box > .box-body, .container_es > .box) > .nav-tabs-custom > .nav-tabs > li {
        margin-right: 18px;
    }

    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 .col-md-1 {
        width: 12%;
    }

    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 .col-md-11 {
        width: 88%;
    }

    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 .col-md-3 {
        width: 30%;
    }

    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 .col-md-6 {
        width: 40%;
    }

    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 .col-md-5 {
        width: 35%;
    }

    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 .col-md-2 {
        width: 30%;
    }

    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-9 img {
        max-width: 100%;
        height: auto !important;
    }

    .ca-item .box-body > .table > .row > .col-md-9 {
        min-height: 0 !important;
        top: 0 !important;
        padding-bottom: 4px;
    }

    .ca-item .box-body > .table > .row > .col-md-9 > .row > .col-md-3,
    .ca-item .box-body > .table > .row > .col-md-3 {
        text-align: center !important;
        padding-top: 4px;
    }

    .ca-item .box-body > .table > .row[style*="min-height: 65px"] {
        padding-bottom: 16px !important;
        margin-bottom: 8px;
    }
}

/* Redes sociais */
.fmf-redes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 2px 0 4px;
    list-style: none;
}

.fmf-redes-esquerda {
    grid-template-columns: repeat(auto-fill, 76px);
}

    .fmf-redes > li {
        margin: 0;
        padding: 0;
    }

    .fmf-redes a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
        padding: 10px 4px 9px;
        border: 1px solid var(--fmf-borda);
        border-radius: var(--fmf-raio);
        background-color: #ffffff;
        color: var(--fmf-texto);
        text-decoration: none;
        transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

.fmf-redes-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--fmf-fundo);
    color: #3a3d42;
    transition: background .2s ease, color .2s ease;
}

    .fmf-redes-ic svg {
        width: 20px;
        height: 20px;
        display: block;
    }

.fmf-redes-nome {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .02em;
    color: var(--fmf-texto-suave);
}

.fmf-redes a:hover,
.fmf-redes a:focus-visible {
    border-color: transparent;
    box-shadow: var(--fmf-sombra);
    transform: translateY(-2px);
    outline: none;
}

    .fmf-redes a:hover .fmf-redes-ic,
    .fmf-redes a:focus-visible .fmf-redes-ic {
        color: #ffffff;
    }

    .fmf-redes a:hover .fmf-redes-nome,
    .fmf-redes a:focus-visible .fmf-redes-nome {
        color: var(--fmf-texto);
    }

.fmf-redes a.fmf-rede-instagram:hover .fmf-redes-ic,
.fmf-redes a.fmf-rede-instagram:focus-visible .fmf-redes-ic {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.fmf-redes a.fmf-rede-facebook:hover .fmf-redes-ic,
.fmf-redes a.fmf-rede-facebook:focus-visible .fmf-redes-ic {
    background: #1877f2;
}

.fmf-redes a.fmf-rede-youtube:hover .fmf-redes-ic,
.fmf-redes a.fmf-rede-youtube:focus-visible .fmf-redes-ic {
    background: #ff0000;
}

.fmf-redes a.fmf-rede-x:hover .fmf-redes-ic,
.fmf-redes a.fmf-rede-x:focus-visible .fmf-redes-ic {
    background: #000000;
}

@media (max-width: 767px) {
    .fmf-redes {
        gap: 6px;
    }

    .fmf-redes-ic {
        width: 36px;
        height: 36px;
    }
}

/* Home: lista de notícias em cards */
.fmf-noticias > .tab-content {
    padding: 8px 6px 8px 14px;
}

.fmf-noticias .scrollspy-example {
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #d5d7db transparent;
}

    .fmf-noticias .scrollspy-example::-webkit-scrollbar {
        width: 6px;
    }

    .fmf-noticias .scrollspy-example::-webkit-scrollbar-thumb {
        border-radius: 3px;
        background: #d5d7db;
    }

.fmf-noticias .tab-pane .table {
    width: 100%;
    margin: 0;
    background: transparent;
}

    .fmf-noticias .tab-pane .table > tbody > tr {
        display: grid;
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 18px;
        position: relative;
        padding: 14px 10px;
        border-bottom: 1px solid var(--fmf-borda);
        border-radius: var(--fmf-raio);
        transition: background-color .2s ease;
    }

        .fmf-noticias .tab-pane .table > tbody > tr:last-child {
            border-bottom: 0;
        }

        .fmf-noticias .tab-pane .table > tbody > tr:empty {
            display: none;
        }

        .fmf-noticias .tab-pane .table > tbody > tr:hover {
            background-color: var(--fmf-vermelho-suave);
        }

        .fmf-noticias .tab-pane .table > tbody > tr > td {
            display: block;
            width: auto !important;
            min-width: 0;
            padding: 0 !important;
            border: 0 !important;
            background: transparent !important;
        }

            .fmf-noticias .tab-pane .table > tbody > tr > td:first-child {
                align-self: start;
                overflow: hidden;
                aspect-ratio: 16 / 10;
                border-radius: 8px;
                background: var(--fmf-fundo) !important;
            }

    .fmf-noticias .tab-pane .table .img-thumbnail {
        display: block;
        width: 100% !important;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
        transition: transform .35s ease;
    }

    .fmf-noticias .tab-pane .table > tbody > tr:hover .img-thumbnail {
        transform: scale(1.04);
    }

    .fmf-noticias .tab-pane .table h4 {
        display: -webkit-box;
        margin: 2px 0 8px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 17px;
        line-height: 1.35;
        transition: color .2s ease;
    }

    .fmf-noticias .tab-pane .table > tbody > tr:hover h4 {
        color: var(--fmf-vermelho);
    }

    .fmf-noticias .tab-pane .table > tbody > tr > td:last-child p,
    .fmf-noticias .tab-pane .table > tbody > tr > td:last-child div {
        margin: 0;
        font-size: 14px;
        line-height: 1.6;
        text-align: left !important;
        color: var(--fmf-texto-suave);
    }

        .fmf-noticias .tab-pane .table > tbody > tr > td:last-child p:empty {
            display: none;
        }

    .fmf-noticias .tab-pane .table > tbody > tr > td:last-child a {
        display: flex;
        align-items: center;
        gap: 6px;
        width: max-content;
        margin-top: 10px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--fmf-vermelho);
    }

        .fmf-noticias .tab-pane .table > tbody > tr > td:last-child a::after {
            content: "\f061";
            font-family: FontAwesome;
            font-size: 11px;
            transition: transform .2s ease;
        }

        .fmf-noticias .tab-pane .table > tbody > tr > td:last-child a::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 1;
        }

    .fmf-noticias .tab-pane .table > tbody > tr:hover td:last-child a {
        text-decoration: none;
    }

        .fmf-noticias .tab-pane .table > tbody > tr:hover td:last-child a::after {
            transform: translateX(3px);
        }

@media (min-width: 992px) {
    .container_es > .row:has(.fmf-noticias),
    .container_es > .row > .col-md-8:has(.fmf-noticias) > .row:has(.fmf-noticias) {
        display: flex;
    }

    .container_es > .row > .col-md-8:has(.fmf-noticias) {
        display: flex;
        flex-direction: column;
    }

        .container_es > .row > .col-md-8:has(.fmf-noticias) > .row:has(.fmf-noticias) {
            flex: 1 1 auto;
        }

            .container_es > .row > .col-md-8:has(.fmf-noticias) > .row:has(.fmf-noticias) > div {
                display: flex;
                flex-direction: column;
            }

    .fmf-noticias {
        display: flex;
        position: relative;
        top: 2px;
        flex: 1 1 auto;
        flex-direction: column;
    }

        .fmf-noticias > .tab-content {
            position: relative;
            flex: 1 1 auto;
            min-height: 520px;
        }

            .fmf-noticias > .tab-content > .tab-pane > .scrollspy-example {
                position: absolute;
                inset: 8px 6px 8px 14px;
                height: auto;
                min-height: 0 !important;
                margin: 0;
            }
}

@media (max-width: 767px) {
    .fmf-noticias > .tab-content {
        padding: 6px 4px 6px 10px;
    }

    .fmf-noticias .tab-pane .table > tbody > tr {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 4px;
    }

    .fmf-noticias .tab-pane .table h4 {
        -webkit-line-clamp: 3;
        font-size: 16px;
    }

    .fmf-noticias > .nav-tabs {
        flex-wrap: wrap;
    }

        .fmf-noticias > .nav-tabs > li.header {
            order: 0;
            flex: 0 0 100%;
            padding: 10px 14px 4px;
        }

        .fmf-noticias > .nav-tabs > li:nth-child(4) {
            order: 1;
        }

        .fmf-noticias > .nav-tabs > li:nth-child(3) {
            order: 2;
        }

        .fmf-noticias > .nav-tabs > li:nth-child(2) {
            order: 3;
        }

        .fmf-noticias > .nav-tabs > li:nth-child(1) {
            order: 4;
        }

    .fmf-noticias > .nav-tabs {
        gap: 6px;
        padding: 0 12px 12px;
        overflow: visible;
        border-bottom: 1px solid var(--fmf-borda);
    }

        .fmf-noticias > .nav-tabs::before,
        .fmf-noticias > .nav-tabs::after {
            display: none;
        }

        .fmf-noticias > .nav-tabs > li:not(.header) {
            flex: 1 1 auto;
            margin: 0 !important;
            border: 0 !important;
        }

            .fmf-noticias > .nav-tabs > li:not(.header) > a {
                display: block;
                margin: 0;
                padding: 8px 6px !important;
                border: 0 !important;
                border-radius: 999px;
                background-color: var(--fmf-fundo) !important;
                box-shadow: none !important;
                font-size: 11.5px !important;
                font-weight: 700;
                letter-spacing: .03em;
                line-height: 1.2;
                text-align: center;
                white-space: nowrap;
                color: var(--fmf-texto-suave) !important;
            }

            .fmf-noticias > .nav-tabs > li.active:not(.header) > a {
                background-color: var(--fmf-vermelho) !important;
                color: #ffffff !important;
            }
}

/* Banner TV FMF: no celular a arte e dividida em duas faixas para continuar legivel */
.fmf-tv {
    display: block;
}

.fmf-tv-mobile {
    display: none;
}

@media (max-width: 767px) {
    .container_es > .fmf-tv > .fmf-tv-full {
        display: none;
    }

    .fmf-tv-mobile {
        display: block;
        margin-bottom: 1rem;
        overflow: hidden;
        border-radius: var(--fmf-raio);
        box-shadow: var(--fmf-sombra);
    }

        .fmf-tv-logo,
        .fmf-tv-canal {
            display: block;
            width: 100%;
            background-image: url("../Imagem/banner-futebolmineirotv.jpg");
            background-repeat: no-repeat;
        }

        .fmf-tv-logo {
            aspect-ratio: 292 / 60;
            background-size: 335.62% 100%;
            background-position: 0 0;
        }

        .fmf-tv-canal {
            aspect-ratio: 688 / 60;
            background-size: 142.44% 100%;
            background-position: 100% 0;
        }
}

/* Página de Contato */
.fmf-contato-topo {
    margin: 4px 0 18px;
    padding: 26px 28px;
    border-radius: var(--fmf-raio);
    background: linear-gradient(135deg, var(--fmf-vermelho) 0%, var(--fmf-vermelho-escuro) 100%);
    box-shadow: var(--fmf-sombra);
    color: #ffffff;
}

    .fmf-contato-topo h1 {
        margin: 0 0 6px;
        font-size: 26px;
        font-weight: 700;
        letter-spacing: .01em;
        color: #ffffff;
    }

    .fmf-contato-topo p {
        margin: 0;
        font-size: 15px;
        opacity: .9;
    }

.fmf-contato-canais {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

    .fmf-contato-canais a {
        display: flex;
        align-items: center;
        gap: 14px;
        height: 100%;
        padding: 16px;
        border: 1px solid var(--fmf-borda);
        border-radius: var(--fmf-raio);
        background: #ffffff;
        color: var(--fmf-texto);
        text-decoration: none;
        transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

        .fmf-contato-canais a:hover,
        .fmf-contato-canais a:focus-visible {
            border-color: transparent;
            box-shadow: var(--fmf-sombra);
            transform: translateY(-2px);
            text-decoration: none;
            outline: none;
        }

.fmf-contato-ic {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--fmf-vermelho-suave);
    font-size: 18px;
    color: var(--fmf-vermelho);
    transition: background-color .2s ease, color .2s ease;
}

.fmf-contato-canais a:hover .fmf-contato-ic,
.fmf-contato-canais a:focus-visible .fmf-contato-ic {
    background: var(--fmf-vermelho);
    color: #ffffff;
}

.fmf-contato-txt {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .fmf-contato-txt small {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--fmf-texto-suave);
    }

    .fmf-contato-txt strong {
        overflow: hidden;
        font-size: 14px;
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.fmf-contato-mapa {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: var(--fmf-fundo);
}

    .fmf-contato-mapa iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

.fmf-contato-endereco {
    display: flex;
    gap: 10px;
    margin: 14px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--fmf-texto);
}

    .fmf-contato-endereco .fa {
        margin-top: 3px;
        font-size: 18px;
        color: var(--fmf-vermelho);
    }

.container_es .fmf-contato-rota {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.fmf-contato-deptos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .fmf-contato-deptos a {
        display: flex;
        flex-direction: column;
        gap: 6px;
        height: 100%;
        padding: 14px;
        border: 1px solid var(--fmf-borda);
        border-left: 3px solid var(--fmf-vermelho);
        border-radius: 8px;
        color: var(--fmf-texto);
        text-decoration: none;
        transition: background-color .2s ease, box-shadow .2s ease;
    }

        .fmf-contato-deptos a:hover,
        .fmf-contato-deptos a:focus-visible {
            background: var(--fmf-vermelho-suave);
            box-shadow: var(--fmf-sombra);
            text-decoration: none;
            outline: none;
        }

    .fmf-contato-deptos strong {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

    .fmf-contato-deptos span {
        flex: 1 1 auto;
        font-size: 13px;
        line-height: 1.45;
        color: var(--fmf-texto-suave);
    }

        .fmf-contato-deptos span::first-letter {
            text-transform: uppercase;
        }

    .fmf-contato-deptos em {
        display: flex;
        align-items: center;
        gap: 6px;
        overflow: hidden;
        font-size: 13px;
        font-style: normal;
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: var(--fmf-vermelho);
    }

@media (min-width: 992px) {
    .fmf-contato > .row {
        display: flex;
    }

        .fmf-contato > .row > [class*="col-"] {
            display: flex;
            flex-direction: column;
        }

            .fmf-contato > .row > [class*="col-"] > .box {
                display: flex;
                flex: 1 1 auto;
                flex-direction: column;
            }

    .fmf-contato > .row > .col-md-7 > .box > .box-body {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
    }

        .fmf-contato > .row > .col-md-7 > .box > .box-body > br {
            display: none;
        }

        .fmf-contato > .row > .col-md-7 > .box > .box-body > .form-control {
            margin: 4px 0 14px;
        }

        .fmf-contato > .row > .col-md-7 > .box > .box-body > textarea.form-control {
            flex: 1 1 auto;
            min-height: 110px;
            resize: none;
        }

        .fmf-contato > .row > .col-md-7 > .box > .box-body > .btn {
            align-self: flex-start;
            margin-top: 2px;
        }
}

@media (max-width: 1100px) {
    .fmf-contato-canais {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fmf-contato-deptos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .fmf-contato-topo {
        padding: 20px 18px;
    }

        .fmf-contato-topo h1 {
            font-size: 22px;
        }

    .fmf-contato-canais,
    .fmf-contato-deptos {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Lista de notícias (Noticias/ListaNoticias.aspx) */
[id$="DtgNoticias"] > tbody > tr:has(> td > a > img) {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-areas: "img data" "img txt";
    grid-template-rows: auto 1fr;
    column-gap: 20px;
    height: auto !important;
    padding: 16px 0;
    border-bottom: 1px solid var(--fmf-borda);
}

    [id$="DtgNoticias"] > tbody > tr:has(> td > a > img) > td {
        display: block;
        padding: 0 !important;
        border: 0 !important;
    }

        [id$="DtgNoticias"] > tbody > tr:has(> td > a > img) > td:nth-child(1) {
            grid-area: data;
            font-size: 12px;
            font-weight: 700;
            color: var(--fmf-vermelho);
        }

        [id$="DtgNoticias"] > tbody > tr:has(> td > a > img) > td:nth-child(2) {
            grid-area: img;
        }

            [id$="DtgNoticias"] > tbody > tr:has(> td > a > img) > td:nth-child(2) a {
                display: block;
                overflow: hidden;
                border-radius: var(--fmf-raio);
                box-shadow: var(--fmf-sombra);
            }

            [id$="DtgNoticias"] > tbody > tr:has(> td > a > img) > td:nth-child(2) img {
                display: block;
                width: 100%;
                height: auto;
                aspect-ratio: 3 / 2;
                object-fit: cover;
                transition: transform .25s ease;
            }

            [id$="DtgNoticias"] > tbody > tr:has(> td > a > img) > td:nth-child(2) a:hover img {
                transform: scale(1.04);
            }

        [id$="DtgNoticias"] > tbody > tr:has(> td > a > img) > td:nth-child(3) {
            grid-area: txt;
        }

            [id$="DtgNoticias"] > tbody > tr:has(> td > a > img) > td:nth-child(3) h3 {
                margin: 4px 0 6px;
                font-size: 18px;
                font-weight: 700;
                line-height: 1.3;
                color: var(--fmf-texto);
            }

            [id$="DtgNoticias"] > tbody > tr:has(> td > a > img) > td:nth-child(3) p {
                margin: 0;
                font-size: 13.5px;
                line-height: 1.5;
                color: var(--fmf-texto-suave);
            }

[id$="DtgNoticias"] > tbody > tr:last-child:not(:has(img)) > td {
    display: flex;
    justify-content: center;
    padding: 20px 0 6px !important;
    border: 0 !important;
    font-size: 0;
}

    [id$="DtgNoticias"] > tbody > tr:last-child:not(:has(img)) > td > :is(a, span) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 38px;
        height: 36px;
        padding: 0 8px;
        margin-left: -1px;
        border: 1px solid var(--fmf-borda);
        background-color: #fff;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        color: var(--fmf-texto-suave) !important;
        text-decoration: none;
        transition: background-color .15s ease, color .15s ease;
    }

        [id$="DtgNoticias"] > tbody > tr:last-child:not(:has(img)) > td > :is(a, span):first-child {
            margin-left: 0;
            border-radius: 8px 0 0 8px;
        }

        [id$="DtgNoticias"] > tbody > tr:last-child:not(:has(img)) > td > :is(a, span):last-child {
            border-radius: 0 8px 8px 0;
        }

        [id$="DtgNoticias"] > tbody > tr:last-child:not(:has(img)) > td > a:hover,
        [id$="DtgNoticias"] > tbody > tr:last-child:not(:has(img)) > td > a:focus {
            background-color: var(--fmf-fundo);
            color: var(--fmf-vermelho) !important;
        }

        [id$="DtgNoticias"] > tbody > tr:last-child:not(:has(img)) > td > span {
            position: relative;
            border-color: var(--fmf-vermelho);
            background-color: var(--fmf-vermelho);
            font-weight: 700;
            color: #fff !important;
        }

a[href$="ListaNoticias.aspx"] > .btn > .fa {
    margin-right: 8px;
}

@media (max-width: 767px) {
        [id$="DtgNoticias"] > tbody > tr:last-child:not(:has(img)) > td > :is(a, span) {
            flex: 1 1 0;
            min-width: 0;
            height: 38px;
            padding: 0;
        }

    [id$="DtgNoticias"] > tbody > tr:has(> td > a > img) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "img" "data" "txt";
        grid-template-rows: auto;
        row-gap: 8px;
        padding: 14px 0 18px;
    }

        [id$="DtgNoticias"] > tbody > tr:has(> td > a > img) > td:nth-child(3) h3 {
            margin-top: 0;
            font-size: 17px;
        }
}
