* { margin: 0; padding: 0; }

html, body {
    width: 100%;
    height: 100%;
    background-color: #1c1c1c;
    font: normal 16px/1.5em 'Helvetica Neue', 'Helvetica', sans-serif;
    text-rendering: optimizeLegibility;
    color: #1c1c1c;
    z-index: 0;
}

h1, h2, h3, h4 {
    margin: 0 0 0.5em 0;
    font-size: 1.25em;
}

p {
    margin: 0 0 1em 0;
}

a {
    font-style: italic;
    text-decoration: underline;
    color: #1c1c1c;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

li {
    margin: 0;
    list-style: none;
}

article,
section {
    z-index: 0;
}

label {
    margin: 0 0.25em 0 0;
    width: auto;
    display: inline-block;
}

input {
    margin: 0;
    padding: 0;
    font: normal 16px/1.5em 'Helvetica Neue', 'Helvetica', sans-serif;
    outline: none;
}

input[type=text],
input[type=email] {
    padding: 0 0.25em;
    background-color: rgba(31, 28, 28, 0.075);
    border: none;
    border-bottom: 1px dotted #1c1c1c;
}

::-webkit-input-placeholder { color: #1c1c1c; }
::-moz-placeholder { color: #1c1c1c; }

input.button {
    padding: 0 0.25em;
    background-color: #1c1c1c;
    background: -moz-linear-gradient(top, #1c1c1c 0%, #161616 100%);
    background: -webkit-linear-gradient(top, #1c1c1c 0%, #161616 100%);
    background: -o-linear-gradient(top, #1c1c1c 0%, #161616 100%);
    background: -ms-linear-gradient(top, #1c1c1c 0%, #161616 100%);
    border: none;
    border-bottom: 1px solid rgba(31, 28, 28, 0.75);
    color: #e00000;
    cursor: pointer;
}

.padding {
    padding: 1em 13%;
}

.center {
    padding: 0 13%;
    text-align: center;
}

.black {
    background-color: #1c1c1c;
    background: -moz-linear-gradient(top, #1c1c1c 0%, #161616 50%, #1c1c1c 100%);
    background: -webkit-linear-gradient(top, #1c1c1c 0%, #161616 50%, #1c1c1c 100%);
    background: -o-linear-gradient(top, #1c1c1c 0%, #161616 50%, #1c1c1c 100%);
    background: -ms-linear-gradient(top, #1c1c1c 0%, #161616 50%, #1c1c1c 100%);
    color: #e00000;
}

.black a {
    color: #e00000;
}

.red {
    background-color: #e00000;
    background: -moz-linear-gradient(top, #e00000 0%, #dd0000 50%, #e00000 100%);
    background: -webkit-linear-gradient(top, #e00000 0%, #dd0000 50%, #e00000 100%);
    background: -o-linear-gradient(top, #e00000 0%, #dd0000 50%, #e00000 100%);
    background: -ms-linear-gradient(top, #e00000 0%, #dd0000 50%, #e00000 100%);
    color: #1c1c1c;
}

.red a {
    color: #1c1c1c;
}

.vertical-center-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.vertical-center {
    width: 100%;
    height: 100%;
    display: table;
}

.vertical-center .copy-container {
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

.vertical-center .copy-container .copy {
    margin: 0 auto;
    width: 50%;
    max-width: 550px;
    text-align: left;
}

.horizontal-nav {

}

.horizontal-nav .item {
    margin: 0;
    height: 100%;
    list-style: none;
    display: inline-block;
}

.box {
    width: 49%;
    display: inline-block;
    vertical-align: top;
}

.box-left {
    width: 60%;
}

.box-right {
    width: 39%;
    text-align: right;
}

.box-33 {
    width: 33%;
}

.block {
    margin: 0 0 1em 0;
    width: 100%;
}

.small {
    font-size: 0.8em;
    line-height: 1.3em;
}

.inline-form {
    margin: 1em 0;
}

.flyer {
    margin: 0 0 1em 0;
}

.flyer,
.flyer img {
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.photo {
    margin: 0 0 0.5em 0;
}

.photo,
.photo img {
    display: block;
}

.caption,
.credit {
    font-size: 0.8em;
    line-height: 1em;
    opacity: 0.8;
}

.credit {
    font-style: italic;
}

.festival-show {}

.festival-show .padding {
    margin: 0 0.5em 0.5em 0;
    padding: 0.5em;
}

.festival-show p {
    margin: 0 0 0.75em 0;
}

/*.festival-show:first-child .padding {
    margin: 0 0.5em 0 0;
}

.festival-show:last-child .padding {
    margin: 0 0 0 0.5em;
}*/

.festival-sponsor {
    margin: 0 0.5% 0 0;
    padding: 0;
    width: 19.5%;
    min-height: 40px;
    display: inline-block;
    vertical-align: top;
}

.festival-sponsor img {
    width: 100%;
    display: block;
}

.two-col-list {
    overflow: hidden;
}

.two-col-list li {
    width: 50%;
    float: left;
    display: inline;
}

#container {
    width: 100%;
    height: 100%;
    z-index: 0;
}

#header {
    width: 100%;
    height: 100%;
    z-index: 100;
}

#header h1 {
    position: absolute;
    left: -9999em;
}

#header #logo {
    width: 100%;
    display: block;
}

#nav {
    width: 100%;
    background-color: #e00000;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
}

#nav-items .item a {
    padding: 0.45em 0.55em;
    font-size: 0.9em;
    font-weight: bold;
    display: block;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

#nav-items li a:hover {
    background-color: #1c1c1c;
    text-decoration: none;
    color: #f5f5f5;
}

#shows .upcoming-show {
    margin: 0 0 0.5em 0;
    border-bottom: 1px dotted #1c1c1c;
}

#shows .upcoming-show h4 {
    font-weight: normal;
    font-size: 1.1em;
}

#shows .upcoming-show.detail {
    margin: 0.75em 0 1em 0;
    padding: 0.75em;
    background-color: rgba(31, 28, 28, 0.075);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
    border: none;
}

#shows .upcoming-show.detail h3 {
    font-style: italic;
}

#shows .upcoming-show .social-buttons {
    padding: 0.75em 0 0.5em 0;
    height: 20px;
    border-top: 1px dotted rgba(31, 28, 28, 0.1);
    opacity: 0;
    -webkit-transition: all 0.75s ease-in-out;
    -moz-transition: all 0.75s ease-in-out;
    -o-transition: all 0.75s ease-in-out;
    transition: all 0.75s ease-in-out;
}

#shows .upcoming-show .social-buttons.display {
    opacity: 0.95;
}

#shows .upcoming-show .social-buttons .button {
    margin: 0 0.25em 0 0;
    height: 20px;
    display: inline-block;
}

#shows .upcoming-show .social-buttons .facebook {
    width: 50px !important;
    overflow: hidden;
}

#shows .upcoming-show .hide,
#festival-performers .detail .hide {
    margin: 0 -0.75em -0.75em -0.65em;
    padding: 1em 0 0.9em 0;
    text-align: center;
    font-size: 1em;
    line-height: 0em;
    color: #1c1c1c;
    display: block;
    cursor: pointer;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

#festival-performers .detail .hide {
    margin: 0 -1em -1em -1em;
}

#shows .upcoming-show .hide:hover,
#festival-performers .detail .hide:hover {
    background-color: rgba(31, 28, 28, 0.1);
}

#previous-shows .show-thumbnail {
    margin: 0 0.5% 0.25em 0;
    padding: 0;
    width: 16%;
    min-height: 1em;
    display: inline-block;
    vertical-align: middle;
}

