@import url("../static/blognoel/estilos/blognoel-2024.css");

.badge-notify {
    position: relative;
    top: -20px;
    left: -5px;
}

#busca-local {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    /* left: 500px; */
}
.panel-default > .panel-heading .badge {
    color: #f5f5f5;
    background-color: red;
}

.thumbnail .caption {
    padding: 5px;
}

table a:not(.btn),
.table a:not(.btn) {
    text-decoration: none;
}

#menu-padrinho .popover-content {
    padding: 0px;
}

.detalhes-carta p {
    margin: 0px;
}

.thumbnail > img,
.thumbnail a > img {
    margin-left: auto;
    width: 280px;
    margin-right: auto;
    height: 200px;
    margin-top: 5px;
}

.mini-carta {
    /*margin-left: auto;*/
    width: 280px;
    /*margin-right: auto;*/
    height: 200px;
    margin-top: 5px;
}

table tr {
    cursor: pointer;
}

[data-toggle="popover"] {
    cursor: pointer;
}

.float {
    display: none;
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #06c;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 999;
}

/*com badge*/
.my-float {
    position: absolute;
    margin-top: 14px;
    margin-left: -3px;
}

/*sem badge*/
/*.my-float {
    margin-top: 14px;
}*/

.my-floatb {
    top: -16px;
    left: 14px;
}

.badge {
    color: #f5f5f5;
    background-color: red;
}

.card {
    /* margin-left: 1em; */
    display: inline-block;
    margin-left: 1em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: 22em;
    margin: 1em;
    background-color: #f3f3f3;
    color: #06c;
    /* text-indent: initial; */
    padding-left: 0.5em;
    padding-top: 0.5em;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.footer-card {
    /* margin: 1em; */
    /* align-items: center; */
    /* align-content: center; */
    text-align: center;
}

.header-card {
    /* margin: 1em; */
    /* align-items: center; */
    /* align-content: center; */
    text-align: center;
    border-bottom: 1px solid #06c;
}
.container {
    padding: 2px 16px;
    width: 100%;
}

.botao-card {
    margin: 1em;
    height: min-content;
    color: #ffffff;
    background-color: #f8c434;
    border-color: #ff9800;
    padding: 4px 32px;
    font-size: 15px;
    /* line-height: 1.3333333; */
    border-radius: 20px;
    color: white;
    /* border-left-color: rgb(255,152,0); */
    display: inline-block;
    border-style: outset;
    align-content: center;
}

.botao-card:hover {
    background-color: rgb(255, 152, 0);
}

.botao-card:focus {
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: rgb(255, 152, 0);
}

.btn-primary:focus {
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-voltar {
    /* top: 10%; */
    /* height: 30px;
    transform: translateY(-25%);
    padding: 2px 13px 2px 6px;
    margin-top: 1px; */
}

#ordem {
    /* margin-top: 0px; */
    margin-right: 0.5em;
    width: 130px;
    height: 30px;
    border: 1px solid #111;
    border-radius: 14px;
    color: #ffffff;
    background-color: #46bfd2;
    border-color: #f8c434;
    padding: 2px 6px 5px 1px;
    /* top: 10%; */
    transform: translateY(-20%);
}

#ordem:focus {
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#ordem:hover {
    background-color: rgb(255, 152, 0);
}

#dordem select {
    background: transparent;
    width: 150px;
    font-size: 16px;
    border: 1px solid #ccc;
    height: 34px;
}

@media only screen and (min-width: 767px) {
    .painelBusca {
        background-color: lightgrey;
        /* align-content: center; */
        /* position: absolute; */
        /* top: 50%; */
        /* right: 50%; */
        /* transform: translate(120%, 0%); */
        /* width:100px; */
        /* height:100px; */
        /* position:absolute; */
        /* top:50%; */
        /* left:50%; */
        /* margin-top:-50px; */
        /* margin-left:-50px; */
        /* left: 180%; */
        /* left: 180%; */
        /* position: absolute; */
        /* transform: translateX(160%); */
        /* width: 300px; */
        /* top: 100px; */
        /* width: 100vw; */
        /* height: 100vw; */
        /* display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;*/
        /* height: 300px; */
        /* float: none;
    margin: 0 auto;*/
        /* width: 100vw; */
        /* height: 100vh; */
        /* background: #6C7A89; */
        /* display: flex; */
        /* flex-direction: row; */
        /* justify-content: center; */
        /* align-items: center; */
    }
}

