* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Segoe UI, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    color: #2f2f2f;
    line-height: 1.5;
    background-color: #222;
}

@keyframes nuages-1 {
    to {background-position: 800px 0;}
}

@keyframes nuages-2 {
    to {background-position: 600px 0;}
}

@keyframes nuages-3 {
    to {background-position: 400px 0;}
}

#fond-1, #fond-2, #fond-3 {
    position: fixed;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: 0 0;
}

#fond-1 {
    z-index: -1;
    background-image: url('img/nuages-1.png');
    animation: nuages-1 20s infinite linear;
}

#fond-2 {
    z-index: -2;
    background-image: url('img/nuages-2.png');
    animation: nuages-2 40s infinite linear;
}

#fond-3 {
    z-index: -3;
    background-image: url('img/nuages-3.png');
    animation: nuages-3 60s infinite linear;
}

#fond-4 {
    z-index: -4;
    position: fixed;
    width: 100%;
    height: 100%;    
    background-color: #bdf;
    background: linear-gradient(to bottom, #579, #bdf, #bbbcff);
}

h2 {
    margin: 20px 0;
    text-align: center;
}

.spacer {
    width: 100%;
    height: 20px;
}

.login_bloc {
    width: 90%;
    max-width: 400px;
    min-height: 300px;
    border: #d7d7d7 1px solid;
    border-radius: 8px;
    margin: 0 auto 10px auto;
    padding: 0px 10px;
    font-size: 1em;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3);
    background-color: #fff;
}

.login_bloc img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    margin-top: 10px;
    border-radius: 5px 5px 0 0;
}
.login_bloc p {
    margin-top: 10px;
}

.in_red {
    color: #f00;
}

#uploadStatus {
    margin: 0 0 20px 10px;
    font-weight: bold;
}

.ath_container {
    width: 800px;
    border: #d7d7d7 1px solid;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    padding: 0px 20px;
    font-size: 1em;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3);
    background-color: #fff;
}

.ath_container a {
    text-decoration: none;
    color: #2f20d1;
}

.ath_container a:hover {
    text-decoration: underline;
}

.ath_container img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    margin-top: 20px;
    border-radius: 5px 5px 0 0;
}

.ath_container table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin-top: 20px;
}

.ath_container table th,
.ath_container table td {
    padding: 5px;
    width: 50%;
}

.ath_container table tr {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

tr:nth-child(even) {
    background-color: #f2f2f2
}

.ath_container .progress {
    margin: 20px 0 0 0;
    width: 300px;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 5px;
}

.ath_container .progress-bar {
    width: 0;
    height: 24px;
    background-color: #4CAF50;
    background: linear-gradient(#3D8E40, #58CC5C, #3D8E40);
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.ath_container input {
    box-sizing: border-box;
    width: 100%;
    padding: 8px 5px;
    border: 1px dashed #b7b7b7;
    border-radius: 4px;
    padding: 40px;
    background: #ededed;
}

.ath_container button,
.ath_container input[type=submit],
.ath_container input[type=button],
.login_bloc input[type=submit] {
    margin-left: 10px;
    padding: 6px 15px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 20px;
    color: #000;
    background-color: #fdf595;
    border: none;
    box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, .4);
    transition: all .2s;
}

.ath_container button:hover,
.ath_container input[type=submit]:hover,
.ath_container input[type=button]:hover,
.login_bloc input[type=submit]:hover {
    background-color: #3E8E41;
    color: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .3);
}

#bouton_deconn {
    display: block;
    width: auto;
    margin: 10px 10px 0 auto;
}

::placeholder {
    color: #bdbfc4;
}

.ligne_dossier {
    margin: 5px 0 5px 0;
    text-align: center;
    color: #fff;
    background-color: #364664;
    background: linear-gradient(to right, #7696bd, #364664 30%, #364664 70%, #7696bd);
    border-radius: 5px;
}

.ligne_fichier {
    padding: 10px 0;
    border-top: #d7d7d7 1px solid;
}

#media_view {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(50, 50, 50);
    background-color: rgba(50, 50, 50, .9);
}

#media_view div {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 45%;
}

#audio_bloc {
    display: block;
    width: 90%;
    max-width: 700px;
    margin: 0 auto 10px auto;
    background-color: #000;
}

#titre_bloc {
    color: #ffffff;
    text-align: center;
    font-size: 1.4em;
    cursor: default;
}

#close_view {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.4em;
    color: #fff;
    cursor: pointer;
    transition: all .2s;
}

#close_view:hover {
    color: #000;
}

.centrage_vertical {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
}

@media all and (max-width: 800px) {
    .spacer {
        height: 10px;
    }
    #entete_img
    {
        margin-top: 10px;
    }
    .ath_container {
        width: auto;
        margin: 0 10px 10px 10px;
        padding: 0 10px;
    }
}

@media all and (max-width: 600px) {
    .ath_container {
        font-size: 0.9em;
    }
    .ath_container button,
    .ath_container input[type=submit],
    .ath_container input[type=button] {
        margin-left: 7px;
        padding: 4px 10px;
        font-size: 0.9em;
        box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .4);
    }
    #bouton_deconn {
        margin-right: 7px;
    }
    .ligne_fichier {
        padding: 7px 0;
    }
    #titre_bloc {
        font-size: 1.2em;
    }
    #close_view {
        font-size: 2.1em;
    }
    #uploadStatus {
        margin: 0 0 10px 7px;
    }
}

@media all and (max-width: 400px) {
    #titre_bloc {
        font-size: 1em;
    }
    #close_view {
        font-size: 1.8em;
    }
}