/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Tags: translation-ready,accessibility-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.3.6.1759297289
Updated: 2025-10-01 15:41:29

*/

#main-header {
  display: block !important;
}

.entry-hero.page-hero-section .entry-header {
	min-height: 75px !important;
}

/* Anchor to the avatar-login container */
.site-top-header-inner-wrap .avatar-login {
  position: relative; /* make this the anchor */
  display: inline-block;
}

/* SSAA logo */
.site-top-header-inner-wrap .avatar-login::before {
  content: "";
  position: absolute;
  top: 60%;
  right: 280%;        /* exactly left of avatar */
  margin-right: 12px; /* spacing */
  transform: translateY(-50%);
  transform: rotate(-18deg);
  width: 85px;
  height: 85px;
  background: url("https://staging-2025.ppla.au/wp-content/uploads/2025/10/ssaa.png") no-repeat center;
  background-size: contain;
}

/* IPSC logo */
.site-top-header-inner-wrap .avatar-login::after {
  content: "";
  position: absolute;
  top: 40%;
  right: calc(195% + 152px); /* further left */
  transform: translateY(-50%);
  transform: rotate(25deg);
  width: 85px;
  height: 85px;
  background: url("https://staging-2025.ppla.au/wp-content/uploads/2025/10/ipsc.png") no-repeat center;
  background-size: contain;
}

/* Row 1 (logo/title/avatar row) */
.site-top-header-wrap {
  background: 
    url('https://staging-2025.ppla.au/wp-content/uploads/2025/10/bullet-hole.png') no-repeat center center,
	linear-gradient(to right, #ffffff, #004400);
  background-size: 200px auto, 100% 100%;
}

/* Shield the logo container so splatter doesn’t overlap */
.site-branding {
  display: inline-block;
  padding: 5px; /* optional */
}

/* Row 2 (main nav bar) */
.header-row-2 {
  background: #fff;
}

/* Avatar Login Dropdown for Kadence */
.avatar-login {
    position: relative;
    display: inline-block;
}

.site-header-item > .header-html:has(.avatar-login) {
    align-self: flex-start !important;
}

.site-header-item > .search-toggle-open-container {
    align-self: flex-start !important;
}

.avatar-dropdown img {
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border: 2px solid var(--global-palette3, #ddd);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hide menu by default */
.avatar-dropdown .avatar-menu {
    display: none;
    position: absolute;
    top: 85%; /* directly under the avatar */
    right: 0;
    background: #040;
    border: 1px solid var(--global-palette3, #ddd);
    border-radius: 6px;
    list-style: none;
    margin: 8px 0 0 0;
    padding: 6px 0;
    min-width: 150px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.avatar-dropdown.active .avatar-menu {
    display: block;
}

.avatar-dropdown .avatar-menu li {
    margin: 0;
    padding: 0;
}

.avatar-dropdown .avatar-menu li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    color: #ffff00;
    transition: background 0.2s ease, color 0.2s ease;
}

.avatar-dropdown .avatar-menu li a:hover {
    background: #020;
    color: #ffff00;
}

.introday-button-wrapper {
    text-align: left;
    margin: 20px 0;
}
.introday-button-wrapper .introday-btn {
    display: table;
    text-align: center;
    margin: 0px auto;
    background-color: #004400;
    color: #ffff00 !important;
    padding: 12px 28px;
    border-radius: 15px;
    text-decoration: none !important;
    font-weight: bold;
    transition: background-color 0.3s ease, opacity 0.5s ease;
}
.introday-btn:hover {
    background-color: #006600;
    text-decoration: none !important;
}
.introday-btn.disabled {
    background-color: #cccccc;
    color: #666666 !important;
    pointer-events: none;
    cursor: not-allowed;
}

div.ff-el-group ul li, div.ff_t_c {
	text-align: left; 	
	padding-left: 10px !important;
}

@media (max-width: 1200px) {
  #main-header {
    display: block !important;
  }
  .site-mobile-header-wrap {
    display: none !important; /* hides the injected duplicate */
  }
}

@media (max-width: 1200px) {
  .avatar-login::before,
  .avatar-login::after {
    display: none;  /* just removes the logo */
  }
}

