/* RESETS */
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none!important;
}

/* Apply a natural box layout model to all elements */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


/* ********** BASIC SETTINGS ********** */

html, body {
  width: 100%;
  height: 100%;
  min-height: 50vw;
  font-family: 'Helvetica Neue Light', sans-serif; 
  font-size: 100%;
  font-weight: 300;
  line-height: 1;
  color: white;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  background: #000;
  z-index: 2;
}

::selection {
  color: #000;
  background: rgba(252,210,28,.8);
}

::-moz-selection {
  color: #000;
  background: rgba(252,210,28,.8);  
}


/* ********** TEXTS ********** */

h1 {
  font-family: 'merriweatherlight', serif;
  font-size: 1em;
  line-height: .9em;
  color: #fcd21c;
  text-transform: uppercase;
  text-align: left;
  padding: .25em 0 0;
}
h2, h3 {
  font-family: 'Helvetica Neue Light', sans-serif; 
  font-weight: 400;
  color: #fcd21c;
  text-transform: uppercase;
  text-align: left;
}
h2 {font-size: .6em;}
h3 {font-size: .55em; line-height: 1.6em;}

p {
  font-size: .65em;
  line-height: 1.1em;
  text-align: justify;
}

.highlight {
  background: rgba(0,0,0,0.8) !important;
  padding: 0.5em;
}
.highlight>strong {
  color: #fcd21c !important;
}
/* ********** LINKS ********** */

a {
  text-decoration: none;
  color: #fcd21c;
}

a:hover {
  text-decoration: none;
  color: #fcd21c;
}

/*a[href^="tel:"] {

}

a[href^="tel:"]:before {
  content: "\260e";
  margin-right: 0.5em;
}*/


/* ********** LISTS ********** */

li {list-style-type: none;}


/* SMOOTH EFFECTS */

a, 
a:hover {
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

span.nouveau {
  color: black;
  background: #fcd21c;
  padding: 0 0.3em;
  border-top-left-radius: 0.5em;
  border-bottom-right-radius: 0.5em
}

/* **************************************************************************************************** */

section,
.gallery figure {
  -webkit-transition: flex 1.5s ease-out, opacity 1s ease-out;
  -moz-transition: flex 1.5s ease-out, opacity 1s ease-out;
  -ms-transition: flex 1.5s ease-out, opacity 1s ease-out;
  -o-transition: flex 1.5s ease-out, opacity 1s ease-out;
  transition: flex 1.5s ease-out, opacity 1s ease-out; 
}

section>article>* {       
  -webkit-transition: transform 1.5s ease-out, opacity 1.5s ease-out;
  -moz-transition: transform 1.5s ease-out, opacity 1.5s ease-out;
  -ms-transition: transform 1.5s ease-out, opacity 1.5s ease-out;
  -o-transition: transform 1.5s ease-out, opacity 1.5s ease-out;
  transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}


/* ********** GENERIC CLASSES ********** */

.nobg {background: none;}

.winebg {background: url('../img/bgs/domaine-noel-martin_winebg.jpg');}
.domainebg {background: url('../img/bgs/domaine-noel-martin_domainebg.jpg');}
.distinctionsbg {background: url('../img/bgs/domaine-noel-martin_distinctionsbg.jpg');}
.contactbg {background: url('../img/bgs/domaine-noel-martin_contactbg.jpg');}
.mentionsbg {background: url('../img/bgs/domaine-noel-martin_mentionsbg.jpg');}
.errorbg {background: url('../img/bgs/domaine-noel-martin_404bg.jpg');}

.bgprop {  
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  background-size: cover;
  -webkit-filter: grayscale(1) blur(5px);
  filter: grayscale(1) blur(5px);
  opacity: 0.5;
  z-index: -1;
}

.scroll {overflow-y: auto;}

/* ********** INDEX vidéo ********** */

#video-bg {
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

#video-bg>video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
/* 1. Pas de support d'object-fit */
@media (min-aspect-ratio: 16/9) {
  #video-bg>video {
    height: 300%;
    top: -100%;
  }
}
@media (max-aspect-ratio: 16/9) {
  #video-bg>video {
    width: 300%;
    left: -100%;
  }
}
/* 2. En cas de support d'object-fit, écrase les règles en (1) */
@supports (object-fit: cover) {
  #video-bg>video {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
  }
}


