/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/

/* Local fonts */



/* Header */

.icon-search {
	padding-top: 4px !important;
}

.main-navigation .menu-bar-item>a {
    line-height: 20px  !important;
}

@media(max-width: 768px) {
	.navigation-branding, .mobile-header-navigation.has-menu-bar-items .mobile-header-logo {
	padding-left: 5px  !important;
	padding-right: 5px  !important;
	background-color: var(--base-2)  !important;
	margin-left: 0 !important;
	}
	
	.mobile-header-navigation.has-menu-bar-items .mobile-header-logo 	{
    margin-right: 10px !important;
	}
	
	.main-navigation .menu-bar-item > a 
	{
		padding-left: 0 !important;
		padding-right: 0 !important;
		line-height: 25px !important;
	}
	
	.main-navigation .main-nav ul li a {
		line-height: 50px !important;
	}
	
	.menu-toggle {
		line-height: 80px;
	}
	
	/* .main-navigation .inside-navigation { */
		/* justify-content: start !important; */
	/* } */
	
	/* .main-navigation.has-branding .menu-toggle { */
		/* padding-right: 0 !important; */
	/* } */
	
	/* .menu-toggle { */
		/* padding-left: 0 !important; */
	/* } */
}



/* Breadcrumbs */

.rank-math-breadcrumb p {
	margin-bottom: 0;
}



/* Fix background wrapper for sub-items set in Customizer is not working on front-end */
.main-navigation .main-nav ul li.current-menu-ancestor ul li[class*="current-menu-"]:not(:hover) > a {
    background-color: inherit;
    color: inherit;
}



/* Full width images - !!! style should be added to container, not to image  */
@media(max-width: 768px) {
	.entry-content .full-width-image .wp-block-image, .mgl-justified-container, .entry-content .full-width-image .gb-block-image {
		margin-left: calc(-100vw / 2 + 100% / 2);
		margin-right: calc(-98.8vw / 2 + 100% / 2);
		max-width: 100vw;
		width: auto;
	}

	 .entry-content .full-width-image .wp-block-image img, .mgl-justified .mgl-item img, .entry-content .full-width-image .gb-block-image img { 
		width: 100%; 
		/* margin-bottom: 3px; */
	}
}

/* Full width blocks */
.product-single-wrapper .full-width-block, .products-page-wrapper .full-width-block {
	margin-left: calc(-100vw / 2 + 100% / 2) !important;
	margin-right: calc(-98.8vw / 2 + 100% / 2) !important;
	max-width: 100vw !important;
	width: auto !important;
}	


/* Forms */

.nf-form-wrap {
	color: var(--contrast) !important;
}

.nf-field-label {
	color: var(--contrast-3) !important;	
}

.nf-form-content {
    padding-top: 0px !important;
		padding-bottom: 0px !important;
}

.nf-input-limit {    
    margin-top: 0px !important;
}

.nf-field-container {    
    margin-bottom: 20px !important;
}

@media(max-width: 768px) {
	.nf-field-container {    
		margin-bottom: 20px !important;
	}
	
	.submit-wrap {
		text-align: center;
	}
}

.nf-form-content label {
    font-size: 14px !important;   
}

.nf-form-content .label-above .nf-field-label {
	margin-bottom: 5px !important;
}

.nf-form-content .ninja-forms-field {
	font-size: 14px !important;
	line-height: 14px;
}

.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content input.ninja-forms-field, .nf-form-content select.ninja-forms-field:not([multiple]) {
    height: 40px !important;
} 

.nf-form-content .list-select-wrap>div div:after {    
    font-size: 16px !important;    
    height: 40px !important;
    line-height: 40px !important;
}

.nf-form-content input[type=submit], .nf-form-content input[type=submit] {
    border-radius: 4px !important;
	/* background-color: var(--dark-red) !important; */
	color: var(--base-2) !important;	
	padding: 0 30px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.1em;	
}

