/* ============================================================
   Pharmacie Deschler - Site vitrine
   Reproduction du theme PrestaShop "vistanet" (Leo Theme)
   ============================================================ */

/* --- Polices du theme (auto-hebergees) --- */
@font-face {
  font-family: 'Poppins';
  src: url(../fonts/poppins-light-webfont.woff2) format('woff2'),
       url(../fonts/poppins-light-webfont.woff) format('woff');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url(../fonts/poppins-regular-webfont.woff2) format('woff2'),
       url(../fonts/poppins-regular-webfont.woff) format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url(../fonts/poppins-medium-webfont.woff2) format('woff2'),
       url(../fonts/poppins-medium-webfont.woff) format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url(../fonts/poppins-semibold-webfont.woff2) format('woff2'),
       url(../fonts/poppins-semibold-webfont.woff) format('woff');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url(../fonts/poppins-bold-webfont.woff2) format('woff2'),
       url(../fonts/poppins-bold-webfont.woff) format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'themify';
  src: url(../fonts/themify.woff) format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'FontAwesome';
  src: url(../fonts/fontawesome-webfont.woff2) format('woff2'),
       url(../fonts/fontawesome-webfont.woff) format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Material Icons';
  font-style: normal; font-weight: 400; font-display: swap;
  src: local('Material Icons'), local('MaterialIcons-Regular'),
       url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
       url(../fonts/MaterialIcons-Regular.woff) format('woff');
}

