/*
Theme Name: Neil Pond Photography
Author: WDK
Author URI: https://websitedesignkingston.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/* Header*/

ul#primary-menu { max-width: 1000px;}

.inline-header.justify .main-nav > li > a { margin: 0;}

@media (max-width: 778px) {
	.second-switch-logo-left.second-switch-menu-right .mobile-header-bar .mobile-mini-widgets {
		flex: auto!important;
		width: 100%!important;
	}
	.mobile-header-bar .wc-ico-cart .woocommerce-Price-amount, .mobile-header-bar .wc-ico-cart .counter {
		display: none;
	}
}

	/*header nav cart*/
.masthead .shopping-cart-inner a.remove, .elementor-menu-cart__main a.remove, .dt-mobile-header .shopping-cart-inner a.remove, .light-preset-color.masthead:not(#phantom):not(.sticky-on):not(.sticky-mobile-on) .shopping-cart-inner a.remove, #the7-body .widget_shopping_cart a.remove {
    border-radius: 100%;
    color: #f4524d !important;
        background: rgba(255,255,255,0.6);
}

.woocommerce .cart_list:not(.product_list_widget) a.remove:hover, .masthead .shopping-cart-inner .cart_list a.remove:hover, .elementor-menu-cart__main .cart_list a.remove:hover, .dt-mobile-header .shopping-cart-inner .cart_list a.remove:hover, .light-preset-color.masthead:not(#phantom):not(.sticky-on):not(.sticky-mobile-on) .cart_list a.remove:hover, #the7-body .widget_shopping_cart a.remove:hover {
    color: #fff !important;
    background: #f4524d;
}

/*footer*/

@media (min-width: 1024px) {

	#footer.solid-bg {position: relative;}

	#footer.solid-bg > * { position: relative; z-index: 10;}

	#footer.solid-bg:has(.widget) {position: relative;}

	#footer.solid-bg:has(.widget) > * { position: relative; z-index: 10;}

	#footer.solid-bg:has(.widget):after {
		display: block;
		content: '';
		height: auto;
		width: calc(100% + 200px);
		aspect-ratio: 75/22;
		z-index: 0;
		background-image: url(https://pond-photography.51-222-78-205.websitedesignkingston.com/wp-content/uploads/2024/04/lg-np-wht.svg);
		background-repeat: no-repeat;
		background-size: 100%;
		filter: invert(1);
		opacity: .08;

		position: absolute;
		top:: 0;
		left: -100px;
	}
}

@media (max-width: 1366px) {
    #footer.solid-bg:has(.widget):after {
        bottom:0;
        background-size: contain;
        width: 100%;
        left:0;
    }
}


.footer .widget-title { position: relative; padding-bottom: 15px;}

.footer .widget-title:after {
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width:40px;
    height: 3px;
    background: var(--the7-accent-color);
    background: -webkit-linear-gradient(var(--the7-accent-gradient));
    background: linear-gradient(var(--the7-accent-gradient));
    
}

@media (max-width: 1024px) { .footer .widget_products .product_list_widget li { display: flex; flex-direction: column; row-gap: 5px;}}

.footer .widget-title { position: relative; padding-bottom: 15px;}

.footer .widget-title:after {
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width:40px;
    height: 3px;
    background: var(--the7-accent-color);
    background: -webkit-linear-gradient(var(--the7-accent-gradient));
    background: linear-gradient(var(--the7-accent-gradient));
    
}

#bottom-bar .wf-container-bottom {
    border-top: 1px solid;
    border-image-slice: 1;
    border-width: 1px;
    border-image-source: linear-gradient(var(--the7-accent-gradient)) !important;
}

.footer:not(:has(.widget)) .wf-container-bottom { border-top: none!important;}

a.scroll-top:hover { background: linear-gradient(var(--the7-accent-gradient));}

/* Form Focus */

