/* =========================================
   IBL - HELIX ULTIMATE WEBSITE TEMPLATE CSS
========================================= */

/* Main Body - Adjust Padding */
#sp-main-body {padding: 5px 0px 0px 0px!important;}

/* IBL - Module Title Backgrounds */
.sp-module .sp-module-title {
    display: block;
    background: linear-gradient(90deg, #031747, #0558ec);
    color: #ffffff !important;
    padding: 12px 15px !important;
    margin: 0 0 15px !important;
    border-left: 25px solid #00bfff;
    text-transform: uppercase;
}

/* DESKTOP SLIDESHOW - PULL UP 35PX */
@media (min-width: 768px) {
    #sp-front-page-images-desktop {
        margin-top: -35px !important;
    }
}

/* MOBILE SLIDESHOW - PUSH DOWN 15PX */
@media (max-width: 767px) {
    #sp-front-page-images-desktop-mobile {
        margin-top: 15px !important;
    }
}

/* =========================================
   IBL - HELIX ULTIMATE HEADER & NAVIGATION
========================================= */

/* Move offcanvas menu 50px to the right */
#sp-header #offcanvas-toggler {
position: relative;
left: 65px !important;
}

/* Move logo right 50px and down 20px */
#sp-header .logo {
position: relative;
left: 65px !important;
top: 10px !important;
}

/* Left-align main navigation */
#sp-menu > .sp-column,
#sp-menu .sp-megamenu-wrapper {
justify-content: flex-start !important;
}

.sp-megamenu-parent {
margin-left: 0 !important;
 margin-right: auto !important;
float: none !important;
}

/* Uppercase main navigation */
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
    text-transform: uppercase !important;
}

/* Dropdown menu typography */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > span {
    font-size: 18px !important;
    font-weight: 700!important;
    text-transform: capitalize !important;
}


/* Mega Menu - Teams Dropdown */
.sp-megamenu-parent .sp-mega-group > li > a {
    display: block;
    text-transform: capitalize !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 10px;
}

/* Underline menu item on hover */
.sp-megamenu-parent .sp-mega-group > li > a:hover {
    text-decoration: underline !important;
    text-underline-offset: 4px;
    text-decoration-thickness: 3px;
}

/* Mega Menu - Underline hover and active items */
.sp-megamenu-parent .sp-dropdown .sp-menu-item > a:hover,
.sp-megamenu-parent .sp-dropdown .sp-menu-item.active > a {
    text-decoration: underline !important;
    text-underline-offset: 4px;
    text-decoration-thickness: 3px;
}

/* Mobile and tablet devices */
@media (max-width: 991.98px) {

    /* Hide logo */
    #sp-header .logo {
        display: none !important;
    }

    /* Uppercase offcanvas menu */
    .offcanvas-menu .offcanvas-inner ul.menu > li > a,
    .offcanvas-menu .offcanvas-inner ul.menu > li > span {
        text-transform: uppercase !important;
    }

    /* Mobile dropdown menu typography */
    .offcanvas-menu .offcanvas-inner ul.menu ul li > a,
    .offcanvas-menu .offcanvas-inner ul.menu ul li > span {
        font-size: 16px !important;
        text-transform: capitalize !important;
    }
}

/* ========================================
   IBL - MEGA MENU LEAGUE & TEAM LOGOS
======================================== */

/* Logo size, spacing and alignment */
.sp-megamenu-parent .sp-dropdown a[href*="/teams/"]::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Impact Basketball League */
.sp-megamenu-parent a[href*="/teams/teams-page"]::before {
    background-image: url('/images/league/logos/Impact-Basketball-League-Logo.png');
}

/* Arizona Skyhawks */
.sp-megamenu-parent a[href*="/teams/arizona-skyhawks"]::before {
    background-image: url('/images/league/logos/az-skywalkers.png');
}

/* Iowa Warhawks */
.sp-megamenu-parent a[href*="/teams/iowa-warhawks"]::before {
    background-image: url('/images/league/logos/iowa-warhawks.png');
}

/* Omaha Kingdom */
.sp-megamenu-parent a[href*="/teams/omaha-kingdom"]::before {
    background-image: url('/images/league/logos/omaha-kingdom.png');
}

/* Phoenix Surge */
.sp-megamenu-parent a[href*="/teams/phoenix-surge"]::before {
    background-image: url('/images/league/logos/phoenix-surge.png');
}

/* St. Louis Silverbacks */
.sp-megamenu-parent a[href*="/teams/st-louis-silverbacks"]::before {
    background-image: url('/images/league/logos/st-louis-silverbacks.png');
}