/* ********** HEADER ********** */

header {
  display: flex;
  width: 100%;
  height: 10%;
  min-height: 2.5em;
  flex-flow: row nowrap;
  background: rgba(13,13,13,.75);
}

nav.menu-general {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  font-weight: 400;
  padding: 0 5%;
}
nav.menu-general>h1 {font-size: 125%;}
nav.menu-general>h1>a {color: rgba(252,210,28,.75);}
nav.menu-general>h1>a:hover,
nav.menu-general>h1>a.selected-g {color: rgba(252,210,28,1);}
.toggle {display: none;}
nav.menu-general>ul {
  display: flex;
  width: 30%;
  min-width: 400px;
  height: 50%;
  min-height: 30px;
  font-size: 75%;
  text-transform: uppercase;
  background: rgba(13,13,13,.5);
}
nav.menu-general>ul li {
  width: 25%;
  height: 100%;
}
nav.menu-general>ul a {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  color: white;
}
nav.menu-general>ul a:hover,
nav.menu-general>ul a.selected-g {
  color: black;
  background: rgba(252,210,28,.75);
}


/* ********** MAIN ********** */

main {
  display:flex;
  width: 100vw;
  height: 85%;
  flex-flow: column nowrap;
  font-size: 1vw;
}

main.intro {font-size: 1.2vw;}
main.intro>.wrap {height: 100%;}
main.intro section>article {
  align-items: center;
  justify-content: center;
}
#generic-article>h1 {
  width: 100%;
  text-align: center;
  opacity: 0;
  -webkit-transform: translateX(-200px);
  -ms-transform: translateX(-200px);
  transform: translateX(-200px);
}
#generic-article>h2 {
  font-weight: 300;
  text-align: center;
  font-size: .8em;
  opacity: 0;
  -webkit-transform: translateX(200px);
  -ms-transform: translateX(200px);
  transform: translateX(200px);
}

nav.menu-section {
  width: 100%;
  height: 15%;
  font-size: 3em;
  color: rgba(252, 210, 28, 0.1);
  text-transform: uppercase;
  background: rgba(13,13,13,.75);
}
nav.menu-section ul {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  text-align: left;
}
nav.menu-section li {
  width: auto;
  height: 100%;
  margin: 0 4vw;
}
nav.menu-section a {
  display: flex;
  width: 100%;
  height: 100%;
  flex-flow: column nowrap;
  justify-content: center;
  font-family: 'merriweatherlight', serif;
  line-height: 0.85;
  color: rgba(252, 210, 28, 0.25);
  padding: 0 2vw;
  -webkit-transition: color .5s ease-in-out;
  -moz-transition: color .5s ease-in-out;
  -ms-transition: color .5s ease-in-out;
  -o-transition: color .5s ease-in-out;
  transition: color .5s ease-in-out;
}
nav.menu-section a:hover,
nav.menu-section a.active-section {color: rgba(252,210,28,1);}
nav.menu-section span {
  display: block;
  font-family: 'Helvetica Neue Light', sans-serif;  
  font-size: .35em;
  font-weight: 400;
  line-height: 1;
}

.wrap {
  position: relative;
  display: flex;
  width: 100%;
  height: 85%;
  font-size: 2.8em;
  flex-flow: column nowrap;
  align-items: center;
  overflow: hidden;
}
.wrap.fullheight {
  height: 100%;
  padding: 1.5% 0;
}
.wrap.fullheight>section {
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: flex-start;
}
.wrap.fullheight>section>h1 {
  width: 100%;
  height: auto;
  font-size: inherit;
  margin: 0 0 .25em;
}
.wrap.fullheight>section>article {height: 90%;}

section {
  position: relative;
  display: flex;
  width: 95%;
  height: 100%;
  flex-flow: row nowrap;
  align-items: center;
  opacity: 0;
  overflow: hidden;
}
section.v-list {
  flex-flow: row wrap;
  justify-content: space-between;
}
section:target,
section.displayed-section {
  flex: 0 0 auto;
  opacity: 1;
}

nav.menu-article {
  position: absolute;
  bottom: 1.5em;
  right: 1.7em;
  font-size: 1vw;
  z-index: 1;
}
section.v-list nav.menu-article {
  position: relative;
  bottom: initial;
  right: initial;
}

