/* Le code CSS du site */

/* *****************************************************************
GENERAL
***************************************************************** */
* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
  
}

body * {
	box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
	margin: 0;
	background-color: #FAFAFA;
}

h2 {
    
    text-align:center;
}

h1 {
    
    text-align:center;
    font-size: 2em;
}

h3{
        padding-top: 3em;
    text-align: center;
}

.wrapper {
    margin-top: 2em;
}

.valid { /* for the file _valids.html and also _sessionmsg.html */
    list-style:none;
    background-color: green;
    font-size: 20px;
    padding: 2em;
}

.errors { /* file _errors.html */
    list-style:none;
    background-color: red;
    font-size: 20px;
    padding: 2em;
}

#eye {
    font-size: 1.5em;
    display:block;
    text-align:center;
}

.just {
        font-size: 1.7em;
    max-width: 50%;
    margin: 0 auto;
    padding: 0 1em;
    
}

.justi {
    max-width: 75%;
    margin: 0 auto;
}

.justi1{
    padding-top:2em;
}
.displaynone {
    display:none;
}

.identit2 h2{
    
    padding-bottom: 1em;
}

/* *****************************************************************
HEADER
***************************************************************** */
header {
    font-size: 1em;
}

header nav ul {
    display: inline;
    list-style:none;
    text-align:center;
    
}
header nav a {
    
    text-decoration:none;
	background-color: #E2E2E2;
	padding: 1rem 2rem;
	display:block;
	color: black;
	font-weight: bold;
	border-bottom: 1px solid #4c4343;
	transition: all 0.1s linear;
}

header nav a:hover,
haeder nav a:focus {
	background-color: #003CA8;
	color: white;
}
header nav a.active {
	background-color: #4c4343;
	color: white;
}

.propos {
    border-top:1px solid #4c4343;
}

header img{
    width: 119px;
    display: block;
    margin: 0 auto;
}    
    
header li a {
    font-size: 2em;
}

.admin {
    white-space: nowrap;
}


/* *****************************************************************
MAIN
***************************************************************** */

.banner-accueil {
    height: 30em;
    color: #fafafa;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 76% 88%;
    background-attachment: scroll;
    border-radius: 0 0 1000px 1000px / 0 0 100px 100px;
    background-image: url(../img/office.jpg);
}


.banner-accueil h1 {
    font-size: 2em;
    text-align: center;
    white-space: nowrap;
    padding-top: 12.5em;
    margin: 0 auto;
}
    
span {
    font-weight:bold;
}

.footer{
    padding-top: 10em;
    text-align:center;
}
.footer img {
    width:7em;
    
}

.reseaux {
    font-size:4em;
    text-align: center;
}

.reseaux a{
    font-size: 40%;
    color:blue;
    text-decoration: none;
}

.identit2 {
    text-align:center;
    font-size: 1.7em;
}

.identit2 h1 {
    font-size: 1em;
    font-family: 'Rochester', cursive;
    margin-bottom: 10px;
}

#justif {
    padding-top: 2em;
    text-align: justify;
    
}

#findCandidat {
    text-align: center;
    margin: 0 auto;
    display: block;
}

#messageAjax{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;

}

.postesopstul {
    text-align:center;
    padding: 1em;
    border:1px solid black;
    margin: 1em;
    border-radius: 20px;
    
}

.postesopstul p {
    font-size: 1.3em;
}

.postesopstul img{
    width: 110px;
    height: 110px;
    border-radius: 50%;
    
}

.postesopstul:hover {
    background-color: lightgrey;
    
}

/*--------------------tables-----------------------------*/
.tableid {
    width: 95%;
    margin: 1em;
    border-collapse:collapse;
    table-layout: fixed;
}

.tableid th, 
.tableid td {
    padding:1em;
    border:1px solid #ddd;
    word-wrap:break-word;
    text-align: center;
}

.tableid thead {
    font-size: 5px;
    border-bottom:2px solid #999;
}

.tableid tbody {
    font-size: 5px;
    text-align:right;
}

.tableid tbody tr td:nth-child(1) {
    font-size: 5px;
    font-weight: bold;
}

.tableid tbody tr td:nth-child(2) {
    font-size: 5px;
    text-align:center;
}

.tableid tbody tr:nth-child(odd) {
    font-size: 5px;
    background-color: #eee;
}

