/** CSS para contenido de ventanillas */
.carta-ventanilla {
    width: 200px;
    height: 200px;
    position: absolute;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-image: linear-gradient(180deg, #0e4381 30%, #093766 100%);
    box-shadow: 5px 4px 20px 4px rgb(207 209 218);
}

.caja-ventanilla {
    width: 200px;
    height: 150px;
    position: absolute;
    bottom: 0px;
    background-color: white;
    border: solid 1px #8c909447;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: 0.5s !important;
}

.icono-ventanilla {
    width: 100px;
    height: 80px;
    position: absolute;
    border-radius: 15%;
    /* border: 4px solid white; */
    background-image: linear-gradient(180deg, #0e4381 30%, #093766 100%);
    top: -40px;
    left: 25%;
    transition: 0.5s;
}

.image-ventanilla {
    height: 100%;
    padding-left: 12px;
    /* padding-top: 6px; */
    transition: 0.5s;
}

.texto-ventanilla {
    margin-top: 32px;
    padding: 1rem;
    text-align: center;
    color: #172456;
    /* font-weight: bold; */
    font-size: 15px;
    overflow: overlay;
    text-overflow: ellipsis;
    height: 109px;
    /* border-bottom: solid 25px #dcdfe8; */
}

.icono-abajo-ventanilla{
    position: absolute;
    margin-top: -21px;
    text-align: center;
    margin-left: 90px;
}

.boton-ventanilla {
    position: absolute;
    bottom: 0px;
    z-index: -1;   
}

.boton-estilo-ventanilla{
    width: 200px;
}
.carta-ventanilla:hover .caja-ventanilla {
    height: 150px;
    bottom: 31px;
    transition: 0.5s !important;
    background: #ebf0ff;
}

.carta-ventanilla:hover .boton-ventanilla {
    z-index: 0;
    transition: 0.5s;
}

.carta-ventanilla:hover {
    height: 180px;
    transition: 0.5s;
    margin-top: 19px;
}

.carta-ventanilla:hover .icono-ventanilla {
    
    transition: 0.5s;
    border: solid 0px white;
    width: 100px;
    border-radius: 10%;
    height: 69px;
    margin-left: 2px;
    top: -30px;
}

.caja-ventanilla:hover .boton-ventanilla:hover .icono-abajo-ventanilla {
    margin-left: 0px;
    transition: 0.5s;
}

.caja-ventanilla:hover .boton-ventanilla:hover{
    height: 150px;
    bottom: 30px;
    transition: 0.5s;
    background: #ebf0ff;
    z-index: 0;
}

.caja-ventanilla:hover .icono-ventanilla .image-ventanilla {
    height: 107%;
    padding-left: 23px;
    padding-top: 6px;
    transition: 0.5s;
}



/* CSS para el modulo de categorias.*/
.carta-categoria {
    width: 200px;
    height: 200px;
    position: absolute;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-image: linear-gradient(180deg, #0e4381 30%, #093766 100%);
    /* background-image: linear-gradient(-60deg, #013f11 0%, #549652 100%); */
    box-shadow: 5px 4px 20px 4px rgb(207 209 218);
}

.caja-categoria {
    width: 200px;
    height: 150px;
    position: absolute;
    bottom: 0px;
    background-color: white;
    border: solid 1px #8c909447;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: 0.5s !important;
}

.icono-categoria {
    width: 100px;
    height: 80px;
    position: absolute;
    border-radius: 25%;
    /* border: 4px solid white; */
    background-image: linear-gradient(180deg, #0e4381 30%, #093766 100%);
    top: -40px;
    left: 25%;
    transition: 0.5s;
}

.image-categoria {
    height: 100%;
    /* margin-top: 6px; */
    transition: 0.5s;
    margin-left: 10px;
}

.texto-categoria {
    margin-top: 30px;
    padding: 1rem;
    text-align: center;
    color: #172456;
    /* font-weight: bold; */
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 130px;
    /* border-bottom: solid 24px #dcdfe8; */
}

.boton-categoria {
    position: absolute;
    bottom: 0px;
    z-index: -1;
}

.boton-estilo-categoria{
    width: 200px;
}

.icono-abajo-categoria{
    position: absolute;
    margin-top: -21px;
    text-align: center;
    margin-left: 90px;
}

.carta-categoria:hover {
    height: 180px;
    transition: 0.5s;
    margin-top: 19px;
}

.carta-categoria:hover .caja-categoria {
    height: 150px;
    bottom: 31px;
    transition: 0.5s;
    background: #ebf0ff;
}

.carta-categoria:hover .boton-categoria {
    z-index: 0;
    transition: 0.5s;
}


.caja-categoria:hover .boton-categoria:hover{
    height: 150px;
    bottom: 30px;
    transition: 0.5s;
    background: #ebf0ff;
    z-index: 0;
}

.carta-categoria:hover .icono-categoria {
    
    transition: 0.5s;
    border: solid 0px white;
    width: 100px;
    border-radius: 10%;
    height: 69px;
    margin-left: 2px;
    top: -30px;
}

.caja-categoria:hover .boton-categoria:hover{
    height: 150px;
    bottom: 30px;
    transition: 0.5s;
    background: #ebf0ff;
    z-index: 0;
}

.caja-categoria:hover .icono-categoria .image-categoria {
    height: 104%;
    padding-left: 0px;
    padding-top: 0px;
    transition: 0.5s;
}


/* CSS para el modulo de dependencia.*/
.carta-dependencia {
    width: 200px;
    height: 200px;
    position: absolute;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-image: linear-gradient(180deg, #0e4381 30%, #093766 100%);
    box-shadow: 5px 4px 20px 4px rgb(207 209 218);
}

.caja-dependencia {
    width: 200px;
    height: 150px;
    position: absolute;
    bottom: 0px;
    background-color: white;
    border: solid 1px #8c909447;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    /* border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px; */
    transition: 0.5s !important;
}

.caja-dependencia:hover .boton-dependencia:hover{
    height: 150px;
    bottom: 30px;
    transition: 0.5s;
    background: #ebf0ff;
    z-index: 0;
}

.icono-dependencia {
    width: 150px;
    height: 80px;
    position: absolute;
    border-radius: 25%;
    border: 4px solid white;
    background: white;
    top: -40px;
    left: 25px;
    transition: 0.5s !important;
}

.image-dependencia {
    height: 100%;
    margin-left: 34px;
}

.texto-dependencia {
    margin-top: 20px;
    padding: 1rem;
    text-align: center;
    color: #172456;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 136px;
    position: relative;
}

.boton-dependencia {
    position: absolute;
    bottom: 0px;
    z-index: -1;
}

.boton-estilo-dependencia{
    width: 200px;
}

.icono-abajo-dependencia{
    position: absolute;
    margin-top: -25px;
    text-align: center;
    margin-left: 90px;
}

.carta-dependencia:hover .caja-dependencia {
    height: 150px;
    bottom: 30px;
    transition: 0.5s;
    background: #ebf0ff;
}

.carta-dependencia:hover .boton-dependencia {
    z-index: 0;
    transition: 0.5s;
}

.carta-dependencia:hover {
    height: 179px;
    transition: 0.5s;
    margin-top: 19px;
}

.carta-dependencia:hover .icono-dependencia {
    transition: 0.5s;
    border: solid 0px white;
    width: 120px;
    border-radius: 10%;
    height: 69px;
    margin-left: 14px;
    top: -38px;
    background: #ebf0ff;
}

.caja-dependencia:hover .boton-dependencia:hover{
    height: 150px;
    bottom: 30px;
    transition: 0.5s;
    background: #ebf0ff;
    z-index: 0;
}

.caja-dependencia:hover .icono-dependencia .image-dependencia {
    height: 104%;
    padding-left: 0px;
    padding-top: 0px;
    transition: 0.5s;
    /* background-image: url("assets/img/iconos/dependencias/municipio_sc.png"); */
}


/* CSS para el modulo de tramites destacados.*/
.carta-tramite {
    width: 200px;
    height: 200px;
    position: absolute;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-image: linear-gradient(180deg, #0e4381 30%, #093766 100%);
    box-shadow: 5px 4px 20px 4px rgb(207 209 218);
}

.caja-tramite {
    width: 200px;
    height: 150px;
    position: absolute;
    bottom: 0px;
    background-color: white;
    border: solid 1px #8c909447;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: 0.5s !important;
}

.icono-tramite {
    width: 100px;
    height: 80px;
    position: absolute;
    border-radius: 25%;
    /* border: 4px solid white; */
    background-image: linear-gradient(180deg, #0e4381 30%, #093766 100%);
    top: -42px;
    left: 25%;
    transition: 0.5s !important;
}

.image-tramite {
    height: 60px;
    margin-top: 0px;
    margin-left: 21%;
}

.texto-tramite {
    margin-top: 24px;
    padding: 1rem;
    text-align: center;
    color: #172456;
    font-size: 15px;
    overflow: overlay;
    text-overflow: ellipsis;
    height: 123px;
    /* border-bottom: solid 25px #dcdfe8; */
    position: relative;
}

.boton-tramite {
    position: absolute;
    bottom: 0px;
    z-index: -1;
}

.boton-estilo-tramite{
    width: 200px;
}

.icono-abajo-tramite{
    position: absolute;
    margin-top: -25px;
    text-align: center;
    margin-left: 90px;
}

.texto-p {
    position: absolute;
    margin-top: -7px;
    margin-left: 18px;
    color: white;
    /* opacity: 0.5; */
    font-weight: bolder;
}

.carta-tramite:hover {
    height: 179px;
    transition: 0.5s;
    margin-top: 19px;
}

.caja-tramite:hover .boton-tramite:hover{
    height: 150px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 0;
}

.carta-tramite:hover .caja-tramite {
    height: 150px;
    bottom: 30px;
    transition: 0.5s;
    background: #ebf0ff;
}

.carta-tramite:hover .boton-tramite {
    z-index: 0;
    transition: 0.5s;
}

.caja-tramite:hover .texto-tramite {
    transition: 0.5s;
}

.carta-tramite:hover .icono-tramite {
    
    transition: 0.5s;
    border: solid 0px white;
    width: 100px;
    border-radius: 10%;
    height: 69px;
    margin-left: 0px;
    top: -38px;
}

.caja-tramite:hover .boton-tramite:hover{
    height: 150px;
    bottom: 30px;
    transition: 0.5s;
    background: #ebf0ff;
    z-index: 0;
}

.caja-tramite:hover .icono-tramite .image-tramite {
    height: 84%;
    margin-left: 21%;
    margin-top: 0px;
    transition: 0.5s;
}

.caja-tramite:hover .icono-tramite .texto-p {
    padding-left: 5px;
}