/*
Theme Name: Quelle Histoire Editions
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


/* lato-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato 100';
  font-style: normal;
  font-weight: 100;
  src: url('inc/fonts/lato-v24-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato 100 italic';
  font-style: italic;
  font-weight: 100;
  src: url('inc/fonts/lato-v24-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato 300';
  font-style: normal;
  font-weight: 300;
  src: url('inc/fonts/lato-v24-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato 300 italic';
  font-style: italic;
  font-weight: 300;
  src: url('inc/fonts/lato-v24-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('inc/fonts/lato-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato italic';
  font-style: italic;
  font-weight: 400;
  src: url('inc/fonts/lato-v24-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato 700';
  font-style: normal;
  font-weight: 700;
  src: url('inc/fonts/lato-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato 700 italic';
  font-style: italic;
  font-weight: 700;
  src: url('inc/fonts/lato-v24-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato 900';
  font-style: normal;
  font-weight: 900;
  src: url('inc/fonts/lato-v24-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lato 900 italic';
  font-style: italic;
  font-weight: 900;
  src: url('inc/fonts/lato-v24-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


.lato-100{font-family: 'Lato 100';}
.lato-100-italic{font-family: 'Lato 100 italic';}
.lato-300{font-family: 'Lato 300';}
.lato-300-italic{font-family: 'Lato 300 italic';}
.lato-regular{font-family: 'Lato';}
.lato-italic{font-family: 'Lato italic';}
.lato-700{font-family: 'Lato 700';}
.lato-700-italic{font-family: 'Lato 700 italic';}
.lato-900{font-family: 'Lato 900';}
.lato-900-italic{font-family: 'Lato 900 italic';}

/* Bree-extrabold */

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Bree-extrabold';
    font-style: normal;
    font-weight: 800;
    src: url('inc/fonts/Bree-extrabold.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.bree-extrabold{font-family: 'Bree-extrabold';}




html {
    font-size: 62.5%;
    /* Now 10px = 1rem! */
    font-family: 'Lato';
}

body {
    font-size: 16px;
    /* px fallback */
    font-size: 1.6rem;
    /* default font-size for document */
    line-height: 1.5;
    /* a nice line-height */
}

/* test amelioraton*/
.home #main,
.archive #main,
.shop-container .product-footer {
    background-color: #F8F8F8;
}

/* hide recaptcha badge */
.grecaptcha-badge {
    opacity: 0
}


/*
 Cartouche produit
 */
.archive .badge-container {
    top: 47%;
    width: 40%;
    margin-top: 1rem;
}

.home .badge-container {
    top: 40%;
    width: 40%;
}

.single .badge-container {
    top: 70%;
    width: 25%;
}

.price .woocommerce-Price-amount {
    color: #525252;
    font-weight: bold;
    font-size: 2.4rem;
}

.products .box .box-text-products::before {
    content: '';
    display: block;
    height: .2rem;
    width: 2rem;
    background-color: #000000;
    margin: 0 auto .5rem auto;
    opacity: .1;
}

.product-small .title-wrapper .product-title {
    text-transform: uppercase;
    margin-bottom: .5rem;
    justify-content: center;
    align-items: center;
    display: flex;
}

.product-small .title-wrapper .product-title a {
    color: #353535;
}

.qh-badge {
    display: inline-block;
    vertical-align: top;
    margin-right: .5rem;
}


.badge-container .callout {
    display: none;
}

.added_to_cart.wc-forward {
    display: block;
    padding: .7rem 1rem;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    background-color: #0cb0e6;
    color: #fff;
}

.single_add_to_cart_button {
    background-color: #0cb0e6 !important;
}

.incart {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    width: -moz-fit-content;
    width: fit-content;
    font-size: 1.6rem;
    line-height: 1rem;
    background-color: #e86655;
    color: #fff;
    padding: 1rem;
    border-radius: 50%;
}



/*
Fiche produit
 */
.badge-fiche-produit {
    display: inline-block;
    vertical-align: bottom;
    margin-right: 30px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.6rem;
}

.badge-fiche-produit a {
    color: #777;
    text-decoration: underline;
}


@media screen and (max-width: 849px) {
    .badge-fiche-produit {
        margin-right: 8px;
    }
}

.badge-fiche-produit img {
    width: 60px;
    height: auto;
    margin-bottom: 5px;
}

/*
Fucking Flatsome Fix
 */

.container-width,
.full-width .ubermenu-nav,
.container,
.row,
.row.row-large {
    max-width: 1400px;
}

/*
extended row with to match XD
.container-width,
.full-width .ubermenu-nav,
.container,
.row{
    max-width: 1188px;
}*/

.box-text {
    font-size: 1.6rem;
}

.is-small.button {
    font-size: 1.6rem;
}

.nav-left .html_topbar_left,
.top-bar-nav li a {
    font-size: 1.6rem !important;
}


/*
HOME PAGE
 */
.row.home-content {
    margin-top: 30px;
}





/*
MON COMPTE
 */
.order-header {
    background: #F3F3F3;
    padding: 15px 16px 11px 16px;
}

.order-wrapper {
    border: 1px solid #dcdcdc;
    margin-bottom: 30px;
}

.order-body {
    padding: 15px;
}

.order-header .order-id {
    display: inline-block;
    color: black;
    font-size: 20px;
    font-weight: 600;
}

.order-header .order-time {
    display: inline-block;
    margin-left: 17px;
    font-size: 13px;
}

.order-body .order-status {
    font-size: 17px;
    color: #333;
    margin-bottom: 20px;
    margin-top: 9px;
    font-weight: 600;
}

.order-header .order-shipping {
    display: inline-block;
    margin-left: 17px;
    font-size: 13px;
}

.order-header .order-total {
    display: inline-block;
    margin-left: 17px;
    font-size: 13px;
}

.order-meta-label {
    font-size: 11px;
    margin-bottom: 2px;
    color: #333;
    text-transform: uppercase;
}

.order-id .order-meta-value {
    font-size: 17px;
}

.order-shipping .order-meta-value {
    font-size: 13px;
}

.order-meta-value {
    font-size: 15px;
}

.order-wrapper .shop_table.customer_details {
    display: none;
}

.order-wrapper header {
    display: none;
}

.order-wrapper address {
    display: none;
}

.order-wrapper .col2-set.addresses {
    display: none;
}

.order-wrapper .order-items h2 {
    display: none;
}

.order-wrapper .order-again {
    display: none;
}

a.button.tracking_button {
    background: #ffe500;
    color: #333;
    font-weight: 600;
}

/*
fucking carousel
 */
.flickity-carousel {
    margin: 4rem 0;
}

.carousel {
    margin-top: 30px;
}

.carousel-cell {
    min-height: 412px;
    width: 270px;
}

.product-small .wrapper,
.carousel-cell .wrapper {
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    text-align: center;
}

.carousel-cell .box-image,
.carousel-cell .box-text {
    background-color: #fff;
}

.carousel-cell .box-image {
    text-align: center;
    min-height: 20.7rem;
}

.carousel-cell .box-image img {
    max-height: 207px;
    width: auto;
}

.carousel-cell .product-title {
    height: 7rem;
}

.carousel-cell .woocommerce-Price-amount {
    color: #525252;
    font-weight: bold;
    font-size: 24px;
}

.product-small .wrapper .add-to-cart-button a,
.carousel-cell .add-to-cart-button a {
    width: 100%;
    margin: 0;
}

.flickity-page-dots {
    bottom: 0;
}

.flickity-page-dots .dot.is-selected {
    background-color: #0cb0e6;
}

.flickity-page-dots .dot {
    border: 3px solid #0cb0e6;
}

.more-product .box-image,
.more-product .box-text {
    background-color: #0cb0e6;
    padding-bottom: 0;
}

.more-product .box-text-products::before {
    background-color: #fff !important;
    opacity: .5 !important;
}

.more-product .title-wrapper .product-title a {
    color: #fff;
}

.see-more-button {
    padding-bottom: 23px;
}

.see-more-button a {
    margin-top: 1.7rem !important;
    margin-bottom: 0;
    color: #0cb0e6;
    background-color: #fff !important;
}

.see-more-button a:hover {
    color: #fff;
    background-color: #0cb0e6 !important;
    border: 1px solid #fff;
}


.flickity-carousel:hover .flickity-prev-next-button {
    opacity: 0.7;
    -ms-transform: translateX(0) !important;
    transform: translateX(0) !important;
}

.flickity-carousel .flickity-prev-next-button {
    width: 30px;
    top: -2px;
    bottom: 0;
    height: 101%;
    background-color: #fff;
    margin: 0 !important;
}

.flickity-carousel .flickity-prev-next-button.next {
    right: 0;
    box-shadow: -7px 0 6px 0 rgba(0, 0, 0, 0.3);
}

.flickity-carousel .flickity-prev-next-button.previous {
    left: 0;
    box-shadow: 7px 0 6px 0 rgba(0, 0, 0, 0.3);
}

.flickity-carousel .flickity-prev-next-button .flickity-button-icon {
    background-color: #e86655;
    color: #fff;
    border-radius: 50%;
}

/*
FUCKING Main-cat carousel
 */

.main-categories-carousel {
    margin-top: 30px;
}

.flickity-carousel .category.carousel-cell {
    max-height: 365px;
    min-height: 365px;
    width: 270px;
    padding-bottom: 0;
}

.flickity-carousel .category .box-title h3 {
    margin: 0;
    padding-top: 10px;
}

.flickity-carousel .category .box-image {
    height: 207px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flickity-carousel .category .box-price p:first-child {
    margin: 0;
}

.flickity-carousel .category .box-price p:last-child {
    margin-bottom: .8rem;
}

.flickity-carousel .category .box-price p:last-child span {
    font-weight: bold;
    font-size: 24px;
    color: #525252;

}

.flickity-carousel .category a {
    width: 100%;
    margin: 0;

}

.main-categories-carousel .flickity-page-dots {
    bottom: -30px;
}

.main-categories-carousel .flickity-page-dots .dot.is-selected {
    background-color: #E86655;
}

.main-categories-carousel .flickity-page-dots .dot {
    border: 3px solid #E86655;
}


/*
 Prdctfltr
*/
.pf-help-title .is-divider {
    max-width: 100%;
}

/*
SAV Widget
 */
#sav-widget {
    background-color: #fff;
}

#sav-widget .col {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#sav-widget .row .col:last-child {
    align-items: flex-end;
}

