﻿.video-backdrop {
    opacity: 1 !important;
    background-color: #00000055 !important;
}


.rotateable-icon {
    width: 23px;
    height: 23px;
    left: 50%;
    z-index: 199999;
    margin-right: -50%;
    position: absolute;
    transform: translate(+50%, -120%);
    cursor: pointer;
    -webkit-user-drag: none;
    background-color: whitesmoke;
    border-radius: 40%;
    padding: 2px;
}

.shape-mode-div {
    min-width: 200px;
}
.line-arrow-icon {
    font-size: 27px;
}

.pb-half {
    padding-bottom: 0.5rem !important;
}

.resize-padding {
    border: 1px dashed white;
}

.resizable {
    background: transparent;
    width: auto;
    height: auto;
    padding: 2px;
}

    .resizable .resizers {
        width: 100%;
        height: 100%;
        border: 3px solid transparent;
    }

        .resizable .resizers .resizer {
            width: 7px;
            height: 7px;
            /*border-radius: 50%;*/
            background: white;
            border: 1px solid #000;
            position: absolute;
        }

            .resizable .resizers .resizer.top-left {
                left: 2.1rem;
                top: -5px;
                cursor: nwse-resize; /*resizer cursor*/
            }

            .resizable .resizers .resizer.top-right {
                right: -5px;
                top: -5px;
                cursor: nesw-resize;
            }

            .resizable .resizers .resizer.bottom-left {
                left: 2.1rem;
                bottom: -5px;
                cursor: nesw-resize;
            }

            .resizable .resizers .resizer.bottom-right {
                right: -5px;
                bottom: -5px;
                cursor: nwse-resize;
            }


.scroll-all-cursor {
    cursor: all-scroll !important;
}

.snapshot-bg-dd {
    min-width: auto;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu .dropdown-item:hover {
        cursor: pointer;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        min-height: max-content;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 6px 0 6px 6px;
        border-left-color: #ccc;
        margin-top: 5px;
    }

    /*.dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }*/

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
        }

.jpg-edit-comment-box .img-comment-item:hover {
    cursor: pointer
}



.snapshot-icon {
    cursor: all-scroll;
    width: 150px;
    height: auto;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.jpg-edit-comment-box {
    min-width: 440px;
}

.resize-icon {
    right: 5px;
    top: -5px;
    position: absolute;
    cursor: pointer;
}

.align-icon {
    min-width: 2rem;
}

    .align-icon img {
        width: 16px;
        height: 16px;
    }

.snapshot-dropdown:hover {
    background: #a6a6a6
}

.box-shadow-25 {
    box-shadow: 0 0 15px rgba(0, 0, 0,0.25);
}

.custom-icon {
    margin-right: .2rem;
    margin-left: .2rem;
    display: inline-block;
    font-family: 'mapi';
    line-height: 1rem;
    vertical-align: top;
}
/*make input number to be without arrows*/
.number-no-arrows::-webkit-outer-spin-button,
.number-no-arrows::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.number-no-arrows[type=number] {
    -moz-appearance: textfield;
}



/*support images form edit snapshot*/
.color-select.none {
    background-image: url("../images/color-none.svg") !important;
}

.btn-comment {
    background-image: url("../images/comment-stroke.svg") !important;
}

    .btn-comment:hover, .btn-comment.active {
        background-image: url("../images/comment-stroke-aclive.svg") !important;
    }

#materials-dropdown-parent-info ul {
    margin-bottom: 0 !important;
}

.error-sign {
    font-weight: 900;
    font-size: 16px;
}

.h-85 {
    height: 85% !important;
}

.svg-chart-container {
    min-height: 400px !important;
}
/*#tool-tip-errors-container {
    max-height: 4rem;
    overflow-y: auto
}*/

.chart-legend .chart-legend-item.item-5::before {
    background-color: #F85C50;
}

.chart-legend .chart-legend-item.item-6::before {
    background-color: #BC0022;
}

