*,
*::after,
*::before {
  box-sizing: border-box;
}
html {
  height: 100%;
}
body {
  max-width: 100%;
  background: #fffefd;
  padding-top: 60px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Open Sans', sans-serif;
}
body#login {
  background: url('../img/bg-800.jpg') #080E10 center center no-repeat;
}
@media screen and (min-width: 800px) {
  body#login {
    background-image: url('../img/bg-1024.jpg');
  }
}
@media screen and (min-width: 1024px) {
  body#login {
    background-image: url('../img/bg-1280.jpg');
  }
}
@media screen and (min-width: 1280px) {
  body#login {
    background-image: url('../img/bg-1440.jpg');
  }
}
@media screen and (min-width: 1440px) {
  body#login {
    background-image: url('../img/bg-1680.jpg');
  }
}
@media screen and (min-width: 1680px) {
  body#login {
    background-image: url('../img/bg.jpg');
  }
}
@keyframes slideLeftLetter {
  0% {
    left: -50%;
  }
  75% {
    right: -50%;
  }
  100% {
    left: 50%;
  }
}
@keyframes slideRightLetter {
  0% {
    right: -50%;
  }
  25% {
    right: -50%;
  }
  100% {
    right: 50%;
  }
}
@keyframes slideBottomLetter {
  0% {
    bottom: -25%;
  }
  50% {
    bottom: -25%;
  }
  100% {
    bottom: 65%;
  }
}
@keyframes slideTopLetter {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#login {
  display: block;
  /*.letter
    {
        font-size: 180pt;
        color: white;
        text-shadow: 0 2px 4px rgba(0,0,0,0.25);
    }*/
}
#login .left {
  display: block;
  position: fixed;
  top: 35%;
  left: 50%;
  transform: translate(0, -50%);
  margin-left: -2rem;
  animation-duration: 3s;
  animation-name: slideLeftLetter;
}
#login .left img {
  max-height: 290px;
  height: 23.8rem;
}
#login .right {
  display: block;
  position: fixed;
  top: 35%;
  right: 50%;
  transform: translate(0, -50%);
  margin-right: -7rem;
  animation-duration: 3.5s;
  animation-name: slideRightLetter;
  z-index: 98;
}
#login .right img {
  max-height: 245px;
  height: 20.16rem;
}
#login .bottom {
  font-size: 9rem;
  display: block;
  position: fixed;
  bottom: 65%;
  right: 50%;
  transform: translate(50%, 50%);
  animation-duration: 3.5s;
  animation-name: slideBottomLetter;
  z-index: 97;
}
#login .bottom img {
  max-height: 170px;
  height: 15rem;
}
#login .top {
  display: block;
  position: fixed;
  bottom: 62vh;
  right: 50%;
  transform: translate(50%, 50%);
  margin-bottom: -15rem;
  color: white;
  font-weight: lighter;
  text-rendering: optimizeLegibility;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation-duration: 4s;
  animation-name: slideTopLetter;
  opacity: 1;
  z-index: 99;
}
#login .top b {
  font-size: 2.4rem;
  display: block;
  font-family: 'Raleway', sans-serif;
  text-rendering: optimizeLegibility;
  text-decoration: none;
  font-variant: small-caps;
  font-weight: lighter;
}
#login .top p {
  font-size: 2rem;
  display: block;
  width: 95vw;
  margin: 0;
  font-family: 'Raleway', sans-serif;
  text-rendering: optimizeLegibility;
  text-decoration: none;
  font-variant: small-caps;
  font-weight: lighter;
}
#login a.enter {
  font-size: 1.3rem;
  display: block;
  position: fixed;
  bottom: 4vh;
  right: 50%;
  transform: translateX(50%);
  width: 95vw;
  color: white;
  font-weight: bold;
  text-rendering: optimizeLegibility;
  text-decoration: none;
  font-variant: small-caps;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation-duration: 4s;
  animation-name: slideTopLetter;
  opacity: 1;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
}
#logo {
  position: relative;
  background: #df9d60;
  grid-row: 1;
  z-index: 999999;
  overflow: hidden;
}
#logo #logobg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  opacity: 0.25;
  /*
            -webkit-filter: blur(2px); 
            filter: blur(2px);
        */
}
#logo #logoimg {
  position: relative;
  z-index: 1;
  height: 200px;
  display: block;
  text-align: center;
  margin: 30px auto;
}
#logo p {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  font-style: normal;
  color: white;
  font-weight: lighter;
  display: block;
  text-align: center;
  margin: auto;
  margin-bottom: 30px;
  font-family: 'Raleway', sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  text-rendering: optimizeLegibility;
  text-decoration: none;
  font-variant: small-caps;
}
#menu-general {
  position: sticky;
  position: -webkit-sticky;
  background: #df9d60;
  top: 0;
  grid-row: 2;
  margin: 0;
  width: 100%;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  justify-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  z-index: 9999;
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.25);
}
#menu-general #navs {
  flex: 1;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  justify-items: center;
}
@media screen and (max-width: 600px) {
  #menu-general #navs {
    flex-wrap: wrap;
  }
}
#menu-general #navs nav {
  margin-left: 1.2vw;
  margin-right: 1.2vw;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