@media screen and (max-width: 897px) {
    #sav-widget .row .col:last-child {
        align-items: flex-start;
    }
}

#sav-widget .title {
    text-decoration: underline;
    color: #353535;
    font-size: 24px;
    line-height: 1;
}

#sav-widget p {
    color: #353535;
}

#sav-widget .button {
    margin: 0;
    width: -moz-fit-content;
    width: fit-content;
}

@media screen and (max-width: 767px) {
    #sav-widget .button {
        width: -webkit-fill-available;
    }
}

/*
footer
 */

#qh-follow {
    padding-top: 15px;
    border-top: 1px solid #b3b3b3;
}

#qh-follow p {
    color: #353535;
    font-size: 20px;
    line-height: 1;
}

.footer-widgets .social-icons .button.icon.circle {
    margin-right: 3rem;
}

.footer-widgets .is-divider {
    opacity: 0;
}

.footer-widgets span.widget-title {
    font-size: 2rem;
    text-transform: none;
}

.footer-widgets .WP_Mailjet_Subscribe_Widget form .form-group {
    display: inline;
}

.footer-widgets .WP_Mailjet_Subscribe_Widget form #mailjet_widget_email {
    width: calc(100% - 152px);
}


.footer-widgets .WP_Mailjet_Subscribe_Widget form input[type=submit] {
    background-color: #E86655;
    margin-right: 0;
}

