/*
Theme Name: Medin Child Theme
Theme URI: http://www.portotheme.com/wordpress/medin/
Author: p-themes
Author URI:   https://themeforest.net/user/p-themes/
Template: medin
Description: This is a child theme for Medin.
Version: 1.8.0
Text Domain: medin-child
*/

/*  [ Add your custom CSS below ]
================================ */

html {
	overflow-x: hidden;
}

/* schimbare bannere */
/* homepage before last section */
.surgeon-block-trust-bg.banner_last_section {
	/*background-image: url('/wp-content/uploads/2023/11/376803301_790095036457706_6038176604324142907_n.jpg');*/
}

/*@media only screen and (min-width: 1024px) and (max-width: 1300px) {
	.header-cart {
		top: 3px !important;
	}
}*/

@media only screen and (min-width: 1024px) {	
	.header-lang {
		padding-left: 0 !important;
	}
	
	body .header-cart {
		top: 3px !important;
	}
	
	.page-id-1372 .prd-grid .prd {
		margin: 0 15px 30px !important;
	}
}

@media only screen and (max-width: 1023px) {
	.footer-text .wpcf7-form .tt-footer-newsletter__btn input[type="submit"] {
		top: -2px;
	}
	
	.header-nav #site-navigation {
		display: none;
	}
	
	#mega-menu-wrap-medin_header_navigation .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-medin_header_navigation .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-medin_header_navigation .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
		background-color: #2a2a2a !important;
	}
}

@media only screen and (max-width: 767px) {
	.woocommerce-checkout .col-1, .woocommerce-checkout .col-2 {
		width: 100% !important;
	}
	
	.footer-text .wpcf7-form .tt-footer-newsletter__btn input[type="submit"] {
		top: 0px;
	}
	
	.woocommerce.widget_top_rated_products {
		display: none;
	}
	
	.column-filters .widget-woof .chosen-container {
		border-bottom: 1px solid #2a2a2a;
	}
	
	.woocommerce .row.medall-loop.flex-sm-row-reverse {
		flex-direction: column-reverse !important;
	}
	
	.header-lang {
		right: 50px !important;
		top: 5px !important;
		font-size: 14px;
		margin-top: 0px !important;
	}
	
	.header-cart, .header-search {
		top: 12px !important;
	}
	
	.header-cart {
		right: 90px !important;
	}
	
	.header-search {
		right: 135px !important;
	}
	
	.post-teaser .btn {
		white-space: normal;
	}
	
	#mega-menu-wrap-medin_header_navigation .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-medin_header_navigation .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-medin_header_navigation .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
		width: 25px;
		height: 2.5px;
	}
	
	.navbar-toggler {
		padding: 5px 0 !important;
	}
	
	.homepage_rezultate_subtitle {
		padding: 0 10px;
	}
	
	.footer-logo img {
		width: 100% !important;
		height: 100% !important;
		max-height: 100% !important;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.header-lang {
		right: 65px !important;
		top: 10px !important;
		font-size: 18px;
		margin-top: 0 !important;
	}
	
	.header-cart, .header-search {
		top: 20px !important;
	}
	
	.header-search {
		right: 160px !important;
	}
}

@media only screen and (min-width: 768px) {
	.woocommerce-checkout .col-1, .woocommerce-checkout .col-2 {
		width: 50% !important;
	}
	
	.woocommerce-cart table.cart img {
		width: 100px;
	}
	
	.woocommerce .prd-info h3 {
		min-height: 44px;
	}
	
	.woocommerce ul.product_list_widget li img {
		width: 87px !important;
		height: 87px;
		object-fit: contain;
	}
}

/* COLORS */

.woocommerce-cart a:hover {
	color: var(--color_header_menu_top_l_h);
}

.header-lang:hover a, .icn-text .icn-text-circle, .header-cart:hover .icon, .header-cart.opened .icon {
	color: var(--color_header_menu_top_l_h) !important;
}

