:root {
    --pf-main: #56b3ff;
    --pf-main-light: #9bd2ff;
    --pf-main-bg: #050505;
    --pf-container-bg: #101010;
    --pf-small-container-bg: #191919;
    --pf-border: #212121;
    --pf-icon-bg: #282828;

    --pf-header-text: #e6e6e6;
    --pf-paragraph-text: #999999;
    --pf-button-text: #cccccc;
}

* {
    box-sizing: border-box;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s;
    -webkit-text-fill-color: inherit !important;
    box-shadow: none !important;
    font-size: 14px;
}

select {
    width: 100%;
    height: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

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

.select i {
    position: absolute;
    right: 10px;
    top: calc(50% - 7.5px);
    pointer-events: none;
}

.multiCounting select {
    width: 100px !important;
    min-width: unset;
    text-align: center;
    padding-right: 35px !important;
}

[name="operator"] {
    width: 50px !important;
    min-width: unset;
    padding: 4px 10px !important;
    text-align: center;
}


.flex {
    display: flex;
}

.col {
    flex-direction: column;
}

.center {
    align-items: center;
    justify-content: center;
}

.flex-start {
    align-items: flex-start !important;
}

.text-secondary {
    color: var(--pf-main) !important;
}

body {
    background: var(--pf-main-bg);
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--pf-paragraph-text);
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--pf-header-text);
}

h1 {
    font-size: 28px;
    font-weight: 200;
    padding: 0 3vh;
    margin-bottom: 3vh;
    color: var(--pf-main);
}

h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 5px;
}


a {
    text-decoration: none;
    color: var(--pf-main);
    cursor: pointer;
    transition: ease 0.3s;
}

a:hover {
    color: var(--pf-main-light);
}

i {
    color: var(--pf-main);
    margin-right: 5px;
}

h1 i {
    margin-right: 15px;
}

h1 p {
    font-size: 16px;
    color: var(--pf-paragraph-text);
    font-weight: 400;
    padding-left: 3.5vh;
}

.gap-10 {
    gap: 10px;
}

hr {
    border: none;
    height: 1px;
    background-color: var(--pf-border);
    margin: 10px 0;
}

input,
textarea,
select {
    font-family: Manrope;
    font-weight: 500;
    background-color: var(--pf-small-container-bg);
    border: solid 1px var(--pf-border);
    min-height: 20px;
    min-width: 200px;
    width: 100%;
    color: var(--pf-paragraph-text);
    border-radius: 10px;
    font-size: 14px;
    padding: 10px;
}

.w-80 textarea {
    height: 70px;
}

input.label {
    font-size: 12px !important;
    margin-left: 5px;
    margin-bottom: 0;
    color: #545555 !important;
    overflow: hidden;
    line-height: normal !important;
    text-wrap: nowrap;
    min-width: unset !important;
    min-height: unset !important;
    padding: 0px !important;
    border: none !important;
    width: 60px !important;
}

.small-container .entry-line {
    display: block;
}

.disabled.small-container .entry-line {
    display: flex;
}


@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 102, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 195, 255, 0);
    }
}

button {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    align-content: center;
    align-items: center;
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    height: min-content;
    justify-content: center;
    overflow: hidden;
    padding: 10px 20px;
    position: relative;
    /* z-index: 1; */
    background: radial-gradient(73.9583% 281.25% at 19.1667% 82.2917%, rgb(164, 185, 253) 0%, rgb(144, 164, 252) 49.3123%);
    border-radius: 12px;
    box-shadow: rgb(164, 192, 253) 2px 2px 2px 0px inset;
    opacity: 1;
    cursor: pointer;
    min-width: 200px;
    margin-top: 20px;
    font-size: 14px;
}

button:hover {
    transform: scale(1);
    animation: pulse 2s infinite;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
}

