body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Love Ya Like A Sister', cursive;
    font-size: 120%;
}

/* Replace bullet character with asterisk * */

ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

li {
    padding-left: 15px;
    text-indent: -15px;
}

li:before {
    content: "*";
    padding-right: 5px;
}

/* Form and label alignment */

input, textarea, select {
    display: block;
    font-family: inherit;
    font-size: inherit;
    font-style: normal !important;
}

.error {
    background-color: lightpink;
}

label {
    display: block;
    padding-top: 1em;
    margin-bottom: 0.2em;
}

textarea {
    width: 95%;
    height: 8em;
}

input {
    width: 60%;
}

input.narrow {
    width: 30%;
}

input[type=checkbox], input[type=radio] {
    display: inline-block;
    width: 2em;
}

input[type=radio] + label, input[type=checkbox] + label {
    display: inline-block;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

.clickable {
    cursor: pointer;
}

.clickableArea {
    position: absolute;
    overflow: hidden;
    z-index: 10;
    cursor: pointer;
}

#ingredientsSelector {
    height: 10em;
}

.mobile_select {
    width: 60%;
    height: 100%;
}

.um-multiselect {
    width: 80%;
    height: 100%
}

.um-multiselect-button-cell {
    width: 5%;
}

.um-multiselect-button-cell div {
    text-align: center;
    margin: 0.5em;
}

.um-multiselect-left-cell, .um-multiselect-right-cell {
    width: 30%;
}

.um-multiselect-list {
    width: 100%;
    height: 100%;
}

#glassPanel {
    background-color: black;
    opacity: 0.5;
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    z-index: 100;
}

#dialogPanel {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 200;
}

#dialogPanel > div {
    position: relative;
    width: 100%;
    height: 100%;
}

#dialogBorder, #dialogContent {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

#dialogBorder {
    width: 100%;
}

#dialogContent {
    width: 100%;
}

.flipped {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: "FlipH";
}

/* Normal popup dialog */

#normalPanel {
    position: relative;
    height: 100%;
}

#normalPanelText {
    position: absolute;
    height: auto;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    margin: 0.7em;
    overflow: auto;
}

#normalPanelText::-webkit-scrollbar {
    display: none;
    -ms-overflow-style: none;
}

#closeIcon, #scrollIndicator, #scrollIndicator > div {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 10;
}

#closeIcon {
    top: -0.7em;
    right: -0.5em;
}

#closeIcon > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 160%;
    text-align: center;
}

#closeIcon:hover > div {
    text-shadow: 0 0 5px;
}

#scrollIndicator {
    right: -0.5em;
    bottom: -0.5em;
}

#scrollIndicatorArrow {
    text-align: center;
    color: #222222;
    top: -18px;
    font-size: 400%;
    -webkit-transform-origin: 27px 46px;
    -moz-transform-origin: 27px 46px;
    -o-transform-origin: 27px 46px;
    transform-origin: 27px 46px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-animation-name: pulse;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation: pulse 2s ease-in-out infinite;
    -moz-animation: pulse 2s ease-in-out infinite;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 0 10px red;
}

@-webkit-keyframes pulse {
    0% {
        text-shadow: 0 0 10px red;
    }
    50% {
        text-shadow: 0 0 0 red;
    }
    100% {
        text-shadow: 0 0 10px red;
    }
}

@-moz-keyframes pulse {
    0% {
        text-shadow: 0 0 10px red;
    }
    50% {
        text-shadow: 0 0 0 red;
    }
    100% {
        text-shadow: 0 0 10px red;
    }
}

@keyframes pulse {
    0% {
        text-shadow: 0 0 10px red;
    }
    50% {
        text-shadow: 0 0 0 red;
    }
    100% {
        text-shadow: 0 0 10px red;
    }
}

/* Main Images */

.mainImage {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.mainImage canvas {
    display: block;
}

.drawer {
    position: absolute;
    overflow: hidden;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    z-index: 10;
    font-weight: bolder;
    text-shadow: 0 2px 5px gray;
}

/* Copy right */

#copyright {
    position: absolute;
    font-size: 80%;
    width: 100%;
    z-index: 90;
    text-decoration: none;
    text-align: center;
    margin: 0 auto;
    bottom: 0.7em;
    color: white;
    text-shadow: -2px -2px 2px #000,
    2px -2px 2px #000,
    -2px 2px 2px #000,
    2px 2px 2px #000;
}

#copyright a {
    color: white;
    text-decoration: none;
}

#copyirght a:hover {
    color: white;
    text-decoration: none;
}

#copyright a:visited {
    color: white;
    text-decoration: none;
}

/* Button bar/list styles */

.buttonbar {
    position: relative;
    text-align: center;
    min-height: 3.5em;
    height: 3.5em;
    max-height: 3.5em;
}

.buttonbar > div {
    display: inline-block;
}

.button {
    display: inline-block;
    position: relative;
    width: 13em;
    height: 2.5em;
    margin: 0.25em;
    color: black;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    line-height: 2.5em;
}