#menu-general #navs nav a {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  display: flex !important;
  justify-content: center;
  align-items: center;
  align-content: center;
  color: white;
  text-rendering: optimizeLegibility;
  text-decoration: none;
  font-variant: small-caps;
  letter-spacing: 0.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  line-height: 30px;
  font-weight: 400;
}
#menu-general #navs nav a img {
  flex: 0;
  margin-left: 0.4rem;
  margin-right: 0.4rem;
  display: block;
}
#menu-general #navs nav a.active {
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
#menu-general #langs {
  justify-self: end;
}
#menu-general #langs .current {
  outline: none;
  cursor: pointer;
  border: 0px solid transparent;
  border: none;
  background: transparent;
  display: block;
  height: 100%;
  padding-left: 10px;
  padding-right: 10px;
  text-decoration: none;
  font-style: 20px;
  font-weight: bold;
}
#menu-general #langs .current:focus,
#menu-general #langs .current:active,
#menu-general #langs .current:hover {
  color: white;
}
#menu-general #langs .others {
  position: absolute;
  right: 10px;
  top: 20px;
  background: white;
}
#menu-general #langs .others a {
  transition: all 0.5s;
  opacity: 0;
  display: none;
  width: 100%;
  color: black;
  font-weight: bold;
  text-decoration: none;
  padding: 10px;
  min-width: 100px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  line-height: 20px;
  word-wrap: none;
  word-break: keep-all;
}
#menu-general #langs .others a:last-child {
  border-bottom: none;
}
#menu-general #langs .others a img {
  height: 20px;
  margin-right: 10px;
}
#galerie {
  grid-row: 3;
  width: 100%;
  max-width: 100%;
  display: block;
  margin-bottom: 0px;
  overflow: hidden;
}
#galerie .bx-wrapper {
  border: 0px solid transparent;
  border: none !important;
}
#content {
  grid-row: 4;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  margin-top: 0;
  padding: 2%;
  padding-top: 0;
}
footer {
  grid-row: 5;
  padding: 0.6rem;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.03);
  clear: both;
}
footer .admin,
footer .admin a {
  color: #888;
  font-weight: normal;
  font-size: 0.7rem;
  display: block;
  margin-bottom: 0.15rem;
  margin-top: 0.15rem;
  text-decoration: none;
  text-align: right;
}
footer > *,
footer > a {
  color: black;
  font-weight: normal;
  text-decoration: none;
  float: right;
  font-size: 0.8rem;
}
footer menu {
  padding: 0.8rem;
  padding-left: 0;
  float: left;
  margin: 0;
  display: flex;
}
footer menu nav {
  margin-left: 1.5rem;
  text-decoration: none;
  display: block;
}
footer menu nav a {
  text-decoration: none;
}
a {
  color: #000;
  letter-spacing: 1px;
  text-decoration: underline;
}
.sub-menu {
  margin: auto;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: space-around;
}
.sub-menu a {
  background-color: rgba(0, 0, 0, 0.05);
  display: block;
  position: relative;
  height: 12rem;
  width: 12rem;
  max-width: 30vw;
  border: 0.5rem solid rgba(0, 0, 0, 0.25);
  letter-spacing: unset;
  display: inline-block;
  font-variant: small-caps;
  font-size: 1.2rem;
  margin: 2%;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Raleway', sans-serif;
  text-rendering: optimizeLegibility;
  text-decoration: none;
  transition: 0.2s;
  text-align: center;
  font-weight: 600;
  border-radius: 99rem;
}
.sub-menu a p {
  padding: 0.5rem;
  display: block;
  width: 100%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}
