*
{
  padding: 0px;
  margin: 0px;
}

body {
  font-family: "Helvetica neue", "Arial";
  background-image: url(../img/background.jpg);
  background-attachment: fixed;
}

header {
  text-align: center;
  color: #03396c;
  padding: 25px;
}

#logo {
  width: 125px;
  margin-right: 25px;
}

#titre, header img {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

header h2 {
  display: inline;
}





/* Navbar */
#responsive_menu, #contact p {
  display: none;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.decale {
  margin-top: 60px;
}

nav {
  z-index: 1;
}

ul {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  overflow: auto;
  background-color: #03396c ;
  vertical-align: middle;
  font-size: medium;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

ul div {
  display: flex;
  justify-content: left;
}

li a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 12px 25px;
  text-decoration: none;
  vertical-align: middle;
}

li a:hover {
  color: white;
}

.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: #333;
  padding: 12px 25px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.sticky.dropdown-content a {
  color: #333;
  padding: 12px 25px;
  text-decoration: none;
  display: block;
  text-align: left;
  position: absolute;
}

.off.on #oactu {
	background: #005b96;
}

.off.on .dropdown-content {
  display: block;
  animation: fadein_b 0.5s;
}

#contact {
  border-right: none;
}

#contact a {
  padding: 12px 25px;
}

li img {
  vertical-align: middle;
  height: 40px;
}

#accueil img {
  margin-right: 25px;
}

#down {
  margin-left: 10px;
  height: 10px;
}

a p {
  display: inline-block;
  vertical-align: middle;
  height: 40px;
  line-height: 40px;
}

/* Navbar (responsive) */
@media screen and (max-width: 1024px) {
  li a, li.dropdown {
    display: none;
  }
  #responsive_menu {
    display: block;
    width: 100vw;
    padding-right: 0;
  }
  #responsive_menu a {
    display: inline-block;
    }
  #responsive_menu img {
    height: 20px;
    width: auto;
    vertical-align: middle;
    margin: 20px;
  }
   .topnav.responsive {
    position: relative;
   }
   .topnav.responsive #responsive_menu {
    border-bottom: 1px white solid;
    z-index: 1;
    background: #03396c;
   }
   .topnav.responsive #responsive_menu {
    position: absolute;
    left: 0;
    top: 0;
   }
  .topnav.responsive ul {
     display: flex;
     flex-direction: column;
     justify-content: left;
     height: 100vh;
  }
  .topnav.responsive ul div:not(#responsive_menu) {
  	animation: fadein_b 1s;
  }
  .topnav.responsive ul div:first-child {
    margin-top: 61px;
  }
  .topnav.responsive ul div:not(.dropdown-content) {
    display: flex;
    flex-direction: column;
  }
  .topnav.responsive a, .topnav.responsive .dropdown {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .on .dropdown-content {
    position: relative;
    box-shadow: none;
  }
  .topnav.responsive #contact p {
    display: inline;
    margin-left: 25px;
  }
}





/* Footer */
footer > div {
  display: flex;
  justify-content: space-around;
  padding: 25px 0px;
  background-color: #011f4b;
  bottom: 0;
  color: white;
  font-size: medium;
  min-width: 95vw;
}

footer label {
  display: block;
  float:left;
  width: 175px;
  text-align: left;
}

#dl {
  margin-top: 15px;
  padding: 10px 20px;
  background: #011f4b;
  color: white;
  border: 1px solid white;
  border-radius: 10px;
  font-size: medium;
  transition: 0.3s;
}

#dl:hover {
  background: #6497b1;
  border: 1px solid #011f4b;
}

[type="checkbox"] {
  width: 17px; 
  height: 17px;
}

footer h3 {
  font-size: medium;
}

footer a {
  text-decoration: none;
  color: white;
}

footer a:hover {
  text-decoration: underline;
  color: #6497b1;
}

.footer_menu {
  text-align: justify;
}

footer > div div {
  padding-left: 25px;
  padding-right: 25px;
  border-left: 1px white solid;
  width: 20vw;
  overflow: auto;
}

footer > div div:first-child {
  border-left: none;
}

footer > div .column {
	display:flex;
	flex-direction:column;
	justify-content:space-around;
	padding:0;
	margin:0;
	border-left:none;
}

footer > div .column a {
	margin-bottom:5px;
}

footer > div .row {
	display:flex;
	flex-direction:row;
	justify-content:space-around;
	padding:0;
	margin:0;
}

.hidden {
	overflow-x :hidden ;
}

#ftcontact p{
  display: block;
  margin-bottom: 10px;
}

#ftcontact img {
  vertical-align: middle;
  width: 30px;
}

#ftcontact strong {
  vertical-align: middle;
  margin-left: 10px;
  font-weight: normal;
}

#admin img {
  height: 1em;
  margin-right: 10px;
  vertical-align: middle;
}

#admin p {
  vertical-align: middle;
}

#admin a {
  padding: 1px 20px;
  display: inline-block;
  text-align: center;
  border: 1px white solid;
  border-radius: 10px;
  transition: 0.3s;
}

#admin a:hover {
  text-decoration: none;
  border: 1px #011f4b solid;
  background: #6497b1;
  color: white;
}

footer > div:last-child {
  border-top: 1px white solid;
}

/* Footer (responsive) */
@media screen and (max-width: 1024px) {
  footer > div {
    flex-direction: column;
    padding: 0;
  }
  footer > div div {
    width: 90vw;
    border-left: none;
    border-top: solid 1px white;
    padding: 5vw;
  }
  footer > div:last-child {
    padding: 5vw 0 5vw 0;
  }
  footer > div .column {
	border-top:none;
  }
  footer > div:last-child {
    text-align: center;
  }
  footer > div div:first-child {
    border-top: none;
  }
}






/* Animations */
nav ul li a, nav ul li a:after, nav ul li a:before, #responsive_menu a, #responsive_menu a:before, #responsive_menu a:after, .topnav.responsive ul li a:before, .topnav.responsive ul li a:after {
  transition: all .5s;
}

.shift ul li a, #responsive_menu a, .topnav.responsive ul li a {
  position: relative;
  z-index: 1;
}

.shift ul li a:after, #responsive_menu a:after, .topnav.responsive ul li a:after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: 1px;
  content: '.';
  color: transparent;
  background: #6497b1;
  visibility: none;
  opacity: 0;
  z-index: -1;
}

.shift ul li a:hover:after, #responsive_menu a:hover:after, .topnav.responsive ul li a:hover:after {
  opacity: 1;
  visibility: visible;
  height: 100%;
}

@keyframes fadein_a {
    from { background: #6497b1; }
    to   { background: #011f4b; }
}

@keyframes fadein_b {
    from { opacity: 0; }
    to   { opacity: 1; }
}