.chart-legend .chart-legend-item.item-7::before {
    background-color: #7C3668;
}

.chart-legend .chart-legend-item.item-8::before {
    background-color: #0043A4;
}

.tool-tip-svg-filter {
    position: absolute;
    height: auto;
    z-index: 1000;
}

    .tool-tip-svg-filter div {
        width: max-content;
        height: auto;
        min-width: 50px;
        text-shadow: rgba(0, 0, 0, 0.1) 1px 1px 1px;
        border: 1px solid #23A7DE;
        user-select: none;
        color: black;
        padding: 5px;
        /*margin-left: 3rem;*/
        background: rgba(255,255,255,0.8)
    }

.error-filter-item {
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
}

.snapshot-bg-item {
    height: 18px;
    width: 18px;
    border: 1px solid #2E3333;
}


.jpg-comment-textbox {
    white-space: pre-wrap;
    text-align: left;
}

.regular-text-div-snapshot {
    font-size: 14px;
}

.browser-img {
    margin: 2px;
    width: 30px;
    height: 30px;
    padding: 3px;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.7);
}

.browser-text {
    max-width: 200px;
}

.body-text {
    padding: 10px;
    grid-area: body-text;
}

.grid-container {
    padding: 5px;
    background-color: rgba(255,255,255,0.6);
    border-radius: 3px;
    display: grid;
    position: fixed;
    left: 25px;
    bottom: 25px;
    /*grid-template-columns: 1fr 1fr 1fr 1fr;*/
    grid-template-rows: 1fr 1fr;
    gap: 1px 1px;
    grid-template-areas: "images body-text body-text body-text" "images body-text body-text body-text";
}

.images {
    padding: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px 1px;
    grid-template-areas: "img-1 img-1 img-1" "img-2 img-2 img-2";
    grid-area: images;
}

.img-1 {
    grid-area: img-1;
}

.img-2 {
    grid-area: img-2;
}

.edit-image-navbar {
    position: absolute;
    right: 0;
}

.modal-content-edit-image {
    max-height: 800px;
}


.snapshot-tooltip {
    padding: 0.2rem;
    width: 10rem;
    height: auto;
    z-index: 10000000;
    position: absolute;
    border-radius: 0.2rem;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 2px 2px;
    user-select: none;
    border: 1px solid #23A7DE;
    background: rgba(255, 255, 255, 0.9);
}


.material-name-btn {
    pointer-events: all;
    color: #23A7DE;
    cursor: pointer;
}

.no-material-image {
    height: 350px;
    margin: 20px
}

/*laser mask form css*/

.grid-container-laser-mask {
    display: grid;
    grid-template-columns: auto auto;
    padding: 10px;
}

.grid-item {
    padding: 20px;
    text-align: center;
    align-items: center;
    margin: auto
}

    .grid-item img {
        width: 200px;
        height: 200px;
        background: #ccc;
    }


/*-------------------------------*/

#notice-modal {
    z-index: 500000000 !important;
}

.detector-chart-modal {
    min-width: 1000px;
}

.upload-optics-modal {
    min-width: 1140px
}

.icon-check:hover {
    cursor: pointer;
    align-self: center;
}

.icon-check-empty:hover {
    cursor: pointer;
    align-self: center;
}

.system-type {
    font-size: 20px;
    font-weight: bold;
}

.modal.chart-modal.double-chart-modal {
    width: 1000px !important;
}

.vertical-menu {
    width: 100px;
    position: absolute;
    z-index: 100000;
}

    .vertical-menu a {
        background-color: #fafafa;
        color: black;
        display: block;
        padding: 5px;
        text-decoration: none;
    }


        .vertical-menu a:hover {
            background-color: #ccc;
        }

        .vertical-menu a.active {
            background-color: #23A7DE;
            color: white;
        }

.dropdown-toggle::after {
    content: none !important;
}

.selectableItem {
    user-select: text !important;
}


