/*
 Theme Name:   Militaria du Bocage (moderne)
 Description:  Militaria du Bocage
 Author:       MM
 Template:     SchuT2
 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:  childtheme2017
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.woocommerce .woocommerce-pagination ul.page-numbers li, .woocommerce-page .woocommerce-pagination ul.page-numbers li {
display: inline-block;
aspect-ratio: 1 !important;
height: 35px;
border-radius: 500px;
border: 1px solid var(--secondary);
margin: 0 5px;
display: flex;
align-items: center;
justify-content: center;
}

li.product{
    list-style: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
background: var(--secondary);
color: white;
aspect-ratio: 1;
width: 100%;
height: 100%;
}

.woocommerce nav.woocommerce-pagination ul{
    border: 0 !important;
}

*{
    font-family: 'Open Sans',sans-serif;
}
:root{
    --primary : rgb(35, 35, 35);
    --secondary : rgb(158, 148, 124);
}
.carousel-control-prev{
    left:-100px !important;
    color: var(--secondary) !important;
}

.user_account{
 display: flex !important;
align-items: center;
padding-top: 0;
min-width: 20px;
padding: 0 !important; 
}
.user_account a{
    padding-left: 15px !important;
    padding-right: 15px !important;
    height: 52px !important;
}

.user_account > ul{
    margin-top: 0;
display: flex;
align-items: center;
justify-content: center;
}
.carousel-control-next{
    right: 100px !important;
}

.header{
    background: var(--primary);
    color: white !important;
    height: 92px !important;
    border-top: 4px solid var(--secondary);
    border-bottom: 4px solid var(--secondary);
}

.header-menu-container .navbar ul{
    background: var(--primary);
}
.header nav,.header nav *,.header-menu-container .navbar{
    height: 90%;
}

.nav-link{
    text-transform: uppercase;
    display: grid;
    align-content: center;
    border-bottom:2px solid var(--primary);
    transition: all .1s ease;
}
.nav-link:hover{
    background: var(--primary);
    border-bottom:2px solid var(--secondary);
    
}
.header .title{
    color: white !important;
    font-weight: 100;
    line-height: 25px;
    font-size: 25px;
    width: auto !important;
    display: grid;
    align-content: center;
    text-transform: uppercase;
}

.header .title span{
    font-weight: bold;
    color: var(--secondary);
}

.filtered{
    aspect-ratio: 1/1;
    margin-bottom: 16px;
    overflow: hidden !important;
    position: relative;
}

.filtered img{
    filter:blur(5px)
}


.vendu,.new{
    position: relative;
}
.vendu::after{
    content: 'Vendu';
    display: grid;
    align-content: center;
    text-align: center;
    width: 100%;
    height: 25px;
    background-color: var(--primary);
    color: white;
    position: absolute;
    bottom: -25px;
}

.vendu.new::before{
    display: none;
}


.new::before{
    content: 'Nouveauté';
    display: grid;
    align-content: center;
    text-align: center;
    width: 100%;
    height: 25px;
    background:  var(--secondary);
    color: white;
    position: absolute;
    bottom: -25px;
}

.filtered::after{
    content: 'Connectez-vous pour afficher cet article';
    display: grid;
    align-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    background-color: rgba(158,148,124,0.8);
    color: white;
    position: absolute;
    font-weight: 600;
    font-size: 18px;
    bottom: 0;
}


.name,.price{
    text-align: left;
}

.name{
    padding-top: 25px;
    line-height: 16px;
    margin: 10px 0;
}

.price{
    color: var(--secondary) !important;
    font-weight: 700 !important;
}

#law .title{
    font-size: 32px;
    font-weight: 500;
    text-transform: uppercase;
    color: red;
    text-align: center;
    position: relative;
    width: 200px;
    margin: auto;
}

#law .title::before{
    content:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="red" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" /></svg>');
    display: block;
    position: absolute;
    height: 32px;
    width: 32px;
    top: 50%;
    left: -50px;
    transform: translate(0%,-55%);
}

#law .title::after{
    content:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="red" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" /></svg>');
    display: block;
    position: absolute;
    height: 32px;
    width: 32px;
    top: 50%;
    right: -50px;
    transform: translate(0%,-55%);
}

#law p{
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}

#law p.red{
    color: red;
}
.decline,.accept{
    border:none;
    color: white;
    font-weight: 800;
    margin: 10px;
    padding: 10px 25px;
}
.decline{
    background:  var(--primary);

}

.accept{
    background: var(--secondary);
}

.flex-center{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.h-6.w-6{
    height: 18px;
    line-height: 18px;
    margin-top: -4px;
}
tr.mb-2 td{
    height: 50px;
}
.footer{
    background: var(--primary);
    height: 200px;
    color: white;
    display: flex;
    align-items: center;

}

.footer svg{
    width: 50px;
    color:var(--secondary)
}

.footer a{
    transition: all .2s ease;
}

.footer a:hover{
    text-decoration: none !important;
    color: var(--secondary);
}

#content-body{
    min-height: calc(100vh - 92px - 200px);
}

h1{
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 100;
    margin-bottom: 50px;
    position: relative;
}

h1::after{
    content: "";
    position: absolute;
    left: 0;
    display: block;
    bottom: 0px;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

ul.categories li{
    list-style: none;
    text-transform: capitalize;
    color: var(--primary);
    height: 24px;
    font-size: 16px;
    border-bottom: 1px solid white;
}
ul.categories a{
    transition: all .2s ease;
    font-weight:400;

}

a.active{
    font-weight: 600 !important;
}

ul.categories a:hover{
    color: var(--secondary) !important;
    text-decoration: none;
    border-bottom: 1px solid var(--secondary);
}

ul{
    margin-top: 15px;
    padding-left: 0px;
}

.categories{
    padding-bottom: 15px;
    border-bottom: 1px solid var(--secondary);
}
.categories:last-child{
    border-bottom: none;
}
.woocs_auto_switcher_link span{
    display: none !important;
}

.woocs_auto_switcher_link{
    width: 40px;
    height: 40px;
    display: grid;
    align-content: center;
}

.second-footer{
    background: var(--secondary);
    height: 30px;
    width: 100vw;
}

.second-footer .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.second-footer p{
    margin: 0;
    color: var(--primary);
}

@media (max-width: 768px) {
    .second-footer{
        height: 60px;
    }

    .second-footer .container{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.btn_boutique{
    background:white;
    outline: none;
    border: none;
    height: 32px;
    width: 32px;
    padding: 0;
    margin: 0;
}

.btn_boutique svg *{
    stroke:var(--secondary);

}

.btn_boutique svg{
    height: 32px !important;
    width: 32px !important;
    margin-top: 0 !important;
    line-height: 32px !important;
}

.input_boutique{
    border: 2px solid var(--secondary);
    outline: none;
    border-radius: 500px;
    width: 100%;
    height: 28px;
    margin-top: 2px;
    position: relative;
    padding: 3px 10px;
}
#searchForm{
    width: calc(100% - 44px);
}

#pageForm{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.img_container,.img_container .classic,.img_container .blured{
    width: 100%;

    aspect-ratio: 1/1 !important;
    overflow: hidden !important;
}
.img_container{
    position: relative;
    overflow: visible !important;
}
.img_container .classic{
    height: 100%;

    display: flex;
    position: absolute;
    top: 0;
    align-items: center;
    justify-content: center;
}

.img_container .blured>img{
    position: relative !important;
    object-fit: cover !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden;

    width: 100% !important;
    filter: blur(2px);
    opacity: 0.5;
}

.img_container .classic>img{
    margin: 0 !important;
    width: unset !important;
    height: unset!important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

.item .img_container .blured>img,
.item .img_container,
.item .img_container .classic,
.item .img_container .blured{
    max-width: 120px;
    max-height: 120px;
}





.img_container .second,.img_container:hover .first{
    display: none;
}
.img_container:hover .second,.img_container .first{
    display: block;
}


.single-product h1{
    font-size: 24px;
}

.tabs.wc-tabs{
    display: none;
}

.woocommerce-product-details__short-description{
    display: none;
}
.woocommerce-product-details__short-description::before{
    display: block;
    content: "Origine : ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.single_add_to_cart_button{
    background-color: white !important;
    border-radius: 0 !important;
    border: 1px solid var(--secondary) !important;
    color: var(--secondary) !important;
    transition: all .2s ease;
}
.single_add_to_cart_button:hover{
    background-color: var(--secondary) !important;
    border-radius: 0 !important;
    border: 1px solid var(--secondary) !important;
    color: white !important;
}
.stock.in-stock{
    display: none;
}

@media (min-width: 1200px){
.container,.woocommerce-cart section.container-fluid {
max-width: 1340px;
}
}


.item {
    display: flex;
    font-weight: 200;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--secondary);
    
  }

  .item:first-child{
    border-top: 1px solid var(--secondary);
  }

 .item>.row>a:first-child{
    width: 25%;
 }
  

  .item .column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .item .product-end {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  .wpcf7-form-control,.wpcf7-submit
{
    border: 1px solid var(--secondary) !important; 
    width: 100%;
}

.wpcf7-form label{
    width: 100% !important;
}

.wpcf7-submit{
    color: var(--secondary);
    transition: all .2s ease;
    background: white;
}
.woocommerce-ordering{
    display: none;
}
.woocommerce-result-count{
    color: var(--secondary);
}
.wpcf7-submit:hover{
    background: var(--secondary);
    color: white;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals{
    width: 100%;
}

.wc-continue-shopping{
    width: 100%;
    position: relative;
    height: 100px;
}


.woocommerce #respond input#submit.alt:hover, .woocommerce a.button, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover{
    background: var(--secondary) !important;
    color: white;
    border-radius: 0;
}

.wc-continue-shopping a.button{
    display: flex;

    justify-content: center;
    border: 1px solid var(--secondary);
    background: white !important;
    border-radius: 0;
    color: var(--secondary);
}

.shop_table *,.shop_table{
    border-color: var(--secondary) !important;
    border-radius: 0 !important;
}

.product-name{
    margin-left: 50px;
}

.qty{
    display: none;
}
.woocommerce a.remove{
    color:var(--secondary) !important;
}

.woocommerce a.remove:hover{
    background: var(--secondary) !important;
}

.item .row{
    margin: unset !important;
    width: 100%;
}

span.woocs_price_info_icon{
    background-image: none !important;
}

span.woocs_price_info_icon::after{
    border: 1px solid var(--secondary);
    content: "i";
    color: var(--secondary);
    border-radius: 500px;
    display: block;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 10px !important;
    font-size: 14px !important;

}

.header-logo-container{
    display: none !important;
}

.woocs_auto_switcher{
    width: 40px !important;
}

.page-template-login{
    max-height: 100vh !important;
    overflow: hidden;
}
.page-template-login :not(p) a{
    pointer-events: none;
}
.page-template-login .bg_img img{
    height: 100vh !important;
    object-fit: cover;
}

.form-row{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.form-row .input-wrapper    {
    width: 100%;
    color: var(--secondary) !important;
}

.user-registration{
    margin:0 60px;
    background-color: var(--primary) !important;
    border: 1px solid var(--secondary) !important;
}
.ur-button-container{
    padding: 0 !important;
}

.ur-submit-button{
    color: white !important;
    margin-left: 10px !important;
    width: calc(100% + 5px) !important;
    background: var(--secondary) !important;
    border-radius: 0 !important;
}

.ur-label{
    color: var(--secondary) !important;
}

.page-template-login p a{
    pointer-events: all;
    color: var(--secondary);
}

.privacy-policy-page-link,
.language-switcher,.message.register{
    display: none !important;
}
.login_form{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: stretch;
    margin: 50px 0;
}
.login_form *{
    background: none !important;
}
.user-registration{
    border:none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.login_form>div{
    width: 50vw;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.login_form #loginform,.user-registration form{
    max-width: 500px;
    width: 100%;
    margin: 0 !important;
    padding: 20px !important;
    border: 1px solid var(--secondary) !important;
    border-radius: 0 !important;
}
.login_form #loginform{
    padding: 30px !important;
}
.login_form #loginform p{
    display: flex;
    flex-direction: column;
}
.user-registration label,.login_form #loginform label{
    height: 32px;
    margin: 10px 0;
    color: black !important;
    font-weight: normal !important;
    font-size: 16px !important;
}
.login_form input,.ur-submit-button{
    box-shadow: none;
    border: none;
    background: #F1F1F1 !important;
    height: 45px;
    padding: 10px !important;
    border-radius: 0 !important;
    border-radius: 5px;
}

.login-remember>label{
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.login-remember input{
    margin-right: 10px;
    border-radius: 0 !important;
    border-color: var(--secondary) !important;
}
.login_form input#wp-submit,.ur-submit-button{
    background: var(--secondary) !important;
    color: white !important;
}

.nav-link.items-center{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 12px;
}

.nav-link.sb{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
}
.nav-link.items-center svg{
    margin-right: 5px;
}

.nav-item ::marker{
    display: none;
}

#message.error{
    display: none;
}

.user_account{
    max-width: 108px !important;
}

.header-menu-container{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
    padding-top: 4px;
}

.woocommerce-input-wrapper,.stripe-card-group{
    width: 100%;
}

ul.products li.product, .woocommerce-page ul.products li.product {
    float: left;
    margin: 0 3.8% 0 !important;
    margin-right: 0 !important;
    padding: 0;
    position: relative;
    width: 21.05%;
}

ul.products li.product{
    margin-left: 0;
    margin-bottom: 100px !important;
}

.products.columns-4
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}



.archive_product .price, .archive_product .stock,.coupon,#cfw-coupons{
    display: none !important;
}


.payment_footer_methods{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin: 20px 0;
    width: auto;
    background: var(--secondary);
    border-radius: 15px 15px 0 0 ;
    padding: 15px;
    max-height: 100px !important;
    margin-bottom: -12px;
    margin-right: -10px;
}

.payments_footer_container{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.payment_footer_methods img{
    max-height: 35px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.navbar ul span span:not(.visible){
    display:none !important;
}


i.panier{
    margin-left: 10px;
}

.navbar ul span.panier_icon span{
    margin-left: 10px;
}

@media (max-width: 768px){
 .navbar ul span span:not(.visible){
    display:inline !important;
}
.navbar ul span.panier_icon span{
    margin-left: 0px;
}
.navbar ul span svg{
    margin-right: 10px;
}

.navbar ul span {
    display: flex;
    align-items: center;
}
    .user_account{
        display: none !important;
    }
    .header-menu-container .navbar ul{
        height: 245px;
        padding-left:50px;
        padding-bottom: 15px;
        margin-top: 75px !important;
        border-bottom: 4px solid var(--secondary);
    }

    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product{
        width:45%;
    }
    .page-template-page-archive ul.products li.product{
        width: 45% !important;
    }
    .login_form
    {
        flex-direction: column;
    }
    .header .title{
        width: 80% !important;
    }

    .navbar-toggler *{
        fill: var(--secondary);
    }
    .bg_img{
        display: none !important;
    }

    .page-template-login figure{
        display: none !important;
    }
    .page-template-login{
        background: var(--primary);
    }
    .user-registration{
        margin:0px 10px!important;
    }

    .login_form > div,.ur-frontend-form{
        width: 100% !important;
    }
    .login_form #loginform, .user-registration form{
        max-width: 100%;
    }
    .footer{
        height: 250px;
    }

    .payment_footer_methods{
        width: 100%;
        margin: 0;
        margin-bottom: -12px;
    }
    

}

.not_paypal{
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.not_paypal img{
    width: 100px;
    margin-right: 15px;
}

.not_paypal p{
    margin-bottom: 0;
}

.woocommerce-account div.container-fluid .col-1,.woocommerce-account div.container-fluid .col-2{
    max-width: 50%;
}

#alert{
    background:var(--secondary);
    
    text-align:center;
    color:white;
   
    z-index: 1000;
}