:root {
    --gantt-background-color: #FFF;
    --task-background-color: #000;
    --done-text-color: #000;
    --done-background-color: #4bd350;
    --overdue-background-color: #d34b4b;
    --overdue-text-color: #000;
    --active-background-color: #d3804b;
    --active-text-color: #000;
    --today-color: #4ba0d3;
    --event-day-color: #caff4b;
    --busy-background-color: #d3b24b;
    --busy-text-color: #000;
}

@font-face {
    font-family: stanistilFont;
    src: url("../fonts/Watermelon Script - TTF.ttf");
}
html {
    background: var(--background-image) no-repeat center center fixed;
    /*box-shadow: inset 0 0 0 1000px var(--background-color);*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
body, html {
    font-family: textFont;
    color: var(--text-color);
    height: 100%;
}
body {
    font-family: textFont;
    /*background: var(--primary-color);*/
    /*background: linear-gradient(0deg, var(--primary-color) 0%, var(--primary-color-highlight) 50%, var(--primary-color) 100%);*/
}
div.description {
    font-family: infoFont;
    max-width: 80%;
    margin: auto;
}

.bg {

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}
/*div.stanistil-title {*/
/*    text-align: center;*/
/*    font-family: titleFont;*/
/*    font-size: 3em;*/
/*    text-shadow: -5px 5px white;*/
/*}*/
div.stanistil-presents {
    text-align: center;
    font-size: 1.5em;
}
div.center-container {
    display: flex;
    justify-content: center;
}
div.invisible_box, div.box {
    margin: 0.2em;
    text-align: center;
    padding: 0.1em 1em;
}
div.box {
    background-color: var(--box-background);
}
div.linefilling {
    display: block;
}
div.ball-title, div.ball-title-clone {
    text-align: center;
    background-color: var(--title-background);
    font-family: titleFont;
    font-size: 3em;
}
div.ball-title-clone {
    z-index: -1;
    position: absolute;
}
div.title {
    font-family: titleFont;
    font-size: 1.5em;
}
div.h2 {
    font-size: 1.5em;
}
.left-align {
    text-align: left;
}
ul {
    text-align: left;
    /*list-style-type: none; !* Remove bullets *!*/
    /*padding: 0; !* Remove padding *!*/
    /*margin: 0; !* Remove margins *!*/
}
div.address {
    display: block;
}
a {
    font-weight: bold;
    text-decoration: none;
    color: var(--text-color);
}
div.home {
    padding: 1em;
}
div.comment {
    font-size: 0.5em;
}
div#left_bottom_decoration {
    position: fixed;
    left: 0px;
    bottom: 0px
}
div#right_bottom_decoration {
    position: fixed;
    right: 0px;
    bottom: 0px;
}
.dot {
    background-color: #358907;
    position: fixed;
    border-radius: 50%;
    z-index: -100;
}
ul.dotless_list {
    text-align: left;
    list-style-type: none;
    margin: 0.1em 0 0.1em 0;
}
ul.center {
    text-align: center;
}
.wide_space {
    padding-top: 40px;
}
#date_box {
    /*position: absolute;*/
    right: 1em;
}
#location_box {
    /*position: absolute;*/
    left: 1em;
}
#rough_program {
    text-align: left;
}
div#date {
    font-size: 1.5em;
}
.band-hour {
    padding-left: 2em;
}
.band {
    font-size: 2em;
    padding-right: 2em;
}
.band-container {
    display: inline;
    justify-content: center;
}
.performance {
    display: flex;
    overflow-x: clip;
}
.band-hour {
    padding-left: 0.5em;
}
@media (min-width: 1024px) {
    #date_box {
        position: absolute;
        right: 1em;
        top: 7em;
    }
    #location_box {
        position: absolute;
        left: 1em;
        top: 7em;
    }
    .band-container {
        display: flex;
        justify-content: center;
    }
}
table {
    font-size: 1em;
}
td, th  {
    padding: 0 5px;
}
tr:nth-child(odd) {background: var(--box-background)}
input[type=checkbox], input[type=radio]
{
    /* Double-sized Checkboxes */
    -ms-transform: scale(2); /* IE */
    -moz-transform: scale(2); /* FF */
    -webkit-transform: scale(2); /* Safari and Chrome */
    -o-transform: scale(2); /* Opera */
    transform: scale(2);
    margin: 0.25em;
    padding: 10px;
}
.small_btn {
    font-family: textFont !important;
    padding: 0 0.5em!important;
    width: 100%;
}
@media (max-width: 1024px) {
    .only_desktop {
        display: none;
    }
}
@media (min-width: 1024px) {
    .only_mobile {
        display: none;
    }
}
input.small_number {
    width: 1.5em;
}
button.quick_ticket {
    width: 150px;
}
.info {
    font-family: infoFont;
}
.symbol {
    font-family: symbolFont;
}
.added_drink_tickets {
    border: 1px solid black;
    text-align: center;
    font-size: 160px;
    width: 400px;
    height: 200px;
}

