@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');

html {
    font-size: 16px;
}

body {
    font-size: 100%;
    font-family: "Open Sans", sans-serif;
    background-color: #F5F5F9;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.header-wrapper {
    background-color: #066525;
    color: white;
}

.header-wrapper nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-wrapper {
    border-top: 3px solid #3C3C44;
    background-color: #4CB050;
    color: white;
}

.menu-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu-wrapper ul li a {
    display: inline-block;
    padding: 20px 10px;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.menu-wrapper ul li:hover {
    background-color: #3C3C44;
    transition: background-color 300ms linear;
}

.menu-wrapper ul li.active {
    background-color: #3C3C44;
}

.menu-wrapper nav ul li ul li:hover > a {
  border-bottom: 2px solid transparent !important;
}

.blocks-wrapper {
    background-size: cover;
    background-image: url('../img/movement-1392757.jpg');
    border-bottom: 3px solid #ACACAC;
}

.blocks-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/*@media (min-width: 992px) {*/
    .blocks-wrapper ul {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
/*}*/

.blocks-wrapper ul li {
    margin: 15px 0;
    width: 47.5%;
}

@media (min-width: 992px) {
    .blocks-wrapper ul li {
        width: 22.5%;
        margin: 50px 0;
    }
}

.block {
    background-color: rgba(0, 0, 0, .80);
    display: inline-block;
    cursor: pointer;
}

.block header {
    color: #4CB050;
    font-weight: bold;
    padding: 30px;
    font-size: 24px;
    font-weight: 700;
}

.block header h2 {
    margin: 0;
}

.block header a {
    color: inherit;
    text-decoration: none;
}

.block p {
    padding: 30px;
    padding-top: 0;
    color: white;
}

.news-list-item {
    background-color: white;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ACACAC;
    border-right: 1px solid #ACACAC;
    border-radius: 3px;
}

.news-list-item .col-md-3 {
    width: 0;
}

.news-list-item .col-md-9 {
    width: 100%;
}

.news-list-item .extra {
    font-size: .68rem;
    color: #ACACAC;
}

.news-list-item .lead {
    font-size: 1rem;
    margin-top: 1rem;
}

.news-list-item .btn-read-more {
    display: none;
}

footer {
    background-color: black;
    color: white;
}

#footer-wrapper .footer-element {
    width: 100%;
}

@media (min-width: 768px) {
    #footer-wrapper .footer-element {
        width: 50%;
    }
}

@media (min-width: 992px) {
    #footer-wrapper .footer-element {
        width: 25%;
    }
}

#bgimg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(../img/00acceuil.jpg);
  background-size: cover;
  z-index: -100;
}


#page-4 #bgimg,
body[x-parent-id="4"] #bgimg,
#page-20 #bgimg,
body[x-parent-id="20"] #bgimg {
  background-image: url(../img/00projets.jpg);
}

.menu-wrapper nav {
  display: flex;
}

.menu-wrapper nav .language-menu {
  margin-left: auto;
}

@media (max-width: 767px) {
  .header-wrapper nav h4 {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
#connectionform {
  border-top: 1px solid white;
  padding-top: 30px;
}
}

.content-wrapper {
  min-height: 850px;
}

