/*

© 2019 Gilles Bossuyt

www.gillesbossuyt.be

*/

/*

Kleuren:
 
    Rood:   #E82929     rgb(232, 41, 41)

    Beige:  #EEE8D8     rgb(238, 232, 216)

    Grijs:  #605E5E     rgb(96, 94, 94)

*/

/* Lettertype */

@font-face {
    font-family: 'Neuzeit Grotesk';
    src: url('/assets/fonts/neuzeit_grotesk_regular.woff2') format('woff2'), url('/assets/fonts/neuzeit_grotesk_regular.woff') format('woff'), url('/assets/fonts/neuzeit_grotesk_regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sanchez';
    src: url('/assets/fonts/sanchez_regular.woff2') format('woff2'), url('/assets/fonts/sanchez_regular.woff') format('woff'), url('/assets/fonts/sanchez_regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Algemeen */

html, body {
    font-family: 'Neuzeit Grotesk', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Sanchez', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-transform: uppercase;
    margin: 0px;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

p {
    margin: 0px;
    padding: 10px;
    font-size: inherit;
}

a {
    color: #E82929;
}

a:hover {
    color: #605E5E;
}

*::-moz-selection, *::-moz-selection {
    background-color: rgba(232, 41, 41, 0.8);
    color: #FFFFFF;
}

input, textarea, select, option {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 1px rgba(96, 94, 94, 0.4) solid;
    background-color: transparent;
    color: #605E5E;
    margin: 10px;
    padding: 5px 0px;
    font-size: 16px;
}

input, textarea {
    display: block;
    width: calc(100% - 20px);
}

textarea {
    min-height: 200px;
}

input::placeholder, input::-webkit-input-placeholder, input::-ms-input-placeholder {
    color: rgba(96, 94, 94, 0.4);
}

input:hover, textarea:hover, input:focus, textarea:focus {
    border-bottom-color: #605E5E;
    color: #605E5E;
    background-color: #EEE8D8;
}

input[type=submit], button {
    border-color: #FFFFFF;
}

input[type=submit]:hover, button:hover {
    cursor: pointer;
}

label {
    margin: 10px;
    display: block;
}

.select {
    position: relative;
    display: inline-block;
}

.select:after {
    position: absolute;
    content: "";
    top: 22px;
    right: 16px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #E82929 transparent transparent transparent;
}

option:hover {
    background-color: #EEE8D8;
    color: #605E5E;
}

.checkbox .checkmark, .radio .dot {
    background-color: transparent;
    border: 1px #605E5E solid;
}

.checkbox:hover .checkmark, .radio:hover .dot {
    background-color: #EEE8D8;
}

.checkbox input:checked~.checkmark, .radio input:checked~.dot {
    background-color: #E82929;
    border-color: #E82929;
}

.radio .dot:after {
    background-color: #FFFFFF;
}

.checkbox .checkmark:after {
    border-color: #FFFFFF;
}

button {
    margin: 10px;
    padding: 10px 20px;
    background-color: #E82929;
    color: #FFFFFF;
    font-size: 20px;
    font-family: 'Sanchez', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-transform: uppercase;
    border: 0;
    display: inline-block;
    box-shadow: 2px 2px 6px 0px #605E5E;
    -moz-box-shadow: 2px 2px 6px 0px #605E5E;
    -webkit-box-shadow: 2px 2px 6px 0px #605E5E;
    transition: background-color 0.2s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

button:hover {
    background-color: #605E5E;
}

.rood {
    color: #E82929;
}

/* Mobiel */

@media only screen and (max-device-width: 481px) {
    #content {
        margin: 0px;
        grid-gap: 25px;
    }
    #section-1, #section-2, #section-3 {
        grid-column: 1 / span 3;
    }
    .title {
        text-align: center;
    }
    #bestelling-kaart {
        margin: 10px 0px;
        width: 100%;
    }
}

/* Tablet */

@media only screen and (min-device-width: 481px) {
    #centralizer {
        width: 90%;
    }
    #content {
        margin: 25px 0px;
        grid-gap: 50px;
    }
    #section-1, #section-2, #section-3 {
        grid-column: 1 / span 3;
    }
    .item {
        box-shadow: 2px 2px 6px 0px #605E5E;
        -moz-box-shadow: 2px 2px 6px 0px #605E5E;
        -webkit-box-shadow: 2px 2px 6px 0px #605E5E;
    }
    #bestelling-kaart {
        width: calc(100% - 20px);
        margin: 10px;
    }
}

/* Desktop */

@media only screen and (min-device-width: 1025px) {
    #centralizer {
        width: 80%;
    }
    #section-1 {
        grid-column: 1 / 3;
        grid-row: 1 / span 2;
    }
    #section-2, #section-3 {
        grid-column: 3;
    }
}

/* Algemeen */

.ticket .naam, #besteloverzicht tfoot {
    font-family: 'Sanchez', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-transform: uppercase;
}

#centralizer {
    display: block;
    margin: 0px auto;
}

#content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto 1fr auto;
}
#section-1 {
    width: 100%;
}

#footer {
    grid-column: 1 / span 3;
}