@media screen and (max-width:767px) {

    .footer-widgets .WP_Mailjet_Subscribe_Widget form .form-group {
        display: block;
    }

    .footer-widgets .WP_Mailjet_Subscribe_Widget form #mailjet_widget_email {
        width: 100%;
    }

    .footer-widgets .WP_Mailjet_Subscribe_Widget form input[type=submit] {
        width: 100%;
    }

}


/*
 PAGE ABONNEMENTS
 */

#premium-062017 h4 {
    color: #fff;
}

#premium-062017 .premium-offer-new,
#premium-062017 .premium-offer-best {
    margin: 0 !important;
    max-width: 100%;
    height: auto;
    padding: 100px;
}

#premium-062017 .premium-offer-best {
    background-color: #51afe2;
}

#premium-062017 .premium-offer-new {
    background-color: #f0b24f;
}

#premium-062017 .premium-offer-new .container {
    flex-direction: row-reverse;
}

#premium-062017 .premium-offer-best-span-text,
#premium-062017 .premium-offer-new-span-text {
    color: #000;
}

#premium-062017 .premium-offer-best-span-text .premium-description,
#premium-062017 .premium-offer-new-span-text .premium-description {
    color: #fff;
}

#premium-062017 .premium-formule {
    margin: 0;
    max-width: 100%;
    position: relative;
    height: 60px;
    background-color: #e86655;
    margin-bottom: 30px;
}

#premium-062017 .premium-formule p {
    width: 400px;
    height: 80px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding-top: 25px;
    color: #ffffff;
    margin: 0;
    font-weight: bold;
    font-size: 1.2em;
    background-color: #f0b24f;
}