.tableid tbody tr:hover {
    background-color:#7F65FF;
    
}
.tableid tbody tr td:hover {
    background-color: #EC0000;
    color:#fff;
}

.title {
    text-align:center;
    font-size: 3em;
    padding-bottom: 1em;
}

.title a {
    font-size: 80%;
    background-color: #030A57;
    color: white;
    text-decoration: none;
    border-radius: 1em;
    border-bottom: transparent 3px solid;
    
    padding: 1rem 2rem;
}

.title a:hover {
    background-color: #900000;
    transition: all 1s linear;
}

.log {
    padding: 0.7em;
    background-color: #484B4F;
    width: 141px;
    border-radius: 50px;
    color: white;
    font-size: 9px;
    text-decoration: none;
    display: block;
    margin: 0 auto;
}

/*---------------page entreprise----------------------------*/

.presentation {
    text-align: center;
    font-size: 1.7em;
    max-width: 50%;
    margin:0 auto;
}

.presentation h1{
    text-align: center;
    font-size: 1.5em;
    padding-bottom: 1em;
}

.presentation h2{
    padding-top: 2em;
}
.presentation img {
    display: block;
    margin: 0 auto;
    width: 70%;
    margin-bottom: 3em;
    border-radius: 20%;
}

/*---------------les offres----------------------------*/

.postes {
    max-width: 90%;
    text-align: center;
    padding: 1em;
    border: 1px solid black;
    margin: 10px auto;
    border-radius: 20px;
    
}

.postes p {
    font-size: 1.3em;
}

.postes img{
    width: 110px;
    height: 110px;
    border-radius: 50%;
    
    
}

.postes:hover {
    background-color: lightgrey;
    
}

.postesfront {
    max-width: 90%;
    text-align: center;
    padding: 1em;
    border: 1px solid black;
    margin: 10px auto;
    border-radius: 20px;
    
    
}

.postesfront p {
    font-size: 1.3em;
}

.postesfront img{
    width: 110px;
    height: 110px;
    border-radius:50%;
    
}

.postesfront:hover {
    background-color: lightgrey;
    
}

.fonts{
    font-family: 'Lato', sans-serif;
}

.colorcont {
   color: #013DA8;
}

.singlepost {
    text-align:center;
    padding: 1em;
    border:1px solid black;
    margin: 1em;
    border-radius: 20px;
}

.singlepost:hover {
    
    background-color: lightgrey;
    
}

.singlepost p {
    font-size: 1.3em;
}
.choix {
    margin: 0 auto;
    width: 75%;
    display: flex;
    flex-direction: column;
}

.choix select {
    height: 4em;
    margin: 1em;
}

.selectoffer {
    max-width:90%;
}

.pagination {
    text-decoration: none;
    padding: 0.3em;
    margin-top: 40px;
    text-align: center;
}

.pagination a {
    padding: 0.3em;
    font-size:2em;
    text-decoration: none;
}

