div.emploi-container
{
    max-width: 720px;
    z-index: 1;
}

main > header
{
   width: 100vw;
   background: no-repeat url("/wp-content/uploads/2021/09/pexels-michael-burrows-7129713-scaled.jpg");
   background-position: 0px -526px;
   background-size: cover;
   background-color: #B4BBC2;
   text-align: center;
   padding: 0.01em 0 .3em;
   min-height: 20em;
}
.file-error {
   border-color:red !important;
   color: red !important;
}

main.site-main.single-main .post-emploi-header .emploi-container {
   margin-top: 5%;
}

p#breadcrumbs,
span#jobs-amount
{
    width: 100%;
}
p#breadcrumbs span a
{
    color: #86338B;
}
p#breadcrumbs span a:hover
{
    color: #000;
}

.t4s-file-input {
   cursor: pointer;
   color: grey !important;
   width:100%;
   border-style: solid;
   border-width: 1px 1px 1px 1px;
   border-color: #DBDBDB;
   border-radius: 25px 25px 25px 25px;
   padding: 13px 20px 13px 20px;

}
/**
* ARCHIVE
*/

.archive-main
{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.archive-main > header
{
    overflow-x: auto;
}
.archive .site-main > .page-header,
.search .site-main > .page-header
{
    min-height: 5em;
    display: flex;
    justify-content: center;
}
.archive .site-main > .page-header h1,
.search .site-main > .page-header h1
{
    font-size: 60px;
    color: #fff;
    text-shadow: unset;
    /* text-shadow: 0 0 5px #fff; */     
}
.search .site-main > .page-header
{
    flex-direction: column;
}
.page-header form
{
    display: flex;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column;
}
.page-header form input
{
    line-height: 1;
}
#basic-filters,
#filters
{
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}
#basic-filters
{
    flex-wrap: wrap;
}
/* This tag overrides CSS rules from another plugin. */
/* Please don't remove it */
.row #basic-filters label
{
    margin: 0 0 .5rem;
    color: inherit;
}
input#location
{
    width: unset;
    max-width: unset;
}
#suggest
{
    display: none;
    text-align: left;
    background-color: #fff;
    overflow-x: hidden;
    font-size: .8em;
    padding: 0 5px;
    margin-left: 5px;
    box-shadow: 0 0 1px #ddd;
    position: absolute;
}
#suggest div
{
    white-space: nowrap;
}
#suggest div:hover
{
    background: #ddf;
}
#filters,
#filters div.toggle-trigger
{
    display: none;
}
#filters .trigger,
.toggle-trigger
{
    background: #fff;
    text-align: left;
}
#filters div.trigger
{
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    white-space: nowrap;
    font-style: normal;
    font-size: 14px;
    line-height: 18px;
    overflow-x: hidden;
    text-overflow: ellipsis;
    padding: 4px 10px 4px 12px;
    text-align: left;
    margin: .25em 0;
}
#basic-filters input,
.trigger
{
    height: 28px;
    overflow-y: hidden;
}
.search-form .search-submit
{
    padding: 0 20px;
}
.search-form #submit-small
{
    padding: 5px 20px;
    box-shadow: 0 0 4px #ccc;
}
#search-form-actions-large
{
    display: none;
}
#search-form-actions-small
{
    margin: 1em 0;
}
.criteria-clear
{
    display: inline;
    vertical-align: middle;
    background: #fff;
    border-radius: 50%;
    color: #86338B;
    cursor: pointer;
}
span.more-filters
{
    color: #fff;
    text-shadow: 0 0 5px #000;
}
#filters div.trigger .dashicons,
#job-list div.trigger .dashicons
{
    float: right;
    font-size: 18px;
}
.toggle-trigger
{
    width: fit-content;
    width: -moz-fit-content;
    min-width: 100%;
    max-height: 22em;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px;
    border-radius: 14px;
}
#filters div.field
{
    overflow-x: auto;
    margin: 0 .25em;
    overflow-y: visible;
    width: 100%;
}
#filters div.field.active .toggle-trigger,
#job-list .toggle-trigger
{
    box-shadow: 0px 0px 8px rgb(0 0 0 / 15%);
}
#filters .toggle-trigger label
{
    display: inline;
}
#filters div.value-container
{
    overflow-x: visible;
    white-space: normal;
}
#job-list-container
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 250px;
    font-size: .9em;
}
#job-list-container p#breadcrumbs,
#job-list-container #job-list-header
{
    padding: 0 10px;
}
#job-navigation-container
{
    width: 250px;
}
#job-list
{
    display: flex;
    flex-wrap: wrap;
}
#job-list-header
{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#jobs-amount
{
    color: #aaa;
}
#job-list .field
{
    width: 240px;
    position: relative;
}
#job-list .field .trigger,
#job-list .field .toggle-trigger
{
    padding: 0 13px;
}
#job-list .field .toggle-trigger
{
    position: absolute;
    display: none;
}
#toggle-trigger-sort .sort.active
{
    background: #ddf;
}
#toggle-trigger-sort .sort:hover
{
    background: #eee;
}
/* default layout for smallest screens */
.job-thumbnail-container
{
    padding: 10px;
    width: 250px;
}
.job-thumbnail:not(.mobile)
{
    display: none;
}
article.job-thumbnail:not(.mobile)
{
    height: 395px;
}
/* job thumbnail*/
article.job-thumbnail
{
    width: 100%;
    border-radius: 5px;
    padding: 20px 18px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
article.job-thumbnail, .job-thumbnail *
{
    line-height: 1.3;
}
.job-thumbnail div.job-thumbnail-contained
{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    font-size: 1em;
}
.job-thumbnail.mobile
{
    height: 100%;
    padding: 0;
}
.job-thumbnail.mobile a
{
    height: 100%;
    padding: 20px 18px;
}
a.mobile,
a.mobile:link,
a.mobile:hover,
a.mobile:active,
a.mobile:visited,
a.job-container-link,
a.job-container-link:link,
a.job-container-link:hover,
a.job-container-link:active,
a.job-container-link:visited
{
    text-decoration: none;
    color: inherit;
}
.job-thumbnail:not(.mobile) div.job-thumbnail-contained
{
    height: calc(100% - 60px);
}
.job-thumbnail h4
{
    overflow: hidden;
    margin: 0 0 .5em !important;
    padding: 0 0 .2em;
}
.job-thumbnail.mobile h4
{
    font-weight: 600;
    font-size: 18px;
    line-height: 18px;
    letter-spacing: -0.2px;
}
.job-thumbnail:not(.mobile) h4
{
    font-weight: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -0.2px;
}
.job-thumbnail div.job-thumbnail-contained div.thumbnail-description
{
    height: calc(100% - 80px);
    margin: 0 0 .5em;
    overflow-y: hidden;
    background: -webkit-linear-gradient(#000, #fff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.job-thumbnail:not(.mobile) div.job-thumbnail-contained div.thumbnail-description
{
    height: calc(100% - 80px);
}
.job-thumbnail.mobile div.job-thumbnail-contained div.thumbnail-description
{
    height: 10em;
}
.job-thumbnail p p
{
    margin-bottom: 0;
}
.job-thumbnail ul
{
    overflow: hidden;
    padding-left: 15px;
    font-size: .8em;
    margin-top: 0;
    margin-bottom: 0;
}
.job-thumbnail ul.job-highlights
{
    padding-left: 0;
    padding-bottom: 10px;
}
.job-thumbnail ul.job-highlights li
{
    list-style-type: none;
}
.job-thumbnail.mobile ul.job-highlights li
{
    text-transform: uppercase;
    padding: 4px 20px;
    background: #9E9E9E;
    border-radius: 20px;
    color: white;
    width: fit-content;
    margin-top: 2px;
}
.job-thumbnail.mobile li:not(:nth-last-of-type())
{
    margin-bottom: 5px;
}
.job-thumbnail:not(.mobile) ul.job-highlights li
{
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.2px;
}
.job-thumbnail div.thumbnail-btn-container
{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}
.job-thumbnail div.thumbnail-btn-container .button
{
    padding: 8px 20px;
    text-decoration: none;
}
.single-main .form-control::placeholder,
.t4s-form-container .form-control::placeholder
{
    color: #ccc;
}
#no-jobs-found
{
    padding: 34px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
#no-jobs-found > div
{
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
#no-jobs-found a.btn,
#application-confirmation-container a.btn
{
    padding: 13px 20px 13px 20px;
}

/**
* SINGLE
*/

main.single-main
{
    font-size: 1rem;
}
.single-main div.emploi-container
{
    position: relative;
}
.post-emploi-header h3
{
    text-shadow: 0 0 5px #fff;
}
header ul
{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 0 auto;
    padding: .2em 0;
    font-size: .9em;
}
header ul li
{
    list-style-type: none;
    line-height: 1.2;
}
header ul.tags
{
    font-weight: bold;
}
header ul.tags li
{
    text-transform: uppercase;
    margin: 5px;
    padding: 5px 15px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 1px #000;
}
#job-details-container > span,
#job-details-container > p,
#job-details-container .post-emploi-body,
#job-details-container #apply-section h4
{
    padding: 0 32px;
}
div.t4s-form-container
{
    padding: 34px 25px;
    margin: 0 -20px;
}
#apply-section div.t4s-form-container
{
    margin: 0;
}
.t4s-form-container .form-row
{
    flex-direction: column;
}
.row .t4s-form-container form label
{
    display: block;
    color: inherit;
    margin: 0 0 .5rem;
}
.t4s-form-container form .privacy-policy label
{
    display: inline;
}
.t4s-form-container form input
{
    line-height: 1;
    border: solid 1px #ccc;
    padding: 0.36rem 0.66rem;
}
.t4s-form-container form textarea
{
    width: 100%;
}
.t4s-form-container form .form-row input
{
    background: #fff;
}
.t4s-form-container form .w100
{
    width: 100%;
    display: inline-block;
}
.t4s-form-container form .form-group
{
    padding: 0 15px;
}
.t4s-form-container form .w100 input,
.t4s-form-container form .w100 textarea
{
    width: 100%;
}
.t4s-form-container form .submit-container
{
    text-align: center;
}
.t4s-form-container form .submit-container input
{
    width: 100%;
    height: 50px;
}
#application-confirmation-container
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
#application-confirmation-container .dashicons
{
    font-size: 70px;
    width: 72px;
    height: 72px;
}
#application-confirmation-container div
{
    margin-bottom: 20px;
}

div.emploi-container h1,
.page-title {
    color: #fff;
}
/**
* MEDIA QUERIES
*/
@media screen and ( max-width:  350px ) {
   main > header
   {
      background-image: none;
          background-color: #051B34;
      opacity: 0.3;
      height: unset;
   }
    .overlay {
       display: none;
   }

}

@media screen and ( min-width:  350px )
{
    #job-list-container,
    #job-navigation-container
    {
        width: 300px;
    }
    .job-thumbnail-container
    {
        width: 300px;
    }
}

/*  @media screen and ( max-width:  650px ) {
    .overlay {
        display: none;
    }
   main > header
   {
      height: unset;
      background-color: #051B34;
      opacity: 0.3;
   }


} */

@media screen and ( min-width:  650px )
{
    
   div.emploi-container
   {
    margin: 5% auto;
   }

    #job-list-container,
    #job-navigation-container
    {
        width: 600px;
    }
    .job-thumbnail-container
    {
        width: 300px;
    }
    .job-thumbnail.mobile
    {
        display: none;
    }
    .job-thumbnail:not(.mobile)
    {
        display: flex;
    }
    .t4s-form-container .form-row
    {
        flex-direction: row;
    }
    .t4s-form-container form .md-w50
    {
        width: 50%;
    }
    #job-list-header
    {
        flex-direction: row;
    }
}
@media screen and ( min-width:768px )
{
    #job-list-container,
    #job-navigation-container
    {
        width: 700px;
    }
    .job-thumbnail-container
    {
        width: 350px;
    }
    .job-thumbnail.mobile
    {
        display: none;
    }
    .job-thumbnail:not(.mobile)
    {
        display: flex;
    }
    #job-details-container > span,
    #job-details-container > p,
    #job-details-container .post-emploi-body,
    #job-details-container #apply-section h4
    {
        padding: 0;
    }
    div.t4s-form-container
    {
        margin: 0 auto;
    }
}

@media screen and ( min-width:1200px )
{
    #job-list-container,
    #job-navigation-container
    {
        width: 1050px;
    }
    .job-thumbnail-container
    {
        width: 350px;
    }
    .job-thumbnail.mobile
    {
        display: none;
    }
    .job-thumbnail:not(.mobile)
    {
        display: flex;
    }
    .search .site-main > .page-header
    {
        flex-direction: row;
    }
    .archive .site-main > .page-header,
    .search .site-main > .page-header,
    .overlay
    {
        height: 20em;
        overflow-y: visible;
    }

    #basic-filters {
        margin-top: 1em;
    }  

    div.emploi-container h1,
    .page-title {
        font-family: Roboto;
        font-size: 40px;
        text-shadow: unset;
    }

    #filters div.field
    {
        overflow-x: visible;
        max-width: 185px;
        width: 185px;
    }
    #filters div.value-container
    {
        white-space: nowrap;
    }
    .page-header form
    {
        position: absolute;
        z-index: 10;
        width: 100%;
        left: 0;
        margin: 5px 0;
    }
    #basic-filters, #filters
    {
        flex-direction: row;
        align-items: unset;
    }
    #basic-filters input[type="submit"]
    {
        margin-bottom: 0.5rem;
    }
    #basic-filters input
    {
        margin: 0 .25em;
    }
    #filters div.trigger
    {
        margin: 0;
    }
    #search-form-actions-large
    {
        display: block;
    }
    #search-form-actions-small
    {
        display: none;
    }
}

li.breadcrumb-item a span:hover {
   color: #86338b !important;
}
.overlay {
   width: 100%;
   height: 20em;
   background-color: #051B34;
   opacity: 0.3;
   transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
   position: absolute;
   z-index: 0;
   padding: 0.01em 0 .3em;
}