body {
    background: #edeef2 !important;
}

/*POPUP*/
#orderStopOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

#orderStopPopup {
    background: #fff;
    max-width: 520px;
    width: 100%;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    font-family: Arial, sans-serif;
    position: relative;
    text-align: center;
}

#orderStopPopup h2 {
    margin: 0 0 15px;
    font-size: 24px;
}

#orderStopPopup p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.5;
}

#orderStopClose {
    background: #222;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

#orderStopClose:hover {
    background: #444;
}

.textFontColor2 {
    width: 50px !important;
    height: 50px !important;
    margin: 0;
    background: #f5f6fa;
    border: solid 1px #000000 !important;
    padding: 0;
    border-radius: 6px;
}

@media (max-width: 480px) {
    #orderStopPopup {
        padding: 22px;
    }

    #orderStopPopup h2 {
        font-size: 21px;
    }

    #orderStopPopup p {
        font-size: 15px;
    }

    #orderStopClose {
        width: 100%;
    }
}


footer {
    display: none !important;
}

.btn-outline-primary, .btn-outline-primary:hover {
    border: 1px solid #0b455d !important
}

#sidebar {
    position: relative;
    width: 26%;
    float: right;
    height: calc(100vh - 180px);
    display: block;
    border-radius: 20px;
    /*overflow: hidden;*/
    background: #ffffff;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}

#sidebar table td {
    font-size: 14px !important;
}

#middlebar {
    position: relative;
    background: transparent;
    min-height: calc(100vh - 136px);
    display: block;
}

canvas { touch-action: none; }

.clipart-item {
    cursor: pointer;
}

.no-border {
    border: 0 !important;
}

#productInfo .accordion-item {
    border-radius: 10px !important;
}

#productInfo .accordion-button {
    border-radius: 10px !important;
    padding-left: 20px;
    padding-right: 20px;
}

.accordion-body {
    padding-left: 20px;
    padding-right: 20px;
}

.text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

#productInfo h2 {
    font-size: 24px;
}

#cartContainer {
    display: none;
    position: fixed;
    width: 500px;
    height: auto;
    top: 118px;
    right: 30px;
    z-index: 10000;
    background: #ffffff;
    border-radius: 6px;
}

#uploadProgressContainer {
    display: none;
    flex-flow: column;
    justify-content: center;
    position: fixed;
    width: 300px;
    height: 150px;
    top: calc(50vh - 75px);
    left: calc(50vw - 150px);
    z-index: 10000;
    background: #ffffff;
}

#uploadProgress {
    width: 100%;
    display: flex;
}

#uploadPercent, #uploadText {
    width: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
}

#desktopCanvasEditBtn {
    display: none;
    width: 240px;
    height: auto;
    position: absolute;
    top: 160px;
    right: calc(50% - 120px);
    text-align: center;
    padding: 20px;
    z-index: 1;
    background: #ffffff;
}

#textEditMenu {
    padding: 10px;
    width: 300px;
    position: absolute;
    right: -200px;
    top: 20px;
    z-index: 2;
}

#textMenu {
    z-index: 2;
    background: #ffffff !important;
    top: 0;
    left: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 15px 15px 15px 15px;
    border-radius: 20px;
}

#textMenu .btn, #textMenu input {
    /*float: left;*/
    /*width: 50px;*/
    /*height: 50px;*/
    /*margin-bottom: 6px;*/

    float: left;
    width: auto;
    height: 50px;
    margin-bottom: 6px;
    margin-right: 10px;
    background: #f5f6fa ;
}

#textMenu input {
    margin-bottom: 9px;
}

#textMenu #textColorBtn, #textMenu #textColorBtn2 {
    width: 50px;
}

#textFontColor {
    border-radius: 50%;
    padding: 0;
    width: 50px;
    height: 50px;
    border: 0;
    float: left;
}

#svgFillColor {
    border-radius: 50%;
    height: 40px;
    width: 40px;
    border: 0;
    padding: 0;
}

#variantInputFieldsDiv {
    height: calc(100vh - 178px);
    border: 0;
    padding: 0 0 20px 0;
    width: 27%;
    position: fixed;
    right: 2.5%;
    bottom: 0;
    z-index: 1000;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    box-shadow: 0px -10px 20px 0px rgba(0, 0, 0, 0.1);
}

#variantInputFieldsDiv h3 {
    font-size: 24px;
}

.ancCartButtonClose {
    background: #fff;
    border: 1px solid #dadada;
    border-radius: 6px;
    color: #000;
    height: 40px;
    line-height: 34px;
    padding: 0 10px;
    top: 16px;
    right: 16px;
    position: absolute;
}

.quantityInputDiv {
    display: block;
    float: left;
    width: 100%;
    padding: 4px 0;
}

.quantityInputPlus, .quantityInputMinus {
    float: right;
    width: 60px;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
}

.quantityInputPlus {
    border-radius: 0 6px 6px 0;
}

.quantityInputMinus {
    border-radius: 6px 0 0 6px;
}

