body {
    font-family: Helvetica Neue, sans-serif;
    user-select: none;
}

.editCat {
    width: 15px;
    height: 15px;
    display: inline-block;
    float: right;
    margin-top: 5px;
    margin-right: 2px;

}

.paletteMark {
    display: flex;
    width: fit-content;
    flex-direction: column;
    position: relative;
}

.paletteMark canvas {
    border: #424242 solid 1px;
    margin: 1px;
    border-radius: 3px;
    height: 60px;
    cursor: pointer;
    background-color: rgba(240, 240, 240, 0.15);
}

.paletteNumber {
    margin-bottom: 0;
}

.paletteMarks {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    display: flex;
    /*border-bottom: solid 1px #555;*/
    padding-bottom: 10px;
}

.paletteMark canvas:hover {
    filter: saturate(35%) brightness(70%) opacity(70%);
    background-color: rgba(85, 85, 85, 0.38);
}


.paletteMarks h4 {
    width: fit-content;
    display: inline-block;
    margin-right: 1%;
    transform: translate(0, 50%);
    justify-content: center;
    align-items: center;
}

#selFlat div {
    border: #555555 solid 1px;
    margin: 1px;
    filter: saturate(35%) brightness(70%) opacity(70%);
    border-radius: 3px;
    height: 65px;
    width: 80px;
    display: inline-block;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    position: relative;
}

#selFlat div:hover {
    filter: none !important;
    border: #498db4 solid 1px !important;

}

#catProto {
    width: 65%;
    border-right: #333333 1px solid;
    display: inline-block;

}


#catData {
    width: 30%;
    margin-left: 2%;
    display: inline-block;
    position: absolute;
}

#selFlatLabel {
    font-weight: bold;
    color: #333;
    text-decoration: underline;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    left: 1%;
}

.selectedIm {
    border: red solid 1px !important;
    filter: none !important;
}

#selFlat {
    /*height: 100%;*/
    width: 45.3%;
    display: block;
    /*overflow-x: scroll;*/
    overflow-y: hidden;
    white-space: nowrap;
    margin-left: 600px;
    margin-top: -33px;
    position: absolute;
}


#markMod {
    /*touch-action: none;*/
    user-select: none;

}

canvas {
    touch-action: none;
    user-select: none;
    /*display: none !important;*/
    /*position: absolute;*/

}

.modalSideButtons {
    width: 30px;
    position: absolute;
    top: 5px;
    display: inline-block;

}

.modalSideButtons img {
    width: 20px;
    /*height: 24px;*/
    padding: 5px;
    display: inline-block;
}

.modalSideButtons img:hover {
    border: solid rgba(10, 10, 10, 0.6) thin;
    cursor: pointer;
    padding: 4px;
}


#marks {
    /*height: 100%;/*/

    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
    height: 100px;
}


#marks canvas {
    border: solid rgba(65, 65, 65, 0.5) 2px;
    margin: 1px;
}

#marks canvas:hover {
    cursor: pointer;
}

#svgDisplay image {
    /*cursor: pointer;*/
}

#closeMod:hover {
    border: solid rgba(10, 10, 10, 0.6) thin;
    cursor: pointer;
}

#closeCatMod:hover {
    border: solid rgba(10, 10, 10, 0.6) thin;
    cursor: pointer;
}

.modal {
    outline: none;
    width: 75%;
    border: solid rgba(10, 10, 10, 0.6) 2px;
    height: 60%;
    position: relative;
}

.catColor {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-left: 3px;
}

.markFilter {
    display: inline-block;
    padding: 5px;
    margin: 10px;
}

.modalInfoShare {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.modalCatDel {
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-right: 5px;
    border: solid rgba(30, 30, 30, 0.6) 1px;
    padding: 2px;
}


.markFilter:hover {

    padding: 3px;
    margin: 10px;
    border: solid rgba(10, 10, 10, 0.6) 2px;
    cursor: pointer;
}

.modalInfo {
    padding: 12px;
    border-bottom: solid rgba(10, 10, 10, 0.6) thin
}

.modalInfo:hover {
    cursor: pointer;
    border: solid rgba(10, 10, 10, 0.6) thin;
    padding: 11px;
}

#selectedModalInfo {
    border: solid rgb(223, 38, 38) thin;
    padding: 11px;
}

