/*
Theme Name:   Trade Medical (Besa Child)
Theme URI: https://sebderobert.fr/
Author: Seb Derobert
Description: Thème Enfant de Besa pour Trade Medical
Version: 1.31
Author URI: https://sebderobert.fr/
Template: besa
Text Domain: besa-child
*/

div.header-logo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	height: 50px;
	width: auto;
}

main#primary {
	padding: 50px 0;
}

div.tm-recent-viewed {
	padding: 50px 0;
	margin: 20px auto;
	max-width: 100%;
}

div.tm-recent-viewed-header {
	display: flex;
	justify-content: space-between;
	margin: 20px 0;
}

a.tm-recent-viewed-link {
	font-weight: 600;
	color: #FA4F26;
	padding-bottom: 19px;
}

div.tm-recent-viewed-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

div.tm-recent-viewed-item {
	margin: 5px 10px;
	display: block;
	padding: 20px;
	background-color: #fff;
	border-radius: 20px;
	flex-basis: 18%;
}

div.tm-recent-viewed-item div.product-item a img {
	margin: auto;
	display: block;
}

div.dokan-product-shipping-tax {
	display: none;
}

div.dokan-proudct-advertisement  {
	display: none;
}

div.dokan-linked-product-options {
	display: none;
}


div.woocommerce form .show-password-input, body.woocommerce-page form .show-password-input {
	background-color: transparent !important;
	background-image: none !important;
	font-size: 16px !important;
}

button.show-password-input.display-password::after {
	display: none;
}

button.show-password-input:not(.display-password)::after {
	display: block;
	font-size: 22px;
	height: 22px;
}

button.show-password-input:not(.display-password)::before {
	display: none;
}

@media all and (max-width: 1199.98px){
	
	div.tm-recent-viewed div.tm-recent-viewed-header {
		flex-direction: column;
	}
	
	div.tm-recent-viewed-container div.tm-recent-viewed-item {
		flex-basis: 42%;
		margin: 15px;
	}
	
	div.tm-recent-viewed-container div.tm-recent-viewed-item:nth-child(5) {
		display: none;
	}
}


@media all and (max-width: 600px){

	div.tm-recent-viewed div.tm-recent-viewed-container div.tm-recent-viewed-item {
		flex-basis: unset;
	}
}



div.besa-social-links a.share-email.besa-email {
	border: 1px solid #005de6;
	padding: 0 23px;
	line-height: 40px;
	font-size: 14px;
	background: #fff;
	color:  #005de6;
	border-radius: 3px;
	transition: color .3s ease;
}

div.besa-social-links a.share-email.besa-email:hover {
	background: #005de6;
	color: #fff;
}

div.top-main-content div.woocommerce-product-rating {
	margin-top: 5px !important;
}

body.woocommerce div.product .product_title, body div.product .product_title {
	margin-bottom: 12px;
}

div.top-main-content div.woocommerce-product-rating div.sold-by-meta.sold-dokan  > a {
	display: flex;
	flex-direction: column;
	border: 1px solid #005de6;
	margin-top: 5px;
	padding: 4px 40px 4px 20px;
	line-height: 20px;
	font-size: 14px;
	background: #fff;
	color: #005de6;
	border-radius: 3px;
	transition: color .3s ease;
	position: relative;
}

div.top-main-content div.woocommerce-product-rating div.sold-by-meta.sold-dokan  > a:after {
	content: '\203A';
	right: 10px;
	top: calc(50% - 15px);
	position: absolute;
	font-size: 40px;
}


div.top-main-content div.woocommerce-product-rating div.sold-by-meta.sold-dokan > a:hover {
	background: #005de6;
	color: #fff;
	transition: color .3s ease;
}

span.shop-name {
	
}

span.shop-rating {
	font-size: 12px;
}

.woocommerce div.product p.stock , body div.product p.stock {
	display: flex;
	flex-wrap: wrap;
}

.woocommerce div.product p.stock > span, body div.product p.stock > span {
	padding-right: 5px;
	display: block;
}

div.woocommerce-product-brands {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	color: #222;
	font-size: 13px;
	align-items: center;
	margin: 0 !important;
	padding: 0 8px;
	font-size: 13px;
	position: relative;
}

span.brand-label {
	color: #8c8c8c;
	font-size: 13px;
	margin-right: 15px;
}


body.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:not(.single_add_to_cart_button ) {
	background-color : #ffba43;
	border: 1px solid #ffba43;
}

body.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:not(.single_add_to_cart_button ):hover {
	background: #005de6;
	border: 1px solid #005de6;
	color: #fff;
}

div.product-block span.brand-names {
	color: #333;
	font-size: 0.8rem;
}

div.product-block span.shop-name {
	color: #333;
	font-size: 0.8rem;
}

div.product-block div.price-wrapper {
	margin: 10px 0;
}


