﻿body {
    font-family: 'Poppins', sans-serif;
}

header {
    padding-bottom: 0;
}

body, #general {
    background-color: #F0F2F4;
}

header .superior {
    background-color: #F0F2F4;
}

    header .superior .contenido {
        padding: 5px 40px;
    }

    header .superior .cont-qg {
        height: 100%;
        margin: auto;
    }

    header .superior a.logo-qg {
        float: left;
        display: block;
        width: 280px;
        height: 28px;
        background-image: url('../img/logo.png');
        background-position: 50%;
        background-size: contain;
        background-repeat: no-repeat;
    }

    header .superior .usuario {
        padding-right: 25px;
    }

        header .superior .usuario .menu a.desplegable:after {
            background-image: url('../img/elementos/desplegar-violeta.svg');
        }

        header .superior .usuario a.destacar {
            padding: 7px 14px;
            margin: 3px 0px;
            color: #7A61A1;
            border: 3px solid #ECABCE;
            border-radius: 25px;
            font-weight: bold;
            margin-left: 15px;
        }

        header .superior .usuario a.destacar-small {
            padding: 7px 8px;
            margin: 3px 0px;
            color: #7A61A1;
        }


header .inferior {
    background-color: #7A61A1;
    border-bottom: 7px solid #ECABCE;
}

    header .inferior a.logo {
        background-image: url('../img/logo-header.png');
        margin-top: 0;
        height: 67px;
        padding-left: 100px;
    }

    header .inferior .menu li {
        font-size: 15px;
    }

        header .inferior .menu li a {
            color: white;
            font-weight: 500;
            padding: 5px 11px;
        }

            header .inferior .menu li a:hover {
                text-decoration: none;

                &:before {
                    content: "";
                    position: absolute;
                    left: 5%;
                    bottom: -2px;
                    height: 2px;
                    width: 90%;
                    background: #ECABCE;
                }
            }


header .inferiorSinBorde {
    background-color: #7A61A1;
    height: auto;
    display:flex;
    justify-content: center !important;
}
    header .inferiorSinBorde .contenedor {
        width: 90%;
        max-width: 1220px;
        padding: 0 10px;
        justify-content: left !important;

        h1 {
            position: relative;
            display: inline-block;
            padding-top: 50px;
            color: #FFFFFF;
            font-size: clamp(15px, 5vw, 30px);
            font-weight: bold;

            &:before {
                content: "";
                position: absolute;
                bottom: -2px;
                height: 3px;
                border-radius: 10px;
                width: 100%;
                background: #ECABCE;
            }
        }

        h2 {
            margin-top:15px;
            max-width: 92%;
            width: 510px;
            color: #FFF;
            font-size: clamp(14px, 6vw, 40px);
            font-weight: bold;
            line-height: 1;
            margin-bottom: 30px;
        }
    }
        @media(max-width: 650px) {
            header .superior a.logo-qg {
                width: 100px;
            }

            header .superior .contenido {
                padding: 5px 15px;
            }

            header .superior .usuario {
                padding-right: 0;
            }
        }

        @media(max-width: 460px) {
            .destacar-small.brr {
                display: none;
            }
        }

        @media (max-width: 650px) {
            header .inferior {
                padding-bottom: 0px;
                padding-left: 0px;
                padding-right: 0px;
            }

                header .inferior .menu {
                    padding-top: 17px;
                }

                    header .inferior .menu a.desplegar {
                        top: -45px;
                    }

                        header .inferior .menu a.desplegar span {
                            display: block;
                            border-bottom: 2px solid #ECABCE;
                            padding: 3px 0;
                        }

                    header .inferior .menu li {
                        border-bottom: 2px solid #ECABCE;
                        font-size: 15px;
                    }
        }

        .login {
            background-color: #ffffff;
        }

        .btn-menu-principal {
            width: 33%;
        }

        @media (max-width: 650px) {
            .btn-menu-principal {
                width: 50%;
            }
        }

        .buscador-tramites {
            padding-right: 0;
        }

