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


/* Force 100% zoom on every browser – safe & clean */
/* body { zoom: 1 !important; } */

@media (min-width: 769px) {
    body {
        zoom: 90%;
    }
}


/* force Ad to not exceed sidebar */
.ad-container {
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}

.ad-container iframe {
  max-width: 100%;
}



/*.video-note {
    color: #ffffff;
    font-size: 17px;*/
	
/* hide Native banner Ad on mobile */
@media (max-width: 768px) {
    aside#custom_html-36 {
        display: none !important;
    }
}  

/* hide 728x90 banner Ad on mobile */
@media (max-width: 768px) {
    aside#custom_html-40 {
        display: none !important;
    }
}  


/* hide Left Sidebar banner Ad on mobile */
@media (max-width: 768px) {
    aside#custom_html-37 {
        display: none !important;
    }
}  





	.footer-widgets .widget-title {
    text-align: center;
}



/* Hide home page post on mobile */
@media (max-width: 767px) {
    #post-17 {
        display: none !important;   /* completely removes it from layout */
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Hide Ad and its space on mobile */
@media (max-width: 767px) {
    .desktop-only-ad .inside-left-sidebar  {
        display: none !important;   /* removes it from layout */
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
	}
}

/* Hide the entire left-sidebar widget and its space on mobile */
@media (max-width: 767px) {
  #custom_html-18  {
    display: none !important;
  }
}

/* Hide the right-sidebar  dektop Pubfuture-Ad widget and its space on mobile */
@media (max-width: 767px) {
  aside#custom_html-25  {
    display: none !important;
  }
}


/* Display Pubfuture Ad 300x50 Footer sticky pf-22788-1   Mobile Footer Only*/
.mobile-footer-only {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-footer-only {
        display: none !important;
    }
}

@media (max-width: 768px) {
    div#pf-22788-1.PUBFUTURE  {
        display: none !important;
    }
}



/* ==================== MAIN NAVIGATION - SCROLLABLE + CUSTOM SCROLLBAR ==================== */
.main-navigation .inside-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
   
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 2px solid #444444;
    padding: 10px;
    background-color: #000000;
    border-radius: 6px;
   
    /* Firefox: darker thumb → brighter on hover */
    scrollbar-width: auto;
    scrollbar-color: #f39c12 #333;   /* REVERSED */
}

/* WebKit browsers */
.main-navigation .inside-navigation::-webkit-scrollbar {
    width: 15px;
}
.main-navigation .inside-navigation::-webkit-scrollbar-track {
    background: #000000;
    border-left: 1px solid #333;
}
.main-navigation .inside-navigation::-webkit-scrollbar-thumb {
    background-color: #f39c12;     /* Darker gold by default */
    border-radius: 6px;
    border: 1px solid #000;
}
.main-navigation .inside-navigation::-webkit-scrollbar-thumb:hover {
    background-color: #f1c40f;     /* Bright gold on hover → REVERSED */
}



/* ==================== SECONDARY NAVIGATION - SCROLLABLE + CUSTOM SCROLLBAR ==================== */
.secondary-navigation .inside-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
  
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 2px solid #444444;
    padding: 10px;
    background-color: #000000;
    border-radius: 6px;
  
    /* Firefox: darker thumb → brighter on hover */
    scrollbar-width: auto;
    scrollbar-color: #f39c12 #333; /* REVERSED */
}

/* WebKit browsers - Secondary Menu */
.secondary-navigation .inside-navigation::-webkit-scrollbar {
    width: 15px;
}

.secondary-navigation .inside-navigation::-webkit-scrollbar-track {
    background: #000000;
    border-left: 1px solid #333;
}

.secondary-navigation .inside-navigation::-webkit-scrollbar-thumb {
    background-color: #f39c12; /* Darker gold by default */
    border-radius: 6px;
    border: 1px solid #000;
}

.secondary-navigation .inside-navigation::-webkit-scrollbar-thumb:hover {
    background-color: #f1c40f; /* Bright gold on hover → REVERSED */
}

	


/* ================ FINANCIAL SIDEBAR NAV MENU (#nav_menu-8) ============== */

aside#nav_menu-8 {
    display: flex;
    flex-direction: column;
    align-items: flex-st;
    justify-content: flex-start;
   
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 2px solid #555;
    padding: 10px;
    background-color: #000000;
    border-radius: 6px;
   
    /* Firefox scrollbar */
    scrollbar-width: auto;
    scrollbar-color: #f39c12 #333;
}

