﻿.meo-site-heading {
    background-color: #f2f3f8;
}

.meo-site-heading p {
    font-style: italic;
}

.meo-section-title {
    color: #575962;
    font-size: 20px;
}

.meo-label {
    color: #434343;
}

.meo-help-text {
    font-size: 12px;
    font-weight: 400;
    color: #606060;
}

.meo-blur-text {
    font-size: 12px;
    font-weight: 400;
    color: #ccc;
}

.meo-success-text {
    font-size: 12px;
    font-weight: 400;
    color: #d90429;
}

.meo-text-bold {
    font-weight: 600;
}

.meo-small-text {
    font-size: 12px;
    font-weight: 400;
}

.meo-boxshadow-bottom {
    box-shadow: rgb(0 0 0 / 4%) 0 3px 1px !important;
}

.meo-immune {
    background-color: lightgray;
    opacity: 0.5;
    pointer-events: none;
}

.meo-warning {
    border: 1px solid #d90429 !important;
}

.meo-warning-text {
    --red: #d90429;
    --pinkred: #e01e5a;
    font-size: 12px;
    font-weight: 400;
    color: var(--pinkred);
}

.meo-guide-text {
    font-size: 12px;
    font-weight: 400;
    color: #d90429;
    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 dotted 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;
}

.line-table {
    color: #212529;
    border-collapse: collapse;
}

.line-table tr th{
    font-weight: 500 !important;
}

.line-table thead tr, .line-table thead th {
    border-top: none;
    border-bottom: none !important;
}

.line-table tbody th, .line-table tbody td {
    color: #777;
    font-weight: 400;
    padding-bottom: 20px;
    padding-top: 20px;
    font-weight: 300;
}

.line-table th, .line-table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

/*style for remove upload file button*/
.meo-file-wrapper {
    max-width: 200px;
    height: 130px;
   
}

.meo-paragraph-wrapper {
    white-space: pre-wrap;
}

.file-name {
    max-width: 200px;
}
.meo-preview {
    width: auto;
    max-height: 130px;
    object-fit: cover;
    position: relative;
}

.meo-browse {
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px !important;
}

.meo-air-boxshadow {
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px !important;
}

.floating {
    position: fixed;
    right: 20px;
    top: 60%;
    z-index: 1;
    min-width: 300px;
}

.gentle-shake-infinite {
    animation: tilt-n-move-shaking 0.25s infinite;
}

.vertical-shake-infinite {
    animation: vertical-shaking 0.35s infinite;
}

.vertical-shake {
    animation: vertical-shaking 0.4s 0s;
}

@keyframes tilt-n-move-shaking {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(5px, 5px) rotate(5deg);
    }

    50% {
        transform: translate(0, 0) rotate(0eg);
    }

    75% {
        transform: translate(-5px, 5px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes vertical-shaking {
    0% {
        transform: translateY(0)
    }

    25% {
        transform: translateY(5px)
    }

    50% {
        transform: translateY(-5px)
    }

    75% {
        transform: translateY(5px)
    }

    100% {
        transform: translateY(0)
    }
}

/*.img-remove {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    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: #e01e5a;
}

.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: 10;
    bottom: 0px;
    box-shadow: 0 1px 15px 1px rgb(69 65 78 / 8%);
}

.meo-btn-panel-content {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
}

.meo-bg-light {
    background-color: #e9ecef;
}

.meo-table-fixed-head {
    max-height: 400px;
    overflow: auto;
}

.meo-table-fixed-head table {
    border-collapse: separate;
    border-spacing: 0;
}

.meo-table-fixed-head th {
    position: sticky;
    top: 0px;
    background-color: #fff;
    z-index: 1;
}

.ellipsis {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/*.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;
}

.meo-text-warning {
    color: #f80 !important;
}

.meo-text-danger {
    color: #e01e5a !important;
}

.meo-text-info {
    color: #238ad5 !important;
}

.meo-text-success {
    color: #66b55b !important;
}

.alert.meo-alert-warning {
    border-color: #f80;
}

.alert.meo-alert-success {
    border-color: #66b55b;
}

.alert.meo-alert-error {
    border-color: #e01e5a;
}

.alert.meo-alert-info {
    border-color: #238ad5
}

.meo-alert {
    border-width: 0 0 0 6px !important;
    -webkit-box-shadow: 0 0 8px rgb(0 0 0 / 10%);
    box-shadow: 0 0 8px rgb(0 0 0 / 10%);
}

.alert.meo-alert-warning i {
    color: #b35f00;
}

.alert.meo-alert-success i {
    color: #66b55b;
}

.alert.meo-alert-error i {
    color: #e01e5a;
}

.alert.meo-alert-info i {
    color: #238ad5;
}

.meo-nav-link {
    cursor: pointer;
    border-left: 3px solid transparent;
    padding: 8px;
}

.meo-nav-link:hover {
    border-color: #238ad5 !important;
    background-color: transparent;
    color: #23221e;
}

.meo-nav-link.active {
    border-color: #238ad5 !important;
    font-weight: 500;
}

/* 
  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: #fff; /*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);*/
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        color: black;
        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: white 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 white;
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 white 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;
}





.toggle {
    --width: 30px;
    --height: calc(var(--width) / 3);
    position: relative;
    display: inline-block;
    width: var(--width);
    height: var(--height);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: var(--height);
    cursor: pointer;
    margin-top: 4px;
}

.toggle input {
    display: none;
}

.toggle .slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--height);
    background-color: #ccc;
    transition: all 0.4s ease-in-out;
}

.toggle .slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--height));
    height: calc(var(--height));
    border-radius: calc(var(--height) / 2);
    background-color: #fff;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease-in-out;
}

.toggle input:checked + .slider {
    background-color: #2196F3;
}

.toggle input:checked + .slider::before {
    transform: translateX(calc(var(--width) - var(--height)));
}

.toggle .labels {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 12px;
    font-family: sans-serif;
    transition: all 0.4s ease-in-out;
}

.toggle .labels::after {
    content: attr(data-off);
    position: absolute;
    /*right: 5px;*/
    left: 35px;
    bottom: 5px;
    font-size: 10px;
    /*color: #4d4d4d;*/
    color: #ccc;
    opacity: 1;
    /*text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);*/
    transition: all 0.4s ease-in-out;
}

.toggle .labels::before {
    content: attr(data-on);
    position: absolute;
    width: max-content;
    left: 35px;
    bottom: 5px;
    font-size: 10px;
    color: #4d4d4d;
    /*            left: 5px;
color: #ffffff;*/
    opacity: 0;
    /*text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);*/
    transition: all 0.4s ease-in-out;
}

.toggle input:checked ~ .labels::after {
    opacity: 0;
}

.toggle input:checked ~ .labels::before {
    opacity: 1;
}

.progress-point {
    height: 10px;
    width: 10px;
    background-color: #ccc;
}


