* {
    box-sizing: border-box;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

body.noscroll{
    overflow-y: hidden;
    margin-right: 20px;
}

h1,h2,h3,h4,h5,h6 {
    color: #fff;
}

p:empty {
    display: none;
}

::selection {
    background-color: #9cc3db;
    color: #fff
}

.maincolor {
    color: #218cad
}

.maincolback {
    background-color: #218cad
}

.secondcol {
    color: #2b393d
}

.secondcolback {
    background-color: #2b393d
}

.accentcol {
    color: #4cb2c3
}

.accentcolback {
    background-color: #4cb2c3
}

a:active,
a:hover,
.navbar-toggle:focus {
    outline: 0
}

b,
strong {
    font-weight: 700
}

img {
    vertical-align: middle;
}

label {
    display: inline-block;
    font-weight: 700;
    margin-bottom: 5px;
    max-width: 100%
}

ul {
    padding: 0 20px;
    margin: 20px;
}

a {
    color: inherit;
    text-decoration: none
}

a:focus,
a:hover {
    text-decoration: underline
}

p {
    text-align: justify;
}

.page-content a {
    font-weight: 400;
    text-decoration: underline;
    text-underline-position: under
}

h1,
.h1 {
    font-size: 30px;
    line-height: 30px;
    margin: 40px 0;
}

.blob h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 30px;
}
.blob h3.right-pad {
    padding-right: 100px;
    min-height: 36px;
}
h6 {
    font-size: 1.4rem;
    line-height: 1.4rem
}

table,
td {
    border: none;
}

td,
th {
    padding: 20px;
}

table {
    border-collapse: collapse
}

table tr:first-child th {
    border-top: 0
}

table tr:last-child td {
    border-bottom: 0
}

table tr td:first-child,
table tr th:first-child {
    border-left: 0;
    padding-left: 0;
}

table tr td:last-child,
table tr th:last-child {
    border-right: 0;
    padding-right: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%
}

.container {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.active span {
    border-bottom: .125em solid #9cc3db;
}


.navbar-brand>img {
    height: 70px;
    margin: 5px 10px 5px 0px;
}

.content {
    flex: 1
}

.list ul {
    list-style: none;
    margin: 3.2rem 0;
    padding: 0
}

.list ul li {
    font-size: 1.6rem
}

.list ul li span {
    display: inline-block;
    margin-left: 0;
    margin-right: 3rem;
    text-align: left;
    width: 20rem
}

.centered {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center
}

.footer {
    text-align: center;
    font-size: 12px;
}

.float-right {
    float: right
}

.float-left {
    float: left
}

body {
    box-sizing: border-box;
    color: #dedede;
    margin: 0;
    overflow-x: hidden;
    font-family: Arial;
    letter-spacing: 0.5px;
    position: relative;
    line-height: 18px;
    font-size: 14px;
}

.content {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 1200px;
    padding: 100px 40px;
}

footer {
    padding: 14px;
    position: relative
}

#navigation .container {
    max-width: 1200px;
    padding: 0
}

#presentation h2 {
    margin: 40px 0 30px;
    line-height: 30px;
}

#navigation {
    left: 0;
    position: fixed;
    right: 0;
    z-index: 100;
    font-size: 18px;
    height: 60px;
    box-sizing: content-box;
    color: #fff;
    border-bottom: 1px solid;
}

address {
    display: inline;
    font-style: normal;
}

.button,
[type=submit] {
    background: #4cb2c3;
    border: none;
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    font-family: Corps, sans-serif;
    border-radius: 4px;
}

.button:hover,
[type=submit]:hover {
    background-color: #218cad;
    color: #e9f6fa;
    text-decoration: none
}

form.loading {
    pointer-events: none;
    opacity: 0.8;
}

label,
form.done #form-done,
form.error #form-error {
    display: block
}

.field {
    margin-bottom: 20px
}

[type=email],
[type=text],
textarea {
    border: none;
    border-bottom: 1px solid transparent;
    outline: 0;
    width: 100%;
    padding: 10px;
    font-size: 1em
}
[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
}


[for="_newsletter"] {
    display: flex;
    align-items: center;
}
[type=email]:focus,
[type=text]:focus,
textarea:focus {
    border: none;
    border-bottom: 1px solid #212a54
}

textarea {
    min-height: 190px;
    resize: vertical
}

section.links a:hover {
    text-decoration: none
}

h3.projection {
    text-transform: uppercase
}

.container.programme {
    max-width: 1200px
}

