html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],
template {
    display: none
}

a {
    background-color: transparent
}

a:active,
a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b,
strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em;
    margin: 0.67em 0
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled],
html input[disabled] {
    cursor: default
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: bold
}

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

td,
th {
    padding: 0
}

body {
    font-family: Helvetica, Arial, sans-serif
}

header,
section,
footer {
    padding: 20px 5%;
    overflow-x: hidden
}

img,
audio,
iframe {
    max-width: 100%
}

table {
    max-width: 100%;
    display: block
}

tbody {
    max-width: 100%;
    display: block;
    overflow: scroll
}

a {
    text-decoration: none;
    color: #25aff4
}

button,
input[type="submit"] {
    border: 1px solid #bbb;
    font-size: 11pt;
    text-transform: uppercase;
    background: transparent;
    border-radius: 8px;
    display: inline-block;
    padding: 15px 20px;
    margin: 5px 0;
    box-sizing: border-box
}

button:focus {
    outline: none
}

input {
    font-size: 13pt;
    padding: 10px 15px;
    margin: 5px
}

input:focus {
    outline: none
}

a:hover {
    text-decoration: none;
    color: inherit
}

input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none
}

.clearfix {
    clear: both
}

.ac-notice {
    padding: 10px
}

html {
    overflow-y: scroll
}

body {
    font-family: "Lato";
    font-weight: 300;
    font-size: 14pt;
    background: #fafafa;
    display: flex;
    min-height: 100vh;
    flex-direction: column
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 10px 0
}

h1 {
    font-size: 24pt
}

h2 {
    font-size: 19pt
}

h3 {
    font-size: 16pt
}

h4 {
    font-size: 14pt
}

h5 {
    font-size: 12pt
}

h6 {
    font-size: 12pt
}

@media screen and (min-width:800px) {
    h1 {
        font-size: 36pt
    }

    h2 {
        font-size: 31pt
    }

    h3 {
        font-size: 26pt
    }

    h4 {
        font-size: 21pt
    }

    h5 {
        font-size: 18pt
    }

    h6 {
        font-size: 16pt
    }
}

a {
    color: hsl(90, 100%, 30%)
}

a:hover {
    color: hsl(90, 100%, 30%)
}

.admin-link {
    color: hsl(35, 100%, 50%)
}

button,
input[type="submit"] {
    width: 60%;
    font-size: 9pt;
    font-weight: bold;
    padding: 10px;
    border: 1px solid #ccc;
    color: black
}

.admin-cta,
input[type="submit"].admin-cta {
    color: white;
    background: hsl(35, 100%, 50%)
}

.teacher-cta,
input[type="submit"].teacher-cta {
    background: hsl(90, 100%, 30%);
    color: white
}

.delete-cta,
input[type="submit"].delete-cta {
    color: black
}

@media screen and (min-width:800px) {

    .admin-cta,
    .teacher-cta,
    .delete-cta {
        display: inline-block;
        width: auto;
        padding: 10px 20px;
        margin-bottom: 20px
    }
}

.alert {
    font-size: 18pt;
    color: hsl(0, 85%, 50%);
    font-weight: bold;
    display: block
}

header {
    padding: 20px 20px 0
}

.site-title {
    text-align: center
}

.site-nav {
    background: #333;
    border-radius: 8px;
    color: white;
    max-width: 900px;
    padding: 10px;
    text-align: center;
    margin: 20px auto
}

@media screen and (min-width:900px) {
    .site-nav {
        padding: 15px;
        background: #333
    }
}

.site-link {
    margin: 5px 10px;
    padding: 10px;
    font-size: 12pt;
    color: white;
    text-transform: uppercase
}

.site-link:hover {
    color: white
}

.search {
    display: none;
    flex-direction: column;
    width: 90%;
    max-width: 900px;
    margin: 0 auto
}

@media screen and (min-width:800px) {
    .search {
        display: none
    }
}

.search-field {
    display: block;
    box-sizing: border-box;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #bbb
}

.search-button {
    display: block;
    box-sizing: border-box;
    width: 100%
}

.logo {
    width: 40%;
    display: block;
    max-width: 200px;
    margin: 0 auto
}

.admin-info {
    margin: 10px 0;
    text-align: center
}

section {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 20px;
    flex-grow: 1
}

.form {
    position: fixed;
    display: block;
    top: 10vh;
    max-height: 70vh;
    overflow: scroll;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80%;
    max-width: 250px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 20px 8%;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: 0.25s ease
}

body.create-form-active .create-form {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto
}

body.edit-form-active .edit-form {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto
}

body.delete-form-active .delete-form {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto
}

.form-close-icon {
    width: 20px;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: 0.05s ease
}

