@import url('https://fonts.googleapis.com/css?family=Josefin+Sans|Barlow');
@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  /*rgb(27,41,70) rgb(208,223,240)
  /* main colors */
  --main: #333333;
  --main-dark: #212121;
  --main-text: #fafafa;
  --main-text-opp: #333333;
  /* animations */
  --easing: cubic-bezier(0.4, 0.0, 0.2, 1);

  --border_radius: 0px;
}

body.fk {
  background-color: var(--main);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.content_ajax_wrapper {
  min-height: 100vh;
  width: 100vw;
}

[data-href]:hover {
  cursor: pointer;
}

.fk_wrapper_body {
  margin-top: 70px;
  max-width: 1049px;
}

/* titles */
h2.fk {
  color: var(--main-text-opp);
  background-color: var(--main-text);
  border-radius: var(--border_radius);
}

p.fk {
  color: var(--main-text-opp);
  background-color: var(--main-text);
  padding: 15px 20px;
}

/* legal_mentions */
.legal_mentions,
.legal_mentions .fk {
  background-color: var(--main) !important;
}

/* front style */
.front_wrapper {
  position: absolute;
  right: 0;
  z-index: -1;
  opacity: 0.4;
}

h1.front_title {
  text-align: center;
  top: 150px;
  right: 0;
  width: 100vw;
  position: absolute;
  color: var(--main-text);
  font-size: 3em
}

p.front_paragraph {
  font-family: 'Barlow', sans-serif;
  width: 400px;
  color: var(--main-text);
  font-size: 27px;
  text-align: justify;
  padding: 260px 0 120px 0;
  margin-left: calc(50vw - 200px);
}

.galery_lettrine {
  font-family: 'Barlow', sans-serif;
  color: var(--main-text);
  font-size: 54px;
  height: 27px;
  margin-left: 20px;
  line-height: 100%
}

@media screen and (max-width: 733px) {
  p.front_paragraph {
    width: calc(100vw - 40px);
    margin-left: 20px;
  }
}

/* teliak_soc */
#teliak_soc {
  position: fixed;
  z-index: 15;
  width: inherit;
  max-width: inherit;
  height: 70px;
  background-color: var(--main);
}

#teliak_logo img {
  position: absolute;
  left: 5px;
  height: 80%;
  top: 10%;
}

#teliak_name {
  line-height: 60px;
  position: absolute;
  color: var(--main-text);
  font-family: 'Barlow', sans-serif;
  text-transform: uppercase;
  font-weight: light;
  font-size: 1.7em;
  padding: 5px 15px;
}

/*nav*/
nav#teliak_menu {
  text-align: right;
  height: 100%;
  line-height: 60px
}

nav#teliak_menu ul {
  display: inline-block;
  margin: 0;
  padding: 0;
}

nav#teliak_menu ul li {
  display: inline-block;
  position: relative;
  transition: all .3s var(--easing);
  color: var(--main-text);
  list-style: none;
  font-family: 'Barlow', sans-serif;
  text-transform: uppercase;
  vertical-align: bottom;
  font-weight: light;
  font-size: 1.2em;
  padding: 2px 8px;
}

nav#teliak_menu ul li::after {
  content: '';
  height: 2px;
  width: 0;
  background-color: var(--main-text);
  display: block;
  position: absolute;
  left: 0px;
  transition: all .3s var(--easing);
}

nav#teliak_menu ul li:hover {
  cursor: pointer;
  color: var(--main-text);
}

nav#teliak_menu ul li.open {
  color: var(--main-text);
}

nav#teliak_menu ul li:hover::after,
nav#teliak_menu ul li.open::after {
  width: 100%;
}

