body {
    background-color: #222222;
}

a:hover {
    text-decoration: none;
}

#fh5co-header h1 {
    font-size: 50px;
    line-height: 75px;
}

#avatar-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 100px;
    width: 150px;
    transition: box-shadow 0.3s ease-in-out;
}

#fh5co-header .fh5co-text-wrap {
    padding-top: 70px;
    padding-bottom: 50px;
}

#table-infos {
    color: white;

}

#table-infos td {
    border-left: solid 2px;
    padding-left: 10px;
}

#table-infos h3 {

    color: white;
}

#table-infos th {
    padding: 10px 0 10px 10px;
}

#table-top {
    border-bottom: solid 2px;
    border-left: solid 2px;
}

#informations {
    margin-top: 100px;
}

.tableau-corps {
    border-left: solid 2px;
}


.periodic-table {
    display: grid;
    grid-template-columns: repeat(5, 100px [col-start]);
    grid-template-rows: repeat(5, 100px [col-start]);
    grid-gap: 4px;
}

.w3-border, .w3-blue {
    border-radius: 10px;
}

.periodic-table a {
    color: black;
}

.periodic-table .element {
    text-align: center;
    font-family: arial;
    font-weight: bold;
}


/*******************************************
************ TYPES COLORS
*******************************************/
.periodic-table .element.-reactive-nonmetal {
    background: #222222;
    border: solid 3px #fff777;
    color: #fff777;
    border-radius: 10px;
}

.periodic-table .element.-metalloid {
    background: #222222;
    border: solid 3px #8a9bff;
    color: #8a9bff;
    border-radius: 10px;
}

.periodic-table .element.-noble-gas {
    background: #222222;
    border: solid 3px #8cfffe;
    color: #8cfffe;
    border-radius: 10px;
}

.periodic-table .element.-alkali-metal {
    background: #222222;
    border: solid 3px #fb6767;
    color: #fb6767;
    border-radius: 10px;
}

.periodic-table .element.-alkaline-earth-metal {
    background: #222222;
    border: solid 3px #ffb38a;
    color: #ffb38a;
    border-radius: 10px;
}

.periodic-table .element.-post-transition-metal {
    background: #222222;
    border: solid 3px #b59ddd;
    color: #b59ddd;
    border-radius: 10px;
}

.periodic-table .element.-unknown-chemical-properties {
    background: #222222;
    border: solid 3px #bbb;
    color: #bbb;
    border-radius: 10px;
}

.periodic-table .element.-lanthanide {
    background: #222222;
    border: solid 3px #85f9ae;
    color: #85f9ae;
    border-radius: 10px;
}

.periodic-table .element.-actinide {
    background: #222222;
    border: solid 3px #bd9179;
    color: #bd9179;
    border-radius: 10px;
}

.periodic-table .element.-transition-metal {
    background: #222222;
    border: solid 3px #ffb9f4;
    color: #ffb9f4;
    border-radius: 10px;
}

/*******************************************
************ TYPES COLORS HOVER
*******************************************/
.periodic-table .element.-reactive-nonmetal:hover {
    background: #fff777;
    border: solid 3px #fff777;
    color: black;
    border-radius: 10px;
}

.periodic-table .element.-metalloid:hover {
    background: #8a9bff;
    border: solid 3px #8a9bff;
    color: black;
    border-radius: 10px;
}

.periodic-table .element.-noble-gas:hover {
    background: #8cfffe;
    border: solid 3px #8cfffe;
    color: black;
    border-radius: 10px;
}

.periodic-table .element.-alkali-metal:hover {
    background: #fb6767;
    border: solid 3px #fb6767;
    color: black;
    border-radius: 10px;
}

.periodic-table .element.-alkaline-earth-metal:hover {
    background: #ffb38a;
    border: solid 3px #ffb38a;
    color: black;
    border-radius: 10px;
}

.periodic-table .element.-post-transition-metal:hover {
    background: #b59ddd;
    border: solid 3px #b59ddd;
    color: black;
    border-radius: 10px;
}