.nf-form-content textarea.ninja-forms-field {
    height: 100px !important;
}

.submit-container {
	margin-bottom: 0px !important;
}

/* !!! */
 .ninja-forms-form-wrap * {
	border-radius: 5px !important;
}

/* .nf-form-content input[type=submit]:hover, .nf-form-content input[type=submit]:hover {     */
	/* background-color: var(--red) !important;		 */
/* } */

.nf-form-content .list-select-wrap .nf-field-element > div:focus, .nf-form-content input:not([type="button"]):focus, .nf-form-content textarea:focus {  
	color: var(--contrast-3) !important;
}

.nf-form-content select.ninja-forms-field {
    color: var(--contrast-3) !important;
}

.alex-form-name .nf-input-limit, .alex-form-company-name .nf-input-limit, .alex-form-phone .nf-input-limit, .alex-form-message .nf-input-limit {
	display: none;
}


/* Back to top button margins for tablet and mobile */

.generate-back-to-top {    
		bottom: 12px !important;
		right: 12px !important;    
		width: 35px !important; 
		line-height:  35px !important;		
	}

@media (max-width: 1024px) {
	.generate-back-to-top {    
		bottom: 10px !important;
		right: 10px !important;    
		width: 30px !important; 
		line-height:  30px !important;
	}
}

@media (max-width: 768px) {
	.generate-back-to-top {    
		bottom: 10px !important;
		right: 12px !important;    
		width: 25px !important; 
		line-height:  25px !important;
	}
}


/* Cookie Notice - Complianz */

/* @media (max-width: 1024px) { */
	/* .cmplz-manage-consent { */
		/* display: none !important; */
	/* } */
/* } */

/* In admin panel Complianz CSS */
/* :root { */
	/* --cmplz-manage-consent-offset: -28px; */
	/* --cmplz-manage-consent-height: 35px; */
/* } */

/* #cmplz-manage-consent .cmplz-manage-consent{ */
    /* right: 10px; */
    /* padding-top: 0px; */
    /* padding-bottom: 0px; */
/* }  */


/*--------------------------------------------------------------
# Table
--------------------------------------------------------------*/

.wp-block-table {
    margin-bottom: 25px;
	margin-top: 10px;	
}

/* Remove table bottom caption and margin, add radius */
.wp-block-table table {
    margin-bottom: 0;
}






/* Adjusting styles */

.gb-highlight {
    box-shadow: 0px -3px 0px #ff6606 inset;
}

.alex-margin-top-10 {
	margin-top: 10px;	
}

.alex-padding-top-10 {
	padding-top: 10px;	
}

.alex-margin-top-20 {
	margin-top: 20px;	
}

.alex-margin-top-30 {
	margin-top: 30px;	
}

.alex-margin-bottom-0 {
	margin-bottom: 0px;	
}

.alex-margin-bottom-10 {
	margin-bottom: 10px;	
}

.alex-margin-bottom-15 {
	margin-bottom: 15px;	
}

.alex-margin-bottom-20 {
	margin-bottom: 20px;	
}

.alex-margin-top-minus-10 {
	margin-top: -10px;	
}

.alex-margin-top-minus-20 {
	margin-top: -20px;	
}

.alex-remove-uppercase {
	text-transform: none;
}

.alex-add-uppercase {
	text-transform: uppercase;
}

.alex-font-size-26 {
	font-size: 26px;
}

.alex-font-size-26 {
	font-size: 20px;
}

.alex-spacer-margin-0 {
	height: 0px;
}

.alex-line-height-1-8 {
	line-height: 1.8;
}

/* .alex-underline-orange span { */
    /* text-decoration: underline; */
	/* color: #ff6606; */
/* } */

.alex-safari-invisible-font-fix-base-2 {
	-webkit-text-fill-color: rgba(255, 255, 255, 1); 
	-webkit-opacity: 1;
}

/* .alex-text-stroke-white { */
	/* -webkit-text-stroke: 3px white; */
/* } */