.icn-text:hover .icn-text-circle, .content-social a:hover {
	box-shadow: 0 0 0 5px rgba(233, 196, 140, 0.5) !important;
}

.footer-social a:hover {
	box-shadow: 0 0 0 3px rgba(233, 196, 140, 0.3) !important;
}

.woocommerce a.added_to_cart:hover {
	color: var(--color_header_menu_top_l_h);
}

.dark_btn_link {
	font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    font-family: "Poppins", serif;
    letter-spacing: .6px;
	color: #2a2a2a;
}

.dark_btn_link:hover {
	color: var(--color_header_menu_top_l_h);
	text-decoration: none;
}

.dark_btn_link .icon {
	vertical-align: middle;
	position: relative;
	top: -2px;
}

.tt-blog-sidebar.widget-area .side-block li a:hover {
	text-decoration: none;
	color: var(--color_header_menu_top_l_h);
}

.footer-text .wpcf7-form .tt-footer-newsletter__btn input[type="submit"] {
	width: 50px;
    height: 15px;
    left: 60px;
    top: 1px;
	color: #2a2a2a;
	font-size: 12px;
}

.footer-text .wpcf7-form .tt-footer-newsletter__btn input[type="submit"]:hover {
	color: #c7c7c7;
}

.footer .tt-footer-widgets__posts h3:after {
	content: "";
    margin-top: 18px;
    display: block;
    width: 27px;
    height: 2px;
    background-color: var(--main_color);
}

.blog-post .post-title a:hover {
	color: var(--color_header_menu_top_l_h);
}

.gdpr_links a, .date_contact a {
	color: var(--color_header_menu_top_l_h);
}

.gdpr_links a:hover, .date_contact a:hover {
	color: #2a2a2a;
}

.date_contact a {
	color: #2a2a2a;
}

.date_contact a:hover {
	color: var(--color_header_menu_top_l_h);
}

.wpcf7-acceptance a:hover {
	color: var(--color_header_menu_top_l_h);
}

.woocommerce-product-rating a:hover {
	color: var(--color_header_menu_top_l_h);
}

.stock.out-of-stock {
	position: absolute;
	top: 0 !important;
	font-size: 12px !important;
	color: #fff !important;
	background-color: #2a2a2a !important;
	padding: 0 5px !important;
	letter-spacing: 0.55px !important;
}

.single-product .stock.out-of-stock {
	position: relative;
	font-size: 14px !important;
	color: red !important;
	background-color: transparent !important;
	padding: 0px !important;
	letter-spacing: 0.55px !important;
}

.woocommerce div.product .stock, .woocommerce-privacy-policy-text a:hover, .woocommerce-terms-and-conditions-checkbox-text a:hover, .showcoupon:hover, .showlogin:hover, .lost_password a:hover {
	color: var(--color_header_menu_top_l_h) !important;
}


/* END OF COLORS */

.wpfSearchFieldsFilter {
	font-size: 14px;
}

.homepage_special_offer_slider .slick-dots {
	margin: 35px 0 -5px !important;
}

.column-filters .widget_product_categories.side-block li {
	margin-bottom: 10px;
}

.footer-social.d-md-none.d-lg-block:not(.first-child) {
	margin-top: 0;
}

.footer .menu-gdpr-container li {
	list-style: none;
}

/* dezactivam top bar */
.header .header-quicklinks, .header .header-topline {
	display: none !important;
}

.woocommerce .side-block.woocommerce.widget_price_filter .price_slider_amount .price_label {
	float: right;
	margin-top: 10px;
}

#mega-menu-wrap-medin_header_navigation a {
	font-family: 'Poppins' !important;
	text-transform: uppercase !important;
}

#cui_field, #nr_reg_com_field, #nume_banca_field, #iban_field, #billing_company_field {
	display: none;
}

.column-filters .widget-woof h3 {
	font-size: 20px;
}

.column-filters .widget-woof {
	padding-bottom: 0;
}

.woof_submit_search_form_container {
	margin: 15px 0 !important;
}

