/**********************************************************************************************************************************/
/* POPUP
/**********************************************************************************************************************************/
body.focusEpicPopup{
  /* overflow-x: hidden; */
}

.focusEpicPopup #header{
  opacity: 0;
}

#toShutIfPopup{
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: all .4s ease;
  transform: translateX(0);
}

body.focusEpicPopup #toShutIfPopup{
  transform: translateX(-100%);
  height: 0;
}

#epic-popup-wrapper{
  display: block;
  width: 100%;
  transform: translateX(100%);
}

.focusEpicPopup #epic-popup-wrapper{
  transform: translateX(0);
}

#popup-close{
  width: 32px;
  height: 32px;
  background: url(../../Icons/icons/close.png) no-repeat center center / contain transparent;
  display: block;
  position: fixed;
  top: 15px;
  right: 15px;
  opacity: .3;
  transition: all .4s ease;
  cursor: pointer;
}

#popup-close:hover{
  transform: scale(1.2);
  opacity: 1;
}

#epic-popup{
  position: relative;
  z-index: 45;
  opacity: 0;
  transition: all .3s ease .6s;
}

.focusEpicPopup #epic-popup{
  opacity: 1;
  min-height: 100vh;
}

#epic-popup #header{
  display: none;
}

/**********************************************************************************************************************************/
/* PRODUIT
/**********************************************************************************************************************************/
#produit{
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4;
  background: #FFFFFF;
  min-height: 100vh;
}

@media only screen and (min-width: 1000px) {
  #produit{
    flex-direction: row;
  }
}

/**********************************************************************************************************************************/
/* PRODUIT > COVER
/**********************************************************************************************************************************/
#produit-covers{
  background: #fafafa;
}

@media only screen and (min-width: 1000px) {
  #produit-covers{
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
  }
}

#produit-covers div{
  min-height: 100%;
  display: flex;
}

#produit-covers img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media only screen and (min-width: 1000px) {
  #produit-covers img{
    height: 100vh;
  }
}


/**********************************************************************************************************************************/
/* PRODUIT CONTENT
/**********************************************************************************************************************************/
#produit-content{
  padding: var(--gutter-in);
}

@media only screen and (min-width: 1000px) {
  #produit-content{
    width: 50%;

  }
}


/**********************************************************************************************************************************/
/* PRODUIT CONTENT > HEADER
/**********************************************************************************************************************************/
#produit-header{
  padding: calc(var(--gutter-in)/2);
  background: var(--vert);
  color: #FFFFFF;
  border-radius: 10px;
  margin: calc(var(--gutter-in)/2*-1) calc(var(--gutter-in)/2*-1) var(--gutter-out) calc(var(--gutter-in)/2*-1);
  transition: all .2s ease;
}

#produit-header.openContact{
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
}

@media only screen and (min-width: 600px) {
  #produit-header{
    margin: 0;
    margin-bottom: var(--gutter-out);
  }
}

@media only screen and (min-width: 1600px) {
  #produit-header{
    justify-content: space-between;
    display: flex;
    align-items: center;
  }
}

#produit-header img{
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  margin-right: 30px;
}

#produit-header h2{
  font-weight: bold;
  font-size: 24px;
  color: #FFFFFF;
}

#produit-header-left{
  align-items: center;
  display: flex;
}


/**********************************************************************************************************************************/
/* PRODUIT CONTENT > HEADER > LINKS
/**********************************************************************************************************************************/
#produit-header-right{
  align-items: center;
  display: flex;
  padding-top: calc(var(--gutter-in)/2);
  margin-top: calc(var(--gutter-in)/2);
  border-top: 1px solid #FFFFFF;
}

@media only screen and (min-width: 1600px) {
  #produit-header-right{
    padding-top: 0;
    margin-top: 0;
    border: none;
  }
}

#produit-header-right a{
  border: 1px solid #FFFFFF;
  padding: 10px 20px;
  border-radius: 320px;
  color: #FFFFFF;
  display: inline-block;
  position: relative;
  transition: all .4s ease;
}

#produit-header-right a:hover{
  background-color: #FFFFFF !important;
  color: var(--vert);
}

#produit-header-right a + a{
  margin-left: 10px;
}

#produit-header-right .link-contact{
  padding-left: 40px;
  background-image: url(../../Icons/icons/contact.png);
  background-repeat: no-repeat;
  background-position: 15px center;
  background-size: 16px;
  background-color: transparent;
}

#produit-header-right .link-contact:hover{
  background-image: url(../../Icons/icons/contact-vert.png);
}

#produit-header-right #link-dl{
  padding-left: 40px;
  background-image: url(../../Icons/icons/download.png);
  background-repeat: no-repeat;
  background-position: 15px center;
  background-size: 16px;
  background-color: transparent;
  font-size: 0;
}

#produit-header-right #link-dl .persistent{
  font-size: 16px;
  text-transform: capitalize;
}

#produit-header-right #link-dl:hover{
  background-image: url(../../Icons/icons/download-vert.png);
}

#produits-others{
  margin-top: calc(var(--gutter-out));
  background: #fafafa;
  padding: var(--gutter-in);
}

#produits-others #other-toggler{
  font-weight: bold;
  text-transform: uppercase;
  display: block;
  margin-bottom: calc(var(--gutter-in)/2);
}

#produits-others ul{
  display: flex;
  flex-wrap: wrap;
}

#produits-others ul li{
  width: 50%;
}

#produits-others ul a{
  color: var(--vert);
  margin: 10px 0;
  display: block;
}


/**********************************************************************************************************************************/
/* CONTACT
/**********************************************************************************************************************************/
#hemodia-contact{
  background: #fafafa;
  border-radius: 0 0 10px 10px;
  display: flex;
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: all .2s ease;
  height: 0;
}

#hemodia-contact.open{
  padding: calc(var(--gutter-in)/2);
  margin: 0 calc(var(--gutter-in)/2*-1);
  height: auto;
}

@media only screen and (min-width: 600px) {
  #hemodia-contact.open{
    margin: 0 0 var(--gutter-out) 0;
  }
}

#hemodia-contact img{
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 100%;
  margin-right: calc(var(--gutter-in)/2);
}

@media only screen and (min-width: 600px) {
  #hemodia-contact img{
    width: 100px;
    height: 100px;
  }
}

#hc-right{
  line-height: 1.8em;
  flex-wrap: wrap;
}

@media only screen and (min-width: 600px) {
  #hc-right{
    width: 75%;
  }
}

@media only screen and (min-width: 1000px) {
  #hc-right{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

#hc-right .hc-title{
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

#hc-right a{
  color: var(--vert);
}

#hcr-gl a{
  border: 1px solid var(--vert);
  padding: 5px 20px;
  border-radius: 320px;
  display: inline-block;
  margin-top: calc(var(--gutter-in)/4);
}

@media only screen and (min-width: 1825px) {
  #hcr-gl a{
    margin-top: 0;
  }
}
