@media (min-width: 768px) and (max-width: 1023px) {
  #produit #add {
    float: none;
    width: auto;
    clear: both;
    padding-top: 20px;
    background: none;
  }
  #produit #add div.add_mobile {
    display: block !important;
  }
  #produit #add div.add_mobile select {
    width: 100%;
  }
  #produit #add div.add_desktop {
    display: none !important;
  }
  #produit #add .pts {
    height: auto;
  }
  #produit #add .btn a {
    margin: auto;
  }
  #produit #add label,
  #produit #add p {
    line-height: 42px;
  }
}
@media (max-width: 768px) {
  #header .mobile {
    display: block;
  }
  #header .desktop {
    display: none;
  }
}
@media (min-width: 768px) {
  .filter_list_compte {
    display: block !important;
    height: auto !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  input,
  textarea,
  select {
    width: auto;
  }
  #wrapper,
  #bg_footer .deco_ombre .ct_partenaires,
  #footer,
  #conteneur_centre,
  #bg_footer,
  #listing #content_liste,
  .recap {
    width: 100%;
    min-width: 0px;
    box-sizing: border-box;
  }
  #wrapper {
    overflow-x: hidden;
  }
  .liste_produits .row > div {
    margin-top: 15px;
  }
  .liste_produits .produit_220_325 {
    width: 100%;
    height: auto;
    margin: auto;
  }
  #listing #content_liste {
    width: calc(100% - 235px) !important;
    margin-left: 235px !important;
  }
  #listing #content_liste .liste_tri > p.nbr_produit,
  #listing #content_liste .liste_tri > p.select,
  #listing #content_liste .liste_tri > p.pagination {
    top: auto;
    left: auto;
    position: relative;
    display: inline-block;
    padding: 0;
  }
  #listing #content_liste .liste_tri > p.nbr_produit {
    float: left;
    margin-left: 5px;
  }
  #listing #content_liste .liste_tri > p.pagination {
    float: right;
    margin-right: 5px;
  }
  #listing #content_liste .liste_tri > p.select select {
    width: auto;
  }
  #listing #content_liste article,
  #listing #content_liste article img {
    width: 100%;
    height: auto;
  }
  #produit > section:not(#prod_gallerie) {
    display: table;
  }
  #produit > section:not(#prod_gallerie) #infos,
  #produit > section:not(#prod_gallerie) #add {
    display: table-cell;
    width: auto;
    float: none;
  }
  #produit > section:not(#prod_gallerie) #infos #prod_thumbs {
    position: relative;
    margin-top: 5px;
  }
  .produit_220_325 {
    width: auto;
    max-width: 218px;
  }
  .produit_220_325 img {
    max-width: 100%;
    height: auto;
  }
  #tunnel {
    display: table;
  }
  #tunnel li {
    display: table-cell;
  }
  #panier_tab_prod img {
    width: 100%;
    height: auto;
  }
  #conteneur_centre .home_push {
    display: none;
  }
  #conteneur_centre #home_slide {
    float: none;
  }
  #conteneur_centre #home_slide > div {
    margin: auto !important;
  }
}
@media (max-width: 768px) {
  #wrapper.unlog {
    margin-top: 0;
    padding-top: 50px;
  }
  #wrapper.unlog,
  #bg_footer.unlog {
    min-height: 50%;
    box-sizing: border-box;
    position: relative;
  }
  #wrapper.unlog #login,
  #bg_footer.unlog #login {
    height: auto;
    text-align: center;
    margin: auto;
  }
  #wrapper.unlog #login h2,
  #bg_footer.unlog #login h2,
  #wrapper.unlog #login p.btn input,
  #bg_footer.unlog #login p.btn input,
  #wrapper.unlog #login a.login,
  #bg_footer.unlog #login a.login {
    margin: auto;
  }
  #wrapper.unlog #add,
  #bg_footer.unlog #add {
    padding: 0;
  }
  #login,
  #partenaires,
  .slide_produits,
  .tunnel,
  .panier_mobile,
  #ct_process,
  #compte,
  #cms {
    margin-right: 20px;
    margin-left: 20px;
  }
  .search_mobile {
    display: none;
  }
  #footer .nav_cols {
    display: block;
  }
  #footer .nav_cols .col {
    display: inline-block;
    vertical-align: top;
  }
  #footer .cols .col {
    margin: 0;
    text-align: center;
  }
  #footer .cols .col:last-child {
    margin: 0;
  }
  #footer .cols .col li:after {
    display: none;
  }
  #popup.open {
    position: fixed !important;
    top: 2% !important;
    max-height: 95vh !important;
    overflow-x: auto;
    overflow-y: auto;
    margin-top: 0;
  }
  #popup.open #close {
    top: 0;
    right: 0;
  }
  #popup.open .tetiere {
    font-size: 11px;
  }
  #popup #slide_topventes_popup {
    margin-top: 0;
  }
  #popup #slide_topventes_popup p.pts {
    font-size: 14px;
  }
  #popup .button_list p {
    width: 100%;
  }
  #popup .slide_produits {
    margin-right: 0;
    margin-left: 0;
  }
  #popup .btn_droite a,
  #popup .btn_gauche a {
    line-height: 32px;
    min-height: 32px;
    margin-bottom: 5px !important;
  }
  #popup .slider_prev a.svg-content svg,
  #popup .slider_next a.svg-content svg {
    width: 20px;
  }
  #popup .slider_prev a.svg-content {
    right: 16px;
  }
  .nav_product a,
  #compte_menu a,
  #compte #compte_menu p.open_filter,
  a.open_filter,
  .filter_list a,
  .mobile_pagination a form span,
  form input,
  form select,
  .button_list p a,
  .button_list p input,
  .mobile_pagination a {
    line-height: 40px;
    min-height: 40px;
    font-size: 14px;
  }
  form select {
    height: 40px;
  }
  form.dediform,
  form#form_change_adresse {
    width: 100%;
  }
  form.dediform label,
  form#form_change_adresse label {
    float: none;
    width: 100%;
    box-sizing: border-box;
    display: block;
  }
  form.dediform input[type=text],
  form#form_change_adresse input[type=text],
  form.dediform input[type=password],
  form#form_change_adresse input[type=password],
  form.dediform textarea,
  form#form_change_adresse textarea,
  form.dediform select,
  form#form_change_adresse select {
    width: 100%;
    box-sizing: border-box;
  }
  form.dediform .checkbox_content label,
  form#form_change_adresse .checkbox_content label {
    width: auto;
    display: inline-block;
  }
  .sitemap .onerange {
    display: block;
    width: 100%;
  }
  #popup_modif_adresse p input[type="text"],
  #popup_modif_adresse p select {
    margin-left: 0;
  }
  .button_list {
    font-size: 14px;
    text-align: center;
    padding-bottom: 0;
  }
  .button_list p {
    margin: auto;
    width: 75%;
  }
  .button_list p > a,
  .button_list p > input[type=submit] {
    width: 100% !important;
    box-sizing: border-box;
    display: block;
    margin-bottom: 15px !important;
  }
  .button_list p.btn_droite,
  .button_list p.btn_gauche {
    float: none;
  }
  .button_list p:last-child > * {
    margin-bottom: 0;
  }
  #header .mobile {
    position: fixed;
    top: 0;
    width: 100%;
  }
  #header .svg-content.circle {
    padding: 0;
    border: none !important;
    display: block;
    width: auto;
    height: auto;
  }
  #header .svg-content.circle svg {
    width: 20px;
    height: 20px;
    border: 1px solid #7e7e7e;
    border-radius: 25px;
    padding: 5px;
    vertical-align: middle;
    max-height: 30px;
    margin-top: 9px;
    fill: #7e7e7e !important;
  }
  #header .svg-content.circle svg path {
    fill: #7e7e7e !important;
  }
  .nav_client,
  .nav_product {
    position: fixed;
  }
  #wrapper,
  #bg_footer .deco_ombre .ct_partenaires,
  #footer,
  #bg_footer,
  #conteneur_centre,
  #listing #content_liste {
    padding: 0;
    width: 100%;
    min-width: auto;
    margin: 0;
  }
  #conteneur_centre {
    margin: 15px auto;
  }
  #wrapper {
    margin-top: 50px;
  }
  .row-eq-height {
    display: flex;
  }
  /* HEADER */
  #header div.col-1 div.row {
    height: 50px;
  }
  #header div.col-1 div.row div {
    height: 50px;
  }
  #header div.col-1 p.logo {
    margin: 0;
    height: 100%;
    display: table;
    padding-right: 20px;
    float: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  #header div.col-1 p.logo a {
    display: table-cell;
    height: 100%;
  }
  #header div.col-1 p.logo img {
    max-height: 50px;
    max-width: 100%;
    vertical-align: middle;
  }
  #header .form_search {
    padding: 0 15px;
    background: #FFF;
    display: block;
    float: none;
    margin: 0;
  }
  #header #hsearch {
    float: none;
    margin: 0;
    padding-top: 10px;
    background: #FFFFFF;
    text-align: center;
  }
  #header #hsearch fieldset {
    text-align: left;
    display: inline-block;
  }
  #header #hsearch fieldset input[type=text] {
    width: 70px;
  }
  #header #hsearch fieldset .keywords input[type=text] {
    width: 170px;
  }
  #header .hpanier a,
  #header .hcompte a,
  #header .hsearch a,
  #header .open_nav_product {
    height: 50px;
    display: table;
    margin: 0;
    text-align: center;
    width: 100%;
  }
  #header .hpanier a span.picto,
  #header .hcompte a span.picto,
  #header .hsearch a span.picto,
  #header .open_nav_product span.picto {
    margin: 0;
    color: #FFFFFF;
    background-image: none;
    text-indent: 0;
    width: auto;
    height: auto;
    display: table-cell;
    vertical-align: middle;
  }
  #header .hpanier a span.picto:before,
  #header .hcompte a span.picto:before,
  #header .hsearch a span.picto:before,
  #header .open_nav_product span.picto:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    font-size: 26px;
  }
  #header .theader {
    z-index: 100;
    position: relative;
    height: 50px;
    background: #29272A;
    width: 100%;
    display: flex;
  }
  #header .theader .menu_link {
    width: 15%;
  }
  #header .theader .menu_link span.svg-content {
    display: block;
    text-align: center;
  }
  #header .theader .menu_link span.svg-content svg {
    width: 35px;
    height: 35px;
    margin-top: 6px;
  }
  #header .theader .menu_link span.svg-content svg,
  #header .theader .menu_link span.svg-content path {
    fill: #2a2a2a;
  }
  #header .theader .logo_content {
    width: 49%;
    text-align: center;
  }
  #header .theader .logo_content img {
    max-height: 50px;
  }
  #header .theader .hcompte,
  #header .theader .hpanier,
  #header .theader .hsearch {
    width: 12%;
  }
  #header .theader .open_nav_product span.picto:before {
    content: '\e800';
  }
  #header .hcompte a,
  #header .nav_client a {
    color: #7e7e7e;
  }
  #header .hcompte a:hover,
  #header .nav_client a:hover {
    font-weight: bold;
  }
  #header .hpanier span.picto:before {
    content: '\f290';
  }
  #header .hcompte span.picto:before {
    content: '\f2be';
    color: #7e7e7e;
  }
  /* Navigation */
  .animate_open {
    z-index: 10;
    transform: translateY(-150%);
    transition-duration: 0.2s;
    width: 100%;
  }
  .animate_open.open {
    transform: translateY(0);
    transition-duration: 0.5s;
  }
  .nav_client ul li a,
  .nav_product ul li a {
    padding: 1px 8px;
    box-sizing: border-box;
    display: block;
  }
  .nav_product {
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .nav_product .menuLv1 > li > a,
  .nav_product .menuLv2 > ul > li > a {
    text-transform: uppercase;
  }
  .nav_product .menuLv3 > li > p a {
    text-transform: lowercase;
  }
  .nav_product .menuLv3 > li > p a::first-letter {
    text-transform: uppercase !important;
  }
  .nav_product a {
    color: #FFFFFF;
    border-bottom: 1px solid #eaeaea;
  }
  .nav_product a.arrow:after {
    float: right;
    font-family: "fontello";
    content: "\E805";
  }
  .nav_product a.arrow.active:after {
    content: "\E801";
  }
  .nav_product .menuLv2 {
    background: #FFFFFF;
  }
  .nav_product .menuLv2 a {
    color: #000;
    border-bottom: 1px solid #eaeaea;
  }
  .nav_product .menuLv2 .menuLv3 a {
    color: #7e7e7e;
  }
  .nav_product .menuLv2,
  .nav_product .menuLv3 {
    display: none;
  }
  /* Contenu interne */
  /* Ariane */
  .breadcrumb {
    line-height: 15px;
    padding: 10px 20px 15px 20px;
    margin: 0;
    height: auto;
  }
  /* Contenu accueil */
  #conteneur_centre #home_slide {
    float: none;
  }
  #conteneur_centre #home_slide img {
    width: 100%;
  }
  #slide_marques .ct_slide {
    background-size: 100% 100%;
  }
  .ct_partenaires {
    text-align: center;
  }
  #footer .cols {
    display: block;
  }
  #footer .cols .col ul li {
    display: block;
  }
  #footer .cols .col ul li.sep {
    display: none;
  }
  /* LISTING */
  .liste_produits {
    padding: 0 20px;
  }
  .liste_produits .produit_220_325 {
    width: 100%;
    height: auto;
    margin: auto;
  }
  .liste_produits .produit_220_325 img {
    width: 100%;
    height: auto;
  }
  #listing {
    padding: 0 20px;
    /* Pagination */
  }
  #listing #content_liste .mobile_liste_tri div {
    padding: 5px;
  }
  #listing #content_liste .mobile_liste_tri div > a {
    display: block;
    border: 1px solid;
    text-align: center;
  }
  #listing #content_liste .mobile_liste_tri div ul {
    display: block;
  }
  #listing #content_liste .mobile_liste_tri div > ul {
    display: none;
  }
  #listing #content_liste .row > div {
    padding: 0 5px;
    box-sizing: border-box;
  }
  #listing #content_liste .row > div article {
    margin: auto;
    width: 100%;
    height: auto;
  }
  #listing #content_liste .row > div article p.visuel {
    height: auto;
  }
  #listing #content_liste .row > div article p.visuel img {
    width: 100%;
    height: auto;
  }
  #listing #content_liste .row > div article .pts {
    font-size: 14px;
  }
  #listing #content_liste .row > div article .nom {
    height: 45px;
  }
  #listing #content_liste .row > div article .marque {
    height: 30px;
  }
  #listing .nav_liste_filtre {
    display: none;
  }
  #listing .mobile_pagination {
    text-align: center;
    font-size: 0;
    margin-top: 20px;
  }
  #listing .mobile_pagination a {
    font-size: 14px;
    color: #000;
    border-color: #000;
    display: inline-block;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-left: 1px solid;
    padding: 0 15px;
  }
  #listing .mobile_pagination a:first-child {
    border-radius: 5px 0 0 5px;
    font-weight: bold;
  }
  #listing .mobile_pagination a:last-child {
    border-radius: 0 5px 5px 0;
    border-right: 1px solid;
    font-weight: bold;
  }
  #listing .mobile_pagination a.actif {
    color: #FFFFFF;
    border-color: #000;
  }
  #listing .mobile_pagination a.previous:after {
    font-family: "fontello";
    content: "\E803";
    font-weight: normal;
  }
  #listing .mobile_pagination a.next:after {
    font-family: "fontello";
    content: "\E804";
    font-weight: normal;
  }
  #listing .filter_list {
    display: none;
    margin-top: 10px;
  }
  #listing .filter_list li {
    padding-left: 10px;
  }
  #listing .filter_list a {
    color: #000;
  }
  #listing .filter_list div.menuLv2,
  #listing .filter_list div.menuLv3 {
    display: none;
  }
  #listing .filter_list div.menuLv2 a,
  #listing .filter_list div.menuLv3 a {
    color: #abaaaf;
  }
  #listing .filter_list li.current div.menuLv2 {
    display: block;
  }
  #listing .filter_list li.current div.menuLv2 div.menuLv3 {
    display: none;
  }
  #listing .filter_list li.current div.menuLv2 li.current div.menuLv3 {
    display: none;
  }
  #listing .filter_list ul.current div.menuLv2,
  #listing .filter_list ul.current div.menuLv3 {
    display: block;
  }
  /* Panier */
  .tunnel {
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .tunnel ul {
    display: table;
    width: 100%;
  }
  .tunnel ul li {
    text-align: center;
    margin: 0;
    display: table-cell;
    vertical-align: middle;
  }
  .tunnel ul li.number {
    height: 38px;
    width: 38px;
    background: url(images/sprite.png) 0 -1143px;
    padding-right: 15px;
  }
  .tunnel ul li.number:last-child {
    padding-right: 0;
  }
  .tunnel ul li.number.actif {
    background-position: 0 -1055px;
  }
  .tunnel ul li.number span {
    text-align: left;
    display: table-cell;
    vertical-align: middle;
    padding-left: 13px;
  }
  .tunnel ul li.text {
    padding-right: 15px;
    font-size: 14px;
  }
  .tunnel ul li.text:not(.actif) {
    display: none;
  }
  .panier_mobile {
    font-size: 12px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .panier_mobile div.produit {
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
    margin-top: 20px;
  }
  .panier_mobile div.produit:last-child {
    border: none;
  }
  .panier_mobile .content_quantite .quantite {
    margin-top: 20px;
    display: flex;
  }
  .panier_mobile .content_quantite .quantite .text {
    flex: 2;
  }
  .panier_mobile .content_quantite .quantite .input {
    flex: 1;
    padding: 0 2px;
  }
  .panier_mobile .content_quantite .quantite .sous_total {
    flex: 2;
  }
  .panier_mobile .content_quantite .quantite input {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .panier_mobile img {
    width: 100%;
  }
  .panier_mobile a.delete {
    background: url(images/sprite.png) 0 -684px;
    display: inline-block;
    position: relative;
    text-indent: -9999px;
    width: 15px;
    height: 15px;
    float: right;
  }
  .panier_mobile .sous_total {
    text-align: right;
    font-weight: bold;
  }
  .total {
    background: #eaeaea;
    padding: 20px 10px;
  }
  .somme {
    text-align: right;
    font-weight: bold;
    font-size: 11px;
  }
  .sold {
    padding: 20px 10px;
  }
  .recap {
    width: 100%;
  }
  .recap select {
    width: 100%;
  }
  table#recap_panier .restant .pts_restant,
  table#recap_panier .pts span {
    font-size: 14px;
    white-space: nowrap;
  }
  #ct_process {
    margin-left: 20px;
    margin-right: 20px;
  }
  /* Compte client */
  #compte {
    min-height: auto;
    margin-left: 20px;
    margin-right: 20px;
  }
  #compte #compte_menu {
    box-sizing: border-box;
    margin-bottom: 20px;
  }
  #compte #compte_menu .tetiere {
    text-align: left;
    padding-left: 8px;
    cursor: pointer;
    padding-right: 0;
    padding-left: 2px;
  }
  #compte #compte_menu ul {
    display: none;
  }
  #compte #compte_menu ul.open {
    display: block;
  }
  #compte #compte_menu ul li {
    padding: 0px;
    background: none;
    margin: 0 1px;
  }
  #compte #compte_menu ul li a {
    display: block;
    font-size: 12px;
  }
  #compte .form_add_card input {
    margin: auto;
    width: 100%;
    display: block;
    margin-bottom: 10px;
    box-sizing: border-box;
  }
  #compte .form_add_card input[type=submit] {
    width: 70%;
  }
}
@media (max-width: 767px) {
  .open_filter:after {
    font-family: "fontello";
    content: "\E805";
    float: right;
    margin-right: 10px;
    height: 20px;
    width: 20px;
    text-align: center;
  }
  .open_filter.active:after {
    content: "\E801";
  }
  /* Fiche produit */
  #produit {
    /* Diapo */
  }
  #produit #prod_gallerie {
    width: 100%;
    float: none;
    margin: 0;
    height: auto;
    box-sizing: border-box;
  }
  #produit #prod_gallerie a.next,
  #produit #prod_gallerie a.previous {
    background: url(images/sprite.png) no-repeat;
    width: 10px;
    position: absolute;
    top: 50%;
    text-indent: -10000px;
    height: 20px;
    margin-top: -10px;
  }
  #produit #prod_gallerie a.previous {
    left: 5px;
    background-position: 0 -354px;
  }
  #produit #prod_gallerie a.next {
    right: 5px;
    background-position: 0 -287px;
  }
  #produit #prod_gallerie ul#prod_slide {
    height: auto;
    width: 84%;
    margin: auto;
  }
  #produit #prod_gallerie ul#prod_slide li {
    position: relative;
    display: none;
    text-align: center;
  }
  #produit #prod_gallerie ul#prod_slide li.active {
    display: block;
  }
  #produit #prod_gallerie ul#prod_slide li img {
    max-width: 100%;
    height: auto;
  }
  #produit #infos {
    float: none;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    height: auto;
  }
  #produit #add {
    padding: 10px 20px;
    width: auto;
    float: none;
    height: auto;
    background: none;
  }
  #produit #add form {
    line-height: 40px;
  }
  #produit #add .pts {
    height: auto;
    text-align: right;
  }
  #produit #add input {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  #produit #add .add_panier a {
    margin: auto;
  }
  #produit .product_detail {
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
  }
  #produit .product_detail ul li {
    background: #eaeaea;
    margin: 10px 0px;
    padding: 5px;
  }
  #produit .product_detail ul li a {
    display: block;
    color: #7e7e7e;
  }
  #produit .product_detail ul li a.open {
    color: #000;
  }
  #produit .product_detail ul li div {
    border-top: 1px solid #FFF;
    margin-top: 2px;
    padding-top: 2px;
    display: none;
  }
  #produit .slide_produits {
    margin-left: 20px;
    margin-right: 20px;
  }
  #produit .slide_produits .produit_220_325 {
    width: auto;
    max-width: 218px;
    height: auto;
  }
  #produit .slide_produits .produit_220_325 h3.nom {
    height: 50px;
  }
  #produit .slide_produits .produit_220_325 p {
    height: auto;
  }
  #produit .slide_produits .produit_220_325 img {
    max-width: 100%;
    height: auto;
  }
  #produit .slide_produits .produit_220_325 .pts {
    font-size: 14px;
  }
  #givefreegalerie {
	float:none;
	width:50%;
	margin:auto;
  }
  #givefreedescription {
	padding-left: 0px;
    padding-top: 15px;
    padding-bottom: 15px;
    float: none;
    width: 100%;
  }
}
/* Formulaire de recherche sur petite largeur d'écran + page de login*/
@media (max-width: 440px) {
  .search_mobile .break {
    display: block;
  }
  .search_mobile input[name="motclef"] {
    width: auto;
  }
  #wrapper.unlog #login {
    width: 100vw;
    min-width: auto;
  }
  #wrapper.unlog #login img {
    width: auto;
  }
}