#tramites, #dashboard {
    margin-top: 80px !important;
    background-color: #FFFFFF;
    border-radius: 50px;
    font-family: 'Poppins';
    
    h1 {
        position: relative;
        display: inline-block;
        padding-left: 10px;
        padding-right: 10px;
        font-size: clamp(15px, 5vw, 30px);
        color: #7A61A1;
        font-weight: bold;

        &:before {
            content: "";
            position: absolute;
            bottom: -2px;
            height: 3px;
            border-radius: 10px;
            width: 94%;
            background: #ECABCE;
        }
    }
}

            #tramites .lista h3 {
                color: #7A61A1;
                font-weight: bold;
                // text-decoration: underline;
                // text-decoration-color: #ECABCE;
                // text-decoration-thickness: 2px;
                // text-underline-offset: 6px;
            }

                #tramites .lista h3 i {
                    display: flex;
                }

                    #tramites .lista h3 i p {
                        position: relative;

                        &:before {
                            content: "";
                            position: absolute;
                            bottom: -2px;
                            height: 3px;
                            border-radius: 10px;
                            width: 100%;
                            background: #ECABCE;
                        }
                    }

            #tramites .lista .tramites article a.tramite {
                position: relative;
                border-radius: 17px;
                background-color: white;
                border: 3px solid white;
                padding: 7px 27px;
                flex-direction: column;
                align-items: flex-start;
                justify-content: center;
            }

                #tramites .lista .tramites article a.tramite:before {
                    content: ">";
                    position: absolute;
                    top: 8px;
                    right: 14px;
                    font-size: 22px;
                    font-weight: bold;
                    color: #5b5a5a91;
                    line-height: 1;
                }

                #tramites .lista .tramites article a.tramite:hover {
                    background-color: white;
                    border: 3px solid #ECABCE;
                }

                #tramites .lista .tramites article a.tramite:after {
                    content: "Ver Trámite >";
                    display: block;
                    font-size: 12px;
                    color: #7A61A1;
                    font-weight: bold;
                    margin-top: 6px;
                }

                #tramites .lista .tramites article a.tramite.online:after {
                    content: "Iniciar Trámite Online >";
                }

        .menu-tramites {
            max-width: 700px;
        }

            .menu-tramites a {
                border-radius: 25px;
                background-color: white;
                color: #7A61A1;
                font-weight: bold;
                border: 3px solid #ECABCE;
            }

                .menu-tramites a:hover {
                    background-color: #7A61A1;
                    color: white;
                }

        @media(max-width:650px) {
            .cont-filtros {
                text-align: center;
            }

            header {
                padding-bottom: 0;
            }
        }

        footer {
            max-width: 1220px;
            background-color: transparent;
            padding-left: 10px;
            padding-right: 10px;
        }

        #tramite .organismo, #titulo-formulario {
            background-color: #7A61A1;
            padding: 15px 15px 15px 40px;
            background-image: none;
            background-size: 0;
            background-position: 0;
            background-repeat: no-repeat;
        }

        @media(max-width:650px) {
            #tramite .organismo, #titulo-formulario {
                padding-left: 15px;
            }
        }

        #titulo-formulario {
            max-width: 1220px;
            margin: 50px auto;
            box-sizing: border-box;
            color: white;
            padding-left: 15px;
            margin-bottom: 0;
        }

        #formulario {
            padding: 10px;
            background: white;
        }

            #formulario form .campos .campo h3.destacado {
                color: #7A61A1;
            }


        .select2-selection.select2-selection--single {
            border-radius: 25px !important;
        }

        .btn-menu {
            position: relative;
            background-position: left center, right center;
            background-repeat: no-repeat, no-repeat;
            background-size: contain, contain;
            aspect-ratio: 9 / 4;
            border-radius: 7% / 16%;
        }

            .btn-menu > a {
                color: white;
                display: block;
                height: 100%;
            }

                .btn-menu > a > div {
                    padding-top: 6%;
                    padding-left: 6%;
                    padding-right: 50%;
                }

                    .btn-menu > a > div > p {
                        font-size: calc(10px + 0.7vw);
                        line-height: calc(9px + 1vw);
                        font-weight: 550;
                        overflow-wrap: break-word;
                        word-break: break-word;
                        hyphens: none;
                        -webkit-hyphens: none;
                        -ms-hyphens: none;
                    }

                        .btn-menu > a > div > p.btn-nombre-largo {
                            font-size: calc(7px + 0.7vw);
                            line-height: calc(6px + 1vw);
                        }

                .btn-menu > a > p {
                    font-size: calc(5px + 1vw);
                    padding-left: 6%;
                    padding-bottom: 5%;
                    position: absolute;
                    bottom: 0;

                    &:before {
                        content: "";
                        position: absolute;
                        bottom: 42%;
                        height: 2px;
                        border-radius: 10px;
                        width: 78%;
                        background: #ECABCE;
                    }
                }

        @media (min-width: 900px) {
            .btn-menu > a > div > p {
                font-size: calc(10px + 1.1vw);
                line-height: calc(10px + 1.5vw);
            }

                .btn-menu > a > div > p.btn-nombre-largo {
                    font-size: calc(4px + 1.1vw);
                    line-height: calc(4px + 1.5vw);
                }
        }

        @media (min-width: 1200px) {
            .btn-menu > a > div > p {
                font-size: 24px;
                line-height: 29px;
            }

                .btn-menu > a > div > p.btn-nombre-largo {
                    font-size: 19px;
                    line-height: 24px;
                }

            .btn-menu > a > p {
                font-size: 16px;
            }
        }

/* ===== Botones ===== */
.boton-siguiente {

    background: #7A61A1; 
    color: #ffffff;
    font-family: 'Poppins';
    font-weight: bold;
    border: 2px solid #ffffff;
    outline: 2px solid #fff; 
    box-shadow: 0 0 0 2px #ECABCE; 
    height: 45px !important;
    border-radius: 20px;
    cursor: pointer;
    max-width: 180px;
    min-width: 120px;
    padding: 0 25px 0 25px;
    font-size: clamp(10px, 4vw, 25px) !important;
    margin-bottom: 10px;
    margin-top:25px;
    margin-right: 5%;
}

.boton-atras {
    background: #ffffff;
    color: #7A61A1;
    font-family: 'Poppins';
    font-size: clamp(10px, 4vw, 25px) !important;
    font-weight: bold;
    border: 2px solid #ECABCE; /* rosa */
    border-radius: 20px;
    cursor: pointer;
    max-width: 180px;
    min-width:120px;
    padding: 0 25px 0 25px;
    height: 45px !important;
    margin-right: 15px;
    margin-bottom: 10px;
}

    .boton-atras:hover {
        background: #7A61A1;
        color: #ffffff;
        border: 2px solid #ffffff;
        outline: 2px solid #fff; /* Primer borde externo */
        box-shadow: 0 0 0 2px #ECABCE; /* Segundo borde externo */
    }

.banner-quibot {
    background: #ffffff;
    border: 2px solid #ECABCE;
    box-shadow: 0 0 0 6px #fff;
    border-radius: 50px;
    cursor: pointer;
    width: 98%;
    max-width: 1220px;
    margin-top: 80px;
    text-align: center;
    margin-bottom: 50px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center !important;
}
.col-6 {
    padding-top:20px;
    width: 50%;
    min-width: 400px;
}