.blob a:hover {
    text-decoration: none;
}

.blob.event h3 {
    color: #2b393d;
}

.blob.event p {
    color: #fff;
}

.blob p {
    margin: 0;
    color: #2b393d;
}

.blob.event a::after {
    content: attr(data-date);
    background-color: #218cad;
    position: absolute;
    top: 0;
    left: 0;
    padding: 4px 10px;
}

.blob {
    position: relative;
    break-inside: avoid;
    color: #fff;
    padding: 10px;
    flex: 0 1 50%;
}
.blob:hover h3 {
    text-decoration: underline;
}
.blob a {
    display: block;
    background-color: #4cb2c3;
    padding: 10px;
    position: relative;
}

#relaishomelist {
    /* margin-left: -10px; */
    /* margin-right: -10px; */
    padding-top: 1px;
}
article date {
    font-size: 22px
}
#title-wrap {
    display: flex;
    justify-content: space-between;
}

body.article .logo {
    height: 120px;
    background: #fff;
    border-bottom-left-radius: 10px;
    margin-left: 20px;
}
#socials {
    display: flex;
    height: 58px
}

form {
    margin: 40px 0
}

#socials i {
    background-size: contain;
    display: block;
    height: 16px;
    width: 16px
}

.button i {
    background-size: contain;
    display: inline-block;
    height: 15px;
    width: 15px;
}

#socials a {
    padding-left: 8px;
    padding-right: 8px
}

nav ul {
    list-style: none;
    padding-left: 0;
}

.nav>li {
    display: block;
    position: relative;
    align-items: center
}

.nav>li:not(#socials) a:focus,
.nav>li:not(#socials) a:hover {
    background-color: #4cb2c3;
}

#presentation {
    margin: 0px 0 60px;
}
#presentation h1 {
    margin-bottom: 40px;
}
#hero {
    margin: 0px 0 100px;
    text-align: center;
}
#hero h1 {
    margin-bottom: 60px;
}
.grid .blog .wrap {
    display: flex;
    flex-wrap: wrap;
}
.button.small {
    margin: 0;
    padding: 6px 8px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    background: #218cad;
}

.blog > .wrap {
    margin-left: -10px;
    margin-right: -10px;
}
.blob .illustration {
    display: block;
    height: 140px;
    width: 140px;
    flex: 0 140px;
    margin-right: 10px;
    background-position: center;
    background-size: cover;
}
.blob .logo {
    position: absolute;
    top: -10px;
    right: -10px;
    height: 70px;
    background: #fff;
    border-bottom-left-radius: 10px;
}

.blob .wrap {
    display: flex;
    position: relative;
    align-items: flex-start;
}

.blob .text {
    position: relative;
    flex: 1;
    display: flex;
    padding: 10px;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.blob.event a {
    background-color: #218cad;
    height: 100%;
}

.field.submit,
.button-box {
    text-align: right
}

.navbar-brand {
    line-height: 30px;
    text-decoration: none !important;
}

.navbar .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-toggle {
    background-color: transparent;
    background-image: none;
    border: none;
    float: right;
    margin: 8px 15px;
    padding: 9px 10px;
    position: relative
}

.navbar-toggle .icon-bar {
    border-radius: 1px;
    display: block;
    height: 2px;
    width: 22px;
    transition: 0.3s;
    transform-origin: left;
}

.icon-bar:nth-child(3) {
    margin: 6px auto;
}

.open .icon-bar:nth-child(3) {
    width: 0;
}

.open .icon-bar:nth-child(2) {
    transform: rotateZ(45deg);
}

.open .icon-bar:nth-child(4) {
    transform: rotateZ(-45deg);
}

#navbar-menu {
    -webkit-overflow-scrolling: touch;
    height: 0;
    transition: height.4s ease
}

.notice {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-left: 4px solid;
    margin: 10px 0;
    display: none
}

#form-done {
    border-color: yellowgreen
}

#form-error {
    border-color: tomato
}

#ecoscore {
    font-size: 12px;
    font-weight: bold;
    position: sticky;
    width: 100px;
    height: 100px;
    text-align: center;
    margin-bottom: 10px;
    margin-right: 10px;
    line-height: 14px;
    bottom: 10px;
    right: 0px;
    left: 100%;
    background: #4cb2c3;
    padding: 21px 10px;
    border-radius: 50%;
    z-index: 99;
}

#ecoscore:hover{
    background: #218cad;
}