#premium-062017 .premium-formule p::after {
    content: url(../../uploads/2017/06/shadow.svg);
    opacity: 0.2;
    height: 60px;
    position: absolute;
    right: -45px;
    bottom: 0;
    width: 60px;
    transform: scaleX(0.5);
}

#premium-062017 .premium-offer-help-text {
    margin-top: 2rem;
}

#premium-062017 .premium-subscription-best img,
#premium-062017 .premium-subscription-new img {
    width: 100%;
    height: auto;
    position: relative;
    top: -22px;
}

#premium-062017 .premium-subscription-best img,
#premium-062017 .premium-subscription-new img {
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.75);
    transition: .3s ease-in-out;
}

#premium-062017 .premium-subscription-best img:hover,
#premium-062017 .premium-subscription-new img:hover {
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.75);
    transition: .3s ease-in-out;
}

#premium-062017 .premium-subscription-best-title,
#premium-062017 .premium-subscription-new-title {
    height: 50px;
    text-align: center;
    color: white;
    margin-bottom: 10px;
}

#premium-062017 .premium-subscription-best-title {
    background-color: #51afe2;
}

#premium-062017 .premium-subscription-new-title {
    background-color: #f0b24f;
}

#premium-062017 .premium-subscription-best-title p,
#premium-062017 .premium-subscription-new-title p {
    padding-top: 11px;
}

#premium-062017 .premium-offer-help-text {
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
}

@media screen and (max-width:767px) {

    #premium-062017 .premium-offer-best,
    #premium-062017 .premium-offer-new {
        flex-direction: column;
        padding: 4rem .5rem 0rem .5rem;
    }

    #premium-062017 .premium-offer-best .secondary,
    #premium-062017 .premium-offer-new .secondary {
        display: block;
        margin: 0;
    }

}

/* CHECKBOXES */
#premium-062017 .premium-check {
    color: white;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#premium-062017 .premium-check-best,
#premium-062017 .premium-check-new {
    height: inherit;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
}

#premium-062017 .premium-check-best {
    background-color: #51afe2;
}

#premium-062017 .premium-check-new {
    background-color: #f0b24f;
}

#premium-062017 .control-group p {
    margin: 0;
}

#premium-062017 .control {
    color: white;
    font-weight: 800;
    font-size: 1.2em;
    font-family: arial;
    display: block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

/* The container */
.checkbox-label {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #fff;
}

/* Hide the browser's default checkbox */
.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox-label:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-label input:checked~.checkmark {
    background-color: #fff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-label input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-label .checkmark:after {
    left: 9px;
    top: 5px;
    width: 8px;
    height: 13px;
    border: solid #51afe2;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/*
 PAGE MAGAZINE
 */

.mag-button {
    background-color: #e86655;
    padding: 17px 38px;
    color: white;
    font-size: 150%;
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
    position: relative;
    perspective: 300;
    -webkit-perspective: 300;
    perspective-origin: 100px;
    margin: 1.4em 0;
    font-weight: 800;
    -webkit-transition: transform 0.25s;
    /* Safari */
    transition: transform 0.25s;
}

.mag-button::before {
    width: 0;
    height: 0;
    position: absolute;
    top: 100%;
    left: 0;
    border-style: solid;
    border-width: 20px 1px 0 154px;
    border-color: #000000 transparent transparent transparent;
    content: " ";
    opacity: 0.2;
}

.mag-button:hover {
    transform: scale(1.1);
    color: white;
}

.mag-button:active,
.mag-button:focus {
    color: white;
}

.section .section-content .row-relative .col {
    padding-bottom: 0;
}

/* entraine un bug visuel, check plus tard
.page-template-page-magazine #main section:nth-child(2) .section-content .row{
    height: 45px;
}
*/

.page-template-page-magazine section:nth-child(1) .section-content .row .col {
    padding-bottom: 0;
    height: fit-content;
}

.page-template-page-magazine section:nth-child(3) {
    padding-top: 3rem;
}

#mag-titre {
    font-size: 35px;
    color: #3a1803;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 25px;
    line-height: 38px;
}

#mag-titre-bloc {
    margin-left: 72px;
}

ul#mag-titre-bullet li {
    font-size: 19px;
    line-height: 27px;
    color: #3a1803;
    text-indent: 4px
}

ul#mag-titre-bullet {
    list-style-image: url('app/uploads/2016/03/bullet.png');
}

ul#next-bullet li {
    line-height: 1.2em !important;
    color: white !important;
    font-size: 100%;
    text-indent: 2px
}