/* 1050px */
@media screen and (max-width: 1050px) {

  nav#teliak_menu {
    text-align: center;
    height: 100%;
    line-height: 60px
  }

  nav#teliak_menu .menu_fleche {
    position: absolute;
    right: 10px;
    top: 15px;
  }

  nav#teliak_menu .menu_fleche::after,
  nav#teliak_menu .menu_fleche::before,
  nav#teliak_menu .menu_fleche span {
    content: '';
    width: 30px;
    height: 2px;
    background-color: var(--main-text);
    position: absolute;
    z-index: 150;
    right: 0px;
    top: 0;
    transition: all .3s var(--easing)
  }

  nav#teliak_menu .menu_fleche::before {
    top: 10px;
  }

  nav#teliak_menu .menu_fleche span {
    top: 20px;
  }

  /* open */
  #teliak_soc {
    height: 55px;
  }

  #teliak_soc * {
    transition: all .3s var(--easing)
  }

  #teliak_soc.open .menu_fleche {
    top: 30px;
    right: 20px;
    transform: rotate(90deg);
  }

  #teliak_soc.open .menu_fleche::after {
    transform: rotate(-40deg);
    width: 15px;
  }

  #teliak_soc.open .menu_fleche::before {
    opacity: 0;
    width: 0px;
  }

  #teliak_soc.open .menu_fleche span {
    transform: rotate(40deg);
    width: 15px;
    top: 9px;
  }

  #teliak_soc::after {
    content: '';
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .0);
    visibility: hidden;
    z-index: -100;
  }

  #teliak_soc.open::after {
    background-color: rgba(0, 0, 0, .7);
    visibility: visible;
  }



  nav#teliak_menu ul {
    margin-top: 55px;
    display: block;
    background-color: var(--main);
    max-height: 0px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-5px);
  }

  #teliak_soc.open nav#teliak_menu ul {
    max-height: 100vh;
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
  }

  nav#teliak_menu ul li {
    display: block;
  }

}

/* categories */
.wrapper_categorie {
  width: 1029px;
  position: relative;
  margin: 100px auto;
}

.categorie {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  border-radius: var(--border_radius);
  width: 100%;
  height: 150px;
  font-size: 0.8em;
  margin: 20px;
  position: relative;
  transition: box-shadow .3s var(--easing), transform .3s var(--easing), height .3s var(--easing), margin .3s var(--easing)
}

.categorie:hover {
  transform: translateY(-3px);
  height: 200px;
  margin: 0px 20px;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.3);
}

.wrapper_categorie .categorie .categorie_plus {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 25px;
  background-color: transparent;
  border-radius: var(--border_radius);
  top: 0px;
  left: 0;
  position: absolute;
  opacity: 1;
  transition: opacity .3s var(--easing);
  z-index: 9;
}

.wrapper_categorie .categorie .categorie_plus span {
  z-index: 10;
  position: absolute;
}

.wrapper_categorie .categorie .categorie_plus::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--main-text);
  opacity: 0.3;
  border-radius: var(--border_radius);
  z-index: 5;
}

.categorie_plus * {
  font-family: 'Barlow', sans-serif;
  text-align: justify;
}

.wrapper_categorie .categorie .categorie_plus:hover {
  opacity: 1;
}

.albom_on_top {
  margin: 110px 20px 10px 20px;
  color: var(--main-text-opp);
  padding: 20px 50px;
  display: block;
  position: relative;
  background-color: var(--main);
  border-radius: var(--border_radius);
  /* box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); */
}

.categorie_wrap .albom_on_top * {
  color: var(--main-text-opp);
}

.albom_on_top::after {
  content: "";
  display: block;
  clear: both;
}

.albom_on_top .categorie {
  float: left;
}

.albom_on_top .categorie_plus {
  max-width: 100%;
  height: 100%;
  display: block;
  padding: 20px;
  font-family: 'Barlow', sans-serif;
  font-size: 1em;
}

.albom_on_top .categorie_plus span:nth-child(2) {
  margin-top: 15px;
  line-height: 1.3em;
}

.albom_on_top .mb_pistes {
  bottom: 20px;
}

.mb_pistes {
  position: absolute;
  bottom: 0;
}

.categorie .description {
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px 10px 10px 5px;
  color: #fafafa;
  transition: opacity .2s var(--easing), padding .2s var(--easing);
}

/* 1050px */
@media screen and (max-width: 1050px) {
  .wrapper_categorie {
    width: 100%;
  }

  .categorie {
    margin: 20px 0;
  }

  .categorie:hover {
    margin: 0;
  }
}

/* oeuvres */
.wrap_categorie_info {
  float: left;
}

.categorie_plus {
  margin: 0 20px;
  width: 100%;
}

.categorie_plus span {
  display: block;
  color: #fff;
  line-height: 50px
}

.categorie_plus span:first-child {
  font-size: 1.5em;
  line-height: 90%
}

.wrapper_oeuvres {
  width: 1029px;
  margin: 50px auto;
}