/* WebKit scrollbar */
aside#nav_menu-8::-webkit-scrollbar { width: 15px; }
aside#nav_menu-8::-webkit-scrollbar-track {
    background: #000000;
    border-left: 1px solid #555;
}
aside#nav_menu-8::-webkit-scrollbar-thumb {
    background-color: #f39c12;
    border-radius: 6px;
    border: 1px solid #333;
}
aside#nav_menu-8::-webkit-scrollbar-thumb:hover {
    background-color: #f1c40f;
}

/* Menu items - black background */
aside#nav_menu-8 .menu,
aside#nav_menu-8 ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
aside#nav_menu-8 .menu-item {
    background-color: #000000;
    margin-bottom: 2px;
}
aside#nav_menu-8 .menu-item a {
    display: block;
    padding: 8px 12px;
    color: #f1c40f;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.25s ease;
}

/* Hover / tap / current page = red background + white text */
aside#nav_menu-8 .menu-item a:hover,
aside#nav_menu-8 .menu-item a:focus,
aside#nav_menu-8 .menu-item a:active,
aside#nav_menu-8 .menu-item.current-menu-item a,
aside#nav_menu-8 .menu-item.current-menu-ancestor a {
    background-color: #ff0000 !important;
    color: #ffffff !important;
}

/* Never hide the sidebar menu on mobile - always visible */
@media (max-width: 768px) {
    aside#nav_menu-8 {
        max-height: 300px  !important;  /* always open */
        padding: 10px !important;
        border: 2px solid #555 !important;
        overflow-y: auto;
    }

}







/* Hide custom HTML INVESTING widget on screens smaller than 768px (typical mobile) */
@media only screen and (max-width: 768px) {
    aside#custom_html-15, aside#text-14{
        display: none !important;
    }
}





/* Financial Menu Styles */
.financial-menu {
  width: 100%;
  background: #000000;
  color: #f1c40f;
  font-family: inherit;
	text-align: left;
}

.menu-icon {
  display: block;
  text-align: center;   /* centers the icon + text inside the label */
  margin: 0 auto;       /* centers the label itself */
  cursor: pointer;
  font-size: 21px;
  padding: 10px;
}


/* Scrollable wrapper for desktop */
.financial-menu .menu-wrapper {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 2px solid #444444;
  border-radius: 6px;
  background-color: #000000;
  padding: 0;

  scrollbar-width: auto;        /* Firefox scrollbar */
  scrollbar-color: #f39c12 #333;
}

/* WebKit scrollbar */
.financial-menu .menu-wrapper::-webkit-scrollbar {
    width: 12px;
}
.financial-menu .menu-wrapper::-webkit-scrollbar-track {
    background: #000000;
    border: 2px solid #444444;
}
.financial-menu .menu-wrapper::-webkit-scrollbar-thumb {
    background-color: #f39c12;
    border-radius: 6px;
    border: 1px solid #000;
}
.financial-menu .menu-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: #f1c40f;
}

/* Menu Title */
.financial-menu .menu-title {
  color: #f39c12;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  padding: 10px 0;
	text-align: center;
}

/* Menu list styling */
.financial-menu .menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* REMOVE ALL SPACING BETWEEN MENU ITEMS */
.financial-menu .menu-list li {
  width: 100%;
  margin: 0 !important;   /* <–– NEW FIX */
}

.financial-menu .menu-list li a {
  display: block;
  padding: 15px 20px;
  color: #f1c40f;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

/* Hover effect */
.financial-menu .menu-list li a:hover {
  background-color: #ff0000;
  color: #ffffff;
}

#menu-toggle {
  display: none;
}

.financial-menu .menu-icon {
  display: none;
  font-size: 21px;
  padding: 15px 20px;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
  /* Hide title by default */
  .financial-menu .menu-title {
    display: none;
  }

  /* Show title when menu is open */
  #menu-toggle:checked + .menu-icon + .menu-wrapper .menu-title {
    display: block;
  }

  .financial-menu .menu-wrapper {
    max-height: none;
    border: none;
    background: #000000;
  }

  .financial-menu .menu-list {
    display: none;
    width: 100%;
    flex-direction: column;
  }

  #menu-toggle:checked + .menu-icon + .menu-wrapper .menu-list {
    display: flex;
  }

  .financial-menu .menu-icon {
    display: block;
  }

  .financial-menu .menu-list li {
    border: 1px solid #444;  /* kept */
    margin: 0 !important;    /* ensures theme margin is overridden */
  }
}



