html, body {
    height: 100%;
}

body {
    padding-top: 0px;
}

section {

    padding: 90px 0;
}

img {
    width: 100%;
}

a {
    text-decoration: underline;
}

h1 {
    background-repeat: no-repeat;
    background-position: left top;
    padding-left: 60px;
    padding-top: 15px;
    text-indent: -35px;
    font-size: 2rem;
    min-height: 70px;

}

.m-top-20 {
    margin-top: 20px;
}

.photo {
    padding: 10px;
    border: 5px solid #ec5779;
}

.bg-cpms {
    background-color: transparent;
    background-image: linear-gradient(to right, #afca03, #6466b1, #90699e, #6466b1);
    color: white;
}

#body_cpmscharleroi .navbar-nav > li {
    display: block;
}

.navbar {
    visibility: hidden;;
}

.parallax-window {
    min-height: 500px;
    background: transparent;
}

#logo {
    position: absolute;
    text-align: center;
    top: 10px;
    width: 100%;

}

#logo img {

    width: 20%;
}

.infobulle_display {
    margin: 5px;
    padding: 10px;
    border: 1px solid black;


}

#alveoles {
    background-image: url(../img/fondalveole.jpg?20180819);
    background-repeat: no-repeat;
    background-position: bottom center;
    backgroud-size: cover;
    padding: 0px;
}

.alveole p {
    position: absolute;
    height: 100%;
    top: 0;
}

.alveole a, #alveole_logo {
    color: white;
    text-align: center;
    margin: auto;
    vertical-align: middle;
    display: block;
}

#alveole_contact {
    height: 80%;
    margin-top: 10px;
}

#parent {
    background-image: linear-gradient(white, white, #afca03);
    border-top: 1px solid black;
    color: black;
}

#parent h1 {
    background-image: url(../img/h1_vert.png);
}

#parent a {
    color: black;
    text-shadow: 1px 1px #afca03;
}

#eleve {
    background-image: linear-gradient(white, white, #6466b1);
    border-top: 1px solid black;
    color: black;
}

#eleve h1 {
    background-image: url(../img/h1_bleu.png);
}

#eleve a {
    color: black;
    text-shadow: 1px 1px #6466b1;
}

#educateur {
    background-image: linear-gradient(white, white, #90699e);
    border-top: 1px solid black;
    color: black;
}

#educateur h1 {
    background-image: url(../img/h1_mauve.png);
}

#educateur a {
    color: black;
    text-shadow: 1px 1px #90699e;
}

#contact {
    background-image: linear-gradient(white, white, #fbbd3b);
    border-top: 1px solid black;
    color: black;
}

#contact h1 {
    background-image: url(../img/h1_jaune.png);
}

#contact a {
    color: black;
    text-shadow: 1px 1px #fbbd3b;
}

#contact #ecoles .showVille {
    width: 100%;
    color: white
}

#contact .ecole {
    border: 1px solid black;
}

#centre {
    background-image: linear-gradient(white, white, white, #ec5779);
    border-top: 1px solid black;
    color: black;
}

#centre h1 {
    background-image: url(../img/h1_rose.png);
}

#centre a {
    color: black;
    text-shadow: 1px 1px #ec5779;
}

#candidature {
    background-image: linear-gradient(white, white, #feb58c);
    border-top: 1px solid black;
    color: black;
}

#candidature h1 {
    background-image: url(../img/h1_rose_poudre.png);
}

#candidature a {
    color: black;
    text-shadow: 1px 1px #feb58c;
}

#documents {
    background-image: linear-gradient(white, white, #5bb0b6);
    border-top: 1px solid black;
    color: black;
}

#documents h1 {
    background-image: url(../img/h1_bleu2.png);
}

#documents a {
    color: black;
    text-shadow: 1px 1px #5bb0b6;
}

@media (max-width: 1366px) {
    .scroll-top {
        right: 20px;
    }
}

.scroll-top {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 90px;
    right: 50px;
    z-index: 99;
    display: none;
    color: #fff;
    text-align: center;
    border: none;
}

.scroll-top:after {
    position: absolute;
    z-index: -1;
    content: '';
    top: 100%;
    left: 5%;
    height: 10px;
    width: 90%;
    opacity: 1;
    background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
    background: -webkit-radial-gradient(center ellipse, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
}

.tran3s {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-delay: initial;
}

footer {
    padding-top: 90px;

    text-align: center;
    background-color: #E2E6D5;
}

footer li, footer h5, footer p {
    font-size: 0.8rem;
}

footer h5 {
    font-weight: bold;
}

footer .logo {
    background-color: #7f7f7f;
    border-radius: 1rem;
}

footer a, footer a:hover {
    color: inherit;
}

footer ul {
    margin: 0px;
    padding: 0px;
}

footer ul li {
    list-style-type: none;
    margin: 10px;
    padding: 0px;

}

#webmaster {

    margin-top: 40px;
    padding: 20px 0px;
    background-color: black;
}

#webmaster p {
    padding: 0px;
    margin: 0px;
}

#webmaster a {
    color: lightgoldenrodyellow;
}

.container-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


@media (max-width: 768px) {
    #logo img {
        width: 30%
    }

    /*
    #alveole_row2 .col-4{
        padding-left:1px;
        padding-right:1px;

    }
    */
    .alveole {
        padding-left: 1px;
        padding-right: 1px;
    }

    #alveoles {
        height: 100%;
        min-height: 600px
    }

    #alveoles .container {
        min-height: 500px;
    }

    .alveole a, .alveole img {
        width: 100%;
    }

    #alveole_centre a {
        width: 80%;
    }

    #alveole_contact a {
        width: 60%;

    }

    #alveole_candidature a {
        width: 60%;
    }

    #alveole_documents a {
        width: 60%;
    }

    #alveole_rgpd a {
        width: 50%;
    }

    h1 {
        font-size: 1.5rem;
        padding-top: 20px;

    }
}

@media (min-width: 768px) {


    .navbar-nav {
        float: none;
        margin: 0 auto;
        display: block;
        text-align: center;
    }

    .navbar-nav > li {
        display: inline-block;
        float: none;
    }

    #alveoles {
        height: 100%;
        min-height: 600px
    }

    #alveoles .container {
        height: 100%;
        min-height: 600px
    }

    #alveoles .row1 {
        height: 30%;
        min-height: 30%;
        max-height: 30%;
    }

    #alveoles .row2 {
        height: 45%;
        min-height: 45%;
        max-height: 45%;
    }

    #alveoles .row3 {
        height: 25%;
        min-height: 25%;
        max-height: 25%;
    }

    #alveoles .row > div {
        height: 100%;
    }

    .alveole a, #alveole_logo {
        height: 100%;
    }

    #alveoles .row img {
        width: auto;
        height: 100%;
    }
}
