/*
Theme Name:     Libero Child Theme
Theme URI: 		http://themeforest.net/user/mikado-themes
Description:    Child theme for the Libero theme 
Author:         InProve
Theme URI: 		http://themeforest.net/user/mikado-themes
Template:       libero
Version:        1.0
*/

body {
	background-color:#fff;
}

.mkd-title .mkd-title-holder h1 {
	font-size: 24px;
}

.single-product .summary.entry-summary {
	overflow: hidden;
}

.single-product form.cart {
	margin-left: 0 !important;
	margin-bottom: 20px;
}

.mkd-single-product-title {
	font-size: 30px;
	line-height: 1.2;
	margin-bottom: 20px;
}

.woocommerce-Price-amount {
	font-weight: bold;
}

.woocommerce:not(.mkd-woocommerce-single-page) .product-category h3 {
  font-weight: 600;
  text-align: center;
  margin-top: 5px;
}

.single-product .yith-similar-products {
	display: none;
}

.compatibles {
	margin-bottom: 40px;
}

.compatibles h4 {
	background: #aaa;
	padding: 10px;
	color: #fff;
	margin: 0;
	display: inline-block;
}

.compatibles ul {
	display: flex;
	flex-flow: row wrap;
	list-style: none;
	padding: 20px;
	background-color: #f2f2f2;
	border: 2px solid #ccc;	
}

.compatibles li {
	/*display: inline-flex;*/
	flex-basis: 33%;
}

.compatibles li img {
	max-height: 80px;
	width: auto !important;
	max-width: 100px;
}

.compatibles li div {
	margin-left: 10px;
	line-height: 1.3;
	font-size: 16px;
}

.compatibles li .price {
	font-size: 15px !important;
	margin-top: 10px;
	font-weight: bold !important;
}

.compatibles.compatible-remotes h4 {
	background: #316fda;
}

.compatibles.compatible-remotes ul {
	border-color: #316fda;
	background: #f4f9fe;
}

.compatibles.compatible-keypads h4 {
	background: #7fd229;
}

.compatibles.compatible-keypads ul {
	border-color: #7fd229;
	background: #f4fdf2;
}

.compatibles.compatible-receivers h4 {
	background: #f69500;
}

.compatibles.compatible-receivers ul {
	border-color: #f69500;
	background: #fef9f0;
}

.compatibles.compatible-accessories h4 {
	background: #843f00;
}

.compatibles.compatible-accessories ul {
	border-color: #843f00;
	background: #f9f7f4;
}

.wc-product-table .cart button,
.wc-product-table a[data-product_id] {
	padding: inherit !important;
	height: inherit !important;
	margin: inherit !important;
	line-height: inherit !important; 
}

.wc-product-table td {
	vertical-align: middle;
	padding: 5px;
}

.rp_wcdpd_pricing_table table {
	width: auto;
}

.rp_wcdpd_product_page {
	display: inline-block;
	width: auto !important;
	vertical-align: middle;
	margin-bottom: 0 !important;
}

.single-product form.cart {
	display: block !important;
	width: auto;
	vertical-align: middle;
	margin-left: 20px;
}

.search-results .mkd-post-info-column {
	display: none !important;
}

.search-results .mkd-blog-holder article .mkd-post-image img {
    width: auto;
    max-width: 200px;
    max-height: 200px;
}

.search-results  .mkd-blog-holder article .mkd-post-image {
    float: left;
    margin-right: 20px;
}

.mkd-woocommerce-page .woocommerce-checkout .col-1 .form-row label, .mkd-woocommerce-page .woocommerce-checkout .col-2 .form-row label {
	/*display: block;*/
}

@media screen and (max-width : 800px) {

	.search-results .mkd-blog-holder article .mkd-post-title {
		font-size: 22px;
	}

	.mkd-woocommerce-page td.actions .coupon, .mkd-woocommerce-page td.actions .mkd-cart-proceed-update {
		float: none;
		width: auto;
		text-align: center;
	}

	.mkd-woocommerce-page td.actions {
		text-align: center;
	}

	.mkd-woocommerce-page td.actions .coupon {
		margin-bottom: 20px;
	}

	.mkd-woocommerce-page td.actions .mkd-btn.checkout-button {
		float: none;
		margin-left: 0;
		margin-bottom: 20px;
	}

	.mkd-woocommerce-page .mkd-cart-totals {
		width: 50%;
		box-sizing: border-box;
		padding-left: 20px;
	}

	.mkd-single-product-images {
		margin-right: 20px;
	}

	.rp_wcdpd_product_page,
	.single-product form.cart {
		display: block !important;
		width: 100% !important;
		margin-left: 0;
	}

	.single-product form.cart {
		margin-bottom: 20px;
	}

	.compatibles li img {
		max-width: 100%;
		margin: 0 auto 10px auto;
	}

	.mkd-footer-top-holder .mkd-four-columns-inner {
		display: flex;
		flex-flow: row wrap;
	}

	.mkd-footer-top-holder .mkd-four-columns .mkd-column {
		float: none;
		width: auto;
		flex-basis: 50%;
	}
}

@media only screen and (max-width: 480px) {

	.search-results .mkd-blog-holder article .mkd-post-title {
		font-size: 20px;
	}

	.search-results  .mkd-blog-holder article .mkd-post-image {
		float: none;
		margin-right: 0;
	}

	.mkd-footer-top-holder .mkd-four-columns-inner {
		display: block;
	}

	.mkd-footer-top-holder .mkd-four-columns .mkd-column {
		text-align: center;
	}

	footer .mkd-footer-top-holder .mkd-footer-top-columns>.mkd-four-columns-inner .mkd-column:after {
		display: none;
	}

	footer .mkd-icon-list-item {
		margin: 0 auto;
	}

	footer .mkd-footer-bottom-holder {
		padding: 0 0 15px 0;
	}

	.compatibles {
		margin-top: 20px;
	}

	.compatibles h4 {
		font-size: 16px;
	}

	.compatibles li {
		flex-basis: 50%;
		text-align: center;
		margin-bottom: 10px;
	}

	.compatibles li div {
		font-size: 13px;
	}

	.compatibles li .price {
		margin: 5px auto 0 auto;
	}

	.mkd-container-inner, .mkd-grid, .mkd-grid-section .mkd-section-inner {
	    width: 325px;
	}

	.mkd-single-product-images {
		max-width: 100% !important;
		margin-left: auto;
		margin-right: auto;
		display: block;
		text-align: center;
		float: none;
	}

	.mkd-single-product-title {
		font-size: 26px;
		margin-bottom: 15px;
	}
}