.periodic-table .element.-unknown-chemical-properties:hover {
    background: #bbb;
    border: solid 3px #bbb;
    color: black;
    border-radius: 10px;
}

.periodic-table .element.-lanthanide:hover {
    background: #85f9ae;
    border: solid 3px #85f9ae;
    color: black;
    border-radius: 10px;
}

.periodic-table .element.-actinide:hover {
    background: #bd9179;
    border: solid 3px #bd9179;
    color: black;
    border-radius: 10px;
}

.periodic-table .element.-transition-metal:hover {
    background: #ffb9f4;
    border: solid 3px #ffb9f4;
    color: black;
    border-radius: 10px;
}

/*******************************************
************ ELEMENTS
*******************************************/

.element:hover {
    position: relative;
}

.periodic-table .element.-n1 {
    grid-column: 1/2;
    grid-row: 1/2;
}

.periodic-table .element.-n2 {
    grid-column: 1/2;
    grid-row: 2/3;
}

.periodic-table .element.-n3 {
    grid-column: 1/2;
    grid-row: 3/4;
}

.periodic-table .element.-n4 {
    grid-column: 1/2;
    grid-row: 4/5;
}

.periodic-table .element.-n5 {
    grid-column: 1/2;
    grid-row: 5/6;
}


.periodic-table .element.-n6 {
    grid-column: 2/3;
    grid-row: 3/4;
}

.periodic-table .element.-n7 {
    grid-column: 2/3;
    grid-row: 4/5;
}

.periodic-table .element.-n8 {
    grid-column: 2/3;
    grid-row: 5/6;
}


.periodic-table .element.-n9 {
    grid-column: 3/4;
    grid-row: 3/4;
}

.periodic-table .element.-n10 {
    grid-column: 3/4;
    grid-row: 4/5;
}

.periodic-table .element.-n11 {
    grid-column: 3/4;
    grid-row: 5/6;
}


.periodic-table .element.-n12 {
    grid-column: 4/5;
    grid-row: 4/5;
}

.periodic-table .element.-n13 {
    grid-column: 4/5;
    grid-row: 5/6;
}


.periodic-table .element.-n14 {
    grid-column: 5/6;
    grid-row: 2/3;
}

.periodic-table .element.-n15 {
    grid-column: 5/6;
    grid-row: 3/4;
}

.periodic-table .element.-n16 {
    grid-column: 5/6;
    grid-row: 4/5;
}

.periodic-table .element.-n17 {
    grid-column: 5/6;
    grid-row: 5/6;
}

.fh5co-text {
    padding-top: 100px;
}

/*------------- Form ---------------*/

