﻿@import url("https://fonts.googleapis.com/css?family=Montserrat:400,700");

.propertyContainer > label {
    font-size: 11px;
    padding-top: 6px;
}

.IdaFieldList {
    height: 100%;
    border-color: rgba(0, 0, 0, 0.08);
    color: #424242;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    border-width: 0;
    border-style: solid;
    box-sizing: border-box;
    outline: 0;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4285714286;
    flex-flow: column nowrap;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.IdaFieldHeader {
    background-color: #364153a6;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    padding: 6px;
    color: white;
    margin-bottom: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 11px;
    /*min-width:240px;*/
}
    .IdaFieldHeader:hover {
        background-color: #ff9a008a;
    }

    .IdaFieldHeader.selected {
        background-color: var(--primary-clr-500);
    }
    
.IdaFieldContent {
    margin: 0;
    padding: 0;
    outline: 0;
    flex-grow: 1;
    position: relative;
    overflow: auto;
}

.IdaFieldList-dd-spacing
{
    height:4px;
}

.IdaFieldList-dd-spacing-dragged-over {
    border: 1px dashed grey;
    background-color: white;
    height: 20px;
    cursor:copy;
}

.IdaField {
    display: flex;
    flex-direction: row;
    border: 1px solid #c9c9c9;
    /*box-shadow: 3px 3px 5px #2f3949;
    margin: 3px 10px 10px 3px;*/
    /*overflow: auto;*/
    padding-top: 3px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    max-width: 240px;
    overflow: hidden;
}

    .IdaField:hover {
        border-left: 8px solid #ff9a008a;
        transition: border .2s;
        cursor: pointer;
    }

    .IdaField.Selected {
        border-left: 12px solid #0b992c;
        transition: border .2s;
    }

    .IdaField > .HeaderLine {
        display: flex;
        flex-direction: column;
        border-radius: 5px 5px 0 5px;
        background-color: #ebebeb;
        gap: 5px;
        padding: 5px;
        margin: 0px 5px;
    }

.HeaderLine > .ColorIndicator {
    flex: 1;
    min-width: 0.6rem;
    max-width: 0.9rem;
    border: 1px solid #a5a5a5;
    background-color: #ffffff;
    height: 0.6rem;
    border-radius: 10px;
}

.HeaderLine > .RegionLine.Active {
    background-color: #ffb163;
}
.HeaderLine > .RegionModifierLine.Active {
    background-color: #beffab;
}
.HeaderLine > .TextModifierLine.Active {
    background-color: #8abcff;
}

.IdaField .Item {
    overflow: hidden;
    width:100%;
    padding: 10px;
    display: flex;
    gap: 5px;
    align-items: flex-start;
    flex-direction: column;
}

.IdaField .Item>.ItemTitle {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-direction:row;
}

    .IdaField .Item > .ItemTitle > i {
        font-size:18px!important;
    }

.IdaFieldLabel {
    font-weight: 600;
    text-overflow: ellipsis;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
}

.IdaFieldResultText span {
    width: 145px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: italic;
    margin: 0;
    font-size: smaller;
    padding-left: 8px;
}

.ida-field-properties {
    /*position: fixed;
    top: 70px;
    right: 0;
    bottom: 5px;
    width: 300px;
    background-color: white;
    border: 1px solid gray;
    border-radius: 6px 0px 0px 6px;
    z-index: 3;
    display: flex;    
    box-shadow: -2px 2px 6px -1px #000;
    padding: 5px;*/
    flex-direction: column;
}

.ida-field-properties-header {
    background-color: #7c838f;
    font-size: 20px;
    width: 100%;
    text-align: center;
    color: white;
    padding: 5px;
}

#bigImageContent img {
    width: auto;
    height: auto;
    margin: auto;
}

#bigImageContent div {
    position: absolute;
}

.last-word-dimension {
    z-index: 20;
    /*animation: pulse 1s infinite;*/
    background-color: #ffe700ad;
    border: 2px dashed #ff8500;
    position: absolute;
}

.under-cursor-text {
    top: -45px;
    font-size: 25px;
    background-color: black;
    color: white;
    border: 1px solid gray;
    border-radius: 5px;
    padding: 1px 5px;
    position: absolute;
    width: max-content;
}

.cursor-position-text {
    min-width: 60px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: right;
    padding: 0px 8px;
}

