﻿@import url("/AGV_UI_th/Theme.AGV_UI_th_2_0.css?3837");

/* ================================================

Primary color customization
For additional color customizations, you can change the color code for the colors below

  ================================================ */

:root {
    --color-primary: #00a29a !important; /*primary-color*/
    --color-primary-hover: #00a29a !important; /*primary-color*/
    --color-secondary: #fbb130 !important; /*primary-color*/
}

.font-close-lnk::before{
    content: url(/AGV_Segunda_Via_VW/img/iconclose.png?89768&3882);
}

.smi-ame::after{
    content: url(/AGV_Segunda_Via_VW/img/iconeamelabel.png?89768&3882) !important;
}

.smi-ame::before{
    content: url(/AGV_Segunda_Via_VW/img/iconeame.png?89768&3882);
    margin-right:10px;
}

.smi-ame{
    width: initial;
}

.select:focus {
    border: var(--border-size-s) solid var(--color-secondary) !important;
}

.modal-style-root {
    width: 100%;
    max-width: 800px;
}

.modal-style-root .modal-content {
    /*max-height: initial;*/
    padding-bottom: 0;
    padding-top: 0;
}

.modal.modal-overlay.center.is--visible {
    z-index: 10000;
}

@media (max-width: 800px) {
    .modal.modal-overlay.center.is--visible {
        padding: 5px;
    }
}

@media (max-width: 576px) {
    .modal-top {
        padding: 0;
    }

    .modal-style-root {
        overflow: hidden;
    }

    .modal-style-root .modal-content {
        max-height: 100vh;
        padding-bottom: 25px;
        padding-top: 25px;
    }
}

.Feedback_AjaxWait {
    opacity: 0 !important;
}

.text-primary { color: var(--color-primary);  }
.text-secondary { color: var(--color-secondary); }

.white-space-nowrap {
    white-space: nowrap; 
}

.ListRecords span > .card-accordion {
    border-left-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
}

.ListRecords span:last-child > .card-accordion {
    border-bottom-width: 1px;
}

@media (max-width: 576px) {
    main.main-content.ThemeGrid_Container {
        padding: 0 !important;
    }
}

.list-item-label {
    color: #666;
    font-size: 12px;
    height: 16px;
}

.search-btn-mobile {
    background-color: #00a29a;
    border-radius: 50px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
}

.search-btn-mobile:hover {
    color: white;
    filter: brightness(105%);
}

.search-btn-mobile:active {
    filter: brightness(85%);
}

.position-relative {
    position: relative;
}

.accordion-float-container {
    left: 1rem;
    position: absolute;
    top: 24px;
}

/* Oculta o elemento se não tiver filhos */
.hide-empty:empty {
    display: none;
}

/* Exibe o loading da modal centralizado */
.os-internal-ui-widget-content .Text_Note {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

html > body {
    min-height: 100px !important;
}

/* Maximiza modais em telas pequenas */
@media (max-width: 1000px) {
    html > body {
        min-width: 300px !important;
    }

    .os-internal-ui-dialog  {
        min-width: calc(100vw - 16px) !important;
        height: calc(100vh - 40px) !important;
        top: 0 !important;
        left: 0 !important;
    }
}

/* Tabs */
.tabs.modern-tabs {
    border: none;
    background: transparent;
}

.tabs.modern-tabs .tabs-header {
    background: transparent;
}

.tabs.modern-tabs .tabs-header-item {
    position: relative;
    transition: border 0.5s, filter 0.5s, background-color 0.5s;
    font-weight: bold;
    line-height: inherit;
    border-radius: 5px 5px 0 0;
    height: 100%;
    border: 1px solid #dddddd;
    width: 100%;
    flex: 1;
}

.tabs.modern-tabs .tabs-header-item:not(:first-child) {
    margin-left: 7px;
}

.tabs.modern-tabs .tabs-header-item:not(.active) {
    background-color: #e6e6e6;
    color: #969696;
}

.tabs.modern-tabs .tabs-header-item:not(.active):hover {
    border: 1px solid #dddddd !important;
    filter: brightness(103%);
}

.tabs.modern-tabs .tabs-header-item.active {
    color: var(--color-primary) !important;
    font-size: 16px !important;
    font-weight: bold !important;
    line-height: inherit !important;
    border: 1px solid #dddddd !important;
    border-bottom: 1px solid #f7f7f7 !important;
    background: #F8F8F8;
}

.tabs.modern-tabs .tabs-content {
    border: 1px solid #dddddd !important;
    background: #F8F8F8;
}

@media (max-width: 768px) {
    .tabs.modern-tabs .tabs-header-item:not(:last-child) {
        margin-right: 4px;
    }
}



@media (max-width: 768px) {
    .tabs.modern-tabs .tabs-header-item:not(:last-child) {
        margin-right: 4px;
    }
}




.sub-title-modal {
    font-size: 15px;
    color: #707070;
}

.text-wrap-single-line {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre;
    display: block;
}

.word-break-all {
    word-break: break-all;
}

.rotate-180 {
    transform: rotate(180deg)
}

.container-cinza {
    background-color: #eceaea;
    border: 1px solid #b3b1b1;
    border-radius: 3px;
}

.container-cinza-claro {
    background-color: #f7f7f7;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    padding: 15px;
}

.icon-size {
    font-size: 20px;
}

/* Mudar a cor dos links desabilitados*/
a:not(.Button)[disabled],
a:not(.Button)[disabled] * {
    cursor: not-allowed;
    filter: grayscale(0.2);
    opacity: 0.9;
}

/* TextArea redimenciona apenas verticalmente */
textarea.input-form, textarea.input {
    resize: vertical;
}
