
.categorias {
    margin-bottom: 0px !important;
    text-align: center;
}

.categorias img {
    width: 36%;
    padding: 5px;
    margin: 0 auto;
    display: block; /* Asegura que la imagen se centre */
    transition: transform 0.3s ease; /* Transición suave */
}

.categorias a {
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    transition: background-color 0.3s ease;
}

/* Escala SOLO la imagen cuando se hace hover en la imagen, enlace o título */
.categorias a:hover img,
.categorias img:hover {
    transform: scale(1.5);
}

.categorias a:hover h4 {
    transform: scale(1.1); /* Escala el título un poco menos */
    transition: transform 0.3s ease;
}

.ts {
    color: #b2b2b1 !important;
    font-family: 'Corra Montserra'!important;
    font-size: 20pt !important;
    font-weight: 399 !important;
}

.categorias h4 {
    color: #fffded;
    font-family: 'Corra Montserra';
    padding-bottom: 20px;
    margin: 0px !important;
    text-align: center; /* Asegura que los títulos también estén centrados */
	font: 500 1.1rem 'Corra Montserra';
    padding: 0px;
}
ul.categorias-mas-tramites li a.uk-accordion-title:before{display: none}
.categorias-mas-tramites{
margin-top:-20px !important;
	padding-left:40px;
}
/*boton rojo*/
.white-button a { 
    border: none;
    border-radius: 20px;
    padding: 10px 35px;
    background: #ffffff;
    color: #b2b2b1;
    font-family: 'Corra Montserra';
    font-size: 1.3rem;
    transition: all 0.2s ease-in-out;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    word-break: break-word;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.white-button a:hover { 
    border: none;
    border-radius: 20px;
    padding: 10px 35px;
    background: #ffffff;
    color: #b2b2b1;
    font-family: 'Corra Montserra';
    font-size: 1.3rem;
    transition: all 0.2s ease-in-out;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    word-break: break-word;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.red-button div:hover {
    background-color: #ffffff;
    color: #b2b2b1;
}

.rm_impuestos a {
    color: #c62038;
}

/* Estilos para pantallas de móvil */
@media only screen and (max-width: 639px) {
    .categorias img {
        width: 50%;
        padding: 0px;
    }

    .categorias h4 {
        font-size: 0.75rem;
        font-family: 'Corra Montserra';
        margin-bottom: 20px !important;
        text-align: center; /* Centrar los títulos en móvil */
    }

    .categorias-mas-tramites {
        padding-left: 30px;
    }

    .categorias a {
        padding: 25px 20px 0px;
    }
}

/* Estilos para pantallas medianas */
@media only screen and (min-width: 640px) and (max-width: 959px) {
    .categorias img {
        width: 70%;
    }

    .categorias h4 {
        font-size: 1.3rem;
        margin-top: 0;
        font-family: 'Corra Montserra';
        text-align: center; /* Centrar los títulos en dispositivos medianos */
    }
    
    
    
   
}



}

/* Estilos para pantallas grandes */
@media only screen and (min-width: 960px) and (max-width: 1199px) {
    .categorias h4 {
        font-size: 1.3rem;
        font-family: 'Corra Montserra';
        text-align: center; /* Asegurarse de que los títulos estén centrados en pantallas grandes */
    }
}


 /* Estilos para pantallas grandes */
@media only screen and (min-width: 500px) and (max-width: 699px) {
    .white-button a { 
    border-radius: 20px;
    padding: 10px 35px;
    font-size: 1rem;
    
        }
}


 /* Estilos para pantallas grandes */
@media only screen and (min-width: 400px) and (max-width: 499px) {
    .white-button a { 
    border-radius: 20px;
    padding: 8px 20px;
    font-size: .8rem;
    
        }
}

 /* Estilos para pantallas grandes */
@media only screen and (max-width: 399px) {
    .white-button a { 
    border-radius: 20px;
    padding: 7px 15px;
    font-size: .7rem;
    
        }
}