.form-close-icon:hover {
    cursor: pointer
}

.form label {
    display: block;
    font-size: 13pt;
    font-weight: 400;
    margin: 0 0 5px
}

.form input {
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    border: 1px solid #bbb;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 10px
}

.form input[type="submit"] {
    width: 100%;
    text-align: center;
    margin: 20px 0;
    padding: 15px 0
}

.form input[type="submit"].admin-cta {
    background: hsl(35, 100%, 50%);
    color: white
}

.form input[type="submit"].delete-cta {
    background: hsl(0, 100%, 40%);
    color: white
}

.form select {
    width: 100%;
    padding: 5px
}

.backdrop {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.4)
}

body.create-form-active .create-form {
    opacity: 1;
    pointer-events: auto
}

.notice {
    position: fixed;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    margin: 0 auto;
    left: 0;
    right: 0;
    padding: 40px 60px;
    opacity: 0;
    font-size: 18pt;
    background: hsl(0, 85%, 90%);
    animation: notice 3s ease forwards;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    pointer-events: none
}

@keyframes notice {
    0% {
        opacity: 0;
        top: 0
    }

    8% {
        opacity: 1;
        top: 30px
    }

    94% {
        opacity: 1;
        top: 30px
    }

    100% {
        opacity: 0;
        top: 0
    }
}

.recital-blocks {
    display: flex;
    flex-wrap: wrap
}

.recital-block {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 5px solid #ddd;
    padding: 50px 20px;
    width: 100%;
    margin: 5px;
    text-align: center;
    box-sizing: border-box;
    color: #222;
    background: white
}

.recital-block:hover {
    border: 5px solid hsl(90, 100%, 30%)
}

@media screen and (min-width:800px) {
    .recital-block {
        width: 32%;
        margin: calc(4%/6)
    }
}

.recital-block-day {
    font-weight: bold;
    margin-bottom: 5px
}

.recital-block-date {
    font-size: 14pt
}

.recital-block-time {
    font-size: 14pt
}

.recital-block-count {
    margin-top: 20px;
    text-align: center;
    font-size: 12pt;
    font-weight: bold
}

.recital-listing {}

.recital-listing-spots-remaining {
    margin: 20px 0
}

.recital-full {
    color: hsl(0, 85%, 50%);
    margin: 20px 0
}

@media screen and (min-width:800px) {
    .recital-listing-title {
        display: inline-block;
        width: 30%
    }

    .recital-listing-details {
        display: inline-block;
        width: 60%;
        vertical-align: top
    }
}

.recital-listing-day {
    margin: 10px 0;
    font-weight: bold
}

.recital-listing-date {
    font-size: 16pt;
    font-weight: 300
}

.recital-listing-time {
    font-size: 16pt;
    font-weight: 300;
    margin: 5px 0 30px
}

.recital-listing-sign-ups-title {
    margin: 40px 0 0
}

.sign-ups-table {
    margin: 40px 0 20px;
    box-sizing: border-box;
    table-layout: fixed;
    width: 100%;
    min-width: 100%
}

.sign-ups-table tr {
    padding: 10px 30px;
    width: 100%;
    display: flex
}

.sign-ups-table tr:nth-child(1) {
    padding: 0 30px
}

.sign-ups-table th,
.sign-ups-table td {
    width: 33.3%
}

.sign-ups-table tbody {
    display: flex;
    flex-wrap: wrap;
    width: 100%
}

.sign-ups-list th {
    font-size: 18pt;
    font-weight: bold;
    text-align: left;
    padding: 20px;
    text-transform: uppercase
}

.sign-up {
    font-size: 16pt;
    box-sizing: border-box
}

.sign-up:nth-child(odd) {
    background: #f3f3f3
}

.sign-up:nth-child(even) {
    background: #fafafa
}

.sign-up:hover {
    cursor: move;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab
}

.sign-up:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2)
}

.sign-up td {
    padding: 20px
}

.ui-sortable-helper {
    display: table
}

.sign-up-dash,
.sign-up-composer {
    display: none
}

.teacher-list {
    margin: 10px 0
}

@media screen and (min-width:800px) {
    .teacher-list {
        flex-direction: row;
        display: flex;
        flex-wrap: wrap
    }
}

.teacher-list-item {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
    color: #222;
    background: #f5f5f5
}

@media screen and (min-width:800px) {
    .teacher-list-item {
        width: 31%;
        margin: 1%;
        transition: 0.1s ease
    }

    .teacher-list-item:hover {
        background: #eee
    }
}

.teacher-list-item-title {
    margin: 5px 0;
    font-size: 16pt;
    font-weight: 600
}