ul#next-bullet {
    list-style-image: url('app/uploads/2016/03/bullet-white.png');
}


h2.magtitre {
    display: inline-block;
    padding: 16px 23px;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    background-color: #01b5f4;
    margin: 0;
    position: relative;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: -moz-fit-content;
    width: fit-content;
}

h2.magtitre::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 0 45px 16px;
    border-color: transparent transparent transparent #007bff;
    content: " ";
    opacity: 0.2;
    bottom: 0;
    left: 100%;
    position: absolute;
    z-index: 0;
}

#free-paper-toy,
#available-paper-toys {
    margin-bottom: 50px;
}

#free-paper-toy {
    background-color: #89a5d0;
    color: #ffffff;
}

.paper-toys:first-child {
    display: none;
}

.paper-toys-image {
    text-align: center;
}

.paper-toys {
    text-align: center;
    border: 1px dashed black;
    padding: 10px;

}

.paper-toys a {
    display: block;
    font-weight: bold;
    color: #000000;
    overflow: hidden;
}

.blur {
    filter: blur(5px);
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
}

.paper-toy-title {
    text-align: center;
    margin-bottom: 20px;
}

.paper-toy-title img {
    width: 100px;
    margin-right: 15px;
}

.paper-toy-title h2 {
    text-transform: uppercase;
    color: #ffffff;
    font-size: 50px;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    width: -moz-fit-content;
    width: fit-content;
}

.paper-toys-content {
    text-align: center;
}

.paper-toys-content p {
    text-align: left;
    color: #ffffff;
}

[class*="paper-toys"]+[class*="paper-toys"]:last-child {
    float: left;
}

.mag-picto {
    text-align: center;
}

.mag-picto img {
    width: 100px;
}

@media screen and (min-width: 768px) {
    .hide-for-large {
        display: none !important;
    }

    .page-template-page-magazine section:nth-child(1) {
        padding-bottom: 0 !important;
    }
}

@media screen and (max-width: 767px) {

    .page-template-page-magazine section:nth-child(1) {
        padding-bottom: 3rem;
    }

    .page-template-page-magazine section:nth-child(1) #mag-titre-bloc {
        margin-left: 0;
    }

    .paper-toy-title img {
        margin-right: 0px;
        margin-bottom: 15px
    }

    .paper-toy-title h2 {
        font-size: 30px;
    }
}


/* Product filter fix */
.prdctfltr_count {
    display: inline-block;
    vertical-align: middle;
    float: right;
    margin-left: 4px;
    height: auto !important;
    line-height: auto !important;
    font-size: 12px !important;
    padding: 2px 4px !important;
    border: 1px solid #0db0e7 !important;
    color: #fff !important;
    background-color: #0db0e7 !important;
    border-radius: 10px !important;
    min-width: 12px;
    text-align: center;
}

.icon-user {
    color: #0db0e7;
    border: 2px solid #0db0e7;
    padding: 0 2px !important;
    border-radius: 16px;
}

.themes-cartouche,
.periode-cartouche {
    position: relative;
    padding-top: 32rem;
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 1150px) {

    .themes-cartouche,
    .periode-cartouche {
        padding-top: 25rem;
    }
}

@media screen and (max-width: 550px) {

    .themes-cartouche,
    .periode-cartouche {
        padding-top: 15rem;
    }
}

.themes-cartouche-filtre,
.periode-cartouche-filtre {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: #000;
    opacity: .4;
}

.themes-cartouche h4,
.periode-cartouche h4 {
    text-align: center;
    position: absolute;
    z-index: 3;
    top: 50%;
    text-transform: uppercase;
    color: #fff;
    transform: translateY(-50%);
}

.periode-cartouche-picto {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    text-align: center;
    padding: 6px;
    z-index: 3;
}

.periode-cartouche-picto img {
    height: 100%;
}

.periode-cartouche-picto.prehistoire {
    background-color: #fbb900;
}

.periode-cartouche-picto.antiquite {
    background-color: #00B5F3;
}

.periode-cartouche-picto.moyen-age {
    background-color: #792182;
}

.periode-cartouche-picto.temps-modernes {
    background-color: #e03353;
}

.periode-cartouche-picto.revolution-19-siecle {
    background-color: #f39324;
}

.periode-cartouche-picto.epoque-contemporaine {
    background-color: #a2c614;
}

.category-banner {
    padding-top: 30rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.periode-flag {
    position: absolute;
    display: block;
    top: 3rem;
    left: 0;
    padding: 1.5rem 2rem;
}

.periode-flag::before,
.periode-flag::after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
}