nav.menu-article li {display: inline-block;}
nav.menu-article>ul.linklist li {
  width: 5em;
  height: 5em;
  min-width: 40px;
  min-height: 40px;
  background: rgba(13,13,13,.8);
  border: 1px solid #fcd21c;
  margin: 0 0 0 1.2em;
}
nav.menu-article>ul.linklist a {
  display: flex;
  width: 100%;
  height: 100%;
  font-size: 2em;
  justify-content: center;
  align-items: center;
}
nav.menu-article>ul.linklist img {
  max-width: 1.5em;
  height: auto;
}
nav.menu-article>ul.linklist .active-article img {
  -webkit-filter: brightness(0);
  filter: brightness(0);
}
nav.menu-article>ul.linklist .active-article {
  color: #000;
  background: rgba(252, 210, 28, .8);
}

nav.menu-article ul.datelist {
  display: flex;
  width: 100%;
  height: 100%;
  flex-flow: column nowrap;
  justify-content: space-around;
  font-size: 1.3em;
  border-left: 1px solid #fcd21c;
}
nav.menu-article ul.datelist li {
  position: relative;
  width: 100%;
  height: auto;
  text-align: left;
}
nav.menu-article ul.datelist a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  padding: 0;
}
nav.menu-article ul.datelist a.active-article,
nav.menu-article ul.datelist a:hover{font-size: 1.4em;}
nav.menu-article ul.datelist a.active-article {font-weight: 400;}
nav.menu-article ul.datelist a.active-article::before,
nav.menu-article ul.datelist a:hover::before {
  content: '•';
  display: block;
  position: absolute;
  font-size: 150%;
  font-weight: 200;
  left: -0.25em;
}

section>h1 {font-size: 0;}
section>article {     /* VINS DOMAINE PRESSE */
  width: 100%;
  height: 95%;
  min-height: 12em;
  display: flex;
  flex-flow: column wrap;
  justify-content: flex-start;
  align-content: space-between;
  text-align: justify;
  overflow: hidden;
  opacity: 0;
}
section>article.displayed-article,
section>article:target {
  /*order: -1;*/
  flex: 0 0 auto;
  opacity: 1;
} 

.mask {
  display: flex;
  flex-flow: column nowrap;
  overflow: hidden;
}

.mask>article {      /* DISTINCTIONS MENTIONS */
  display: flex;
  width: 100%;
  height: 0;
  flex-flow: column nowrap;
  justify-content: center;
  padding: 0 1% 0 0;
  overflow: hidden;
  -webkit-transition: height 1.5s ease-out;
  -moz-transition: height 1.5s ease-out;
  -ms-transition: height 1.5s ease-out;
  -o-transition: height 1.5s ease-out;
  transition: height 1.5s ease-out;
}
.mask>article.displayed-article,
.mask>article:target {height: 100%;}

.content {
  display: flex;
  width: 100%;
  height: 0;
  flex-flow: column nowrap;
  padding: 0 5% 0 0;
}
article.displayed-article .content,
article:target .content {height: auto;}

.textgroup {padding: .25em 0;}
.textgroup>p {margin: 0 0 0.5em 0;}
.textgroup>ul {
  font-size: .65em;
  line-height: 1.1;
  margin: 0 0 .55em;
}
.textgroup>ul>li {list-style: '- ' inside;}

.gallery {
  display: flex;
  flex-flow: row-reverse nowrap;
  height: 100%;
  overflow: hidden;
  text-align: center;
  -webkit-transform: translateX(-100px);
  -ms-transform: translateX(-100px);
  transform: translateX(-100px);
  opacity: 0;
}

.gallery figure {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: .2;

}
.gallery figure.displayed-figure,
.gallery figure:target {flex: 0 0 auto; opacity: 1;}
.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.gallery figure img.pano {object-fit: contain;}
.gallery figure figcaption {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: auto;
  bottom: 0;
  font-size: 0.65em;
  background: rgba(13,13,13,.5);
  padding: 1%;
}
.gallery figure.displayed-figure figcaption,
.gallery figure:target figcaption {opacity: 1;}
.gallery figure figcaption>strong {display: block;}

