/* a:link {
    color: #1C533B;
} */

a:active {
    font-weight: bold;
    color: #FFF;
}

#falha .modal-body {
    height: 250px;
    overflow-y: auto;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #08471b;
}

input:focus+.slider {
    box-shadow: 0 0 1px #063009;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

@media (min-height: 500px) {
    #falha .modal-body {
        height: 500px;
    }
}

@media (min-height: 800px) {
    #falha .modal-body {
        height: 700px;
    }
}

.wrapper {
    margin-right: auto;
    /* 1 */
    margin-left: auto;
    /* 1 */
    max-width: 500px;
    /* 2 */
    /* padding-right: 0px; */
    /* 3 */
    /* padding-left: 0px; */
    /* 3 */
}

.nav-item {
    z-index: 99;
}

.menuPrincipal {
    background-color: rgb(255, 255, 255);
    background-image: linear-gradient(to right, rgb(25, 46, 17), rgb(70, 107, 77));
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #FFF;
}

.menu-vermelho {
    background-color: rgb(255, 255, 255);
    background-image: linear-gradient(to right, rgb(219, 29, 29), #f0886f);
    /* background-color: #1C533B; */
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: rgb(3, 3, 3);
}

.border-verde {
    border-color: rgb(25, 46, 17);
}

.texto-verde {
    background-color: rgb(255, 255, 255);
    color: rgb(25, 46, 17);
}

.texto-verde:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(25, 46, 17);
}

.texto-verde:active {
    background-color: rgb(255, 255, 255);
    color: rgb(25, 46, 17);
}

.menu_detalhe {
    background-image: linear-gradient(to right, rgb(25, 46, 17), rgb(70, 107, 77));
    /* background-color: #1C533B; */
    border-radius: 10px;
    margin-bottom: 10px;
    color: #FFF;
}

.tratarEvento {
    background-image: linear-gradient(rgb(70, 107, 77), rgb(25, 46, 17));
    background-color: #a3af34;
    border-top-right-radius: 10px;
    color: #FFF;
}

.fundo {
    background-color: #1C533B;
    color: #FFF;
}

.active2>a {
    background-color: #1C533B;
    color: #FFF;
    font-weight: bolder;
}

.titulo>a {
    color: #1c533b;
    font-weight: bolder;
}

.fundoBotao {
    background-color: #f7f7f7;
    color: rgba(49, 47, 47, 0.815);
    border-radius: 7px;
    border-color: #ECEDF0;
    cursor: pointer;
}

.mao {
    cursor: pointer;
}

.fundoBotao:hover {
    color: #ffffff;
    background-image: linear-gradient(rgb(85, 97, 87), rgb(25, 46, 17), rgb(70, 107, 77));
    border-color: #ECEDF0;
    /*border-color: #ECEDF0;*/
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(209, 211, 209, 0.55);
}

.fundoBotao:active {
    color: #9fe296;
    background-color: rgb(16, 48, 34);
    border-color: #ECEDF0;
    /*border-color: #ECEDF0;*/
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(209, 211, 209, 0.55);
}

.fundoBotao:focus {
    color: #fff;
    background-color: rgb(16, 48, 34);
    border-color: #ECEDF0;
    /*border-color: #ECEDF0;*/
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(209, 211, 209, 0.55);
}

.fundoBotao2 {
    background-color: rgb(63, 68, 66);
    color: #fff;
    border-radius: 7px;
    border-color: #ECEDF0;
    cursor: pointer;
}

.fundoBotao2:hover {
    color: #fff;
    background-color: rgb(40, 41, 41);
    border-color: #ECEDF0;
    /*border-color: #ECEDF0;*/
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(72, 73, 72, 0.55);
}

.fundoBotao2:focus {
    color: #fff;
    background-color: rgb(41, 43, 42);
    border-color: #ECEDF0;
    /*border-color: #ECEDF0;*/
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(209, 211, 209, 0.55);
}

.video {
    background-color: #F52D2A;
    border-radius: 10px;
    color: #FFF;
}

.blog-home {
    background-color: #F9FAFF;
    border-radius: 0;
}


/*Inicio Rodape*/

html {
    position: relative;
    min-height: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    color: #FFF;
}

