@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    background-color: #F3F3F3;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

dt {
    font-family: 'Inter' !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #303E47 !important;
}

dd {
    font-family: 'Inter' !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #303E47 !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

#app {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden !important;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.click {
    cursor: pointer;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

/*.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }*/

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}



#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2L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content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

#message-error-filter {
    margin-top: -4px !important;
    margin-left: 18px !important;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

/*CLASSES do BOOTSTRAP*/
.modal-header {
    background-color: #ffffff;
    color: #303E47;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Sweet Sans Pro';
}
/*CLASSES do BOOTSTRAP*/

::-webkit-scrollbar {
    width: 4px !important;
}

::-webkit-scrollbar-thumb {
    background: #234568; /* Cor do preenchimento da barra de rolagem */
}

/*CLASSES PARA TABLE*/
.first-cell {
    background-color: #2E6861;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    color: #fdfdfd;
    padding: 4px;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.center-cell {
    background-color: #2E6861;
    color: #fdfdfd;
    padding: 4px;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.last-cell {
    background-color: #2E6861;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #fdfdfd;
    padding: 4px;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.first-cell-down {
    background-color: #2E6861;
    border-radius: 0px 0px 0px 10px;
    color: #fdfdfd;
    padding: 4px;
    font-size: 16px !important;
    font-weight: 400 !important;
    height: 28px;
}

.center-cell-down {
    background-color: #2E6861;
    color: #fdfdfd;
    padding: 4px;
    font-size: 16px !important;
    font-weight: 400 !important;
    height: 28px;
}

.last-cell-down {
    background-color: #2E6861;
    border-radius: 0px 0px 10px 0px;
    color: #fdfdfd;
    padding: 4px;
    font-size: 16px !important;
    font-weight: 400 !important;
    height: 28px;
}

.first-cell-in {
    background-color: #234568;
    border-radius: 10px 0px 0px 0px;
    color: #fdfdfd;
    padding: 4px;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.center-cell-in {
    background-color: #234568;
    color: #fdfdfd;
    padding: 4px;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.last-cell-in {
    background-color: #234568;
    border-radius: 0px 10px 0px 0px;
    color: #fdfdfd;
    padding: 4px;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.form-control-number-table {
    background-color: #d8d8d8;
    border: 1px solid #878F94;
    height: 28px;
    margin: 4px 0px;
}

.grid-header {
    background-color: #234568;
    height: 44px;
    border-radius: 10px 10px 0px 0px;
}

.grid-sub-header {
    background-color: #D8D8D8 !important;
}

.grid-row {
    display: flex;
    align-items: center;
}

.grid-footer {
    background-color: #2E6861;
    padding: 8px 10px;
    border-radius: 0px 0px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.font-sub-header {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    color: #303E47;
}

.font-body-grid {
    font-family: Inter;
    font-size: 13px;
    font-weight: 400;
    color: #303E47;
}

.form-select-rsac-in {
    height: 28px;
    padding: 0rem 2.25rem 0rem 0.75rem !important;
    line-height: 1 !important;
    background-color: #f3f3f3;
    border: 1px solid #878F94;
}

.header-in-table {
    background-color: #d8d8d8 !important;
}

.tamanho-icone-grid {
    width: 24px;
}

.font-header-in-grid {
    font-weight: 500 !important;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    padding: 7px 0px
}

.e-grid.e-default table th[rowspan] {
    border-width: 0 !important;
    background-color: #d8d8d8;
}

.e-grid .e-pager {
    border-bottom: rgba(0,0,0,0);
    border-left: rgba(0,0,0,0);
    border-right: rgba(0,0,0,0);
    border-radius: 0 0 10px 10px;
    background-color: #234568;
    display: flex;
    justify-content: center;
}

.e-pager .e-pagercontainer {
    background-color: #fff;
    border-color: #edebe9;
    border: 1px solid;
    border-radius: 10px;
}

.e-pager div.e-parentmsgbar {
    float: right;
    padding-bottom: 0;
    padding-right: 0;
    padding-top: 8px;
    padding-left: 10px;
    color: #fff;
}

/*CLASSES PARA TABLE*/


@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        min-height: 100vh;
        height: auto;
        min-height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 20rem !important;
        padding-right: 1.5rem !important;
        padding-top: 1.1rem;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

/*CLASSES ALTERADAS DO SYNCFUSION*/
.input.e-input, .e-input-group input, .e-input-group.e-control-wrapper input, .e-input-group input.e-input, .e-input-group.e-control-wrapper input.e-input {
    height: 23px !important;
    border-radius: 10px;
}


.e-input-group, .e-input-group.e-control-wrapper {
    height: 26px !important;
    border-radius: 7px !important;
}


    .e-input-group .e-input-group-icon, .e-input-group.e-control-wrapper .e-input-group-icon {
        min-height: 23px !important;
        border-radius: 7px !important;
    }

.e-ddl .e-control .e-lib .e-popup .width-input-date .e-popup-open {
    max-width: 60% !important;
}

.width-input-date {
    max-width: 60% !important;
}

.e-toolbar-container {
    height: 40px !important;
}

.control-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 50px 0px 0px;
}

.height-100 {
    height: 100px !important;
}

.e-btn, .e-css.e-btn {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    background: #2b7b2f;
    border-color: #f9f8f6;
    box-shadow: none;
    color: #ebeae8;
    transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.e-grid .e-gridheader .e-sortfilter .e-fltr-icon .e-headercelldiv {
    margin: -5px 15px -5px 13px !important;
}

.e-grid .e-filtermenudiv {
    float: left !important;
    margin: -18px -7px;
    padding: 3px;
    text-align: left !important;
}

.e-dlg-center-center {
    -webkit-align-items: center;
    -webkit-justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 9999 !important;
}

.e-accordion .e-acrdn-item .e-acrdn-panel {
    font-size: 14px;
    background-color: #fff !important;
}

.e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header, .e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header {
    border-color: #d9d9d9 !important;
    border-style: solid;
    border-width: 0;
    background: #fff !important;
}

.e-accordion .e-acrdn-item.e-expand-state.e-select:not(.e-selected) > .e-acrdn-header:focus {
    background: #fff !important;
    border-color: #d9d9d9 !important;
}

.e-accordion .e-acrdn-item.e-selected.e-select > .e-acrdn-header {
    background: #fff !important;
    border-radius: 0;
    border-color: #d9d9d9 !important;
    border-style: solid;
    border-width: 0;
}

.e-skeleton.e-skeleton-text, .e-skeleton.e-skeleton-square, .e-skeleton.e-skeleton-rectangle, .e-skeleton.e-skeleton-circle {
    background-color: #d3d9df !important;
    z-index: 999;
}

.skeletonRectangleBorder {
    border-radius: 50px !important;
}

.skeleton-visible {
    position: absolute;
    z-index: 9999;
    width: 101.3%;
    left: 20px;
}

.titulo-collapse {
    font-weight: 700;
    color: #4b4a4a;
}

.e-popup.e-popup-open.e-dialog {
    display: -ms-inline-flexbox;
    display: inline-flex;
    border-radius: 10px !important;
}

.e-dialog .e-dlg-header {
    display: block;
    font-size: 22px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: top;
    white-space: nowrap;
    width: 80%;
    color: #fff !important;
}

.e-dialog .e-btn .e-btn-icon.e-icon-dlg-close {
    color: #fff !important;
    font-size: 26px !important;
    font-weight: 700 !important;
}

.e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
    border-radius: 50%;
    bottom: 5px;
    float: right;
    height: 20px;
    left: -20px;
    position: relative;
    width: 20px;
}

.e-dialog .e-btn.e-dlg-closeicon-btn:hover, .e-dialog .e-btn.e-dlg-closeicon-btn:focus, .e-dialog .e-btn.e-dlg-closeicon-btn:active {
    background-color: #f3f2f100;
    border-color: rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

    .e-dialog .e-btn.e-dlg-closeicon-btn:active span, .e-dialog .e-btn.e-dlg-closeicon-btn:focus span {
        background-color: #edebe900 !important;
        color: #fff !important;
        font-weight: 700 !important;
        font-size: 26px !important;
    }

    .e-dialog .e-btn.e-dlg-closeicon-btn:hover span {
        background-color: #edebe900 !important;
        color: #cd6868 !important;
        font-weight: 700 !important;
        font-size: 26px !important;
    }

.e-dialog .e-dlg-header-content {
    border-bottom: 0 solid #edebe9;
    padding: 16px 24px 20px;
    background-color: #234568;
    border-radius: 10px 10px 0px 0px;
}

.e-dialog .e-dlg-header-content {
    border-bottom: 1px solid #dee2e6;
    padding: 20px 14px 20px 12px;
    line-height: 1.25;
    background-color: #234568;
    border-radius: 5px 5px 0px 0px;
}

.backdrop {
    background-color: #00000063;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/*CLASSES ALTERADAS DO SYNCFUSION*/

.btn-standard:hover {
    background-color: #2875a8 !important;
}

.btn-success:hover {
    background-color: #12722d !important;
}

.btn-enter {
    width: 100%;
    color: #fff !important;
    background-color: #2ca3c6 !important;
    border-color: #c8c6c4 !important;
    border-radius: 10px;
}

.input-border-10 {
    border-radius: 10px !important;
}

.validation-message {
    color: red;
    font-size: 13px !important;
    float: left;
    width: 100%;
}


/*CLASSES PARA SPINNER DA ADVICE (INICIO)*/
.spinner-advice {
    position: fixed;
    width: 115vw;
    height: 115vh;
    filter: blur(21px);
    background-color: #000000d9;
    z-index: 999;
    top: -30px;
    left: -30px;
    animation: vanishingEffect 2s forwards;
}

.logo {
    position: fixed;
    top: 5px;
    left: 5px;
    width: 90px;
    height: 90px;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/*CLASSES PARA SPINNER DA ADVICE (FIM)*/

.grecaptcha-badge {
    visibility: collapse;
}