@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url("../fonts/IRANSansWeb.eot");
    src: url("../fonts/IRANSansWeb.eot?#iefix") format("embedded-opentype"),
        url("../fonts/IRANSansWeb.woff2") format("woff2"),
        url("../fonts/IRANSansWeb.woff") format("woff"),
        url("../fonts/IRANSansWeb.ttf") format("truetype");
}
:root {
    --tblr-font-sans-serif: IRANSans;
}
.badge {
    --tblr-badge-font-size: 78%;
}
#avatarImg:hover {
    width: 100%;
    height: auto;
}
.breadcrumb-item + .breadcrumb-item::before {
    padding-left: 0;
    padding-right: var(--phoenix-breadcrumb-item-padding-x);
    transform: scale(-1, 1);
}
.choices .choices__inner,
.choices .choices__list--dropdown .choices__item--selectable {
    font-size: 0.8rem !important;
}
.canvasContainer {
    height: calc(100vh - 165px);
}
canvas[resize] {
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
            rgb(56 116 255 / 7%) 0 1px,
            transparent 1px 100%
        ),
        repeating-linear-gradient(
            90deg,
            rgb(56 116 255 / 7%) 0 1px,
            transparent 1px 100%
        );
    background-size: 10px 10px;
    direction: ltr;
}
.menucontainer {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    width: calc(100vw - 16em);
    height: 45px;
}
.design svg path,
.design svg rect,
.design svg circle {
    stroke: #999;
}
.topPan,
.rightPan,
.leftPan,
.bottomPan {
    fill: #f9f9f9;
}
.design svg path:hover,
.design svg rect:hover,
.design svg circle:hover {
    stroke-width: 5px;
    stroke: #999;
}
#designArea {
    margin: auto;
    width: fit-content;
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}
.svg_item {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    cursor: move;
}
.design svg path.checked,
.design svg rect.checked,
.design svg circle.checked {
    fill: #00bcd4 !important;
}
.changeWidth {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    text-align: center;
    z-index: 999999;
}
#dimentionXBar,
#dimentionYBar,
#dimentionXFloatBar,
#dimentionYFloatBar {
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    font-size: 2.5rem;
}
#dimentionYBar,
#dimentionBarYTotal,
#dimentionYFloatBar {
    transform: rotate(90deg);
    transform-origin: 0 0;
}
.divider-start::after,
.divider-end::before {
    border-top: 0.15rem solid #607d8b;
}
#dimentionBarXTotal,
#dimentionBarYTotal {
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    font-size: 2.5rem;
}
.dimentionlInput,
.dimentionXFloatBarInput,
.dimentionYFloatBarInput {
    font-size: 2rem;
    text-align: center;
}
.dimentioninline {
    display: inline-table;
}
#horizonalSvgScale,
#verticalSvgScale {
    font-size: 2.5rem;
}
#designArea:hover {
    cursor: pointer;
}
.mullian.checked {
    cursor: grabbing;
}
.divider-start::after,
.divider-end::before {
    margin-left: 0;
    margin-right: 0;
}
.w50px {
    width: 50px;
    height: auto;
}
.hConfBar {
    position: absolute;
    visibility: hidden;
    opacity: 0;
}
.changelayer:hover .hConfBar {
    position: static;
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity 500ms, visibility 1000ms;
    transition: opacity 500ms, visibility 1000ms;
}
.selectize-input,
.selectize-dropdown,
.selectize-input,
.selectize-input input {
    font-size: 0.8rem;
}
.avatar-xxl {
    height: 2rem;
    width: 2rem;
}
.swal2-modal {
    background-image: url(../static/photos/abstract.jpg) !important;
    background-position: top left !important;
    background-size: cover !important;
}
.swal2-input {
    text-align: center;
    margin-top: 7px !important;
}
.avatar-4rem{
    width: 4rem !important;
    height: auto !important;
}
.selectize-control.plugin-remove_button .item .remove {
    border-right: 1px solid #dee2e6;
    margin-left: 0;
    margin-right: 5px;
    border-left: none;
}
.badge{
    font-weight: 500;
}
.calculationSvg svg{
    width: 100%;
    height: 17rem;
    /* max-height: 15rem; */
    /* min-height: 13rem; */
}
svg{
    width: 100%;
    height: auto;
}
.avatarSvg svg{
    width: 100%;
    height: auto;
    max-height: 7rem;
    max-width: 7rem;
}
.apexcharts-tooltip-marker {
    margin-right: 0 !important;
    margin-left: 10px;
}
.positionMarker{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 3rem;
    text-align: center;
    background: rgb(255 255 255 / 50%);
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 0.8rem;
    transition: all 0.2s ease-out;
}
.positionMarker::-webkit-outer-spin-button,
.positionMarker::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.positionMarker[type=number] {
    -moz-appearance:textfield;
}
.form-imagecheck-figure:before {
    display: none;
}
.empty-img img {
    height: 15rem;
}
.linear-solver-layout canvas{
    width: 100% !important;
    height: auto !important;
}
#layers{
    direction: ltr;
    position: absolute;
    top: 4rem;
    left: 1rem;
    max-height: 80vh;
    overflow-y: hidden;
    z-index: -1;
}
.tree {
    padding-left: 1rem;
}
.layersLi{
    list-style-type: none;
}
.piece {
    height: 22px;
    background: #ecf0f1;
    position: absolute;
    bottom: 0;
    border-right: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-weight: bold;
    font-size: 11px;
    transition: all 0.2s;
}
.piece:hover {
    background-color: #FFEB3B;
}
.waste {
    background: #fbf6f6;
}
.standard-piece {
    background: #eee;
    border-bottom: 1px solid #9a9a9a;
}
.non-standard-piece {
    background: #eee;
    border-bottom: 1px solid #9a9a9a;
}
.piece-info {
    font-size: 0.8rem;
    color: black;
    z-index: 1;
}
.piece-unitName {
    position: absolute;
    top: -11px;
    color: #000;
    font-weight: normal;
}
.standard-bar {
    height: 100%;
    width: 100%;
    /* background: repeating-linear-gradient(
        45deg,
        #bdc3c7,
        #bdc3c7 10px,
        #ecf0f1 10px,
        #ecf0f1 20px
    ); */
    position: absolute;
}
.pattern-visual {
    height: 33px;
    position: relative;
    margin-bottom: 15px;
    border-radius: 2px;
    overflow: hidden;
}
.piece-features {
    position: absolute;
    left: 30px;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
    bottom: 2px;
}
.feature-icon {
    width: 10px;
    height: 10px;
    color: #03A9F4;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.angle-mark {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}
.angle-start {
    top: 0;
    left: 0;
    border-width: 0 0 22px 22px;
    border-color: transparent white transparent;
}
.angle-end {
    top: 0;
    right: 0;
    border-width: 0 22px 22px 0;
    border-color: transparent white transparent transparent;
}
.angle-text {
    position: absolute;
    font-size: 10px;
    font-weight: bold;
    color: #666;
}
.angle-text-start {
    top: 1px;
    left: 1px;
}
.angle-text-end {
    top: 1px;
    right: 1px;
}
.input-example {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}
.non-standard-input {
    margin-top: 15px;
}
.pattern-title {
    font-size: 12px;
    margin-bottom: 5px;
}
.pattern-count {
    font-size: 11px;
    color: #000;
    margin-right: 5px;
}
.blade-cut {
    background: #ffffff;
    height: 22px;
    position: absolute;
    top: 0;
}
.add-optimizer-btn {
    margin-bottom: 20px;
}
@media print{
    .calculationSvg svg path {
        stroke: #000;
        stroke-width: 3;
    }
    .calculationSvg svg text {
        fill: #000;
    }
    .view_item_table, .total_items_prices {
        break-inside: avoid;
        page-break-inside: avoid;
        break-before: auto;
        break-after: auto;
    }
    .view_item_table .card, .cutting-optimizer-container .card, .massListTable_profile {
        border: 1px solid #ddd;
        padding: 0.5rem 1rem;
     }
}
.layerName:focus, .layerQuantity:focus {
    background-color: #F3E5F5;
    outline: none;
}