/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* General */
#top nav>ul>li[class*=button_bordered]>a:before {
	border-color: #ff0000;
	background-color: #ff0000;
}

#top nav>ul>li[class*=button_bordered]:hover>a:before {
	background-color: #fff;
}

#top nav>ul>li[class*=button_bordered]>a .menu-title-text {
	color: #fff;
}

#top nav>ul>li[class*=button_bordered]:hover>a .menu-title-text {
	color: #202020;
}

/* Home page */
.mb-icon-box img {
	min-width: 72px;
}

.mb-icon-box .top-icon .aio-icon-header h3.aio-icon-title {
    margin: 10px 0 15px;
}

/* WooCommerce Archive */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-ordering,
.wpc-posts-found,
.price-hover-wrap .price .amount {
	display: none;
}

.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
	right: 0px;
}

.wpc-filters-widget-content .wpc-filters-section .wpc-filter-search-form .wpc-search-field {
	padding-left: 40px !important;
}

.woocommerce .nectar-shop-header {
	margin-bottom: 30px;
}

.woocommerce .products li.product.minimal .product-add-to-cart a span {
	font-size: 14px !important;
	text-transform: none;
}

.woocommerce .products li.product.minimal .product-add-to-cart .fa.fa-search {
	font-size: 14px;
	margin-top: -7px;
	padding-right: 5px;
}

.woocommerce .nectar-quick-view-box .single_add_to_cart_button_wrap .single_add_to_cart_button {
	display: none !important;
}

.woocommerce .nectar-quick-view-box .nectar-full-product-link a {
	background-color: #ff0000 !important;
	color: #fff;
	font-size: 16px !important;
}

.woocommerce .nectar-quick-view-box .price,
.woocommerce .nectar-quick-view-box .variations_form.cart {
	display: none !important;
}

.woocommerce .woocommerce-loop-product__title {
	font-size: 28px !important;
}

.product-loop-excerpt {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 10px;
    min-height: 42px;
}

.woocommerce ul.products li .product-loop-excerpt ul li {
	list-style: circle;
    margin: 0 0 0px 14px;
}

.nectar-quick-view-box .single_add_to_cart_button_wrap a span {
	background-image: linear-gradient(to right, #fff 0, #fff 100%);
}

.widget-title.wpc-filter-title {
	color: #202020;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
}

.wpc-term-item-content-wrapper label {
	font-size: 15px !important;
}


@media only screen and (min-width: 1000px) {
	.nectar-quick-view-box {
		min-height: 400px;
	}
	.woocommerce #sidebar {
		width: 18%;
	}
	.woocommerce.archive .post-area.span_9 {
		width: 77%;
	}
}

/* WooCommerce Single Product */
.single-product .price {
	display: none !important;
}

.single-product .woocommerce-product-details__short-description {
	margin-top: 20px;
}

.single-product .variations tbody tr:nth-child(3),
.single-product .variations tbody tr:nth-child(4),
.single-product .woocommerce-variation-add-to-cart {
	display: none;
}

.woocommerce .variations,
.woocommerce div.product form.cart .variations {
	margin-bottom: 0px;
}

.woocommerce div.product form.cart {
	margin-bottom: 20px;
}

.single-product .product_meta {
	margin-top: 30px;
}

.single-product .button.custom-ask-offer-button {
	text-transform: none !important;
	background-color: #ff0000;
	border: 2px solid #ff0000 !important;
	border-radius: 6px;
	padding: 15px 40px;
	font-size: 18px;
	font-weight: 700;
	width: 100%;
}

