﻿html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}


body {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    min-height: 100vh;
}
.small-page {
    font-size: 0.9rem !important; /* ou 14px, 13px, etc */
}

.profile-card {
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    border-radius: 16px;
    min-height: 180px;
}

    .profile-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

.profile-icon {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.profile-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.profile-card.active {
    border: 2px solid #0d6efd; /* azul Bootstrap */
    background-color: #e7f1ff;
    box-shadow: 0 8px 20px rgba(13,110,253,0.25);
}

    .profile-card.active .profile-icon {
        color: #0d6efd !important;
    }

    .profile-card.active:hover {
        transform: none;
    }





.accordion-body {
    padding: 0rem 0rem;
}

.responsive-800px {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.img-size-noticias {
    width: 100%;
    height: 225px;
}

section {
    padding: -200px 0 80px 0;
}
/*--------------------------------------------------------------
# Featured
--------------------------------------------------------------*/
.featured {
    position: relative;
    z-index: 2;
}

    .featured .icon-box {
        text-align: center;
        padding: 40px 30px;
        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.15);
        border-radius: 10px;
        background: #fff;
        transition: all ease-in-out 0.3s;
        height: 100%;
    }

        .featured .icon-box i {
            color: #6c6439;
            font-size: 20px;
            margin-bottom: 15px;
            display: block;
            line-height: 0;
        }

        .featured .icon-box h3 {
            font-weight: 700;
            margin-bottom: 15px;
            font-size: 20px;
        }

            .featured .icon-box h3 a {
                color: #21207d;
                transition: 0.3s;
            }

        .featured .icon-box p {
            color: #545454;
            line-height: 24px;
            font-size: 14px;
            margin-bottom: 0;
        }

        .featured .icon-box:hover {
            background: #275090;
        }

            .featured .icon-box:hover i, .featured .icon-box:hover h3 a, .featured .icon-box:hover p {
                color: #fff;
            }


/* Breadcrumb moderno */
.breadcrumb-modern {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    gap: 8px;
}

.breadcrumb-item-modern {
    background: #ffffff;
    color: #0d6efd;
    border: 1px solid #d0d7df;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
}

    .breadcrumb-item-modern:hover {
        background: #0d6efd;
        color: white !important;
        border-color: #0d6efd;
    }

    .breadcrumb-item-modern i {
        font-size: 14px;
    }

/* Destaque do evento */
.event-highlight-wrapper .btn-lg {
    border-radius: 8px;
    font-size: 1.1rem;
}
/*SubMenus V5*/
.submenu-nav {
    border-bottom: 1px solid #e9ecef;
}

    .submenu-nav .nav {
        gap: 4px;
    }

    .submenu-nav .nav-link {
        color: #495057;
        padding: 9px 12px;
        border-radius: 8px 8px 0 0;
        transition: all .2s ease;
        white-space: nowrap;
    }

        .submenu-nav .nav-link:hover {
            background: #f8f9fa;
            color: #0d6efd;
        }

        .submenu-nav .nav-link.active {
            color: #0d6efd;
            font-weight: 600;
            background: #e7f1ff;
            border-bottom: 3px solid #0d6efd;
        }

    /* scroll suave em mobile */
    .submenu-nav .nav::-webkit-scrollbar {
        height: 4px;
    }

    .submenu-nav .nav::-webkit-scrollbar-thumb {
        background: #dee2e6;
        border-radius: 4px;
    }
/* Fim SubMenus V5 */

.profile-help {
    font-size: 0.85rem;
    opacity: .85;
    margin-top: 12px;
}

.profile-card {
    min-height: 220px; /* ajusta ao teu gosto */
}

/* Não deixa quebrar botões nunca*/
@media (max-width: 1800px) {
    .btn {
        white-space: nowrap;
    }

    table.dataTable td {
        vertical-align: middle;
    }
}



.eventos-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.eventos-panel-body {
    padding: 0;
}

.eventos-grid {
    margin-left: -8px;
    margin-right: -8px;
}

.evento-grid-col {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
}

.evento-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid #e1e6eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.10);
    transition: all .15s ease-in-out;
}

    .evento-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(0,0,0,.16);
    }