#previous-shows .show-thumbnail img {
    width: 100%;
    display: block;
}

#festival .title {
    margin: 0.5em 0 0.75em 0;
    font-size: 1.5em;
}

#festival-map {
/*    margin: 2em 0;
    width: 100%;
    height: 350px;
    z-index: 1;*/

    display: none;
}

#festival-performers .item a {
    margin: 0 1em 0 0;
    font-weight: bold;
}

#festival-performers .detail {
    margin: 0 0 1em 0;
}

#festival-performers .detail .padding {
    padding: 1em;
}

#festival-performers .detail h4 {
    font-size: 1em;
}

#festival-performers .detail a {
    color: #1c1c1c;
}

#festival-performers .detail .bio {
    margin: 1em 0;
}

#festival-sponsors {
    margin: 2em 0;
}

.leaflet-container {
    background-color: #dd0000 !important;
}

.leaflet-container .leaflet-control-attribution {
    background-color: rgba(0, 0, 0, 0.7) !important;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25) !important;
}

.leaflet-control-attribution,
.leaflet-control-scale-line {
    color: #e00000 !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #1c1c1c !important;
    box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.25) !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 2px !important;
}

.leaflet-popup-content {
    margin: 1em;
    font: bold 14px/1.4em 'Helvetica Neue', 'Helvetica', sans-serif !important;
}

