/*************************************
* HIRING
*************************************/
.offer {
    display: flex;
    border: 1px solid var(--bg-color-white);
    border-radius: 8px;
    position: relative;
    margin: 1.5rem 0;
}
.admin-offer {
    width: 150%;
    height: auto;
    margin: 0.5rem 0;
}
.admin-offer > *:not(.admin-box-buttons) {
    pointer-events: none;
}
.offer .offer-image {
    object-fit: cover;
    width: 30vw;
    max-width: 300px;
    margin-right: 2rem;
    border-radius: 8px 0 0 8px;
}
.offer .offer-organisation-image {
    background-color: rgba(211, 211, 211, 0.253);
    border-radius: 0 8px;
    object-fit: contain;
    position: absolute;
    top: 0;
    right: 0;
    width: 10vw;
    max-width: 130px;
    min-width: 60px;
}
.offer .offer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 10vw;
}
.admin-offer > p {
    padding: 0 20px;
}
.admin-offer > a {
    width: 0;
    text-align: center;
}
.admin-box-buttons > a > button {
    padding: 10px;
    cursor: pointer;
}
.admin-box-buttons {
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    flex: 1;
    align-items: center;
}
.admin-box-buttons > a,
.admin-box-buttons > a > button {
    padding: 10px;
}
.offer .offer-content span {
    display: block;
}
.offer .offer-content .organisation-name {
    color: #adadad;
    margin-top: 15px;
}
.offer .offer-content .offer-title {
    font-weight: 600;
    font-size: 22px;
    margin: 5px 0;
}
.offer .offer-content .see-offer {
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 10px 25px;
    margin-top: auto;
    margin-bottom: 28px;
}
.offer-link {
    text-decoration: none;
    color: var(--text-color-white);
    display: block;
}
.offer-link:hover {
    background-color: #8a8a8a1a;
}
.switch-button {
    background: rgba(255, 255, 255, 0.56);
    border-radius: 30px;
    overflow: hidden;
    width: 240px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    color: black;
    position: relative;
    padding-right: 120px;
    position: relative;
    margin: auto;
}
.switch-button:before {
    content: 'Présenter ami(e)';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}
.switch-button-checkbox {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
}
.switch-button-checkbox:checked + .switch-button-label:before {
    transform: translateX(120px);
    transition: transform 300ms linear;
}
.switch-button-checkbox + .switch-button-label {
    position: relative;
    padding: 15px 0;
    display: block;
    user-select: none;
    pointer-events: none;
}
.switch-button-checkbox + .switch-button-label:before {
    content: '';
    background: #fff;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 30px;
    transform: translateX(0);
    transition: transform 300ms;
}
.switch-button-checkbox + .switch-button-label .switch-button-label-span {
    position: relative;
}