.sobre-empresa {
    background-color: #F9FAFF;
}

.contato {
    background-color: #F9FAFF;
}


/*Blog*/

.blog {
    background-color: #F9FAFF;
}

.display-6 {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .display-6 {
        font-size: 3rem;
    }
}


/* Pagination */

.blog-pagination {
    margin-bottom: 4rem;
}

.blog-pagination>.btn {
    border-radius: 2rem;
}


/* Blog posts*/

.blog-post {
    margin-bottom: 4rem;
}

.blog-post-title {
    margin-bottom: .25rem;
    font-size: 2.5rem;
}

.blog-post-meta {
    margin-bottom: 1.25rem;
    color: #999;
}

.blog-text a {
    text-decoration: none;
}

#map {
    height: 245px;
    width: 100%;
}

.bordaAcima {
    border-radius: 10 10 0 0;
}

.table-overflow {
    max-height: 500px;
    overflow-y: auto;
}

.buttonLimp:hover {
    color: rgb(255, 255, 255);
    background-image: linear-gradient(rgb(16, 51, 0), rgba(0, 7, 1, 0.905));
    outline: 0;
}

.buttonLimp:focus,
input:focus,
select:focus {
    outline: 0;
}

.bg-dark {
    background-image: linear-gradient(rgb(37, 37, 37), rgb(0, 0, 0));
    color: #fff;
}


/* .btn-secondary {
    background-image: linear-gradient(rgb(49, 49, 49), rgb(24, 24, 24));
    color: #fff;
}

.btn-secondary:hover {
    color: rgb(8, 128, 8);
} */

.page-item:active {
    background-image: linear-gradient(rgb(252, 252, 252), rgb(170, 170, 170), rgb(245, 245, 245));
    color: rgb(32, 32, 32);
}

.page-link:hover {
    background-image: linear-gradient(rgb(85, 97, 87), rgb(25, 46, 17), rgb(70, 107, 77));
    color: rgb(255, 255, 255);
}


/* .alert-danger{
    background-image: linear-gradient(rgb(238, 86, 66), rgb(228, 35, 1), rgb(243, 71, 71));
    color: rgb(255, 255, 255);
} */

.btn-danger {
    background-image: linear-gradient(rgb(238, 86, 66), rgb(228, 35, 1), rgb(243, 71, 71));
    color: rgb(255, 255, 255);
}

.event {
    background-image: linear-gradient(rgb(252, 252, 252), rgb(184, 184, 184), rgb(245, 245, 245));
    color: rgb(32, 32, 32);
    border-color: #ECEDF0;
    /*border-color: #ECEDF0;*/
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(209, 211, 209, 0.55);
}

.event:hover {
    color: #fff;
    background-image: linear-gradient(rgb(85, 97, 87), rgb(25, 46, 17), rgb(70, 107, 77));
    border-color: #ECEDF0;
    /*border-color: #ECEDF0;*/
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(72, 73, 72, 0.55);
}

.event:focus {
    background-image: linear-gradient(rgb(252, 252, 252), rgb(221, 206, 66), rgb(245, 245, 245));
    color: rgb(32, 32, 32);
    border-color: #ECEDF0;
    /*border-color: #ECEDF0;*/
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(209, 211, 209, 0.55);
}

.redondo {
    border-radius: 40;
}

@media only screen and (min-width: 760px) {
    .fundo-acesso {
        background: url("../../assets/imagens/fundo.jpg") no-repeat top fixed;
        background-color: rgba(236, 215, 167, 0.905);
        background-size: 100% 100%;
        opacity: 0.9;
    }

    .fundo-acesso-cor {
        background-image: linear-gradient(rgb(247, 235, 213), rgba(236, 215, 167, 0.905));
        opacity: 0.9;
    }

    body {
        background: #FFFFFF url("../../assets/imagens/fundo.jpg") no-repeat right top fixed;
        /* background-image: url("../../assets/imagens/fundo.jpg"); */
        /* background-repeat: no-repeat; */
        background-size: 100% 100%;
        opacity: 0.95;
    }
}