#modalAddData {
    width: 25px;
    height: 25px;
    margin-left: 50%;
    margin-top: 10px;

}

#modalAddCat {
    width: 25px;
    height: 25px;
    margin-left: 20px;
    cursor: pointer;
}

#modalAddData:hover {

    cursor: pointer;
    /*width: 27px;*/
    /*height: 27px;*/
}

.category p {
    display: inline-block;
    margin-right: 10px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.category {
    display: inline-block;
    padding: 5px;
    height: 25px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.category:hover {
    border: solid rgba(65, 65, 65, 0.5) thin;
    padding: 3px;
}

.lightBorder {
    border: solid rgba(65, 65, 65, 0.5) thin;
}

.buttonImg {
    width: 32px;
    display: inline-block;
}

.buttonImg img {
    width: 24px;
    display: inline-block;
    padding: 2px;
    background-color: #fff;
    border-radius: 6px;
}


#selectModBut {
    border: solid rgb(223, 38, 38) 2px;
}

#selectedButton {

    z-index: 99;
    border: solid rgb(223, 38, 38) 2px;
    padding: 3px;
}

#selectedButton2 img {
    z-index: 99;
    border: solid rgb(223, 38, 38) 2px;
    padding: 1px;
    /*padding: 3px;*/
}

#selectedButton3 img {
    z-index: 99;
    border: solid rgb(223, 38, 38) 2px;
    padding: 1px;
    /*padding: 3px;*/
}

#selectedCat {
    border: solid rgb(223, 38, 38) 2px;
    padding: 0px;

}

.buttonImg img:hover {
    /*width: 32px;*/
    display: inline-block;
    opacity: 0.6;
    cursor: pointer;
    border: solid rgba(10, 10, 10, 1) 2px;
    padding: 0px;

}

#inVis {
    /*width: 100%;*/
    cursor: crosshair;
    touch-action: none;
    min-width: 80%;
    min-height: 400px;
}

#markInfos {
    width: 25%;
    height: 48%;
    position: absolute;
    display: inline-block;
    overflow-y: auto;
}

#markCategories {
    width: 25%;
    bottom: 0;
    border-top: #333333 solid 1px;
    height: 48%;
    position: absolute;
    display: inline-block;
    overflow-y: auto;
}


.primitiveData {
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
}

.primitiveLabel {
    margin-bottom: 0;
    font-weight: 700;
}

.collageListDisplay p {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 1rem;

}

.collageListDisplay {
    border-bottom: #555 solid 1px;
    margin-bottom: 15px;
}

.rotate {
    transform-box: fill-box;
    transform-origin: center;
}

#paletteCont {
    border-radius: 14px;
    padding-left: 20px;
    padding-top: 5px;
    border: solid #333 thin;
    width: 93%;
    margin-top: 5px;
    background-color: #fff;
    height: 135px;
    overflow-y: hidden;
}


#paletteContainer {
    padding: 20px;
    border: solid #333 thin;
    position: absolute;
    top: 270px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /*left: 550px;*/
    background-color: #424242;
    color: #fff;
    z-index: 99;


}

#closePaletteContainer {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 1px;
    right: 1px;
    cursor: pointer;
}

#closePaletteContainer:hover {
    width: 26px;
    height: 26px;
}

.primitiveDataButton {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-bottom: -5px;
}

.currAnchor, #plusAnchor {
    width: 35px;
    height: 35px;
    border: #333333 solid 1px;
    text-align: center;
    display: inline-block;
    border-radius: 20%;
    margin: 2px;
    cursor: pointer;
}

.selectedAnchor {
    border: red solid 1px;
}

.selectedAnchorBtn img {
    border: red solid 1px;
    /*height: fit-content;*/
}

table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #F1F1F1;
}

#datatable td {
    padding: 6px 9px;
    text-align: center;
}

#newDataTable div {
    display: inline-block;
}


#newDataTable div p {
    font-weight: 700;
    margin-bottom: 0;
    margin-right: 23px;
}

#newDataTable div input[type="text"] {
    width: 75px;
}

.paletteName {
    display: flex;
}

#palettePlusMark {
    filter: opacity(0.9);
}

