
/* Customize website's scrollbar like Mac OS
Not supports in Firefox and IE
From https://gist.github.com/spemer/a0e218bbb45433bd611e68446523a00b */
/* total width */
*::-webkit-scrollbar {
    background-color:#fff;
    width:16px
}
/* background of the scrollbar except button or resizer */
*::-webkit-scrollbar-track {
    background-color:#fff
}
/* scrollbar itself */
*::-webkit-scrollbar-thumb {
    background-color:#babac0;
    border-radius:16px;
    border:4px solid #fff;
}
*::-webkit-scrollbar-thumb:hover {
    background-color:#aaa;
}
/* set button(top and bottom of the scrollbar) */
*::-webkit-scrollbar-button {display:none}


@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

/* Global CSS override defaults */
html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}
body {
    font-family: 'Montserrat', sans-serif;
}
a:link {
	color: rgb(0,100,200);
    text-decoration: none;
}
a:hover, a:active {
    text-decoration: underline;
}
a:visited {
	color: rgb(0,80,160);
}
input,
select,
textarea {
    font-family: inherit;
}

/* Center Material Icons in the middle of the line */
.material-icons,
.material-icons-outlined,
.material-symbols-outlined{
    vertical-align: middle;
}

/* Helper classes */
.flex-column {
    display: flex;
    flex-direction: column;
}
.flex-row {
    display: flex;
    flex-direction: row;
}
.flex-centermiddle {
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-expand {
    flex-grow: 1;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}
.text-fustify {
    text-align: justify;
}
.left {
    float: left;
}
.right {
    float: right;
}
.clear {
    clear: both;
}
.fullh {
	height: 100%;
}
.fullw {
	width: 100%;
}
.b {
    font-weight: bold;
}
.clickable {
    cursor: pointer;
}
.chirp {
    background: #6FCF97;
    margin: 5px;
    border-radius: 11px;
    height: 22px;
    line-height: 22px;
    font-size: 14px;
    color: #fff;
    padding: 0 11px;
    display: inline-block;
}

/* Tooltip */
[data-tooltip]:hover {
    position: relative;
}
[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    background-color: var(--tooltip-color, var(--main-color));
    color: #fff;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    border-radius: 15px;
    line-height: 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding: 8px 15px;
    margin-bottom: 5px;
    font-weight: bold;
    white-space: pre;
    text-align: center;
    pointer-events: none;
    z-index: 10;
}
[data-tooltip]:hover::after {
    content: ' ';
    position: absolute;
    bottom: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--tooltip-color, var(--main-color)) transparent transparent transparent;
    margin-bottom: -5px;
    pointer-events: none;
    z-index: 10;
}

[data-tooltip-right]:hover {
    position: relative;
}
[data-tooltip-right]:hover::before {
    content: attr(data-tooltip-right);
    background-color: var(--tooltip-color, var(--main-color));
    color: #fff;
    bottom: calc(50% - 26px);
    left: 100%;
    position: absolute;
    border-radius: 15px;
    line-height: 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding: 15px 8px;
    margin-left: 5px;
    font-weight: bold;
    white-space: pre;
    text-align: center;
    pointer-events: none;
}
[data-tooltip-right]:hover::after {
    content: ' ';
    position: absolute;
    bottom: 50%;
    left: 100%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent var(--tooltip-color, var(--main-color)) transparent transparent;
    margin-bottom: -5px;
    pointer-events: none;
}

[data-tooltip-left]:hover {
    position: relative;
}
[data-tooltip-left]:hover::before {
    content: attr(data-tooltip-left);
    background-color: var(--tooltip-color, var(--main-color));
    color: #fff;
    bottom: -10%;
    right: 100%;
    position: absolute;
    border-radius: 15px;
    line-height: 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding: 8px;
    margin-right: 5px;
    font-weight: bold;
    white-space: pre;
    text-align: center;
    pointer-events: none;
}
[data-tooltip-left]:hover::after {
    content: ' ';
    position: absolute;
    bottom: 50%;
    right: 100%;
    margin-right: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--tooltip-color, var(--main-color));
    margin-bottom: -5px;
    pointer-events: none;
}