.leaflet-container a {
    color: #e00000 !important;
}

.leaflet-popup-close-button {
    display: none !important;
}

#previous-festivals {
    padding: 1em 0;
    border-top: 1px dotted #e00000;
}

#previous-festivals h2,
#previous-festivals .horizontal-nav {
    display: inline-block;
}

#previous-festivals h2 {
    margin: 0 0.15em 0 0;
}

#previous-festivals .item {
    padding: 0 0.15em;
}

#footer {
    padding-bottom: 2em;
    font-size: 0.75em;
}

@media (min-width: 1300px) {

    .padding {
        padding: 1em 17%;
    }

    .center {
        padding: 0 17%;
    }

}

@media (max-width: 1024px) {

    .vertical-center .copy-container .copy {
        width: 65%;
    }

    .padding {
        padding: 1em 3%;
    }

    .center {
        padding: 0 3%;
    }

    .flyer,
    .flyer img {
        width: 100%;
    }

    .photo,
    .photo img {
        width: 75%;
    }
    
    #previous-shows .show-thumbnail {
        width: 24%;
    }

}

@media (max-width: 800px) {

    .vertical-center .copy-container .copy {
        width: 75%;
    }

    .padding {
        padding: 1em;
    }

    .center {
        padding: 0 1em;
    }

    .two-col-list li {
        width: 100%;
        float: none;
        display: block;
    }

    .photo,
    .photo img {
        width: 100%;
    }

    .box,
    .box-left,
    .box-right {
        width: 100%;
        text-align: left;
    }

}

@media (max-width: 700px) {

    .vertical-center .copy-container .copy {
        width: 91%;
    }

    .padding {
        padding: 0.75em;
    }

    #nav {
        display: none;
    }

    #shows .upcoming-show.detail {
        margin: 0.75em -0.75em;
        overflow: hidden;
        box-shadow: none;
    }

    #footer {
        padding: 0;
    }

    #footer p {
        margin: 0;
    }

}

@media (max-width: 400px) {

    html, body {
        font-size: 16px;
        color: #0c0c0c;
    }

    h1, h2, h3, h4 {
        font-size: 1.1em !important;
        line-height: 1.25em;
    }

    h4 {
        font-size: 1em !important;
    }

    label {
        display: block;
    }

    .padding {
        padding: 0.6em;
    }

    .festival-show .padding {
        margin: 0 0 0.5em 0;
        padding: 0.5em;
    }

    .festival-sponsor {
        margin: 0 0 0.25em 0;
        width: 100%;
        display: block;
    }

    #festival-performers .detail .padding {
        padding: 0.5em;
    }

    #festival .title {
        font-size: 1.1em;
    }

    #previous-shows .show-thumbnail {
        width: 49%;
    }

    #festival-map {
        margin: 1.5em 0;
        height: 320px;
    }

}

.mobile,
.mobile .red,
.mobile .red a {
    color: #0c0c0c;
}

.mobile .black {
    background-color: #0c0c0c;
    background: -moz-linear-gradient(top, #111 0%, #0c0c0c 50%, #111 100%);
    background: -webkit-linear-gradient(top, #111 0%, #0c0c0c 50%, #111 100%);
    background: -o-linear-gradient(top, #111 0%, #0c0c0c 50%, #111 100%);
    color: #e00000;
}

.mobile .leaflet-popup-content-wrapper,
.mobile .leaflet-popup-tip {
    background: #0c0c0c !important;
}

.error-404 #header h1 {
    font-size: 4em;
    position: relative;
    left: 0;
}