.waypointTitle {
    background-color: #424242 !important;
    font-weight: 600;
    text-align: left;
    margin-left: 10px;
    color: #fff;
    border-radius: 0 !important;
    border: none !important;
    border-color: #333;
    border-bottom: 1px solid !important;;
    /*padding: 5px 10px !important;*/
    padding: 5px 2px !important;
    outline: none !important;
    /*width: 15%;*/
    font-size: 14pt;
    margin-right: 10px;
    min-width: 90px;
    height: 27px !important;
}

#sampledMarks canvas {
    max-height: 110px;
    margin-right: 2px;
    border: 1px solid #777;
    border-radius: 4px;
    cursor: grab;
}

#sampledMarks {
    overflow-x: auto;
    display: flex;
    padding: 2px;
}

.scaleMarks {
    width: 120px;
}


.paletteMarkName {
    font-weight: 500;
    text-align: center;

    color: #333;
    border-radius: 0 !important;
    border: none !important;
    border-color: #333;
    border-bottom: 1px solid !important;;
    /*padding: 5px 10px !important;*/
    padding: 5px 2px !important;
    outline: none !important;
    width: 52px;
    font-size: 9pt;

    line-height: 13px;
    height: 13px !important;

    display: inline-block;
    margin-bottom: 3px;
    margin-left: 6px;
}

#AllPaletteCont canvas, #selectedPaletteCont canvas {
    border: 1px solid #555;
    border-radius: 4px;
    background: #F1F1F1;
    /*position: absolute;;*/
}

/*#chartSettings*/
#fakeGrammar {
    width: 100%;
}

#fakePreview {
    width: 60%;
    height: 500px;
}

#fakePreviewSvg {
    width: 97%;
    border: solid #555 1px;
    border-radius: 14px;
    height: 75%;
}

.fakeGrammarRow {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
}


/* ---------------- TREE STUFF -----------------------*/

.tree {
    --spacing: 4rem;
    --radius: 5px;
    width: 90%;
    margin-left: -50px;
}


.tree li {
    display: block;
    position: relative;
    padding-left: calc(2 * var(--spacing) - var(--radius) - 2px);
    /*width: 100%;*/
}

.tree ul {
    margin-left: calc(var(--radius) - var(--spacing));
    padding-left: 0;
}


.tree ul li {
    border-left: 2px solid #ddd;
}

.tree ul li:last-child {
    border-color: transparent;
}


.tree ul li::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(var(--spacing) / -1);
    left: -2px;
    width: calc(var(--spacing) + 30px);
    height: calc(var(--spacing) + 24px);
    border: solid #ddd;
    border-width: 0 0 2px 2px;
}

.tree summary {
    display: block;
    cursor: pointer;
}

.tree summary::marker,
.tree summary::-webkit-details-marker {
    display: none;
}

.tree summary:focus {
    outline: none;
}

.tree summary:focus-visible {
    outline: 1px dotted #000;
}

.tree li summary::after {
    display: none;
}

/*.tree li::after {
    content: '';
    display: block;
    position: absolute;
    top: calc(var(--spacing) / 2 - var(--radius) + 4px);
    left: calc(var(--spacing) - var(--radius) + 29px);
    width: calc(2 * var(--radius));
    height: calc(2 * var(--radius));
    border-radius: 50%;
    background: #ddd;
}*/

.tree summary::before {
    content: '';
    display: block;
    position: absolute;
    top: 9px;
    /*top: calc(var(--spacing) / 2 - var(--radius)+ (-4px));*/
    left: calc(var(--spacing) - var(--radius) + (-1px));
    width: calc(2 * var(--radius));
    height: calc(2 * var(--radius));
    border-radius: 50%;
    background: #ddd;
}

li .fakeGrammarRow {
    /*margin-left: -2rem;*/
    /*margin-top: 5px ;*/
}

.fakeGrammarRow p {
    margin-top: 9px;
    margin-right: 6px;
}

.fakeGrammarRow select {
    margin-top: 5px;
    margin-right: 6px;
}

.fakeGrammarTitleMark {
    position: absolute;
    font-weight: 600;
    top: -27px;
    left: 85px;
}

