:root {
    --pw-primary: #575fcf;
    --pw-primary-light: #e9eafa;
    --pw-error: #DA0808;
    --pw-success: #008000;
    --pw-gray-light: #e0e3ea;
    --pw-bg: #f2f2f6;
    --pw-gap: .8rem;
}

[x-cloak] {
    display: none !important;
}

body {
    color: #60656f;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--pw-bg);
}

#app .app-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

/* ambiente de testes */

.ambiente-testes {
    position: absolute;
    width: 100%;
    opacity: .8;
    z-index: 99;
}

/* navbar */

#header {
    top: 0;
    padding: 20px 0;
}

#header .navbar {
    border-bottom: solid 1px #ccc;
}

#header .img-logo {
    width: 40px;
}

#header ul.menu {
    min-width: 100%;
    width: 250px;
}

#header a {
    text-decoration: none;
    box-shadow: none;
}

#header .centered {
    align-items: center;
}

/* footer */

footer {
    text-align: right;
    padding: 5px;
    color: #999;
    font-size: .6rem;
}

/* boas-vindas */

.welcome {
    flex: 1;
    padding: 1rem 0;
}

.welcome .card .card-body {
    padding: 2rem;
}

.welcome .app-logo {
    width: 100px;
}

.welcome .logo-container {
    background-color: white;
    border-radius: 50%;
    padding: 10px;
    display: inline-block;
}

.welcome .image-qr {
    width: 150px;
}

/* home */

.home .destaque,
.home .card {
    height: 100%;
}

.home .home-item {
    margin-bottom: var(--pw-gap);
}

.home .img-cadastro {
    max-height: 250px;
    margin: 0 auto;
}

/* sobre e validação de conta */

.about .app-logo {
    max-width: 100px;
}

.about .version {
    font-size: .7rem;
}

.about .card-body,
.validacao-conta .card-body {
    padding: 0 2rem;
}

.about .logo-container {
    background-color: white;
    border-radius: 50%;
    padding: 10px;
    display: inline-block;
}

.about .paliari-logo {
    max-width: 50px;
}

.about .card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex-wrap: wrap;
}

.about .image-qr,
.validacao-conta .image-qr {
    width: 150px;
}

.validacao-conta-text {
    padding-left: 20%;
    padding-right: 20%;
}

/* banner das lojas de app */

.store-box {
    overflow: hidden;
    z-index: 9;
    bottom: -40vh;
    height: 30vh;
    width: 100%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    transform: scale(1.4);
    transition-property: all;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    background-image: linear-gradient(to top right, rgba(89, 153, 64, .9), rgba(23, 129, 189, .9));
}

.store-box.active {
    bottom: 0;
}

.store-box .content {
    text-align: center;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transform: scale(.7);
    height: 100%;
    padding: 0 1rem;
}

.store-box .close-button {
    top: 0;
    right: 20px;
    color: rgba(255, 255, 255, .8);
    font-size: 1.2rem;
}

.store-box .logo-container {
    text-align: center;
}

.store-box .logo {
    min-width: 40px;
    width: 15%;
    height: auto;
}

.store-box .button-container {
    flex: 1;
    align-items: center;
    display: flex;
}

.store-box a.button-store {
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
}

.store-box a.button-store:active {
    background-color: rgba(255, 255, 255, .2);
}

/* páginas de erro */

.pagina-erro {
    max-width: 36rem;
    margin: 3rem auto;
    padding: 0 1rem;
    text-align: center;
}

.pagina-erro-icone {
    color: var(--pw-primary);
}

.pagina-erro-codigo {
    color: var(--pw-primary);
    opacity: .5;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

.pagina-erro-mensagem {
    background: var(--pw-primary-light);
    border-radius: .3rem;
    padding: .6rem .8rem;
    margin: 0 0 .8rem;
    text-align: left;
}

.pagina-erro-uri {
    overflow-wrap: anywhere;
}

.pagina-erro-detalhes {
    margin-bottom: .8rem;
    text-align: left;
}

.pagina-erro-detalhes pre {
    max-height: 16rem;
    overflow: auto;
    font-size: .6rem;
    background: #fff;
    border: 1px solid var(--pw-gray-light);
    border-radius: .3rem;
    padding: .5rem;
}

.pagina-erro-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
    margin-top: 1rem;
}

/* utilitários do portal */

a.no-decoration {
    text-decoration: none;
    color: inherit;
}

a.no-decoration:hover,
a.no-decoration:visited,
a.no-decoration:active {
    text-decoration: none;
    color: inherit;
}

.height-100 {
    height: 100%;
}

.font-light {
    font-weight: 100;
}

.box {
    overflow-y: hidden;
    border-radius: 5px;
}

.box.overflow-visible {
    overflow: visible;
}

.filter .modal .modal-body {
    min-height: 300px;
}

.page-title {
    background-color: white;
    border-bottom: 1px solid #ece9e9;
}

.title {
    top: 0;
}

.card {
    box-shadow: 0 .15rem .9rem rgba(48, 55, 66, .15);
    border: none;
}

.box-shadow {
    box-shadow: 0 .15rem .9rem rgba(48, 55, 66, .15);
    border-radius: 10px;
}

.bg-white {
    background-color: white;
    border-bottom: 1px solid #fafafa;
}

.scrollable-x {
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
}

.tooltip-wrap.tooltip:after {
    text-overflow: unset;
    overflow: unset;
    white-space: unset;
    left: .4rem;
    right: .4rem;
    max-width: none;
    transform: translate(0, .4rem);
}