#ecoscore .wrap::after {
    content: "\002713";
    font-weight: bold;
    display:block;
    font-size: 25px;
    line-height: 30px;
}

.navbar-nav>li>a {
    text-decoration: none;
}

p a, #hero a,h2 a {
    color: #4cb2c3;
}

.footer .container {
    display: flex;
    justify-content: space-between;
}

#back {
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    font-family: monospace;
    white-space: pre;
    letter-spacing: 10px;
    font-size: 0.6vw;
    color: #545b5d;
    max-width: 100vw;
    overflow: hidden;
    user-select: none;
}
#back.right {
    left: auto;
    right: 0;
}
#contact {
    display: flex;
}

#contact strong {
    color: #4cb2c3;
}

.left {
    margin-right: 40px;
    flex: 0;
}

.right {
    flex: 1;
}

section {
    margin-bottom: 40px;
}
#membres,#missions,#comite {
    margin-bottom: 0;
}
ul.flex {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    box-sizing: content-box;
    margin: 0;
    width: 100%;
    padding: 0;
}

ul.flex li {
    flex: 1 auto;
    padding-right: 10px;
}

#comite h3 {
    color: #4cb2c3;
}
#comite picture {
    display: block;
    width: 100px;
    height: 100px;
    background-color: #4cb2c3;
    border-radius: 50%;
    margin-right: 20px;
    background-size: cover;
    background-position: center;
    flex: 0 0 100px;
}

#comite li {
    display: flex;
    flex: 100%;
    margin-bottom: 20px;
    align-items: center;
}
ul.timeline {
    list-style: none;
    border-left: 2px solid #218cad;
    margin: 0;
    margin-left: 20px;
    padding: 0 0 0 20px;
}

ul.timeline li {
    margin-bottom: 30px;
    box-sizing: border-box;
}

ul.timeline h3 {
    position: relative;
}

ul.timeline h3::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    left: -31px;
    background: #4cb2c3;
}

ul.timeline p {
    margin-bottom: 40px;
}

ul.timeline h4 {
    margin: 0;
}

#missions i {
    background: #4cb2c3;
    position: absolute;
    font-family: monospace;
    font-size: 14px;
    height: 24px;
    width: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    left: -20px;
    color: #fff;
}

#missions ol {
    list-style: none;
    padding: 0 20px;
}

#missions li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    display: flex;
    align-items: center;
    height: 30px;
}

#historique {
    float: right;
}

#presentation-grid>section {
    width: 50%;
    display: inline-block;
}

#devenir-membre li {
    flex: 1%;
}

#devenir-membre>ul>li {
    padding: 0;
    margin: 10px;
    border: 2px solid #4cb2c3;
    border-radius: 6px;
    min-width: 320px;
}

#devenir-membre>ul {
    padding: 0px;
}

#devenir-membre p,
#devenir-membre h3 {
    padding: 0 20px;
}

#devenir-membre h3 {
    background: #4cb2c3;
    margin: 0;
    padding: 20px;
}

#devenir-membre h4 {
    margin: 30px 0 10px;
    padding: 0 20px;
}

ul.prices li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

ul.prices li * {
    margin: 4px 0;
}

#devenir-membre>ul>li:nth-child(2) {
    border-color: #218cad;
}

#devenir-membre>ul>li:nth-child(2) h3 {
    background-color: #218cad;
}

ul.prices {
    margin-top: 10px;
    margin-bottom: 30px;
}
.logo img {
    max-height: 100%;
}
.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.logos a {
    background: #fafafa;
    flex: 0 200px;
    margin: 10px 0;
    border-radius: 20px;
    transition: background 0.8s;
    text-align: center;
}

.logos a:hover {
    background: #eaeaea;
    transition: 0s;
}
#devenir-membre>ul>li:first-child {
    margin-left: 0;
}
#devenir-membre>ul>li:last-child {
    margin-right: 0;
}

.blue {
    background: #4cb2c3;
    position: relative;
    padding: 60px 0;
    color: #fff;
}

.blue::before {
    content: "";
    background: #4cb2c3;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 100%;
}

.blue::after {
    content: "";
    background: #4cb2c3;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 100%;
}

a.submenu-item {
    display: block;
    padding: 10px 30px;
}

.submenu {
    position: absolute;
    background: #4cb2c3;
    color: #fff;
    font-size: 16px;
    padding: 0;
    line-height: 24px;
    margin-top: 0px;
    z-index: 2;
    left: 15px;
    top: 61px;
    display: none;
    margin: 0;
    margin-left: -15px;
    min-width: 230px;
    border-bottom: 1px solid;
}