#added_drink_tickets {
    position: absolute;
    border: none;
}
.uitpas_ticket_type, #uitpas_warning {
    display: none;
}
.warning-message {
    font-weight: bold;
    color: var(--menu-text-color-highlight);
}
.uitpas_warning {
    display: none;
}
.extra-small {
    font-size: 0.5em;
}
.link_icon {
    height: 0.7em;
}

td.shift_cell {
    background-color: var(--secondary-color);
    padding: 0;
}
td.shift-0-flow {
    background-color: transparent;
}

table.schedule {
    font-size: 0.5em;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
div.schedule {
    display: block;
}
a.location_link {
    font-size: 0.7em;
}
img.event_thumbnail {
    width: 250px;
}
div.event_box {
    width: 250px;
    position: relative;
    text-align: center;
    color: white;
    margin: 0.1em;
}
div.event_title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0);
}
div.event_date {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 0);
}
div.event_title, div.event_date {
    color: white;
    width: 250px;
}
div.event_box > a {
    font-weight: normal;
}
div.event_box > a:hover {
    color: white;
}
div.event_box > a:hover > img  {
    -webkit-filter: brightness(150%);
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    max-width: 70%;
    position: relative;
    margin: auto;
    background-color: #000;
    margin-top: 1em;
    aspect-ratio: 3 / 2;
}

.slideshow-container > div > img{
    height: 100%;
    width: 100%;
}

.slideshow-container > div {
    aspect-ratio: 3 / 2;
}

/* Hide the images by default */
.mySlides {
    opacity: 0;
    position: absolute;
    left: 0;
    top:0;
    -webkit-transition: opacity 2s linear;
    -moz-transition: opacity 2s linear;
    -o-transition: opacity 2s linear;
    transition: opacity 2s linear;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
/*.dot {*/
/*    cursor: pointer;*/
/*    height: 15px;*/
/*    width: 15px;*/
/*    margin: 0 2px;*/
/*    background-color: #bbb;*/
/*    border-radius: 50%;*/
/*    display: inline-block;*/
/*    transition: background-color 0.6s ease;*/
/*}*/

/*.active, .dot:hover {*/
/*    background-color: #717171;*/
/*}*/

/* Fading animation */
/*.fade {*/
    /*animation-name: fade;*/
    /*animation-duration: 10s;*/
/*}*/

.visible {
    opacity: 1;
}

#banner_canvas {
    height: 150px;
    width: 100%;
}

.contact {
    margin-top: 1em;
}
/*@keyframes fade {*/
/*    0% {opacity: .4}*/
/*    20% {opacity: 1}*/
/*}*/

/* Uses vh and vm with calc */
@media screen and (min-width: 0px) and (max-width: 1000px){
    html { font-size: 30px; }
    div.description {
        font-family: infoFont;
        max-width: 800px;
        /*margin: auto;*/
    }
    div.event_box {
        width: 12em;
    }
    div.event_title, div.event_date, img.event_thumbnail {
        width: 12em;
	max-width: 75vw;
    }
    .slideshow-container {
        width: 12em;
        max-width: 75vw;
    }

    #banner_canvas {
        height: 250px;
    }
}

