@charset "UTF-8";

* {
    box-sizing: border-box;
}
#poste-ouvert {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    gap:10px;
    box-sizing: border-box;
}
#poste-ouvert .poste-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #F0F0F0;
}
#poste-ouvert .poste-item .poste-heading {
    margin: 0;
    position: relative;
    padding: 15px;
    width:100%;
    color: #212529;
    font-weight: 400;
    display: block;
    font-weight: 500;
    background-color: #F0F0F0;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
}

#poste-ouvert .poste-item .poste-heading h3 {
    font-family: var(--wp--preset--font-family--source-sans-pro);
    font-size: 1.2rem;
    margin: 0;
    width: 100%;
}

#poste-ouvert .poste-item .poste-heading span {
    text-wrap: nowrap;
    white-space:nowrap; 
}


#poste-ouvert .poste-item .poste-heading span.typecontrat{
    padding: 5px;
}

#poste-ouvert .poste-item .poste-heading .btn{
    display: block;
    background-color: #FFD300;
    padding: 8px 12px;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

#poste-ouvert .poste-item .poste-heading:hover .btn {
    text-decoration: underline;
    background-color: #000000;
    color:#ffffff;
}


#poste-ouvert .a-container .a-btn:hover .btn,
#poste-ouvert .a-container .a-btn .btn:hover{
    background-color: #000000;
    color:#ffffff;
}



#poste-ouvert .poste-item .poste-heading span + span + span {
    margin-left: auto;
}


#poste-ouvert .poste-item .poste-content {
    width: 100%;
    color: #262626;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    height: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0px 15px;
}
#poste-ouvert .poste-item .poste-content.active {
    padding: 0px 15px;
    opacity: 1;
    max-height: none;
}

#poste-ouvert .btnred {
    border:3px solid #EC2317;
    color:#EC2317;
    padding: 10px;
    transition: all 0.2s ease-in-out;
}

#poste-ouvert .btnred:hover {
    color:#fff;
    background-color:#EC2317 ;
}


#poste-ouvert .link {
    display: flex;
align-items: center;
justify-content: center;
margin: 1rem 0;
}




@media screen and (max-width:780px) {
    #poste-ouvert .poste-item .poste-heading {
        flex-wrap: wrap;
    
    }

    #poste-ouvert .poste-item .poste-heading span.date{
        flex-grow: 1;
    }

    #poste-ouvert .poste-item .poste-heading span.typecontrat{
        padding: 0;
    }

    
}