/* Général */
/*=============================*/
html {
    height: 100%;
}

body {
    background-color: #222a35;
    margin: 0px;
    padding: 0px;
    min-height: 100%;
    font-family: Consolas, Calibri;
}

#titresite {
    /*color: rgba(46, 117, 182, 1);*/
    color: #9dc3e6;
    margin-left: 2%;
    display: inline-block;
    font-size: 1.3em;
    line-height: 1em;
}

#titresite h1, #titresite h2 {
    text-align: center;
}

article {
    padding: 3%;
    background-color: #d9d9d9;
    font-family: Calibri;
}

article h2 {
    color: rgba(46, 117, 182, 1);
    font-size: 2.0em;
    text-align: center;
}

article h3 {
    color: rgba(46, 117, 182, 1);
}

.AjustArticle {
    text-align: center;
}

.AjustArticle .PartieDetailMeconnaitre, .AjustArticle .DetailCompetence {
    text-align: left;
}

/*=============================*/


/* Menu */
/*=============================*/
nav {
    display: inline-block;
    width: auto;
    text-align: center;
    float: right;
    margin-right: 2%;
}

nav ul {
    list-style-type: none;
}

nav li {
    display: inline-block;
    margin-right: 10px
}

nav a {
    font-size: 1.1em;
    text-decoration: none;
    color: #9dc3e6;
}

nav a:hover, #en_cours {
    color: cyan;
    border-bottom: 3px solid rgba(46, 117, 182, 1);
}

nav img {
    display: block;
    width: 50px;
    margin: 0 auto 0 auto;
}

/*=============================*/


/*footer*/
/*=============================*/
footer {
    text-align: center;
    margin-bottom: 0;
}

/*=============================*/


/*Page Acceuil */
/*=============================*/
.maphoto {
    vertical-align: top;
    margin-left: 5%;
    width: 15%;
    height: 30%;
    -ms-transform: rotate(-8deg); /*ancien internet explorer*/
    -webkit-transform: rotate(-8deg); /*Google Chrome*/
    -o-transform: rotate(-8deg); /*Internet explorer*/
    -moz-transform: rotate(-8deg); /*Firefox*/
    transform: rotate(-8deg); /*Pour les autres navigateurs*/
}

.bienvenue {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    margin-left: 2%;
    font-size: 1.2em;
}

.affichTwitter {
    width: 300px;
    display: inline-block;
}

.bienvenue ul {
    list-style-type: circle;
    padding-left: 1%;
    text-align: left;
    margin-left: 3%;
}

.bienvenue h2 {
    text-align: left;
    width: 70%;
}

/*=============================*/


/*Page cv*/
/*=============================*/
.mon_cv {
    text-align: center;
}

#cv_afficher {
    width: 600px;
    height: 850px;
}

#lienCV {
    width: 50px;
}

/*=============================*/


/* Partie projet */
/*=============================*/

.un_projet {
    display: inline-block;
    width: 30%;
    margin: 0 1% 0 1%;
    transition-duration: 2s;
}

.un_projet:hover {
    opacity: 0.6;
    -ms-transform: rotate(-5deg); /*ancien internet explorer*/
    -webkit-transform: rotate(-5deg); /*Google Chrome*/
    -o-transform: rotate(-5deg); /*Internet explorer*/
    -moz-transform: rotate(-5deg); /*Firefox*/
    transform: rotate(-5deg); /*Pour les autres navigateurs*/
}

.un_projet img {
    width: 90%;
}

.AjustProjet {
    width: 100%;
    text-align: center;
    margin-top: 5%;
}

.AjustProjet h3 {
    text-align: left;
    margin-left: 2%;
    font-size: 1.1em;
}

.AjustProjet a {
    text-decoration: none
}

/*=============================*/


/* Page d'un projet */
/*=============================*/
figure {
    text-align: center;

}

