/*
Theme Name: Mr. Tailor Child
Theme URI: http://mrtailor.getbowtied.com/
Description: This is a child theme for Mr. Tailor.
Author: Get Bowtied
Author URI: http: //www.getbowtied.com/
Template: mrtailor
Version: 1.0
*/

body {
    line-height: 16px;
}

/*taille mots catégories principales*/
.woocommerce ul.products li.product-category a .woocommerce-loop-category__title,
.woocommerce-page ul.products li.product-category a .woocommerce-loop-category__title {
    font-size: 0.9em!important;
	 word-wrap: initial;
}

.home.woocommerce ul.products li.product-category a .woocommerce-loop-category__title,
.home.woocommerce-page ul.products li.product-category a .woocommerce-loop-category__title{
	font-size: 1.3em!important;
}

/*taille box des catégories principales*/
.woocommerce ul.products li.product-category a .woocommerce-loop-category__title, .woocommerce-page ul.products li.product-category a .woocommerce-loop-category__title {
	text-align: center;
	padding: 10px;
}

.woocommerce ul.products li.product-category:hover a .woocommerce-loop-category__title, .woocommerce-page ul.products li.product-category:hover a .woocommerce-loop-category__title {
	padding: 10px 10px 53px 10px;
}

.woocommerce ul.products li.product-category a,
.woocommerce-page ul.products li.product-category a{
 padding-bottom:calc(100% + 77px + 1em)
}

/*nombre d'éléments dans les 3 catégories principales cachées*/
.count{
	display:none
}

/*taille logo responsive */

.site-branding .site-logo-link img {
    max-width: 35em;
}

@media only screen and (max-width: 1440px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 30em;
}}

@media only screen and (max-width: 1024px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 30em;
}
.top-headers-wrapper .site-header {
        padding: 18px 0 33px;
        text-align: left;
    }
}

@media only screen and (max-width: 800px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 27em;
}}

@media only screen and (max-width: 700px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 24em;
}}

@media only screen and (max-width: 615px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 22em;
}}

@media only screen and (max-width: 565px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 20em;
}}

@media only screen and (max-width: 530px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 17em;
}}

@media only screen and (max-width: 485px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 14em;
}}

@media only screen and (max-width: 435px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 13em;
}}

@media only screen and (max-width: 418px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 12em;
}}

@media only screen and (max-width: 400px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 11em;
}}

@media only screen and (max-width: 384px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 10em;
}}

@media only screen and (max-width: 367px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 9em;
}}

@media only screen and (max-width: 355px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 8em;
}}

@media only screen and (max-width: 338px){
.top-headers-wrapper .site-header .site-branding .site-logo-alt-link {
    max-width: 7em;
}}



/* arriere plan transparent des 3 grandes catégories + padding */
.tax-product_cat .large-8.large-centered.columns,
.tax-product_cat .large-8.large-centered.columns,
.tax-product_cat .large-8.large-centered.columns,
.tax-product_cat .large-8.large-centered.columns {
    padding: 2em;
} 


.term-83.tax-product_cat .large-8.large-centered.columns,
.term-90.tax-product_cat .large-8.large-centered.columns,
.term-92.tax-product_cat .large-8.large-centered.columns,
.term-93.tax-product_cat .large-8.large-centered.columns {
    background-color: rgba(0, 0, 0, 0.7)!important;    
} 



.term-83 .woocommerce-products-header .large-8.large-centered.columns,
.term-90 .woocommerce-products-header .large-8.large-centered.columns,
.term-91 .woocommerce-products-header .large-8.large-centered.columns,
.term-92 .woocommerce-products-header .large-8.large-centered.columns
 {visibility: hidden;}

/* header */
.home .content-area {margin-bottom: 0;}

/*
.tax-product_cat .content-area {padding-top: 0;}
.tax-product_cat .category_header {margin-bottom:0;}

.product-template-default .content-area {padding-top: 28px;}
.tax-product_cat .category_header {margin-bottom:0;}
*/


/* header categories */
 
/* reglage page connexion */