.textDiv {
    /* align-content: flex-start; */
    /* text-align: center; */
    position: absolute;
    top: 1rem;
    left: 2.5rem;

    /*cor apenas para exmplo*/
    color: white;
    background-color: #8481bd;
    opacity: 0.8;
    width: -webkit-fill-available;
    height: 199px;
    /* background: none repeat scroll 0 0 #8481BD; */
    display: none;
    /* padding: .1rem; */
    margin-right: 50px;
}

.buscaPontoResumo {
    position: fixed;
    /* top: 15%; */
    /* width: 50%; */
    left: 40%;
}

#botaoAdocao {
    display: none;
    position: fixed;
    left: 76%;
    /* right: 5px; */
    bottom: 20px;
    overflow: visible;
    /* height: 2px; */
    z-index: 1000;
}

@media only screen and (max-width: 600px) {
    #botaoAdocao {
        left: 30%;
    }
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background-color: lightcyan;
    border-bottom-color: lightcyan !important;
}

/**** 
ESTILOS NOEL 2022 
****/
a {
    text-decoration: none;
    border: none;
    margin: 0;
}

a:hover,
a:focus,
a:active {
    border: none;
}

div.container-fluid {
    padding: 0 15px;
    /* max-width: var(--largura-maxima); */
}

.painelBusca {
    width: 100%;
    background-color: white;
    border: none;
    border-radius: var(--raio-borda);
    opacity: 1;
    box-shadow: var(--sombra);
    margin-top: 1rem;
    max-width: var(--largura-maxima);
}

@media only screen and (min-width: 767px) {
    .painelBusca {
        width: 100%;
        background-color: white;
    }
}

.panel-heading h1,
.panel-body h1 {
    font-family: CantedComic, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    color: var(--cor-vermelho);
}

@media only screen and (min-width: 767px) {
    .panel-heading h1,
    .panel-body h1 {
        font-size: 2.8rem;
    }
}

.panel-body .adotar-titulo img {
    align-self: center;
}

#frm-buscar-cartas-por-uf {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

#frm-buscar-cartas-por-uf .form-group {
    flex: 0 0 100%;
    margin-bottom: 0;
}

#frm-buscar-cartas-por-uf .text-atencao {
    flex: 0 0 100%;
    font-weight: bold;
}

@media screen and (min-width: 576px) {
    #frm-buscar-cartas-por-uf .form-group {
        flex: 0 1 auto;
    }

    #frm-buscar-cartas-por-uf .grupo-cidade {
        flex: 1 0 auto;
    }

    #frm-buscar-cartas-por-uf .form-btn-busca {
        flex: 0 0 100%;
    }
}

@media screen and (min-width: 768px) {
    #frm-buscar-cartas-por-uf .form-btn-busca {
        flex: 0 1 auto;
    }

    #frm-buscar-cartas-por-uf #btn-buscar-cartas-por-uf {
        margin-top: 28px;
    }
}

.panel.panel-default,
#painelCarta .panel-default {
    background-color: transparent;
    border: none;
    width: 100%;
}

.panel .panel-heading,
#painelCarta .panel-heading {
    width: 100%;
    background-color: white;
    border: none;
    border-radius: var(--raio-borda);
    box-shadow: var(--sombra);
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    height: auto;
    padding: 15px;
}

#painelCarta .panel-heading.bg-branco {
    color: var(--cor-vermelho);
}

#painelCarta .panel-heading #nomePontoEntrega {
    align-self: center;
    flex: 1 0 auto;
    font-size: 1.125rem;
    text-align: center;
}

@media screen and (min-width: 576px) {
    #painelCarta .panel-heading #nomePontoEntrega {
        text-align: left;
    }
}

