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

/* Footer TOP Margin */
.site-footer.footer-bar-active.footer-bar-align-center {
margin-top: 20px;
}

/* Header smaller */

.inside-header {
    padding: 5px 20px;
}

/* REDUCE MENU ITEM HEIGHT */

/* reduce menu item height */
.main-navigation .main-nav ul li a {
  line-height: 35px;
  padding-top: 0;
  padding-bottom: 0;
}

/* No space after Header */

.one-container .site-content {
    padding: 0px 20px;
}

/* Titles Bold */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}


/* BUTTON IN MENU */

/* Button in menu */
.menu-button a {
  background-color: #c8702f;
  color: #ffffff !important;
  border-radius: 4px;
  font-weight: 600;
}

/* hover */
.main-navigation .menu-button a:hover {
  background-color: #a95e28 !important;
  color: #ffffff !important;
  opacity: 1;
}

/* active/current page */
.main-navigation .menu-button.current-menu-item > a,
.main-navigation .menu-button.current_page_item > a {
  background-color: #c8702f !important;
  color: #ffffff !important;
  opacity: 1;
}



/* keep the button from stretching not active right know, but might be usefull
.main-navigation .main-nav ul li.menu-button a {
  line-height: normal;
  padding: 8px 14px;
  display: inline-block;
}


 */




/* MOBILE CTA !!! */

/* hide on desktop */
.mobile-cta {
  display: none;
}

/* show beside hamburger on mobile */
@media (max-width: 768px) {
  .mobile-cta {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    margin-right: 10px;
    order: 2;
  }

  .main-navigation .menu-toggle {
    order: 3;
  }

.mobile-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #c8702f;
    color: #fff !important;
    padding: 10px 10px;       /* controls height */
    font-size: 14px;
    line-height: 1 !important;  /* 🔑 prevents stretching */
    height: auto !important;

    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-cta-link:hover,
  .mobile-cta-link:focus {
    background: #c8702f;
    color: #fff !important;
    opacity: 1;
  }
}


/* Footer TOP Margin */


/* Menu non-clicable footer - added css class in menus */

.non-clickable > a {
  pointer-events: none;
  cursor: default;
  color: inherit;
	text-decoration: none;
}