.nb-form {
    position: fixed;
    z-index: 9999;
    width: 300px;
    background: #FFF;
    right: 20px;
    bottom: -367px;
    transition: all .8s cubic-bezier(.22, .67, .43, 1.22) .2s;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.nb-form:hover {
    bottom: 0px;
}

/*-- User Icon --*/

.nb-form .user-icon {
    position: absolute;
    top: -49px;
    right: 12px;
    display: block;
    width: 58px;
    margin: 20px auto 15px;
    border-radius: 100%;
}

/*-- Title --*/

.nb-form .title {
    background: #03a9f4;
    font-size: 16px !important;
    padding: 20px 18px !important;
    color: #fff !important;
    border-radius: 10px 10px 0 0;
}

/*-- Text --*/

.nb-form p {
    font-size: 13px;
    margin: 0;
    padding: 15px;
    color: #666;
}

.nb-form p.message {
    margin-left: 7px;
}

/*-- Form Elements --*/

.nb-form form {
    padding: 0 15px 15px 15px;
}

.nb-form input,
.nb-form textarea {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 12px;
    width: 254px;
    max-width: 254px;
    margin-bottom: 10px;
    margin-left: 7px;
    padding: 6px;
    border: none;
    border-radius: 4px;
    color: #999;
    border-bottom: 1px solid #f0f0f0;
}

.nb-form input:focus,
.nb-form textarea:focus {
    outline: none;
    box-shadow: none;
}

.nb-form input[type='submit'] {
    display: block;
    width: 120px;
    margin: 0 auto;
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    cursor: pointer;
    transition: all .4s ease;
    color: #fff !important;
    border: none;
}

.nb-form input[type='submit']:hover {
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 7px 0 rgba(0, 0, 0, 0.02), 0 3px 1px -1px rgba(0, 0, 0, 0.1);
}

.nb-form textarea {
    min-height: 110px;
}


.nb-form ::-webkit-input-placeholder {
    color: #ccb0b0;
}

.nb-form ::-moz-placeholder {
    color: #ccb0b0;
}

.nb-form :-ms-input-placeholder {
    color: #ccb0b0;
}

.nb-form :-moz-placeholder {
    color: #ccb0b0;
}

.nb-form input[type='submit'] {
    background: #03a9f4;
}

@media screen and (max-width: 676px) {
    .nb-form:hover .user-icon {
        display: none;
    }

    .nb-form .message {
        display: none;
    }

    .nb-form form {
        padding-top: 15px;
    }

    .nb-form {
        right: 50%;
        bottom: -320px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/*------------Timeline---------*/


/* ================ The Timeline ================ */

.timeline {
    position: relative;
    width: 660px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 1em 0;
    list-style-type: none;
    font-size: 15px;
}

.timeline:before {
    position: absolute;
    left: 50%;
    top: 0;
    content: ' ';
    display: block;
    width: 6px;
    height: 100%;
    margin-left: -3px;
    background: rgb(80, 80, 80);
    background: -moz-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(30, 87, 153, 1)), color-stop(100%, rgba(125, 185, 232, 1)));
    background: -webkit-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: -o-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: -ms-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: linear-gradient(to bottom, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);

    z-index: 5;
}

.timeline li {
    padding: 1em 0;
}

.timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.direction-l {
    position: relative;
    width: 300px;
    float: left;
    text-align: right;
}

.direction-r {
    position: relative;
    width: 300px;
    float: right;
}

.flag-wrapper {
    position: relative;
    display: inline-block;

    text-align: center;
}

.flag {
    position: relative;
    display: inline;
    background: rgb(248, 248, 248);
    padding: 6px 10px;
    border-radius: 5px;

    font-weight: 600;
    text-align: left;
}

.direction-l .flag {
    -webkit-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.direction-r .flag {
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.direction-l .flag:before,
.direction-r .flag:before {
    position: absolute;
    top: 50%;
    right: -37px;
    content: ' ';
    display: block;
    width: 12px;
    height: 12px;
    margin-top: -8px;
    background: #fff;
    border-radius: 10px;
    border: 4px solid rgb(255, 0, 0);
    z-index: 10;
}

.direction-r .flag:before {
    left: -37px;
}

.direction-l .flag:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: rgb(248, 248, 248);
    border-width: 8px;
    pointer-events: none;
}

.direction-r .flag:after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: rgb(248, 248, 248);
    border-width: 8px;
    pointer-events: none;
}

.time-wrapper {
    display: inline;

    line-height: 1em;
    font-size: 0.66666em;
    color: rgb(250, 0, 0);
    vertical-align: middle;
}

.direction-l .time-wrapper {
    float: left;
}

.direction-r .time-wrapper {
    float: right;
}

.time {
    display: inline-block;
    padding: 4px 6px;
    background: rgb(248, 248, 248);
    font-size: 15px;
}

.desc {
    margin: 1em 0.75em 0 0;
    color: white;
    font-size: 15px;
    font-style: italic;
    line-height: 1.5em;
}

.direction-r .desc {
    margin: 1em 0 0 0.75em;
}

/* ================ Timeline Media Queries ================ */

@media screen and (max-width: 660px) {

    .timeline {
        width: 100%;
        padding: 4em 0 1em 0;
    }

    .timeline li {
        padding: 2em 0;
    }

    .direction-l,
    .direction-r {
        float: none;
        width: 100%;

        text-align: center;
    }

    .flag-wrapper {
        text-align: center;
    }

    .flag {
        background: rgb(255, 255, 255);
        z-index: 15;
    }

    .direction-l .flag:before,
    .direction-r .flag:before {
        position: absolute;
        top: -30px;
        left: 50%;
        content: ' ';
        display: block;
        width: 12px;
        height: 12px;
        margin-left: -9px;
        background: #fff;
        border-radius: 10px;
        border: 4px solid rgb(255, 0, 0);
        z-index: 10;
    }

    .direction-l .flag:after,
    .direction-r .flag:after {
        content: "";
        position: absolute;
        left: 50%;
        top: -8px;
        height: 0;
        width: 0;
        margin-left: -8px;
        border: solid transparent;
        border-bottom-color: rgb(255, 255, 255);
        border-width: 8px;
        pointer-events: none;
    }

    .time-wrapper {
        display: block;
        position: relative;
        margin: 4px 0 0 0;
        z-index: 14;
    }

    .direction-l .time-wrapper {
        float: none;
    }

    .direction-r .time-wrapper {
        float: none;
    }

    .desc {
        position: relative;
        margin: 1em 0 0 0;
        padding: 1em;
        -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
        -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
        box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);

        z-index: 15;
    }

    .direction-l .desc,
    .direction-r .desc {
        position: relative;
        margin: 1em 1em 0 1em;
        padding: 1em;

        z-index: 15;
    }

}