/* Horizontal rule */
.hr {
    width: 100%;
    border-top: 1px solid #C4C4C4;
    margin: 20px 0;
}

.vr {
    height: 100%;
    border-left: 1px solid #C4C4C4;
    margin: 0px 20px;
}


/* Button */
.button {
    border-radius: 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin: auto;
    padding: 5px 20px;
    min-width: 120px;
}
.button--filled {
    background: var(--main-color);
    border: 3px solid var(--main-color);
    color: #ffffff;
}
.button--outlined {
    color: var(--main-color);
    background: #ffffff;
    border: 3px solid var(--main-color);
}
.button:focus {
    outline: none;
    border-color: var(--fourth-color);
}
.button--disabled {
    background: #999999;
    border: 3px solid #999999;
    color: #ffffff;
    cursor: default;
}
.clear-button {
    background: none;
    border: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

/* Radio/Checkbox/Switch Inputs */
.radio,
.checkbox,
.switch,
.chip {
    text-align: left;
    cursor: pointer;
}
.radio input[type=radio],
.checkbox input[type=checkbox],
.switch input[type=checkbox],
.chip input[type=radio]{
    display: none;
}

.chip {
    border-radius: 20px;
    border: 1px solid #979797;
    padding: 5px 10px;
    transition: background-color 0.1s ease-in;
}
.chip:has(input) {
    background-color: white;
}
.chip:has(input):hover {
    background-color: #cecece;
}
.chip:has(input:checked) {
    background-color: #11988d3f;
}
.chip:has(input:checked):hover {
    background-color: #11988d71;
}

.radio i,
.checkbox i {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: normal;
    font-size: 1.3em;
    vertical-align: bottom;
}
.radio input[type=radio]:not(:checked) + i::after {
    content: 'radio_button_unchecked';
    color: #747D88;
}
.radio input[type=radio]:checked + i::after {
    content: 'radio_button_checked';
    color: var(--main-color);
}
.checkbox input[type=checkbox]:not(:checked) + i::after {
    content: 'check_box_outline_blank';
    color: #747D88;
}
.checkbox input[type=checkbox]:checked + i::after {
    content: 'check_box';
    color: var(--main-color);
}
.checkbox input[type=checkbox]:disabled + i::after,
.radio input[type=radio]:disabled + i::after {
    color: #AAA;
}
.switch i {
    display: inline-block;
    vertical-align: sub;
    width: 45px;
    height: 20px;
}
.switch i::before {
    content: '';
    display: inline-block;
    width: 45px;
    height: 20px;
    background: #EDEDED;
    border-radius: 10px;
}
.switch i::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--main-color);
    border-radius: 10px;
    transition: margin-left ease-in-out 0.3s;
}
.switch input[type=checkbox]:not(:checked) + i::after {
    margin-left: -45px;
    background: #AAA;
}
.switch input[type=checkbox]:checked + i::after {
    margin-left: -20px;
}
.switch input[type=checkbox]:disabled + i::after {
    background: #DDD;
}

/* Dialog */
.dialog-container {
    background: #fff;
    border-radius: 15px;
}
.dialog-section {
    margin: 20px 0;
    padding: 0 20px;
    min-height: 24px;
    line-height: 24px;
}

/* Sidebar */
.sidebar {
    width: 500px;
    /* background: #FFFFFF; */
    position: relative; /* Make box-shadow stay above other elements*/
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}
.sidebar-pad-start,
.sidebar-pad-all {
    margin-top: 21px;
}
.sidebar-pad-end,
.sidebar-pad-all {
    margin-bottom: 28px;
}
.sidebar-pad-horizontal,
.sidebar-pad-all {
    margin-left: 25px;
    margin-right: 25px;
}
.sidebar-title-text {
    font-size: 14px;
    font-weight: bold;
    color: #747D88;
}
.sidebar-title-hr {
    width: 70px;
    height: 2px;
    margin: 10px 0 20px 0;
    background: linear-gradient(90deg, var(--main-color) 0%, var(--second-color) 100%);
}
.sidebar-title-left {
    float: left;
}
.sidebar-title-right {
    float: right;
    font-size: 32px;
    color: #424242;
    cursor: pointer;
}