.bt-roxo .fa,
.bt-bege .fa {
    font-size: 1.5em;
    color: inherit;
    margin-right: 0.5rem;
}

#painelCarta .temporizador-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

#painelCarta .temporizador-container .fa {
    color: inherit;
}

#painelCarta .temporizador-container span {
    color: inherit;
}

#repositorio-cartas,
#painelCarta .cartas {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
}

#repositorio-cartas .carta,
#painelCarta .carta {
    flex: 1 0 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: white;
    box-shadow: var(--sombra);
    border-radius: var(--raio-borda);
    padding: 1rem;
}

@media screen and (min-width: 576px) {
    #repositorio-cartas .carta,
    #painelCarta .carta {
        flex: 0 1 calc(100% / 2 - 15px);
    }
}

@media screen and (min-width: 768px) {
    #repositorio-cartas .carta,
    #painelCarta .carta {
        flex: 0 1 calc(100% / 3 - 20px);
    }
}

@media screen and (min-width: 992px) {
    #painelCarta .carta {
        flex: 0 1 calc(100% / 4 - 22.5px);
    }
}

@media screen and (min-width: 1200px) {
    #painelCarta .carta {
        flex: 0 1 calc(100% / 5 - 24px);
    }
}

@media screen and (min-width: 1200px) {
    #repositorio-cartas .carta {
        flex: 0 1 calc(100% / 4 - 22.5px);
    }
}

.carta .thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
    gap: 0.5rem;
    border: none;
    border-radius: var(--raio-borda);
    overflow: hidden;
    background-color: var(--cor-bege);
}

.carta .thumbnail img {
    width: 100%;
    height: 100%;
    height: inherit;
    margin-top: 0;
    object-fit: cover;
}

.carta .caption {
    padding: 0;
    margin: 0;
    text-align: left;
    color: var(--cor-vermelho);
    flex: 1 0 auto;
    /* font-size: 14px; */
}

.carta .carta-acoes {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 0.5rem;
}

.carta .carta-acoes .bt-roxo,
.carta .carta-acoes .bt-bege {
    flex: 0 0 calc(50% - 0.25rem);
    padding: 0.5rem 0.5rem;
    text-align: center;
}

.btn-voltar-busca {
    font-size: 1.25rem;
    box-shadow: var(--sombra);
    align-self: center;
}

#div-voltar-ponto-entrega {
    display: flex;
    justify-content: center;
}

/* Filtro modal */
.modal-header {
    background-color: var(--cor-bege) !important;
    color: var(--cor-verde);
}

.modal-header h1,
.modal-header h1 {
    color: inherit;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.button-group .button.btn-primary.bt-bege:first-child,
.button-group .button.btn-primary.bt-bege,
.button-group .button.btn-primary.bt-bege:last-child,
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
    border-radius: var(--raio-borda);
}

.button.btn.bt-bege.btn-primary.is-checked {
    background-color: var(--cor-verde);
    color: white;
}

.button.btn.bt-bege.btn-primary.is-checked:active,
.button.btn.bt-bege.btn-primary.is-checked:hover:active,
.button.btn.bt-bege.btn-primary.is-checked:focus {
    background-color: white;
    color: var(--cor-verde);
    box-shadow: 0 0 0 3px var(--cor-verde) !important;
    border: 0;
    outline: none;
}

/* ALERTA */
.texto-cinza-medio {
    background-color: white;
    padding: 1rem;
    box-shadow: var(--sombra);
    border-radius: var(--raio-borda);
    color: var(--cor-vermelho);
}

.texto-cinza-medio .fa {
    color: var(--cor-vermelho);
}

.alert-warning {
    background-color: var(--cor-vermelho);
    color: white;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: var(--raio-borda);
    box-shadow: var(--sombra);
}

.alert-warning .fa {
    color: inherit !important;
}

.alert-warning span {
    order: 1;
}

.alert-warning button.close {
    order: 2;
}

.btn-primary .badge {
    display: none !important;
}
