﻿.mainPlaceHolder {
    /* -> Se "StatusBar.overlaysWebView(false)", então não realizar o "padding-top" do "safe-area";
    padding-top: constant(safe-area-inset-top);
    padding-top: env(safe-area-inset-top);
    */
    padding-right: constant(safe-area-inset-right);
    padding-right: env(safe-area-inset-right);
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: constant(safe-area-inset-left);
    padding-left: env(safe-area-inset-left);
}

.render-content {
    position: initial;
    width: 100%;
    height: 100%;
}

.mainPlaceHolder, .loading-parent-container, .loading-image {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    margin: auto;
}

.mainPlaceHolder {
    transition-delay: 0.25s;
    -webkit-overflow-scrolling: auto;
}

.logo-border {
    /*border: 1px solid black;*/
    border-radius: 8px;
    position: relative;
    display: table;
    left: 50%;
    top: 50%;
    bottom: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    height: fit-content;
    background-color: rgb(191, 191, 191);
    padding: 1em;
    -webkit-box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
}

.loading-parent-container {
    overflow: hidden !important;
    box-sizing: initial !important;
    -webkit-box-sizing: initial !important;
    background-color: rgba(63, 63, 63, 0.25);
}

.loading-image {
    display: block;
    position: relative;
    background-color: transparent;
    background-image: url("./images/logo-main.svg");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: contain;
}

