/**
 * Colour palette: http://paletton.com/#uid=20C0u0k6Cn51S-H46rN9jiZbNdI 
 */

body, html {
    margin: 0;
    padding: 0;

    font-family: 'Roboto', 'Open Sans', Helvetica, Arial, sans-serif;
    font-display: swap; /* prefer FOUT to invisibility */
    -webkit-font-smoothing: antialiased;
    font-size: 16px;

    min-width: 420px;
}

.bar-head {
    padding: 0;
    max-width:100%;

    background: #000;

    position: relative;
    overflow: hidden; /* if the click-region element extends past the page size on very small screens */
}

.bar-head .logo-image-click-region {
    position: absolute;
    top: 25px;
    bottom: 25px;
    width: 350px;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
}

.bar-links {
    padding: 0 15px; /* probably unreachable */
}

.bar-links .current-page {
    text-shadow: 0 0 2px #fff;
}

.logo-image {
    width: 100%;
    height:120px;

    background: transparent url('header-banner.jpg') no-repeat center center;
}

.bar-links {
    background: #5d6d74;
    color: grey;
    text-align: center;
}

.bar-links a {
    display: inline-block;
    color: white;
    padding: 14px 8px;
    line-height: 24px; /* greater than font height */
    text-decoration: none;

    font-family: 'Roboto Condensed', sans-serif;
    font-display: swap; /* prefer FOUT to invisibility */
}

@media screen and (max-width: 480px) {
    .bar-links {
        font-size: 0;
    }
    .bar-links a {
        font-size: 18px;
    }
}

.bar-links a:hover {
    background: #7a868c;
}

.page-content {

    /* Horizontal padding must be >= 15px to support internal .row divs */    
    padding: 6px 15px 80px 15px; /* mostly replying on h1/h2 margin-top for top spacing */

    background: #FFF;
    color: #222;

    /* Create sticky footer by varying min-height of content element
     * There are lots of ways to implement this but calc() is very widely supported nowadays.
     */
    min-height: calc(100vh - 278px); /* 120px header + (24+14+14 = 52)px nav + 106px footer ; we're border-box so don't include padding */
}

.page-content h1, .page-content h2 {
    font-size: 24px;
    font-family: 'Roboto Condensed', sans-serif;
    font-display: swap; /* prefer FOUT to invisibility */
}

.page-content strong {
    color: #000;
}

.page-content a {
    color:#45575f;
}

.page-footer {
    padding: 20px 15px;
    background: #f1ede8;
    color: #6d5a45;

    min-height: 100px; /* sticky */
}

.page-footer a {
    color: #50453a;
}

.content-box {
    margin: 0 auto;
    max-width: 1024px;
}

/* */

.maps-container {
    margin-top: 1em;

    width: 320px;
    height: 214px;
    box-shadow: 0 0 2px #000;
}

/* */

.concert-block {
    display: block;
    width: 320px;
    height: 214px;

    text-align: left;

    color: #ddd !important;
    box-shadow: 0 0 2px #000;

    position: relative;
}

.concert-block-content {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
}

.concert-block-badge-container {
    position: absolute;
    bottom: 10px;
    right: 8px;
}

a.concert-block:hover {
    text-decoration: none;
}

a.concert-block[href]:hover {
    box-shadow: 0 1px 4px #000;
}

.concert-title {
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
    font-display: swap; /* prefer FOUT to invisibility */
    font-weight: bold;
    text-decoration: underline;

    /* Single line only */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}
.concert-meta {
    font-size: 12px; /* smaller */
}

/* */

.all-concerts {
    text-align: center;

    margin-bottom: 1.5em;
}

.all-concerts .concert-block {
    display: inline-block;
    vertical-align: bottom;
    margin: 8px;
}

/* */

.chambermusicnz {
    border: 0;
    margin-bottom: 1em;

    display: block;
    width: 109px;
    height: 32px;
    background: transparent url('sponsor-cmnz-32px.png') no-repeat 0 0;
}

/* */

.sponsor {
    display: inline-block;
    margin-top: 12px;
    margin-right: 8px;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.sponsor:hover {
    opacity: 1;
}

.sponsor.sponsor-ccswhakatane {
    width: 137px;
    height: 48px;
    background: transparent url('sponsor-ccswhakatane-48px.png') no-repeat 0 0;
}