.single-product .button.custom-ask-offer-button:hover {
	background-color: #fff !important;
	border: 2px solid #ff0000 !important;
	color: #202020;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
	height: 36px;
	width: 36px;
	border-radius: 9999px;
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item),
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color {
	border-radius: 9999px;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {
    -webkit-box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px #1966b3);
    box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px #1966b3);
    color: var(--wvs-selected-item-text-color, #1966b3);
}

.single-product .variations {
	width: 100% !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item.selected:not(.no-stock) .variable-item-contents:before {
	background-image: none !important;
}

/* Change capacity variation design */
table.variations > tbody > tr:nth-child(2) .variable-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

table.variations > tbody > tr:nth-child(2) .variable-items-wrapper .variable-item.button-variable-item {
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 2px solid #dbd9d9 !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden;
}

table.variations > tbody > tr:nth-child(2) .variable-items-wrapper .variable-item.button-variable-item:hover {
    border-color: #1966b3 !important;
}

table.variations > tbody > tr:nth-child(2) .variable-items-wrapper .variable-item.button-variable-item.selected,
table.variations > tbody > tr:nth-child(2) .variable-items-wrapper .variable-item.button-variable-item.radio-variable-item.selected {
    border-color: #1966b3 !important;
    box-shadow: none !important;
    background: #e8f0f7 !important;
}

table.variations > tbody > tr:nth-child(2) .variable-items-wrapper .variable-item.button-variable-item .variable-item-contents {
    display: block !important;
    width: 100%;
    padding: 12px 10px !important;
    text-align: left !important;
    white-space: normal !important;
}

/* Inner card */
table.variations > tbody > tr:nth-child(2) .custom-power-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    width: 100%;
}

table.variations > tbody > tr:nth-child(2) .custom-power-card__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

table.variations > tbody > tr:nth-child(2) .custom-power-card__col--right {
    align-items: flex-end;
    text-align: right;
}

table.variations > tbody > tr:nth-child(2) .custom-power-card__label {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 400;
    color: #202020;
}

table.variations > tbody > tr:nth-child(2) .custom-power-card__value {
    font-size: 18px;
    line-height: 1.15;
    font-weight: 700;
    color: #222;
}

@media (max-width: 767px) {
    table.variations > tbody > tr:nth-child(2) .variable-items-wrapper .variable-item.button-variable-item .variable-item-contents {
        padding: 18px 20px !important;
    }

    table.variations > tbody > tr:nth-child(2) .custom-power-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    table.variations > tbody > tr:nth-child(2) .custom-power-card__col--right {
        align-items: flex-start;
        text-align: left;
    }

    table.variations > tbody > tr:nth-child(2) .custom-power-card__label {
        font-size: 18px;
    }

    table.variations > tbody > tr:nth-child(2) .custom-power-card__value {
        font-size: 24px;
    }
}

/* Contact form */

.wpcf7 .block-margin {
    margin-top: 30px !important;
}

.wpcf7 .mb-query-wrapper p {
    margin-bottom: 0;
	padding-bottom: 0;
}

.wpcf7 .mb-query-wrapper p br {
    display: none;
}

.wpcf7 div.half,
.wpcf7 div.third {
	display: -webkit-flex;
	-webkit-flex-wrap: wrap;
	display: flex;
	flex-wrap: wrap;
}

.wpcf7 div.half > div {
	flex: 0 1 calc(50% - 5px);
	margin-right: 10px;
	min-width: calc(50% - 5px);
}

.wpcf7 div.third > div {
	flex: 0 1 calc(33.3333% - 7px);
	margin-right: 10px;
	min-width: calc(33.3333% - 7px);
}

.wpcf7 div.third > div.twothird {
	flex: 0 1 calc(66.6666% - 3px);
	margin-right: 10px;
	min-width: calc(66.6666% - 3px);
}

.wpcf7 .mb-query-wrapper .wpcf7-radio:not(.not-full) > span {
	flex: 0 1 calc(50% - 10px);
	margin-right: 10px;
	min-width: calc(50% - 10px);
}

.wpcf7 div.third .wpcf7-radio > span {
	flex: 0 1 calc(33.3333% - 10px);
	margin-right: 10px;
	min-width: calc(33.3333% - 10px);
}

.wpcf7 div.half > div:nth-of-type(2),
.wpcf7 div.third > div:nth-of-type(3),
.wpcf7 div.third > div:nth-of-type(2).twothird,
.wpcf7 .mb-query-wrapper .wpcf7-radio > span {
	margin-right: 0;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
	border: 1px solid #ccd0dc;
	border-radius: 6px;
}

.wpcf7 .mb-query-wrapper select {
	height: 46px;
}

.wpcf7 .mb-query-wrapper .mb-agreement .wpcf7-checkbox label {
	align-items: flex-start !important;
	margin-left: 10px;
	cursor: pointer;
}

.wpcf7 .mb-query-wrapper .mb-agreement .wpcf7-checkbox label input {
	position: absolute;
	top: 2px;
	left: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,.04);
    border-radius: 5px;
    min-width: 20px;
}

.wpcf7 .mb-query-wrapper .mb-agreement .wpcf7-checkbox label input:checked {
	border-color: #202020;
}

.wpcf7 .mb-query-wrapper .mb-agreement .wpcf7-checkbox label input:after {
    content: "";
    opacity: 0;
    display: block;
    left: 6px;
    top: 3px;
    position: absolute;
    width: 4px;
    height: 8px;
    border: 2px solid #202020;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
    box-sizing: content-box;
}

.wpcf7 .mb-query-wrapper .mb-agreement .wpcf7-checkbox label input:checked:after {
	opacity: 1;
}

.wpcf7 #building_address {
    display: block;
}