.quantityInput {
    float: right;
    width: 60px;
    height: 40px;
    line-height: 40px;
    border: solid 1px #dadada;
    text-align: center;
    color: #000000;
    font-weight: 300;
}
.quantityLabel {
    float: left;
    width: auto;
    height: 40px;
    line-height: 40px;
    font-weight: 700;
}

#desktopCanvasControls {
    display: none;
    width: 100px;
    height: calc(100vh - 180px);
    background: #ffffff;
    border-radius: 20px;
    z-index: 3;
    padding: 0;
    color: #000000;
    position: fixed;
    border: 0;
}

#desktopCanvasControls .btn {
    color: #000000;
    font-size: 12px;
    line-height: 1.5;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    border-radius: 20px;
}

#desktopCanvasControls .btn:hover {
    background: #fff;
    color: #000;
}

#addTextPopup {
    border-radius: 10px;
    right: calc(50% - 200px);
    padding: 20px;
    position: absolute;
    top: 120px;
    width: 400px;
    z-index: 10000;
}

#changeDiameter {
    border-radius: 10px;
    left: calc(50% - 200px);
    padding: 20px;
    position: fixed;
    bottom: 10%;
    width: 400px;
    z-index: 10000;
}

#addFontPopup {
    /*border-radius: 0;*/
    /*left: 0;*/
    /*padding: 20px;*/
    /*position: fixed;*/
    /*bottom: 0px;*/
    /*width: 100vw;*/
    /*z-index: 10000;*/
    /*height: auto;*/

    border-radius: 10px;
    right: calc(50% - 300px);
    padding: 20px;
    position: absolute;
    top: 82px;
    width: 600px;
    z-index: 10000;
    height: auto;
    background: #f5f6fa;
}

#fontBtnDiv {
    width: 100%;
    height: 40vh;
    overflow: auto;
}

.fontBtnDivBtn {
    padding: 4px 10px;
    font-size: 14px;
}

#sideSwitchControls {
    width: 100px;
    height: calc(100vh - 180px);
    position: fixed;
    text-align: center;
    padding: 4px;
    z-index: 1;
    border-radius: 20px;
    background: #ffffff;
    left: 2.5%;
}

#sideSwitchControls .btn {
    padding: 8px;
    border-radius: 16px;
}

.striped-border {
    position: relative;
}

.striped-border::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px; /* Border-Breite */
    background: repeating-linear-gradient(
            45deg,     /* oder 90deg, falls horizontal/vertikal gewünscht */
            black 0 6px,
            white 6px 12px
    );

    /* "Loch" in der Mitte erzeugen */
    mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
    -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);

    mask-composite: exclude;
    -webkit-mask-composite: xor;
    border-radius: 0;
}

#colorsDiv {
    display: none;
    background: #fff;
    border-radius: 6px;
    height: 60vh;
    padding: 0;
    position: absolute;
    right: 30px;
    top: 30px;
    width: 15vw;
    z-index: 114;
}

#colorsDiv .body {
    background: #fff;
    color: #000;
    height: calc(100% - 61px);
    line-height: 1.4rem;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 20px;
    position: relative;
    text-align: left;
    width: 100%;
}

#colorsDiv .textile-color-item {
    float: left;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .16);
    display: inline-block;
    height: 40px;
    margin: 2px 3px 2px 2px;
    width: 40px;
}

.modalDev .headline {
    background: #f9f9f9;
    border-bottom: 1px solid #dadada;
    border-radius: 6px 6px 0 0;
    height: 60px;
    padding: 0 0 0 20px;
    position: relative;
    width: 100%;
}

.modalDev .headline h2 {
    color: #000;
    font-size: 18px;
    line-height: 60px;
}

.colorItemDiv.active {
    background: #e0e0e0;
}

/* Image Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.popup-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

.close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: white;
    border: none;
    line-height: 1;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    width: 50px;
    height: 50px;
    padding: 0;
    text-align: center;
    z-index: 2;
}

.popup-image {
    cursor: pointer;
}
/* End Image Popup */

#clipartsPopup .popup-content {
    position: relative;
    width: 90vw;
    height: 90vh;
    background: #ffffff;
    border-radius: 10px;
    top: 5vh;
    left: 5vw;
    max-width: 100vw;
    max-height: 100vh;
}

#clipartsPopup .popup-content .container {
    padding: 20px 20px;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    max-width: 100% !important;
}

.form-range::-webkit-slider-thumb {
    background: #0b455d;
    width: 20px;
    height: 20px;
    margin-top: -4px;
}

.form-range::-moz-range-thumb {
    background: #0b455d;
    width: 20px;
    height: 20px;
    margin-top: -4px;
}

.form-range::-ms-thumb {
    background: #0b455d;
    width: 20px;
    height: 20px;
    margin-top: -4px;
}

.form-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    color: transparent;
    cursor: pointer;
    background-color: #cccccc;
    border-color: transparent;
    border-radius: 1rem;
}

.addTextCurvedMobile {
    padding: 14px 0 24px 0;
}

.font-color-item {
    display: inline-block;
    float: left;
    border-radius: 6px;
    height: calc(12.5vw - 6px);
    margin: 0 2px 4px;
    width: calc(12.5% - 4px);
    border: solid 1px #dadada;
}

