:root{
    --bs-nav-link-font-size: 1.3em;
    --melokal-gold: #CFC2AE;
}
html, body{
    height: 100%;
}

body{
    background-color: #fcf7f2;
}

#melokal-api-site{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


#content{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#melokal-burger {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
#melokal-burger .bar {
    width: 30px;
    height: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    background-color: #666666;
    transition: all 0.3s ease-in-out;
}
#melokal-burger .bar:nth-of-type(2) {
    top: calc(50% - 9px);
}
#melokal-burger .bar:nth-of-type(3) {
    top: calc(50% + 9px);
}
#melokal-burger.active .bar:nth-of-type(1) {
    display: none;
}
#melokal-burger.active .bar:nth-of-type(2) {
    top: 50%;
    transform: translate(-50%, 0%) rotate(45deg);
}
#melokal-burger.active .bar:nth-of-type(3) {
    top: 50%;
    transform: translate(-50%, 0%) rotate(-45deg);
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus,
.navbar-toggler-icon:focus {
    outline: none !important;
    border: none;
    box-shadow: none;
}
.navbar-brand img{
    height: 100px;
}
.scanpreviewwrapper{

}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-scanner {
    color: #000000 !important;
    background-color: #CFC2AE !important;
    border-color: #CFC2AE !important;
    transition: ease 1s !important;
}
.btn-scanner:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #CFC2AE !important;
}

a.black-link{
    color: #000000;
    text-decoration: underline;
}
a.black-link:hover{
    color: #000000;
    text-decoration: none;
}

.form-control:focus{
    border: 1px solid #CFC2AE !important;
    box-shadow: 0 0 0 .25rem rgba(207, 194, 174, .25) !important;
}

#reader {
    width: 500px;
    min-height: 200px;
    height: auto;
    border-radius: 26px;
    background-image: url('/images/scanicon.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 165px;
}
#reader video {
    border-radius: 26px;
}
.scanwrapper{
    max-width: 500px;
    margin: 0 auto;
}

.scanwrapper {
    width: 500px;
    margin: 0 auto;
}

@media only screen and (max-width: 600px) {
    #reader {
        width: 95%;
        height: auto;
    }
}

.qr-reader-wrapper{
    border: 3px dashed #CCC;
    height: 500px;
}

.bg-buw{
    background-color: #bd749e;
}
.bg-cua{
    background-color: #16a8d4;
}
.bg-fua{
    background-color: #f28f75;
}
.bg-fsut{
    background-color: #6cbd90;
}
.bg-glup{
    background-color: #4c7ab1;
}
.bg-gut{
    background-color: #e9d575;
}

.gradient-custom {
    /* fallback for old browsers */
    background: #f6d365;

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right bottom, rgba(246, 211, 101, 1), rgba(253, 160, 133, 1));

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right bottom, rgba(246, 211, 101, 1), rgba(253, 160, 133, 1))
}
.gradient-melokal{
background-image: repeating-linear-gradient(to right, #a2682a 0%, #be8c3c 8%, #be8c3c 18%, #d3b15f 27%, #faf0a0 35%, #ffffc2 40%, #faf0a0 50%, #d3b15f 58%, #be8c3c 67%, #b17b32 77%, #bb8332 83%, #d4a245 88%, #e1b453 93%, #a4692a 100%);
background-size: 150%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
filter: drop-shadow(0 0 1px rgba(255, 200, 0, .3));
animation: MoveBackgroundPosition 6s ease-in-out infinite;
}

.bg-melokal-gold{
    background-color: #c3b28f;
}

.voucher-row-downloaded{
    background-color: var(--melokal-gold) !important;
}