li:hover .submenu {
    display: block;
}
.menu-item {
    text-decoration: none;
    color: #fff;
    line-height: 60px;
    font-size: 16px;
    text-transform: uppercase;
    height: 100%;
    display: inline-block;
    box-sizing: border-box;
    z-index: 3;
    padding: 0 15px;
    position: relative
}
i img {
    height: 30px;
    display: block;
}
.tab:not(.selected) {
    display: none !important;
}

#tabsnav span {
    display: inline-block;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 20px;
    border: 2px solid #218cad;
}
#tabs {
    margin-left: -10px;
    margin-right: -10px;
}
#tabsnav {
    margin-top: 30px;
    text-align: right;
}

#tabsnav span:hover {
    background: #218cad;
}

#tabsnav span.selected {
    background: #4cb2c3;
    border-color: #4cb2c3;
}
.course {
    flex: 0 1 50%;
    min-width: 400px;
    /* padding: 10px; */
    margin-bottom: 20px;
    break-inside: avoid-column;
}
.course.hidden {
    display: none;
}
.course .inner{
    border-radius: 10px;
    border: 4px solid #218cad;
}

#courses .tab {
    display: flex;
    flex-wrap: wrap;
}

.course h3 {
    margin: 0;
    padding: 10px;
    background-color: #218cad;
}

.course .wrap {
    display: flex;
    padding: 0 20px 10px;
}
.course  .inner > span {
    display: block;
    padding: 10px 20px;
}
/* .course:nth-child(2n) h3, .course:nth-child(2n) h3 {
    background-color: #4cb2c3;
}

.course:not(.hidden):nth-of-type(2n) .inner, .course:not(.hidden):nth-of-type(2n) .inner {
    border-color: #4cb2c3;
} */
.filters {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter {
    flex: 1;
    min-width: 200px;
    margin-top: 10px;
}

.filter select {
    width: 100%;
    border-radius: 4px;
    padding: 4px;
}

.filter:not(:last-child) {
    padding-right: 20px;
}
.transport {
    flex: 1;
}
.clickable {
    cursor: pointer;
}

.clickable:hover {
    text-decoration: underline;
}

.filter .clickable {
    display: block;
    white-space: nowrap;
    padding: 4px;
}

.filter:last-child {
    text-align: right;
}

.filter .button {
    width: 100%;
}
#scroller {
    position: relative;
    transition: left 0.4s;
    left:0%;
}

#scroller.empty::after {
    content: "Aucun résultat ne correspond aux critères...";
    display: block;
    position: relative;
    width: 100%;
    padding: 40px 0;
}
.scroller-wrap {
    overflow-x: hidden;
}
#activities {
    display: flex;
    flex-wrap: wrap;
}

#blocs, #slacklines {
    flex: 0 50%;
    min-width: 300px;
}
.text{
    flex:1 0 100%;
}

#activities img {
    height: auto;
}

ul.pagination {
    flex: 1 100%;
    list-style: none;
    display: flex;
    justify-content: right;
}

ul.pagination span,ul.pagination a {
    display: block;
    padding: 10px;
    font-size: 14px;
    margin: 0 10px;
    width: 30px;
    height: 30px;
    line-height: 14px;
}

ul.pagination span {
    opacity: 0.7;
}

ul.pagination a {
    background: #218cad;
}

ul.pagination a:hover {
    background: #4cb2c3;
}


.transport i {
    display: inline-block;
    margin-bottom: 10px;
}

.activity {
    width: 30%;
    max-width: 120px;
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    align-items: start;
    line-height: 0px;
}

.activity i {
    margin: 2px;
}

.listitem:nth-child(2n) date {
    background: #218cad;
}

.listitem {
    background: none;
    display: flex;
    align-items: center;
    border-bottom: 4px solid;
    border-color: #4cb2c3;
    padding: 0;
    margin: 10px;
    background: #2b393d;
}

.listitem:nth-child(2n) {
    border-color: #218cad;
}

.listitem > * {
    flex: 1;
    padding: 10px;
}

.listitem .type {
    flex: 0;
    white-space: nowrap;
}
.listitem date {
    flex: 0 150px;
    white-space: nowrap;
    text-align: center;
    background: #4cb2c3;
}

.listitem date i {
    display: block;
}