.sidebar-editableinput {
    display: flex;
    flex-direction: row;
    height: 40px;
    margin: 15px 0;
    line-height: 40px;
    background: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
}
.sidebar-editableinput:hover {
    background: #FBFBFB;
}
.sidebar-editableinput i.material-icons-outlined {
    height: 40px;
    padding: 0 10px;
    line-height: 40px;
    color: #424242;
}
.sidebar-editableinput span {
    line-height: 40px;
    font-size: 14px;
    font-weight: bold;
}
.sidebar-editableinput input,
.sidebar-editableinput select {
    flex-grow: 1;
    padding: 10px;
    border: 0;
    color: #747D88;
    background: none;
}
.sidebar-editableinput:focus-within {
    border: 1px solid #C4C4C4;
}
.sidebar-editableinput input:focus,
.sidebar-editableinput select:focus {
    outline: none;
}

.sidebar-tabs {
    width: 100%;
    display: flex;
    font-size: 12px;
    font-weight: 600;
    color: var(--main-color);
    box-sizing: border-box;
    border-top: 1px solid #C4C4C4;
    border-left: 1px solid #C4C4C4;
    cursor: pointer;
}
.sidebar-tabs::after {
    content: '';
    display: block;
    clear: both;
}
.sidebar-tabs div {
    flex-grow: 1;
    flex-basis: 0;
    height: 60px;
    border-right: 1px solid #C4C4C4;
    line-height: 60px;
    text-align: center;
}
.sidebar-tabs div.sidebar-tabs-disabled {
    color: #747D88;
    background: #E5E7EA;
    border-bottom: 2px solid var(--third-color);
}
.sidebar-tabs div.sidebar-tabs-disabled:hover {
    background: #efefef;
}
.sidebar-bigbutton {
    margin:13px 0;
    background: #FFFFFF;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    line-height: 40px;
    font-weight: 600;
    font-size: 14px;
    color: #747D88;
}