/* Wichita Keepers */
.sp-megamenu-parent a[href*="/teams/wichita-keepers"]::before {
    background-image: url('/images/league/logos/wichita-keepers.png');
}

/* Gilbert */
.sp-megamenu-parent a[href*="/teams/gilbert"]::before {
    background-image: url('/images/league/logos/temp.png');
}

/* Las Vegas */
.sp-megamenu-parent a[href*="/teams/las-vegas"]::before {
    background-image: url('/images/league/logos/temp.png');
}

/* HBL - Responsive Red Divider */
.hbl-blue-divider {
    width: 100%;
    height: 25px;
    background-color: #00ccff;
    margin: 0;
    padding: 0;
}

/* Remove Module Position Spacing */
#sp-blue-divider,
#sp-blue-divider .sp-module {
    margin: 0 !important;
    padding: 0 !important;
}

/* ==================================================
   IMPACT BASKETBALL LEAGUE
   HELIX ULTIMATE HEADER & MEGA MENU
================================================== */

/* MAIN HEADER - GRADIENT & ANGLED STREAKS */
#sp-header {
    background:
        repeating-linear-gradient(
            135deg,
            transparent 0px,
            transparent 70px,
            rgba(0, 130, 255, .08) 71px,
            rgba(0, 130, 255, .08) 85px,
            transparent 86px,
            transparent 110px
        ),
        linear-gradient(
            110deg,
            #020408 0%,
            #06162f 50%,
            #00418e 100%
        ) !important;

    box-shadow:
        inset 0 3px 0 #00ccff,
        inset 0 -4px 0 #ffda24,
        0 5px 15px rgba(0, 0, 0, .25);
}

/* MAIN MENU - TYPOGRAPHY */
#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-decoration: none;
    transition:
        color .25s ease,
        background-color .25s ease,
        box-shadow .25s ease;
}

/* MAIN MENU - HOVER & ACTIVE */
#sp-header .sp-megamenu-parent > li:hover > a,
#sp-header .sp-megamenu-parent > li:hover > span,
#sp-header .sp-megamenu-parent > li.active > a,
#sp-header .sp-megamenu-parent > li.active > span,
#sp-header .sp-megamenu-parent > li > a:focus-visible {
    color: #ffda24 !important;
    background-color: rgba(0, 204, 255, .07);
    box-shadow: inset 0 -4px 0 #00ccff;
}

/* MEGA MENU - DROPDOWN BACKGROUND */
#sp-header .sp-megamenu-parent .sp-dropdown-inner {
    background:
        repeating-linear-gradient(
            135deg,
            transparent 0px,
            transparent 70px,
            rgba(0, 130, 255, .05) 71px,
            rgba(0, 130, 255, .05) 85px,
            transparent 86px,
            transparent 110px
        ),
        linear-gradient(
            135deg,
            #020408 0%,
            #06162f 55%,
            #092b56 100%
        ) !important;

    border: 1px solid #184778;
    border-top: 5px solid #00ccff;
    border-bottom: 5px solid #ffda24;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* DROPDOWN MENU - TYPOGRAPHY */
#sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
#sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item > span,
#sp-header .sp-megamenu-parent .sp-mega-group > li > a,
#sp-header .sp-megamenu-parent .sp-mega-group > li > span {
    display: block;
    color: #ffffff !important;
    text-transform: capitalize !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition:
        color .25s ease,
        background-color .25s ease;
}

/* TEAMS MEGA MENU - EXISTING ROW SPACING */
#sp-header .sp-megamenu-parent .sp-mega-group > li > a {
    margin-bottom: 10px;
}

/* DROPDOWN MENU - HOVER & ACTIVE */
#sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
#sp-header .sp-megamenu-parent .sp-mega-group > li > a:hover,
#sp-header .sp-megamenu-parent .sp-dropdown li.active > a,
#sp-header .sp-megamenu-parent .sp-dropdown a:focus-visible {
    color: #ffda24 !important;
    text-decoration: underline !important;
    background-color: rgba(0, 204, 255, .06);
    border-radius: 4px;
}

/* OFFCANVAS HAMBURGER - WHITE */
#sp-header #offcanvas-toggler .burger-icon > span {
    background-color: #ffffff !important;
    transition: background-color .25s ease;
}

/* OFFCANVAS HAMBURGER - GOLD HOVER */
#sp-header #offcanvas-toggler:hover .burger-icon > span {
    background-color: #ffda24 !important;
}

/* ==================================================
   IBL - OFFCANVAS MENU
================================================== */

