/*
 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
*/


/* prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
/* end of horizontal scrolling editing */


h4 { line-height:20px !important; }
h2 {
    font-size: 24px !important;
    line-height: 24px !important;
}
.single-post .entry-content {max-width:850px;}
#text-6 .widget-title::after {
    background-color: #e53e24 !important;
}
#text-7 .widget-title::after {
    background-color: #f5bd17 !important;
}
#text-4 .widget-title::after {
    background-color: #61b4e4 !important;
}
#text-3 .widget-title::after {
    background-color: #705191 !important;
}


.cart .single_add_to_cart_button {
    color: #ffffff;
    background-color: #222222 !important;
    -webkit-background-image: none !important;
    -moz-background-image: none !important;
    -ms-background-image: none !important;
    -o-background-image: none !important;
    background-image: none !important;
}
.wc-proceed-to-checkout .checkout-button {
    color: #ffffff;
   background-color: #222222 !important;
    background-image: none !important;
    float: left;
    text-align: center;
    margin-top: 5px !important;
}


/****** heading adjustments --- removing hyphens and adjusting sizing for mobile *******/
h1, h2, h3 {
	hyphens: none;
	line-height: 1.1 !important;
}
@media only screen and (max-width: 600px) {
	h1 {
		font-size: 38px !important;
		
	}
}
/****** end of heading adjustments ******/


/* footer style */
.footer-widgets .widget {
    font-size: 12px;
}
/* end footer style */


/* Removing hyphens from revolution slider */
#rev_slider_19_1{
    hyphens: none;
}


/* fix for top menu formatting */

.main-navigation .main-nav ul ul li > a  {
    display: grid;
    grid-template-columns: auto 35px;
}

/* hide cart when empty */

.mobile-bar-items.wc-mobile-cart-items:not(.has-items),
.main-navigation li.wc-menu-item:not(.has-items) {
    display: none;
}


/* remove author and date from posts */
.entry-meta {
	display: none;
}


/* underline links in paragraphs and lists */
#page p a {
	text-decoration: underline
}
#page li a {
	text-decoration: underline
}


/* removing margin after menu */
.inside-article {
    margin-top: 0;
}


/* fixing product gallery and details widths for mobile */
@media only screen and (max-width: 450px) {
	.single-product .entry-summary {
		width: 100% !important;
	}
	.single-product .woocommerce-product-gallery {
		width: 100% !important;
	}
}

/* Remove space after the banner on pages*/
.inside-article {
	padding-bottom: 0 !important;
}


/* Editing formatting of GoPricing table for flexible pricing */
#go-pricing-table-18382 .woocommerce-Price-currencyCode{
    font-size: 22px;
    vertical-align: text-top;
}
#go-pricing-table-18382 .woocommerce-Price-currencySymbol{
    font-size: 36px;
    vertical-align: text-top;
    margin-right: 4px;
}

/* Adjusting margins for hustle on mobile*/
@media only screen and (max-width: 800px) {
.hustle-inline-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
   min-width: 100% !important;
}
}


/*Fix spacing of entry titles - for blogs*/
.entry-title {
	margin-top: 30px;
}


/*Fix spacing above content (below menu)*/
.entry-content {
	margin-top: 0px;
}


/* Styling for industry specific pages - January 2022 */

.ind-ftr_dev-adpt-illstr img{
    width: 100%;
    max-width: 275px;
}

.ind-ft-landing-0119{

    background-repeat: no-repeat;
    background-size: 1600px;
    background-position: center top;
}

@media only screen and (max-width: 1599px) {
.ind-row-min-height-0119 {
min-height: 75vh;
}
}

@media only screen and (min-width: 1600px) {
.ind-row-min-height-0119 {
min-height: 65vh;
}
}

.ind-row-min-height-0119 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.ind-bp-use-cases-0119{
    margin-left: 20px;
}

.ind-bp-use-cases-0119 li{
    margin-bottom: 20px;
}

.ind-cs-st-0119 .vc_column-inner{
    padding: 0 !important;
    overflow: hidden;
}

.ind-cs-st-0119 .wpb_content_element {
	margin-bottom: 10px !important;
}

.ind-ft-cs-h-0121 {
	font-size: 24px; 
	line-height: 28px;
	font-weight: 600; 
	margin-bottom: 3px;
}