figure img {
    border: 2px outset rgba(46, 117, 182, 1);
    border-radius: 10px;
    max-width: 50%;
    max-height: 50%;
}

#Article_projet {
    padding-left: 15%;
    padding-right: 15%;
}

#Article_projet h2 {
    color: white;
    border: solid 2px black;
    background-color: #222A35;
}

#Article_projet a {
    color: rgba(46, 117, 182, 1);
}

/*=============================*/


/* pied de page */
/*=============================*/
.auteur {
    color: #9dc3e6;
}

.profil ul {
    display: inline-block;
    margin: 5%;
}

.profil ul li {
    list-style-type: none;
    display: inline-block;
}

.contact, .pubnav {
    color: #9dc3e6;
    display: inline-block;
    margin: 3%;
}

/*=============================*/

/*Page competence*/
/*=============================*/
.barre-progression {
    margin-bottom: 1%;
}

.barre-progression li {
    width: 100px;
}

.barre-progression li, .barre-progression progress {
    display: inline-block;
    margin-left: 2%;
}

.listeCompetence {
    margin: 4%;
    list-style-type: circle;
}

/*=============================*/

/*Me connaitre*/
/*=============================*/
.PartieDetailMeconnaitre, .DetailCompetence {
    width: 40%;
    height: 30%;
    display: inline-block;
    margin: 2%;
    vertical-align: top;
}

.PartieDetailMeconnaitre p, .DetailCompetence p {
    font-size: 1.3em;
    margin-left: 1%;
    margin-right: 4%;
}

/*==============================*/

/*Bordure titre*/

.PartieDetailMeconnaitre h3, .DetailCompetence h3, .bienvenue h2, .un_projet h3, #titreLeProjet {
    background-image: url("/images/bordure.png");
    background-repeat: no-repeat;
    background-size: 100%;
    color: white;
    padding: 1% 0 1% 2%;
    font-size: 1.2em;
}

/*=============================*/

/*Page Contact*/
/*=============================*/
#formulaireContact {
    margin: auto;
    width: 50%;
    text-align: center;
}

#formulaireContact a {
    color: rgba(46, 117, 182, 1);
}

.bouton {
    background-color: #3B4451;
    color: white;
    text-align: center;
    border-radius: 35px;
    padding: 2%;
    width: 25%;
    font-size: 1em;
}

.bouton:hover {
    background-color: #4D6180;
}

.contenuGroupBox {
    margin-left: auto;
    margin-right: auto;
    width: 430px;
    text-align: left;
}

.contenuGroupBox select, .contenuGroupBox input, .contenuGroupBox textarea {
    border: 2px solid #a1a1a1e6;
    border-radius: 5px;
    padding: 1%;
}

label {
    width: 250px;
    display: block;
    float: left;
}


.iconMail {
    margin: auto;
    text-align: center;
}

.iconMail img {
    width: 30px;
    vertical-align: middle;
}

.iconMail label {
    width: 100%;
    display: block;
    float: left;
}

/*=============================*/

.erreur404, .Confirme_Envoie, .erreur_general {
    text-align: center;
}

.erreur404 h2, .Confirme_Envoie h2, .erreur_general h2 {
    font-size: 2em;
}

.erreur404 p, .Confirme_Envoie p, .erreur_general p {
    font-size: 1.7em;
}

.erreur404 p a, .Confirme_Envoie p a, .erreur_general p a {
    color: rgba(46, 117, 182, 1);
}

/*-----------Pour le tableau----*/
table {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    background-color: #A4B2BF;
}

td, th /* Mettre une bordure sur les td ET les th */
{
    border: 1px solid black;
}

.divTable h3 {
    text-align: center;
}

/*--------------------------------



/*----------------Partie adaptation-------------*/

@media screen and (min-width: 481px) and (max-width: 1223px) {
    header {
        text-align: center;
    }

    .maphoto {
        margin-left: 0;
    }

    nav {
        text-align: center;
        float: none;
    }

}