/*=============Formulaire de contact============*/

.contact {
    padding: 10px;
}

button {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button, input, select, textarea {
    color: white;
    font: inherit;
    margin: 0;
}

input {
    line-height: normal;
}

textarea {
    overflow: auto;
}

#container {
    border: solid 3px white;
    margin: 0 auto;
    max-width: 650px;
    max-height: 650px;
    position: relative;
    width: 100%;
}

form {
    padding: 45px;
}

.contact h2 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 7px;
    text-align: center;
}

.email {
    float: right;
    width: 45%;
}

input[type='text'], [type='email'], select, textarea {
    background: none;
    border: none;
    border-bottom: solid 2px white;
    color: white;
    font-size: 1.000em;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0em 0 1.875em 0;
    padding: 0 0 0.875em 0;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

input[type='text']:focus, [type='email']:focus, textarea:focus {
    outline: none;
    padding: 0 0 0.875em 0;
}

.message {
    float: none;
}

.name {
    float: left;
    width: 45%;
}

select {
    background: url('http://web.missouri.edu/~blly4b/ISLT7360/FinalProject/FINAL/icon-ios7-arrow-down-32.png') no-repeat right;
    -webkit-appearance: none;
}

select::-ms-expand {
    display: none;
}

.subject {
    width: 100%;
}

textarea {
    line-height: 150%;
    height: 150px;
    resize: none;
    width: 100%;
}

::-webkit-input-placeholder {
    color: white;
}

#form_button {
    background: none;
    border: solid 2px white;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    outline: none;
    padding: 20px 35px;
    text-transform: uppercase;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.submit {
    text-align: center;
    padding-top: 50px;
}

#form_button:hover {
    background: white;
    color: black;
}

/*----------------- projets -----------------*/

.greenr-image {
    width: 60%;
    margin: auto;
}

.titre-projet {
    padding-top: 100px;
    padding-bottom: 100px;
}

.projet-box {
    padding-top: 100px;
}

.video-car-tracking {
    text-align: center;
}

#image-projet-accueil {
    padding-bottom: 50px;
}
@media(max-width: 992px) {
    #image-projet-accueil {
        width: 90%;
    }
}

.projet-top {
    padding-bottom: 100px;
}

.formations {
    padding-top: 200px;
}


/* Three image containers (use 25% for four, and 50% for two, etc) */
.column {
    float: left;
    width: 33.33%;
    padding: 5px;
}

/* Clear floats after image containers */
.row::after {
    content: "";
    clear: both;
    display: table;
}

small {
    color: whitesmoke;
}

.shareit-images {
    display: flex;
    flex-direction: column;
    width: 200%;
}

@media(max-width: 992px) {
    .competences-table {
        overflow-x: scroll;
        padding-bottom: 15px;
    }
}