.teacher-list-item-students {
    font-size: 14pt;
    color: inherit
}

.teacher-listing {}

.teacher-listing-recitals {
    margin: 20px 0 10px
}

.teacher-listing-recital {
    padding: 30px
}

.teacher-listing-recital:nth-child(odd) {
    background: #eee
}

.teacher-listing-recital:nth-child(even) {
    background: #fafafa
}

.teacher-listing-recital-day {
    font-size: 19pt;
    font-weight: 300
}

.teacher-listing-recital-date {
    font-size: 14pt;
    font-weight: 300;
    margin: 5px 0
}

.teacher-listing-recital-time {
    font-size: 14pt;
    font-weight: 600;
    margin: 0 0 20px
}

.teacher-listing-recital-student {
    display: block;
    margin: 10px 5px
}

.teacher-listing-recital-notice {
    color: #999;
    text-transform: lowercase;
    margin: 10px 5px
}

.print {
    display: none
}

.sign-up-listing {}

.sign-up-listing-detail {
    margin: 15px 0 5px
}

.program-editor {
    display: flex;
    flex-wrap: wrap
}

.program-editor-field {
    width: 46%;
    margin: 0 2% 50px
}

.program-editor .sf_filename {
    display: block
}

.program-editor .sf_fileinput {
    display: block
}

.program-editor .sf_btn {
    display: block
}

.membership-title {
    margin-top: 15vh
}

.membership-content {
    background: white;
    padding: 30px
}

footer {
    margin-top: 80px;
    padding: 50px 5%;
    background: #333;
    color: #eee
}

.days-remaining-notice {
    margin: 20px 0;
    color: #eee
}

.attribution {
    text-align: center;
    margin-top: 25px
}

.attribution a {
    color: hsl(200, 70%, 80%)
}

@media print {
    @page {
        size: landscape;
        margin: 0;
        width: 8.5in;
        height: 11in
    }

    body,
    html {
        background: white;
        width: 11in;
        box-sizing: border-box;
        margin: 0
    }

    header,
    section,
    footer {
        display: none
    }

    .print {
        display: block;
        font-size: 12pt;
        font-weight: 500
    }

    .print * {
        overflow: hidden
    }

    .print table {
        width: 100% !important;
        font-size: 9pt;
        border: 0
    }

    .print table td {
        vertical-align: top
    }

    .print .program-outer {
        width: 100%;
        box-sizing: border-box;
        vertical-align: top;
        page-break-after: always
    }

    .program-teachers {
        overflow: hidden
    }

    .program-teachers th {
        text-align: left;
        padding-bottom: 0.16in
    }

    .program-teachers td {
        padding-right: 0.15in;
        padding-bottom: 0.02in;
        font-size: 9pt
    }

    .program-teachers td:nth-child(1) {
        width: 1.3in
    }

    .program-back-richtext {
        overflow: hidden
    }

    .program-back-richtext td {
        padding-right: 0.15in;
        padding-bottom: 0.025in;
        font-size: 9pt
    }

    .program-back-richtext td:nth-child(1) {
        width: 1.3in
    }

    .program-cover-image {
        display: block;
        width: 3in;
        margin: 0.5in auto 0
    }

    .program-cover-title {
        font-size: 31pt;
        text-align: center;
        margin: 0.5in 0 0.25in
    }

    .program-cover-date {
        font-size: 24pt;
        text-align: center;
        margin-bottom: 0.7in
    }

    .program-cover-logo {
        width: 1.6in;
        display: block;
        margin: 0 auto 0.45in
    }

    .print .program-inner {
        transform: rotate(180deg);
        box-sizing: border-box;
        vertical-align: top;
        page-break-before: always
    }

    .program-recital-title {
        text-align: center;
        font-size: 21pt
    }

    .program-recital-details {
        text-align: center;
        font-size: 16pt;
        margin: 20px 0
    }

    .program-logo {
        display: block;
        width: 0.5in
    }

    .program-richtext {}

    .program-recital-table {
        margin-top: 0.3in
    }

    .program-recital-table th {
        text-align: left;
        padding-bottom: 0.10in;
        font-size: 8pt
    }

    .program-recital-table td {
        padding: 0.035in 0.14in 0.035in 0;
        vertical-align: top;
        font-size: 10pt
    }

    .program-recital-table td.program-recital-table-student {
        width: 110px
    }

    .program-recital-table td.program-recital-table-teacher {
        width: 160px
    }

    .master-column {
        padding: 0.4in 0.5in 0.3in;
        width: 5.5in;
        vertical-align: top;
        box-sizing: border-box;
        overflow: hidden;
        height: 8.5in
    }
}