.number-select {
    text-align: center;
    display: block;
    margin: 10px 0px;
}

.number-select input {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    margin: 0;
    width: 40px;
    line-height: 30px;
    font-size: 20px;
    display: inline-block;
    background-color: #FFFFFF;
    border-radius: 5px;
    text-align: center;
}

.number-select input::-webkit-outer-spin-button, .number-select input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-select .min, .number-select .plus {
    display: inline-block;
    color: #FFFFFF;
    background-color: #E82929;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0px 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.number-select .min:hover, .number-select .plus:hover {
    background-color: #605E5E;
}

.number-select .min:after, .number-select .plus:after {
    line-height: 40px;
    font-weight: bold;
    font-size: 40px;
    display: block;
    font-family: 'Sanchez', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.number-select .min::after {
    content: "-";
}

.number-select .plus::after {
    content: "+";
}

.checkbox, .radio, .number-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.fout {
    background-color: #605E5E;
    color: #FFFFFF;
    position: relative;
    margin: 20px 10px 10px 10px;
    display: inline-block;
}

.fout:after {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-bottom-color: #605E5E;
    border-top: 0;
    margin-left: -10px;
    margin-top: -10px;
}

#sponsors {
    text-align: center;
}

#sponsors img {
    max-width: 90%;
    max-height: 30vh;
}

#socialmedia {
    text-align: center;
    display: block;
    padding: 10px 0px;
}

#socialmedia .link {
    font-size: 40px;
    display: inline-block;
    vertical-align: middle;
}

#socialmedia .link a {
    margin: 0px 10px;
    transition: color 0.2s ease;
    color: #605E5E;
}

#socialmedia .link.facebook:hover a {
    color: #3C5A99;
}

#socialmedia .link.insta:hover a {
    color: #CD486B;
}

.item .comment {
    background-color: #EEE8D8;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 24px;
}

.item {
    background-color: #FFFFFF;
    color: #000000;
    font-size: 16px;
    overflow: hidden;
}

.item h3, .item h4 {
    padding: 10px;
}

.item p {
    padding: 5px 10px;
    line-height: 30px;
}

.text {
    padding: 20px;
}

.text p {
    line-height: 24px;
    text-align: justify;
}

.text li {
    padding: 0px 10px;
    line-height: 24px;
    text-align: justify;
}

.title {
    background-color: #E82929;
    color: #FFFFFF;
    padding: 10px;
}

.tickets {
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
    justify-content: space-evenly;
    gap: 20px;
}

.ticket {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: center;
    text-align: center;
    font-size: 20px;
    margin: 0px;
    border-radius: 5px;
    background-color: #EEE8D8;
    overflow: hidden;
    max-width: 90vw;
    min-width: 200px;
}

.ticket .naam {
    font-size: 20px;
    background-color: #605E5E;
    color: #FFFFFF;
}

.ticket .datum, .ticket .uren {
    font-size: 16px;
    text-transform: uppercase;
}

.ticket .prijs {
    font-size: 40px;
    padding: 10px;
}

.ticket .scan {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
}
.ticket .qrcode {
    height: 70vw;
    max-height: 300px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    overflow: hidden;
}
.ticket .qrcode svg {
    display: block;
    height: 100% !important;
    width: 100% !important;
}

#besteloverzicht {
    white-space: nowrap;
}

#besteloverzicht thead {
    background-color: #EEE8D8;
    font-weight: bolder;
}

#besteloverzicht thead td:nth-child(2), #besteloverzicht tbody td:nth-child(2) {
    text-align: center;
}

#besteloverzicht tfoot {
    background-color: #605E5E;
    color: #FFFFFF;
    font-weight: bolder;
    font-size: 20px;
}

#besteloverzicht td:nth-child(1) {
    width: 40%;
}

#besteloverzicht td:nth-child(2), #besteloverzicht td:nth-child(3) {
    width: 30%;
}

#betaalmethoden {
    max-width: 90%;
    display: block;
    margin: 10px auto;
    max-height: 180px;
}

#bestelling-gegevens {
    width: auto;
}

#bestelling-besteloverzicht {
    width: auto;
    margin: 10px;
    border: 1px #E82929 solid;
}

#bestelling-gegevens td:nth-child(2) {
    font-style: italic;
}

#bestelling-besteloverzicht td:not(:nth-child(1)) {
    white-space: nowrap;
}

#bestelling-besteloverzicht thead {
    background-color: #E82929;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: bolder;
}

#bestelling-besteloverzicht tfoot {
    background-color: #EEE8D8;
    text-transform: uppercase;
    font-weight: bolder;
}

#bestelling-kaart {
    height: 50vh;
    border: 0px;
}

#loading,
#redirect-message {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    margin: 20px auto;
}
#redirect-message.hide {
    display: none;
}
#loading-spinner {
    height: 30vh;
}

.splide__slide {
    margin: 20px 20px 40px 0px !important;
}
.splide__pagination__page {
    height: 10px !important;
    width: 10px !important;
    box-shadow: none !important;
}
.splide__pagination__page.is-active {
    background: #605E5E !important;
}