.ind-ft-cs-sub-0121 {
	font-size: 16px; 
	margin-bottom: 10px; 
	margin-top: 0;
}
/* End of styling for industry specific pages */


/* Styling for Nix Tooklit app feature pages - January 2022 */
.ntlk-ftr_cmptb-dev-illstr img{
    width: 100%;
    max-width: 275px !important;
}

.nixtk-ft-landing-0113 {

    background-repeat: no-repeat;
    background-size: 1600px;
    background-position: center top;
    background-color:#000000;
}

@media only screen and (max-width: 1599px) {
.nixtk-row-min-height-0309 {
min-height: 90vh;
}
}

@media only screen and (min-width: 1600px) {
.nixtk-row-min-height-0309 {
min-height: 50vh;
}
}

.img-nixtk-feature-0309 img {
    width: 100%;
    max-width: 400px !important;
}

.device-feature-header_0309 {
    color:white;
    text-align: center;
}

.device-feature-list_0309 {
    color: white;
    text-align: center;
    margin-bottom: 15px;
    line-height: 20px;
}

.ntk-ft-use-cases-0120 {
    margin-left: 20px;
}

.ntk-ft-use-cases-0120 li{
    margin-bottom: 20px;
}

.ntk-ft-use-cases-txt-dvs-0127 {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}
/* End of styling for Nix Tooklit app feature pages */



/* Megamenu editing - May 19, 2022 */

    nav .main-nav .mega-menu > ul {
        /* position: absolute; */
        width: 100%;
        left: 0 !important;
        /* display: flex; (turning this off as it was causing some issues with the hover feature)
        flex-wrap: wrap; */
    }

@media (min-width: 1051px) {
    nav .main-nav .mega-menu {
        position: static;
    }
    
    nav .main-nav .mega-menu>ul>li {
        /* display: inline-block; */
        width: 25%;
        vertical-align: top;
		overflow: hidden;
    }

    nav .main-nav .mega-menu.mega-menu-col-2>ul>li {
        width: 50%;
    }

    nav .main-nav .mega-menu.mega-menu-col-3>ul>li {
        width: 33.3333%;
    }

    nav .main-nav .mega-menu.mega-menu-col-5>ul>li {
        width: 20%;
    }
}

@media (max-width: 1050px) {
   
    nav .main-nav .mega-menu {
        position: static;
        overflow: hidden !important;
    }
    
    nav .main-nav .mega-menu>ul>li {
        /* display: inline-block; */
        width: 100%;
        vertical-align: top;
		overflow: hidden;
    }

    nav .main-nav .mega-menu.mega-menu-col-2>ul>li {
        width: 100%;
    }

    nav .main-nav .mega-menu.mega-menu-col-3>ul>li {
        width: 100%;
    }

    nav .main-nav .mega-menu.mega-menu-col-5>ul>li {
        width: 100%;
    }
    
    nav .menu-item-gtranslate {
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    .sfHover {
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: black;
    }
    
    nav .sf-menu {
        max-height: 80vh;
        overflow: scroll !important;
    }
    
}


    nav .main-nav .mega-menu > ul > li:hover > a,
    nav .main-nav .mega-menu > ul > li:focus > a,
    nav .main-nav .mega-menu > ul > li[class*="current-"] > a,
  	nav .main-nav .mega-menu ul ul {
        /* background-color: transparent !important; */
        color: inherit;
    }	

    nav .main-nav .mega-menu ul .sub-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: 0 0 0;
        left: 0;
        height: auto;
        pointer-events: auto;
        transform: scale(1);
    }

    nav .main-nav .mega-menu ul.toggled-on .sub-menu {
        pointer-events: auto;
    }

    nav .main-nav .mega-menu .sub-menu .menu-item-has-children .dropdown-menu-toggle {
        display: none;
    }
	
	nav .mega-menu .sub-menu {
		margin-top: 1px;
	}
	
	nav .mega-menu .sub-menu .sub-menu {
		padding: 0px 30px 30px 30px;
		overflow: hidden !important;
	}
	
	nav .mega-menu .sub-menu a {
		padding: 5px 0 !important;
		margin: 30px 30px 0 30px !important;
	}
	
	nav .mega-menu .sub-menu .sub-menu li a {
		margin: 0px !important;
		padding-right: 30px !important;
	}
	
	nav .mega-menu .mm-subm-category-0201 a {
		padding-bottom: 8px !important;
		border-bottom-width: 1px;
		border-bottom-color: black;
		border-bottom-style: solid;
		margin-bottom: 8px !important;
	}
	
	nav .mega-menu .mm-subm-category-0201:hover a{
		background-color: white !important;
		color: black !important;
	}
	
	nav .mega-menu .mm-subm-category-0201 .sub-menu a {
		border-bottom-width: 0;
	}
	
	nav .mega-menu .sub-menu .sub-menu li a{
		font-weight: 400;
	}
	
	nav .mega-menu .sub-menu .sub-menu li:hover a{
		color: #000 !important;
		font-weight: 600;
	}
	
	.main-navigation {
		border-bottom-style: solid;
		border-bottom-width: 1px;
		border-bottom-color: black;
	}
	
	nav .mega-menu .sub-menu {
		background-color: #ffffff;
	}
	
	.current-menu-ancestor a{
		color: black !important;
	}
	
	.current-menu-ancestor .current-menu-parent a{
		background-color: white !important;
	}
	
	nav .sfHover a{
		color: black !important;
	}

	nav .menu-item-has-children:hover a {
		color: black !important;
		
	}



