@font-face {
    font-family: 'front-font1';
    src: url('../font/IBMPlexSansCondensed-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'front-font2';
    src: url('../font/IBMPlexSansCondensed-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'front-font3';
    src: url('../font/IBMPlexSansCondensed-Bold.ttf') format('truetype');
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    font-size: 100%;
    line-height: 1;
    font-weight: normal;
}
html{
    height: 100%;
}
html, body{
    min-height: 100%;
}
body{
    position: relative;
    text-align: center;
    width: 100%;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 100%;
    background: #eee;
}
.hidden{
    display: none;
}

html, body, input{
  font-family: 'front-font2', Helvetica, Arial, sans-serif;
}

body .background{
  position: fixed;
  display: inline-block;
  background: transparent no-repeat url("../img/body-background.jpg") center;
  background-size: 100%;
  width: 100%;
  min-width: 1200px;
  height: 100vh;
  top: 0;
  left: 0;
}

header.front{
  position: fixed;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.85);
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  text-align: left;
  z-index: 2000;
  transition: all 0.2s linear;
}
header.front *{
  transition: all 0.2s linear;
}

/*menu :*/
/*{ Le logo du menu :*/

header.front .brand{
  display: inline-block;
  margin-bottom: -5px;
}
header.front .brand *{
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
header.front .brand{
  width: 200px;
  height: 60px;
}
header.front .brand .logo{
  background: transparent no-repeat url('../img/brand-logo.svg') center;
  background-size: 95%;
}
header.front .brand .catchphrase{
  color: #000;
  font-size: 16px;
  top: calc(50% - (16px /2));
  width: auto;
  height: auto;
  left: 100%;
  padding-left: 15px;
  display: none;
}

/*}*/

/*{ Boutons d'accès :*/

header.front nav.access{
  position: absolute;
  top: 10px;
  right: 10px;
}
header.front nav.access,
header.front nav.access *{
  display: inline-block;
}
header.front nav.access > ul{
  position: relative;
  background-color: transparent;
  border-radius: 5px;
  padding: 5px;
}
header.front nav.access > ul li{
  list-style: none;
}
header.front nav.access > ul .item{
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
header.front nav.access > ul .item:last-child{
  margin-right: 0;
}
header.front nav.access > ul .item *{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
header.front nav.access > ul .item a{
  text-decoration: none;
}
header.front nav.access .item.contact .icon{
  background: transparent no-repeat url("../img/btn-contact.svg") center;
  background-size: 100%;
}
header.front nav.access .item.contact:hover .icon{
  background: transparent no-repeat url("../img/btn-contact-hover.svg") center;
  background-size: 100%;
}
header.front nav.access .item.connection .icon{
  background: transparent no-repeat url("../img/btn-connection.svg") center;
  background-size: 100%;
}
header.front nav.access .item.connection:hover .icon{
  background: transparent no-repeat url("../img/btn-connection-hover.svg") center;
  background-size: 100%;
}
header.front nav.access .item.facebook .icon{
  background: transparent no-repeat url("../img/btn-facebook.svg") center;
  background-size: 100%;
}
header.front nav.access .item.facebook:hover .icon{
  background: transparent no-repeat url("../img/btn-facebook-hover.svg") center;
  background-size: 100%;
}
header.front nav.access .item.menu .icon{
  background: transparent no-repeat url("../img/btn-menu.svg") center;
  background-size: 100%;
}
header.front nav.access .item.menu:hover .icon{
  background: transparent no-repeat url("../img/btn-menu-hover.svg") center;
  background-size: 100%;
}
header.front nav.access .item.menu{
  display: none;
}

/*}*/

/*{ Info-bulle :*/

/*triangle :*/
header.front .tooltip-content:before{
  content: '';
  position: absolute;
  /*triangle-top*/
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #41ac44;
}
header.front nav.access > ul .item:hover .tooltip .tooltip-content:before,
header.front nav.access > ul .item .tooltip:hover .tooltip-content:before,
header.front nav.access > ul .item .tooltip .tooltip-content:hover:before{
  /*triangle-top*/
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #43bb46;
}
/*info-bulle contenu :*/
header.front nav.access > ul .item .tooltip .tooltip-content{
  top: 100%;
  width: auto;
  min-width: 74px;
  height: 0;
  overflow: hidden;
  transition: height 0.2s linear;
  border-radius: 5px;
}
header.front nav.access > ul .item:hover .tooltip .tooltip-content,
header.front nav.access > ul .item .tooltip:hover .tooltip-content,
header.front nav.access > ul .item .tooltip .tooltip-content:hover{
  height: 55px;
}
/*placements des info-bulles :*/
header.front nav.access .item.contact .tooltip-content:before{
  left: calc(50% - (12px /2) - 5px);
}
header.front nav.access .item.contact .tooltip-content{
  left: calc(-100% - 5px);
}
header.front nav.access .item.facebook .tooltip-content:before{
  left: calc(50% - (12px /2) - 5px);
}
header.front nav.access .item.facebook .tooltip-content{
  left: calc(-100% - 5px);
}
header.front nav.access .item.connection .tooltip-content:before{
  left: calc(50% - (12px /2) - 5px);
}
header.front nav.access .item.connection .tooltip-content{
  left: calc(-100% - 5px);
}
header.front nav.access .item.cart .tooltip-content:before{
  left: calc(50% - (12px /2) + 12px);
}
header.front nav.access .item.cart .tooltip-content{
  left: calc(-100% - 25px);
}
/*La pastille donnant le nombre de produits du panier :*/
body.front nav.access .item.cart a .spot{
  background-color: #ff3b0d;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  top: -50%;
  padding-top: 4px;
  position: absolute;
  left: 50%;
  font-size: 12px;
}

/*le fond de l'info-bulle :*/
header.front nav.access > ul .item .tooltip .tooltip-content > section{
  position: relative;
  background-color: #41ac44;
  margin-top: 12px;
  padding: 5px;
  border-radius: 5px;
}
header.front nav.access > ul .item:hover .tooltip .tooltip-content > section,
header.front nav.access > ul .item .tooltip:hover .tooltip-content > section,
header.front nav.access > ul .item .tooltip .tooltip-content:hover > section{
  background-color: #43bb46;
}
header.front nav.access > ul .item .tooltip .tooltip-content > section *{
  position: relative;
}
header.front nav.access > ul .item .tooltip .tooltip-content > section a{
  text-decoration: none;
  text-align: center;
  color: #fff;
}

/*}*/

/*{ Rubriques :*/

header.front nav.navigation{
  display: inline-block;
  position: absolute;
  text-align: center;
  width: 100%;
  left: 0;
  bottom: 10px;
}
header.front nav.navigation *{
  display: inline-block;
  position: relative;
}
header.front nav.navigation > ul{
  position: relative;
  background-color: transparent;
  padding: 5px;
}
header.front nav.navigation > ul li{
  list-style: none;
}
header.front nav.navigation > ul .item{
  margin-right: 30px;
}
header.front nav.navigation > ul .item:last-child{
  margin-right: 0;
}
header.front nav.navigation > ul .item > a{
  color: #0071b9;
  text-decoration: none;
  font-size: 20px;
}
header.front nav.navigation > ul .item > a:hover{
  color: #43bb46;
}

/*}*/

/*{ Le menu minifié par scroll :*/

header.front.minimized{
  background-color: #fff;
}
header.front.minimized .brand{
  width: 180px;
  height: 50px;
}
header.front.minimized .brand .catchphrase{
  font-size: 14px;
}

header.front.minimized nav.navigation > ul .item{
  margin-right: 20px;
}
header.front.minimized nav.navigation > ul .item > a{
  font-size: 16px;
}

/*}*/

/* main :*/
main.front{
  margin-top: calc(60px + 20px);
  padding: 20px 10px;
  text-align: center;
  width: 100%;
  overflow: hidden;
  display: inline-block;
  margin-bottom: calc(60px + 120px);
}

/*footer :*/
footer.front {
  background-color: #333;
  color: #fff;
  overflow: hidden;
  width: 100%;
  position: absolute;
  bottom: 0;
  padding: 10px;
}
footer.front p{
  color: #fff;
}
footer.front > div{
  max-width: 1000px;
  display: inline-block;
}
/*La partie adresse :*/
footer.front .address .brand{
  background: none;
  position: relative;
  display: inline-block;
  margin: 5px;
  width: 130px;
  height: 30px;
  z-index: auto;
}
footer.front .address .brand .logo{
  background: transparent no-repeat url('../img/brand-logo-footer.svg') center;
  background-size: 100%;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
footer.front .address{
  color: #fff;
  font-size: 16px;
  text-align: center;
  margin: 5px;
}
footer.front .address > div{
  width: 100%;
}
footer.front .address > div *{
  display: inline-block;
}
/*La zone des mentions légales :*/
footer.front .policy{
  color: #fff;
  font-size: 18px;
  padding: 10px 5px;
  border-top: solid thin rgba(255, 255, 255, 0.2);
  border-bottom: solid thin rgba(255, 255, 255, 0.2);
  margin-bottom: 10px;
}
/*La partie signature :*/
footer.front .policy a,
footer.front .copyrights a{
  color: #fff;
  text-decoration: none;
}
footer.front .copyrights .year,
footer.front .copyrights .copy{
  color: #fff;
  font-size: 18px;
}
footer.front .copyrights .logo.pharmonweb{
  background: transparent no-repeat url('../img/logo-pharmonweb-text-footer.svg') center;
  background-size: 100%;
  width: 120px;
  height: 20px;
  display: inline-block;
  top: 2px;
}