.pf-edit-line {
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.input-line {
    width: 100%;
}

.input-line input {
    min-width: unset;
}

.input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.input-group div {
    width: 50%;
}

.login {
    max-width: 400px;
}

.register {
    width: 60%;
    min-width: 400px;
}

.big-container {
    background-color: var(--pf-container-bg);
    border-radius: 20px;
    border: solid 1px var(--pf-border);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    position: relative;
}

.big-container.full.editor {
    width: 100%;
    flex: unset;
}

.big-container.full.editor .data-container {
    height: unset;
}

.center-all {
    position: absolute;
    display: flex;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;
}

.container-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.container-header h1,
.container-header p,
.big-container p {
    margin: 0;
}

.top-bar {
    width: 100%;
    border-bottom: 1px solid var(--pf-border);
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.top-bar p {
    margin: 0;
    align-items: center;

}

.top-bar img {
    margin-right: 15px;
}

.element-menu i {
    cursor: pointer;
    transition: ease 0.3s;
    font-family: Manrope;
    font-weight: 500;
}


.sub-menu li:hover,
.element-menu i:hover {
    color: var(--pf-main);
}

.element-menu i:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

#logOut {
    margin-left: 15px;
}

ul {
    padding: 0;
    margin: 0;
    width: 100%;
}

ul li {
    list-style-type: none;
    font-weight: 600;
    line-height: 175%;
}

#template-menu li,
.pf-trumbowyg-editor li {
    list-style-type: square;
    list-style-position: inside;
}

.flex.header {
    align-items: center;
}

.top-menu {
    display: flex;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid var(--pf-border);
    width: unset;
}

.top-menu li {
    margin: 0 10px;
    position: relative;
    padding: 10px;
}

.top-menu i {
    color: var(--pf-paragraph-text);
}

.element-menu .sub-menu {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background-color: #101010c7;
    z-index: 100;
    min-width: 300px;
    border: 1px solid var(--pf-border);
}

.element-menu:hover,
.element-menu:hover .sub-menu {
    display: block;
}

.sub-menu li {
    cursor: pointer;
}


#page-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-content: space-between;
    padding: 15px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.left-column {
    width: 300px;
}

.right-column {
    width: calc(100% - 300px);
}

.main-content .big-container {
    flex: 0 0 30%;
    margin: 15px;
    padding: 20px;
    box-sizing: border-box;
}

.edit,
.unblock-edit {
    position: absolute;
    right: 15px;
    left: auto;
    top: 15px;
    bottom: auto;
    font-size: 18px;
    cursor: pointer;
    transition: ease 0.3s;
}


.edit:hover,
.unblock-edit:hover {
    color: var(--pf-main-light);
}



.active,
.active i {
    color: var(--pf-main) !important;
}

.small-container,
.array-element {
    background: var(--pf-small-container-bg);
    padding: 10px;
    border-radius: 7px;
    border: 1px solid var(--pf-border);
}


.pf-array {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pf-array.small-container {
    height: 200px;
    overflow-y: auto;
}

.array-element {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 40px;
    padding: 5px 10px;
    width: 100px;
    max-height: 30px;
}



li label,
.form-element label {
    font-size: 12px;
    margin-left: 5px;
    margin-bottom: 0;
    color: #545555;
}

.form-element select,
.form-element input {
    height: 30px;
    padding: 5px 15px;
    font-size: 12px;
}

.form-element .number-input input {
    width: 100px;
}

.form-element .number-input button {
    font-size: 14px;
    height: 12px;
    right: 2px;
}

.form-element .number-input .minus {
    bottom: 2px;
}

.form-element .number-input .plus {
    top: 2px;
}

.disabled input {
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    outline: none;
    cursor: default;
    padding: 0px;
    min-width: unset;
    min-height: unset;
}

.disabled li {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.disabled label {
    width: 125px;
    overflow: hidden;
    line-height: normal;
    text-wrap: nowrap;
}

.disabled.small-container {
    max-height: 212px;
    overflow: auto;
}

[type="checkbox"] {
    min-width: unset;
}

.checkbox {
    width: 14px;
    height: 14px;
    border: 1px solid var(--pf-main);
    border-radius: 4px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s;
    padding: 3px 9px;
}

.checkbox:checked {
    background-color: var(--pf-main);
    border-color: var(--pf-main);
    position: relative;
}

.checkbox:checked::after {
    content: '✔';
    color: var(--pf-icon-bg);
    font-size: 12px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.tripple-switch {
    display: flex;
    position: relative;
    width: 80px;
    background: var(--pf-icon-bg);
    border-radius: 20px;
    padding: 7px;
    justify-content: space-between;
    align-items: center;
    color: var(--pf-header-text);
    line-height: 100%;
    gap: 7px;
}

.tripple-switch input {
    display: none;
}

.tripple-switch .option {
    flex: 1;
    text-align: center;
    padding: 1px;
    cursor: pointer;
    font-size: 12px;
    position: relative;
    z-index: 2;
    color: #545555;
    margin: 0;
}

.tripple-slider {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--pf-main);
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

/* Pozycjonowanie suwaka w zależności od zaznaczonego inputa */
.switch-off:checked~.tripple-slider {
    left: 4px;
    background-color: var(--pf-small-container-bg)
}

.switch-neutral:checked~.tripple-slider {
    left: 29px;
    background-color: var(--pf-paragraph-text);
}

.switch-on:checked~.tripple-slider {
    left: 52px;
}


.array-element label {
    width: unset;
    display: flex;
    position: relative;
    justify-content: center;
    gap: 10px;
    align-items: center;
    padding-left: 30px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;

}

.array-element label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.array-element label .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #252525;
    border-radius: 7px;
}

.array-element label:hover input~.checkmark {
    background-color: #707070;
}

.array-element label input:checked~.checkmark {
    background-color: #252525;
}

.disabled .array-element label:hover input~.checkmark {
    background-color: #252525;
}

.array-element label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.array-element label input:checked~.checkmark:after {
    display: block;
}

.array-element label .checkmark:after {
    left: 7px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid var(--pf-main);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.disabled .array-element label .checkmark:after {
    left: 7px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid var(--pf-paragraph-text);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/*-----------slider switch----------*/
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--pf-icon-bg);
    /* border: 2px solid var(--pf-border); */
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 2px;
    background-color: var(--pf-paragraph-text);
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--pf-main);
    /* border: 2px solid var(--pf-main); */
}

/* input:focus+.slider {
    box-shadow: 0 0 5px var(--pf-main-light);
} */

input:checked+.slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
    background-color: var(--pf-small-container-bg);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/*-----------koniec slider switcha----------*/
.w-auto {
    width: auto !important;
}

.w-100 {
    width: 100% !important;
}

.w-80 {
    width: 80%;
}

.w-70 {
    width: 70%;
}

.w-50 {
    width: 50%;
}

.w-45 {
    width: 45%;
}

.w-40 {
    width: 40%;
}

.w-33 {
    width: 33.3333%;
}

.w-30 {
    width: 30%;
}

.w-20 {
    width: 20%;
}

.w-10 {
    width: 10%;
}

.w-5 {
    width: 5%;
}

i p {
    font-family: "Manrope", sans-serif;
}

.remove,
.remove i,
.close,
.removeParam,
.removeInfo {
    color: var(--pf-paragraph-text);
    transition: 0.3s ease;
}

.remove {
    text-align: center;
}

.remove:hover,
.remove i:hover .remove p:hover,
.close:hover,
.removeParam:hover,
.removeInfo:hover {
    color: #f749a8;
}

.remove p {
    font-size: 12px;
    font-weight: 500;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.pointer {
    cursor: pointer;
}

.text-center {
    text-align: center;
}

.entry-line,
.entry-line-header {
    width: 100% !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.entry-line li,
.entry-line-header {
    text-align: center;
    margin: 5px;
}

.entry-line.settings {
    flex-direction: column;
    align-items: normal;
    border: var(--pf-border) 1px solid;
    padding: 10px;
    margin: 10px 0px;
    border-radius: 15px;
}

.entry-line.settings.expanded {
    border: 1px solid var(--pf-main)
}

.settings-header {
    display: grid;
    grid-template-columns: 70% 10% 10% 4%;
    gap: 2%;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.exeptions {
    grid-template-columns: 10px calc(100% - 250px) 90px 90px 30px;
    gap: 5px;
}

.settings-header .fa-chevron-down {
    text-align: center;
    margin: 0;
    transition: 0.3s ease;
}

.expanded .settings-header .fa-chevron-down {
    transform: rotate(180deg);
}

.more-settings {
    margin: 10px -10px -10px -10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid var(--pf-border);
}

.more-settings>div,
.more-settings>form {
    width: 49%;
}

.more-settings .remove {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.more-settings form {
    gap: 0
}

.form-element {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.added-info {
    width: calc(100% - 260px);
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.added-info .form-element.disabled {
    justify-content: end !important;
    width: unset;
    /* border: 1px solid var(--pf-main); */
    border-radius: 50px;
    padding: 0px 10px !important;
    margin: 0 5px;
    background: var(--pf-small-container-bg);
    border: 1px solid var(--pf-border);
}

.added-info .form-element.disabled li {
    margin: 0;
}

.added-info .form-element input {
    width: 100px;
    height: 25px;
}

.entry-line input,
.double-line input {
    min-width: unset;
}

.data-container {
    width: 100%;
    height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.double-line {
    display: flex;
    gap: 10px;
}

.double-line>* {
    width: 50%;
    padding: 0;
}

.inline-adder {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}


.inline-adder li {
    width: calc(100% - 50px);
}

.inline-adder button {
    padding: 10px;
    min-width: unset;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    font-size: 24px;
    margin: 0;
}

.inline-adder-small {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    margin-bottom: 5px;
}

.inline-adder-small button {
    padding: 2px 10px;
    min-width: unset;
    border-radius: 10px;
    font-size: 12px;
    margin: 0;
}

#test-connection {
    display: none;
}

.disabled #test-connection {
    display: flex;
    margin: 10px auto;
    padding: 3px 10px !important;
    min-width: unset;
}

.disabled #test-connection i {
    color: var(--pf-main-bg);
}

[editor="settings.substrates"] .entry-line,
[editor="settings.print"] .entry-line,
[editor="settings.print"] .entry-line-header {
    flex-wrap: nowrap;
    grid-template-columns: minmax(200px, calc(100% - 475px)) 100px 100px 100px 100px 50px;
    display: grid;
    gap: 5px;
    margin: 5px 0px;
}

[editor="settings.pages"] .entry-line,
[editor="settings.pages"] .entry-line-header {
    flex-wrap: nowrap;
    grid-template-columns: minmax(100px, calc(100% - 265px)) 100px 210px 50px;
    display: grid;
    gap: 5px;
    margin: 5px 0px;
}

[editor="settings.substrates"] .entry-line-header {
    flex-wrap: nowrap;
    grid-template-columns: minmax(200px, calc(100% - 465px)) 200px 200px 50px;
    display: grid;
    gap: 5px;
    margin: 5px 0px;
}

/***************SCROLL BAR ****************/

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: var(--pf-border);
}

::-webkit-scrollbar-thumb {
    background: var(--pf-main);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pf-main-light);
}

/* Dialog box */

.pf-dialog {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: var(--pf-main-bg);
    z-index: 1000;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    display: flex;
    width: 500px;
    height: fit-content;
    border: 1px solid var(--pf-border);
    border-radius: 20px;
}

.blocker {
    padding: 0;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 15;
}

.pf-dialog div {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin-bottom: 30px;
}

.pf-dialog button {
    min-width: 100px;
}

h2.pf-dialog-header {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background-color: var(--pf-container-bg);
    margin: 0;
    border-radius: 20px 20px 0px 0px;
}

.pf-dialog p {
    margin-top: 90px;
    font-size: larger;
    margin-bottom: 50px;
    padding: 0 25px;
    overflow-wrap: anywhere;
}

.ip-download-icon {
    width: 40px;
    height: 30px;
    position: absolute;
    background-image: url('https://nexelior.preflight.co.pl/administration/assets/ucp-ip-download.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    right: 20px;
    transition: 0.3s ease;
    cursor: pointer;

}

.ip-download-icon:hover {
    background-image: url('https://nexelior.preflight.co.pl/administration/assets/ucp-ip-download-hover.svg');
}

/******* loader ***********/

.loader {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    color: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.loader:before,
.loader:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}

.loader:after {
    color: var(--pf-main);
    transform: rotateY(70deg);
    animation-delay: .4s;
}


@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes rotateccw {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes spin {

    0%,
    100% {
        box-shadow: .2em 0px 0 0px currentcolor;
    }

    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }

    25% {
        box-shadow: 0 .2em 0 0px currentcolor;
    }

    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }

    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }

    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }

    75% {
        box-shadow: 0px -.2em 0 0 currentcolor;
    }

    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}

/****************** mobilne menu **************/
.top-menu.mobile-menu {
    display: block;
    width: 300px;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background: var(--pf-main-bg);
    border: 1px solid var(--pf-border);
    height: 100%;
    margin: 0;
}

.mobile-menu .element-menu {
    text-align: left;
}

.mobile-menu .sub-menu {
    display: block;
    position: inherit;
    border: none;
    background: unset;
    top: 10px;
}

/************end loader **************/

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;

}

.entry-line [type="number"] {
    text-align: center;
    padding-right: 35px;
}

.number-input {
    position: relative;
}

.number-input button {
    padding: 0;
    color: var(--pf-main);
    cursor: pointer;
    box-shadow: none;
    border: none;
    font-size: 16px;
}

.plus,
.minus {
    background: var(--pf-border);
    cursor: pointer;
    gap: 0;
    position: absolute;
    width: 25px;
    min-width: unset;
    left: auto;
    right: 4px;
    height: 15px;
    margin: 0
}

.plus {
    top: 4px;
    bottom: auto;
    border-radius: 0px 8px 0 0;
}

.minus {
    top: auto;
    bottom: 4px;
    border-radius: 0 0 8px 0;
}

.minus:hover {
    z-index: 100;
}

input[type="search"] {
    min-width: unset;
    width: 100px;
    position: absolute;
    left: 20px;
    right: auto;
    height: 30px;
}

.separator:before {
    content: ' & ';
    font-size: 14px;
    margin-left: 10px;
    margin-right: 10px;
    color: var(--pf-main)
}

.stiffly-h-300 {
    height: 300px;
    overflow: auto;
}

.stiffly-h-210 {
    height: 210px;
    overflow: auto;
}



/* UPLOADER */



.file-input {
    display: none;
}

#progressBar {
    width: 100%;
    background-color: var(--pf-small-container-bg);
    border: var(--pf-border) 1px solid;
    border-radius: 8px;
    margin-top: 20px
}