.evento-poster {
    position: relative;
    background: #f2f4f7;
    height: 300px;
    overflow: hidden;
}

.evento-img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center center;
    background: #f2f4f7;
}

.evento-data-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    min-width: 72px;
    padding: 8px 6px;
    background: rgba(51, 122, 183, .95);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,.25);
}

    .evento-data-badge .day {
        display: block;
        font-size: 28px;
        font-weight: 800;
        line-height: 1;
    }

    .evento-data-badge .month {
        display: block;
        margin-top: 2px;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .evento-data-badge .year {
        display: block;
        font-size: 12px;
        opacity: .95;
    }

    .evento-data-badge .time {
        display: block;
        margin-top: 5px;
        padding-top: 5px;
        border-top: 1px solid rgba(255,255,255,.35);
        font-size: 12px;
        font-weight: 600;
    }

.evento-info {
    padding: 14px 15px 10px 15px;
}

.evento-titulo {
    margin: 0 0 12px 0;
    min-height: 52px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #263238;
}

.evento-detalhe {
    position: relative;
    padding-left: 24px;
    margin-bottom: 7px;
    font-size: 14px;
    min-height: 24px;
    color: #444;
    line-height: 1.35;
}

    .evento-detalhe i {
        position: absolute;
        left: 0;
        top: 2px;
        width: 16px;
        color: #337ab7;
        text-align: center;
    }

.evento-limite {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #337ab7;
}

.evento-destaque {
    margin-top: 10px;
    padding: 9px 10px;
    background: #fff9e8;
    border-left: 4px solid #f0ad4e;
    border-radius: 4px;
    color: #6b5d35;
    font-size: 13px;
    font-weight: 600;
}

.evento-acoes {
    padding: 12px 15px 15px 15px;
    border-top: 1px solid #edf0f3;
    background: #fafbfc;
}

.evento-btn-entrar {
    border-radius: 22px;
    font-weight: 700;
    padding: 10px;
}

.evento-links-secundarios {
    margin: 8px 0 0 0;
    text-align: center;
}

    .evento-links-secundarios > li {
        padding-left: 2px;
        padding-right: 2px;
    }

    .evento-links-secundarios .btn {
        border-radius: 18px;
    }


/* Tablet */
@media (max-width: 991px) {
    .evento-poster,
    .evento-img {
        height: 340px;
    }
}


/* Mobile */
@media (max-width: 767px) {

    .evento-grid-col {
        margin-bottom: 18px;
    }

    .evento-card {
        border-radius: 10px;
    }

    .evento-poster,
    .evento-img {
        height: auto;
        max-height: none;
    }

    .evento-img {
        width: 100%;
        object-fit: contain;
    }

    .evento-titulo {
        min-height: 0;
        font-size: 20px;
    }

    .evento-info {
        padding: 15px;
    }

    .evento-btn-entrar {
        border-radius: 6px;
        font-size: 16px;
        padding: 12px;
    }
}

/* Fim do CSS do Site */

.event-card {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    background: #fff;
}

    .event-card > .panel-heading {
        border: 0;
    }

.event-card-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, #337ab7, #245580);
}

.event-title h3,
.event-title h4 {
    margin: 0;
    color: #fff;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.event-card-body {
    padding: 24px;
}

.event-main-row {
    display: flex;
    align-items: stretch;
}

.event-image-box {
    background: #f5f7fa;
    border-radius: 10px;
    padding: 8px;
    border: 1px solid #e6e9ee;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.event-image {
    width: 100%;
    border-radius: 8px;
}

.event-info-list {
    margin-top: 2px;
}

