/* ==========================================================================
   The Bartles — static site styles
   Reset + 24-column fluid grid + theme, condensed from the original
   Normalize / Grid / Styles.less bundle.
   ========================================================================== */

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

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, ul, ol, dl, dd {
    margin: 0;
    padding: 0;
}

ul, ol { list-style: none; }

img, iframe { border: 0; }

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

/* Grid ------------------------------------------------------------------- */

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.row::after { content: ""; display: table; clear: both; }

.columns {
    width: 100%;
    padding: 0 15px;
}

/* Small screens: every column is full width and offsets collapse.
   The named widths below only kick in at the medium/large breakpoints. */

@media only screen and (min-width: 40.063em) {
    .medium-10 { width: 41.66667%; }
    .medium-12 { width: 50%; }
    .medium-14 { width: 58.33333%; }
    .medium-22 { width: 91.66667%; }
    .medium-offset-1 { margin-left: 4.16667%; }
}

@media only screen and (min-width: 64.063em) {
    .large-9  { width: 37.5%; }
    .large-12 { width: 50%; }
    .large-15 { width: 62.5%; }
    .large-16 { width: 66.66667%; }
    .large-offset-4 { margin-left: 16.66667%; }
}

/* Base typography -------------------------------------------------------- */

body {
    font-family: 'Goudy Bookletter 1911', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    color: #000;
    background: #fff;
}

h1 {
    font-size: 1.9em;
    line-height: 1.2em;
    font-weight: 400;
}

p { margin-bottom: 1em; }

a {
    color: inherit;
    text-decoration: underline;
}

figure { margin: 30px 0; }

figure figcaption {
    margin-top: 8px;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-size: .7em;
    line-height: 1.1em;
    color: #666;
}

small { font-size: .75em; }

/* Header, nav, footer ---------------------------------------------------- */

#container header,
#container footer {
    margin: 40px auto 60px;
    max-width: 1200px;
    text-align: center;
}

#container header { border-bottom: 1px dotted #a8a8a8; }

#container header .logo {
    display: block;
    margin: 0 auto;
    width: 248px;
    height: 120px;
    max-width: 100%;
    text-indent: -9999px;
    overflow: hidden;
    background: url(../images/logo-thebartles.png) top center no-repeat;
    background-size: contain;
}

#container header nav {
    margin: 40px 0 30px;
    clear: both;
    text-align: center;
}

#container header nav ul li {
    display: inline-block;
    padding: 4px 20px;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#container header nav ul li a { text-decoration: none; }

#container header nav ul li a:hover { border-bottom: 1px solid #a8a8a8; }

#container header nav ul li.current a { border-bottom: 1px solid #000; }

/* The toggle is only used on small screens. */
.nav-toggle {
    display: none;
    margin: 0 auto;
    padding: 6px 18px;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-size: .8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #a8a8a8;
}

#container footer {
    padding: 40px 0 20px;
    border-top: 1px dotted #a8a8a8;
}

#container footer .copyright { margin-bottom: 0; }

/* Page container --------------------------------------------------------- */

#container #page-container {
    margin: 40px auto;
    max-width: 1200px;
    font-size: 1.3em;
    line-height: 1.5em;
}

#container #page-container img { width: 100%; }

/* Home ------------------------------------------------------------------- */

.home #page-container .intro-copy {
    margin-top: 20px;
    text-align: center;
    font-size: 1.4em;
}

/* The Band --------------------------------------------------------------- */

.the-band .band-member { margin-bottom: 50px; }

.the-band .band-member h1 { margin-bottom: 15px; }

.the-band .band-member img { margin-bottom: 15px; }

/* The Music -------------------------------------------------------------- */

.the-music .track { margin-bottom: 50px; }

.the-music .track .recorded,
.the-music .track .released {
    display: block;
    font-size: .8em;
    line-height: 1.2em;
}

.the-music .track iframe { margin: 15px 0; }

.the-music .track .liner-notes {
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-size: .65em;
    line-height: 1.2em;
    font-weight: 400;
    color: #666;
}

.the-music .track .liner-notes ul { margin-bottom: 10px; }

.the-music .track .liner-notes ul li { padding: 2px 0; }

.the-music .track .liner-notes ul li .part { padding-right: 4px; }

.the-music .track .liner-notes ul li .member { padding-left: 4px; }

/* The Videos ------------------------------------------------------------- */

.the-videos .video { margin-bottom: 50px; }

.the-videos .video .recorded {
    display: block;
    font-size: .9em;
    line-height: 1.3em;
}

.the-videos .video .video-wrapper {
    position: relative;
    margin-top: 20px;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.the-videos .video .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Small and medium screens ----------------------------------------------- */

@media only screen and (max-width: 59.938em) {
    #container header,
    #container footer { margin: 20px 0; }

    #container footer { padding-top: 20px; }

    .the-band .band-member,
    .the-music .track { margin-bottom: 30px; }
}

@media only screen and (max-width: 47.938em) {
    h1 {
        font-size: 1.5em;
        line-height: 1em;
        letter-spacing: -2px;
    }

    #container #page-container {
        margin: 0 auto;
        padding: 0 20px;
    }

    #container header nav { margin: 20px 0; }

    .nav-toggle { display: block; }

    #container header nav ul {
        display: none;
        margin-top: 10px;
    }

    #container header nav ul.is-open { display: block; }

    #container header nav ul li {
        display: block;
        padding: 0 10px;
        line-height: 2em;
    }

    .home #page-container .intro-copy { margin-top: 0; }
}