.widget_search input[type=text].searchform-s:focus, .woocommerce div.elementor .the7-elementor-widget form.cart table.variations td.value select:focus, .wpcf7-number:focus, input[type=text]:not(.elementor-field):not(.searchform-s):focus, input[type=search]:not(.elementor-field):focus, input[type=tel]:not(.elementor-field):focus, input[type=url]:not(.elementor-field):focus, input[type=email]:not(.elementor-field):focus, input[type=number]:not(.elementor-field):focus, input[type=date]:not(.elementor-field):focus, input[type=range]:not(.elementor-field):focus, input[type=password]:not(.elementor-field):focus, select:not(.elementor-field):not(.elementor-field-textual):focus, textarea:not(.elementor-field):focus, .content .searchform input.searchform-s:focus {
	border: 1px solid;
    border-image-slice: 1;
    border-width: 1px;
    border-image-source: linear-gradient(var(--the7-accent-gradient))!important;
}

input[type="submit"]:not([name="update_cart"]):not(.woocommerce-widget-layered-nav-dropdown__submit), .post-password-form input[type="submit"], .mc4wp-form input[type="submit"], div.mc4wp-form button[type="submit"], .tml-submit-wrap input[type="submit"], .wpcf7-form input[type="submit"] { border: none;}

	/*search form icons*/

.content .searchform .submit:has(svg), .widget .searchform .submit:before, .widget .searchsubmit:has(svg) {
    font-family: icomoon-the7-font !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: auto;
	color: #aaa;
}

.content .searchform .submit svg, .widget .searchform .submit svg {display: none;}

.content .searchform .submit:has(svg):before, .widget .searchform .submit:has(svg):before {
    display: block;
    margin: 0 auto;
    content: "\ec051";
    color: inherit;
}

.content .searchform .submit:has(svg):hover, .widget .searchform .submit:hover, .widget .searchsubmit:hover , .mini-search .searchform:not(.search-icon-disabled) input.field + .search-icon:hover {
    background-color: #4c87e3;
    background-image: linear-gradient(to right, #4c87e3, #8319e6)!important;
	background-image: conic-gradient(#4c87e3, #8319e6);
    background-size: 100%;
	background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
	text-fill-color: transparent;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
}

/* Product Item */
.woo-buttons-on-img .out-stock-label {
	display: none!important;
}

/* Checkout page */
.wc-complete-wrap .wc-side-column {
	margin: auto!important;
}

.wc-complete-wrap .wc-wide-column {
	margin: auto!important;
	margin-top: 30px!important;
}


/* Cart Page */

.checkout-page-title .checkout-counter {font-family: 'Roboto'; font-size: 20px;}

@media (min-width: 1150px) {
    .the7-woocommerce-checkout #customer_details, .the7-cart-form, .wc-complete-wrap .wc-wide-column, .wc-complete-wrap .woocommerce-bacs-bank-details, .shop_table_responsive, .woocommerce-cart-wrap .cross-sells {
        width: calc(100% - 35% - 60px);
    }

    .woocommerce-cart-wrap .cart-collaterals {width: 35%;}
}

@media (max-width: 1150px) and (min-width: 991px) {
    
    .the7-woocommerce-checkout #customer_details, .the7-cart-form, .wc-complete-wrap .wc-wide-column, .wc-complete-wrap .woocommerce-bacs-bank-details, .shop_table_responsive, .woocommerce-cart-wrap .cross-sells {
        width: calc(100% - 40% - 60px);
    }

    .woocommerce-cart-wrap .cart-collaterals {width: 40%;}
    
}

.woocommerce-cart-wrap .cart.shop_table {position: relative;}

.woocommerce-cart-wrap td.product-remove { 
    width: auto; 
    max-width: none; 
    padding-right: 0!important; 
    overflow: visible; 
    position: relative;
    vertical-align: top;
}

.woocommerce-cart-wrap a.remove { 
    all: unset;
    -webkit-mask: none;
    mask-image: none;
    -webkit-mask-size: none;
    mask-size: none;
    -webkit-mask-repeat:none;
    mask-repeat: none;
    -webkit-mask-position: none;
    mask-position: none;
    display: block;
    height: auto;
    width: auto;
    background: rgb(0,0,0);
    border: 1px solid;
    border-radius: 20px;
    color:#fff;
    display: block;
    font-weight: 700;
    font-family: Arial, Verdana, sans-serif;
    text-decoration: none;
    font-size:14px !important;
    height: 18px !important;
    width: 18px;
    line-height: 18px;
    text-align: center!important;
    margin-top: 2px;
    position: absolute;
    
}