nav.menu-img {
  -webkit-transform: translateY(100px);
  -ms-transform: translateY(100px);
  transform: translateY(100px);
  opacity: 0;
}
nav.menu-img ul {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: flex-end;
}
nav.menu-img li {
  display: flex;
  -webkit-transition: all .7s ease-in-out;
  -moz-transition: all .7s ease-in-out;
  -ms-transition: all .7s ease-in-out;
  -o-transition: all .7s ease-in-out;
  transition: all .7s ease-in-out;
}
nav.menu-img li:hover {flex: 0 0 auto;}
nav.menu-img a {
  display: flex;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
nav.menu-img a.active-img,
nav.menu-img li:hover a {
  border: 1px solid #fcd21c;
  opacity: 1;
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}
nav.menu-img img {
  width: 100%;
  height: 100%;
}


/*  VINS  */

main.vins nav.menu-section ul {justify-content: space-around;}
main.vins nav.menu-section li {margin: 0;}

/*main.vins nav.menu-article {right: 2.5em;}*/
main.vins nav.menu-article ul {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
}
main.vins nav.menu-article li {margin: 0 0 0 1em;}
main.vins nav.menu-article a {display: block;}
main.vins nav.menu-article a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #fcd21c;
  margin: 0.6em 0 0;
  -webkit-transition: width .4s;
  -moz-transition: width .4s;
  -ms-transition: width .4s;
  -o-transition: width .4s;
  transition: width .4s;
}
main.vins nav.menu-article li:hover>a::after,
main.vins nav.menu-article a.active-article::after {width: 100%;}
main.vins nav.menu-article img {
  width: 3.8em;
  min-width: 30px;
  height: auto;
  -webkit-transform: scale(0.9); 
  -ms-transform: scale(0.9);
  transform: scale(0.9);
  -webkit-transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -ms-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}
main.vins nav.menu-article img:hover,
main.vins nav.menu-article a.active-article>img {
  -webkit-transform: scale(1); 
  -ms-transform: scale(1);
  transform: scale(1);
}

.bottle {
  display: flex;
  align-items: center;
  width: 15%;
  height: 100%;
  min-height: 1px;
  /*padding: 0 0 2.5% 0;*/
  -webkit-transform: translateX(-100px);
  -ms-transform: translateX(-100px);
  transform: translateX(-100px);
  opacity: 0;
}
.bottle img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 100%;
  object-fit: contain;
  object-position: 50% 0;
  -webkit-filter: brightness(105%) contrast(102%) drop-shadow(8px 8px 12px rgba(0,0,0,.5));
  filter: brightness(105%) contrast(102%) drop-shadow(8px 8px 12px rgba(0,0,0,.5));
}

.winedesc {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-flow: column nowrap;
  -webkit-transform: translateY(-100px);
  -ms-transform: translateY(-100px);
  transform: translateY(-100px);
  opacity: 0;
}
.tc {
  display: flex;
  width: 20em;
  flex-flow: column nowrap;
  align-items: center;
  font-size: .25em;
  background: url('../img/style/tcborder.png') no-repeat center center;
  -webkit-background-size: contain;
  background-size: contain;
  padding: 1.2em 0;
  margin: .35em 0;
}
.tc>h3 {
  font-size: 1.2em;
  text-transform: uppercase;
  color: #fff;
}
.tc>p {
  font-size : 5.2em;
  line-height: 1;
  text-transform: uppercase;
}
.tc>p>span{font-size: 0.45em;}

.winextra {
  width: 30%;
  -webkit-transform: translateY(-100px);
  -ms-transform: translateY(-100px);
  transform: translateX(100px); 
  opacity: 0;
}


/*  DOMAINE */

main.domaine .gallery {
  width: 49.25%;
  background: #000;
  border: 1px solid #000;
}

.rightside {
  width: 49.25%;
  height: 60%;
  margin: 0 0 1%;;
  opacity: 0;
  -webkit-transform: translateY(-100px);
  -ms-transform: translateY(-100px);
  transform: translateY(-100px);
}
.rightside>.scroll {
  height: 85%;
  padding: 0 2.5% 0 0;
}
.rightside>.textgroup>p {margin: 0 0 .5em;}

