/*
 Theme Name:   chemway2025
 Template:     generatepress
 Description:  Custom GP child theme for Chemway, Inc.
 Author:       The Write Design LLC
 Author URI:   https://TheWriteDesign.net
 Version:      1.2.0
*/


/* fit footer to bottom always */

/* base functionality */    
body { display: flex; flex-direction: column; align-items: stretch; height: 100vh; }
.site { flex-grow: 1;}

/* fixes */
body.admin-bar { height: calc(100vh - 35px); } /* for logged in users to not have vertical scrolls */
html { height: fit-content; } /* not supported in some browsers but cannot hurt to fit the root too */
.container.grid-container { width: 100%; } /* fix to allow for container width set in customizer to keep working */



/* Header and footer styles live in assets/chemway-layout.css (v1.1.0).
   Old GeneratePress logo and h1 overrides removed so Elementor headings style normally. */

.highlight {color:#008FCE; }

/*back to top more space to accomodate sticky footer */
.generate-back-to-top,
.generate-back-to-top:visited {
    bottom: 80px; /* 30px from the bottom of your screen */
}


/*adjust line height in customizer without changing line height of nav items 
@media (max-width: 768px){
    .main-navigation .main-nav  ul li a{line-height:50px;}
}*/


/* top bar menu spacing 
.top-bar .widget_nav_menu li {
	margin: 5px 15px;
}*/


/* change background color on hamburger and menu dropdown on mobile */

.mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper .menu-toggle:focus, .has-inline-mobile-toggle #site-navigation.toggled  {
     background-color: #0055A5;
     color:#fff !important;
}