/*
Theme Name: MAUDEMPLOI-v2
Description: Theme enfant de Divi
Author: LAgence.co
Author URI: https://www.divi-community.fr
Template: Divi
Version: 1.1
*/

/* 
** CENTRER DU CONTENU VERTICALEMENT 
*/

.centrer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
*/

@media only screen and (max-width: 980px) {
    .inverse {
        display: -ms-flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column-reverse;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        flex-direction: column-reverse;
    }
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
    margin-left: -30px;
    padding: 5%;
    width: calc(100% + 60px);
}

/* 
** AUGMENTER LA LARGEUR CHAMP RÃ‰SULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du rÃ©sultat sont masquÃ©s
*/
.et_pb_contact_right p input {
    max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES Ã€ LA BONNE TAILLE
** GÃ©nÃ©ralement, ils sont bien trop grosâ€¦
*/
sup,
sub {
    font-size: 0.5em;
}

/* Offres d'emploies */
.werecruit-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #004d75;
    border-radius: 4px;
    margin-bottom: 1.5rem
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 160px
}

.filter-group label {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: #ffffff
}

.filter-group select {
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 4px;
    background: #ffffff;
    color: #333333;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer
}

.filter-group select:focus {
    outline: 2px solid #85cee4
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1px
}

.filter-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    background: #e73554;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s
}

.filter-submit:hover {
    background: #c52d47
}

.filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s
}

.filter-reset:hover {
    background: #ffffff;
    color: #004d75
}

.werecruit-count {
    font-size: 14px;
    color: #666666;
    margin: 0 0 1rem 0
}

.werecruit-jobs-container {
    margin-bottom: 2rem;
    width: 100%
}

.werecruit-jobs {
    display: flex;
    /* grid-template-columns:repeat(3,1fr); */
    gap: 1.5rem 0;
    margin-top: 2rem;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
}

.job {
    border: 1px solid #004d75;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 32%;
}

.job:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,77,117,0.15);
    border-color: #85cee4
}

.job-header {
    margin-bottom: 1rem
}

.job-title {
    font-size: 20px;
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
    margin: 0 0 0.75rem 0
}

.job-title a {
    color: #051d35;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s
}

.job-title a:hover {
    color: #85cee4
}

.job-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666666;
    font-size: 14px
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 13px
}

.job-meta span {
    display: flex;
    align-items: flex-start;
    margin-right: 1rem;
    /* width: 100%; */
}

.job-meta i {
    color: #e73554;
    font-size: 14px
}

.job-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem
}

.job-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #e73554;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s
}

.job-link:hover {
    background: #c52d47;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231,53,84,0.3)
}

.werecruit-no-jobs {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 8px
}

.werecruit-error {
    padding: 1rem;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 1rem
}

.job-detail .job-meta {
    background: #004d75;
    padding: 30px;
    margin: 30px 0;
    color: #ffffff;
    font-size: 15px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: start;
    gap: 30px
}

.job-detail .job-meta>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start
}

.job-meta-content {
    display: flex;
    flex-direction: column;
    width: calc(100% - 75px);
    margin-top: 4px
}

.job-detail .job-meta i {
    display: flex;
    font-size: 1.3rem;
    color: #ffffff;
    background: #e73554;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
    align-items: center
}

.job-detail .job-meta strong {
    text-transform: uppercase
}

.company-description,.job-description,.job-profile,.job-responsability,.job-additional,.job-skills,.job-authorizations {
    margin-bottom: 30px
}

.job-apply {
    border-top: 1px solid #eeeeee;
    padding-top: 30px
}

.job-apply h2,.job-share h3 {
    margin: 30px 0
}

.job-error {
    text-align: center
}

.job-share {
    text-align: center
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1rem
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e3e3e3;
    color: #333333;
    text-decoration: none;
    font-size: 20px;
    transition: background 0.3s
}

.share-button:hover {
    color: #ffffff
}

.share-button.linkedin:hover {
    background-color: #0077b5
}

.share-button.facebook:hover {
    background-color: #1877f2
}

.share-button.twitter:hover {
    background-color: #1da1f2
}

.share-button.email:hover {
    background-color: #666666
}

.apply-admin-preview {
    margin-bottom: 1.5rem;
    border: 1px solid #444444;
    border-radius: 4px;
    overflow: hidden
}

.apply-admin-preview summary {
    cursor: pointer;
    font-weight: bold;
    padding: 10px 14px;
    background: #2d2d2d;
    color: #9cdcfe;
    user-select: none
}

.apply-payload-pre {
    margin: 0;
    padding: 12px 14px;
    background: #1e1e1e;
    color: #d4d4d4;
    font-size: 12px;
    overflow: auto;
    white-space: pre-wrap
}

.werecruit-apply-form {
    margin-top: 1.5rem
}

.form-row {
    display: flex;
    gap: 20px
}

.form-row .form-group {
    flex: 1
}

.form-group {
    margin-bottom: 20px
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333
}

.form-group label .required {
    color: #e73554;
    margin-left: 3px
}

.form-group input[type="text"],.form-group input[type="email"],.form-group input[type="tel"],.form-group input[type="url"],.form-group input[type="file"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s
}

.form-group input[type="file"] {
    padding: 8px;
    border-style: dashed;
    cursor: pointer
}

.form-group input:focus {
    outline: none;
    border-color: #85cee4
}

.apply-notice {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 500
}

.apply-notice.apply-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb
}

.apply-notice.apply-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb
}

.apply-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e73554;
    color: #ffffff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s
}

.apply-submit:hover:not(:disabled) {
    background: #c52d47
}

.apply-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed
}

@media (max-width: 981px) {
    .werecruit-jobs {
        /* grid-template-columns:repeat(2,1fr); */
        gap:1.25rem 0;
    }

    .job {
        width: 48%;
    }

    .job-title {
        font-size: 18px
    }

    .filter-group {
        min-width: calc(50% - 0.5rem)
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction:column;
        gap: 0
    }
}

@media (max-width: 479px) {
    .werecruit-filters {
        flex-direction:column;
        gap: 0.75rem
    }

    .filter-group {
        min-width: 100%
    }

    .filter-actions {
        width: 100%;
        flex-direction: column
    }

    .filter-submit,.filter-reset {
        width: 100%;
        justify-content: center
    }

    .werecruit-jobs {
        gap: 1rem 0;
    }

    .job {
        padding: 1.25rem;
        width: 100%;
    }

    .job-title {
        font-size: 17px
    }

    .job-link {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
        font-size: 14px
    }

    .job-detail .job-meta {
        grid-template-columns: 1fr
    }

    .job-detail .job-meta>div {
        flex-direction: column;
        align-items: center
    }

    .job-meta-content {
        width: 100%;
        text-align: center
    }

    .apply-submit {
        width: 100%;
        justify-content: center
    }
}