.backelips {
    margin: 0 auto;
    height: 1em;
    width: 39ch;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.depts {
    max-width: 90%;
    text-align: center;
    padding: 1em;
    border: 1px solid black;
    margin: 10px auto;
    border-radius: 20px;
}

.cats {
    max-width: 90%;
    text-align: center;
    padding: 1em;
    border: 1px solid black;
    margin: 10px auto;
    border-radius: 20px;
}

.cats img {
    
    width: 110px;
    height: 110px;
    border-radius: 50%;
}

.backpostes:hover {
    background-color: lightgrey;
    
}

.Postulants {
    text-decoration: none;
    padding: 0.3em 0.1em;
    background-color: blue;
    color: #fff;
    border: 1px solid blue;
    border-radius: 0.5em;
    cursor: pointer;
    display: block;
    width: 30%;
    margin: 5px auto;
    
}

.modifier {
    text-decoration: none;
        padding: 0.3em 0.1em;
        /* font-size: 2rem; */
        background-color: #089044;
        color: #fff;
        border: 1px solid #089044;
        border-radius: 0.5em;
        cursor: pointer;
        display: block;
        width: 30%;
        margin: 6px auto;
    
}

.supprimer {
    text-decoration: none;
    padding: 0.3em 0.1em;
    background-color: #C40002;
    color: #fff;
    border: 1px solid #C40002;
    border-radius: 0.5em;
    cursor: pointer;
    display: block;
    width: 30%;
    margin: 0 auto;
}

/*---------------page contact----------------------------*/

.classe1 {
    background-color: #E2E2E2;
    padding:2em;
   
    margin-top: 5em;
}

.classe2 {
    max-width: 85%;
    text-align: center;
    padding: 6em;
    background-color: #FAFAFA;
    margin: 0 auto;
    border-radius: 30px;
}

.classe2 img {
  max-width: 219px;
  margin-top: -10em;
    margin-bottom: -7em;

}

.contactrsm {
    font-size: 1.7em;
    text-align:center;
}
.contactrsm a {
     color:blue;
     text-decoration:none;
}
 
/*---------------Form---------------------------------*/

fieldset {
	border: 1px  solid rgba(0,0,0,0.2);
	margin: 1em 2em;
	padding:1em;
}
legend {
    padding:0 1em;
    font-size: 2.3rem;
}
.field {
    display:flex;
    justify-content:space-between;
    padding:1em 0;
}
.field label {
    font-size: 1.5em;

}
.field input {
    width:70%;
    
}
/*selectionne une class .field qui suit une class .field*/
.field + .field {
    border-top: 1px solid rgba(0,0,0,0.2);
} 

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select, textarea {
    
    padding: 0.5em 1em;
    border-radius: 0.5em;
    border: 1px solid rgba(0,0,0,0.2);
   
}

input[type="submit"] {
    margin: 0 auto;
    display: block;
}    

input[type=checkbox] {
    
    margin-right:0.5em
}

select, textarea {
    font-size: 1.5em;
    width: 100%;
}

textarea {
    margin-top:1em;
    min-height:10em;
}

#dept,
#cate {
    
    max-width: 70%;
}

.toolbar, fieldset {
    border-radius:0.5em;
}
.toolbar {
    font-size:1em;
    padding:1em 2em;
    text-align:center;
}

.button {
    padding: 0.5em 0.5em;
    font-size: 2rem;
    background-color: #013DA8;
    color:#fff;
    border: 1px solid #013DA8;
    border-radius:0.5em;
    cursor:pointer;
}
.button:hover {
    background-color: #fff;
    color:#013DA8;
}

.smaller {
    font-size: 1.5em;
    max-width: 80%;
    margin: 0 auto;
}

#responseAJAX1,
#responseAJAX,
#messageAjax,
#responseAJAXloc {
    width: 100%;
    text-align: center;
   
}

.searchmessage {
    display: inline-block;
    text-align: left;
    padding: 1em;
    font-size: 15px;
}

.searchmessage a{
    color:blue;
}

.searchmessageajax{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.searchmessageajax label{
    font-size: 1.5em;
    padding: 0.5em;
}

.searchmessageajax #executer1{
    margin-top: 1em;
}

.adminconnect a {
    text-align: center;
    display: block;
}

.postul {
    padding: 0.7em;
    background-color:blue;
    width: 141px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    text-decoration: none;
    display: block;
    margin: 0 auto;

}

#pagination-demo {
  display: inline-block;
  margin-bottom: 1.75em;
}

#pagination-demo li {
  display: inline-block;
}

/*---------------page specialisations-----------------------*/

.cards {
    text-align:center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    flex-direction: column;
}

.card {
    margin-right: 3em;
    padding-top: 10rem;
    width: 35vh;
    
}

.card h2{
    text-align: center;
    font-size: 4em;
    animation: animTitle 2s ;
}

.image {
    height: 30vh;
    box-shadow: 0px 0px 35px #0d0d106b;
    border-radius: 34% 66% 68% 32% / 41% 58% 42% 59%;
    
}

