.opacityzero{
    opacity: 0%;
}

.atom {
    z-index: 0;
    box-sizing:border-box;
    position:absolute;
    width: fit-content;
    height: fit-content;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding-top:0;
    padding-bottom: 0;
    pointer-events: all;
}

.pointer-events-none {
    pointer-events: none !important;
}

.pointer-events-all {
    pointer-events: all !important;
}

.atom-element {
    margin-bottom: 0 !important;
    margin-top: 0 !important;

    border-radius: 5px;
}

.atom-wrapper {
    flex-direction: row;
    justify-content: flex-start;
    position: relative;
}

.atom-wrapper > .atom-anchors {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    top: 0;
    left: 0;
    z-index: 99999;
}

.atom-wrapper > .atom-anchors > .atom-anchor {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background-color: var(--fermat-color-background500);
    outline: 2px solid var(--fermat-color-accent300);
    opacity: 1;
    pointer-events: all;
    transform-origin: 50% 50%;
}

.atom-anchor.atom-anchor-top-left {
    top: -4px;
    left: -4px;
}

.atom-anchor.atom-anchor-top-right {
    top: -4px;
    right: -4px;
}

.atom-anchor.atom-anchor-bottom-left {
    bottom: -4px;
    left: -4px;
}

.atom-anchor.atom-anchor-bottom-right {
    bottom: -4px;
    right: -4px;
    right: -4px;
}

.atom-indicators {
    position: absolute;
    right: 3px;
    display: flex;
    height: 20px;
    top: -19px;
}

.atom-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.atom-content.scroll {
    pointer-events: initial;
}

.atom:not(.atom-link-unclickable) .atom-link-unclickable:hover {
    box-shadow: none !important;
}

.atom-tooltip {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    height: 100%;
    transition:0.3s;
}

.atom-tooltip-box {
    display: flex;
    align-items: center;
    height: 100%;
}

.atom-tooltip-delete {
    padding: 0.5em;
    width: 1em;
    height: 1em;
    cursor: pointer;
    opacity: 20%;
}

.atom-tooltip-delete:hover {
    opacity: 100%;
}

.atom-tooltip-dragdrop{
    height: auto;
    width: auto;
    cursor: move;
    fill: black;
    opacity: 30%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.atom-tooltip-dragdrop:hover{
    opacity: 100%;
}

.atom-tooltip-share {
    z-index: 20;
    height: 1em;
    width: 1em;
    cursor: pointer;
    fill: black;
    opacity: 30%;
    padding: 1em 0.5em 0.7em;
}



.atom-tooltip-share:hover {
    opacity: 100%;
}

.atom-resizer {
    position: absolute;
    left: -28px;
    top: -28px;
    width: calc(100% + 56px);
    height: calc(100% + 56px);
    z-index: -1;
    pointer-events: none;
}

.atom-resizer-anchor-wrapper {
    position: absolute;
    width: 28px;
    height: 28px;
    transition:0.3s;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index: 30;
    opacity: 0;
    pointer-events: none;
}

.atom-resizer-anchor {
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: transparent;
    border: 1px solid #2A2A2A;   /*0090ff*/
    border-radius: 3px;
    z-index: -1;
    transition: 0.3s;
    transform-origin: center center;
}

.atom-resizer-anchor-wrapper:hover .atom-resizer-anchor {
    background-color: #2A2A2A;
}

.ql-tooltip {
    z-index: 99;
}

.occlusion-cull {
    display: none !important;
}

.atom-pinned .occlusion-cull, .atom-pinned.occlusion-cull {
    display: initial !important;
}