main.domaine nav.menu-img {width: 49.25%; height: 20%;}
main.domaine nav.menu-img ul {flex-flow: row-reverse nowrap;}
main.domaine nav.menu-img li,
main.domaine nav.menu-img a {max-width: 5em; height: 100%;}


/*  RECOMPENSES  */
section#recompenses .mask {width: 75%; height: 95%;}
section#recompenses nav.menu-article {width: 20%; height: 95%;}

section#recompenses .content {align-items: flex-end;}
section#recompenses .content h1 {
  font-size: 1.5em;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  text-align: right;
}
section#recompenses .content h2 {
  font-size: 1.1em;
  font-weight: 500;
  text-transform: none;
  text-align: right;
  color: #eee;
}
section#recompenses .content h3 {
  font-size: 1.1em;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  text-align: right;
  line-height: 1;
}
section#recompenses .content h3:last-of-type {margin-top: .5em;}
section#recompenses .content h3:only-of-type {margin-top: 0;}

section#recompenses .content p {
  font-size: .9em;
  text-align: right;
}
section#recompenses .textgroup {margin: 0 0 .5em;}
section#recompenses .textgroup>p {margin: 0;}

/*  PRESSE  */

section#presse .gallery {width: 75%; height: 100%;}
section#presse .gallery figure {background: rgba(13,13,13,.5);}
section#presse figure.displayed-figure img,
section#presse figure:target img {object-fit: contain; object-position: 50% 50%;}

section#presse nav.menu-img {
  width: 10%;
  height: 100%;
  font-size: .9em;
}
section#presse nav.menu-img ul {
  flex-flow: column-reverse nowrap;
  justify-content: flex-end;
}
section#presse nav.menu-img li {width: 100%; margin: 0 0 .1em;}
section#presse nav.menu-img img {
  max-height: 1em;
  -webkit-transition: all .7s ease-in-out;
  -moz-transition: all .7s ease-in-out;
  -ms-transition: all .7s ease-in-out;
  -o-transition: all .7s ease-in-out;
  transition: all .7s ease-in-out;
}
section#presse nav.menu-img img:hover {max-height: 3em;}


/*  MENTIONS LEGALES  */

section#mentions-legales .mask {width: 75%; height: 85%;}
section#mentions-legales nav.menu-article {width: 25%; height: 75%;}
section#mentions-legales nav.menu-article ul.datelist {justify-content: center;}
section#mentions-legales nav.menu-article ul.datelist li {margin: 5% 0;}

section#mentions-legales .content ul {
  font-size: .65em;
  line-height: 1.2;
  margin: .25em 0;
}

section#mentions-legales>.textgroup {
  width: 100%;
  height: auto;
  font-size: .75em;
  text-transform: uppercase;
  padding: .35em 0 0;
}


/* ********** CONTACT ********** */

section#contact-section>nav.menu-article {display: none;}
section#contact-section>article {
  width: 48%;
  height: 90%;
  flex-flow: column nowrap;
  opacity: 1;
}

section#contact-section h2 {
  color: #fff;
  margin: .5em 0 .5em;
}

p.succes {
  background: #129740;  
  padding: .15em .25em;
}
p.alerte {
  background: #5D0808;  
  padding: .15em .25em;
}

form#mailform {
  display: flex;
  width: 100%;
  height: 100%;
  flex-flow: column nowrap;
  align-items: center;
}

form#mailform ::placeholder {
  font-size: 1em;
  color: #eee;
}

form#mailform>#mail:invalid,
form#mailform>textarea:invalid {
  background-color: rgba(13,13,13,.7);
  border: 1px solid #5D0808;
}

form#mailform>label {font-size: 0;}

form#mailform>input[type="text"],
form#mailform>input[type="email"],
form#mailform>select,
form#mailform>textarea,
form#mailform>button[type="submit"] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10%;
  font-size: .8em;
  color: #fff;
  background:rgba(13,13,13,.7);
  border: 1px solid #111;
  margin: 0 0 .2em;
  padding: 0 0 0 .5em;
}

form#mailform>input[type="text"]:hover,
form#mailform>input[type="text"]:focus,
form#mailform>input[type="email"]:hover,
form#mailform>input[type="email"]:focus,
form#mailform>select:hover,
form#mailform>select:focus,
form#mailform>textarea:hover,
form#mailform>textarea:focus {border-color: #fcd21c;}