@media only screen and (max-width: 759px) {
    .fundo-acesso {
        background: url("../../assets/imagens/fundo.jpg") no-repeat top fixed;
        background-color: rgba(236, 215, 167, 0.905);
        -webkit-background-size: 250% 100%;
        -moz-background-size: 250% 100%;
        -o-background-size: 250% 100%;
        background-size: 250% 100%;
        opacity: 0.92;
        /* background-repeat: no-repeat;
        background-size: 100%; */
    }

    body {
        background: #FFFFFF url("../../assets/imagens/fundo.jpg") no-repeat right top fixed;
        -webkit-background-size: 250%;
        -moz-background-size: 250%;
        -o-background-size: 250%;
        background-size: 250%;
        opacity: 0.95;
    }

    h4 {
        font-size: 2em;
    }
}

.form-signin {
    background-image: linear-gradient(rgb(247, 235, 213), rgba(236, 215, 167, 0.905));
}

.botao-start {
    background-image: linear-gradient(rgb(255, 222, 196), rgba(255, 230, 168, 0.905));
}

.botao-start:hover {
    background-image: linear-gradient(rgb(255, 255, 254), rgba(246, 242, 232, 0.905));
}

.fillText {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =================================================================== */
/* == ESTILOS FINAIS: BUSCA RESPONSIVA E CUSTOMIZADA                == */
/* =================================================================== */

/* 1. Estilo "Pílula" para AMBOS os formulários de busca */
.navbar-search-custom .input-group {
    border-radius: 50px;
    background-color: #f8f9fa;
    border: 1px solid #e3e6f0;
    transition: all 0.3s ease-in-out;
}

.navbar-search-custom .input-group:focus-within {
    border-color: rgba(28, 83, 59, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(28, 83, 59, 0.25);
}

/* 2. Remove estilos internos para criar um visual unificado */
.navbar-search-custom .form-control,
.navbar-search-custom .input-group-text,
.navbar-search-custom .select2-selection,
.navbar-search-custom .btn {
    border: none;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* 3. Botão de busca desktop com hover verde */
/* Adicione esta regra para o estado PADRÃO do botão */
.navbar-search-custom .fundoBotao {
    /* Define a transição para cor, fundo e bordas */
    transition: background-color 0.0s ease, color 1.0s ease, border-radius 0.0s ease;
}

/* Sua regra de hover/active continua a mesma */
.navbar-search-custom .fundoBotao:hover,
.navbar-search-custom .fundoBotao:active {
    background-color: #c1c1c1 !important;
    color: #ffffff !important;
    border-radius: 0 50px 50px 0 !important;
}

.navbar-search-custom .fundoBotao:hover i,
.navbar-search-custom .fundoBotao:active i {
    color: #ffffff !important;
}

/* 4. Estilos para o Select2 (funciona para ambos os forms) */
.select2-container--bootstrap4 .select2-selection {
    height: calc(1.5em + 0.75rem + 2px);
    line-height: 1.5;
}

.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
    background-color: #1C533B !important;
    /* Sua cor verde */
    color: white !important;
}

/* 5. Animação para o Ícone de Alerta */
#falhaCM .fa-exclamation-triangle {
    animation: pulse-danger 2s infinite;
}

@keyframes pulse-danger {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Estilos para a logo pequena (lettering) */
.sidebar .sidebar-brand .sidebar-brand-icon .lettering-logo {
    display: block;
    /* Exibe a logo pequena por padrão em sidebars recolhidos */
}

.sidebar.toggled .sidebar-brand .sidebar-brand-icon .lettering-logo {
    display: block;
    /* Mantém a logo pequena visível quando recolhido */
}

.sidebar .sidebar-brand .sidebar-brand-text .veicular-logo {
    display: none;
    /* Oculta a logo grande por padrão em sidebars recolhidos */
}

.sidebar.toggled .sidebar-brand .sidebar-brand-text .veicular-logo {
    display: none;
    /* Mantém a logo grande oculta quando recolhido */
}

/* Estilos para a logo grande (veicular) */
.sidebar:not(.toggled) .sidebar-brand .sidebar-brand-icon .lettering-logo {
    display: none;
    /* Oculta a logo pequena quando o sidebar não está recolhido */
}

.sidebar:not(.toggled) .sidebar-brand .sidebar-brand-text .veicular-logo {
    display: block;
    /* Exibe a logo grande quando o sidebar não está recolhido */
}