﻿/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.img {
    position: absolute;
    z-index: 1;
}

#imagecanvas {
    display: inline-block;
    margin: 0 auto;
    position: relative;
}

#voucherTextCanvas {
    position: relative;
    z-index: 20;
}

.grid-container {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    background-color: white;
}

.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.fontsizecounter {
    border: 1px solid;
    border-color: rgba(57,76,96,.25);
    background-color: white;
    font-family: Hybrea, Overlock;
    font-weight: bold;
    outline-style: none;
    text-align: center;
    height: 40px;
    margin-left: -4px;
    position: relative;
    padding: 0 10px;
    color: black;
    width: 48px;
}

.updown {
    border: 1px solid;
    border-color: rgba(57,76,96,.25);
    background-color: white;
    border-radius: 10px;
    text-align: center;
    height: 40px;
    width: 40px;
    line-height: 1;
    cursor: pointer;
}


.plusminEdit {
    border: 1px solid;
    border-color: rgba(57,76,96,.25);
    background-color: white;
    cursor: pointer;
    outline-style: none;
    width: 50px;
    height: 40px;
    color: black;
    text-align: center;
    line-height: 26px;
    font-size: 36px;
    font-family: Hybrea, Overlock;
}

    .plusminEdit#fontminus {
        border-radius: 10px 0 0 10px;
    }

    .plusminEdit#fontplus {
        border-radius: 0 10px 10px 0;
        margin-left: -4px;
    }

    .plusminEdit#heightdown {
        border-radius: 10px 0 0 10px;
    }

    .plusminEdit#heightup {
        border-radius: 0 10px 10px 0;
        margin-left: -4px;
    }


#count-container {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 2px;
    grid-auto-flow: column;
    align-items: center;
}

#plus, #minus, #quantiy {
    display: block;
    outline: none;
}

textarea:focus {
    outline: none;
}

.img-select {
    cursor: pointer;
}

.updown {
    padding-top: 10px;
}

.fontsizecounter {
    padding-top:5px;
}

#fontSelect {
    height: 40px;
    font-size: 22px;
    border-radius: 10px;
    border-color: rgba(57,76,96,.25);
    margin-right: 5px;
}

#voucher {
    max-width: 100vw;
}

@media (max-width: 776px) {
    #fontSelect {
        height: 25px;
        font-size: 12px;
    }

    .plusminEdit, .fontsizecounter, .updown {
        height: 25px;
        font-size: 12px;
    }

    .updown {
        padding-top: 3px;
        width: 35px;
    }

    .fontsizecounter {
        padding-top: 0px;
        width: 40px;
    }

    .plusminEdit {
        width: 30px;
    }
}