:root {
  --mediabox-sidebar-width: 25rem;
  --mediabox-sidebar-height: calc(5rem + 20%);
  --mediabox-sidebar-close-size: 2rem;
}

html {
  font-size: 62.5%;
  font-size: calc(1em * 0.625);
  box-sizing: border-box;
  font-family: sans-serif;
  line-height: 1.15;
}

body {
  font-size: 1.6rem;
  font-weight: 400;
  text-align: left;
  line-height: 1.3em;
  margin: 0;
  background-color: #fff;
  color: #212529;
}

main {
  display: block;
  margin: auto;
  max-width: 1300px;
}

body, h2 {
  font-family: serif;
}

:target {
  scroll-margin: 150px;
}

.header-bar {
  box-shadow: 0px 15px 15px -15px rgba(0,0,0,0.4);
  margin-bottom: 20px;
  top: 0;
  background-color: white;
  height: auto;
  position: sticky;
  z-index: 15;
  max-width: 1300px;
  margin: auto;
  display: block;
}

.mainpart {
  display: flex;
}

.content {
  width: 75%;
  margin-left: 4rem;
  margin-right: 4rem;
}

.sidebar-nav {
  width: 25%;
  margin-left: 4rem;
  margin-right: 4rem;
}

.socialbox {
  flex-grow: 0;
}

.social {
  margin-right: 10px;
  text-align: right;
}

.baseline {
  width: 340px;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  font-family: ArialNarrowBold;
  font-size: 1.05em;
  color: #0566be;
  font-weight: bold;
}

.navigation {
  flex-grow: 1;
}

.entete-articles {
  margin-bottom: 40px;
}

.liste-articles {
  margin-top: 10px;
}

.image-liste-article {
  margin-right: 20px;
  width: 27%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e4ebf6;
}

.image-liste-article img {
  width: auto;
  max-height: 160px;
}

.texte-liste-article {
  width: 73%;
}

.texte-liste-article h3 {
  margin: 0;
}

.texte-liste-article p {
  margin-top: 10px;
  font-size: .9em;
  line-height: 1.5em;
}

.liste-articles > article {
  display: flex;
}

.social img {
  margin: 10px 0px 0px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.logo {
  width: 80px;
  display: inline-block;
  margin-right: 20px;
}

.on {
  font-weight: 700;
  color: #dd4e49;
}

.left_bordered {
  margin-bottom: 15px;
}

.left_bordered > div {
  padding-left: 10px;
  border-left-width: 8px;
  border-left-style: solid;
  border-left-color: #2866b8; 
}

.linklist {
  display: block;
  padding-left: 20px;
}

.linklist > li {
  color: #2866b8
}

.left_bordered > div > h4.evenement {
  margin-bottom: 0;
}

.left_bordered > div > h6.evenement {
  margin-top: 5px;
}

#stikyFootnoteFooter {
  background-color: linen;
  bottom: 0px;
  position: fixed;
  max-width: 1300px;
}

#stikyFootnoteFooter > p {
  margin: 10px;
}

h6.evenement > a {
  color: #823f9b;
}

ul#nav {
  font-family: 'ArialNarrowBold';
  display: block;
  margin: 35px 0 0;
  padding: 0;
  line-height: 1.4em;
  text-transform: capitalize;
  font-size: 1.1em;
  border-left-color: #826337;
}

ul#nav li {
  text-transform: uppercase;
  margin: 0 0px 0 2px;
  padding: 0 0px;
  display: inline-block;
  position: relative;
  list-style: none;
}

h1, h2, h3, h4 {
  color: #823f9b;
  margin: 30px 0 20px;
}

h1, h2 {
  color: #0566be;
}

h3, h4 {
  color: #823f9b;
}

header > h2 {
  font-weight: 800;
  color: #0566be;
}

footer {
  font-size: 0.8em;
}

footer > hr, footer > p {
  margin: 0;
}

article > p:has(img, iframe) {
  display: flex;
}

article > p > img {
  margin: auto;
}

hr {
  height: 1px;
  margin: 1em 0 2em;
  padding: 0;
  border: 0;
  color: #ccc;
  background-color: #ccc;
}

small {
  font-size: .75em;
  line-height: 1px;
}

#nav a {
  display: block;
  padding: 4px 6px;
  margin: 0;
  color: #e45345;
  text-decoration: none;
  font-weight: bold;
}

#fildariane {
  margin: 20px 40px 0px;
  font-size: .8em;
}

iframe {
  max-width: 100%;
}

a {
  color: #1e5093;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

img {
  vertical-align: middle;
  border-style: none;
  height: auto;
  max-width: 100%;
  border-style: none;
}

.logo img {
  padding: 12px 20px;
  max-width: 100%;
}

@media (min-width: 576px) {
  body {
    font-size: 1.6rem;
  }
}

@media (min-width: 1010px) {
  .leftheader {
    float: left;
  }
  .socialbox {
    float: inline-end;
    width: 400px;
  }
  .navigation {
    padding-top: 30px;
  }
}

@media (max-width: 1060px) {
  :target {
    scroll-margin: 50px;
  }
  .logo img {
    padding: 10px 20px;
  }
  .header-bar {
    position: static;
    display: block;
  }
  .leftheader {
    text-align: center;
  }
  .logo {
    width: 80px;
    text-align: center;
    display: inline-block;
  }
  .baseline {
    margin-top: 0;
    margin-bottom: 10px;
  }
  .socialbox {
    margin 0 auto: ;
  }
  .social img {
    margin: 10px 0px 0px;
  }
  ul#nav {
    text-align: center;
  }
}

@media (max-width: 1010px) {
  .social {
    text-align: center;
  }
}

@media (max-width: 777px) {
  .logo {
    width: revert;
    margin-right: revert;
  }
  .mainpart {
    display: block;
  }
  .sidebar-nav, .content {
    width: 90%;
    margin-left: 5%;
  }
  .sidebar-nav: ; {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #999;
  }
}

@media (max-width: 710px) {
  .leftheader {
    text-align: center;
  }
  .socialbox {
    position: initial;
    text-align: center;
    padding-bottom: 10px;
  }
  article {
    flex-direction: column;
  } 
  .image-liste-article {
    margin: 0 0 10px;
    width: 100%;
  }
  .texte-liste-article {
    width: 100%;
  }
  .image-liste-article img {
    width: auto;
    max-height: revert;
  }
}

@media (max-width: 620px) {
  .social {
    width: 330px;
    margin: auto;
  }
}