#progressBar div {
    width: 0;
    height: 2px;
    background-color: var(--pf-main);
    text-align: center;
    line-height: 2px;
    color: var(--pf-button-text);
    border-radius: 8px;
}

#status {
    margin-top: 10px;
    text-align: center;
}

.file-name {
    margin-left: 10px;
    font-size: 14px;
    color: var(--pf-paragraph-text);
    text-align: center;
}

.custom-file-button {
    padding: 5px 15px;
    background: var(--pf-small-container-bg);
    color: var(--pf-main);
    box-shadow: rgb(64 64 64) 2px 2px 2px 0px inset;
    border: 1px solid var(--pf-main);
    min-width: unset;
    border-radius: 6px;
    margin-top: 0;
}

.file-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 7px;
    margin-top: 10px;
}

.column-array {
    flex-direction: column;
    justify-content: start;
    flex-wrap: nowrap;
}

.saved {
    position: absolute;
    left: auto;
    right: 20px;
    top: auto;
    bottom: 20px;
    padding: 10px 20px;
    background: #a7ffa0;
    border: 2px solid #164d12;
    border-radius: 5px;
    color: #164d12;
    transition: 0.3s ease;
}

.saved:before {
    content: '\f058';
    font-family: "Font Awesome 5 Free";
    color: #164d12;
    margin-right: 10px;
}