@keyframes animTitle{
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes animImage{
    0%{
        -webkit-transform:scale3d(1,1,1);
        transform:scale3d(1,1,1)
    }
    30%{
        -webkit-transform:scale3d(1.25,.75,1);
        transform:scale3d(1.25,.75,1)
    }
    40%{
        -webkit-transform:scale3d(.75,1.25,1);
        transform:scale3d(.75,1.25,1)
    }
    50%{
        -webkit-transform:scale3d(1.15,.85,1);
        transform:scale3d(1.15,.85,1)
    }
    65%{
        -webkit-transform:scale3d(.95,1.05,1);
        transform:scale3d(.95,1.05,1)
    }
    75%{
        -webkit-transform:scale3d(1.05,.95,1);
        transform:scale3d(1.05,.95,1)
    }
    100%{
        -webkit-transform:scale3d(1,1,1);
        transform:scale3d(1,1,1)
    }
}

/*---------------page avis-----------------------*/

.avisimg{
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    max-width: 300px;
    margin: 0 auto;
    padding-top: 2em;
}

.supprimeravis {
    text-decoration: none;
    text-align: center;
    padding: 1em;
    background-color: #C40002;
    color: #fff;
    border: 1px solid #C40002;
    border-radius: 0.5em;
    cursor: pointer;
    display: block;
    width: 30%;
    margin: 0 auto;
    
}

.avis h1 {
    font-size: 2.5em;
    font-family: 'Bree Serif', serif;
    margin-bottom: 18px;
}

/* *****************************************************************
 VERSION TABLETTE
***************************************************************** */
@media screen and (min-width:780px) {
    
    .banner-accueil h1 {
    font-size: 4em;
    padding-top: 5.8em;
    
    }
    
    .cards {
    max-width: 90%;
    display: flex;
    flex-direction: row;
    align-content: stretch;
    flex-wrap: wrap;
    justify-content: space-around;
    
    }
    
    .card {
        
    display: grid;
    max-width: 70%; 
    justify-content: space-between;
    }
    
    .card img {
        max-width:80%;
    }
    
    .backres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    }

    .postes {
     width: 40%;
    
    }
    .postesfront {
       width: 30%;
    }

    .backelips {
        width: 33ch;
        
    }
    
    .depts {
        min-width: 30%;
    }
    
    .cats {
        width: 30%;
    }
    .tableid thead {
    font-size: 11px;
    border-bottom:2px solid #999;
    }

    .tableid tbody {
        font-size: 11px;
        text-align:right;
    }
    
    .tableid tbody tr td:nth-child(1) {
        font-size: 11px;
        font-weight: bold;
    }
    
    .tableid tbody tr td:nth-child(2) {
        font-size: 11px;
        text-align:center;
    }
    
    .tableid tbody tr:nth-child(odd) {
        font-size: 11px;
        background-color: #eee;
    }

    .singlepost {
         margin:0 auto;
         width:40%;
     }
     
    #responseAJAX,
    #responseAJAXloc{
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    } 
    
    .banner-accueil {
    height: 42em;
    background-position: 96% 80%;
    }
    
    .banner-accueil h1 {
    font-size: 3em;
    padding-top: 12.3em;
    }
}


/* *****************************************************************
 VERSION DESkTOP
***************************************************************** */

@media screen and (min-width:1024px) {
    main {
        flex-wrap:nowrap;
    }
    
    .navigation{
        
        margin:0 auto;
    }
    .nav {
        margin: 0 auto;
        display:flex;
        border-bottom: 1.5px solid black;
    }
    .nav ul {
        display:flex;
        padding-left:23em;
        padding-top: 3em;
        font-size: 1em;
    }

    .nav li a {
        font-size: 2.2em;
        white-space:nowrap;
        border:none;
        background-color: #FAFAFA;
        padding:1em;
        margin-left: -0.5em;
    }
    .nav li {
        font-size: 0.7em;
        border:none;
        padding-right: 2em;
        margin-right: -2em;

    }
    .nav img {
        width: 173px;
        margin-top: -4em;
        margin-right: -24em;
        
    }

    .nav a {
        padding-top: 1.7em;
        margin-left: -7em;
    }
    
    .header nav {
        margin:0 auto;
    }
    
   
     
    .postes {
        width: 30%;
    
    } 
     
    .postesopstul {
        margin:0 auto;
        width:30%;
     }
     
    #responseAJAX{
        display: flex;
        text-align: center;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: space-evenly;
      }
      
    .contacter {
        display: flex;
        justify-content: center;
     }
    .contactrsm{
        padding-top: 7em;

     }
     
    .avisimg{
            padding: 1em;
    display: flex;
    flex-wrap: wrap;
    /* width: inherit; */
    margin: 0 auto;
    padding-top: 2em;
    max-width: 100%;
    justify-content: space-around;
    
    }
    
    .wrap {
        width: 30%;
    }
   
    .title{
         font-size: 2em;
     }
     
     .classe2 img {
      margin-top: -16em;
    margin-bottom: -13em;
    max-width: 337px;
    width: 359px;
}
     
    .banner-accueil {
        height: 50em;
    }
    
    .banner-accueil h1 {
        padding-top: 15em;
    }
}