.small-widget {
    background-color: #F5F5F5;
    color: #7F8C8D;
    border: 1px solid #C9D2D2;
    padding: 0.25rem;
    border-radius: .25rem;
}

.small-widget-parent {
    position: fixed;
    top: 0;
    left: 0;
    padding: 5px;
}

.btn-invite-friends {
    border-color: #61b961;
    color: #fff;
    background-color: #55bb55;
}

    .btn-invite-friends:hover {
        border-color: #61b961;
        color: #fff;
        background-color: #88d788;
    }


.body {
    user-select: none !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.preferances-box .range-input-group .form-control {
    width: 70px !important;
    height: 30px;
    font-size: 14px;
    padding: 0.375rem 0.25rem;
}

.refresh-preview-optic {
    top: 1.2rem;
    left: 2rem;
    position: absolute;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #23A7DE !important;
    background-color: #23A7DE !important;
}

.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    border-color: rgba(35,167,222,.5) !important;
    background-color: rgba(35,167,222,.5) !important;
}


.prizma {
    cursor: url("../images/icons/prizma.png"),auto !important;
}

.auto {
    cursor: auto !important;
}

.pointer {
    cursor: pointer !important;
}

.pan {
    cursor: url("../images/icons/hand-right.png"),auto !important;
}

.login-wrap {
    background-image: url("../images/login-bg.jpg") !important;
}

.model {
    transition: .0s !important;
}

.brands-dropdown {
    height: auto;
    overflow: auto;
    max-height: 250px;
}

.opticts-preview-img img {
    height: 250px !important;
    width: auto !important
}

.modal-footer #ok-btn {
    margin-left: 0.25rem !important;
}

.optics-parser {
    max-height: 550px !important;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.active2 {
    font-size: 36px !important;
}

.none-important {
    display: none !important
}

.page-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
}

    .page-loading .loader {
        height: 100px;
    }

    .page-loading .page-loading-text {
        color: #fff;
        letter-spacing: 3px;
        margin-bottom: 0;
        margin-top: 10px;
    }

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.chart-legend .chart-legend-item {
    font-size: 14px;
}

.snapshot-tooltip {
    padding: 0.2rem;
    width: 10rem;
    height: auto;
    z-index: 10000000;
    position: absolute;
    border-radius: 0.2rem;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 2px 2px;
    border: 1px solid #23A7DE;
    background: rgba(255, 255, 255, 0.9);
    user-select: none;
}

.part-info-information-icon {
    background-color: #23A7DE;
    border-radius: 15px;
    margin: 0.5rem;
    color: white;
}

    .part-info-information-icon:hover {
        background-color: #48BAE9;
    }

.tool-tip-optics-disable-info {
    position: fixed;
    height: auto;
    z-index: 1000;
}

    .tool-tip-optics-disable-info div {
        overflow-x: hidden;
        overflow-wrap: break-word;
        height: auto;
        min-width: 50px;
        text-shadow: rgba(0, 0, 0, 0.1) 1px 1px 1px;
        border: 1px solid #23A7DE;
        user-select: none;
        color: black;
        padding: 5px;
        background: rgba(255,255,255,0.8);
        margin-left: 0.1rem;
    }

.snapshot-svg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.icons-header .icon-btn.active {
    color: #23A7DE;
}

.custom-crop-icon {
    position: fixed;
    font-size: 17px;
    background-color: white;
    color: #23A7DE;
}

.icon-crop-alt-regular.active {
    color: #23A7DE;
}

.color-select.active {
    border-color: #C9D2D2;
}

.custom-trash-btn {
    position: fixed;
    background-color: white;
}

.ne-resize-cursor {
    cursor: ne-resize !important;
}

.nw-resize-cursor {
    cursor: nw-resize !important;
}

.widget-modal{
    max-width: 1000px !important;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #C9D2D2;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #23A7DE;
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #23A7DE;
        cursor: pointer;
    }


.dropdown-btn {
    font-weight:700
}
    .dropdown-btn:hover {
        cursor: pointer !important;
    }