.saved:after {
    content: 'Saved';
}

/* trumbowyg editor */

.trumbowyg-box,
.trumbowyg-editor-box {
    border: 1px solid var(--pf-border);
    border-radius: 5px;
}

.trumbowyg-button-pane {
    background: var(--pf-small-container-bg);
    border-bottom: 1px solid var(--pf-border);
}

.trumbowyg-box svg,
.trumbowyg-modal svg {
    color: var(--pf-main);
    fill: var(--pf-main);
}

.trumbowyg-button-group button,
.trumbowyg-dropdown button {
    padding: 2px;
    min-width: unset;
    margin-top: 0px;
    box-shadow: none;
    border-radius: 0;
}

.trumbowyg-button-pane button.trumbowyg-active,
.trumbowyg-button-pane button:not(.trumbowyg-disable):focus,
.trumbowyg-button-pane button:not(.trumbowyg-disable):hover {
    background-color: var(--pf-container-bg)
}

.trumbowyg-button-pane::after,
.trumbowyg-button-pane::before {
    background: var(--pf-border);
}

.trumbowyg-button-pane .trumbowyg-button-group::after {
    background: var(--pf-border);
}

.trumbowyg-modal-box .trumbowyg-input-infos {
    background: var(--pf-small-container-bg);
    border-right: var(--pf-border);
}