body.woocommerce-account:not(.logged-in) #masthead, body.woocommerce-account:not(.logged-in) #site-footer, body.woocommerce-account:not(.logged-in) #site-top-bar, body.woocommerce-account:not(.logged-in) .entry-title {
    display: revert!important;
}

body.woocommerce-account:not(.logged-in) .content-area {
    padding-top: 50px!important;
}

/* confirmation de demande de devis */
li.woocommerce-order-overview__payment-method.method {
    display: none!important;
}

/* reglage catégorie de produits sur 4 colonnes */
@media screen and (min-width: 768px) {
	.wp-block-getbowtied-categories-grid.gbt_18_categories_grid_wrapper.is-style-layout-1 .gbt_18_categories_grid.columns-4 .gbt_18_category_grid_item {
    	width: 25%;
    	padding: 0 16px calc(35%) 16px;
	}
	.wp-block-getbowtied-categories-grid.gbt_18_categories_grid_wrapper.is-style-layout-3 .gbt_18_categories_grid .gbt_18_category_grid_item:nth-child(4n+1) {
    	width: 100%;
	}	
}

@media screen and (max-width: 768px) {
	.wp-block-getbowtied-categories-grid.gbt_18_categories_grid_wrapper .gbt_18_categories_grid .gbt_18_category_grid_item {
    	max-width: 100vw;
    	height: calc(100vw + 100px);
	}
}
.wp-block-getbowtied-categories-grid.gbt_18_categories_grid_wrapper.is-style-layout-1 .gbt_18_category_grid_item h4.gbt_18_category_grid_item_title {
    padding: 30px 30px 30px
}

/*
h2.wp-block-heading {
    text-transform: uppercase!important;
}
*/

h3.wp-block-heading {
	color:#000000!important;
}

@media only screen and (min-width: 1024px) {
    footer#site-footer .site-footer-widget-area .widget-grid.highlight-widget>.widget:first-child {
        max-width: 100%;
    }
}

/* Agrandissement zone page boutique et modification page produit */
@media only screen and (min-width: 63.9375em) {
    .row,.vc_span12.wpb_column {
        padding:0 30px;
        max-width: 1600px;
    }
}

.woocommerce div.product .product_tabs .woocommerce-tabs ul.tabs, .woocommerce-page div.product .product_tabs .woocommerce-tabs ul.tabs{
	text-align:initial;
}

H1.product_title, H2.woocommerce-loop-product__title {color:#222222;}

.wp-block-ctrb-counters span.prefix {
    display:none;
}

.page.page-template-default .entry-content .wp-block-cover {
	min-height:unset!important;
	margin-bottom:0;	
}

.page.page-template-default .entry-content .wp-block-cover .wp-block-cover__inner-container {
	max-width:100%;
}

.top-headers-wrapper p{
	font-size: 16px ;
}


@media only screen and (max-width: 1300px){
	ul#menu-nouveau-menu li {
	    width: 100%;
	}
	ul#menu-nouveau-menu li a {
	    margin: 0 15px!important;
	}	
}

@media only screen and (max-width: 1490px){
#menu-nouveau-menu{
	  margin-top:17px;
	}
	#menu-item-2844{
		margin-left:15px
	}

}

body.woocommerce-account:not(.logged-in) .login_header .go_home {
    display: none!important;
}

li.woocommerce-mini-cart-item.mini_cart_item a {
    color: #222222 !important;
}
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea, select, input[type="checkbox"], input[type="radio"], .select2-container .select2-selection__rendered, .select2-container--default span.select2-selection--multiple li.select2-selection__choice, span.select2-container--default li.select2-results__option[aria-selected=true] {
    color: #222222;
    font-weight: normal;
}

::placeholder {
    color: #222222 !important;
    opacity: 0.4;
}


.woocommerce-account .woocommerce-MyAccount-navigation ul,
.art2com-product-categories ul {
	margin: 0 0 0 0;
    font-size: 14px;
    list-style: none;
} 

