/* Cégep de Thetford : bouton "Alerte-emploi" de l'en-tête et modale /job/modal_job_alert
   (reprend la fenêtre "Alerte emploi" du gabarit Nicepage : fond noir, Khand, champs blancs arrondis) */

/* ---------- Bouton de l'en-tête, à droite de l'écran ---------- */
.u-header {
    position: relative;
}

.u-header .cegep-alerte-emploi {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 5;
}

.u-header .cegep-alerte-emploi .u-btn {
    --radius: 15px;
    background-image: none;
    font-family: Khand, sans-serif;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    padding: 10px 40px 11px;
    white-space: nowrap;
}

.u-header .cegep-alerte-emploi .u-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.1em;
    margin-right: 8px;
}

@media (max-width: 767px) {
    .u-header .cegep-alerte-emploi {
        right: 15px;
    }

    .u-header .cegep-alerte-emploi .u-btn {
        font-size: 1.25rem;
        padding: 8px 18px;
    }
}

@media (max-width: 575px) {
    /* Le logo prend la largeur : le bouton passe sous le logo, toujours à droite */
    .u-header .cegep-alerte-emploi {
        position: static;
        transform: none;
        text-align: right;
        padding: 10px 15px 15px;
    }
}

/* ---------- Modale ---------- */
.modalalertemlpoi .modal-dialog {
    width: 619px;
    max-width: calc(100vw - 30px);
    margin: 80px auto;
}

.modalalertemlpoi .modal-content {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modalalertemlpoi .modal-header {
    border-bottom: none;
    padding: 0;
    min-height: 0;
}

.modalalertemlpoi .modal-header .close {
    display: none;
}

.modalalertemlpoi .modal-body {
    padding: 30px;
}

.modalalertemlpoi .div_alert_emploi {
    padding: 0;
}

.modalalertemlpoi .div_content_alert,
.modalalertemlpoi .div_no_alert_int {
    padding-left: 0;
    padding-right: 0;
}

.modalalertemlpoi .h1-title-alert,
.modalalertemlpoi .h1-title {
    font-family: Khand, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #c6b88b;
    text-align: center;
    margin: 0 0 20px;
}

.modalalertemlpoi .text_alert_emploi,
.modalalertemlpoi .title_successfully p {
    font-family: Ubuntu, sans-serif;
    color: #ffffff;
}

.modalalertemlpoi label,
.modalalertemlpoi .control-label {
    font-family: Khand, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #c6b88b;
    margin: 10px 0 5px;
}

.modalalertemlpoi .form-group {
    margin-left: 0;
    margin-right: 0;
}

/* Courriel et fréquence */
.modalalertemlpoi input.username,
.modalalertemlpoi select.frequency {
    width: 100%;
    height: 55px;
    padding: 10px 15px;
    border: none;
    border-radius: 15px;
    background-color: #ffffff;
    color: #333333;
    font-size: 1rem;
    box-shadow: none;
}

.modalalertemlpoi input.username::placeholder,
.modalalertemlpoi select.frequency .firstOption {
    color: #999999;
}

/* Localisation et domaine d'emploi (Select2) */
.modalalertemlpoi .select2-container--krajee .select2-selection {
    min-height: 55px;
    border: none;
    border-radius: 15px;
    background-color: #ffffff;
    color: #333333;
    box-shadow: none;
    padding: 8px 10px;
}

.modalalertemlpoi .select2-container--krajee .select2-selection__placeholder,
.modalalertemlpoi .select2-container--krajee .select2-search__field::placeholder {
    color: #999999;
}

.modalalertemlpoi .select2-container--krajee .select2-selection--multiple .select2-selection__choice {
    background-color: #5dbab9;
    border-color: #5dbab9;
    color: #000000;
    border-radius: 10px;
}

.modalalertemlpoi .error-summary {
    color: #f2bc49;
    background: none;
    border: none;
    padding: 5px 0;
}

/* Bouton S'inscrire */
.modalalertemlpoi .text-right {
    text-align: center;
    padding-right: 0 !important;
}

.modalalertemlpoi .btn_alert,
.modalalertemlpoi .btn_alert_exist {
    display: inline-block;
    margin-top: 25px;
    padding: 10px 50px;
    border: none;
    border-radius: 20px;
    background-color: #5dbab9;
    color: #000000;
    font-family: Ubuntu, sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
}

.modalalertemlpoi .btn_alert:hover,
.modalalertemlpoi .btn_alert_exist:hover,
.modalalertemlpoi .btn_alert:focus {
    background-color: #c6b88b;
    color: #000000;
}

.modalalertemlpoi .cerrar_modal {
    color: #c6b88b !important;
    text-decoration: none;
}

@media (max-width: 575px) {
    .modalalertemlpoi .h1-title-alert,
    .modalalertemlpoi .h1-title {
        font-size: 2.4rem;
    }

    .modalalertemlpoi .modal-body {
        padding: 20px 15px;
    }
}