.listitem .title {
    margin: 0 20px;
    font-size: 16px;
}
.griditem {
    flex: 0 1;
    margin: 10px;
    margin-bottom: 30px;
    position: relative;
    border-bottom: 2px solid #4cb2c3;
    padding-bottom: 30px;
    cursor: pointer;
}
.griditem:hover picture::after {
    display: block;
}
.griditem:hover {
    text-decoration: underline;
}

.griditem picture:after {
    content: "";
    position: absolute;
    inset: 0;
    background: #4cb2c38f;
    display: none;
}
#relaisgrid {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    /* margin-left: -10px; */
    /* margin-right: -10px; */
}

.griditem picture {
    position: relative;
    display: block;
    min-width: 200px;
    height: 200px;
    max-height: 
200px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(45deg, #4cb2c3, #2b393d);
}
.griditem date {
    position: absolute;
    top: 0;
    font-size: 16px;
    color: #fff;
}

.griditem date span {
    display: block;
    font-weight: bold;
    background: #2b393d;
    padding: 4px 10px 4px 0px;
}

.griditem date i {
    display: inline-block;
    background: #2b393d;
    padding: 4px 10px 4px 0px;
}
.griditem .title {
    font-size: 20px;
    margin: 10px 0;
    line-height: 24px;
    color: #fff;
    display: block;
}

.griditem .type {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #218cad;
    font-size: 12px;
    padding: 0 10px;
    letter-spacing: 1px;
    line-height: 20px;
    color: #fff;
    max-width: 100%;
    text-align: right;
}

#animationsrelais {
    margin-top: 60px;
}

.listinput option {
    display: inline-block;
    padding: 6px;
    border: 2px solid;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.8;
}

.listinput option.selected {
    background: #fff;
    color: #000;
    opacity: 1;
}

.listinput option:hover {
    opacity: 1;
}
#publications {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.publication {
    flex: 0 49%;
    display: flex;
    padding: 20px;
    min-width: 300px;
    width: 50%;
    border-bottom: 2px solid #218cad;
}

.publication img {
    width: 120px;
    height: 120px;
    margin-right: 20px;
}

.publication > div {
    flex: 1;
}

.eventpopup {
    position: fixed;
    inset: 0;
    z-index: 100;
    padding: 40px;
    display: none;
    overflow-y:auto;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.box {
    position: relative;
    top:50%;
    transform: translateY(-50%);
    background: #4cb2c3;
    padding: 40px;
    border-radius: 4px;
    color: #000;
    max-width: 1000px;
    margin: auto;
}

i.close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

.box img {
    display: block;
    width: 60%;
    margin: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #218cad;
    margin-bottom:40px;
    box-shadow:0 0 10px #218cad;
}

.box .type {
    text-align: right;
    line-height: 24px;
}
.box .type span {
    background: #218cad;
    padding: 4px 10px;
    color: #fff;
}

.box date {
    font-size: 20px;
    display: block;
    padding: 6px 0;
    border-bottom: 2px solid #218cad;
}

.box date span {
    font-weight: bold;
}

.box p {
    margin: 40px 0;
}
.box a {
    display: inline-block;
    color: #fff;
    border: 2px solid #fff;
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 20px;
}
.eventpopup.open {
    display: block;
}
.grid {
    display: flex;
    flex-wrap: wrap;
}

.grid * {
    /* margin-right: 10px; */
    /* margin-bottom: 10px; */
    max-width: 100%;
}
.grid.partenaires a {
    margin-right: 10px;
    margin-bottom: 10px;
}
/* ============================================================================================================================================================================================= */
/* ============================================================================================================================================================================================= */
/* ============================================================================================================================================================================================= */


@media only screen and (min-device-width: 320px)and (max-device-width: 480px) {

    a.navigation-title {
        font-size: 0
    }

    a.navigation-title::after {
        content: '~';
        font-size: 2.4rem;
        margin-left: -1.4rem;
        text-align: center
    }

    .list ul li {
        font-size: 1.4rem;
        margin: 1.6rem 0
    }

    .list ul li span {
        display: block;
        text-align: left
    }
}

@media (min-width: 1000px) {
    

    .navbar-nav>li {
        float: left;
        position: relative;
    }

    .navbar {
        border-color: rgba(255, 255, 255, .3)
    }

    .navbar-toggle {
        display: none
    }

    #navbar-menu {
        height: 60px !important
    }

    .navbar-left {
        float: left !important
    }

    .navbar-right {
        float: right !important;
        margin-right: -15px
    }

    .navbar-right~.navbar-right {
        margin-right: 0
    }

    .navbar-header {
        padding: 0 10px
    }

    .navbar-nav {
        float: left;
        margin: 0
    }

    .navbar-nav>li {
        float: left
    }
    
    #slacklines {
        padding-left: 10px;
    }
    /* textarea{
        height: 380px;
    } */
}