.sub-menu a.actif {
  font-weight: 700;
  color: white;
  background-color: #df9d60;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
#detail article h1,
#detail article h2,
#detail article h3,
#detail article h4,
#detail article h5,
#detail article h6 {
  text-align: left;
}
#detail article img {
  display: block;
  margin: 10px;
  max-width: 80%;
}
h1 {
  display: flex !important;
  justify-content: center;
  align-items: center;
  align-content: center;
}
h1 img {
  margin-right: 0.8rem;
  margin-left: 0.8rem;
}
.map #content {
  max-width: unset;
  padding: 0;
  margin: 0;
  background-color: transparent;
}
.map #content > h1 {
  padding-bottom: 0px;
  margin: 0;
}
form {
  width: 100%;
  display: block;
}
form input,
form textarea {
  width: 100%;
  display: block;
  font-family: 'Open Sans', sans-serif;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  margin-bottom: 10px;
  font-size: 1.2rem;
}
form input[type=submit] {
  background: #faaa64;
  text-transform: uppercase;
}
.flashbag {
  padding: 10px;
  padding-top: 0;
  padding-bottom: 0;
  width: 100%;
  display: block;
  background-color: #333;
  color: white;
  border-radius: 5px;
  margin-bottom: 10px;
  margin-top: 10px;
  line-height: 0;
  overflow: hidden;
  animation-duration: 5s;
  animation-name: slideout;
  animation-iteration-count: 1;
}
.flashbag.error {
  background-color: #AA0000;
}
.flashbag.success {
  background-color: #228800;
}
@keyframes slideout {
  0% {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 30px;
  }
  75% {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 30px;
  }
  100% {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 0px;
  }
}
#detail {
  overflow: hidden;
  clear: both;
}
#detail #detail-container {
  display: flex;
  flex-wrap: nowrap;
  position: relative;
}
#detail #detail-container article {
  position: relative;
  opacity: 0;
  transition: opacity 1s 0.25s;
  width: 100%;
}
#detail #detail-container article .article-content {
  width: 100%;
}
#detail #detail-container article.actif {
  opacity: 1;
}
body.news article {
  display: block;
  margin-top: 3.5rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
}
body.news article .title {
  font-size: 1.2rem;
}
body.news article .contenu {
  padding: 2.5rem;
  padding-top: 1rem;
  display: block;
}
article p {
  display: block;
  margin: 0 !important;
}
.modal {
  position: relative;
  position: fixed;
  z-index: 99999999;
  top: 0;
  bottom: 0;
  height: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  padding: 3rem;
  max-width: 100%;
  text-align: center;
}
.modal .after {
  display: block;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  margin: 0;
  max-width: 98vw;
  max-height: 98vh;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.modal .after::after {
  z-index: 99999999;
  display: block;
  position: absolute;
  background-color: rgba(20, 20, 20, 0.75);
  padding: 0.5rem 1rem 0.5rem 1rem;
  color: white;
  font-weight: normal;
  font-family: 'Open Sans';
  font-size: 1.4rem;
  top: 0;
  right: 0;
  cursor: pointer !important;
  content: 'X';
}
.modal img {
  max-width: 98vw;
  max-height: 98vh;
  cursor: pointer !important;
}
article img,
#galerie img {
  cursor: pointer !important;
}
