@charset "UTF-8";
/* ReSharper disable Html.PathError */

/*Reset lp-content padding when the menu is expanded*/
body .lp-content {
    overflow:hidden;
}

body.lp-opened-sidebar .lp-content {
    padding: 14px 7px 14px 271px;
}

body.lp-float-sidebar-flag.lp-opened-sidebar .lp-content {
    padding: 14px 7px 14px 271px;
}

/*Reset lp-content padding when the menu is expanded*/
/*Global common properties start*/
.positive-color {
    color: #EB3C99 !important;
}

.negative-color {
    color: #90D150 !important;
}

.positive-background {
    background: #EB3C99 !important;
}

.negative-background {
    background: #90D150 !important;
}

.ai-badge {
    padding: 2px;
}

.text-omit {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.transform-center{
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
/*Global common properties end*/
/* todo: consider moving global common styles to lepton_omnipath.scss in Omnipath.App (#3840) */
body.lp-closed .lp-content {
    padding: 14px 7px;
}

/*Modify the default scrollbar style start*/

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #171c27;
    border-radius: 4px;
    opacity: 0.8;
    width: 8px;
}

::-webkit-scrollbar-corner {
    background: transparent;
}


::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*Modify the default scrollbar style end*/

/*Modify the default checkbox style start*/

.form-check-input[type="checkbox"] {
    border-radius: 2px;
}

.form-check {
    height: 14px;
    width: 14px;
}

.form-check-input {
    border: 1px solid #999;
    height: 14px;
    width: 14px;
    cursor:pointer;
}

.form-check-input:checked {
    background: #fff;
}

.form-check-input:checked[type="checkbox"] {
    background-image: url('/_content/Omnipath.Autoscope.Blazor.Core/images/favicon/check.svg');
    background-position: center;
    background-repeat: no-repeat;
}

.form-check-input:hover {
    border-color: rgba(64, 154, 255, .2)
}

.form-check-input:checked:hover {
    background-color: rgba(64, 154, 255, .38)
}

.form-check-input[type="checkbox"]:indeterminate {
    background-color: transparent;
    position: relative;
    border-color: #fff;
}

.form-check-input[type="checkbox"]:indeterminate:hover {
    border-color: #409aff;
}

.form-check-input[type="checkbox"]:indeterminate::after {
    background: #fff;
    content: "";
    height: 10px;
    left: 1px;
    position: absolute;
    top: 1px;
    width: 10px;
}

.form-check-input[type="checkbox"]:indeterminate:hover::after {
    background: #409AFF;
}

/*Modify the default checkbox style end*/

/*Modify the default form elements style start*/

::-webkit-input-placeholder {
    color: #666 !important;
    font-size: 12px !important;
}

.form-control:active,
.show .dropdown-toggle {
    box-shadow: 0 0 4px rgba(64, 154, 255, 0.38);
}

.dropdown-menu.dropdown-menu-scrollable {
    overflow-y:auto;
}

.flatpickr-calendar .flatpickr-months .numInputWrapper > span::after {
    border-top-color: #fff;
    border-bottom-color: #fff;
}

.flatpickr-calendar::after, .flatpickr-calendar::before {
    display:none;
}

.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
    color: rgba(238, 238, 238,.3);
}

.flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover {
    color: rgba(0, 0, 0,.3);
}

.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover {
    color: rgba(57, 57, 57, 1);
}
/*Modify the default form elements style end*/
/*Text edit clear icon start*/
.text-edit-clear-icon {
    cursor: pointer;
    right: 10px;
    top: 34px;
}

/*Text edit clear icon end*/

/*Defalt button style start*/

.button-border {
    border: 1px solid #409AFF;
    color: #409AFF;
}

.button-background {
    background: #409AFF;
    border: 1px solid #409AFF;
}

/*Defalt button style*/


/*Defalt calendar style start*/

.flatpickr-calendar {
    background: #191E28;
    box-shadow: none;
}

.flatpickr-months .flatpickr-prev-month {
    color: white;
    fill: white;
}

.flatpickr-months .flatpickr-month {
    color: white;
}

.flatpickr-months .flatpickr-next-month {
    color: white;
    fill: white;
}

span.flatpickr-weekday {
    color: white;
}

.flatpickr-day {
    color: white;
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
    background: #191E28;
}

/*Defalt calendar style*/

