/*=================================================

		CSS for: Australian Music Centre Frontend
		Author: Toby Vervaart
		Company: Australian Music Centre
		Email: info@australianmusiccentre.com.au
		Creation Date: 21.04.2009
		Last Modified: 21.04.2009

=================================================*/

/*=================================================

		GLOBALS
		
=================================================*/

/* CSS Reset
-------------------------------------------------*/

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
th,
var {
    font-style: normal;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before,
q:after {
    content: '';
}

abbr,
acronym {
    border: 0;
}

/* Set 1em == 10px
-------------------------------------------------*/

html {
    font-size: 50%;
}

body {
    font-size: 125%;
}

/*=================================================

		COLOUR & TYPOGRAPHY
		
=================================================*/

body {
    background: #FFF;
    font: normal 12px/16px Arial, Helvetica, sans-serif;
    color: #000;
    text-align: center;
}

/* Headings
-------------------------------------------------*/

h1 {}

h1 a {
    display: block;
    width: 265px;
    height: 102px;
    background: #FFF url("/images/logo.gif") no-repeat top left;
    text-indent: -9999px;
}

h2 {}

h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 45px 0 15px 0;
    clear: both; /* defensive: sit below any floats above */
}

h4 {}

h5 {}

h6 {}

/* Paragraphs & Text
-------------------------------------------------*/

p {}

small {}

/* Lists
-------------------------------------------------*/

ul {}

li {}

ol {}

dl {}

dt {}

dd {}

/* Links
-------------------------------------------------*/

a:link,
a:active,
a:visited {
    color: #107E2B;
}

a:hover {
    color: #045017;
}

/* Rules
-------------------------------------------------*/

hr {
    clear: both;
    margin: 15px 0;
    height: 1px;
    border: 0;
    background: #B5B7B6;
    color: #B5B7B6;
}

/* Forms
-------------------------------------------------*/

fieldset {}

legend {}

form {}

label {}

input,
textarea,
select {
    padding: 2px;
    font-size: 1.2em;
}

input {}

input[type="radio"],
input[type="checkbox"],
input[type="submit"],
input[type="button"] {
    width: auto;
}

textarea {}

select {}

optgroup {}

option {}

/* Tables
-------------------------------------------------*/

table {}

tr {}

thead {}

th,
td {
    padding: 5px;
}

th {}

tbody {}

td {}

tfoot {}

/*=================================================

		STRUCTURE
		
=================================================*/

div#wrapper {}

.inner {
    clear: both;
    width: 80%;
    text-align: left;
    _height: 1%;
    margin: 0 auto;
    max-width: 960px;
    min-width: 710px;
    position: relative;
}

/* Header
-------------------------------------------------*/

div#header {
    padding: 10px 0;
}

/* Navigation
-------------------------------------------------*/

div#nav {
    background: #87A41C;
    border-top: 1px solid #6C7C2F;
    border-bottom: 1px solid #3A470E;
}

div#nav ul {
    width: 80%;
    height: 34px;
    _height: 1%;
    margin: 0 auto;
}

div#nav ul li {
    display: inline;
    position: relative;
}

div#nav ul li a:link,
div#nav ul li a:visited {
    display: block;
    float: left;
    padding: 10px 20px;
    font-size: 14px;
    color: #FFF;
    text-decoration: none;
}

div#nav ul li a:hover {
    background: #657C0D;
}

div#nav ul li ul {
    width: 200px;
    height: auto;
    clear: left;
    display: none;
    background: #657C0D;
}

div#nav ul li ul li a:link,
div#nav ul li ul li a:active,
div#nav ul li ul li a:visited,
div#nav ul li ul li a:hover {
    display: block;
    width: 160px;
    font-size: 12px;
}

div#nav ul li ul li a:hover {
    background: #455506;
}

div#nav ul li a:hover,
div#nav ul li:hover>a {
    background: #657C0D;
    color: #FFF;
}

/* Superfish Menu Styles */

.sf-menu,
.sf-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 9999;
}

.sf-menu {
    line-height: 1.0;
}

.sf-menu ul {
    position: absolute;
    top: -999em;
    width: 10em;
    /* left offset of submenus need to match (see below) */
}

.sf-menu ul li {
    display: inline;
    width: 100%;
}

