/* global */
body{
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    font-size: 19px;
    background-color: #e6c4c4 ;
}
.width{
    width: 1080px;
    margin: auto;
    position: relative;
}
/* header */
header{
    font-weight: bold;
    display: flex;
    justify-content: right;
    height: 130px;
    background-color: #d10b0b;
    box-shadow: 0px 2px 5px black;
}
header img{
    width: 125px;
    position: absolute;
    left: -26px;
    top: 4px;
}
header img:hover{
    cursor: url('../cursor.cur'), pointer;
}
header p{
    color: #f5f0f0;
    position: absolute;
    left: 84px;
    top: -14px;
}
header span{
    font-size: 23px;
}
/* nav */
nav ul {
    padding: 20px 0px;
    text-align: right;
}
nav li {
    display: inline;
    margin-right: 15px;
}
nav li a {
    font-size: 21px;
    text-decoration: none;
    padding: 5px 20px;
    color: #f5f0f0;
}
nav li a:hover{
    text-decoration: underline;
    border-radius: 4px;
    color: #137549;
    background-color: #f5f0f0;
    cursor: url('../cursor.cur'), pointer;
}
.select{
    border-radius: 4px;
    color: #137549;
    background-color: #f5f0f0;
}
/* main */
main{
    color: #d10b0b;
    background-color: #f5f0f0;
    margin: 0px auto;
    padding: 40px 30px 70px 30px;
    width: 1080px ;
}
h1{
    margin-top: 0px;
    font-size: 32px;
}
p, label{
    color: #941212;
}
.flex{
    display: flex;
}
article{
    margin: 20px auto 40px auto;
    text-align: center;
}
/* accueil */
article a img{
    height: 400px;
    scale: 100%;
    border: 0px groove #137549c0;
    border-radius: 10px;
    transition: scale 0.6s, border-width 0.2s;
    transition-delay: 0.2s;
}
article:hover, article:focus-within{
    z-index: 2;
}
a:hover img, a:focus img{
    scale: 108%;
    border-width: 4px;
    cursor: url('../cursor.cur'), pointer;
}
/* les persos */
.persos article{
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    margin-bottom: 26.5px;
}
.persos img{
    max-height: 360px;
    max-width: 100%;
    padding-bottom: 45px;
    margin: auto;
}
.persos h3{
    position: absolute;
    bottom: 10px;
    width: 100%;
    margin: 0px;
}
.retour{
    margin: 10px auto;
    display: block;
    text-align: center;
    text-decoration: none;
}
.p_fin{
    padding-bottom: 25px;
    margin-top: 0px;
}
/* partemaires */
.equipe img{
    width: 100%;
    height: auto;
}
#membre1{
    width: 250px;
}
#membre2{
    width: 210px;
}
#membre3{
    width: 250px;
}
#membre4{
    width: 315px;
}
#membre4 img{
    margin-top: 50px;
    margin-bottom: 50px;
}
.lien106{
    padding: 15px;
    text-align: center;
    display: block;
    color: #941212;
    font-size: 20px;
}
.lien106:hover, .lien106:focus{
    font-weight: bold;
    color: #d10b0b;
    cursor: url('../cursor.cur'), pointer;
}
.equipe a:hover{
    border-width: 0px;
}
/* crédit */
.credit2{
    margin-left: 150px;
}
/* galerie */
.galerie{
    column-count: 3;
    column-gap: 18px;
    padding: 0px 10px;
}
.galerie img{
    margin: 7px 0px;
    border-radius: 10px;
    width: 100%;
    filter: grayscale(1);
}
.galerie img:hover{
    filter: grayscale(0);
}
/* tableau */
#tableau_wrapper{
    margin-top: 50px;
}
div.dt-container select.dt-input, div.dt-container .dt-search input{
    border-color: #941212;
    background-color: white;
}
div.dt-container select.dt-input{
    color: #d10b0b;
    width: 50px;
    text-align: center;
}
div.dt-container select.dt-input:hover{
    cursor: url('../cursor.cur'), pointer;
}
div.dt-container .dt-search input{
    color: black;
    margin-left: 12px;
    width: 232px;
}
table.dataTable thead > tr > th.dt-orderable-asc, table.dataTable thead > tr > th.dt-orderable-desc{
    cursor: url('../cursor.cur'), pointer;
}
table tbody tr:nth-child(odd) {
    color: #941212;
    background-color: #f3e5e5;
}
table tbody tr:nth-child(even) {
    background-color: #f5f0f0;
}
div.dt-container .dt-paging nav{
    margin-right: 16px;
}
div.dt-container .dt-paging .dt-paging-button{
    padding: 5px 12px;
    font-size: 16px;
    border-radius: 4px;
}
div.dt-container .dt-paging .dt-paging-button.current, div.dt-container .dt-paging .dt-paging-button.current:hover, div.dt-container .dt-paging .dt-paging-button.current:focus{
    color: #d10b0b !important;
    background-color: white;
    border-color: #941212;
    font-weight: normal;
    cursor: default;
}
div.dt-container .dt-paging .dt-paging-button:hover, div.dt-container .dt-paging .dt-paging-button:focus{
    color: white !important;
    font-weight: bold;
    background: linear-gradient(to bottom, rgba(229.5, 229.5, 229.5, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
    background-color: #941212;
    border-color: transparent;
    cursor: url('../cursor.cur'), pointer;
}
div.dt-container .dt-paging .dt-paging-button.disabled:hover, div.dt-container .dt-paging .dt-paging-button.disabled:focus{
    font-weight: normal;
    background-color: transparent;
    border-color: transparent;
    color: rgba(0, 0, 0, 0.5) !important;
}
tbody img{
    max-width: 105px;
    max-height: 160px;
    margin: auto;
}
.imgs{
    max-width: 215px;
}
/* form */
form{
    margin: 38px auto 0px auto;
    padding: 30px;
    border-radius: 6px;
    width: 750px;
    box-shadow: 0px 2px 5px black;
}
form label{
    display: block;
    margin-bottom: 5px;
}
label span{
    color: #d10b0b;
    font-weight: bold;
}
form input, textarea{
    margin-bottom: 20px;
    border-radius: 4px;
    width: 742px;
}
form input[type="text"], input[type="email"]{
    height: 21.5px;
}
form input[type="text"]{
    width: 325px;
    margin-right: 50px;
}
textarea{
    height: 80px;
}
form p{
    color: #d10b0b;
    font-weight: bold;
}
form p span{
    color: #137549;
}
input::placeholder, textarea::placeholder{
    font-size: 13px;
}
/* dropdown */
.dropdown{
    position: relative;
}
.options{
    top: 60px;
    width: 746px;
    position: absolute;
    border: 1.5px solid #941212;
    border-radius: 4px;
    background-color: #f3e5e5;
    z-index: 2;
    display: none;
    padding: 3px 0px;
}
.choix{
    display: flex;
    position:relative;
}
input[type="radio"]{
    appearance: none;
    z-index: -2;
    position: absolute;
    left: 2px;
    border-radius: 5px;
    height: 25px;
    width: 731px;
}
input[type="button"]{
    padding-left: 5px;
    text-align: left;
    width: 748px;
    background-color: white;
    font-size: 14px;
}
input[type="button"]:hover, input[type="button"]:focus{
    color: #941212;
    border-color: #d10b0b;
    cursor: url('../cursor.cur'), pointer;
}
.choix label{
    padding: 3px 0px 2px 12px;
    font-size: 14.5px;
    margin: 3px 0px 3px 7px;
    width: 718px;
    border-radius: 4px;
    border: 1px solid transparent;
}
input[type="radio"]:checked{
    background-color: white;
    border: 2px solid #941212;
}
input[type="radio"]:checked + label{
    color: black;
}
input[type="radio"]:checked + label:hover{
    border-color: transparent;
}
.choix label:hover{
    border-color: #d10b0b;
}
.show{
    display: block;
}
/* submit */
input[type="submit"], .retour{
    margin-top: 30px;
    padding: 8px;
    border-radius: 4px;
    width: 750px;
    font-size: 16px;
    font-weight: bold;
    color: #f5f0f0;
    background-color: #d10b0b;
    border-width: 0px;
    box-shadow: 0px 2px 5px #941212;
    transition: scale 0.5s;
    transition-delay: 0.1s;
}
input[type="submit"]:hover, input[type="submit"]:focus, .retour:hover, .retour:focus{
    scale: 104%;
    background-color: #137549;
    box-shadow: 0px 2px 5px black;
    cursor: url('../cursor.cur'), pointer;
}
/* footer */
footer{
    position: relative;
    background-color: #941212;
    padding: 15px 20px;
}
footer p{
    color : #f5f0f0;
    margin: 0px;
    font-size: 16px;
}
footer a{
    position: absolute;
    right: 85px;
    top: 5.5px;
    color : #f5f0f0;
}
footer a:hover{
    font-weight: bold;
    cursor: url('../cursor.cur'), pointer;
}