/*
Theme Name:   	SPsports Storefront Child Theme
Theme URI:    	https://github.com/stuartduff/storefront-child-theme
Author:       	Stuart Duff
Author URI:     http://stuartduff.com
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	1.0.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/
/*
 * Add your own custom css below this text.
 */
/* Déclaration de la police */
@font-face {
    font-family: 'spectralregular';
    src: url('assets/fonts/spectral-regular-webfont.woff2') format('woff2'),
    url('assets/fonts/spectral-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
 /*@font-face {
     font-family: 'nanummyeongjoregular';
     src: url('assets/fonts/nanummyeongjo-regular-webfont.woff2') format('woff2'),
          url('assets/fonts/nanummyeongjo-regular-webfont.woff') format('woff');
     font-weight: normal;
     font-style: normal;

}*/
body, button, input, textarea {
   color: #43454b;
   font-family: "spectralregular", Palatino, Georgia, serif;
   line-height: 1.618;
   text-rendering: optimizeLegibility;
   font-weight: 400;
}
/*remove sidebar*/
body #primary {
	float: none;
	width: 100%;
}
@media (min-width: 768px)
{
  .col-full.accueil-grid
  {padding : 0;}
    /*header pas de padding*/
    .site-header {
        padding-top:1rem;
    }
    /*logo plus gros*/
.site-header .site-branding img {
    width:300px;
        max-width:300px;
    }
}
/*******************/
/*navigation*/
/*******************/
/*largeur du menu ouvert*/
@media (min-width: 768px)
{
.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a
  {
    padding: 1.618em .4em;
  }
}
@media (min-width:860px)
{
.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a
  {
    padding: 1.618em 1em;
  }
}
a, a:focus{
  outline-style:none;/*ote le cadre on click*/
}
a {
  color:#304573;
}
/*******************/
/*en cours navigation principale et secondaire */
/*******************/
#menu-menu-primaire li a:hover, #menu-menu-primaire li:hover > a,#menu-menu-primaire li.current-menu-item > a, .site-title a:hover, #menu-menu-secondaire-woocom > li.current-menu-item > a,#menu-menu-secondaire-woocom > li:hover a
{color:#fff;}
.main-navigation ul li a:focus, .main-navigation ul li:focus > a, .site-title a:focus
{text-decoration: underline;}
#menu-menu-primaire > li.current-menu-item,#menu-menu-primaire > li.current_page_item, #menu-menu-primaire li:hover, #menu-menu-secondaire-woocom > li.current-menu-item, #menu-menu-secondaire-woocom > li:hover
{
background-color:#c43c24;
border-radius: 25px;
}
/*bleu pour acc de piste*/
/*body.term-materiel-de-piste #menu-menu-primaire .current-menu-item
{background-color:#304573;}*/
/*******************/
/*navigation smartphone*/
/*******************/
.handheld-navigation ul.menu > li  a
{
border-bottom:1px transparent solid;
}
.handheld-navigation ul.menu li > a:hover, .handheld-navigation ul.menu > li a:focus, .handheld-navigation ul.menu > li a:active,.handheld-navigation li.current-menu-item
{
border-bottom:1px #c43c24 solid;
color :#c43c24;}
.handheld-navigation .current-menu-item > a
{color :#c43c24 !important; }
button.menu-toggle, button.menu-toggle:hover,button.menu-toggle, button.menu-toggle:hover {
  border-color:#304573;
  outline-style:none;/*ote le cadre on click*/
}
/*******************/
/*navigation secondaire*/
/*******************/

/*******************/
/*breadcrumb*/
/*******************/
.storefront-breadcrumb
{background-color:#c43c24;
color:#fff;
}
/*bleu pour materiel de piste*/
/*body.term-materiel-de-piste .storefront-breadcrumb
{background-color:#304573;
color:#fff;
}*/
.storefront-breadcrumb a
{color:#fff;
}
/*******************/
/*titre page */
/*******************/
.page-title
{text-align: center;}
/*******************/
/*home page accueil*/
/*******************/
body.home{
  /*background-image: url("/wp-content/uploads/2022/11/micaela-parente-YGgKE6aHaUw-unsplash-2.jpg");*/
  background-image: url("/wp-content/uploads/pikist-fencing-for-home2.jpg");
   /* background-image: url("/wp-content/uploads/nathanael-desmeules-rec-forhome2.jpg");*/
  background-position:left top;
  /*background-size: auto;*/
    /*background-size: cover;*/
  background-repeat: no-repeat;
  /*background-attachment: scroll;*/
  /*background-color: gray;/*#000;*/

}
.accueil-grid /*janvier 2025 nouvelle grille*/
{
display: grid;
grid-gap:34px;
grid-template-areas:
"a a"
"b d"
"b c";
}
/*block front-page avril 2024*/
.wc-block-featured-category {
   /* align-content: center;
    align-items: center;*/
  /*background-color: inherit;
    background-position: 50%;
    background-size: cover;*/
   /* display: flex;
    flex-wrap: wrap;
    justify-content: center;*/
    /*margin: 0;*/
    /*overflow: hidden;*/
    position: relative;
  /*  width: 100%;*/
}
/*bloc maintenance*/
.wc-block-featured-category__wrapper{

box-sizing: border-box;
display: flex;
flex-wrap: wrap;
   /*align-content: center;
    align-items: center;*/
/*height: 100%;*/
/*justify-content: center;*/
/*overflow: hidden;
width: 100%;*/
}
.wc-block-featured-category__title {
    /*color: inherit;
    /*padding: 0 48px 16px;*/
    /*width: 100%;*/
   /* z-index: 1;
    border: 1px blue solid;*/
}
.wc-block-featured-category .wc-block-featured-category__background-image {
    position: absolute;
top : 0;
    width: 100%;
    height: 300px;
}
.wc-block-featured-category__link, .wc-block-featured-category__title, .wc-block-featured-category__variation {
    color: inherit;
    z-index: 1;
    width : 100%;
}
/*******************/
/*appSG*/
/*******************/
.appareils-sg {
grid-area: a;
height:320px;/* 310px;*/
/*border:2px #c43c24 solid;*/
    border-radius: 3px;
}/*310*/
div.appareils-sg > div.wc-block-featured-category__wrapper
{
height:100%;
background-color: #ffffff;
    opacity: 0.97;
}
h2.wc-block-featured-category__title.titre-appareils-sg
{color:#c43c24;
font-size:3rem;/*2 2.2*/
font-weight:400;
text-align:left;
    width: 100%;
padding:5vh 0 0 10vw ;
}
div.appareils-sg div.wc-block-featured-category__link
{width : auto;
    padding:0 0 0 10vw  ;
}
.wp-block-button__link.bton-appareils-sg
{background-color:#c43c24;
color : #fff; }
.wp-block-button__link.bton-appareils-sg:hover
{background-color: #fff;
color :#c43c24;
border: 3px #c43c24 solid; }
/*******************/
/*materiel de Piste*/
/*******************/
.materiel-de-piste {
grid-area: b;
height:305px; /*620px;*/
background-color:#ffffff; /*#304573;*/
   /* border :2px #304573 solid;*/
    border-radius: 3px;
    opacity: 0.97;
}
div.materiel-de-piste > div.wc-block-featured-category__wrapper
{
align-content:space-around;
    justify-content: center;

}
h2.wc-block-featured-category__title.titre-materiel-de-piste
{
color:#304573;
font-size:2rem;
/*font-weight: 400;*/
text-align:center;
padding : 10px 0;
}
.wp-block-button__link.bton-materiel-de-piste
{background-color:#304573;
color : #fff;
margin-top :40px;
    border:3px #304573 solid;
    padding: .5rem .9rem;
}
.wp-block-button__link.bton-materiel-de-piste:hover
{background-color: #fff;
color :#304573;
}
/*******************/
/*enrouleur*/
/*******************/
.reparation-enrouleurs {
grid-area:c;
color:#000000;
height: 134px;
    background-color: #ffffff;
    opacity: 0.97;
}
div.reparation-enrouleurs > div.wc-block-featured-category__wrapper
{
   /* align-content: space-around;
    justify-content: center;*/
}
h2.wc-block-featured-category__title.titre-reparation-enrouleurs
{font-size:1.3rem;
    padding : 25px 0 0 0;
text-align: center;}

.wp-block-button__link.bton-reparation-enrouleurs
{background-color:#fff;
color :#c43c24;
border: 1px #c43c24 solid;
padding :.5rem;}
.wp-block-button__link.bton-reparation-enrouleurs:hover
{background-color: #c43c24;
color :#fff;
/*border: 3px #edd1c0 solid;*/ }
/*******************/
/*maintEscrimer*/
/*******************/
.maintenance-et-installation-de-salles-descrime{
grid-area:d;
background-color: #c43c24;
height:133px;
color:#edd1c0;
border-radius: 3px;
    opacity: 0.97;}
h2.wc-block-featured-category__title.titre-maintenance-et-installation-de-salles-descrime
{font-size:1.3rem;
    padding : 8px 45px 0px 45px;
    text-align: center;

}
.wp-block-button__link.bton-maintenance-et-installation-de-salles-descrime
{background-color:#edd1c0;
color : #000;
    padding : .5rem .9rem;
}
.wp-block-button__link.bton-maintenance-et-installation-de-salles-descrime:hover
{background-color: #000;
color :#edd1c0;
border: 0 #edd1c0 solid; }
/*******************/
/*freefencing*/
/*******************/
/*.free-fencing{
grid-area:e;
background-color: rgba(255, 255, 255, 0.3);
height: 290px;
}
div.free-fencing > div.wc-block-featured-category__wrapper
{
align-content:flex-start;
}
h2.wc-block-featured-category__title.titre-free-fencing
{color :#4dbcc5;;
text-align: left;
font-size:4.2rem;
padding: 16px 8px 16px;
}
.wc-block-featured-category__link.lien-free-fencing
{padding: 0 18px 16px;}
.is-content-justification-center.gauche-free-fencing
{justify-content:start;
}
.wp-block-button__link.bton-free-fencing,.wp-block-button__link.bton-free-fencing:hover
{
background-color:rgba(255, 255, 255, 0.9);
cursor: auto;
color: #4dbcc5;}*/
/*pas d'affichage du titre pour free fencing sur smartphone*/
/* Responsive */
/*
@media (max-width: 640px) {
  h2.wc-block-featured-category__title.titre-free-fencing
  {font-size: 1rem;}
}*/
/* Responsive 850 au lieu de 640*/
@media (max-width: 850px) {
    .accueil-grid {
        grid-template-areas: "a" "b" "c" "d" "e";
    }
    /*******************/
    /*enrouleur*/
    /*******************/
    .reparation-enrouleurs {/* grid-area:c;*/

        height:150px;
    }
    .maintenance-et-installation-de-salles-descrime{/* grid-area:d;*/
        height:150px;
}
    /*full largeur pour petit ecran grid home page*/
    .col-full {
      /*  border: 10px red solid;
        margin-left: 0;
        margin-right: 0;*/
    }

    .wc-block-featured-category .wc-block-featured-category__background-image {
        object-fit: contain;
        -o-object-fit: contain;
    }
}
/*******************/
/*footer*/
/*******************/
.site-footer {
  background-color: #304573;
  color: #fff;
   /* padding : 0;/*new*/
}
.site-footer h2
{color: #fff;
font-size:1.5rem;/*new*/ }
.site-footer a
{color: #fff!important;}
.site-info
{display:none;}
.widget {
    margin: 0 0 0.706325903em;/*new*/
}
/*lien footer cgv*/
.wp-block-file:not(.wp-element-button),.hentry .entry-content .wp-block-file .wp-block-file__button  {
    font-size: inherit;

}
@media (min-width: 768px){
    .footer-widgets.col-4 .block {
        border-right: 1px #cccccc solid;
    }
}
/*******************/
/*boutique page catégories = archive */
/*******************/
li.product-category
{}
h2.woocommerce-loop-category__title
{font-size:1.5em!important;}
li.product-category a:hover h2.woocommerce-loop-category__title
{
    color : #ffffff;
}
li.product-category:hover
{background-color:#c43c24;
}
/*******************/
/*boutique page catégories et produits */
/*******************/
.product
{border : 1px #edd1c0 solid;
padding : 45px 0;}
/*******************/
/*boutique page produits page catégories*/
/*******************/
.term-description
{display:none;}
ul.products li.product .woocommerce-loop-product__title
{font-size: 1.5rem;}
/*******************/
/*boutique bouton*/
/*******************/
button, input[type="button"], input[type="reset"], input[type="submit"], .button, .widget a.button, button.alt,.button.alt
{
  background-color:#fff;
  border: 3px #304573 solid;
  color: #304573;
  border-radius: 25px;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .widget a.button:hover, button.alt:hover, .button.alt:hover
{
  background-color:#c43c24;
  border-color: #edd1c0;
  color: #fff;
}
.site-header-cart .widget_shopping_cart a.button
{  background-color:#f8ebe5;/*#c43c24;*/
    border-color: #ffffff;
}
.site-header-cart .widget_shopping_cart a.button:hover
{  background-color:#ffffff;
    border-color: #d78e6e;

}
/*******************/
/*woocommerce message*/
/*******************/
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments,
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a, .woocommerce-noreviews a, p.no-comments a,
.woocommerce-message a:hover, .woocommerce-info a:hover, .woocommerce-error a:hover, .woocommerce-noreviews a:hover, p.no-comments a:hover,
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before, .woocommerce-noreviews::before, p.no-comments::before
{
  background-color: rgba(97, 101, 140, 0.03); /*#61658c;*/
    border : 0 #61658c solid;
    color : #61658c;
}
.woocommerce-notices-wrapper .woocommerce-message /*pas d emessage sur la zone dexpedition*/
{
/*display:none;*/}
/*******************/
/*woocommerce  page commande formulaire client*/
/*******************/
input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], textarea, .input-text
{ background-color: rgba(97, 101, 140, 0.03); }
/*******************/
/*woocommerce page commande tableau*/
/*******************/
h3#order_review_heading/*titre votre commande*/
{color : #d78e6e;}
table:not(.has-background) th {
  background-color:#efcab5;/* rgba(97, 101, 140, 0.3);/* */
  border : 1px rgba(97, 101, 140, 0.3) solid;/*#f1e4dd D28363*/
}
table:not(.has-background) tbody td {
    background-color: #f8e6dc;
    /*background-color: rgba(97, 101, 140, 0.2);*/
}
table tfoot td {
    border : 1px rgba(97, 101, 140, 0.3) solid;
    background-color: #fcf8f8;
}
h3#order_review_heading/*titre votre commande*/
{color :#c43c24;/* #d78e6e;*/}
/*une ligne sur 2 avec une couleur legerement differente*/
table:not(.has-background) tbody tr:nth-child(2n) td, fieldset, fieldset legend {

    background-color: rgba(246, 230, 222, 0.72);/*trs clair*/
    border : 0 rgba(97, 101, 140, 0.3) solid;
    /*background-color: rgba(97, 101, 140, 0.2);*/
  /*border-top : 1px #fdfdfd solid;
  border-bottom : 1px #fdfdfd solid;*/
}
table.shop_table tr.order-total td
{background-color : #efcab5 !important;}
#payment .payment_methods > li .payment_box,#payment .place-order {
  /*background-color: #F9F1ED;/*#f1e4dd;*/
    /*background-color: transparent;*/
/*border:1px green solid;*/
}
#payment .payment_methods > li:not(.woocommerce-notice){
    /*background-color: rgba(97, 101, 140, 0.4);*/
 /* background-color:#d78e6e;/* #f8ebe5; /*#f1e4dd;*/

}
li.wc_payment_method input:checked ~ label, li.wc_payment_method input:hover ~ label {
    /*border-left: 1px rgba(97, 101, 140, 0.1) solid;*/
  /*background-color:red;/* #e9c5b0;*/
}
li.wc_payment_method input:checked ~ label{
  font-weight: bold;
  color:#c43c24;
}
li.wc_payment_method input ~ label:hover{
    border-bottom: 1px #c43c24 solid;
}

#payment .payment_methods li input[type="radio"]:first-child:checked + label::before {
  color:#c43c24;
}
/*******************/
/*woocommerce tableau détail recap commande*/
/*******************/
table.woocommerce-table--order-details tfoot tr:nth-last-child(-n+2) td span
{font-weight: bold;}
/*******************/
/*woocommerce panier miniature*/
/*******************/
@media screen and (min-width: 768px)
{
  ul.site-header-cart{
  background-color: #fcf8f8;/*#e9c5b0;*/
  padding : 0 7px;
  /*border-top:1px #fff solid;
  border-left:1px #fff solid;
  border-right:1px #fff solid;*/
  border-radius:3px;
  }
  .site-header-cart .widget_shopping_cart {
    background-color:#d78e6e;
  }
  .site-header-cart .widget_shopping_cart .buttons, .site-header-cart .widget_shopping_cart .total {
   background-color:#efcab5;
 }
 .added_to_cart.alt, .added_to_cart, .widget a.button.checkout {
   background-color:#fff;
   border: 3px #304573 solid;
   color: #304573;
 }
 .added_to_cart.alt:hover, .added_to_cart:hover, .widget a.button.checkout:hover {
   background-color:#c43c24;
   border-color: #edd1c0;
   color: #fff;
 }
}
