/* General Styles */
hr {
    background-color: black;
    height: 0px;
}

/* Search Page Styles */
.search-form-search-page {
    box-shadow: 0 0 5px #d3d3d3;
    padding: 8px;
    border-radius: 12px;
    margin-top: 25px;
}

.breadcrumb-seach-page {
    margin-top: 10px;
}

.breadcrumb-seach-page a {
    color: #555555;
}

.input-search-page {
    width: 100%;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: #f6f6f6;
    border-radius: 15px;
    padding: 5px 15px;
}

.input-search-page {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 10px;
    font-size: 16px;
    font-style: italic;
}

#searchsubmit {
    background: none;
    border: none;
    color: #007bff;
    font-size: 18px;
    cursor: pointer;
}

#searchsubmit i {
    font-size: 18px;
    right: 40px;
    bottom:40px;
}

.shadow-box-search-page {
    box-shadow: 2px 2px 5px 2px #eaeaea;
    border-radius: 0px 0px 12px 12px;   
    padding: 0 10px;
}

/* Filtrar Section */
.filtrar a {
    display: inline-block;
    margin-top: 46px;
    color: #000;
    font-weight: 700;
    border-bottom: 1px solid #000;
}

.filtrar a:hover {
    color: #007bff;
    border-bottom: 1px solid #007bff;
}

/* News Card Styles */
.news-card {
    display: flex;
    align-items: flex-start;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin: 16px 0;
}

.news-card-content {
    flex: 1;
    padding: 16px;
}

.news-card h2 {
    font-size: 1.5em;
    margin-bottom: 8px;
}

.news-card p {
    font-size: 1em;
    color: #555;
}

.news-card-content p {
    font-size: 14px !important;
    line-height: 16.8px;
}

.news-card-image {
    flex-shrink: 0;
    width: 150px;
    height: 165px;
    overflow: hidden;
    border-radius: 20px;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Search Post Title */
a .search-post-title {
    font-size: 17px !important;
    line-height: 20.4px;
    color: #00274c !important;
}

/* Modal dialog styles */
.modal-dialog-slideout {
    margin: 0;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    width: 500px; /* Largura fixa para telas maiores */
}

.modal.show .modal-dialog-slideout {
    transform: translateX(0);
}

.modal-title {
    font-size: 12px;
}

.close-modal-search {
    margin: -20px -20px -20px 12px;
    padding: 0;
    cursor: pointer;
    font-size: 40px;
}

.apply-filters {
    border-radius: 20px !important;
    padding: 5px 20px;
    border: 0;
    background-color: #1351B4;
    color: white;
}

/* Indicator Styles */
.indicator {
    transition: transform 0.25s ease-in-out;
}

.collapsed .indicator {
    transform: rotate(-90deg);
}

.collapse:not(.show) .indicator {
    transform: rotate(-90deg);
}

.collapse.show .indicator {
    transform: rotate(0deg);
}

/* Form Group Styles */
.form-group a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 10px 0;
}

.form-group a:hover {
    text-decoration: none;
}

.form-group a .bi {
    font-size: 1rem;
}

.form-group .d-flex {
    flex-wrap: wrap;
}

.form-check {
    display: flex;
    align-items: center;
    margin-right: 1rem; /* Adiciona espaçamento horizontal entre os itens */
    margin-bottom: 0.5rem; /* Adiciona espaçamento vertical entre as linhas de itens */
}

.form-check-label {
    margin-left: 0.25rem;
}

/* Custom Form Styles */
.custom-form-group {
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

.custom-form-input {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: 0;
    margin-right: 12px;
    box-shadow: 2px 2px 5px 2px #eaeaea;
}

.custom-form-input::placeholder {
    color: #6c757d;
    opacity: 1;
}

.custom-btn-primary {
    padding: 10px;
    font-size: 12px;
    border-radius: 20px;
    border: 0;
    color: white;
    background-color: #007bff;
}

.custom-btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.custom-form-input:focus {
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.25);
}

.custom-btn-primary:focus {
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.25);
}




/* Media query para telas menores */
@media (max-width: 576px) {
    .modal-dialog-slideout {
        width: 100%; /* Largura total para telas menores */
    }
}

/* Estilo padrão para checkboxes */
.form-check-input {
    width: 16px;
    height: 16px;
    border-radius: 0.25em;
    border: 1px solid #ced4da;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
    position: relative;
}

/* Estilo para checkboxes marcados */
.form-check-input:checked {
    background-color: green;
    border-color: green;
}

/* Estilo para o ícone de check */
.form-check-input:checked::before {
    content: '\2713';
    color: white;
    font-size: 1em;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.modal-header, .modal-footer {
    position: sticky;
    z-index: 1050; 
}

.modal-header {
    top: 0; 
    background: white; 
}

.modal-footer {
    bottom: 0; 
    background: white; 
}

.modal-body {
    overflow-y: auto;
    flex-grow: 1; 
}

.active-filters .filter, .filter a{
    font-size:10px;
    text-shadow: 0 5px 5px #a7a7a7;
    font-weight: 600;
    padding-right:5px;
    color:#04001f;
}

.active-filters .filter a{
    margin-left: 2px;
}

@media (max-width: 575.98px) {
    .filtrar{
        width: 100%;
        text-align: center;
        margin-top: -40px;
        margin-bottom: -20px;
    }

    .filtrar a {
        font-size: 12px;
        font-weight: 600;
    }

    .filtrar a:hover {
        color: #007bff;
        border-bottom: 1px solid #007bff;
    }
}