.sidebar-bigbutton:hover {
    background: #F0F0F0;
}
.sidebar-bigbutton i {
    margin: 0 20px;
    color: var(--main-color);
}
.sidebar-bigbutton::before {
    font-family: 'Material Icons';
    content: 'double_arrow';
    display: block;
    float: right;
    padding: 0 10px;
    font-size: 24px;
    line-height: 40px;
    color: var(--main-color);
    background: #ffffff;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}
.sidebar-bigbutton-active {
    background: #F6F6F6;
}
.sidebar-bigbutton-active::before {
    color: #ffffff;
    background: var(--main-color);
}
.sidebar-bigbutton::after {
    display: block;
    clear: both;
    content: '';
}

.sidebar-subtitle {
    line-height: 36px;
    color: #25282D;
    font-weight: bold;
    font-size: 16px;
    margin: 10px 0;
}
.sidebar-footer {
    padding: 20px 20px ;
    border-top: 1px solid #C4C4C4;
    text-align: right;
    position: sticky;
    bottom:0;
    background: #FFFFFF;
}

/* Formatted Input Field */
.finput {
    display: block;
    margin: 5px;
}
.finput > h1 {
    display: block;
    margin: 0;
    line-height: normal;
    font-size: 10px;
    color: #747D88;
}
.finput input,
.finput select,
.finput textarea,
.finput .finput-like {
    background:#fff;
    padding: 5px 10px;
    border: 1px solid #CBCFD4;
    border-left: 4px solid var(--third-color);
    border-radius: 3px;
    width: 100%;
    box-sizing: border-box;
    line-height: 30px;
    min-height: 40px;
}
.finput .finput-like {
    font-size: 13.3333px;
}
.finput input[type=color] {
    padding: 2px;
}
.finput input:focus,
.finput select:focus,
.finput textarea:focus,
.finput .finput-like:focus {
    outline: none;
    border-top-color: #747D88;
    border-right-color: #747D88;
    border-bottom-color: #747D88;
}
.finput input:disabled,
.finput select:disabled,
.finput textarea:disabled,
.finput .finput-like.disabled {
    background:#FAFAFA;
}
.finput .finput-like.disabled {
    pointer-events: none;
    color: #aaaaaa;
}
.finput input.invalid:invalid,
.finput select.invalid:invalid,
.finput textarea.invalid:invalid {
    color:#CF6F8A;
    border-left: 4px solid #CF6F8A;
}
.finput:has(*:required) > h1::after,  .required::after {
    content: "*";
    color: #CF6F8A;
}

.finput-row {
    gap: 10px;
}
.finput-row > * {
    flex-grow: 1;
    flex-basis: 0px;
    margin-right: 0px;
    margin-left: 0px;
}
.finput-with-units {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.finput-with-units h1 {
    flex-basis: 100%;
}
.finput-with-units input {
    flex-grow: 1;
    flex-basis: 0px;
}
.finput-with-units i {
    padding: 7px;
    line-height: 25px;
    margin-left: -1px;
    background: #FFFFFF;
    border: 1px solid #CBCFD4;
    font-size: 14px;
    font-style: normal;
    color: #747D88;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

/* Legacy Old MVP stuff */
.eficiente-main-content {
	height: 100%;
	background: #f0f3f6;
	color: #333;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.eficiente-main-content > h1 {
	margin: 15px 15px 20px 15px;
	border-bottom: 1px solid #d7dde4;
	color: #4f5f6f;
}
.eficiente-main-content > section {
	background: #FFFFFF;
	box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
	margin: 0 20px 20px 20px;
	padding: 10px;
	overflow-x: auto;
}
.eficiente-main-content > section h2 {
	color: #4f5f6f;
	margin: 10px 0;
	padding: 0;
}


.eficiente-table {
	border-collapse: collapse;
}
.eficiente-table thead {
	background: #F3F3F3;
}
.eficiente-table tr {
	border-top: 1px solid #e9ecef;
}
.eficiente-table tbody tr:hover {
	background: #FAFAFA;
}

.eficiente-table td, .eficiente-table th {
	padding: 12px;
}

/* Settings */
.settings-title {
    font-size: 16px;
    font-weight: bold;
    color:#000;
    margin-bottom: 20px;
}
.settings-title i.material-icons-outlined {
    color: var(--main-color);
}
.settings-subtitle {
    font-size: 12px;
    font-weight: bold;
    color: var(--main-color);
}
.settings-searchbox {
    margin: 0 15px;
}
.settings-searchbox input {
    height: 22px;
    border-radius: 12px;
    border: 1px solid #CBCFD4;
    padding: 0 10px;
}
.settings-searchbox input:focus {
    outline: none;
    border: 1px solid #333;
}

.settings-service-item {
    margin-left: 50px;
    margin-right: 25px;
    line-height: 40px;
}
.settings-service-item label {
    margin-right: 5px;
}
.settings-wrapper {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    /* overflow: auto; */
    color: #25282D;
}
.settings-finput input,
.settings-finput select {
    background: #FFFFFF;
    border: 1px solid #CBCFD4;
    font-size: 14px;
    border-radius: 2px;
    padding: 7px;
    box-sizing: border-box;
}
.settings-finput input[type=number] {
    width: 70px;
}
.settings-finput input[type=date] {
    width: 160px;
}
.settings-finput input:focus,
.settings-finput select:focus {
    outline: 2px solid var(--main-color);
}
.settings-finput input:disabled,
.settings-finput select:disabled {
    background:#FAFAFA;
}
.settings-finput .binput input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.settings-finput .binput i {
    padding: 7px;
    margin-left: -1px;
    background: #FFFFFF;
    border: 1px solid #CBCFD4;
    font-size: 14px;
    font-style: normal;
    color: #747D88;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}
.settings-table {
    color:#25282D;
    font-weight: normal;
    width: 100%;
    border-collapse: collapse;
    line-height: 50px;
}
.settings-table tr td:first-child {
    padding-left: 25px;
}
.settings-table tr td:last-child {
    padding-right: 25px;
}
.settings-table thead tr {
    font-size: 12px;
    font-weight: 600;
}
.settings-table tbody {
    border-top: 1px solid #C4C4C4;
}
.settings-table tbody tr {
    border-bottom: 1px solid #C4C4C4;
}

/*  */
.fullscreen-faded {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
    position: fixed;
}

.fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.context-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 25px;
    min-width: 250px;
}
.context-menu li {
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    cursor: pointer;
    display: flex;
    white-space: nowrap;
}
.context-menu li i.material-icons-outlined{
    padding-right: 10px;
}
.context-menu li:first-child {
    border-top: 1px solid #ccc;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.context-menu li:last-child {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.context-menu li:hover {
    background: #eee;
}
.context-submenu {
    position: absolute;
    right: 100%;
    top: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    min-width: 200px;
}
.has-submenu {
    position: relative;
}
.context-submenu li {
    padding: 10px 15px;
    background: #fff;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}
.context-submenu li:last-child {
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}
.context-submenu li:first-child {
    border-top: 1px solid #ccc;
    border-top-right-radius: 0px;
    border-top-left-radius: 15px;
}
.has-submenu:hover > .context-submenu {
    display: block;
}
.context-submenu .context-menu-item {
    white-space: nowrap;
}
input[type=range] {
    height: 29px;
    appearance: none;
    -webkit-appearance: none;
    margin: 10px 0;
    width: 600px;
    overflow: hidden;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    /* box-shadow: 1px 1px 0px #002200; */
    background: linear-gradient(90deg, var(--main-color) 0%, var(--second-color) 100%);
    border-radius: 0px;
    border: 0px solid #18D501;
}
input[type=range]::-webkit-slider-thumb {
    box-shadow: 1.5px 1.5px 1.5px 1.5px #0E5E57;
    height: 15px;
    width: 15px;
    border-radius: 23px;
    background: #0E5E57;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -5px;
    position: relative;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: linear-gradient(90deg, var(--main-color) 0%, var(--second-color) 100%);
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 13px;
    cursor: pointer;
    box-shadow: 1px 1px 0px #002200;
    background: #0EA113;
    border-radius: 0px;
    border: 0px solid #18D501;
}
input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 3px #00AA00;
    border: 0px solid #83E584;
    height: 23px;
    width: 23px;
    border-radius: 23px;
    background: #0E5E57;
    cursor: pointer;
}
/* IE */
input[type=range]::-ms-track {
    width: 100%;
    height: 13px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #0EA113;
    border: 0px solid #18D501;
    border-radius: 0px;
    box-shadow: 1px 1px 0px #002200;
}
input[type=range]::-ms-fill-upper {
    background: #CBCFD4;
    border: 0px solid #18D501;
    border-radius: 0px;
    box-shadow: 1px 1px 0px #002200;
}
input[type=range]::-ms-thumb {
    margin-top: 1px;
    box-shadow: 0px 0px 3px #00AA00;
    border: 0px solid #83E584;
    height: 23px;
    width: 23px;
    border-radius: 23px;
    background: #0E5E57;
    cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
    background: #0EA113;
}
input[type=range]:focus::-ms-fill-upper {
    background: #CBCFD4;
}
.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid var(--main-color); /* Blue */
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
}
.user-select-none {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.blinking {
    animation: blink-animation 1s infinite;
}
@keyframes blink-animation {
0% {
    opacity: 1;
}
50% {
    opacity: 0;
}
100% {
    opacity: 1;
}
}

.aia-name {
    color: transparent;
    font-weight: 700;
    background: linear-gradient(90deg, #3F96CF 0%, #21987A 45%, #4FE093 55%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}