/* --- Icones Themify (theme) --- */
[class^="ti-"], [class*=" ti-"] {
  font-family: 'themify';
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ti-location-pin:before { content: "\e693"; }
.ti-headphone-alt:before { content: "\e719"; }
.ti-time:before { content: "\e72b"; }
.ti-email:before { content: "\e75a"; }

/* --- Icones FontAwesome --- */
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-thumbs-up:before { content: "\f164"; }
.fa-graduation-cap:before { content: "\f19d"; }
.fa-truck:before { content: "\f0d1"; }
.fa-angle-left:before { content: "\f104"; }
.fa-angle-right:before { content: "\f105"; }
.fa-map-marker:before { content: "\f041"; }

/* --- Icones Material Icons --- */
.material-icons {
  font-family: 'Material Icons';
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }

html { font-family: sans-serif; line-height: 1.15; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  background-color: #fff;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

a { color: #666; text-decoration: none; transition: all .4s; }
a:hover, a:focus { color: #000; text-decoration: none; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.5;
  color: #000;
}

h1, .h1 { font-size: 24px; }
h2, .h2 { font-size: 20px; }
h3, .h3 { font-size: 18px; }
h4, .h4 { font-size: 16px; }
h5, .h5 { font-size: 14px; }
h6, .h6 { font-size: 13px; }

p { margin: 0 0 1rem; }
ul { margin-top: 0; margin-bottom: 1rem; }
strong, b { font-weight: 600; }

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.container::after, .row::after { content: ""; display: table; clear: both; }

.row { margin-left: -15px; margin-right: -15px; }
.row::after { clear: both; }

[class^="col-"], [class*=" col-"] { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; float: left; width: 100%; }

@media (min-width: 768px) {
  .col-sm-4 { width: 33.3333%; }
  .col-sm-6 { width: 50%; }
  .col-sm-12 { width: 100%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.3333%; }
  .col-md-5 { width: 41.6667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.3333%; }
  .col-md-8 { width: 66.6667%; }
  .col-md-9 { width: 75%; }
  .col-md-12 { width: 100%; }
  .col-md-offset-3 { margin-left: 25%; }
  .offset-md-3 { margin-left: 25%; }
}

@media (min-width: 992px) {
  .col-lg-2 { width: 16.6667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.3333%; }
  .col-lg-6 { width: 50%; }
  .col-lg-9 { width: 75%; }
  .col-lg-12 { width: 100%; }
}

@media (min-width: 1200px) {
  .col-xl-2 { width: 16.6667%; }
  .col-xl-3 { width: 25%; }
  .col-xl-4 { width: 33.3333%; }
  .col-xl-6 { width: 50%; }
  .col-xl-8 { width: 66.6667%; }
  .col-xl-12 { width: 100%; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ------------------------------------------------------------
   HEADER
   ------------------------------------------------------------ */

/* --- Barre du haut : adresse / telephone / horaires --- */
.topbar {
  background: #f5f5f5;
  color: #888;
  font-size: .9em;
}

.topbar .row { margin: 0; }
.topbar .ApColumn { padding: 0; }

.topbar-item {
  text-align: center;
  line-height: 30px;
  padding: 5px 0;
}

.topbar-item p {
  font-size: 15px;
  margin: 0;
  color: #888;
}

.topbar-item i {
  color: #000;
  font-weight: 600;
  margin-right: 4px;
}

@media (max-width: 991px) {
  .topbar { display: block; }
  .topbar .topbar-item { width: 100%; }
}

/* --- Header principal : logo + menu + icone mail --- */
.header-main {
  display: flex;
  align-items: center;
  padding: 0 30px;
  background: #fff;
}

.header-main .col-logo { flex: 0 0 auto; width: auto; float: none; }
.header-main .col-menu { flex: 1 1 auto; width: auto; float: none; min-width: 0; }
.header-main .col-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  float: none;
}

.h-logo img { max-width: 280px; width: 100%; height: auto; }

@media (max-width: 991px) {
  .h-logo img { max-width: 220px; }
}

/* --- Menu --- */
.mainnav .navbar-toggler {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  padding: 5px 10px;
}

.mainnav ul.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.mainnav ul.nav > li {
  display: inline-block;
  vertical-align: top;
  text-align: left;
}

.mainnav ul.nav > li > a {
  display: inline-block;
  padding: 40px 18px;
  font-size: 19px;
  line-height: 20px;
  font-weight: 400;
  color: #000;
  position: relative;
  transition: all 350ms ease-out;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .mainnav ul.nav > li > a { padding: 15px 13px; }
}

.mainnav ul.nav > li > a:hover,
.mainnav ul.nav > li > a:focus,
.mainnav ul.nav > li.active > a { color: #000; background: transparent; }

.mainnav ul.nav > li > a .menu-title { position: relative; }

.header-mail a { color: #000; }
.header-mail i { font-size: 30px; }
.header-mail a:hover i { color: #666; }

@media (max-width: 991px) {
  .header-main { padding: 10px 15px; flex-wrap: wrap; }
  .header-main .col-logo { width: 60%; }
  .header-main .col-menu { order: 3; width: 100%; }
  .mainnav .navbar-toggler { display: inline-block; }
  .mainnav ul.nav { display: none; text-align: left; }
  .mainnav ul.nav.open { display: block; }
  .mainnav ul.nav > li { display: block; }
  .mainnav ul.nav > li > a { display: block; padding: 12px 10px; }
}

/* ------------------------------------------------------------
   BREADCRUMB
   ------------------------------------------------------------ */
.breadcrumb {
  padding: 10px 0;
}

.breadcrumb ol { list-style: none; margin: 0; padding: 0; }

.breadcrumb li { display: inline-block; vertical-align: top; margin: 0 20px 0 0; }
.breadcrumb li:last-child { margin: 0; }
.breadcrumb li:last-child a { padding: 0; color: #000; }
.breadcrumb li:last-child a::after { display: none; }
.breadcrumb li a {
  display: block;
  padding: 0 10px 0 0;
  line-height: 20px;
  position: relative;
  transition: all .4s;
  color: #999;
}
.breadcrumb li a:hover { color: #000; }
.breadcrumb li a::after {
  display: inline-block;
  content: "/";
  font-size: 8px;
  position: absolute;
  top: 1px;
  color: #888;
  right: -10px;
}

/* ------------------------------------------------------------
   SLIDER (page d'accueil)
   ------------------------------------------------------------ */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider .slides { position: relative; width: 100%; }
.slider .slide {
  display: none;
  width: 100%;
}
.slider .slide.active { display: block; }
.slider .slide img { width: 100%; display: block; }

.slider .nav-arrow {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: rgba(0,0,0,.2);
  color: #fff;
  text-align: center;
  font-size: 30px;
  cursor: pointer;
  z-index: 5;
  border: 0;
  transition: all .4s;
  opacity: 0;
}
.slider .nav-arrow:hover { background: rgba(0,0,0,.5); }
.slider .nav-prev { left: 40px; transform: translateX(-40px); }
.slider .nav-next { right: 40px; transform: translateX(40px); }
.slider:hover .nav-arrow { transform: translateX(0); opacity: 1; }

.slider .dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
}
.slider .dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all .3s;
}
.slider .dots .dot.active, .slider .dots .dot:hover { background: #fff; }

@media (max-width: 767px) {
  .slider .nav-arrow { width: 30px; height: 30px; line-height: 30px; margin-top: -15px; font-size: 18px; }
  .slider .nav-prev { left: 10px; }
  .slider .nav-next { right: 10px; }
}

/* ------------------------------------------------------------
   SECTIONS PAGE D'ACCUEIL
   ------------------------------------------------------------ */

/* --- Bienvenue --- */
.welcome-section { padding: 30px 0; }
.welcome-section .img-col a { display: block; }
.welcome-section .img-col img { width: 100%; height: auto; }

/* --- 3 blocs icones --- */
.icon-boxes { padding: 20px 0 40px; }
.icon-box {
  text-align: center;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  color: #000;
  line-height: 2;
}
.icon-box i {
  font-size: 44px;
  color: #000;
  display: inline-block;
  transition: all .4s;
}
.icon-box:hover i { transform: scale(1.2); }
.icon-box h4 { text-transform: uppercase; margin: 1.5em 0 1em; }
.icon-box p { text-align: left; }
@media (max-width: 767px) { .icon-box { margin-bottom: 40px; } }

/* --- Titres de section --- */
.title_block {
  text-transform: uppercase;
  padding: 0;
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.page-home .title_block { text-align: center; }

.group-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 20px 0;
}

/* --- Grille Produits / Gammes --- */
.product-grid { margin-bottom: 30px; }
.product-grid .grid-col {
  position: relative;
  float: left;
  width: 50%;
  padding: 0;
  min-height: 1px;
}

@media (min-width: 992px) { .product-grid .grid-col { width: 25%; } }
@media (max-width: 479px) { .product-grid .grid-col { width: 100%; } }

.product-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding-bottom: 100%;
  margin: 0;
  display: block;
}
.product-card img {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0; left: 0;
  transition: all 2s;
  object-fit: cover;
}
.product-card .card-title {
  position: absolute;
  bottom: 50%;
  left: 0; right: 0;
  font-size: 1.6em;
  color: inherit;
  margin: 0 0 20px;
  padding: 0 10px 10px;
  transition: all .3s;
  transform: translateY(10px);
  transition-delay: 0s;
  z-index: 1;
  pointer-events: none;
  font-weight: 600;
  text-transform: uppercase;
}
.product-card .card-title::before {
  content: "";
  position: absolute;
  height: 1px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  width: 0;
  max-width: 100%;
  transition-delay: 0s;
  transition: all .3s;
}
.product-card .card-desc {
  position: absolute;
  top: 50%;
  left: 10%; right: 10%;
  padding: 0 10px;
  transition: all .3s;
  transform: translateY(15px);
  line-height: 1.8;
  letter-spacing: .5px;
  transition-delay: 0s;
  opacity: 0;
  pointer-events: none;
}
.product-card .card-desc ul { text-align: left; margin: 0; padding-left: 18px; }
.product-card:hover img { transform: scale(1.05); filter: brightness(.5); }
.product-card:hover .card-title { transition-delay: .2s; transform: translateY(0); }
.product-card:hover .card-title::before { width: 100px; transition-delay: .4s; }
.product-card:hover .card-desc { transform: translateY(0); opacity: 1; transition-delay: .5s; }

@media (max-width: 1199px) {
  .product-card .card-title { font-size: 1.4em; }
  .product-card .card-desc { display: none; }
}
@media (max-width: 991px) {
  .product-card .card-title { font-size: 1.2em; transform: translateY(50%) !important; margin: 0; padding: 10px; }
}
@media (max-width: 767px) {
  .product-card .card-title { font-size: 1.1em; }
}
@media (max-width: 480px) {
  .product-card .card-title { font-size: .95em; }
}

/* --- Plan d'acces --- */
.map-section { margin-bottom: 30px; }
.map-section iframe { width: 100%; height: 450px; border: 0; display: block; }

/* ------------------------------------------------------------
   PAGES CMS
   ------------------------------------------------------------ */
.page-header { margin-bottom: 25px; }
.page-header h1 { font-size: 24px; }

.page-content { margin-bottom: 25px; }
.page-content a { font-weight: 600; }

.cms-section { padding: 10px 0; }
.cms-section .img-col { padding: 30px; }
.cms-section .txt-col { padding: 30px; }
.cms-section h2 { margin-bottom: 1em; }
.cms-section img { max-width: 100%; height: auto; }

@media (max-width: 767px) {
  .cms-section .img-col, .cms-section .txt-col { padding: 15px; width: 100%; }
}

/* ------------------------------------------------------------
   PAGE NOS SPECIFICITES (cartes)
   ------------------------------------------------------------ */
.spec-section {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}
.spec-section .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
}
.spec-section .spec-img,
.spec-section .spec-txt { padding: 35px; }
.spec-section .spec-img { text-align: center; }
.spec-section .spec-img img {
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
  max-width: 100%;
  height: auto;
}
.spec-section .spec-img img + img { margin-left: 8px; }
.spec-section .spec-img .img-stack { margin-top: 20px; }
.spec-section h2 {
  color: #038400;
  border-bottom: 2px solid #f0713f;
  padding-bottom: 10px;
  margin-bottom: 25px;
  font-size: 22px;
}
.spec-section .spec-txt p { text-align: justify; }
.spec-section .spec-txt ul { padding-left: 20px; }
.spec-alt .spec-img { order: 2; }
.spec-alt .spec-txt { order: 1; }

@media (max-width: 767px) {
  .spec-section .spec-img,
  .spec-section .spec-txt { width: 100%; padding: 20px; }
  .spec-section .spec-img { order: 1 !important; }
  .spec-section .spec-txt { order: 2 !important; }
  .spec-section .spec-txt p { text-align: left; }
}

/* ------------------------------------------------------------
   PAGE INFORMATIONS UTILES (cartes)
   ------------------------------------------------------------ */
.info-cards { display: flex; flex-wrap: wrap; margin: 0 -15px 30px; }
.info-card {
  flex: 1 1 420px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
  border: 1px solid #f0f0f0;
  margin: 0 15px 30px;
  padding: 35px;
}
.info-card .info-icon {
  text-align: center;
  margin-bottom: 15px;
}
.info-card .info-icon i {
  font-size: 48px;
  color: #038400;
}
.info-card h2 {
  color: #038400;
  border-bottom: 2px solid #f0713f;
  padding-bottom: 10px;
  font-size: 20px;
  text-align: center;
}
.info-card h3 { font-size: 16px; margin-top: 20px; }
.info-card ul { padding-left: 20px; }
.info-card ul li { margin-bottom: 6px; }
.info-card .lead { color: #000; font-weight: 500; }
.info-card .highlight {
  background: #f5fbf5;
  border-left: 3px solid #038400;
  padding: 12px 15px;
  margin-top: 15px;
}
@media (max-width: 767px) {
  .info-card { margin: 0 0 25px; padding: 22px; }
}

/* ------------------------------------------------------------
   PAGE CONTACT
   ------------------------------------------------------------ */
.contact-layout::after { content: ""; display: table; clear: both; }

.contact-rich { color: #878787; margin-bottom: 32px; }
.contact-rich h4 { text-transform: uppercase; margin-bottom: 32px; }
.contact-rich .block { height: auto; overflow: hidden; margin-bottom: 10px; }
.contact-rich .block::after { content: ""; display: table; clear: both; }
.contact-rich .block .icon { float: left; width: 56px; }
.contact-rich .block .icon i { font-size: 32px; color: #878787; }
.contact-rich .block .data { color: #414141; font-size: 13px; width: auto; overflow: hidden; }
.contact-rich hr { border: 0; border-top: 1px solid #ebebeb; margin: 15px 0; }
.contact-rich a { color: #414141; }

.card {
  position: relative;
  display: block;
  margin-bottom: .75rem;
  background-color: #fff;
  border-radius: .25rem;
  border: 1px solid rgba(0,0,0,.125);
}
.card-block { padding: 1.25rem; }
.card-block::after { content: ""; display: table; clear: both; }

.contact-form { padding: 16px; color: #878787; width: 100%; }
.contact-form h3 { text-transform: uppercase; }

.form-group { margin-bottom: 1rem; }
.form-group::after { content: ""; display: table; clear: both; }

.form-control-label { padding-top: 10px; display: block; color: #414141; }
@media (min-width: 768px) {
  .form-control-label { text-align: right; }
}

.form-control {
  display: block;
  width: 100%;
  background-color: #f9f9f9;
  border: none;
  padding: 8px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: #414141;
  height: 40px;
  border: 1px solid #e5e5e5;
}
textarea.form-control { height: 145px; }
select.form-control { height: 42px; }
.form-control:focus { outline: none; border-color: #ccc; }
.form-control-comment { font-size: 13px; padding-top: 8px; color: #878787; display: inline-block; }

.btn-primary {
  display: inline-block;
  border-radius: 0;
  background: #292929;
  padding: 10px 20px;
  line-height: 20px;
  border: 0;
  transition: all .4s;
  text-transform: uppercase;
  font-size: 12px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}
.btn-primary:hover { background: #000; color: #fff; }

.form-footer { text-align: right; }

.contact-success {
  display: none;
  background: #dff0d8;
  color: #3c763d;
  border: 1px solid #d6e9c6;
  padding: 15px;
  margin-bottom: 15px;
}
.contact-error {
  display: none;
  background: #f2dede;
  color: #a94442;
  border: 1px solid #ebccd1;
  padding: 15px;
  margin-bottom: 15px;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer-container { margin-top: 20px; }
.footer-bottom-inner {
  background: #f1f1f1;
  padding: 15px 0;
}
.footer-bottom-inner::after { content: ""; display: table; clear: both; }
.footer-copy p { margin: 0; }
.footer-links { text-align: right; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { display: inline-block; margin-left: 20px; }
.footer-links a { color: #666; }
.footer-links a:hover { color: #000; }

@media (max-width: 767px) {
  .footer-copy, .footer-links { text-align: center; width: 100%; }
  .footer-links { margin-top: 8px; }
}

/* --- Bouton retour en haut --- */
#back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  background: #fff;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 200ms linear;
  box-shadow: 2px 2px 8px rgba(0,0,0,.2);
}
#back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-top::before {
  position: absolute;
  content: "\f176";
  font-family: "FontAwesome";
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  left: 0; top: 0;
  height: 40px; width: 40px;
  color: #000;
}
@media (max-width: 991px) { #back-top { bottom: 10px; right: 10px; } }
