/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/

:root {
	--custom-primary-color: #0a224b;
}

/* disable icon compare */
.nasa-icon-compare, .btn-compare {
	display: none !important;
	pointer-events: none;
}
/* END: disable icon compare */

/* disable topbar */
.nasa-topbar-wrap {
	display: none;
}
/* END: disable topbar */

/* fields checkout page */
#main-content form .form-row.form-row-wide {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	clear: both;
}

#main-content form .form-row label[for] {
    left: 10px !important;
	margin-left: 0 !important;
}

#main-content form .form-row.form-row-first, #main-content form .form-row.form-row-last {
	width: 48%;
	padding-left: 0;
	padding-right: 0;
	float: left;
}

#main-content form .form-row.form-row-first {
	margin-right: 4%;
}

#main-content form .form-row input {
	margin-bottom: 1em !important;
}

#main-content form .form-row {
	margin-bottom: 0.5em !important;
}

#main-content form .form-row .select2-container {
	margin-bottom: 1em !important;
}

.woocommerce-input-wrapper>.select2-container {
	height: auto !important;
}
/* END: fields checkout page */

#mecom-paypal-credit-form-container-custom {
	width: 100%;
}

/* svg icons payment method */
.payment_methods_spf svg {
	display: unset;
    padding-right: 4px;
    height: 30px;
    width: 48px;
}

.payment_methods_spf svg:last-of-type {
    padding-right: 0px;
}

/* END: svg icons payment method */

/* CUSTOM PRODUCT ADDON */
.single-product div.product.wcpa_has_options form.cart {
	display: flex !important;
}

.wcpa_form_item .color-group {
	display: grid;
    grid-template-columns: repeat(7, 1fr);
	gap: 5px;
}

.wcpa_form_outer .wcpa_form_item .color-group .wcpa_color {
	margin: 0;
}

.wcpa_form_outer .wcpa_form_item .color-group .wcpa_color label {
	width: 100%;
	padding: 0;
	font-size: 84%;
}

.wcpa_form_outer .wcpa_form_item .color-group .wcpa_color label span.label_inside {
	padding: 10px 5px;
}

.wcpa_form_outer .wcpa_form_item .color-group .wcpa_color label span {
	color: #fff;
	border: 2px solid #000;
	font-weight: 400;
	height: auto !important;
	line-height: inherit !important;
	min-width: inherit !important;
	font-size: 14px;
	border-radius: 5px;
}

.wcpa_form_outer .wcpa_form_item .color-group .wcpa_color input:checked+label span {
	box-shadow: none;
	border: 0;
    outline: 2px solid #fff;
    color: #fff;
	font-weight: 500;
}

.wcpa_form_outer .wcpa_form_item .color-group .wcpa_color input:checked+label span:after {
	border-color: transparent;
}

dd .wcpa_cart_val.wcpa_cart_type_color-group span, dt[class^="variation-"] {
    display: none !important;
}

dd .wcpa_cart_val.wcpa_cart_type_color-group, dd .wcpa_cart_val.wcpa_cart_type_color-group p {
	margin: 0 !important;
}

.woocommerce-cart dl.variation dd .wcpa_cart_val.wcpa_cart_type_color-group:after {
	content: "/";
    margin: 0 5px;
}

.woocommerce-cart dl.variation dd:last-child .wcpa_cart_val.wcpa_cart_type_color-group:after {
    content: none;
	margin: 0;
}

.wcpa_price_summary {
	width: 100%;
    background: #fff;
}

.wcpa_price_summary li {
	font-size: 180%;
    font-weight: 500;
	padding: 4px 4px;
}

.wcpa_form_outer label {
	font-weight: 400;
	color: #fff;
}

.wcpa_form_outer .wcpa_form_item .wcpa_helptext {
	font-size: 1em;
    font-weight: 500;
    margin-bottom: 0.2069em;
	color: #fff;
}

.wcpa_form_outer {
	margin: 1em 0 2em 0;
    width: 100%;
    clear: both;
    flex: 0 0 100%;
    background: linear-gradient(265.65deg, #cf0d1c 0%, #163f85 55.9%, #0a224b 98.94%);
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.wcpa_form_outer .wcpa_form_item.wcpa_type_paragraph {
	color: #fff;
}
/* END: CUSTOM PRODUCT ADDON */

.shop_table .co-wrap-info {
	min-width: 100%;
	max-width: 100%;
}

.checkout .payment_box.payment_method_mecom_paypal {
	visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.salesgen-upsell-bundle .button {
	line-height: 2.5em;
}

body .button.salesgen-select-options {
	color: var(--custom-primary-color);
    border: 1px solid var(--custom-primary-color);
}

body .button.salesgen-select-options:hover {
	background-color: var(--custom-primary-color);
}

.custom-size-chart-link {
    /* float: right; */
/*     font-size: 94%; */
    text-transform: capitalize;
    color: #fff !important;
/*     font-weight: 500; */
    position: absolute;
    right: 15px;
    z-index: 1;
}

a.custom-size-chart-link:hover {
    color: #fff !important;
}

.nasa-bg-dark {
    background-color: var(--custom-primary-color);
}

.product-info .cart .single_add_to_cart_button {
    max-width: 100%;
	height: 56px;
	font-size: 16px;
}

.product-info .salesgen-add-bundle.button {
	height: 56px;
	line-height: 54px;
	font-size: 16px;
}

.product-info .cart .single_add_to_cart_button {
    max-width: 100%;
	height: 56px;
	font-size: 16px;
}

.product-info .cart .quantity {
    width: 89px;
}

.product-info .cart .quantity .input-text.qty {
	width: 62px;
	height: 56px;
}

.product-info .cart .quantity .minus, .product-info .cart .quantity .plus {
	width: 28px;
    height: 28px;
}

/* CUSTOM SALESGEN UPSELL */
.salesgen-bmsm-heading {
	border-color: var(--custom-primary-color);
}

.salesgen-bmsm-item-label {
	background: var(--custom-primary-color);
}

.active-select-options .salesgen-upsell-options {
	padding: 0;
}

.salesgen-upsell-item-info .wcpa_form_outer, .salesgen-upsell-wrapper .wcpa_form_outer {
    margin-bottom: 0;
	padding-bottom: 22px;
	border-radius: 0;
}

li.salesgen-upsell-item-list a.custom-size-chart-link {
	top: 17px;
}

.salesgen-upsell-options.active form {
	margin-bottom: 0;
}

.salesgen-discount-notices {
	margin-bottom: 0;
	width: 100%;
}
/* END: CUSTOM SALESGEN UPSELL */

.size-chart-js {
	width: 100%;
	margin: 20px auto;
	border-collapse: collapse;
}

.size-chart-js th, 
.size-chart-js td {
	border: 1px solid #000;
	padding: 8px;
	text-align: center;
}

.size-chart-js th {
	background-color: #0a224b;
	color: #fff;
}

@media (max-width: 767px) {
	#main-content form .form-row.form-row-first, #main-content form .form-row.form-row-last {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
		margin-right: 0;
	}
	
	.payment_methods_spf {
		text-align: center !important;
		float: none;
		display: block;
	}
	
	.payment_methods_spf svg {
		padding-bottom: 4px;
	}
	
	.wcpa_form_item .color-group {
		grid-template-columns: repeat(4, 1fr);
	}
	
	body .button.salesgen-select-options {
		font-size: 1em;
		line-height: 3em;
	}
}