.trumbowyg-modal-box {
    background-color: var(--pf-container-bg);
    border-radius: 12px;
}

.trumbowyg-dropdown {
    background-color: var(--pf-container-bg);
    border-color: var(--pf-border);
}

.trumbowyg-dropdown button {
    background-color: var(--pf-container-bg);
    color: var(--pf-paragraph-text);
}

.trumbowyg-modal-box .trumbowyg-input-row {
    border: 0;
}

.trumbowyg-modal-box .trumbowyg-input-html input:focus,
.trumbowyg-modal-box .trumbowyg-input-html select:focus,
.trumbowyg-modal-box .trumbowyg-input-html textarea:focus {
    background: unset;
}

.trumbowyg-modal-box .trumbowyg-input-html input,
.trumbowyg-modal-box .trumbowyg-input-html select,
.trumbowyg-modal-box .trumbowyg-input-html textarea {
    border: 1px solid var(--pf-border)
}

.trumbowyg-modal-box .trumbowyg-modal-button {
    min-width: unset;
    box-shadow: none;
    padding: unset;
}

.trumbowyg-dropdown button:focus,
.trumbowyg-dropdown button:hover {
    background: unset;
}

.pf-trumbowyg-title {
    width: 100%;
    margin-bottom: 20px;
}

.height-none {
    min-height: unset !important;
}