.colorpicker {
    border-radius: 50%;
    height: 30px;
    overflow: hidden;
    width: 30px;
}

.colorpicker-span {
    background: #fff;
    height: 32px;
    line-height: 32px;
    position: absolute;
    width: calc(100% - 30px);
    border: 1px solid #dadada;
    border-radius: 3px;
    text-align: center;
    margin: 5px 0 0 0;
}

.colorpicker input {
    border-radius: 0;
    height: 40px;
    margin: -5px 0 0 -5px;
    width: 40px;
}

.clipartItem {
    float: left;
    width: calc((100% / 6) - 10px);
    height: 160px;
    display: flex;
    padding: 12px;
    justify-content: center;
    margin: 5px;
    border: solid 1px #dadada;
    border-radius: 20px;
}

.clipartItem img {
    float: left;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border: 0;
    border-radius: 20px;
}

#svgColorBtn {
    float: left;
    width: 50px;
    height: 50px;
    margin-bottom: 6px;
}

#svgEditMenu {
    /*padding: 6px 6px 5px 6px;*/
    /*width: auto;*/
    /*position: absolute;*/
    /*right: 80px;*/
    /*top: 160px;*/
    /*z-index: 2;*/
    padding: 6px 6px 0px 6px;
    width: auto;
    position: absolute;
    right: 10px;
    top: 40px;
    z-index: 2;
}

.productItemsDiv {
    margin: 0 -10px;
}

#previewComplete {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1;
    width: 120px;
    border-radius: 20px;
    border: solid 1px #dadada;
    padding: 0;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

#previewComplete.big {
    position: fixed;
    right: calc(50vw - 45vh);
    top: 5%;
    z-index: 1001;
    height: 90vh;
    border-radius: 20px;
    border: solid 1px #dadada;
    padding: 0;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
    width: 90vh;
}

#previewCompleteImg {
    border-radius: 20px;
}

#previewComplete span {
    position: absolute;
    font-family: Arial;
    font-size: 13px;
    width: 100%;
    display: block;
    padding: 0;
    text-align: center;
    bottom: -26px;
    width: 120px;
    height: 20px;
    line-height: 20px;
}

#popup-overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    bottom: 0;
    left: 0;
    z-index: 1000;
    border-radius: 0;
}

.infoMessage {
    position: absolute;
    background: #f0f0f0;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    padding: 6px 14px 10px 14px;
    border-radius: 20px;
    z-index: 10;
    width: 400px;
    text-align: left;
    right: -366px;
    top: 30px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.9);

    transition:
            opacity 300ms ease,
            transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1),
            visibility 0s linear 300ms;
}

.infoMessage::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: -16px;

    width: 24px;
    height: 22px;

    background-color: #f0f0f0;
    clip-path: polygon(0 0, 100% 0, 15% 100%, 30% 0);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.infoMessage .btn {
    padding: 6px 14px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    font-family: Arial !important;
    min-height: auto !important;
    border-radius: 20px !important;
    color: #ffffff !important;
    float: right !important;
    width: auto !important;
    line-height: 24px !important;
    height: auto !important;
    margin: 0 !important
}

#textInfo {
    left: -340px;
    top: 70px;
}

#textInfo::after {
    left: 356px;
    clip-path: polygon(
            100% 0,
            0 0,
            85% 100%,
            70% 0
    );
}

.infoMessage.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);

    transition:
            opacity 300ms ease,
            transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1),
            visibility 0s;
}

.infoMessage h3 {
    font-size: 20px;
    margin: 0;
}

.infoMessage p {
    font-size: 14px;
    margin: 0 0 10px 0;
}

.vertical-switch {
    display: none;
    position: absolute;
    width: 50px;
    height: 160px;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    user-select: none;
    bottom: 30px;
    left: 30px;
}

.switch-button {
    position: absolute;
    left: 50%;
    z-index: 3;

    width: 34px;
    height: 34px;
    padding: 0;

    color: #536170;
    background: transparent;
    border: 0;
    border-radius: 50%;

    font-size: 21px;
    line-height: 34px;
    text-align: center;

    transform: translateX(-50%);
    cursor: pointer;
}

.switch-button:hover {
    background-color: #f2f4f6;
}

.switch-button:focus-visible {
    outline: 2px solid #4c89b8;
    outline-offset: 1px;
}

.switch-plus {
    top: 8px;
}

.switch-minus {
    bottom: 8px;
}

.switch-track {
    position: absolute;
    top: 52px;
    bottom: 52px;
    left: 50%;

    width: 4px;

    background: #e0e0e0;
    border-radius: 4px;

    transform: translateX(-50%);
}

.switch-knob {
    position: absolute;
    left: 50%;
    bottom: -11px;

    width: 20px;
    height: 20px;

    background: #fff;
    border: 2px solid #111;
    border-radius: 50%;

    transform: translateX(-50%);
    transition: bottom 350ms ease;
}

/* Kreis oben */
.vertical-switch.is-up .switch-knob {
    bottom: calc(100% - 11px);
}