/* Charte globale : variables, typo, boutons, composants transverses */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap');

:root {
  --lasure-primary: #9c0332;
  --lasure-primary-dark: #7a0227;
  --lasure-green: #7fc237;
  --lasure-green-dark: #6aa82c;
  --lasure-green-flag: #99cc01;
  --lasure-grey-band: #606060;
  --lasure-grey-dark: #262626;
  --lasure-grey-text: #414141;
  --lasure-grey-light: #f5f5f5;
  --lasure-grey-topbar: #f6f6f6;
  --lasure-border: #e5e5e5;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--lasure-grey-text);
  background: #fff;
}

#wrapper {
  background: #fff;
  padding-top: 0;
}

#index #wrapper {
  background: var(--lasure-grey-light);
}

#wrapper .container {
  padding-top: 0;
}

#wrapper .breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

a {
  color: var(--lasure-grey-text);
}

a:hover {
  color: var(--lasure-primary);
}

.h1,
.h2,
.h3,
h1,
h2,
h3 {
  text-transform: none;
  color: var(--lasure-primary);
}

.h1,
h1 {
  font-size: 1.75rem;
  font-weight: 700;
}

.text-primary {
  color: var(--lasure-primary) !important;
}

.bg-primary {
  background-color: var(--lasure-primary) !important;
}

* {
  transition: color .2s, background-color .2s, border-color .2s;
}

html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

.btn {
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .02em;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary.active {
  background-color: var(--lasure-primary);
  border-color: var(--lasure-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--lasure-primary-dark);
  border-color: var(--lasure-primary-dark);
}

.btn-outline-primary {
  color: var(--lasure-primary);
  border-color: var(--lasure-primary);
}

.btn-link,
.page-link,
.pagination .current a {
  color: var(--lasure-primary);
}

.page-item.active .page-link {
  background-color: var(--lasure-primary);
  border-color: var(--lasure-primary);
}

.lasure-btn-green,
.lasure-btn-green:hover,
.lasure-btn-green:focus {
  background-color: var(--lasure-green);
  border-color: var(--lasure-green);
  color: #fff;
}

.lasure-btn-green:hover {
  background-color: var(--lasure-green-dark);
  border-color: var(--lasure-green-dark);
}

.form-control:focus,
.input-group.focus,
.search-widget form input[type=text]:focus {
  outline: 2px solid var(--lasure-primary);
}

.custom-radio input[type=radio]:checked+span {
  background-color: var(--lasure-primary);
}

.input-color:checked+span,
.input-radio:checked+span {
  border: 2px solid var(--lasure-primary);
}

.product-miniature .product-flags li.product-flag.online-only {
  top: 0!important;
}

.product-flags li.product-flag {
  background: var(--lasure-primary);
}

.product-flags li.product-flag.on-sale,
.product-flags li.product-flag.discount {
  background: var(--lasure-green-flag);
}

.product-flags li.product-flag.online-only {
  /* background: #2fb5d2; */
}

/* Retour en haut (prod Advancepart .top_button) */
.lasure-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  width: 38px;
  height: 38px;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
  background: url('../img/back_to_top.png') no-repeat scroll center / contain;
  text-indent: -9999px;
  overflow: hidden;
}

.lasure-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lasure-back-to-top:focus {
  outline: 2px solid var(--lasure-primary);
  outline-offset: 2px;
}