@media screen and (max-width: 1000px) {
    html{
        overflow-x:hidden;
    }
    div.content {
        padding: 20px;
        padding-top: 100px;
    }

    .blobs {
        columns: 1
    }

    footer .about * {
        display: block
    }

    .content {
        padding: 80px 10px
    }

    .navbar .navbar-header .navbar-brand {
        flex: 1;
        height: auto;
        line-height: 20px;
        position: relative;
        top: 12px;
    }

    .navbar-header {
        align-items: center;
        display: flex;
        justify-content: center;
        height: 100%
    }
    #navbar-menu{
        overflow:hidden;
    }

    .button-box {
        text-align: center
    }

    .links p {
        display: flex;
        flex-wrap: wrap
    }

    .links p a {
        flex: 50%
    }

    #socials a {
        padding-left: 15px
    }

    #socials i {
        height: 20px;
        width: 20px
    }

    .nav>li {
        display: block;
        padding: 0 20px;
        position: relative
    }

    footer .about span,
    .sr-only {
        display: none
    }

    #back {

        font-size: 8px;

        letter-spacing: 1px;

        line-height: 7px;

        bottom: 0;
    }

    .footer .container {

        flex-direction: column;

    }

    .blob {
        flex: 1 100%;
    }

    #presentation {
        margin: 40px 0;
    }

    .blob .wrap {
        flex-direction: column;
    }

    .blob .illustration {
        width: 100%;
    }

    .blob img {
        width: 100%;
        height: auto;
    }

    #contact {

flex-direction: column-reverse;

}

    tr {
        display: flex;
        flex-direction: column;
    }

    td {
        flex: 1 100%;
        width: 100% !important;
        padding: 20px 0;
    }

    td img {
        width: auto;
        height: auto;
    }

    #historique {
        float: unset
    }

    #presentation-grid section {
        width: 100%;
    }

    #missions li {
        height: auto;
    }

    ul {
        margin: 0;
    }
    .logos {
        justify-content: center;
    }
    .logos a{
        flex: 1 50%;
        max-width: 50%;
        margin: 0;
        box-sizing: border-box;
        background-clip: content-box;
        border: 10px solid transparent;
    }
    .logos a:nth-child(2n){
        /* margin-left:20px; */
    }

    .submenu {
        display: block;
        position: relative;
        top: 0;
    }

    .submenu li {
        border: none !important;
    }
    .publication{
        flex: 1 100%;
    }

    /* #blocs, #slacklines {
        flex: 1 100%;
        min-width: unset;
    } */
    #activities > div {
        flex: 1 100%;
    }
    #activities img {
        width: 100%;
    }
    
    .box img {
        width: auto;
        margin: 0;
        max-width: 90vw;
    }
    .left{
        margin:0;
    }
    #devenir-membre>ul>li{
        margin: 10px 0;
    }
    .griditem {
    flex: 1;
}
    .box {
        padding: 10px;
        max-width: 100vw;
        margin: 0;
    }
    
    .eventpopup {
        padding: 0px;
    }
    
    .submenu {
        background: transparent;
        border-bottom: none;
    }
    #ecoscore {
        position: relative;
        z-index: 99;
        left: auto;
        right: auto;
        margin: 20px auto;
        width: auto;
        max-width: 90%;
        height: auto;
        border-radius: 40px;
        font-size: 16px;
        padding: 20px;
    }
    #ecoscore .wrap::after {
        display: inline;
        line-height: inherit;
    }
    #title-wrap{
        flex-wrap: wrap-reverse;
    }
    body.article .logo{
    border-radius: 0;
    margin: auto;
    width: 100%;
    text-align: center;
}
.listitem {
    display: flex;
    flex-direction: column;
    border-width: 4px;
    border-style: solid;
    margin-bottom: 30px;
}
    .listitem date{
    flex: 0;
    width: 100%;
}
    .course{
        min-width: auto;
        flex: 100%;
    }
    .blob .logo {
    width: auto;
    top: 0;
    right: 0;
    height: 60px;
    padding: 0px 6px;
    border-bottom-right-radius: 10px;
}
    #devenir-membre>ul>li{
    flex: 100%;
    }
    .grid.partenaires *{
        width: 100%;
    }
}