/* OFFCANVAS BACKGROUND */
.offcanvas-menu {
    background: linear-gradient(
        145deg,
        #020408 0%,
        #06162f 55%,
        #092b56 100%
    ) !important;
    color: #ffffff !important;
    border-top: 4px solid #00ccff;
}

/* MAIN OFFCANVAS MENU ITEMS */
.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(0, 204, 255, .15);
}

/* OFFCANVAS SUBMENU ITEMS */
.offcanvas-menu .offcanvas-inner ul.menu ul li > a,
.offcanvas-menu .offcanvas-inner ul.menu ul li > span {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
}

/* OFFCANVAS HOVER & ACTIVE */
.offcanvas-menu .offcanvas-inner ul.menu li > a:hover,
.offcanvas-menu .offcanvas-inner ul.menu li.active > a,
.offcanvas-menu .offcanvas-inner ul.menu li > a:focus-visible {
    color: #ffda24 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* OFFCANVAS EXPAND & COLLAPSE ICONS */
.offcanvas-menu .menu-toggler {
    color: #00ccff !important;
}

/* OFFCANVAS CLOSE BUTTON */
.offcanvas-menu .close-offcanvas {
    color: #ffffff !important;
    border-color: #00ccff !important;
}

/* ==================================================
   IBL - OFFCANVAS MENU QUERY'S
================================================== */

@media (max-width: 575px) 
    {
        #sp-header {height: 80px!important; }
        #offcanvas-toggler {margin-top: 15px!important;}
        }

@media (max-width: 991px) 
    {
        #sp-header {height: 80px!important;}
        #offcanvas-toggler {margin-top: 15px!important;}
        }


/* ==================================================
   IMPACT BASKETBALL LEAGUE
   CONVERT FORMS - REGISTRATION FORM
   Joomla / Helix Ultimate / MightySites
   Website: iblnow.com
   Class Suffix: ibl-registration
   ================================================== */

/* BRANDING VARIABLES */

.convertforms.ibl-registration {
    --reg-primary: #00ccff;
    --reg-secondary: #00418e;
    --reg-dark: #020408;
    --reg-background: #06162f;
    --reg-heading: #ffda24;
    --reg-text: #ffffff;
    --reg-muted: #d0dfef;
    --reg-button-text: #ffffff;
    --reg-hover-text: #111111;
    --reg-focus: rgba(0, 204, 255, 0.25);

    --accent-color: var(--reg-primary) !important;
    --color-primary: var(--reg-primary) !important;
    --label-color: var(--reg-text) !important;
    --text-color: var(--reg-text) !important;
    --input-color: #111111 !important;
}

/* FORM CONTAINER */

.convertforms.ibl-registration {
    background: linear-gradient(
        135deg,
        var(--reg-dark) 0%,
        var(--reg-background) 55%,
        #0a2850 100%
    ) !important;

    border: 2px solid var(--reg-primary) !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--reg-text) !important;
    font-family: inherit;
    font-size: 16px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* FORM WRAPPERS */

.ibl-registration form,
.ibl-registration .cf-form-wrap,
.ibl-registration .cf-content-wrap,
.ibl-registration .cf-fields,
.ibl-registration .cf-header,
.ibl-registration .cf-footer {
    background: transparent !important;
}

.ibl-registration .cf-form-wrap {
    padding: clamp(15px, 3vw, 30px) !important;
    box-sizing: border-box;
}

/* FORM HEADINGS */

.ibl-registration h1,
.ibl-registration h2,
.ibl-registration h3,
.ibl-registration h4,
.ibl-registration h5,
.ibl-registration h6 {
    color: var(--reg-heading) !important;
    font-weight: 700 !important;
    line-height: 1.3;
}

.ibl-registration h1,
.ibl-registration h2 {
    text-transform: uppercase;
}

/* PARAGRAPHS AND CONTENT */

.ibl-registration p,
.ibl-registration .cf-content-text {
    color: var(--reg-text) !important;
    line-height: 1.5;
}

/* HORIZONTAL DIVIDERS */

.ibl-registration hr {
    border: 0;
    border-top: 1px solid var(--reg-primary);
    opacity: 0.65;
    margin: 20px 0;
}

/* FIELD LABELS */

.ibl-registration label,
.ibl-registration .cf-label,
.ibl-registration .cf-label-text {
    color: var(--reg-text) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4;
}

/* REQUIRED FIELD INDICATORS */

.ibl-registration .cf-required-label {
    color: var(--reg-heading) !important;
    font-weight: 700 !important;
}

/* FIELD DESCRIPTIONS */

.ibl-registration .cf-control-input-desc,
.ibl-registration .cf-description,
.ibl-registration .cf-help-text {
    color: var(--reg-muted) !important;
    font-size: 14px !important;
    line-height: 1.4;
}

/* FIELD CONTAINERS */

.ibl-registration .cf-control-group,
.ibl-registration .cf-control-input {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* TEXT FIELDS, DROPDOWNS AND TEXT AREAS */

.ibl-registration input.cf-input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="range"]):not([type="button"]):not([type="reset"]),
.ibl-registration select.cf-input,
.ibl-registration textarea.cf-input {
    background-color: #ffffff !important;
    color: #111111 !important;
    border: 2px solid var(--reg-primary) !important;
    border-radius: 5px !important;
    padding: 11px 12px !important;
    font-family: inherit;
    font-size: 16px !important;
    line-height: 1.4 !important;
    min-height: 46px;
    max-width: 100%;
    box-shadow: none !important;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* TEXT AREA */

.ibl-registration textarea.cf-input {
    min-height: 120px;
    resize: vertical;
}

/* DROPDOWN OPTIONS */

.ibl-registration select option {
    background-color: #ffffff;
    color: #111111;
}

/* PLACEHOLDER TEXT */

.ibl-registration .cf-input::placeholder {
    color: #666666 !important;
    opacity: 1;
}

/* ACTIVE INPUT FIELDS */

.ibl-registration .cf-input:focus {
    border-color: var(--reg-heading) !important;
    box-shadow: 0 0 0 3px var(--reg-focus) !important;
    outline: 2px solid var(--reg-heading);
    outline-offset: 1px;
}

/* CHECKBOXES AND RADIO BUTTONS */

.ibl-registration input[type="checkbox"],
.ibl-registration input[type="radio"] {
    accent-color: var(--reg-primary);
    cursor: pointer;
}

.ibl-registration .cf-radio label,
.ibl-registration .cf-checkbox label {
    color: var(--reg-text) !important;
    white-space: normal;
}

/* FILE UPLOAD */

.ibl-registration input[type="file"] {
    color: var(--reg-text) !important;
    max-width: 100%;
}

.ibl-registration input[type="file"]::file-selector-button {
    background: var(--reg-secondary);
    color: #ffffff;
    border: 1px solid var(--reg-primary);
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
}

/* FORM LINKS */

.ibl-registration a {
    color: var(--reg-heading) !important;
    text-decoration: underline;
}

.ibl-registration a:hover {
    color: #ffffff !important;
}

/* SUBMIT BUTTON */

.ibl-registration button[type="submit"],
.ibl-registration input[type="submit"] {
    background: linear-gradient(
        135deg,
        var(--reg-secondary),
        var(--reg-background)
    ) !important;

    color: var(--reg-button-text) !important;
    border: 2px solid var(--reg-primary) !important;
    border-radius: 5px !important;
    padding: 14px 25px !important;
    font-family: inherit;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    max-width: 100%;
    white-space: normal;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* SUBMIT BUTTON HOVER */

.ibl-registration button[type="submit"]:not(:disabled):hover,
.ibl-registration input[type="submit"]:not(:disabled):hover {
    background: var(--reg-heading) !important;
    color: var(--reg-hover-text) !important;
    border-color: var(--reg-heading) !important;
}

/* BUTTON FOCUS */

.ibl-registration button:focus-visible,
.ibl-registration input[type="submit"]:focus-visible {
    outline: 2px solid var(--reg-heading);
    outline-offset: 3px;
}

/* DISABLED BUTTON */

.ibl-registration button:disabled,
.ibl-registration input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* VALIDATION ERRORS */

.ibl-registration .cf-invalid .cf-input,
.ibl-registration .cf-input[aria-invalid="true"] {
    border-color: #ff6464 !important;
}

.ibl-registration .cf-error,
.ibl-registration .cf-error-message {
    color: #ff9999 !important;
}

/* SUCCESS MESSAGE */

.ibl-registration .cf-success {
    background: #12391f !important;
    color: #ffffff !important;
    border: 1px solid #53c779;
    border-radius: 5px;
    padding: 15px;
}

/* MOBILE RESPONSIVE */

@media (max-width: 767px) {

    .convertforms.ibl-registration {
        border-radius: 6px !important;
    }

    .ibl-registration .cf-form-wrap {
        padding: 15px !important;
    }

    .ibl-registration h1,
    .ibl-registration h2 {
        font-size: 24px !important;
    }

    .ibl-registration button[type="submit"],
    .ibl-registration input[type="submit"] {
        width: 100% !important;
        font-size: 16px !important;
        padding: 13px 15px !important;
    }
}

/*================================================== */