#aceContainer {
    display: none;
    height: 600px;
    width: 100%;
    border: 1px solid var(--pf-border);
    border-radius: 5px;
}

.ace-tomorrow-night {
    background-color: #181818;
}

.ace-tomorrow-night .ace_gutter {
    background: #181818;
    color: #474747;
}

.ace-tomorrow-night .ace_entity.ace_name.ace_tag,
.ace-tomorrow-night .ace_meta.ace_tag,
.ace-tomorrow-night .ace_string.ace_regexp,
.ace-tomorrow-night .ace_variable {
    color: var(--pf-main);
}

.ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name,
.ace-tomorrow-night .ace_keyword.ace_operator {
    color: #f25aae;
}

.ace-tomorrow-night .ace_heading,
.ace-tomorrow-night .ace_markup.ace_heading,
.ace-tomorrow-night .ace_string {
    color: #44da62
}


.ace_scrollbar-h {
    height: 6px !important;
}

.ace-tomorrow-night .ace_variable.ace_parameter,
.ace-tomorrow-night .ace_storage,
.ace-tomorrow-night .ace_storage.ace_type,
.ace-tomorrow-night .ace_support.ace_function {
    color: #707070;
}

/* end trumbowg editor*/

@media (max-width: 1200px) {
    .top-menu {
        display: none;
    }

    .top-menu-container {
        margin: 12px;
        cursor: pointer;
    }

    .top-menu-container.blocker {
        margin: 0;
    }

    .top-menu-container:before {
        content: "\f0c9";
        font-weight: 900;
        font-family: "Font Awesome 5 Free";
        font-size: 20px;
    }
}