.tooltip-wrap.tooltip:hover:after,
.tooltip-wrap.tooltip:focus:after {
    transform: translate(0, -.2rem);
}

.tooltip-wrap.tooltip.tooltip-bottom:after {
    transform: translate(0, -.4rem);
}

.tooltip-wrap.tooltip.tooltip-bottom:hover:after,
.tooltip-wrap.tooltip.tooltip-bottom:focus:after {
    transform: translate(0, .2rem);
}

.pre-wrap {
    white-space: pre-wrap;
}

.pre-line {
    white-space: pre-line;
}

.text-small {
    font-size: .6rem;
}

.fa.fa-5x, .fa-stack.fa-5x {
    font-size: 5em;
}

.fa.fa-6x, .fa-stack.fa-6x {
    font-size: 6em;
}

.fa.fa-7x, .fa-stack.fa-7x {
    font-size: 7em;
}

.fa.fa-8x, .fa-stack.fa-8x {
    font-size: 8em;
}

.text-long {
    white-space: pre-wrap;
    text-align: justify;
}

.p-3 {
    padding: .9rem;
}

.flex-container {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-around {
    justify-content: space-around;
}

.align-items-center {
    align-items: center;
}

.align-items-flex-end {
    align-items: flex-end;
}

.flex-1 {
    flex: 1;
}

.flex-0 {
    flex: 0;
}

/* componentes das listas e detalhes */

.output .label-output {
    font-size: .6rem;
}

.output .text-output {
    font-size: .7rem;
}

.filter-button .filtered {
    height: .5rem;
    width: .5rem;
    border-radius: 50%;
    background-color: #e67e22;
    position: absolute;
    top: 0;
    right: -.2rem;
}

.empty .empty-icon i {
    font-size: 3rem;
}

/* cadastros */

.cadastro-mapa {
    height: 400px;
    border-radius: 5px;
    width: 100%;
    margin: 1rem 0;
}

/* situações (documentos) */

.andamento {
    color: var(--pw-success);
}

.concluido {
    color: var(--pw-gray-light);
}

.aguardando_ciencia, .irregular {
    color: var(--pw-error);
}

/* documentos */

.docs-filtro .form-inline {
    white-space: nowrap;
}

.comentario {
    padding-bottom: 1rem;
}

.comentario .foto, .ouvidoria-evento .foto {
    display: block;
    margin-right: .4rem;
    height: 80px;
    width: 80px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.doc-fotos .modal-body img, .ouvidoria-fotos .modal-body img {
    max-height: 70vh;
}

/* mensagens */

.mensagens-abas.tab {
    border-top: .05rem solid #dadee4;
    border-bottom: none;
    margin: 0;
}

.mensagens-abas.tab .tab-item i {
    font-size: 1.3rem;
}

.mensagens-abas.tab .tab-item a {
    border-top: .1rem solid transparent;
    border-bottom: none;
}

.mensagens-abas.tab .tab-item.active a {
    border-top-color: var(--pw-primary);
    color: var(--pw-primary);
}

.mensagem-box {
    background-color: #f8f9fa;
    border-radius: 5px;
}

/* notas recebidas */

.img-prestador {
    max-width: 100px;
    margin: 0 auto;
}

/* ouvidoria */

.ouvidoria-icone {
    width: 40px;
}

.ouvidoria-icone-lg {
    width: 55px;
}

.ouvidoria-icone-sm {
    width: 30px;
}

.ouvidoria-evento .foto {
    margin-bottom: .4rem;
}

.ouvidoria-passos {
    font-size: .55rem;
}

.ouvidoria-categoria.active {
    border-color: var(--pw-primary);
}

.ouvidoria-categoria:hover, .ouvidoria-foto-adicionar:hover {
    background-color: #fafafa;
}

.ouvidoria-categoria img {
    width: 50px;
}

.ouvidoria-input-fotos {
    opacity: 0;
    position: fixed;
    left: -20000px;
}

.ouvidoria-foto {
    height: 150px;
}

.ouvidoria-foto .panel-body img {
    margin: 0 auto;
    height: 100%;
    width: auto;
}

.ouvidoria-foto-adicionar .panel-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ouvidoria-mapa {
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    margin: 1rem 0;
}

.ouvidoria-mapa-editavel {
    border: 1px solid var(--pw-gray-light);
    cursor: crosshair;
}

.ouvidoria-busca gmp-place-autocomplete {
    width: 100%;
    color-scheme: light;
    background-color: #fff;
    border: .05rem solid #bcc3ce;
    border-radius: .1rem;
    color: #3b4351;
    font-family: inherit;
    font-size: .8rem;
    line-height: 1.2rem;
    transition: border .2s, box-shadow .2s;
}

.ouvidoria-busca gmp-place-autocomplete:focus-within {
    border-color: var(--pw-primary);
    box-shadow: 0 0 0 .1rem rgba(87, 95, 207, .2);
}

.ouvidoria-busca gmp-place-autocomplete::part(focus-ring) {
    display: none;
}

.ouvidoria-busca gmp-place-autocomplete::part(input) {
    font-size: .8rem;
}

.ouvidoria-busca gmp-place-autocomplete::part(prediction-list) {
    border-radius: .1rem;
    box-shadow: 0 .05rem .2rem rgba(48, 55, 66, .3);
}

.ouvidoria-busca gmp-place-autocomplete::part(prediction-item) {
    font-size: .8rem;
}

.ouvidoria-busca gmp-place-autocomplete::part(prediction-item):hover,
.ouvidoria-busca gmp-place-autocomplete::part(prediction-item-selected) {
    background: var(--pw-primary-light);
    color: var(--pw-primary);
}
