@charset "utf-8";

@import url('ukedown.css');

@font-face {
  font-family: verdana;
  source: url(./fonts/verdana_all.woff2?7cfe56496da7b0e83065b932539d295b) format(woff2)
}

@page {
    margin: 0.5cm;
    size: a4 portrait;
}

* {
    box-sizing: border-box;
}

html {
    font-family: verdana, "dejavu sans", sans-serif;
    font-size: 12pt;
    height: 100%;
    width: 100%;
}

body {
    height: 100%;
    margin: 0;
    max-height: 100%;
    overflow: auto;
    padding: 0;
    width: 100%;
}

h1 {
    font-size: 14pt;
    font-weight: bold;
    padding-bottom: 0.2em;
    padding-left: 5px;
    text-align: center;
}

p {
    margin-top: 0;
    padding: 0;
}

.header {
    left: 0;
    margin: 0;
    padding: 0;
    page-break-before: always;
    width: 100%;
}


/* content div, max 2 cols in portrait mode */
.content {
    column-fill: auto;
    column-rule-style: solid;
    column-width: auto;
    float: left;
    max-height: 730px;
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
}

.chords {
    align-items: flex-start;
    display: flex;
    flex-flow: column wrap;
    float: right;
    max-height: 840px;
    max-width: 100px;
    position: fixed;
    right: 0;
    width: 50px;
}

.overflow {
    align-items: flex-start;
    display: flex;
    flex-flow: column wrap;
    float: right;
    max-height: 840px;
    position: fixed;
    right: 50px;
    width: 50px;
}

/* footer  can have SVG background images */
.footer {
    background: white;
    bottom: 0;
    height: auto;
    left: 0;
    max-height: 30px;
    page-break-after: always;
    position: fixed;
    text-align: center;
    width: 100%;
}

.footer img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    max-height: 25px;
    width: auto;

}

.footer a {
    font-size: 0.8em;
}

.labels {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 0.5em;
}

/* index page is multi-column */
.index {
    column-count: 2;
    column-rule: 1px solid black;
    margin: auto;
    max-height: 730px;
    padding: 5px;

    /* overflow: auto; */
    width: 100%;
}

.container {
    max-height: 100%;
    page-break-after: always;
}

.chord_diagram {
    width: 48px;
}

.chordname {
    font-family: Verdana, "DejaVu Sans", Helvetica, sans-serif;
    font-size: 8px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-align: center;
}

svg.labels {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 0.5em;
}

/* logo, watermark etc */
.branding {
    bottom: 0;
    position: absolute;
    right: 0;
}

.branding img {
    float: right;
    height: 3cm;
    margin-bottom: 5px;
    margin-right: 5px;
}