.wrapper_oeuvres .oeuvre {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  border-radius: var(--border_radius);
  border: 4px solid var(--main-dark);
  width: 300px;
  height: 300px;
  margin: 20px;
  position: relative;
  transition: box-shadow .3s var(--easing), transform .4s var(--easing), height .3s var(--easing), margin .3s var(--easing)
}

.wrapper_oeuvres .oeuvre span {
  width: 100%;
  border-radius: 0 0 var(--border_radius) var(--border_radius);
  background-color: var(--main-text);
  color: var(--main);
  position: absolute;
  bottom: 0;
  padding: 10px 20px 5px 20px;
  opacity: 0;
  transition: opacity .3s var(--easing), padding .3s var(--easing)
}

.wrapper_oeuvres .oeuvre:hover span {
  padding: 10px 20px;
  opacity: 1;
}

.wrapper_oeuvres .fk_greymap .oeuvre:hover span {
  opacity: 0;
}

.wrapper_oeuvres .oeuvre.element {
  box-shadow: none;
  border-radius: 0px;
  position: relative;
  margin: 0;
  transition: box-shadow .3s, transform .3s, opacity 0s;
}

.wrapper_oeuvres .oeuvre.element.noanim {
  /* transition: opacity .3s; */
  transition: opacity 0s;
}

.wrapper_oeuvres .oeuvre.display_opac:not(.element) {
  opacity: 0;
  margin-left: 40px;
  margin-right: 0px;
  animation-duration: .4s;
  animation-name: slidein;
  animation-fill-mode: forwards;
  animation-timing-function: var(--easing);
  cursor: pointer;
}

@keyframes slidein {
  to {
    opacity: 1;
    margin-left: 20px;
    margin-right: 20px;
  }
}

.wrapper_oeuvres .oeuvre:not(.element):hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.3);
  box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);
}

/* back button in the categorie page */
.retour {
  position: absolute;
  z-index: 5;
  left: -55px;
  top: 50px;
  border-radius: 100%;
}

.retour::after {
  content: '';
  height: 90%;
  width: 90%;
  top: 5%;
  left: 5%;
  background-color: var(--main-text);
  border-radius: 100%;
  position: absolute;
  z-index: -1;
}

.retour i {
  font-size: 1.5em;
  color: var(--main-dark);
}

/* when back button is to close to the left side, just hide this */
@media screen and (max-width: 1167px) {
  .retour {
    display: none;
  }
}


@media screen and (max-width: 1050px) {
  .wrap_categorie_info {
    float: none;
  }

  .wrapper_oeuvres {
    float: none;
    width: 715px;
    margin: 50px auto;
    padding: 0 15px;
  }
}

@media screen and (max-width: 733px) {
  .wrapper_oeuvres {
    width: 340px;
    padding: 0 0px;
  }

  .albom_on_top {
    padding: 20px 10px;
    margin: 110px 10px 50px 10px;
  }

  .albom_on_top .categorie_plus {
    padding: 0px;
    margin: 0px;
  }
}

/* contact */
.contact_form,
.wrapp_text,
.photo_bio {
  max-width: 600px;
  margin: 220px auto 10px;
  text-align: justify;
  background-color: #fff;
  border-radius: var(--border_radius);
  padding: 20px;
  /* box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); */
}

.contact_form {
  font-size: initial;
  font-family: 'Barlow', sans-serif;
}
.contact_form * {
  font-family: 'Barlow', sans-serif !important;
}
.wrapp_text,
.photo_bio {
  font-size: 1.2em;
  font-family: 'Barlow', sans-serif;
  margin: 150px 0 10px;
  width: 100%;
}

@media screen and (max-width: 733px) {

  .wrapp_text,
  .photo_bio {
    margin: 5px 0 60px;
  }
}

.wrapp_text *,
.photo_bio {
  font-family: 'Barlow', sans-serif;
  text-align: justify;
}

.contact_form .text_msg {
  text-align: center;
  color: #424242;
}

.contact_form .input {
  width: 500px;
  margin: auto;
}

.form_rgpd_text {
  font-size: .8em;
  margin-bottom: 20px;
}

/* footer */
footer.fk {
  position: absolute;
  bottom: -52px;
  padding: 10px;
}

body.fk {
  padding-bottom: 52px
}