/* GENERAL */

* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    list-style: none;
}

body {
    background-color: #F7F7F7;
}

h1 {
    font-size: 1.6em;
    font-weight: bold;
    padding: 0.5em 0;
    margin-bottom: 1em;
    border-bottom: 2px solid black;
}

h2 {
    font-size: 1.3em;
    font-weight: bold;
    padding: 0.5em 0;
    margin-bottom: 1em;
    border-top: 1px solid grey;
}

.precision {
    font-size: 0.8em;
}

.table thead th {
    border-bottom: 1px solid black;
}

/* MENU HAUT */

.haut {
    background-color: #F7F7F7;
    padding: 0 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #575758;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    border-bottom: 2px solid #E2E2E2;
    height: 5vh;
    /* background-image: url('../icon/Plan-de-travail-1.png'); */
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.haut__title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    margin-bottom: 0;
    border: none;
    font-weight: normal;
}

.haut__title--img {
    padding: 0 0.5em;
    border-right: 1px solid #575758;
    margin-right: 0.5em;
}

.haut__menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.3em;
}

.haut__menu--liste {
    display: flex;
    justify-content: center;
}

.haut__menu--item {
    margin: 0 0.5em;
    padding-top: 0.5em;
    padding-bottom: 0;
    cursor: pointer;
    border-top: 1px solid transparent;
    transition: 0.1s;
}

.haut__menu--item:hover {
    border-top: 1px solid #575758;
}

.haut__deconnect, .connect {
    border: 2px solid #575758;
    color: #575758;
    border-radius: 3px;
    padding: 0.5em;
    margin-left: 1em;
    font-size: 0.6em;
    height: 100%;
    transition: 0.1s;
    cursor: pointer;
    text-decoration: none;
}

.haut__deconnect:hover, .connect:hover {
    background-color: #575758;
    padding: 0.52em;
    font-size: 0.62em;
    color: #F7F7F7;
}

.connect {
    height: auto;
    font-size: 0.8em;
}

.connect:hover {
    font-size: 0.82em;
}

/* HEADER */

.header__img {
    text-align: center;
    margin: 1em;
}

/* .header {
    padding: 1em;
    box-shadow: inset 1px 1px 5px grey;
    background-color: #F7F7F7;
}

.header__title {
    padding-bottom: 0.5em;
}

.header__subtitle {
    padding-left: 1em;
} */

/* MENU PRINCIPAL */

.principal {
    padding-top: 1em;
    margin: auto;
}

.principal__menu--liste {
    display: flex;
    justify-content: space-evenly;
}

.principal__menu--item {
    margin: 0 2em;
    display: flex;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
    padding-bottom: 0.2em;
    cursor: pointer;
}

.principal__menu--item a {
    text-decoration: none;
    color: #575758;
}

.principal__menu--item a:visited {
    text-decoration: none;
}

.principal__menu--item img {
    padding-right: 0.3em;
}

.principal__menu--item:hover {
    border-bottom: 2px solid #575758;
}

.principal__menu--item .active {
    border-bottom: 2px solid #575758;
}

/* MAIN */

.main {
    display: flex;
    justify-content: space-around;
    margin: 0.5em 0;
}

/* MENU GAUCHE */

/* .menu__gauche {
    background-color: #066DAE;
    border-radius: 3px;
    padding: 0.5em;
    width: 15vw;
    color: #F7F7F7;
    margin: 0 auto;
    margin-left: 1em;
} */

/* SECTION */

.section {
    border: 2px solid #E2E2E2;
    box-shadow: 1px 1px 5px #E2E2E2;
    border-radius: 3px;
    margin: 0 1em;
    width: 75vw;
    padding: 1em;
}

/* ASIDE */

/* .aside {
    width: 15vw;
    background-color: #F07E23;
    border-radius: 3px;
    padding: 0.5em;
    color: #F7F7F7;
    margin: 0 auto;
    margin-right: 1em;
} */

/* MENU BAS */

/* .menu__bas {
    border: 2px solid #066DAE;
    border-radius: 3px;
    padding: 1em;
    text-align: center;
    margin: 0.5em auto;
    width: 95%;
} */

/* FOOTER */

.footer {
    border: 2px solid #E2E2E2;
    box-shadow: 1px 1px 5px #E2E2E2;
    border-radius: 3px;
    margin: 0.5em auto;
    padding: 1em;
    width: 95%;
}

.footer__title {
    text-align: center;
}

.footer__content {
    display: flex;
    justify-content: center;
    color: #575758;
    font-weight: bold;
}

/* .footer__menu, .footer__middle, .footer__right {
    width: 100%;
    text-align: center;
    background-color: #066DAE;
    border-radius: 3px;
    padding: 0.5em;
    margin: 1em;
    color: #F7F7F7;
} */

/* FORMULAIRES GENERAUX */

form p {
    display: flex;
    width: 60%;
    justify-content: space-between;
}

form p input, form p select, form p textarea {
    width: 55%;
}

form p input[type="submit"] {
    width: auto;
    padding: 0 0.2em;
}

fieldset {
    border-bottom: 1px solid grey;
}

/* FORMULAIRES CONNEXION */

#connect, #first_connect {
    text-align: center;
    width: 70%;
    margin: auto;
    padding: 2em 0;
}

#connect p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
}

#connect label {
    color: #575758;
    font-size: 1.2em;
    padding-bottom: 0.2em;
}

#connect #email, #connect #password {
    margin: 0.5em 0;
    width: 20%;
    margin: auto;
    border: 1px solid #575758;
    background-color: #F7F7F7;
    color: #575758;
    border-radius: 3px;
    padding: 0.3em;
    font-size: 1em;
}

#connect #submit {
    margin: 2em auto;
    width: 20%;
    background-color: #066EAE;
    color: #F7F7F7;
    border: none;
    border-radius: 3px;
    padding: 0.3em;
    cursor: pointer;
    font-size: 1em;
}

#connect a {
    text-decoration: none;
    color: #066EAE;
    padding-bottom: 0.3em;
}

#connect a:hover {
    text-decoration: underline;
}

/* SOCIETE APRES RECHERCHE */

.societe {
    padding: 1rem;
}

.societe__detail {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    width: 100%;
    padding: 1.5rem 1rem;
    border-bottom: 1px dashed grey;
}

.societe__identification, .societe__moyen_comm {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

.societe__identification {
    border-right: 2px solid grey;
}

.societe__title {
    border: none;
    border-bottom: 1px solid grey;
    width: 60%;
    margin: 1rem auto;
}

.societe__personnel {
    padding: 1.5rem 1rem;
    border-bottom: 1px dashed grey;
}

.societe__personnel .societe__title {
    width: 25%;
    text-align: center;
    margin-bottom: 1.5rem;
}

.societe__personnel--detail {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
    width: 100%;
}

.societe__personnel--item {
    margin: 0.1rem;
}

.societe__actions {
    text-align: center;
    padding: 1.5rem 1rem;
}

.societe__actions .societe__title {
    margin-bottom: 1.5rem;
}

.societe__actions--bouton {
    padding: 0.5rem 2rem;
}