@font-face{
    font-family:admin;
    src:url("../fonts/admin.ttf");
}
@font-face{
    font-family:colab;
    src:url("../fonts/ColabThi.otf");
}
@font-face{
    font-family:dinar;
    src:url("../fonts/Dinar.otf");
}
*{
    font-family:colab,arial,sans-serif;
    font-size:12pt;
}
body{
    margin:0;
    min-height:100vh;
    padding:0;
    background-image:url("../images/back2.jpg");
    background-size:cover;
    background-position:50% 50%;
    background-attachment:fixed;
}
#body{
    background-image:url("../images/arr_login.png");
    background-size:cover;
    background-repeat:no-repeat;
    background-position:50% 0;
    background-attachment:fixed;
}
header{
    padding:20px;
    /*border-bottom:solid 4px #9E5324;*/
    box-shadow:0 10px 20px rgba(0,0,0,0.4);
    display:flex;
    align-items:center;
    justify-content:space-between;
    background-color:rgba(255,255,255,0.8);
}
#cred{
    display:flex;
    align-items:center;
    justify-content: space-between;
}
#cred>div{
    font-size:24pt;
    font-family:admin;
    color:#000;
}
#cred a{
    filter:grayscale(1);
    transition:filter 0.3s ease;
}
#cred a:hover{
    filter:grayscale(0);
    transition:filter 0.3s ease;
}
#logout{
    width:40px;
    margin-left:20px;
}
.annee_univ{
    font-size:14pt;
    font-family:admin;
    margin-top:2px;
}
h1{
    font-size:18pt;
    font-family:admin,sans-serif;
    margin:0;
    /*color:#407E9B;*/
    color:#9E5324;
}
h3{
    font-size:12pt;
    font-weight:normal;
    font-family:admin,sans-serif;
    margin:0;
}
#form{
    padding:20px;
    margin-top:40px;
}
.note{
    margin-bottom:20px;
    padding-bottom:20px;
    color:#000;
    border-bottom:solid 1px rgba(255,255,255,0.8);
}
.cform{
    background-color:#F8F8F8;
    background-color:rgba(255,255,255,0.5);
    padding:20px;
    margin-top:10px;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:360px;
    width:700px;
    margin:auto;
    box-shadow:0 0 14px rgba(0,0,0,0.4);
    margin-bottom:20px;
}
.input{
    margin-top:6px;
    padding:10px;
    border:solid 1px #FFF;
    outline:none;
    width:100%;
    display:block;
    margin-bottom:14px;
    box-sizing:border-box;
    background-color:#FFF;
    box-shadow:0 0 10px rgba(0,0,0,0.05);
}
.input:focus{
    box-shadow:0 0 10px rgba(0,0,0,0.4);
    transition:box-shadow 0.3s ease;
}
.submit{
    margin-top:20px;
    margin-bottom:20px;
    padding:10px;
    background-color:#333;
    border:solid 1px #333;
    outline:none;
    width:100%;
    color:#FFF;
    font-size:14pt;
    font-family:admin,dinar,sans-serif;
    cursor:pointer;
    box-sizing:border-box;
    transition:background 0.3s ease;
}
.submit:hover{
    background-color:#9E5324;
    transition:background 0.3s ease;
}
.confirm{

}
.reset{
    background-color:#A00;
}
#message{
    margin-top:0px;
    background-color:#C00;
    padding:20px;
    color:#FFF;
    position:absolute;
    left:0;
    right:0;
    display:flex;
    justify-content:space-between;
}
#message b{
    color:#FFF;
}
#info{
    padding:20px;
}
#info h1{
    color:#444;
}
#info h1 span{
    color:#407E9B;
    font-size:18pt;
    font-family:admin,sans-serif;
}
#info .titre{
    margin-top:14px;
}
#info .valeur{
    font-weight:bold;
}
#bouton{
    background-color:#70c029;
    width:200px;
    padding:10px 20px;
    text-align:center;
    color:#FFF;
    margin-top:20px;
    cursor:pointer;
    display:block;
    text-decoration:none;
    font-family:admin;
    font-size:14pt;
}
#bouton:hover{
    background-color:#508EAB;
}
#bouton img{
    width:20;
    vertical-align:middle;
    margin-right:6px;
    margin-top:-4px;
}
#conf{
    margin-top:20px;
    font-size:14pt;
    color:#FFF;
    background-color:#70c029;
    padding:20px;
    font-weight:bold;
}
#conf img{
    vertical-align:middle;
    width:20px;
}
#headc{
    display:flex;
    align-items:center;
}
#headc img{
    width:60px;
    margin-right:10px;
}
#recu{
    display:inline-block;
    vertical-align:middle;
    padding:8px 14px;
    border:solid 1px #FFF;
    background-color:rgba(255,255,255,0.1);
    text-decoration:none;
    color:#FFF;
    transform:translate(20px,0);
    transition:all 0.4s ease;
}
#recu:hover{
    background-color:rgba(0,0,0,0.2);
    transition:all 0.4s ease;
}
#recu img{
    vertical-align:middle;
    margin-right:6px;
}
#captcha{
    display:block;
    margin-bottom:-10px;
    margin-top:20px;
}
.label{
    margin-bottom:6px;
    margin-top:20px;
    display:flex;
    justify-content:space-between;
}
.labelfr{
    font-size:12pt;
    font-family:admin;
}
.labelar{
    text-align:right;
    font-family:dinar;
}
.titlabel{
    background-color:rgba(0,0,0,0.4);
    padding:10px;
    color:#FFF;
    margin:20px 0;
}
.titlabel *{
    font-size:18pt;
}
.ast{
    color:#C00;
}
.erreur{
    border-color:#C00;
    background-color:#FDD;
}
#ent{
    border-left:solid 1px #AAA;
    padding-left:10px;
}
#contform{
    width:100%;
    box-sizing:border-box;
}
#infos{
    background-image:url("../images/back5.jpg");
}
.noteverif{
    display:flex;
    justify-content:space-between;

}
.modifier{
    padding:10px;
    box-sizing:border-box;
    display:block;
    text-decoration:none;
    color:#FFF;
    background-color:#333;
    text-align:center;
    transition:background 0.3s ease;
}
.noteverif>*{
    width:49%;
}
.modifier:hover{
    background-color:#9E5324;
    transition:background 0.3s ease;
}
.fr{
    font-family:admin,sans-serif;
    vertical-align: middle;
}
.ar{
    font-family:dinar;
    vertical-align: middle;
}
.buttons{
    display:flex;
    justify-content:space-between;
}
.buttons>input{
    width:49%;
}
.radio{

    text-align:center;
}
label{
    width:20px;
    height:20px;
    border-radius:20px;
    border:solid 2px #888;
    background-color:#FFF;
    cursor:pointer;
    display:inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:0 0 8px rgba(0,0,0,0.2);
}
label>div{
    width:12px;
    height:12px;
    border-radius:12px;
    background-color:transparent;
    display:inline-block;
}
input[type="radio"]:checked+label>div{
    background-color:#888;
}
.radio input[type="radio"]{
    display:none;
}
#couverture1:not(:checked)~#ch_organisme{
    display:none;
}
#couverture1:checked~#ch_organisme{
    display:block;
}
#pere_decede1:not(:checked)~#ch_date_deces_pere{
    display:none;
}
#pere_decede1:checked~#ch_date_deces_pere{
    display:block;
}
#mere_decedee1:not(:checked)~#ch_date_deces_mere{
    display:none;
}
#mere_decedee1:checked~#ch_date_deces_mere{
    display:block;
}
#appinacc{
    font-family:admin,sans-serif;
    width:600px;
    box-sizing:border-box;
    margin:auto;
    margin-top:100px;
    padding:30px;
    background-color:rgba(0,0,0,0.6);
    text-align:center;
    font-size:24pt;
    color:#FFF;
    box-shadow:0 0 10px rgba(255,255,255,0.1);
}
.icon_verif{
    width:20px;
    vertical-align:middle;
    margin-right:6px;
    filter:invert(1) brightness(20);
}

/* cgu checkbox css */

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    margin-top: 15px;
}

.checkbox-label {
    all: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.checkbox-label a {
    margin-left: 5px;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    display: inline-block;
    transition: all 0.2s ease;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-label .custom-checkbox {
    background-color: #007bff;
    border-color: #007bff;
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-label .custom-checkbox:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 7px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.validation-message {
    color: red;
    font-size: 14px;
    margin-left: 10px;
    display: none;
    position: absolute;
    bottom: -20px;
    left: 30px;
}