.fakeGrammarTitleData {
    position: absolute;
    font-weight: 600;
    top: -27px;
    left: 240px;
}


.colorRampCan {
    border: 1px solid #777;
    border-radius: 4px;
    width: 190px;
    height: 15px;
    margin-left: 35px;
}

.colorRamp {
    display: flex

}

.colorRamp div {
    width: 25px;
}

.colorRamp p {
    display: flex;
    margin-bottom: -3px;

}

.colorRamp span {
    width: 15px;
    height: 15px;
    border: 1px solid #777;
    border-radius: 4px;
    display: block;
}

.rampLabel {
    position: absolute;
    top: 26px;
}

.colorDisplay div {
    max-width: 25px;

}

.colorDisplay {
    display: flex;
    margin-left: 45px;
}

.colorDisplayElem {
    width: 15px;
    height: 15px;
}

.colorDisplayLabel {
    transform-origin: center;
    transform: rotate(-45deg);
    margin-bottom: 11px;
    margin-left: -14px;
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 60px;
}

.exportPaletteBtn {
    cursor: pointer;
    width: 32px;
    padding: 0;
    height: 29px;
    /*margin-top: 35px;*/
}

.exportPaletteBtn img {
    transform: scaleX(-1);
    width: 21px;
    height: 21px;
    filter: invert(1);
}

.canPreview {
    position: relative;
}

.canPreview canvas {
    position: absolute;
}

#AllPaletteCont .allPaletteRow {
    /*display: flex;*/
    margin: 2px;
    border: solid 1px #555;
    width: 200px;
    border-radius: 5px;
    cursor: grab;
    margin-left: 5px;
    background-color: #fff;
    position: relative;

}

#AllPaletteCont p {
    margin-bottom: 0px;
    text-decoration: underline;
    user-select: none;
}

.canPreview {
    border-bottom: none !important;
    margin-bottom: 5px;
}

#AllPaletteCont {
    /*width: 180px;*/
    /*height: 406px;*/
    overflow-y: auto;
    /*border: 1px solid #555;*/
    border-radius: 4px;
    text-align: center;

    height: 100%;
    width: 260px;
}

p, h3, h4, h5, img {
    user-select: none;
}


#sidebar {
    transition: 0.5s;
    position: absolute;
    width: 15px;
    background-color: #fff;
    right: -2vw;
    /*height: 99.5vh;*/
    /*top: 0;*/
    height: 34vh;
    top: 30%;
    z-index: 99;
    text-align: center;
    padding: 3px;
    border-top-left-radius: 25px 25px;
    border-bottom-left-radius: 25px 25px;;
    border-left: solid 1px #717171;
}


#sideArrow img {
    width: 20px;
    cursor: pointer;
    height: 20px;
    margin-top: 7px;
    margin-left: 5px;
    transition: 1.15s;
    transform: rotate(-90deg);
    filter: invert(1);

}

#sideArrow {
    position: absolute;
    /*top: 50%;*/
    top: calc(97% - 12px);
    width: 32px;
    height: 30px;
    background-color: inherit;
    left: 50%;
    border-radius: 5px;
    transition: 1s;
    z-index: 99;
}


.sideContent {
    display: none;
}


.draggedover {
    border: 3px dashed red !important;
    transition: 0s !important;
    background-color: rgba(50, 50, 50, 0.1);
    padding: 0 !important;
}

#navButtonList button {
    color: #eee;
}

.collageElement {
    outline: solid 1px #333;
    border-radius: 4px;
    cursor: crosshair;
}

.dataEncodingColumn {
    display: flex;
    justify-content: center;
}


#paletteDetails p {
    color: #fff
}

#paletteDetails {
    /*padding-bottom: 15px;*/
    position: absolute;
    background-color: #424242;
    /*width: 100%;*/
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 20px;
    z-index: 99;
}

#sampleDisplay image {
    pointer-events: all;

}

#sampleDisplay .sample {
    outline: solid 2px #f1f1f1;
}

.LassoControls {
    cursor: pointer;
}

.LassoControls circle {
    fill: rgba(244, 244, 244, 0.9);
    stroke-width: 2px;
    stroke: #222
}

.LassoControls:hover {
    fill: rgba(244, 244, 244, 0.5);
}