.spinner {
    display: block;
    position: relative;
    /* top: 150px; */
    /* left: 20px; */
    /* bottom: 0px; */
    /* right: 0px; */
    /* width: 70px; */
    /* height: 70px; */
    text-align: center;
}

    .spinner > div {
        width: 18px;
        height: 18px;
        background-color: #333;
        border-radius: 100%;
        display: inline-block;
        -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
        animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    }

    .spinner .bounce1, .spinner .bounce2, .spinner .bounce3 {
        vertical-align: sub;
    }

    .spinner .bounce1 {
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .spinner .bounce2 {
        -webkit-animation-delay: -0.16s;
        animation-delay: -0.16s;
    }

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

.div-table {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.div-table-header {
    display: table-header-group;
}

.div-table-body {
    display: table-row-group;
}

.div-table-row {
    display: table-row;
}

.div-table-cell {
    display: table-cell;
}

@media only screen and (max-width: 610px) {
    .hidden-cell {
        display: none !important;
    }
}

.invisible {
    display: none !important;
}

.bottom-line {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* Imagem utilizada no topo do sistema */
.logo-empresa-topo {
    background-image: url("./images/logo-main.svg");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: contain;
    margin-top: 2px;
    height: 40px;
    width: 143px;
}

/* Imagem utilizada no topo do sistema */
.logo-empresa-topo-facweb-pj {
    background-image: url("./images/logo-main-facweb-pj.svg");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: contain;
    margin-top: 2px;
    height: 40px;
    width: 143px;
}

.background-identificacao {
    /* background-image: none; */
    /* background-image: linear-gradient(rgba(243,243,243, 0.65) 100%, rgba(243,243,243,0.65) 100%), url("./images/logo-g-m-agua.png"); */
    background-image: url("./images/logo-aqua.svg");
    background-position: right 1em bottom 1em;
    background-repeat: no-repeat;
    background-size: auto 6em;
}

.background-identificacao-facweb-pj {
    /* background-image: none; */
    /* background-image: linear-gradient(rgba(243,243,243, 0.65) 100%, rgba(243,243,243,0.65) 100%), url("./images/logo-g-m-agua.png"); */
    background-image: url("./images/logo-aqua-facweb-pj.svg");
    background-position: right 1em bottom 1em;
    background-repeat: no-repeat;
    background-size: auto 6em;
}

a {
    cursor: pointer;
}

.link-notification-placeholder {
    text-decoration: none;
    position: relative;
}

.link-notification {
    position: absolute;
    top: -15px;
    right: -3px;
    padding: 5px 10px;
    border-radius: 50%;
}

.no-line-height {
    line-height: initial;
}

/* VerticalFrame: header + body + footer */

.vertical-frame {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.vertical-frame-header, .vertical-frame-body, .vertical-frame-footer {
    position: relative;
}

.vertical-frame-header, .vertical-frame-footer {
    height: auto;
}

.vertical-frame-body {
    height: 100%;
    overflow-y: auto;
}

.nav-wrapper .notification-badge {
    position: absolute;
}

.notification-badge {
    background-color: #f68484;
    border-radius: 50%;
    font: bold 11px Arial;
    color: #fff;
    line-height: 20px;
    min-width: 20px;
    text-align: center;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    top: 6px;
    right: 5px;
    padding-left: 4px;
    padding-right: 4px;
}

small {
    font-size: .8rem !important;
}

.required-field-alert {
    color: #e32;
}

#menu-user {
    position: fixed;
    top: 45px !important;
}

@media only screen and (min-width: 611px) {
    #modal-notificacao-informativo {
        width: 520px;
    }
}

@media only screen and (max-width: 610px) {
    #modal-notificacao-informativo {
        width: 100%;
    }
}

/* Imagem utilizada no menu do pix */
.logo-pix {
    background-image: url("./images/pix-icon.svg");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: contain;
    margin-left: 41%;
    height: 24px;
    width: 24px;
}

.img-informativo-pix-automatico {
    background-image: url("./images/pix-automatico-informativo.svg");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: contain;
    height: 250px;
}

/*Footer*/
@media screen {
    .footer {
        display: none;
    }
}

@media print {
    .footer {
        position: fixed;
        bottom: 0;
    }
}

.logo-open-banking {
    background-image: url("./images/openbanking.png");
    max-width: 122px;
    max-height: 100px;
    width: auto;
    height: auto;
}

.content-box {
    display: contents;
}

.name-value-list {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin: 0em;
}

    .name-value-list .name-item {
        width: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        margin: 0em;
    }

    .name-value-list .value-item {
        width: auto;
        text-align: end;
        margin: 0em;
    }

.chave-de-seguranca .card {
    margin: 1em;
    max-width: 22em;
    margin-left: auto;
    margin-right: auto;
}

    .chave-de-seguranca .card .card-content {
        display: flex;
    }

    .chave-de-seguranca .card .card-panel.aviso {
        display: block;
        padding: 1em !important;
    }

        .chave-de-seguranca .card .card-panel.aviso ul {
            margin: 0em;
            margin-top: 1em;
        }

        .chave-de-seguranca .card .card-panel.aviso li {
            text-align: left;
            margin-left: 1em;
            margin-bottom: 1em;
            list-style-type: disc;
        }

            .chave-de-seguranca .card .card-panel.aviso li:last-child {
                margin-bottom: 0em;
            }

    .chave-de-seguranca .card .countdown {
        width: 6em;
        margin-right: 0.75em;
        position: relative;
    }

    .chave-de-seguranca .card .timer-area {
        display: flex;
        position: absolute;
        width: 6em;
        height: 6em;
        margin: 0px;
        padding: 0px;
        top: 0px;
        left: 0px;
        bottom: 0px;
        right: 0px;
        box-sizing: border-box;
    }

    .chave-de-seguranca .card .timer-text {
        margin: auto;
        font-size: 1.5em;
        font-weight: lighter;
    }

    .chave-de-seguranca .card .totp-password {
        margin: auto;
        font-size: 3em;
        font-weight: bold;
    }

    .chave-de-seguranca .card .card-action {
        padding: 0em;
    }

    .chave-de-seguranca .card [r] {
        fill: none;
        stroke: silver;
    }

        .chave-de-seguranca .card [r] + [r] {
            transform: rotate(-90deg);
            stroke-linecap: round;
            stroke: #7f7f7f;
            animation: arc linear infinite;
            animation-duration: 30s;
        }

@keyframes arc {
    0% {
        stroke-dashoffset: 0px;
    }

    100% {
        stroke-dashoffset: -282px;
    }
}

.input-field > label:not(.label-icon).active {
    -webkit-transform: translateY(-3px) !important;
}

.input-field > input[type="text"]:not(.label-icon) + label {
    -webkit-transform: translateY(-3px) !important;
}

.overlay {
    z-index: 2000;
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: auto;
    background-color: rgba(127, 127, 127, 0.5);
    justify-content: center;
    align-items: center;
}

.dialog {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 8em;
    min-height: 8em;
}

.no-text-select {
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
}

.select-month-2 {
    display: flex;
    flex-direction: column;
    min-width: calc(320px - 1em);
    background-color: white;
    border-radius: var(--border-radius-default);
    pointer-events: none;
}

    .select-month-2 .btn {
        pointer-events: all;
    }

    .select-month-2 .prev-year {
        pointer-events: all;
    }

    .select-month-2 .next-year {
        pointer-events: all;
    }

    .select-month-2 .select-item:hover {
        cursor: pointer;
        background-color: rgba(127, 127, 127, 0.25);
    }

    .select-month-2 .body {
        pointer-events: none;
    }

    .select-month-2 .separator {
        width: 100%;
        height: 1px;
        border: 1px solid var(--background-color);
    }

    .select-month-2 .footer {
        display: flex;
        flex-direction: row;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }

        .select-month-2 .footer .btn {
            width: calc(50% - 1em);
            margin: auto;
        }

    .select-month-2 .month-picker-header {
        display: flex;
        flex-direction: row;
        margin-bottom: 0.15em;
    }

    .select-month-2 .prev-year {
        margin-top: 4px;
        margin-left: 4px;
    }

        .select-month-2 .prev-year i {
            border-radius: 50%;
        }

    .select-month-2 .current-year {
        font-size: 1.5em;
        text-align: center;
        width: 100%;
    }

    .select-month-2 .next-year {
        margin-top: 4px;
        margin-right: 4px;
    }

        .select-month-2 .next-year i {
            border-radius: 50%;
        }

    .select-month-2 .month-picker-body {
        display: flex;
        flex-direction: column;
    }

    .select-month-2 .mes.select-item {
        pointer-events: all;
        opacity: 1;
    }

        .select-month-2 .mes.select-item.div-disabled {
            pointer-events: none;
            opacity: 0.25;
        }

    .select-month-2 .month-line {
        display: flex;
        flex-direction: row;
    }

        .select-month-2 .month-line .mes {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 25%;
            border-radius: var(--border-radius-default);
            margin: 2px;
            height: 2em;
        }

/*** EFFECTS START ***/

.overlay * {
    transition: all 0.5s ease;
}

.hidden {
    opacity: 0;
}

.visible {
    opacity: 1;
}

.fade-out {
    animation: fade-out 0.5s forwards;
}

.fade-in {
    animation: fade-in 0.5s forwards;
}

@keyframes fade-out {
    100% {
        opacity: 0;
    }
}

@keyframes fade-in {
    100% {
        opacity: 1;
    }
}

.in-to-out {
    animation: in-to-out 0.25s forwards;
}

.out-to-in {
    animation: out-to-in 0.25s forwards;
}

@keyframes in-to-out {
    50% {
        transform: scale(1.0625);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes out-to-in {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.0625);
    }

    100% {
        transform: scale(1);
    }
}

/*** EFFECTS END ***/

/*** Draglable List ***/

.sortable-list {    
    padding: 5px;        
}

.horizontal-sortable-list {
    display: flex;
    flex-direction: row
}

    .sortable-list .sortable-item {
        list-style: none;
        display: flex;
        cursor: move;
        align-items: center;
        border-radius: 5px;
        padding: 2px 2px;
        margin: 3px;
        /* box-shadow: 0 2px 4px rgba(0,0,0,0.06); */
        border: 1px solid #ccc;
        justify-content: space-between;
    }

.sortable-item .details {
    display: flex;
    align-items: center;
}    

.sortable-item i {
    color: #474747;
}

.sortable-item.dragging {
    opacity: 0.6;
}

    .sortable-item.dragging :where(.details, i) {
        opacity: 0;
    }