/*Custom Progress style start*/
.custom-progress {
    height: 4px;
}
.custom-progress .progress-bar {
    background: linear-gradient(45deg, #409AFF 0, #409AFF 25%, #283040 25%, #283040 50%, #409AFF 50%, #409AFF 75%, #283040 75%, #283040);
    background-color: transparent !important;
    background-size: 16px 16px;
    height: 4px;
}
.custom-progress-animation {
    height: 4px;
    position: relative;
}
.custom-progress-animation .progress-bar {
    animation: loop linear 2s infinite;
    animation-direction: normal;
    background: linear-gradient(45deg, #409AFF 0, #409AFF 25%, rgba(64, 154, 255, .2) 25%, rgba(64, 154, 255, .2) 50%, #409AFF 50%, #409AFF 75%, rgba(64, 154, 255, .2) 75%, rgba(64, 154, 255, .2));
    background-color: transparent !important;
    background-size: 16px 16px;
    height: 100%;
    position: absolute;
    top: 0;
    width: 200% !important;
}
@keyframes loop {
    0% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}
/*Custom Progress style end*/




svg.annotation-overlay-element {
    stroke: red;
    stroke-width: 2px;
    fill: none;
    width: 100%;
    height: 100%;
    overflow: visible;
    transition: background-color ease 0.1s;
    pointer-events: all;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.5;
}

   /* svg.annotation-overlay-element.active {
        fill: var(--active-background-color) !important;
        opacity: 1 !important;
    }*/

    svg.annotation-overlay-element:hover {
        /* --hover-background-color: variable specified in the element view */
        /*        ;*/
        fill: rgba(0, 0, 0, 0);
        opacity: 1;
    }

        svg .annotation-overlay-element:hover span {
            color: white;
            font-weight: bold;
        }


.rect-annotation-tag {
    position: absolute;
    left: 4px;
    top: 4px;
}

.circle-annotation-tag-container {
    display: table;
    width: 100%;
    height: 100%;
}

    .circle-annotation-tag-container > span {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }
/*ReSharper disable RedundantUnits*/
.annotation-minimap-overlay-element {
    width: 8px !important;
    height: 8px !important;
    transform: translate(-4px, -4px) rotate(0deg);
    position: relative;
}

.annotation-minimap-overlay-element-i {
    position: absolute;
    width: auto !important;
    height: auto !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    font-size: 8px !important;
}

.annotation-hover-element {
    width: 220px;
    background: #283040;
    box-shadow: 0 2px 14px -4px #283040;
    border-radius: 4px;
    right: -50%;
    top: 50%;
    padding: 8px;
    font-size: 12px;
    z-index: 9;
    word-break: break-word;
    pointer-events: none;
}

    .annotation-hover-element .label-name {
        border-radius: 12px;
        display: inline-block;
        padding: 0 10px;
        line-height: 24px;
    }

        .annotation-hover-element .label-name .mdi {
            margin-right: -6px;
            display: inline-block;
            font-size: 12px;
        }

    .annotation-hover-element hr {
        border-color: #666666;
    }

    .annotation-hover-element .tag {
        border: 1px solid #fff;
        padding: 0 8px;
        height: 17px;
        display: inline-flex;
    }

    .annotation-hover-element .title {
        color: #999999;
    }

    .annotation-hover-element .rect {
        border: 1px solid #666666;
        height: 5px;
        width: 5px;
        background: #666666;
        display: flex;
        margin: 6px 16px 0 0;
    }

.annotation-cel-container {
    z-index: 0;
}

    .annotation-cel-container > #line-annotation-length {
        margin: 5px;
        padding: 5px;
        border-radius: 5px;
        background: rgba(40, 48, 64, 0.38);
        position: absolute;
        color: #fff;
        transform: translate(-50%, -50%);
    }

        .annotation-cel-container > .mask-svg > .mask-path {
            fill: black;
            opacity: 0.4;
        }

        .annotation-cel-container > .mask-svg > .contour-path {
            stroke: cornflowerblue;
            stroke-width: 2px;
            fill: none
        }

        .annotation-cel-container > .mask-svg > .preview-line {
            stroke: cornflowerblue;
            stroke-width: 2px;
            stroke-dasharray: 1;
            fill: none
        }

        .annotation-cel-container > .face-thumb-svg > .face-thumb-path {
            fill: transparent;
        }

    .annotation-cel-container > .vertex-thumb {
        border: 1px solid cornflowerblue;
        background-color: white;
        width: 6px;
        height: 6px;
        transition: background-color ease 0.1s;
    }

    .annotation-cel-container > .edge-thumb {
        width: 6px;
        height: 6px;
    }


    .annotation-cel-container .attributes-view-container {
        z-index: 1;
        position: absolute;
    }

.correct-horizontal-flip {
    transform: rotateY(180deg);
}

.correct-vertical-flip {
    transform: rotateX(180deg);
}

.correct-all-flip {
    transform: rotateY(180deg) rotateX(180deg);
}


/**/

/*  annotation overlay  */

.overlay-element.mini-view {
    display: table; /*for centralizing center of parent.*/
    position: absolute;
    width: 100%;
    height: 100%;
}

    .overlay-element.mini-view .mini {
        display: flex;
    }

        .overlay-element.mini-view .mini .title {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

            .overlay-element.mini-view .mini .title i {
                font-size: 16px;
                width: 16px;
                height: 16px;
            }

    .overlay-element.mini-view .standard {
        display: none;
    }

.overlay-element.standard-view {
    width: 100%;
    height: 100%;
}

    .overlay-element.standard-view .mini {
        display: none;
    }

    .overlay-element.standard-view .standard {
        display: flex;
    }

        .overlay-element.standard-view .standard .flyout-title .title {
            display: flex;
            padding: 4px;
            align-items: center;
            border-radius: 16px;
            margin: auto;
            font-size: 12px;
            white-space: nowrap;
            height: 24px;
        }

            .overlay-element.standard-view .standard .flyout-title .title i {
                font-size: 16px;
                width: 16px;
                height: 16px;
                margin-right: 4px;
            }

.overlay-element.is-selected svg path {
    stroke: var(--red) !important;
}


.annotation-primary-tag {
    height: 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: none;
    max-width: 150px;
}

    .annotation-primary-tag > i.mdi {
        margin-right: 4px;
    }

    .annotation-primary-tag > div {
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 12px;
    }

.annotation-normal-tag {
    border: 1px solid #fff;
    white-space: nowrap;
    user-select: none;
    height: 14px;
    font-size: 10px;
    line-height: 10px;
    border-radius: 9px;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.annotation-tools .btn {
    border-radius: 0;
    padding-left: 4px;
    padding-right: 4px;
    box-shadow: none;
}

/*Disable the menu item of 下载客户端（32位） begin*/
.lp-sidebar-navi a[href="client/download/x86"] {
    pointer-events: none;
    opacity: 0.5;
}
/*Disable the menu item of 下载客户端（32位） end*/

/*Test API related styles begin*/
.test-api .warning-label {
    font-family: Poppins, sans-serif;
    font-size: 14px;
    color: rgb(255, 170, 0);
}

.test-api .form-page > h3:not(:first-child) {
    margin-top: 30px;
}

.test-api .form-page > div {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    margin-left: 20px;
}

    .test-api .form-page > div > div {
        display: flex;
        align-items: center;
        column-gap: 20px;
    }

        .test-api .form-page > div > div label:first-child {
            max-width: 100px;
            min-width: 60px;
        }

        .test-api .form-page > div > div input {
            flex: auto;
            width: auto;
            max-width: 500px;
        }

        .test-api .form-page > div > div textarea {
            flex: auto;
            width: auto;
            max-width: 500px;
        }

        .test-api .form-page > div > div > div {
            display: flex;
            align-items: center;
            column-gap: 10px;
        }

        .test-api .form-page > div > div > button {
            margin-left: 80px;
        }

/*Test API related styles end*/

/*Modify blazorise Message service style*/
.modal .modal-dialog-scrollable .modal-content .modal-header {
    height: 73px;
    border-bottom: 1px solid #333333;
    background: #191E28;
}

.modal .modal-dialog-scrollable .modal-content .modal-header .modal-title {
    font-size: 16px;
    font-weight: 400;
    padding-left: 36px;
    position: relative;
}

.modal .modal-dialog-scrollable .modal-content .modal-header .modal-title:before {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(/_content/Omnipath.Autoscope.Blazor.Core/images/favicon/title-icon.svg);
}

.modal-dialog-scrollable .modal-header .btn-close {
    display: none;
}

.modal .modal-dialog-scrollable .modal-content .modal-body {
    height: 193px;
    background: #191E28;
    overflow: auto;
    font-size: 14px;
}

.modal .modal-dialog-scrollable .modal-content .modal-body h1 {
    display: none;
}

.modal .modal-dialog-scrollable .modal-content .modal-footer {
    background: #191E28;
    height: 76px;
    border-top: 1px solid #333333;
}

.modal-dialog-scrollable .modal-footer .btn {
    width: 65px;
    height: 38px;
    color: transparent;
    position: relative;
}

.modal-dialog-scrollable .modal-footer .btn:hover {
    color: transparent;
}

.modal-dialog-scrollable .modal-footer .btn.btn-secondary {
    border-color: #409AFF;
    background: transparent;
}

.modal-dialog-scrollable .modal-footer .btn.btn-secondary:active {
    border-color: #409AFF !important;
    background: transparent !important;
    color:transparent !important;
}

.modal-dialog-scrollable .modal-footer .btn.btn-secondary:after, .modal-dialog-scrollable .modal-footer .btn.btn-primary:after {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.modal-dialog-scrollable .modal-footer .btn.btn-secondary:after {
    content: "取消";
    color: #409AFF;
}

.modal-dialog-scrollable .modal-footer .btn.btn-primary:active {
    color: transparent !important;
}

.modal-dialog-scrollable .modal-footer .btn.btn-primary:after {
    content: "确定";
    color: #fff;
}

/*Modify blazorise Message service style*/



.overlay-element-container #line-annotation-length {
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    background: rgba(40, 48, 64, 0.38);
    position: absolute;
    color: #fff;
    transform: translate(-50%, -50%);
}


.outline-focus-show:focus, .btn:focus {
    outline-color: rgba(255,255,255,.2);
    outline-width: 2px;
    outline-style: solid;
}