#composition path:hover {

    stroke-width: 6px;
    cursor: pointer;

}

#composition circle:hover {

    r: 9px;
    cursor: grab;


}

.dataRow {
    display: flex;
    justify-content: center;
    padding: 4px;
}

.dataRow:hover {
    border: solid 1px #424242;
    cursor: grab;
}

.dataColumn {
    font-weight: 600;
    text-decoration: underline;
}

.markAnchorSvg {
    /*background-color: rgba(255,10,10,0.7);*/
    position: absolute;
    /*top: 18px;*/
    pointer-events: none;

}

.markAnchorSvg circle {
    pointer-events: all;
    cursor: grab;
}

.placeholder {
    width: 60px;
    height: 7px;
    background: dodgerblue;
    border-radius: 2px;
    flex-shrink: 0;
    margin-left: 3px;
    margin-right: 3px;
}

#composition circle, .markAnchorSvg circle {
    stroke: #000;
    stroke-width: 2px;
}

#datasetContainer {
    border-radius: 15px;

    background-color: #FFF;
    border: solid 1px #424242;
}


.dragOver {
    border: 3px dashed red !important;
    background-color: rgba(50, 50, 50, 0.6) !important;
}


.dropArea {
    border: 3px dashed #000 !important;

}


.selectedPaletteRow {
    display: flex;
    padding: 4px;
    border: solid 1px #555;
    width: 97%;
    border-radius: 5px;
    cursor: grab;
    margin-left: 0;
    background-color: #fff;
    margin-bottom: 3px;

}

.selectedCanPreview {

    border-radius: 1px;
    border-right: solid 1px #424242;
    width: 140px;
    min-height: 75px;
    /*margin-top: -13px;*/
    position: relative;
}

.leftSideSelected p {
    width: 200px;
    margin-bottom: 5px;
}

.leftSideSelected {
    display: flex;
    flex-direction: column;

}

.platteColorBand {

    width: 9px;
    margin-left: -10px;
    margin-right: 9px;
    border-radius: 5px;
    /*height: 130px;*/
}

#MarksPaletteList {
    display: flex;
    overflow-x: auto;
    justify-content: center;
    position: relative;
    height: 100%;
}

.protoCanvas {
    border-radius: 4px;
    border: solid 1px #424242;
}

.colorBrand {
    width: 80px;
    height: 9px;
    border-radius: 3px;
    margin-bottom: -2px;
    z-index: 9;
}

.paletteMarksList {
    /*display: flex;*/
    flex-direction: column;
    margin-left: 15px;
}

.paletteMarksCanvasHolder canvas {
    border: 1px solid #555;
    border-radius: 4px;
    background: #F1F1F1;
    width: 60px;
}


#dataPopupReduced {
    position: absolute;
    left: 35%;
    /*width: 50%;*/
    /*overflow-y: hidden;*/
    background: #424242;
    border: solid 1px #424242;
    padding: 7px;
    z-index: 99;
    border-bottom-radius: 4px;
    /*border-radius-bottomright: 4px;*/
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    height: 29px;
}

#newDataTable td {
    text-align: center;
}

#newDataTable tr {
    background: #fff;
}

#newDataTable {
    /*z-index: 99;*/
    background: #424242 !important;
    border-radius: 15px;
    border: solid 1px #424242;

}

#newDataTable th:last-of-type {
    border-right: none !important;
}

#newDataTable tr:first-child {
    height: 20px;
    z-index: 99;
}

#newDataTable th {
    background: #424242;
    color: #fff;
    border-right: solid 2px #F1F1F1 !important;
    height: 20px;
    padding-top: 0;
    /*padding-left: 15px;*/
    text-align: center;
    cursor: grab;
}


#newDataTable th:hover {
    /*border: dashed 3px #F1F1F1 !important;*/
    background: #8c8c8c;
    color: #000;
}

.delSelectedPal {
    width: 12px;
    cursor: pointer
}

#marksHolder {
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    height: 100px;
    /*border: solid 1px #424242;*/
    /*border-radius: 14px;*/
    padding: 0;
    margin-left: -12px;
    position: relative;

}

.draggingSample canvas {
    border: 1px solid #424242;
    border-radius: 4px;
    margin-right: 2px;
    height: 40px !important;
}

