#apgremi .container {
    padding: 2rem;
}

#apgremi .input-group,
#apgremi .select-group {
    margin: 1.5rem 0;
    position: relative;
}

#apgremi .error-message {
    bottom: -1.5rem;
    color: red;
    margin: 0;
    opacity: 0;
    position: absolute;
    transition: opacity .3s ease;
    width: 100%;
}

#apgremi .error ~ .error-message {
    opacity: 1;
    transition: opacity .3s ease;
}

#apgremi #cv {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

#apgremi #cv:focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

#apgremi label {
    font-family: inherit;
    font-weight: 300;
}

#apgremi select {
    font-family: inherit;
    font-weight: 300;
    padding: .25rem 0;
    width: 100%;
}

#apgremi .select-group {
    margin: 1.5rem 0;
}

.button-wrap {
    display: flex;
}

.button-wrap.submit-group {
    flex-direction: column;
}

.button-wrap.submit-group .button {
    margin-top: 1rem;
}

.button {
    margin-left: auto;
    width: 100%;
}

.button:disabled{
    cursor: not-allowed;
    opacity: .5;
}
.button:disabled:hover{
    background: #939288;
}

.button.danger {
    background-color: var(--wp--preset--color--vivid-red);
    color: white;
}

/* LOGIN FORM */
#apgremi input#user_login,
#apgremi input#user_pass {
    font-size: 1.5rem;
    padding: .25rem;
    width: 100%;
}

/* LOGOUT FORM */
#apgremi div#logout-form {
    margin: 1rem 0;
}

/* ARCHIVE FILTER */
#apgremi #archive-filter {
    display: flex;
    margin: 1rem 0;
}

#apgremi #job_category_filter {
    margin-right: 1rem;
    padding: .5rem;
}

#apgremi #archive-filter .button {
    width: auto;
}

/* ARCHIVE APPLICANT / OFFERS */
#apgremi #job-applicants .job-applicant,
#apgremi #job-offers .job-offer {
    box-shadow: 1px 1px 2px 2px #939288;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 1rem 0;
    padding: 1rem;
}

/* ARCHIVE APPLICANT */
#apgremi .applicant-name,
#apgremi .applicant-city,
#apgremi .applicant-group,
#apgremi .offer-title,
#apgremi .offer-group {
    flex: 1;
    flex-basis: 100%;
}

#apgremi .offer-title,
#apgremi .applicant-name {
    font-weight: bold;
}

/* SINGLE APPLICANT / offer */
#apgremi .offer-field,
#apgremi .applicant-field{
    font-size: 1.25rem;
    margin: 1rem 0;
}

#apgremi .offer-field h3,
#apgremi .applicant-field h3 {
    font-family: 'Lemon Milk';
    font-size: 1rem;
    font-weight: bold;
    margin-right: 1rem;
    text-transform: uppercase;
}

#apgremi div#cv-field {
    margin: 1rem 0 0 0;
}

#apgremi div#cv-field a {
    margin-bottom: 1rem;
}

/*NOTIFY*/

a .cancel-notify,
a .email-notify {
    background-color: #231f208c;
    bottom: 0;
    box-shadow: -1px -2px 2px 2px;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1;
}

a .cancel-notify .container,
a .email-notify .container {
    background-color: rgba(255,255,255,.95);
    box-shadow: 0px 0px 2px 1px white;
    color: #231F20;
    left: 10vw;
    padding: 2rem;
    position: fixed;
    top: 50vh;
    transform: translateY(-50%);
    width: 80vw;
}

@media screen and (min-width: 768px) {
    #apgremi #contact-data,
    #apgremi #situation-data,
    #apgremi #appliance-data {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        margin: 0 -1rem;
    }

    #apgremi #contact-data #nombre-group, #apgremi #contact-data #poblacion-group {
        flex-basis: calc(50% - 2rem);
    }

    #apgremi #contact-data .input-group,
    #apgremi #situation-data .select-group {
        flex-basis: calc(33.33% - 2rem);
    }

    .button-wrap.submit-group .button {
        margin-top: 0;
    }

    .button-wrap.submit-group {
        flex-direction: row;
    }

    .button {
        width: auto;
    }

    #apgremi .error-message.right {
        text-align: right;
    }

    #apgremi #loginform {
        max-width: 350px;
    }

    /* ARCHIVE FILTER */
    #apgremi #archive-filter {
        margin-left: auto;
        max-width: 50%;
    }

    /* ARCHIVE APPLICANT */
    #apgremi #archive-title {
        align-items: center;
        display: flex;
        justify-content: space-between;
        margin-bottom: 2rem;
    }

    #apgremi #archive-title h2,
    #apgremi #archive-title #logout-form {
        margin: 0;
    }

    #apgremi #job-offers .job-offer,
    #apgremi #job-applicants .job-applicant {
        flex-wrap: nowrap;
    }

    /* SINGLE APPLICANT */
    .field-row {
        display: flex;
        justify-content: space-between;
    }

    .field-row .applicant-field {
        flex: auto;
    }
}

