﻿.meo-site-heading {
    background-color: #f2f3f8;
}

.meo-site-heading p {
    font-style: italic;
}

.meo-section-title {
    color: #575962;
    font-size: 18px;
}

.meo-label {
    font-size: 14px;
    font-weight: 500;
    color: #575962;
}

.meo-help-text {
    font-size: 12px;
    font-weight: 400;
    color: #606060;
}

.meo-success-text {
    font-size: 12px;
    font-weight: 400;
    color: #d90429;
}

.meo-small-text {
    font-size: 12px;
    font-weight: 400;
}

.meo-immune {
    background-color: lightgray;
    opacity: 0.5;
    pointer-events: none;
}

.meo-warning {
    border: 1px solid #d90429 !important;
}

.meo-guide-text {
    font-size: 12px;
    font-weight: 400;
    color: #606060;
    white-space: pre-wrap;
}

.meo-separator {
    border: 0.1px solid lightgray;
}

/*.dropdown-toggle {
    border: 0.5px solid lightgray !important;
}*/

.meo-form-footer {
    background-color: #9fd1cc;
    /*background-color: whitesmoke;*/
    position: sticky;
    bottom: 0;
    z-index: 200;
}

.meo-form-footer-btn-container {
    display: inline-flex;
    gap: 5px;
}

/*input, textarea, select {
    border: 0.5px solid lightgray !important;
}*/

.meo-readonly-input, .meo-money-sufix {
    border-radius: 0;
    background-color: white !important;
    border: none !important;
    border-bottom: 0.5px solid lightgray !important;
}

.meo-readonly-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.meo-notebookline {
    border-radius: 0;
    border: none !important;
    border-bottom: 0.5px solid lightgray !important;
}

.meo-nodata {
    color: #c1bdb7;
}

/*style for remove upload file button*/
.meo-file-wrapper {
    height: auto;
/*    max-width: 250px;*/
    position: relative;
}

.meo-paragraph-wrapper {
    white-space: pre-wrap;
}

.meo-preview {
    width: 100%;
}

.img-remove {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;*/
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 10px;
}

    .img-remove:hover {
        cursor: pointer;
        color: #d90429;
        border: 1px solid #ef233c;
    }

.component-group{
    position:relative
}

.input-icon{
    position:absolute;
    padding:5px;
}
.input-icon:hover {
    cursor: pointer
}

.input-icon-toggleCmt {
    right: 5px;
    top: 2.5em;
}

.closeCmt.input-icon-toggleCmt {
    top: 5.5em;
    z-index: 500;
}


.meo-table{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid lightgray;
}

.meo-table tr {
    border-collapse: collapse;
    border: 1px solid lightgray;
}

.meo-table th {
    border-collapse: collapse;
    padding: 8px 10px;
    border: 1px solid lightgray;
    background-color: #e9ecef
}

.meo-table td {
    border-collapse: collapse;
    border: 1px solid lightgray;
    padding: 8px 8px;
}

.meo-fullheight-wrapper {
    height: max-content;
    min-height: 100vh;
}

