/* Oculta a imagem apenas em telas menores que 768px */
@media (max-width: 768px) {
    .collection-item img {
        display: none;
    }
}

.collection-item {
    margin-bottom: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    background-color: rgb(0 0 0 / 10%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 6px rgb(126 126 126 / 40%);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}
.collection-item img {
    height: auto;
    object-fit: cover;}
.collection-item h4 {flex: 1; /* Faz com que o texto ocupe o espaço disponível */ font-size: x-large;}
#parent-fieldname-text {font-size: 20px}
header {max-width: 100% !important;background: linear-gradient(to bottom, #fff 0%, #fff 100%) !important; color: blue !important}
body {background: #fff !important}
#wrapper {box-shadow: none !important;}
#header_2 {max-width: 1200px; margin: auto;}
nav ul {max-width: 1200px !important; float: initial !important; margin: auto !important}
.newsImageContainer img {width: 100% !important; height: auto}
#siteTitle {margin-top: 20px; color: blue !important}
nav li a:link {font-size: 75% !important;}
#portal-siteactions {font-size: 110% !important}
#content table {width:100%}



#imagem_vereador {
    display:none;
    max-width: 100%;
    overflow-x: auto;
    background-color: #cfcfcf;
    overflow: hidden;
    display: grid;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    overflow-x: auto;
}

#imagem_vereador h4 {
     font-size: 1.5rem; /* Tamanho da fonte */
  font-weight: bold; /* Peso da fonte */
  color: #333; /* Cor do texto */
  margin-bottom: 10px; /* Espaçamento inferior */
  text-transform: uppercase; /* Transformação para letras maiúsculas */
  border-bottom: 2px solid #007bff; /* Linha inferior */
  padding-bottom: 5px; /* Espaçamento inferior da linha */
    }
    
#imagem_vereador img:hover {
    border: 15px solid rgba(0, 0, 255, 0.5); /* Borda azul com 50% de opacidade e 15px de largura */
  }

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    padding: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

th:hover {
    transform: scale(1.1);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
}

img:hover {
    transform: scale(0.95); /* Diminui a imagem levemente */
    border: 0px solid rgba(0, 0, 255, 0.5); /* Borda azul claro com opacidade de 50% */
}

@media (max-width: 600px) {
    /* Estilos para telas menores, por exemplo, smartphones */
    th {
        padding: 4px;
    }
}


.cookie-consent {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgb(0 19 110 / 80%);
            color: white;
            padding: 15px;
            text-align: center;
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .cookie-consent button {
            background-color: #f1d600;
            border: none;
            padding: 10px 20px;
            margin-left: 20px;
            cursor: pointer;
            border-radius: 5px;
            color: #000;
            font-weight: bold;
        }
        
    .cookie-consent button:hover {
            background-color: #e1c500;
        }
        
        
.row-imagem-vereador {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        margin-bottom: 20px;
    }
    .row-imagem-vereador:last-child {
        margin-bottom: 0;
    }
    .col-imagem-vereador {
        flex: 0 0 calc(20% - 20px); /* Alterado de 22% para 20% com margem */
        margin-bottom: 20px; /* Adicionada a margem inferior */
        position: relative;
        overflow: hidden;
    }
    .image-imagem-vereador {
        width: 100%;
        height: auto;
        transition: transform 0.3s ease-in-out;
    }
    .image-imagem-vereador:hover {
        transform: scale(1.1);
    }
    .overlay-imagem-vereador {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
    .col-imagem-vereador:hover .overlay-imagem-vereador {
        opacity: 1;
    }
    .overlay-content-imagem-vereador {
        text-align: center;
    }
    
    
    /* Estilos para a div maior */
    
    @media screen and (max-width: 768px) {
    .div-maior {
        width: 100%;
        float: none; /* Remove o float para evitar problemas de layout */
              }
        }
    
        .div-maior {
            width: 75%; /* Ajuste a largura conforme necessário */
            float: left;
            position: -webkit-sticky; /* Compatibilidade com navegadores WebKit */
            position: sticky;
            top: 0;
        }

        /* Estilos para a div menor */
        .div-menor {
            width: 24%; /* Ajuste a largura conforme necessário */
            float: right;
        }
    
    
      /* logo maximo 495px */
          #portal-logo img {max-width: 480px;
}