.sf-menu li:hover {
    visibility: inherit;
    /* fixes IE7 'sticky bug' */
}

.sf-menu li {
    float: left;
    position: relative;
}

.sf-menu a {
    display: block;
    position: relative;
}

.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
    left: 0;
    top: 34px;
    /* match top ul list item height */
    z-index: 9999;
}

ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
    top: -999em;
}

ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
    left: 10em;
    /* match ul width */
    top: 0;
}

ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
    top: -999em;
}

ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
    left: 10em;
    /* match ul width */
    top: 0;
}

/* Homepage - Teaser
-------------------------------------------------*/

div#teaser {
    height: 78px;
    background: #433229 url("/images/bg-home-teaser.gif") repeat-x top left;
    padding: 15px 0 10px 0;
    border-bottom: 1px solid #211B11;
    z-index: 1;
}

div#teaser h2 {
    display: block;
    width: 602px;
    height: 75px;
    background: transparent url("/images/bg-teaser-text.gif") no-repeat top left;
    text-indent: -9999px;
}

/* Homepage - Search Box
-------------------------------------------------*/

div#home_search {
    background: #C0DFAA url("/images/bg-home-search.gif") repeat-x top left;
    border-bottom: 1px solid #B5B7B6;
    padding: 15px 0;
    overflow: auto;
    _height: 1%;
}

form#frm_search {
    margin: 0 0 2px 0;
    background: transparent url("/images/bg-divider.gif") repeat-y top right;
}

form#frm_search p {
    margin: 0;
}

form#frm_search input[type="text"] {
    vertical-align: middle;
    padding: 10px;
    width: 78%;
    border: 3px solid #ABD50E;
    font-size: 18px;
}


form#frm_search input[type="image"] {
    vertical-align: middle;
    margin: 0 0 0 -5px;
}

/* Homepage - Newsletter Sign Up
-------------------------------------------------*/

div#newsletter_sign_up h3 {
    margin: 0 0 5px 45px;
}

div#newsletter_sign_up h3 a:link,
div#newsletter_sign_up h3 a:visited {
    font-size: 17px;
    color: #62780F;
    text-decoration: none;
}

div#newsletter_sign_up p {
    color: #46342C;
    margin: 0 0 0 45px;
}

div#newsletter_sign_up p a {
    color: #46342C;
}

ul.quick-links {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

ul.quick-links li {
    width: 70px;
}

/* The icon lives as ::before on the <a> (not the <li>) so it's part
   of the clickable hit area AND inherits the anchor's currentColor —
   giving us free Peppermint→Silver recolouring on hover from the
   global brand link rules. */
ul.quick-links li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
    line-height: 1.3;
}

ul.quick-links li a::before {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
}

ul.quick-links li.ql-enews a::before {
    -webkit-mask-image: url('/images/newsletter-svgrepo-com.svg');
            mask-image: url('/images/newsletter-svgrepo-com.svg');
}

ul.quick-links li.ql-invoice a::before {
    -webkit-mask-image: url('/images/invoice-dollar-svgrepo-com.svg');
            mask-image: url('/images/invoice-dollar-svgrepo-com.svg');
}

/* "Become a Member" (replaced "Pay an invoice" per 15.06.26 feedback) */
ul.quick-links li.ql-member a::before {
    -webkit-mask-image: url('/images/member-svgrepo-com.svg');
            mask-image: url('/images/member-svgrepo-com.svg');
}

ul.quick-links li.ql-donate a::before {
    -webkit-mask-image: url('/images/donate-svgrepo-com.svg');
            mask-image: url('/images/donate-svgrepo-com.svg');
}

div.popup {
    position: absolute;
    top: 140px;
    left: 62%;
    width: 231px;
    height: 88px;
    padding: 15px;
    background: transparent url("/images/bg-bubble.png") no-repeat top left;
    z-index: 999999;
    display: none;
}

/* Homepage - Content Scroller
-------------------------------------------------*/

/* Homepage - Content Scroller (hero carousel)
   Modern pattern: full-bleed photo with a bottom gradient overlay
   carrying live title + CTA text. Circular chevron arrows and dot
   pagination handle navigation.
-------------------------------------------------*/

div#content_scroller {
    position: relative;
    margin-bottom: 25px;
}

div#slider-track {
    position: relative;
    overflow: hidden;
    height: 440px;
}