.meo-btn-panel {
    position: sticky;
    z-index:999;
    bottom: 0px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.meo-btn-panel-content {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
}

.meo-bg-light {
    background-color: #e9ecef;
}

.meo-table-fixed-head {
    max-height: 300px;
    overflow: auto;
}

.meo-fixed-thead th {
    position: sticky;
    top: 0px;
    z-index: 100;
    background-color: #ffff;
}

/*.meo-table-fixed-head::-webkit-scrollbar {
    width: 0.1em;
}

.meo-table-fixed-head::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.meo-table-fixed-head::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}*/

.control-divider {
    display: grid;
    place-items: center;
}
/* 
  You want a simple and fancy tooltip?
  Just copy all [data-tooltip] blocks:
*/
.tooltip-icon {
    font-size: 1rem !important;
    padding-left: 0.4rem;
    /*color: rgba(59, 72, 80, 0.9);*/
    color: #6c757d
}


[data-tooltip] {
    --arrow-size: 5px;
    position: relative;
    z-index: 100;
}

/* Positioning and visibility settings of the tooltip */
[data-tooltip]:before,
[data-tooltip]:after {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    left: 50%;
    bottom: calc(100% + var(--arrow-size));
    pointer-events: none;
    transition: 0.2s;
    will-change: transform;
}

/* The actual tooltip with a dynamic width */
[data-tooltip]:before {
    content: attr(data-tooltip);
    padding: 5px 9px;
    min-width: 50px;
    max-width: max-content;
    width: max-content;
    width: -moz-max-content;
    border-radius: 6px;
    font-size: 11px;
    background-color: #6c757d; /*background color of tooltip-data*/
    /*background-image: linear-gradient(30deg, rgba(59, 72, 80, 0.44), rgba(59, 68, 75, 0.44), rgba(60, 82, 88, 0.44));*/
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-align: center;
    white-space: pre-wrap;
    transform: translate(-50%, calc(0px - var(--arrow-size))) scale(0.5);
}

/* Tooltip arrow */
[data-tooltip]:after {
    content: '';
    border-style: solid;
    border-width: var(--arrow-size) var(--arrow-size) 0px var(--arrow-size); /* CSS triangle */
    border-color: rgba(55, 64, 70, 0.9) transparent transparent transparent;
    transition-duration: 0s; /* If the mouse leaves the element, 
                            the transition effects for the 
                            tooltip arrow are "turned off" */
    transform-origin: top; /* Orientation setting for the
                            slide-down effect */
    transform: translateX(-50%) scaleY(0);
}

/* Tooltip becomes visible at hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    opacity: 1;
}
/* Scales from 0.5 to 1 -> grow effect */
[data-tooltip]:hover:before {
    transition-delay: 0.3s;
    transform: translate(-50%, calc(0px - var(--arrow-size))) scale(1);
}
/* 
Arrow slide down effect only on mouseenter (NOT on mouseleave)
*/
[data-tooltip]:hover:after {
    transition-delay: 0.5s; /* Starting after the grow effect */
    transition-duration: 0.2s;
    transform: translateX(-50%) scaleY(1);
}
/*
That's it for the basic tooltip.

If you want some adjustability
here are some orientation settings you can use:
*/

/* LEFT */
/* Tooltip + arrow */
[data-tooltip-location="left"]:before,
[data-tooltip-location="left"]:after {
left: auto;
right: calc(100% + var(--arrow-size));
bottom: 50%;
}

/* Tooltip */
[data-tooltip-location="left"]:before {
transform: translate(calc(0px - var(--arrow-size)), 50%) scale(0.5);
}

[data-tooltip-location="left"]:hover:before {
transform: translate(calc(0px - var(--arrow-size)), 50%) scale(1);
}

/* Arrow */
[data-tooltip-location="left"]:after {
border-width: var(--arrow-size) 0px var(--arrow-size) var(--arrow-size);
border-color: transparent transparent transparent rgba(55, 64, 70, 0.9);
transform-origin: left;
transform: translateY(50%) scaleX(0);
}

[data-tooltip-location="left"]:hover:after {
transform: translateY(50%) scaleX(1);
}



/* RIGHT */
[data-tooltip-location="right"]:before,
[data-tooltip-location="right"]:after {
left: calc(100% + var(--arrow-size));
bottom: 50%;
}

[data-tooltip-location="right"]:before {
transform: translate(var(--arrow-size), 50%) scale(0.5);
}

[data-tooltip-location="right"]:hover:before {
transform: translate(var(--arrow-size), 50%) scale(1);
}

[data-tooltip-location="right"]:after {
border-width: var(--arrow-size) var(--arrow-size) var(--arrow-size) 0px;
border-color: transparent #6c757d transparent transparent;
transform-origin: right;
transform: translateY(50%) scaleX(0);
}

[data-tooltip-location="right"]:hover:after {
transform: translateY(50%) scaleX(1);
}



/* BOTTOM */
[data-tooltip-location="bottom"]:before,
[data-tooltip-location="bottom"]:after {
top: calc(100% + var(--arrow-size));
bottom: auto;
}

[data-tooltip-location="bottom"]:before {
transform: translate(-50%, var(--arrow-size)) scale(0.5);
}

[data-tooltip-location="bottom"]:hover:before {
transform: translate(-50%, var(--arrow-size)) scale(1);
}

[data-tooltip-location="bottom"]:after {
border-width: 0px var(--arrow-size) var(--arrow-size) var(--arrow-size);
border-color: transparent transparent rgba(55, 64, 70, 0.9) transparent;
transform-origin: bottom;
}