form#mailform>select {
  display: block;
  background: url('../img/style/select-open.png') no-repeat;
  background-color: rgba(13,13,13,.7);
  background-position: right;
  background-size: 1.5em 1.5em;
}
form#mailform>select>option {font-weight: normal;}

form#mailform>textarea {
  height: 70%;
  padding: .5em 0 0 .5em;
}

form#mailform>button[type="submit"] {
  width: 50%;
  text-transform: uppercase;
  transition: background .5s ease-in-out;
}
form#mailform>button[type="submit"]:hover {
  color: #fcd21c;
  background: #111;
  cursor: pointer;
  -webkit-cursor: pointer;
}

article#map>p {margin: 0 0 .5em;}
article#map a {transition: none;}
article#map>address {
  position: relative;
  height: 75%;
  padding: 0 0 .5em;
}
article#map>address>iframe {
  width: 100%;
  height: 85%;
}
article#map>address>p {
  height: 15%;
  margin: .5em 0 0;
}
article#map>address>a>img {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.5em;
  height: auto;
}

article#map>dl {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  font-size: .7em;  
}
article#map>dl>dt {width: 20%;}
/*article#map>dl>dd {width: 80%;}*/
article#map>dl>dd.full-width {width:100%;}

/* ********** FOOTER ********** */

footer {
  display: flex;
  width: 100%;
  height: 5%;
  justify-content: center;
  align-items: center;
  font-size: 85%;
  font-weight: 400;
  background: rgba(13,13,13,.7);
}
footer>p,
footer>a {
  width: 33.333%;
  font-size: 100%;
  text-align: center;
}
footer a {color: white;}
footer>a {color: #fcd21c;}
footer a:hover {
  color: white;
  text-decoration: underline;
  -webkit-text-decoration-color: #fcd21c;
  text-decoration-color: #fcd21c;
}
.copy::before {content: "\00a9";}



/*  BLOCS ANIMATIONS  */
#generic-article.displayed-article>*,
section>.displayed-article>* {
  -webkit-transform: translate(0);
  -ms-transform: translate(0);
  transform: translate(0);
  opacity: 1;
}


/*    ANNONCES    */

/*    POPUP CLOSED    */

#open-popup {
  height: 50px;
  color:black;
  background: rgba(252,210,28,0.8);
  cursor: help;
}
#open-popup-txt {
  position:absolute;
  top: 0;
  display: flex;
  align-items:center;
  width: auto;
  height: 50px;
  padding: 15px;
  color: rgba(252,210,28,1);
  background: rgba(0,0,0,0.8);
  cursor: help;
  z-index: 4;
}
#open-popup-txt:before {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  background: url('../img/style/bouteille_icon.png');
  background-size: contain;
}

/*    POPUP OPEN    */

#popup, #popup-txt {
  position: absolute;
  top: 50%;
  left :50%;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  transform: translate(-50%,-50%);
  background: rgba(0,0,0,0.9);
}
#popup {z-index: 5;}
#popup-txt{
  width: 40vw;
  height: auto;
  z-index: 4;
}

#popup.hidden,
#popup-txt.hidden {display: none;}

#popup-content{width:40vw;}

#popup-content,
#popup-content-txt {
  position:relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

#popup-content > img {
  width: 100%;
  height: auto;
}
#popup-content >.telecharge {
  width: 100%;
  padding: .5em;
  text-align: center;
  font-weight: bold;
}
#popup-content >.telecharge:hover {
  text-decoration: underline;
}

#popup-content-txt h1{
  width: 90%;
  font-size: 0.6em;
  margin-top: 30px
}

.annonces {
  width: 90%;
  height: auto;
  min-height: 25vh;
  max-height: 500px;
  font-size: 0.8em;
  opacity: 1;
}

.annonces > p {
  line-height: 1.15em;
  margin: 1em 0;
}
.annonces strong {font-weight: bold;}
.annonces > p.sign {text-align: right;}

#close-popup,
#close-popup-txt {
  position: absolute;
  top: 0;
  right: 0;
  height: 25px;
  width: 60px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  color: white;
  font-size: 15px;
  cursor: pointer;
}