.woocommerce-account .woocommerce-MyAccount-navigation ul li,
.art2com-product-categories ul li{
    margin: 0 0 5px 0;
    text-transform: capitalize;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a,
.art2com-product-categories ul li a{
	color:#222222;
	text-transform:uppercase;
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.art2com-product-categories ul li a:hover,
.art2com-product-categories ul li.current a {
    font-weight:bold;
    color : #dd3333;
    margin-left:5px;
} 

#site-top-bar.full-topbar .topbar-wrapper #site-navigation-top-bar>ul>li a {
    font-size: 16px;
    font-weight:normal;
}

.topbar-logout {
    position: absolute;
    right: 0;
}

/* TAG PRODUITS */
.product_tags a.etiquette {
	background-color: #c40000; /* rouge */
    color: #fff;
	Font-family: Lato, -apple-system, BlinkMacSystemFont, Arial, Helvetica, 'Helvetica Neue', Verdana, sans-serif;
	padding: 7px;
}


.woocommerce-account header.entry-header {display:none;}

.site-tools ul li span.myaccount_icon {
    margin: auto;
}
.site-tools ul li.myaccount-button a:after {
    content: "Mon compte";
    font-size:12px;
}

/* carousel home page */
.wp-block-bsb-slider .bsbCarousel .carousel-item img {
object-fit: contain!important;
}

@media (max-width: 576px) {
	.wp-block-bsb-slider .bsbCarousel .carousel-item {
        height: 100%!important;
    }
	.wp-block-bsb-slider .bsbCarousel .carousel-item img {
		object-fit: cover!important;
	}
}
/* RATING */
.wp-block-etb-grid .wp-block-etb-grid-item .testimonial-message {font-size:21px!important;}
.wp-block-etb-grid .wp-block-etb-grid-item .rating .rating-value {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 10px;
}

/* NOTRE EQUIPE */
.page.page-template-page-narrow .entry-content .wp-block-cover.notre-equipe  .wp-block-cover__inner-container, .single .entry-content .wp-block-cover .wp-block-cover__inner-container {
    max-width: 80%;
}

.tsbTeamMembers .tsbMember img.memberPhoto {
    border-radius: 0 !important;
    border: 2px solid #c3071a;
    width: auto !important;
    max-height: 250px !important;
}

/* Header catégories parralax */
.woocommerce-products-header.category_header.with_featured_img {
	background-position: center -200px;
}

/* AJOUT PRIX TTC */
.prix-ht 					{color:#dd3333;}
.prix-ttc 					{color:#222222;}
.prix-initial				{color:#dd3333;}
.product_infos .prix-ttc 	{font-size:80%;}

#minicart-offcanvas span.prix-initial,
#minicart-offcanvas span.prix-ttc {
    display: none!important;
}


#site-footer li.menu-item-10793 {
    display: none;
}

/* couleurs */
span.onsale, .woocommerce span.onsale {
    background-color: #007700!important;
}

.product_infos .prix-ht {
	font-size:1em;
}  
.product_infos .prix-ttc{
	font-size:1em;
}  
.product_infos .prix-initial {
	font-size:0.8em;
}  

/* TOP BAR AVEC MESSAGE */
#site-top-bar.message { background: red;} 
#site-top-bar.message .site-top-message {font-size:20px;text-align:center;line-height:30px; width:100%}

@media (max-width: 1024px) {
	#site-top-bar:not(.message){display:none;}
}


/* REGLAGE PRODUIT */
a[rel="tag"],
.product_meta a,
.tagged_as a,
.product_tag a,
.woocommerce .tagged_as a,
.woocommerce .product_meta a,
.woocommerce a[rel="tag"],
a[class*="tag-link"] {
  background-color: #d0021b !important;
  color: #fff !important;
  padding: 6px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  margin:10px 0;
}

span.tagged_as, span.posted_in {
    display: block;
}

/* TAGS ET ÉTIQUETTES */
.wc-block-grid ul.wc-block-grid__products li.wc-block-grid__product .wc-block-grid__product-onsale, .woocommerce .product.outofstock p.stock.out-of-stock, .woocommerce div.product p.stock.available-on-backorder, .woocommerce p.out-of-stock, .woocommerce span.onsale, .woocommerce ul.products li.product .onsale, p.out-of-stock, p.stock.available-on-backorder, span.onsale, .product_tags a {border-radius:5px!important;}


/* Masquer le champ honeypot */
.hp-field {
    display: none !important;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
}