.wpcf7 #building_address small {
    display: none;
}

.wpcf7 .mb-query-wrapper p label:not(#InAadressDiv) {
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 8px;
}

.wpcf7 .mb-query-wrapper p label:not(#InAadressDiv).half {
    display: -webkit-inline-flex;
    display: inline-flex;
	width: calc(50% - 3px);
    vertical-align: top;
}

.wpcf7 .mb-query-wrapper p span.labeled {
    flex: 0 0 100%;
    display: block;
    margin-bottom: 3px;
    font-weight: 700;
	color: #202020;
}

.wpcf7 .mb-query-wrapper p span.labeled small {
    display: block;
    font-size: 14px;
    line-height: 15px;
    color: #969696;
    font-weight: 400;
}

.wpcf7 .mb-query-wrapper p label .wpcf7-form-control-wrap {
    flex: 1 1 calc(100% - 50px);
}

.contact-us .wpcf7-form-control.wpcf7-submit {
	width: 100%;
}

.container-wrap input[type=text], .container-wrap input[type=email], .container-wrap input[type=password], .container-wrap input[type=tel], .container-wrap input[type=url], .container-wrap input[type=search], .container-wrap input[type=date], .container-wrap input[type=number], .container-wrap textarea, .container-wrap select, body input[type=text], body input[type=email], body input[type=password], body input[type=tel], body input[type=url], body input[type=search], body input[type=date], body input[type=number], body textarea, body select, body > #review_form_wrapper.modal input[type=text], body > #review_form_wrapper.modal textarea, body > #review_form_wrapper.modal select, body > #review_form_wrapper.modal input[type=email], .select2-container--default .select2-selection--single, body[data-fancy-form-rcs="1"] .select2-container--default .select2-selection--single, .woocommerce input#coupon_code, .material.woocommerce-page[data-form-style="default"] input#coupon_code, body[data-form-style="minimal"] input[type="text"], body[data-form-style="minimal"] textarea, body[data-form-style="minimal"] input[type="email"], body[data-form-style="minimal"] input[type=password], body[data-form-style="minimal"] input[type=tel], body[data-form-style="minimal"] input[type=url], body[data-form-style="minimal"] input[type=search], body[data-form-style="minimal"] input[type=date], body[data-form-style="minimal"] input[type=number], body[data-form-style="minimal"] select {
	font-weight: 700;
}

@media only screen and (max-width: 767px) {

    .wpcf7 .mb-query-wrapper p label:not(#InAadressDiv).half {
        display: -webkit-flex;
        display: flex;
        width: 100%;
    }

    .wpcf7 div.half > div, .wpcf7 div.third > div:not(.onethird):not(.twothird), .wpcf7 .mb-query-wrapper .wpcf7-radio > span {
        flex: 0 1 100%;
        margin-right: 0;
        min-width: 100%;
    }

    .wpcf7 .mb-query-wrapper .wpcf7-checkbox {
        display: flex;
        flex-direction: column;
    }

    .wpcf7 .mb-query-wrapper .wpcf7-checkbox label {
        display: block;
    }

}

/* Post list */
.nectar-recent-posts-single_featured .inner-wrap {
	width: 100%;
}

/* Single post */
#page-header-bg.fullscreen-header .author-section .meta-date i {
	font-size: 18px;
	font-weight: 700;
}

/* Search */
.nectar-ajax-search-results .search-post-item h5 {
	font-family: "Montserrat";
	font-weight: 600;
}

/**
 * Hide Google ReCaptcha badge
 */
.grecaptcha-badge {
	visibility: hidden;
}

/**
 * Responsive tablepress
 */

.mb-tablepress-wrapper {
	overflow-x: auto !important;
}