/* GTRANSLATE STYLING */
.gt_selector {
    border-radius: 5px;
    border-width: 2px;
    border-color: #000000;
	background-color: #ffffff;
    color: #000000;
    font: Roboto;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 5px 10px 8px;
    width: 110px;
}
@media only screen and (max-width: 1215px) {
	.gt_selector {
		margin-left: 30px;	
	}
}


.search-field {
	color: #000000 !important;
}

.search-item a::before{
	color: #000000 !important;
}

.nav-search-active {
	background-color: rgba(255,255,255,1);
}


/* button for navigation menu call to action */
.main-navigation .main-nav ul li.nav-button a {
    background-color: #ffffff;
	color: #000000;
    border: 2px solid #000000;
	border-radius: 5px;
    line-height: 35px; /*this number will likely need to be adjusted*/
    }
@media (max-width: 1050px) {
	.main-navigation .main-nav ul li.nav-button a {
	    margin: 30px 25px 10px 25px;
	    padding: 0 10px;
	}
}

/*Custom wp bakery button code*/

.vc_btn3-color-btn-custom2{
	
		background-color: #D3FFE5 !important;
	    border: 2px solid #000000 !important;
	    color: #000000 !important;
	    border-radius: 28px !important;
}

.vc_btn3-color-btn-custom2:hover{
	
		background-color: #000000 !important;
	    border: 2px solid #D3FFE5 !important;
	    color: #D3FFE5 !important;
	    border-radius: 28px !important;
}

/*end custom button code */

/* CUSTOM WP BAKERY BUTTON CODE - YELLOW NIX BUTTON -- 2023-08-23 */

.vc_btn3-color-btn-custom3{
		font-size: 14px;
		line-height: 14px;
		font-weight: 600;
		color: #000000 !important;
		background-color: #fddd00 !important;
		border: 2px solid #000000 !important;
	    border-radius: 28px !important;
}
.vc_btn3-color-btn-custom3:hover{
		background-color: #ffffff !important;
}
/* END CUSTOM CODE -- 2023-08-23 */



/* Code for discount font strikethrough and color */

.wpb_wrapper del {
color: red;
font-size: 20px;
text-decoration: line-through;
	font-weight: normal;
}
/* end Code for discount font strikethrough and color */

/* Code for currency font */
span.woocommerce-Price-currencyCode {
		font-size: 20px;
	  font-weight: normal;
}
/* end Code for currency font */



/* footer 2 columns on mobile */

@media (orientation: portrait) {
    .inside-footer-widgets>div {
        float: left;
        width: 50%;
	clear: none;
    }
}


/* REMOVE WIDGET SPACING IN FOOTER */
.site-footer .footer-widgets {
	display :none;
}


/* EDITING THE TOP BANNER BAR */
.top-banner-styling_100423 a:hover {
	color: #fddd00 !important;
}



/* REMOVE CURRENCY CODE FROM WOO SALE PRICES */
/* TESTING */
del .woocommerce-Price-amount bdi .woocommerce-Price-currencyCode {
    display: none !important;
}
del .woocommerce-Price-amount bdi {
    color: #f04e23 !important;
    font-weight: 600 !important;
}
.pp-prod-price-040121 del{
    color: #f04e23 !important;
}