﻿.postular {
    display: flex;
    position: fixed;
    bottom: 5%;
    width: 95%;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.postular-content-gen {
    padding: 0.8vw;
    background-color: #ffffff;
    width: 80%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 1.2vw;
    border-radius: 50px;
    box-shadow: 0 2vw 2vw 0 rgba(0, 0, 0.3, 0.3);
}

.boton-postular {
    /*font-family: Gotham-Light !important;*/
    font-family: Gotham-Bold !important;
    border: 0.1rem solid;
    background-color: #ff6600;
    color: white;
    align-content: center !important;
    /*width: 9.6vw;*/
    width: 14.6vw;
    height: 2.6vw;
    /*border-radius: 20px;*/
    border-radius: 25px;
    font-size: 1vw;
    position: relative;
    overflow: hidden;
    padding: 0.3vw;
    align-content: center;
}

    .boton-postular:after {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        bottom: -50%;
        left: -50%;
        background: linear-gradient(to bottom, rgba(229, 172, 142, 0.1), rgba(255,255,255,1) 90%, rgba(229, 172, 142, 0));
        transform: rotateZ(180deg) translate(-5em, 7.5em);
    }

    .boton-postular:hover::after, boton-postular:focus::after {
        animation: sheen 1s forwards;
    }

.p-popup-postular {
    color: #000000;
    font-family: Gotham-Light !important;
    font-size: 1vw;
}

.close-postular {
    position: absolute;
    right: 12%;
    color: #ff6f00;
    cursor: pointer;
    font-family: Gotham-Light !important;
    font-size: 1vw;
}

.modal-gen {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content-gen {
    background-color: #ffffff;
    width: 55.6vw;
    height: 34.9vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    border-radius: 14px;
}

    .modal-content-gen.beneficios, .modal-content-gen.compensaciones {
        width: 63.6vw;
        height: 32vw;
        padding: 1.7vw;
    }

    .modal-content-gen.convocatorias {
        width: 63.4vw;
        height: 40.6vw;
        padding: 0 !important;
    }

.text-popup {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: right !important;
    width: 27.8vw;
    height: 34.9vw;
    padding: 1.7vw;
    gap: 1.4vw;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: hidden; /* Evita que se salga del contenedor */
}

    .text-popup.beneficios, .text-popup.compensaciones {
        text-align: left !important;
        width: 29.8vw;
        height: 28.6vw;
        padding: 0.6vw;
        gap: 1.7vw;
    }

    .text-popup.convocatorias {
        text-align: left !important;
        width: 31.7vw;
        height: 40.6vw;
        padding: 2.3vw;
    }

.text-popup-convocatorias-interno {
    display: flex;
    flex-direction: column;
    gap: 1vw !important;
    overflow-y: auto;
}

.postular-popup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-popup-gen {
    text-align: right !important;
    color: #c7c7c7;
    font-family: Gotham-Black !important;
    font-size: 2.3vw;
}

    .title-popup-gen.beneficios, .title-popup-gen.compensaciones {
        text-align: left !important;
        color: #606060;
        font-family: Gotham-Bold !important;
        font-size: 1.4vw;
    }

    .title-popup-gen.convocatorias {
        text-align: left !important;
        color: #ff6f00;
        font-family: Gotham-Medium !important;
        font-size: 1vw;
    }

.p-popup-gen {
    color: #606060;
    font-family: Gotham-Light !important;
    font-size: 1vw;
    overflow-y: auto;
}

    .p-popup-gen.beneficios, .p-popup-gen.compensaciones {
        font-size: 0.9vw;
        overflow-y: auto;
    }

.p-popup-gen-convocatorias {
    color: #606060;
    font-family: Gotham-Light !important;
    font-size: 0.9vw;
}

.img-popup {
    width: 27.8vw;
}

    .img-popup img {
        width: 27.8vw;
        height: 34.9vw;
        object-fit: cover;
        border-radius: 0 14px 14px 0;
    }

    .img-popup.beneficios, .img-popup.compensaciones, .img-popup.convocatorias {
        width: 50%;
    }

        .img-popup.beneficios img, .img-popup.compensaciones img {
            width: 29.8vw;
            height: 28.6vw;
            object-fit: cover;
            border-radius: 12px;
        }

    .img-popup.convocatorias {
        position: relative;
        width: 31.7vw;
        height: 40.6vw;
    }
        .img-popup.convocatorias img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 14px 0 0 14px;
        }

.overlay-popup {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 90%;
    position: absolute;
    bottom: 5%;
    left: 5%;
    right: 5%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 1.1vw;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 12px;
    height: 9.3vw;
    text-align: left;
}

.overlay-text-popup .cargo {
    display: block;
    font-size: 1.4vw;
    font-family: 'Gotham-Bold', sans-serif;
    margin-bottom: 0.8vw;
}

.overlay-text-popup .lugar, .overlay-text-popup .agencia, .overlay-text-popup .modalidad {
    display: block;
    font-size: 0.9vw;
    font-family: 'Gotham-Light' !important;
}
/*ticket 9746*/
.icon-arrowblanco {
    width: 0.8vw !important;
    height: 0.6vw !important;
    margin-left: 1vw;
    transform: rotate(-90deg);
}

@media all and (max-width: 767px) {
    .postular-content-gen {
        padding: 1.2vw;
        /* padding-right: 8vw;*/
        gap: 0.2vw;
        /* width: 60%;*/
        width: 65%;
        text-align: center;
        justify-content: space-around;
        height: 12vw;
    }

    .p-popup-postular {
        font-size: 1.8vw;
        /*ticket 9746*/
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

    .close-postular {
        font-size: 2.3vw;
        right: 24%;
    }

    .boton-postular {
        line-height: 2vw;
        /*width: 19.5vw;*/
        width: 32.5vw;
        /*height: 6.7vw;*/
        height: 9.7vw;
        /*font-size: 1.8vw;*/
        font-size: 2.8vw;
        padding: 1vw;
        border-radius: 50px;
    }

    .modal-content-gen {
        justify-content: center !important;
        flex-direction: column-reverse;
        height: 113.4vw;
        width: 76.8vw;
    }

        .modal-content-gen.beneficios, .modal-content-gen.compensaciones {
            flex-direction: column;
            height: 113.4vw;
            width: 76.8vw;
            padding: 0;
        }

        .modal-content-gen.convocatorias {
            flex-direction: column;
            height: 113.4vw;
            width: 76.8vw;
        }

    .text-popup {
        height: 60.8vw;
        width: 70.8vw;
        padding: 2.3vw;
        padding-top: 1vw;
        gap: 2.6vw;
    }

        .text-popup.beneficios, .text-popup.compensaciones {
            height: 56.9vw;
            width: 72.8vw;
            padding: 2vw 2vw 4vw 2vw;
            gap: 3.1vw;
        }

        .text-popup.convocatorias {
            height: 56.9vw;
            width: 74.1vw;
            padding: 2.1vw;
        }

    .text-popup-convocatorias-interno {
        gap: 1.8vw !important;
    }

    .title-popup-gen {
        font-size: 4.2vw;
    }

        .title-popup-gen.beneficios, .title-popup-gen.compensaciones {
            font-size: 2.6vw;
        }

        .title-popup-gen.convocatorias {
            font-size: 2.3vw;
        }

    .p-popup-gen {
        font-size: 2.3vw;
    }

        .p-popup-gen.beneficios, .p-popup-gen.compensaciones {
            font-size: 2.3vw;
        }

    .p-popup-gen-convocatorias {
        font-size: 2.3vw;
    }

    .img-popup {
        height: 56.7vw;
        width: 76.8vw;
    }

        .img-popup.beneficios, .img-popup.compensaciones, .img-popup.convocatorias {
            width: 100%;
        }

        .img-popup img {
            height: 56.8vw;
            width: 76.8vw;
            border-radius: 12px 12px 0 0;
        }

        .img-popup.beneficios img, .img-popup.compensaciones img {
            border-radius: 12px 12px 0 0;
            height: 54.4vw;
            width: 76.8vw;
        }

        .img-popup.convocatorias {
            position: relative;
            height: 56.8vw;
            width: 76.8vw;
        }

            .img-popup.convocatorias img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
                border-radius: 12px 12px 0 0;
            }

    .overlay-popup {
        justify-content: center;
        width: 70%;
        bottom: 15%;
        left: 15%;
        right: 15%;
        top: 15%;
        padding: 3.1vw;
        height: 70%;
        text-align: center;
    }

    .overlay-text-popup .cargo {
        font-size: 2.6vw;
        margin-bottom: 1vw;
    }

    .overlay-text-popup .lugar, .overlay-text-popup .agencia, .overlay-text-popup .modalidad {
        font-size: 2.3vw;
    }
    /* ticket 9746*/
    .lineapostular-1, .lineapostular-2 {
        display: block;
        font-size: 2.5vw;
    }
    .icon-arrowblanco {
        width: 1.8vw !important;
        height: 1.6vw !important;
        margin-left: 1vw;
        transform: rotate(-90deg);
    }
}