.top-red-constrait {
    background-color: #ff7575ad;
    border-bottom: 1px dashed red;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.bottom-red-constrait {
    background-color: #ff7575ad;
    border-top: 1px dashed red;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.left-red-constrait {
    background-color: #ff7575ad;
    border-right: 1px dashed red;
    position: absolute;
    top: 0;
    left: 0;
}
.right-red-constrait {
    background-color: #ff7575ad;
    border-left: 1px dashed red;
    position: absolute;
    top: 0;
    right: 0;
}

/* A slider a nagyításhoz */
input[type=range] {
    height: 25px;
    -webkit-appearance: none;
    /*margin: 10px 0;*/
    width: 100%;
}

    input[type=range]:focus {
        outline: none;
    }

    input[type=range]::-webkit-slider-runnable-track {
        width: 100%;
        height: 2px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 0px 0px 0px #000000;
        background: #2f3949;        
        border-radius: 6px;
        border: 0px solid #000000;
    }

    input[type=range]::-webkit-slider-thumb {
        box-shadow: 0px 0px 0px #000000;
        border: 1px solid #2f3949;        
        height: 18px;
        width: 18px;
        border-radius: 9px;
        background: #7c838f;
        cursor: pointer;
        -webkit-appearance: none;
        margin-top: -8.5px;
    }

    input[type=range]:focus::-webkit-slider-runnable-track {
        background: #2497E3;
    }

    input[type=range]::-moz-range-track {
        width: 100%;
        height: 2px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 0px 0px 0px #000000;
        background: #2f3949;        
        border-radius: 6px;
        border: 0px solid #000000;
    }

    input[type=range]::-moz-range-thumb {
        box-shadow: 0px 0px 0px #000000;
        border: 1px solid #2f3949;        
        height: 18px;
        width: 18px;
        border-radius: 9px;
        background: #7c838f;
        cursor: pointer;
    }

    input[type=range]::-ms-track {
        width: 100%;
        height: 2px;
        cursor: pointer;
        animate: 0.2s;
        background: transparent;
        border-color: transparent;
        color: transparent;
    }

    input[type=range]::-ms-fill-lower {
        background: #2f3949;        
        border: 0px solid #000000;
        border-radius: 12px;
        box-shadow: 0px 0px 0px #000000;
    }

    input[type=range]::-ms-fill-upper {
        background: #2f3949;        
        border: 0px solid #000000;
        border-radius: 12px;
        box-shadow: 0px 0px 0px #000000;
    }

    input[type=range]::-ms-thumb {
        margin-top: 1px;
        box-shadow: 0px 0px 0px #000000;
        border: 1px solid #2f3949;        
        height: 18px;
        width: 18px;
        border-radius: 9px;
        background: #7c838f;
        cursor: pointer;
    }

    input[type=range]:focus::-ms-fill-lower {
        background: #2f3949;
    }

    input[type=range]:focus::-ms-fill-upper {
        background: #2f3949;
    }

/* Grid kinézet */
.designer-grid-container {
    margin-top: -1em;
    height: calc(100vh - 6em);
    display: grid;
    grid-template-areas:
        'designer-header designer-header designer-header designer-header'
        'designer-field-list designer-center designer-property-editor designer-thumbnails'
        'designer-field-controller designer-field-controller designer-field-controller designer-field-controller';
    gap: 4px;
    background-color: var(--custom-card-bg);
    padding: 10px;
    grid-template-columns: auto 7fr auto 1fr;
    grid-template-rows: auto 1fr auto;
    border-radius: 5px;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.designer-header {
    grid-area: designer-header;
}

.designer-field-list {
    grid-area: designer-field-list;
    overflow: auto;
    width: 260px;
    background-color: white;
    border: 1px solid lightgray;
}

.designer-property-editor {
    grid-area: designer-property-editor;
    overflow-y: auto;
    overflow-x: hidden;
    /*max-width:360px;*/
}

    .designer-property-editor:has(#ContentPanel) {
        width: 18rem;
    }

.designer-center {
    grid-area: designer-center;
    overflow: hidden;
    background-color: white;
    border: 1px solid lightgray;
    display: flex;
    flex-direction: column;
}

.designer-thumbnails {
    grid-area: designer-thumbnails;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: white;
    border: 1px solid lightgray;
}

.designer-field-controller {
    grid-area: designer-field-controller;
    overflow-y: hidden;
    overflow-x: auto;
    background-color: white;
    border: 1px solid lightgray;
}

.mini-region {
    border: 1px dotted black;
    padding: 3px 10px;
    border-radius: 20px;
    align-content: center !important;
    flex-wrap: inherit !important;
    background-color: #ffb163;
}

.mini-regionmodifier {
    border: 1px dotted black;
    padding: 3px 10px;
    border-radius: 20px;
    align-content: center !important;
    flex-wrap: inherit !important;
    background-color: #beffab;
}

.mini-textmodifier {
    border: 1px dotted black;
    padding: 3px 10px;
    border-radius: 20px;
    align-content: center !important;
    flex-wrap: inherit !important;
    background-color: #8abcff;
}

.chooseitinfo{
    font-size:9px;
}

.k-wizard-steps{
    display:none!important;
}

.different-document-type {
    background-color: #ffff8d;
    color: black;
    text-align: center;
    padding: 5px;
    border: 1px solid gray;
    margin: 10px 0px;
}

.i-idafield {
    height: auto !important;
    max-width: 100% !important;
}

.confidence-text {
    font-size: 18px;
    background-color: #adff7d;
    border-radius: 15px;
    height: 30px;
    font-weight: bold;
    color: black;
    padding: 2px 5px;
    margin-top: 4px;
}

.IdaFieldConfidence {
    font-size: .6em;
    font-weight: 900;
    display: flex;
    align-items: center;
    border: 1px dotted gray;
    padding: 2px;
    border-radius: 3px;
    background-color: black;
    text-wrap: nowrap;
}

.mini-progress {
    height: 3px !important;
}

#ContentPanel {
    background-color: var(--clr-white);
    border: 1px solid var(--clr-gray-500);
    border-radius: 5px;
}
.ContentPanelHeader {
    background-color: var(--primary-clr-500);
    font-weight: 600;
    font-variant: small-caps;
    letter-spacing: 1px;
}