.woocommerce-cart-wrap a.remove:before {
    content:'x';
    margin: 0;
    position: relative;
    top: -1px;
}

.woocommerce-cart-wrap .product-remove a:hover { background: #f4524d;}

.woocommerce-cart-wrap .product-remove a:active {border-color: #f4524d; background: #fff; color: #f4524d;}

    /*cart and product page qty field*/

.product div.summary .quantity input.qty:not(:read-only), 
.dhvc-woocommerce-page .quantity input.qty:not(:read-only), 
.the7-elementor-widget .quantity input.qty:not(:read-only), 
.the7-cart-form .quantity input.qty:not(:read-only) { border-left: 1px solid rgba(51, 51, 51, 0.11); border-right: 1px solid rgba(51, 51, 51, 0.11);}

.woocommerce-cart-wrap .quantity button.minus.is-form, 
.woocommerce-variation-add-to-cart .quantity button.minus.is-form, 
.product .quantity button.minus.is-form { border-right: none;}

.woocommerce-cart-wrap .quantity button.plus.is-form, 
.woocommerce-variation-add-to-cart .quantity button.plus.is-form, 
.product .quantity button.plus.is-form { border-left: none;}

.woocommerce-cart-wrap .quantity button.minus.is-form:hover, 
.woocommerce-variation-add-to-cart .quantity button.minus.is-form:hover, 
.product .quantity button.minus.is-form:hover {color: #f4524d;}

.woocommerce-cart-wrap .quantity button.plus.is-form:hover, 
.woocommerce-variation-add-to-cart .quantity button.plus.is-form:hover, 
.product .quantity button.plus.is-form:hover {color: #4da04d;}

/* Product Page */

.product form.cart div.quantity, .product form.cart .button { height: 35px!important;}

.product form.cart .button { min-height: inherit; font-size: 14px; line-height 30px; padding: 5px 24px; box-sizing: border-box; border-radius: 20px;}

/* Home page */

@media (max-width: 1280px) {
	.contact-form-container > .vc_column-inner {
		padding-left: 50px!important;
	}
}

@media (max-width: 778px) {
	.contact-form-container > .vc_column-inner {
		padding-left: 25px!important;
	}
}

/* Cart page */
.woocommerce-cart .update-cart-button {
	display: none;
}


@media (max-width: 990px) {
	.cart-footer .coupon {
		padding-right: 0;
		width: 100%;
	}
	
	.cart-footer .coupon .wc-coupon-field{
		flex-grow: 1;
		margin-right: 15px!important;
	}
		
	.cart-footer .coupon .wc-coupon-field input {
		width: 100%;
	}
	
	.shop_table td.actions {
		padding: 30px 0 0!important;
	}
	
	.checkout-page-title .checkout-breadcrumbs > a {
		font-size: 22px;
	}
	
	nav.checkout-breadcrumbs {
		padding: 0 20px!important;
	}
}

@media (max-width: 480px) {
	.woocommerce-cart .woocommerce-cart-wrap .cart-collaterals, .woocommerce .wc-order-review {
		padding: 20px!important;
	}
}

/* Checkout page */
.woocommerce-checkout .woocommerce form.checkout {
	justify-content: center;
}
@media(min-width: 1150px) {
	.woocommerce-checkout .the7-woocommerce-checkout #customer_details {
		width: calc(100% - 50% - 60px);
	}
}

@media(max-width: 1150px) {
	.woocommerce-checkout .the7-woocommerce-checkout #customer_details {
		width: calc(100% - 50% - 60px);
	}
}

@media(max-width: 990px) {
	.woocommerce-checkout .the7-woocommerce-checkout #customer_details {
		width: 100%;
	}
}


/* Footer */
@media (max-width: 990px) {
	footer .bottom-text-block {
	margin-top: 12px;
}
}