.event-info-item {
    display: table;
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f3;
}

    .event-info-item:last-child {
        border-bottom: 0;
    }

.event-info-icon {
    display: table-cell;
    width: 52px;
    vertical-align: top;
}

    .event-info-icon i {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #eef6fc;
        color: #337ab7;
        text-align: center;
        line-height: 38px;
        font-size: 18px;
    }

.event-info-text {
    display: table-cell;
    vertical-align: middle;
}

.event-info-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #8a96a3;
    margin-bottom: 2px;
}

.event-info-text strong,
.event-info-text h4 {
    display: block !important;
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.event-info-highlight {
    margin-top: 8px;
    padding: 14px;
    background: #f7fbff;
    border: 1px solid #d9edf7;
    border-radius: 8px;
}

.event-obs {
    margin-top: 22px;
    padding: 15px 18px;
    background: #fff9e8;
    border-left: 5px solid #f0ad4e;
    border-radius: 6px;
    color: #6b5d35;
    font-size: 15px;
    line-height: 1.5;
}

    .event-obs i {
        margin-right: 8px;
        color: #f0ad4e;
    }

.event-actions-row {
    margin-top: 24px;
}

.event-actions-panel {
    border: 1px solid #d9edf7;
    border-radius: 10px;
    box-shadow: none;
    margin-bottom: 0;
}

.event-actions-title {
    margin: 0 0 18px 0;
    font-size: 26px;
    font-weight: 700;
    color: #245580;
}

.event-buttons {
    margin-bottom: 0;
    border: 0;
    background: transparent;
}

    .event-buttons > li > a {
        border-radius: 8px !important;
        margin: 4px;
        border: 1px solid #e1e6ea;
        background: #fff;
        color: #337ab7;
        font-weight: 600;
        transition: all .15s ease-in-out;
    }

        .event-buttons > li > a:hover,
        .event-buttons > li.active > a,
        .event-buttons > li.active > a:hover {
            background: #337ab7;
            color: #fff;
            border-color: #337ab7;
        }

.event-documents {
    margin-top: 20px;
}

.event-footer {
    background: #f8f9fb;
    border-top: 1px solid #e6e9ee;
    padding: 14px 24px;
}

    .event-footer i {
        color: #337ab7;
        margin-right: 8px;
    }

    .event-footer a {
        font-weight: 600;
    }


/* Mobile */
@media (max-width: 767px) {

    .event-card {
        border-radius: 8px;
        box-shadow: 0 4px 14px rgba(0,0,0,.10);
    }

    .event-card-header {
        padding: 16px;
    }

    .event-title h3,
    .event-title h4 {
        font-size: 21px;
        text-align: center;
    }

    .event-card-body {
        padding: 16px;
    }

    .event-main-row {
        display: block;
    }

    .event-info-item {
        padding: 12px 0;
    }

    .event-info-icon {
        width: 46px;
    }

        .event-info-icon i {
            width: 34px;
            height: 34px;
            line-height: 34px;
            font-size: 16px;
        }

    .event-info-text strong,
    .event-info-text h4 {
        font-size: 16px;
    }

    .event-actions-title {
        font-size: 22px;
    }

    .event-buttons.nav-justified > li {
        display: block;
        width: 100%;
    }

    .event-buttons > li > a {
        margin: 5px 0;
        text-align: left;
        padding: 12px 14px;
    }
}

.event-card-header {
    position: relative;
    padding: 22px 24px 22px 70px;
    background: linear-gradient(135deg, #337ab7, #245580);
}

.event-back-button {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 18px;
    transition: all .15s ease-in-out;
}

    .event-back-button:hover,
    .event-back-button:focus {
        background: rgba(255,255,255,.28);
        color: #fff;
        text-decoration: none;
    }




/* Mobile */
@media (max-width: 767px) {

    .event-card-header {
        padding: 18px 16px 18px 58px;
    }

    .event-back-button {
        left: 12px;
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 16px;
    }
}