ul.woof_list li.woof_childs_list_li {
	position: relative;
}

a.woof_childs_list_opener {
	top: calc(50% - 10px);
}

a.woof_childs_list_opener span:before {
	font-size: 16px;
}

ul.woof_list li.woof_childs_list_li label {
	padding-right: 10px;
}

div.chosen-container-multi ul.chosen-choices {
	border: 1px solid #e3eeff;
	border-radius: 8px;
	padding: 2px 10px !important;
}

.dokan-product-category-modal-footer .dokan-product-category-button-container button {
	float: none!important;
	display: block;
	margin: 10px auto;
}

.elementor-kit-6 div.mce-btn button {
	background-image: none;
}

.row.grid, .display-products.products-grid .row {
	width: 100%;
}

span.select2-container--open span.select2-dropdown--below {
	margin-top: 0;
}

.dokan-dashboard div.dokan-dash-sidebar {
	background-color: #005DE6;
}

body input[type='submit'].dokan-btn-theme,
body a.dokan-btn-theme,
body input[type="submit"].dokan-btn-default,
body a.dokan-btn-default, body  .dokan-btn-default,
body .dokan-btn-theme {
	background-color: #005DE6!important;
	background-image: none!important;
}

.dokan-dashboard div.dokan-dash-sidebar ul.dokan-dashboard-menu {
	background-color: #005DE6;
}

.dokan-dashboard div.woocommerce-layout__header {
	background: unset;
}

div.dash-product-alerts {
	float: left;
}

div.dash-product-alerts h2 {
	text-align: center;
}

.dokan-dashboard div.dokan-dash-sidebar ul.dokan-dashboard-menu li.active {
	background-color: #3e8cff;
}

input[type='submit'].dokan-btn-theme, a.dokan-btn-theme, .dokan-btn-theme {
	background-color: #005DE6!important;
}

input[type='submit'].dokan-btn:hover, a.dokan-btn:hover, .dokan-btn:hover, input[type='submit'].dokan-btn:focus,
a.dokan-btn:focus, .dokan-btn:focus, input[type='submit'].dokan-btn.focus, a.dokan-btn.focus,
.dokan-btn.focus {
	border-color: #3e8cff!important;
	background-color: #3e8cff!important;
}

.product-edit-container div.dokan-product-title-alert,
.product-edit-container div.dokan-product-price-alert,
.product-edit-container div.dokan-product-cat-alert {
	color: red;
	font-style: normal;
}

form.dokan-product-edit-form.loading {
	/* -webkit-filter: blur(5px); */
	/* -moz-filter: blur(5px); */
	/* -o-filter: blur(5px); */
	/* -ms-filter: blur(5px); */
	/* filter: blur(5px); */
	/* background-color: #ccc; */
	cursor: wait!important;
}

form.dokan-product-edit-form.loading a,
form.dokan-product-edit-form.loading input {
	cursor: wait!important;
}

.dokan-dashboard span.select2-container {
	z-index: 2;
}

.select2-container--default .select2-selection--multiple ul.select2-selection__rendered {
	padding: 10px 15px;
}

.select2-container--default .select2-selection--multiple li.select2-search input {
	padding: 0 15px;
}

form [type='checkbox'], form [type='radio'] {
	-webkit-appearance: auto;
	-moz-appearance: auto;
	appearance: auto;
	padding: 0;
	-webkit-user-select: auto;
	-moz-user-select: auto;
	user-select: auto;
	flex-shrink: 0;
	height: 20px!important;
}

div.thankyou-top-confirmationcode-container {
	display: block;
	margin: 20px 0 60px;
}

.dokan-orders-content .dokan-orders-area .dokan-order-action>a#order-valid {
	width: 100px;
}

div.product.type-product.sold-individually div.quantity {
	display: none;
}

.woocommerce-Price-amount {
	text-wrap: nowrap;
}

.dokan-orders-content .dokan-orders-area td.dokan-order-action a.wpo_wcpdf {
	background-position: 12% 54%;
	padding-right: 80px !important;
	position: relative;
	color: black !important;
	background-color: #fff !important;
}

.dokan-orders-content .dokan-orders-area td.dokan-order-action a.wpo_wcpdf:after {
	content: "Facture";
	position: absolute;
	right: 5px;
}

td.dokan-order-status .dokan-label-warning {
	background-color: #FF8C00;
}

.exp-products-alert-wrapper {
	display: block;
	width: 100%;
	margin: 0;
	height: fit-content;
}

@media (min-width: 768px) {
	.product-block.v1 div.caption {
		max-width: 100%;
		padding: 0 6px 14px 5px;
	}
}

@media (max-width: 1199px) {
	div.archive-shop>.tbay-filter .filter .button-filter-mobile {
		color: #000;
	}
	
	div.archive-shop>.tbay-filter .main-filter {
		margin: 20px 0;
	}
}