div.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none; /* don't intercept hover on hidden slides */
    transition: opacity 0.5s ease;
}

div.slide.active {
    opacity: 1;
    pointer-events: auto;
}

div.slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none !important;
    overflow: hidden; /* contain the hover zoom */
}

div.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

div.slide a:hover img,
div.slide a:focus img {
    transform: scale(1.04);
}

div.slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 100px 36px 36px 36px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.55) 40%,
        rgba(0, 0, 0, 0.85) 70%,
        rgba(0, 0, 0, 0.92) 100%
    );
    color: #FFFFFF;
    transition: background 0.3s ease;
}

div.slide a:hover .slide-overlay,
div.slide a:focus .slide-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.92) 70%,
        rgba(0, 0, 0, 0.96) 100%
    );
}

.slide-title {
    display: block;
    font-size: 44px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #FFFFFF;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

div.slide a:hover .slide-title,
div.slide a:focus .slide-title {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.slide-subtitle {
    display: block;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #FFFFFF;
    max-width: 70%;
}

.slide-cta {
    display: inline-block;
    font-size: 14px;
    line-height: 1.4;
    color: #FFFFFF;
    transition: transform 0.2s ease;
}

div.slide a:hover .slide-cta,
div.slide a:focus .slide-cta {
    transform: translateX(6px);
}

@media screen and (max-width: 768px) {
    div#slider-track {
        height: 280px;
    }

    div.slide-overlay {
        padding: 50px 20px 20px 20px;
    }

    .slide-title {
        font-size: 24px;
        line-height: 1.15;
        margin-bottom: 6px;
    }

    .slide-subtitle {
        font-size: 14px;
        max-width: 100%;
        margin-bottom: 10px;
    }

    .slide-cta {
        font-size: 13px;
    }

    a#scroller_prev,
    a#scroller_next {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

/* Circular chevron arrows */
a#scroller_prev,
a#scroller_next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(59, 60, 64, 0.65);
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    cursor: pointer;
    transition: background 0.2s ease;
}

a#scroller_prev {
    left: 12px;
}

a#scroller_next {
    right: 12px;
}

a#scroller_prev:hover,
a#scroller_next:hover {
    background: rgba(59, 60, 64, 0.95);
}

/* Dot pagination, populated by indexSuccess.js */
#slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
    padding: 0;
}

.slider-dot.active {
    background: #FFFFFF;
}

/* Homepage - Featured Items
-------------------------------------------------*/

div.featured_item {
    margin-bottom: 20px;
    min-height: 125px;
}

div.featured_item_img {
    display: block;
    width: 125px;
    height: 125px;
    overflow: hidden;
    float: left;
    margin: 0 10px 0 0;
}

div.featured_item h4,
div.res_feature h4 {
    font-size: 11px;
    color: #3B3C40;
}

div.featured_item h3 {
    font-size: 18px;
    color: #3B3C40;
    margin: 0 0 7px 0;
}

div.featured_item h3 a,
div.res_feature h3 a {
    font-size: 18px;
    text-decoration: none;
    margin: 0;
}

/* Article title h3s inside resonate features need tight margins —
   override the generic homepage h3 spacing (25/10) so the title sits
   close to the <h4> "Type" caption above it. */
div.res_feature h3 {
    font-size: 18px;
    margin: 0 0 5px 0;
    clear: none;
}

div.featured_item p,
div.res_feature p {
    color: #575757;
}

h4.featured_author {
    color: #000;
    font-size: 12px;
    margin: 0 0 5px 0;
}

/* Homepage - Resonate Teasers
-------------------------------------------------*/

div#resonate_teaser {
    background: #609F60;
    border: 1px solid #3B3C40;
    padding: 10px;
    /* 22.06.26: explicit grid cascade 4 -> 2 -> 1 (never 3) at the 768/480
       breakpoints (was a flex row that snapped 4 straight to 1). */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

div.res_feature {
    min-width: 0; /* let long titles wrap inside the grid item */
}

@media screen and (max-width: 768px) {
    div#resonate_teaser {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    div#resonate_teaser {
        grid-template-columns: 1fr;
    }
}

/* 22.06.26: stacked teaser format (mockup) — wide non-square image on top,
   text below. The cropper serves a 3x2 crop (indexSuccess.php) once the DB
   is refreshed; until then it falls back to the square original, which the
   3/2 box + object-fit:cover still presents as a landscape image. */