.button div, .button a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.button a {
    color: black;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.5em;
}

.button a:hover {
    color: darkslategray;
}

.button a.disabled {
    color: lightgray;
}

.button a:focus {
    outline: 0;
    text-shadow: 0px 3px 2px #aaaaaa;
}

/* Purchase panel */

#purchaseForm {
    height: 100%;
}

.purchase {
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    -webkit-flex-direction: column;
    display: flex;
    flex-direction: column;
}

.purchase-title {
    text-align: center;
    padding-top: 0.2em;
    height: 1.9em;
}

.purchase-text {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    overflow: auto;
    padding: 0 1em 1em 1em;
}

.purchase-text::-webkit-scrollbar, .inner-container::-webkit-scrollbar {
    display: none;
    -ms-overflow-style: none;
}

.discretion {
    padding: 1em 0;
}

/* Purchase screens */

.purchase {
    position: relative;
}

.purchase * p {
    margin: 0;
}

#description {
    height: 5em;
}

/* Jar info panel */

#jarInfo img {
    position: absolute;
    max-width: 25%;
    width: 25%;
    height: auto;
}

#jarInfo p, #jarInfo h3 {
    margin: 0;
    padding: 0 0 0.2em 30%;
}

/* Classes for normal popup dialogs */

.buttons, .buttons-top, .buttons-bottom {
    text-align: center;
}

.buttons a + a, .buttons-top a + a, .buttons-bottom a + a {
    margin-left: 10px;
}

.buttons-top img {
    width: 60px;
    height: 60px;
}

.contactWrapper {
    width: 100%;
    margin: 0 auto;
}

.contactLeft {
    float: left;
    width: 50%;
    margin-bottom: 20px;
}

.contactRight {
    float: right;
    width: 50%;
    margin-bottom: 20px;
}

/* Item popup */

.itemPopup {
    z-index: 90;
}

#itemPopup {
    display: inline-block;
    z-index: 91;
    position: relative;
    height: 2.5em;
    color: black;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.5em;
}

#itemPopup div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#itemPopupCaption {
    padding-left: 0.5em;
}

/* Bubbles */

.bubble {
    position: absolute;
    width: 20em;
    z-index: 200;
    font-weight: bold;
}

.bubble > img {
    display: block;
    width: 100%;
    height: auto;
}

#bubbleA > img {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: "FlipH";
}

#bubbleB .middle {
    min-height: 5em;
    background: url("images/tekstballon-middle1b.png") left top no-repeat, url("images/tekstballon-middle2b.png") left 4.1em no-repeat;
    background-size: 100% 4.2em, 100% calc(100% - 4em);
    padding-left: 2.5em;
    padding-right: 1em;
}

#bubbleA .middle {
    min-height: 5em;
    background: url("images/tekstballon-middle1a.png") left top no-repeat, url("images/tekstballon-middle2a.png") left 4.1em no-repeat;
    background-size: 100% 4.2em, 100% calc(100% - 4em);
    padding-left: 1em;
    padding-right: 2.5em;
}

.bubble p {
    margin: 0;
    padding-bottom: 0.2em;
}

.bubbleLink {
    text-decoration: none;
}

.bubbleButton {
    padding-left: 1em;
    padding-right: 1em;
    text-decoration: none;
    color: black;
    text-shadow: 0 2px 5px gray;
}

/* Print styles */

.a4 {
    padding: 0;
    margin: 1em auto;
    width: 1000px;
}

/* Waardebon/kadootje styles */

.kniplijn img {
    width: 100%;
}

.waardebon-image {
    position: relative;
    width: 100%;
    height: 673px;
}

.waardebon-name {
    position: absolute;
    font-size: 300%;
    left: 370px;
    top: 114px;
}

.waardebon-aangeboden {
    position: absolute;
    font-size: 120%;
    left: 500px;
    top: 176px;
}

.waardebon-main {
    position: absolute;
    left: 110px;
    top: 295px;
    width: 775px;
    height: 173px;
    overflow: hidden;
}

.waardebon-main p, .waardebon-main h6 {
    margin-bottom: 0px;
    margin-top: 12px;
}

.waardebon-footer {
    position: absolute;
    left: 117px;
    top: 550px;
    width: 775px;
    text-align: center;
    font-size: 90%;
}

.waardebon-border {
    position: absolute;
    width: 1000px;
    height: 673px;
}

.waardebon-logo {
    position: absolute;
    left: 331px;
    top: 210px;
    width: 517px;
    height: auto;
}

.waardebon-potjes {
    position: absolute;
    top: 470px;
    left: 113px;
    width: 775px;
    height: auto;
}

@media print {
    .pagebreak {
        page-break-after: always;
    }
}

/* Jar info panel */

#jarView img {
    position: absolute;
    max-width: 20%;
    width: 20%;
    height: auto;
}

#jarView p, #jarView h3 {
    margin: 0;
    padding: 0 0 0.2em 30%;
}

#jarView .copyright {
    position: absolute;
    bottom: 0;
}