.periode-flag::before {
    top: 0;
    right: -30px;
    border-right: 30px solid transparent;
}

.periode-flag::after {
    bottom: 0;
    right: -30px;
    border-right: 30px solid transparent;
}

.periode-flag h3 {
    width: auto;
    margin: 0;
    margin-right: 2rem;
    color: #fff;
    text-transform: uppercase;
}

.periode-flag h3,
.periode-flag-icon {
    display: inline-block;
    vertical-align: middle;
}

.periode-flag.prehistoire {
    background-color: #fbb900;
}

.periode-flag.prehistoire::before {
    border-top: 35px solid #fbb900;
}

.periode-flag.prehistoire::after {
    border-bottom: 35px solid #fbb900;
}

.periode-flag.antiquite {
    background-color: #00B5F3;
}

.periode-flag.antiquite::before {
    border-top: 35px solid #00B5F3;
}

.periode-flag.antiquite::after {
    border-bottom: 35px solid #00B5F3;
}

.periode-flag.moyen-age {
    background-color: #792182;
}

.periode-flag.moyen-age::before {
    border-top: 35px solid #792182;
}

.periode-flag.moyen-age::after {
    border-bottom: 35px solid #792182;
}

.periode-flag.temps-modernes {
    background-color: #e03353;
}

.periode-flag.temps-modernes::before {
    border-top: 35px solid #e03353;
}

.periode-flag.temps-modernes::after {
    border-bottom: 35px solid #e03353;
}

.periode-flag.revolution-19-siecle {
    background-color: #f39324;
}

.periode-flag.revolution-19-siecle::before {
    border-top: 35px solid #f39324;
}

.periode-flag.revolution-19-siecle::after {
    border-bottom: 35px solid #f39324;
}

.periode-flag.epoque-contemporaine {
    background-color: #a2c614;
}

.periode-flag.epoque-contemporaine::before {
    border-top: 35px solid #a2c614;
}

.periode-flag.epoque-contemporaine::after {
    border-bottom: 35px solid #a2c614;
}

.periode-flag.grecque {
    background-color: #7fb0bd;
}

.periode-flag.grecque::before {
    border-top: 35px solid #7fb0bd;
}

.periode-flag.grecque::after {
    border-bottom: 35px solid #7fb0bd;
}

.periode-flag.nordique {
    background-color: #9b1938;
}

.periode-flag.nordique::before {
    border-top: 35px solid #9b1938;
}

.periode-flag.nordique::after {
    border-bottom: 35px solid #9b1938;
}

.periode-flag.egyptienne {
    background-color: #af4325;
}

.periode-flag.egyptienne::before {
    border-top: 35px solid #af4325;
}

.periode-flag.egyptienne::after {
    border-bottom: 35px solid #af4325;
}

.periode-flag.medievale {
    background-color: #e5b845;
}

.periode-flag.medievale::before {
    border-top: 35px solid #e5b845;
}

.periode-flag.medievale::after {
    border-bottom: 35px solid #e5b845;
}

@media screen and (max-width: 850px) {
    .category-banner {
        padding-top: 200px;
    }
}

@media screen and (max-width: 550px) {
    .category-banner {
        padding-top: 150px;
    }
}

.category-page-title .term-description {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px;
}

.category-page-title .term-description h1 {
    width: -moz-fit-content;
    width: fit-content;
    margin: 20px auto;
}

.breadcrumb {
    background-color: #F8F8F8;
}

.breadcrumb>.page-title-inner.flex-row.medium-flex-wrap.container {

    padding-top: 5px;
}

.collection-title {
    position: relative;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    padding: 2px 20px;
    color: #fff;

}

.collection-title-before::before,
.collection-title-before::after,
.collection-title-after::before,
.collection-title-after::after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
}

.collection-title-before::before {
    top: 0;
    left: -30px;
    border-bottom: 21px solid transparent;

}

.collection-title-before::after {
    bottom: 0;
    left: -30px;
    border-top: 21px solid transparent;
}

.collection-title-after::before {
    top: 0;
    right: -30px;
    border-bottom: 21px solid transparent;

}

.collection-title-after::after {
    bottom: 0;
    right: -30px;
    border-top: 21px solid transparent;
}

.collection-title.histoire {
    background-color: #0cb0e6;
}

.collection-title.histoire .collection-title-before::before,
.collection-title.histoire .collection-title-before::after {
    border-right: 30px solid #0cb0e6;
}