div.res_feature img {
    background: #FFF;
    border: 1px solid #F4F4F4;
    padding: 2px;
    float: none;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    box-sizing: border-box;
    margin: 0 0 4px 0;
}

div.res_feature h4 {
    margin: 0 0 3px 0; /* tighten the image -> Type-label gap */
}

div.res_feature_text {
    /* text below the image; a little breathing room under the author line */
    padding-bottom: 12px;
}

div.res_feature h3 {
    margin: 0 0 5px 0;
}

div.res_feature h3 a {
    font-size: 16px;
    color: #E8350D;
}

div.res_feature h3 a:hover {
    color: #B03302;
}

h2#res_logo a {
    display: block;
    width: 210px;
    height: 96px;
    background: transparent url("/images/logo-res-teaser.jpg") no-repeat top left;
    text-indent: -99999px;
    margin: 0 0 0 5%;
}

/* Homepage - Introductions to Australian Music
-------------------------------------------------*/

div#intro_teasers {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

#intro_teasers h3 {
    flex: 0 0 100%;
}

dl.intro {
    flex: 1;
    padding: 0 1% 0 0;
    margin: 0 0 20px 0;
}

dl.intro:last-child {
    padding-right: 0;
    border: none;
}

dl.intro dt {
    font-size: 16px;
    font-weight: bold;
    color: #3B3C40;
    margin: 0 0 10px 0;
    padding: 0;
}

dl.intro dt img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 5px;
}

dl.intro dd {
    padding: 2px 0;
}

/* Homepage - Social Media
-------------------------------------------------*/

h4.social {
    font-weight: bold;
    color: #45342B;
}

/* Twitter */

div#social_twitter {
    background: #FFF url("/images/bg-twitter.gif") no-repeat top left;
    margin-bottom: 20px;
}

p.tweet {
    font-size: 18px;
    line-height: 22px;
    padding: 15px;
    color: #535453;
}

p.follow {
    padding: 0 0 0 15px;
}

/* Facebook */

p.facebook a {
    display: block;
    width: 196px;
    height: 48px;
    background: transparent url("/images/bg-facebook.gif") no-repeat top left;
    margin: 15px 0 0 0;
    text-indent: -9999px;
}

/* RSS Feeds */

ul.feeds {
    margin: 12px 0 0 0;
}

ul.feeds li {
    padding: 5px 0 5px 25px;
    background: transparent url("/images/feed-icon.gif") no-repeat center left;
}

/* Body
-------------------------------------------------*/

div#content {
    padding: 15px 0 25px 0;
    overflow: auto;
}

/* Columns
-------------------------------------------------*/

.col_1,
.col_2,
.col_3,
.col_4,
.col_5,
.col_6,
.col_7,
.col_8,
.col_9,
.col_10,
.col_11 {
    float: left;
}

.col_1 {
    width: 6.5%;
    margin: 0 1%;
}

.col_2 {
    width: 15%;
    margin: 0 1%;
}

.col_3 {
    width: 23.5%;
    margin: 0 1%;
}

.col_4 {
    width: 32%;
    margin: 0 1%;
}

.col_5 {
    width: 40.5%;
    margin: 0 1%;
}

.col_6 {
    width: 49%;
    margin: 0 1%;
}

.col_7 {
    width: 57.5%;
    margin: 0 1%;
}

.col_8 {
    width: 66%;
    margin: 0 1%;
}

.col_9 {
    width: 74.5%;
    margin: 0 1%;
}

.col_10 {
    width: 83%;
    margin: 0 1%;
}

.col_11 {
    width: 91.5%;
    margin: 0 1%;
}

.col_12 {
    width: 100%;
}

.col_first {
    margin-left: 0;
}

.col_last {
    margin-right: 0;
}

/* Footer styling moved to brand.2026.css (single source of truth for the
   22.06.26 redesign — applies identically on the homepage + inner pages). */


/*=================================================

		USEFUL CLASSES
		
=================================================*/

/* Usually used for de-bugging
-------------------------------------------------*/

.hidden {
    display: none;
}

.left {
    float: left;
}

.right {
    float: right;
}

.overflow {
    overflow: auto;
}

.clear {
    clear: both;
}