#message {
    font-weight: bold;
}
img.band_img {
	max-width:90%;
    width: min(90%, 800px);
	margin-left: auto;
	margin-right: auto;
	display: block;
}
table.planning {
    border-collapse: separate;
    border-spacing: 0;
}
td.gantt_cell {
    height: 0.5em;
    min-width: 0.5em;
    border: black solid 1px;
    padding: 0px;
    background: var(--primary-color-highlight);
}
th.gantt_cell {
    border: black solid 1px;
    text-align: center;
    background: var(--primary-color);
}
.scroll_panel {
    display: block!important;
    overflow-x: auto;
    padding: 0 0 0.5em 0;
    margin: 0.5em;
}
td.gantt_cell {
    background: var(--gantt-background-color);
}
td.gantt_cell.task {
    background: var(--task-background-color);
}
th.gantt_cell.day {
    position: sticky;
    font-size: 0.5em;
}
th.gantt_cell.month {
    position: sticky;
    overflow: clip;
}
td.gantt_title {
    white-space: nowrap;
    font-size: 0.5em;
    position: -webkit-sticky;
    position: sticky;
    background: var(--gantt-background-color);
    margin: 0px;
    text-align: left;
}
td.gantt_title.category {
    left: 0;
}
td.gantt_title.name {
    left: 3.5em;
}
td.gantt_title.assigned {
    left: 10.5em;
}
td.gantt_title.status {
    left: 12.3em;
}
th.gantt_placeholder_left {
    min-width: 10em;
    background: var(--primary-color-highlight);
    position: sticky;
}
td.gantt_cell.today {
    background: var(--today-color);
}
td.gantt_cell.event-day {
    background: var(--event-day-color);
}
td.gantt_cell.overdue, td.gantt_title.overdue {
    color: var(--overdue-text-color);
    background: var(--overdue-background-color);
}
td.gantt_cell.active, td.gantt_title.active {
    color: var(--active-text-color);
    background: var(--active-background-color);
}
td.gantt_cell.busy, td.gantt_title.busy {
    color: var(--busy-text-color);
    background: var(--busy-background-color);
}
td.gantt_title.done {
    color: var(--done-text-color);
    background: var(--done-background-color);
}
td.gantt_cell.done {
    background: var(--done-background-color)
}
tr#gantt_month {
    position: sticky;
    top: 0;
}
tr#gantt_day {
    position: sticky;
    top: 1.5em;
}
@media print {
    /* All your print styles go here */
    @page {size: A4 landscape;max-height:100%; max-width:100% }

    body {
        font-size: 1em !important;
    }
    #banner_container,
    .menu,
    .ball-title,
    .contact
     {
        display: none !important;
    }
    tr:nth-child(even) td {
        -webkit-print-color-adjust:exact !important;
        print-color-adjust:exact !important;
        background: #d3d8dc;
    }
    tr:nth-child(odd) td {
        -webkit-print-color-adjust:exact !important;
        print-color-adjust:exact !important;
        background: #ffffff!important;
    }
    html, table {
        overflow-x: visible !important;

    }
    .page-break {
        page-break-before: always;
    }
    table.schedule {
        font-size: 1em;
    }
    td.volunteer_email, td.volunteer_btn, th.volunteer_email, th.volunteer_btn {
        display: none;
    }
}
.slideshow-container a {
    color: #f2f2f2;
    font-weight: bold;
}
div.grid-gallery-item {
    padding-top: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}
div.grid-gallery-item img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 400px;
    max-width: 400px;
}
#popup-image {
    max-width: 90%;
    max-height: 90vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.volunteer_table {
    font-size: 0.5em;
}
.volunteer:after, .volunteer:before {
    content: "*";
}
img.sponsor {
    width:170px;
    background: white;
    padding: 10px;
}

.clickable {
    cursor: pointer;
}
.opted_out {
    opacity: 0.4;
    filter: alpha(opacity=40);
}
.public_photo {
    border: 0.2em solid var(--active-text-color);
}
.video-container {
    max-width: 80%;
    width: 800px;
    padding-top: 1em;
}
video {
    width: 100%;
}
.topspace {
    margin-top: 1em;
}
.wide {
    display: none;
}
@media (min-width: 1024px) {
    .wide {
        display: table-cell;
    }
}