#marksHolder canvas {
    border: 1px solid #424242;
    border-radius: 4px;
    margin-right: 2px;
    height: 90%;
}

.btnDisabled {
    cursor: not-allowed !important;
    opacity: 0.6;
}

#layoutList {
    display: flex;
    border: solid 1px #424242;
    border-radius: 7px;
    /*padding: 7px;*/
    height: 30px;
}

#layoutList div {
    border-right: 1px solid #424242;
    cursor: pointer;
    padding: 8px;
    line-height: 12px;
}

#layoutList div:last-child {
    border-right: none;
}

.selectedLayout {

    color: #fff;
    background-color: #424242;
}

.dataBindingLabel {
    width: 50px;
    height: 60px;
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    overflow: hidden;
    margin-left: -9px;
    line-height: 15px;
    text-align: center;
    margin-bottom: 5px;
}

.dataBindingContainer {
    display: flex;
    flex-direction: column;
    position: absolute;
    margin-top: -2px;
    overflow-x: visible !important;
    top: 35px
}

.moreCan {
    width: 60px;
    height: 60px;
}

.sizeDiv {
    display: flex;
    justify-content: space-between;
}

.sizeDiv div {
    height: 24px;
}

.sizeControl {
    font-size: 22pt;
    font-weight: 700;
    line-height: 20px;
}


.sizeControl:hover {
    cursor: pointer;
    font-size: 25pt;
}

.propertyLabel {

}

.dataSelectContainer {
    display: flex;
    width: 123px;
    height: 33px;
}

.dataSelectContainer p {
    font-weight: 500;
    margin-bottom: 2px;
}

.dataSelect {
    width: 70px;
    height: 30px;
    padding: 0 8px;
}

.selectHold {
    display: flex;
}

.delEncoding {
    margin-top: 8px;
    margin-left: -5px;
    margin-right: 3px;
    cursor: pointer;
    width: 12px;
    height: 12px;
}

.paletteArrowDiv img {
    width: 12px;
    height: 12px;

}

.paletteArrowDiv {
    position: absolute;
    right: 7px;
    z-index: 99;
    /*border-right: solid 1px #424242;*/
    top: 37%;
}


.tabHolder {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    padding: 0 8px;
    margin-left: 24px;
}

.tab {
    padding: 10px 18px;
    background: #d2d6dc;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    color: #444;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

.tab:hover {
    background: #e6e9ee;
}

.tab.active {
    background: #fff;
    border-color: #c3c7cf;
    color: #111;
    position: relative;
    top: 1px; /* Covers the bottom border */
    z-index: 2;
}

#inVisHolder {
    width: 95%;
    position: relative;
    background-color: #fff;
    border: 1px solid #424242;
    border-radius: 14px;
    /*padding-right: 6px;*/
    /*padding-left: 6px;*/
}

.selectedButton {
    border: red solid 1px !important;
    filter: none !important;
}

#bigCartesian {
    width: 97%;
    border: solid #555 1px;
    border-radius: 14px;
    height: 75%;
}

.basicButton img {
    width: 22px;
    border-radius: 6px;
}

.basicButton {
    display: inline-block;
    background: #f1f1f1;
    border: solid 1px #424242;
    height: 21px;
}

.selectedImageMark {
    border-radius: 5px;
    outline: 2px solid red;
}

#viewport image {
    transform-box: fill-box;
    transform: translate(-50%, -50%);
}

#viewport image:hover {
cursor: grab;
}

#templateHolder {
    width: 97%;
    border: solid #555 1px;
    border-radius: 14px;
    height: 75%;
    padding-top: 50px;
}


#templateContainer div {
    border: #555555 solid 1px;
    margin: 5px;
    filter: saturate(35%) brightness(70%) opacity(70%);
    border-radius: 3px;
    height: 162px;
    width: 200px;
    display: inline-block;
    /*overflow: hidden;*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    position: relative;
}

#templateContainer div:hover {
    filter: none !important;
    border: #498db4 solid 1px !important;

}

#templateContainer div p {
    margin-top: 153px;
    font-size: 24pt;
    font-weight: 700;
    text-align: center;
    filter: saturate(100%) brightness(100%) opacity(100%);
}