.collection-title.histoire .collection-title-after::before,
.collection-title.histoire .collection-title-after::after {
    border-left: 30px solid #0cb0e6;
}

.collection-title.mythes-et-legendes {
    background-color: #0cb0e6;
}

.collection-title.mythes-et-legendes .collection-title-before::before,
.collection-title.mythes-et-legendes .collection-title-before::after {
    border-right: 30px solid #0cb0e6;
}

.collection-title.mythes-et-legendes .collection-title-after::before,
.collection-title.mythes-et-legendes .collection-title-after::after {
    border-left: 30px solid #0cb0e6;
}

.collection-title.aventures {
    background-color: #e6cb26;
    color: #000;
}

.collection-title.aventures .collection-title-before::before,
.collection-title.aventures .collection-title-before::after {
    border-right: 30px solid #e6cb26;
}

.collection-title.aventures .collection-title-after::before,
.collection-title.aventures .collection-title-after::after {
    border-left: 30px solid #e6cb26;
}


.category-filtering.category-filter-row.show-for-medium {
    position: fixed;
    top: 350px;
    left: 0;
    z-index: 30;
}

.category-filtering .filter-button {
    background-color: #0cb0e6;
    padding: 10px 20px;
    color: #fff;
    border-radius: 0px 32px 32px 0px;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.category-filtering .filter-button .filter-icon {
    display: block;
    width: 30px;
    height: 30px;
}

/*
#wide-nav .header-nav > li{
    margin: 0 2vw;
}
.header-nav .livres-menu ul li:nth-last-child(2),
.nav-sidebar .livres-menu ul li:nth-last-child(2){
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e3e3e3;
}

.header-nav .livres-menu ul li:nth-last-child(2) a::after,
.nav-sidebar .livres-menu ul li:nth-last-child(2) a::after{
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 25px;
    margin-left: 8px;
    background-image: url("/app/themes/quellehistoire/inc/images/BESTSELLERS.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.header-nav .livres-menu ul li:nth-last-child(1) a::after,
.nav-sidebar .livres-menu ul li:nth-last-child(1) a::after{
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-left: 5px;
    background-image: url("/app/themes/quellehistoire/inc/images/NEW.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
*/

.header-nav li.nouveautes a::after,
.header-nav li.idees-cadeaux a::after,
.header-nav li.best-sellers a::after,
.nav-sidebar li.best-sellers a::after,
.nav-sidebar li.nouveautes a::after,
.nav-sidebar li.idees-cadeaux a::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-left: 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.header-nav li.best-sellers a::after,
.nav-sidebar li.best-sellers a::after {
    background-image: url("/app/themes/quellehistoire/inc/images/BESTSELLERS.svg");
}

.header-nav li.nouveautes a::after,
.nav-sidebar li.nouveautes a::after {
    background-image: url("/app/themes/quellehistoire/inc/images/NEW.svg");
}

.header-nav li.idees-cadeaux a::after,
.nav-sidebar li.idees-cadeaux a::after {
    background-image: url("/app/themes/quellehistoire/inc/images/idees-cadeaux.svg");
}

.term-periodes .category-filtering,
.term-themes .category-filtering {
    display: none !important;
}


.term-quelle-histoire .term-description {
    background-image: url(/app/uploads/2019/11/test_banner.jpg);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center -50px;
}

.term-mythes-legendes .term-description {
    background-image: url(/app/uploads/2019/11/test_mythologies_1.jpg);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center 6px;
}

.term-aventures .term-description {
    background-image: url(/app/uploads/2019/11/test_aventures.jpg);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center -83px;
}

.no-product-found {
    text-align: center;
}

.no-product-found .woocommerce-info {
    font-weight: bold;
    text-align: left;
}

.row.category-page-row .col.large-3.hide-for-medium {
    will-change: min-height;
}

#shop-sidebar {
    transform: translate(0, 0);
    /* For browsers don't support translate3d. */
    transform: translate3d(0, 0, 0);
    will-change: position, transform;
}

.is-affixed #shop-sidebar {
    max-width: 350px;
    padding: 0 15px;
}

.collection-title a {
    text-decoration: underline;
    font-weight: bold;
}

/*
customisation style carte cadeau
 */