@media (max-width: 950px) {
    .main-content {
        flex-direction: column;
    }

    .main-content .big-container {
        width: 100%;
        margin: 15px 0;
    }

    .left-column {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .right-column {
        width: 100%;
    }

    button {
        min-width: unset;
    }
}

@media (max-width: 777px) {
    h1 {
        padding: 0 1vh;
        margin-top: 0;
    }

    h1 p {
        padding-left: 0;
    }

    .main-content {
        padding: 0;
    }

    .main-content .big-container {
        padding: 10px;
    }

    li label,
    .form-element label {
        font-size: 10px;
    }

    .left-column {
        flex-direction: column;
    }

    .entry-line {
        flex-wrap: wrap;
    }

    li.productName {
        order: 1;
        /* width: 50%; */
    }

    li.productCategory {
        order: 5;
        /* width: 100%; */
    }

    li.preflight {
        order: 2;
        /* width: 20%; */
    }

    li.to_print {
        order: 3;
        /* width: 20%; */
    }

    .entry-line i {
        order: 4;
    }

    .more-settings>div,
    .more-settings>form {
        width: 100%;
    }

    [editor="settings.products"] .entry-line .settings-header {
        grid-template-columns: calc(100% - 175px) 65px 65px 30px;
        gap: 5px;
    }

    [editor="settings.products"] .settings-header:first-of-type {
        grid-template-columns: calc(100% - 165px) 50px 50px 50px;
        gap: 5px;
    }

    [editor="settings.formats"] .entry-line {
        flex-wrap: nowrap;
        grid-template-columns: calc(100% - 195px) 80px 80px 20px;
        display: grid;
        gap: 5px;
    }

    [editor="settings.substrates"] .entry-line,
    [editor="settings.print"] .entry-line,
    [editor="settings.print"] .entry-line-header {
        flex-wrap: nowrap;
        grid-template-columns: 50% 80px 80px 80px 80px 30px;
        display: grid;
        gap: 5px;
    }

    [editor="settings.substrates"] .entry-line-header {
        flex-wrap: nowrap;
        grid-template-columns: 50% 160px 160px 30px;
        display: grid;
        gap: 5px;
    }

    .entry-line>li {
        width: 100%;
    }

}

@media (max-width: 500px) {
    .user-head p {
        display: none;
    }

    .header img {
        display: none;
    }

    .switch {
        width: 30px;
        height: 15px;
        margin-left: 0px;
    }

    .slider:before {
        width: 13px;
        height: 13px;
        left: 3px;
        bottom: 1px;
    }

    input:checked+.slider:before {
        -webkit-transform: translateX(13px);
        -ms-transform: translateX(13px);
        transform: translateX(13px);
        background-color: var(--pf-small-container-bg);
    }

    /* .tripple-switch  {
        width: 30px;
        height: 15px;
        margin: 0;
    }
    .tripple-switch .option {
        font-size: 6px;
    }

    .tripple-slider {
        width: 13px;
        height: 13px;
    }

    .switch-off:checked~.tripple-slider {
        left: 2px;
        background-color: var(--pf-small-container-bg)
    }
    
    .switch-neutral:checked~.tripple-slider {
        left: 8px;
        background-color: var(--pf-paragraph-text);
    }
    
    .switch-on:checked~.tripple-slider {
        left: 14px;
    } */

    .exeptions .params-group span, .exeptions p {
        font-size: 12px;
        overflow: hidden;
        text-wrap: nowrap;
    }

    [editor="settings.products"] .entry-line .settings-header {
        grid-template-columns: calc(100% - 115px) 40px 40px 20px;
        gap: 5px;
        margin: 0;
    }

    .entry-line li,
    .entry-line-header {
        align-items: center;
        display: flex;
    }

    .exeptions {
        margin: 0;
        gap: 5px;
        grid-template-columns: 15px calc(100% - 210px) 80px 80px 20px;
    }

    .entry-line li.tripple-switch {
        margin: 0;
    }

    [edit="settings.exeptions"] .more-settings {
        width: 100%;
        margin: 10px 0px;
        padding: 0px;
    }

    [groupname="exclusions_group"] {
        grid-template-columns: 10px 1fr 15px;
        display: grid;
        gap: 5px;
    }

    [edit="settings.exeptions"] li {
        margin: 5px 0;
        width: unset;
    }

    [edit="settings.exeptions"] .select i {
        right: 3px;
    }

    [edit="settings.exeptions"] select {
        min-width: unset;
        padding: 5px 25px 5px 10px;
    }

    

    .special-info-container > form > .form-element {
        flex-wrap: wrap;
    }

    .exeptions .inline-adder-small {
        margin-top: 10px;
    }

    

}