.woocommerce .prd-info .price, .related.products .price {
	font-size: 14px !important;
}

.woocommerce .prd-info .btn {
	font-size: 12px;
	padding: 5px 10px;
}

.woocommerce .prd-info a.btn svg {
	display: none !important;
}

.woocommerce .prd-info .price, .woocommerce .prd-info .tt-listing-btn {
	margin-top: 5px;
}

.woocommerce .wpfFilterButtons .wpfFilterButton.wpfButton, .woocommerce .wpfFilterButtons .wpfClearButton.wpfButton {
	min-height: 30px;
	font-size: 12px;
}

.wpfFilterWrapper .wfpTitle {
	font-weight: 400 !important;
	font-size: 15px !important;
}

.wpfFilterWrapper {
	margin-top: 0 !important;
}

.wpfFilterWrapper ul:not(.wpfButtonsFilter) li {
	margin-bottom: 0 !important;
}

.breadcrumbs-wrap {
	display: none !important;
}

.wpfSearchWrapper .wpfSearchFieldsFilter {
	height: 26px;
}

.woocommerce .column-filters .side-block {
	padding: 8px 20px 30px;
}

.icons_row .icon {
	width: 1em;
}

.woocommerce-account .woocommerce-MyAccount-content {
	margin-top: 30px;
}

#mainSliderWrapper {
	z-index: 0 !important;
}

.column-filters {
	margin-bottom: 30px;
}

.woocommerce a.added_to_cart {
	font-family: 'Poppins';
    font-size: 12px;
}

.woocommerce-js .woocommerce-mini-cart__buttons a.button {
	padding: 5px 15px;
	font-size: 14px;
}

.header-cart-dropdown .prd-sm-info .price, .header-cart-dropdown .prd-sm-info h3 a {
	font-size: 14px;
}

.header-cart-dropdown .header-cart-total {
	font-size: 18px !important;
	padding: 10px 0 !important;
}

#mega-menu-wrap-medin_header_navigation .mega-menu-toggle {
	background: transparent !important;
}

.woocommerce-cart .quantity .qty {
	height: 30px !important;
}

.woocommerce-Price-currencySymbol, .shop_table .product-subtotal {
	word-break: keep-all !important;
    word-wrap: normal;
}

.btn-link [class*='icon'] {
	font-size: 14px !important;
	top: 2px !important;
	transition: none !important;
}

.prd {
	padding-bottom: 20px !important;
}

.column-filters-inside {
	padding-bottom: 0 !important;
}

.woocommerce span.onsale {
	padding: 5px !important;
}

/* Workaround temporar pentru poze shop */
.woocommerce .prd-grid .prd-img img {
	width: 268px !important;
    height: 268px !important;
    object-fit: contain !important;
	margin: 0 auto !important;
}

@media only screen and (min-width: 768px) {
	.woocommerce .product-block-mainimage #mainImage {
		width: 600px !important;
		height: 600px !important;
		object-fit: contain !important;
	}
}

@media only screen and (max-width: 767px) {
	.woocommerce .product-block-mainimage #mainImage {
		width: 300px !important;
		height: 300px !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}
}

.woocommerce .prd-img {
	text-align: center !important;
}

.zoomContainer {
	display: none !important;
}

/* END WORKAROUND TEMPORAR */

.page-slug_termeni-si-conditii .page-content, .privacy-policy .page-content, .page-slug_politica-de-livrare-retur .page-content {
	margin-top: 50px;
}

/* TEMPORAR CAT NU AVEM PAGINILE DOAR SHOP */
.simple-pagination.tt-simple-pagination {
	margin-bottom: 50px;
}

.prd {
	position: relative;
}

.mailchimp-newsletter {
	padding: 3px 0 !important;
}

.woocommerce-billing-fields__field-wrapper {
	margin-bottom: 20px;
}

.grecaptcha-badge {
	display: none !important;
}

.woocommerce-account-fields .form-row.create-account {
	padding-left: 0;
}

.header-search, .header-search input[type=search] {
	z-index: 99999;
}