.ywgc-form-preview-title-container {
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

.ywgc-form-preview-title {
    text-align: center;
    color: #0bb0e7;
    width: 80%;
    margin: 0 auto;
    font-size: 18px;
}

.ywgc-form-preview-amount {
    color: #0db0e7;
    text-decoration: underline;
    display: inline;
    float: none;
}

.ywgc-predefined-amount-button.ywgc-amount-buttons.selected_button span.amount,
.ywgc-choose-image.ywgc-choose-template {
    color: #fff;
}

.ywgc-preset-image,
.ywgc-preset-image.selected_image_parent {
    width: 109px;
}

@media screen and (max-width: 850px) {

    .ywgc-preset-image,
    .ywgc-preset-image.selected_image_parent {
        width: 84px;
    }
}

@media screen and (max-width: 550px) {

    .ywgc-preset-image,
    .ywgc-preset-image.selected_image_parent {
        width: 84px;
    }

    .entry-summary ul {
        display: block !important;
        width: 100%;
    }

    .entry-summary ul li {
        margin-left: 0;
        width: fit-content;
        width: -moz-fit-content;
        display: inline-block;
    }

}

.ywgc-form-preview-message {
    white-space: pre-wrap;
}

.ywgc-template-categories {
    padding-left: 20px;
}

.gift-card-panel-title-container .yith-add-new-gc-my-account-button {
    margin-right: 0;
    color: #fff;
}

.gift-card-content-editor.step-content h5:first-child {
    margin-top: 0;
}

.product-info .stock.out-of-stock {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 2rem;
    background-color: #e86555;
    padding: 1rem;
    width: fit-content;
    width: -moz-fit-content;
}


p.woocommerce-store-notice.demo_store {
    position: fixed;
    bottom: 80px;
    left: 0;
    background-color: #0bb0e7;
    width: 600px;
    padding: 30px;
    z-index: 9;

}

p.woocommerce-store-notice.demo_store .woocommerce-store-notice__dismiss-link {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    border: 2px solid;
    border-radius: 25px;
    padding: 3px 10px;
}

@media screen and (max-width: 850px) {
    p.woocommerce-store-notice.demo_store {
        bottom: 0;
        width: 100%;
    }
}

.page-id-45984 #content section {
    padding: 0px 0px !important;
}


label[class^="prdctfltr_ft_"] {
    width: 100%;
    display: block;
}

.bg.fill.bg-fill.distrib-loaded.bg-loaded {
    background-image: url(https://quellehistoire.com/app/uploads/2018/07/contact-pro-image-scaled.jpg);
}

button[name="update_cart"] {
    display: none;
}


form.variations_form .cancel-prime,
form.variations_form #cancel {
    background: #ffffff !important;
    border: 2px solid #0bb0e6 !important;
    padding: 7px 17px !important;
    border-radius: 0px !important;
    color: #0bb0e6 !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-family: "Lato", serif !important;
    float: left !important;
    margin-left: 0px !important;
    font-size: 12px !important;
}

.WOO_CK_WUVIC_buttom {
    display: table-cell !important;
    cursor: pointer !important;
    background-repeat: no-repeat !important;
    background-position: 0 !important;
    padding-left: 16px !important;
    background-size: 14px !important;
    font-size: 14px !important;
    vertical-align: middle !important;
}

/**
* Bouton Add to cart Désactivé en cas d'abonnement dans le panier
**/
.button.add-to-cart-adl {
    cursor: no-drop;
    background-color: grey;
}

.adl-error-msg {
    color: #0db0e7;
}

/**
 * #9263 - Evolution Homepage header+slider
**/
.res-text {
    font-size: unset !important;
}

@media (min-width: 550px) {
    .res-text {
        width: 60% !important;
    }
}

.row-slider .flickity-page-dots .dot {
    opacity: .4;
    width: 12px;
    height: 12px;
    border: 3px solid #0cb0e6;
    background-color: transparent;
}

.row-slider .flickity-page-dots .dot:hover {
    opacity: .7;
}

.row-slider .flickity-page-dots .dot.is-selected {
    background-color: #0cb0e6;
}

.flickity-enabled.is-draggable {
    margin-bottom: 15px;
}

.small-columns-2 .flickity-slider>.col {
    max-width: 270px;
    min-height: 412px;
    flex-basis: unset;
}

/*9875 - correctif visuel bouton code panier */
.checkout_coupon .coupon button[type="submit"] {
    background-color: #f9f9f9;
    text-shadow: 1px 1px 1px #fff;
    color: #666;
    border: 1px solid #ddd;
}

/* #16665 - frontend adjustment on gift card */
.ywgc-design-list .ywgc-preset-image img, .ywgc-preset-image.ywgc-preset-image-view-all, .ywgc-preset-image.ywgc-custom-picture {
    width: 150px;
    height: auto;
    min-height: 97px;
}