﻿
.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search {
    position: relative;
}
.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.required-label {
    background-color: #e01e5a;
    border-bottom: 0;
    border-radius: 2px;
    color: #fff;
    cursor: default;
    font-size: 10px;
    font-weight: normal;
    padding: 2px 5px;
}

.meo-site-heading {
    background-color: #f2f3f8;
}

.meo-site-heading p {
    font-style: italic;
}

.meo-section-title {
    color: #575962;
    font-size: 1rem;
    font-weight: 600;
}

.meo-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #575962;
}

.meo-help-text {
    font-size: 80%;
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #686559;
}

.meo-guide-text {
    font-size: 12px;
    font-weight: 400;
    color: #606060;
    white-space: pre-wrap;
}

.meo-separator {
    border: 0.1px solid lightgray;
}

.meo-form-footer {
    background-color: #9fd1cc;
    position: sticky;
    bottom: 0;
    z-index: 200;
}

.meo-form-footer-btn-container {
    display: inline-flex;
    gap: 5px;
}

.meo-air-boxshadow {
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px !important;
}

.meo-boxshadow-bottom {
    box-shadow: rgb(0 0 0 / 4%) 0 3px 1px !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;
    min-height: 2.1rem;
}

.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 {
    width: 150px;
    height: 130px;
    display: flex;
    gap: 10px;
}

.meo-paragraph-wrapper {
    white-space: pre-wrap;
}

.meo-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
}

.meo-icon-link {
    background: 0 0;
    color: #575962;
    display: inline-block;
    position: relative;
    padding: 0 !important;
    border-radius: 50%;
    width: 33px;
    height: 33px;
}

.meo-icon-link > i {
    color: black;
    line-height: 0;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.meo-icon-link:hover,
.meo-icon-link:focus {
    background-color: lightgray;
}

table.meo-table {
    border-collapse: collapse;
    width: 100%;
}

table.meo-table.meo-table-outline {
    border: 1px solid lightgray;
    border-top-color: transparent;
}

.meo-table.meo-table-outline thead th {
    border-top: 1px solid lightgray;
    border-collapse: separate;
}

/*table.meo-table tbody tr,
table.meo-table thead tr{
    min-height: 55px;
}*/

.meo-table tr:last-child td {
    border-bottom: none;
}

.meo-table td,
.meo-table th {
    padding: 8px 8px;
}

.meo-table td {
    border-bottom: 1px solid #ddd;
}

.meo-table th {
    border-bottom: 1px solid #aaa;
    background: #fff;
}

.meo-table tbody tr:hover {
    background-color: #fafafa;
    cursor: pointer;
}

.meo-table tr.icon-hidden .meo-icon-link {
    opacity: 0;
}

.meo-table tr.icon-hidden:hover .meo-icon-link {
    opacity: 1;
}

.meo-table-fixed-head {
    overflow: auto;
}

.meo-table-fixed-head--400 {
    max-height: 400px;
}

.meo-table-fixed-head--40 {
    max-height: 40vh;
}

.meo-table-fixed-head table {
    border-collapse: separate;
    border-spacing: 0;
}

.meo-table-fixed-head table th {
    position: sticky;
    top: 0px;
    z-index: 1;
}

.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;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 10px;
}

.img-remove:hover {
    cursor: pointer;
}

.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;
}

.closeCmt.input-icon-toggleCmt.input-icon-toggleCmt--file {
    top: 85%;
    z-index: 500;
}


.meo-gray-portlet {
    background-color: #F7F7F7;
    border-radius: 3px;
    padding: 10px;
    border: 0.5px solid lightgray;
}

.meo-white-portlet {
    background-color: white;
    border-radius: 3px;
    padding: 10px;
    border: 0.5px solid lightgray;
}

.meo-grid-4 {
    display: grid;
    grid-template-columns: 1fr 6fr 4fr 1fr;
    gap: 10px;
    padding-bottom: 8px;
    padding-top: 8px;
}

.meo-text-center {
    display: grid;
    place-items: center;
}

.meo-toggle {
    display: none
}

.meo-toggle.active{
    display: block
}

.meo-btn-panel {
    position: sticky;
    z-index: 10;
    bottom: 0px;
    background-color: rgba(255, 255, 255, 0.9);
    /*    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;
}

.ellipsis {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.loading-spinner {
    width: max-content;
    margin: auto;
    margin-top: 30px;
}

.link-secondary {
    cursor: pointer;
    display: inline-flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #adb5bd;
}

.link-secondary:hover {
    color: rgb(35, 34, 30);
}

.expandable {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.expandable-trigger {
   cursor: pointer;
}

.expandable-trigger-icon {
    transition: transform 0.3s ease;
}

.expandable-trigger-icon.open {
    transform: rotate(90deg);
}

.expandable .expandable-content {
    overflow: hidden;
    transition: all 0.3s ease;
}

.expandable.open {
    grid-template-rows: 1fr;
}

.overflow-visible {
    overflow: visible;
}

.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%);
    color: black;
}

.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;
}


/* 
  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;
}



.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;
    width:max-content;
    left: 35px;
    bottom: 5px;
    font-size: 10px;
    color: #ccc;
    opacity: 1;
    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;
}