/* Adiciona este como suporte aos formulários para prevenção contra robô */
body {
    opacity: 0;
    animation: fadeIn 300ms ease-out 700ms forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 720px) {
    .h5 {
        font-size: 18px !important;
    }

    .h4 {
        font-size: 19px !important;
    }

    .btn {
        margin-bottom: 10px;
        float: none;
    }
}

@media (max-width: 576px) {
    .h5 {
        font-size: 16px !important;
    }

    .h4 {
        font-size: 17px !important;
    }
}

@media (max-width: 330px) {
    .h5 {
        font-size: 8px !important;
    }

    .h4 {
        font-size: 9px !important;
    }
}

/* Campos obrigatÃ³rios */

.required > label:after {
    content: " *";
    color: #ff0212;
}

/* Actions */

form.actions > *,
div.actions > *,
td.actions > * {
    margin-right: 5px;
}

td.actions .btn {
    width: 35px;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-pointer:hover {
    text-decoration: underline;
}

.text-mais-menos:before {
    content: " + ";
    text-decoration: none;
    min-width: 50px;
}

.text-mais-menos.menos:before {
    content: " - ";
    text-decoration: none;
}

.error-message.invalid-feedback {
    display: block;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3%;
}

/* .select2-container .select2-selection--single {
    height     : 38px !important;
    padding-top: 5px;
    border     : 1px solid #ccc !important;
}

.select2-container .select2-selection--multiple {
    height: 38px !important;
}
 */

/* Elementos desabilitados */
:disabled {
    cursor: not-allowed;
}

/* Css tabela datatable */
td.details-control:before {
    content: "+";
    font-size: 20px;
    padding-left: 25%;
    cursor: pointer;
}

tr.shown td.details-control:before {
    content: "-";
    font-size: 20px;
    padding-left: 35%;
    cursor: pointer;
}

.form-group .text-muted {
    width: 100%;
}

@font-face {
    font-family: placamercosul;
    src: url("../font/fe-font.ttf");
}

@font-face {
    font-family: placa-cinza;
    /*src: url('../font/mandatory.ttf');*/
    src: url("../font/LicenzPlate-jDKO.ttf");
}

.placa {
    background-image: url("../img/placas_padrao_mercosul.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    /* font-weight: bold; */
    margin: 0 auto;
    height: 142px;
    width: 450px;
}

.placa-particular {
    background-position: 0px -3px;
    color: #000000;
}

.placa-comercial {
    background-position: 0px -143px;
    color: #77191a;
}

.placa-oficial {
    background-position: 0px -283px;
    color: #09358e;
}

.placa-diplomatico {
    background-position: 0px -423px;
    color: #f4cc0b;
}

.placa-especial {
    background-position: 0px -563px;
    color: #046204;
}

.placa-colecao {
    background-position: 0px -703px;
    color: #5f5f5f;
}

.numero-placa {
    font-family: placamercosul;
    font-size: 5.3em;
    position: relative;
    left: 56px;
    top: 30px;
}

.placa-cinza {
    background-image: url("../img/placa_cinza.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    /* font-weight: bold; */
    margin: 0 auto;
    height: 145px;
    width: 450px;
}

.numero-placa-cinza {
    font-family: placa-cinza;
    /*font-size: 5.3em;*/
    font-size: 6.3em;
    position: relative;
    text-align: center;
    /* left: 56px;*/
    top: 30px;
}

.reserva-placas .form-check-input {
    position: initial;
    margin-top: 0.3rem;
    margin-left: 0;
}

select[readonly] {
    pointer-events: none;
}

.btns-opcao-pagamento button {
    min-width: 200px;
    min-height: 60px;
    font-size: 17px;
}

@media (max-width: 767.98px) {
    .btns-opcao-pagamento button {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.container.servico-habilitacao #btn-forma-pagamento-pix:not(.disabled) {
    box-shadow:
        0 0 10px var(--servico-habilitacao-cor-2),
        0 0 10px var(--servico-habilitacao-cor-2),
        0 0 10px var(--servico-habilitacao-cor-2);
}

.container.servico-veiculos #btn-forma-pagamento-pix:not(.disabled) {
    box-shadow:
        0 0 10px #007bff,
        0 0 10px #007bff,
        0 0 10px #007bff;
}

/* Links agrupados */
.links-agrupados {
    font-weight: bold;
}

.links-agrupados a {
    text-decoration: none;
    padding-left: 2px;
    padding-right: 2px;
}

.links-agrupados a:first-child {
    padding-left: inherit;
}

.links-agrupados a:last-child {
    padding-right: inherit;
}

/* Veja mais */
.veja-mais-hidden {
    display: none;
}

.veja-mais-button {
    padding: 0.125rem 0.25rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.15rem;
}

.veja-menos {
    margin-left: 3px;
}

.tooltip-inner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* responsividade placa */

@media (max-width: 1140px) {
}

@media (max-width: 960px) {
}

@media (max-width: 720px) {
}

@media (max-width: 576px) {
    .placa {
        background-size: cover;
        height: 95px;
        width: 300px;
    }

    .placa-cinza {
        background-size: cover;
        height: 97px;
        width: 300px;
    }

    .numero-placa-cinza,
    .numero-placa {
        font-size: 3.7em;
        top: 18px;
    }
}

@media (max-width: 330px) {
    .placa {
        background-size: cover;
        height: 80px;
        width: 300px;
    }

    .placa-cinza {
        background-size: cover;
        height: 82px;
        width: 450px;
    }

    .numero-placa-cinza,
    .numero-placa {
        font-size: 3em;
        top: 16px;
    }
}

.card-header:hover {
    cursor: pointer;
}

.cursor-auto {
    cursor: auto;
}

.cursor-auto:hover {
    cursor: auto;
}

/*Botao Checkbox*/
.form-checkbox-container {
    /* border: 2px solid #007bff; /* Cor da borda */
    border-radius: 5px; /* Bordas arredondadas */
    padding: 10px; /* Espaçamento interno */
    margin-bottom: 20px; /* Espaço abaixo do retângulo */
    display: inline-block; /* Faz o container ajustar ao seu conteúdo */
    background-color: #f9f9f9; /* Cor de fundo */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra leve */
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin: 0;
}

.form-checkbox input[type="checkbox"] {
    margin-right: 5px; /* Espaço entre o checkbox e o texto */
}

.form-checkbox label {
    margin: 0;
    font-weight: normal; /* Estilo da fonte */
    color: #333; /* Cor da fonte */
}

.highlight {
    color: #007bff; /* Cor destacada para "termos e condições" */
}

/* Botão de fechar do Termo */
.btn-close-custom {
    background-color: #007bff; /* Azul Bootstrap padrão para harmonizar com a borda do container */
    color: white; /* Texto branco para contraste */
    border: none; /* Sem borda para manter o foco no botão colorido */
    padding: 10px 20px; /* Espaçamento interno generoso para facilidade de clique */
    font-size: 16px; /* Tamanho da fonte para legibilidade */
    border-radius: 5px; /* Bordas arredondadas como o container */
    transition:
        background-color 0.3s,
        box-shadow 0.3s; /* Transição suave para interatividade */
    box-shadow: 0 2px 4px rgba(243, 240, 240, 0.1); /* Sombra leve para efeito 3D suave */
}

.btn-close-custom:hover,
.btn-close-custom:focus {
    background-color: #0056b3; /* Um azul mais escuro para efeito hover */
    box-shadow: 0 4px 8px rgb(255, 255, 255); /* Sombra mais pronunciada para destaque ao interagir */
}

.passos-servicos {
    list-style: none;
    counter-reset: list-counter;
    padding-left: 0;
    margin: 30px 25px 0px 0px;
}

.dark-passos {
    list-style: none;
    counter-reset: list-counter;
    padding-left: 0;
    margin: 30px 25px 0px 0px;
}

#detran-servico-descricao input[type="button"] {
    white-space: normal;
    overflow-wrap: break-word;
}

.passos-servicos > li {
    position: relative;
    padding-left: 50px;
    margin: 0px 30px 30px 30px;
    min-height: 60px; /* Adiciona altura mínima para evitar quebra */
}

.passos-servicos > li::before {
    content: counter(list-counter);
    counter-increment: list-counter;
    position: absolute;
    left: -12px;
    top: 12px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    line-height: 48px;
    text-align: center;
    color: black;
    font-weight: bold;
    overflow: hidden;
    background-color: white;
    border: 2px solid var(--servico-default-cor-1);
    border-radius: 50%;
    font-size: 23px;
}

.dark-passos > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 0;
    height: calc(100% + 40px);
    border-left: 2px dotted var(--cor-default-link);
}

.dark-passos > li::before {
    content: counter(list-counter);
    counter-increment: list-counter;
    position: absolute;
    left: -12px;
    top: 12px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    line-height: 48px;
    text-align: center;
    color: black;
    font-weight: bold;
    overflow: hidden;
    background-color: white;
    border: 2px solid var(--servico-default-cor-1);
    border-radius: 50%;
    font-size: 23px;
}

.passos-servicos > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 0;
    height: calc(100% + 40px);
    border-left: 2px dotted var(--cor-default-link);
}

.dark-passos > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 0;
    height: calc(100% + 40px);
    border-left: 2px dotted var(--cor-default-link);
}

@media (max-width: 768px) {
    .passos-servicos {
        margin: 20px 5px 0px 0px !important;
    }

    .passos-servicos > li:not(:last-child)::after {
        left: 13px;
        top: 35px;
        height: calc(100% + -4px);
    }

    .dark-passos > li:not(:last-child)::after {
        left: 13px;
        top: 35px;
        height: calc(100% + -4px);
    }
}

@media (max-width: 480px) {
    /* .passos-servicos ol > li:not(:last-child)::after {
        top: 17px;
        height: calc(101% + 15px);
    } */

    .icone-rodape {
        width: auto !important;
        max-width: 132px;
        max-height: 73px;
    }

    #detran-servico-descricao h5 {
        font-size: 16px;
    }

    .btn-custom-accordion-novo span {
        /* font-size: 7px !important; */
        min-width: 62px !important;
        text-align: center;
    }

    .card-body {
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        min-height: 1px;
        /* padding-right: 1px; */
    }

    /* .passos-servicos ol > li {
        padding-left: 70px !important;
    } */

    /* .passos-servicos > li:not(:last-child)::after {
        left: 12px;
        top: 37px;
        height: calc(100% + -10px);
    }

    .dark-passos > li:not(:last-child)::after {
        left: 12px;
        top: 37px;
        height: calc(100% + -10px);
    } */

    .card-custom {
        max-width: 100%;
        width: 100%;
        margin: 5px 0;
    }
}

@media (min-width: 1024px) {
    .passos-servicos > li:not(:last-child)::after {
        left: 12px;
        top: 35px;
        height: calc(100% + -4px);
    }

    .dark-passos > li:not(:last-child)::after {
        left: 12px;
        top: 35px;
        height: calc(100% + -4px);
    }
}

.passos-servicos ol > li {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
}

.passos-servicos ol > li::marker {
    content: none;
}

/* .passos-servicos ol > li:first-child::before {
    top: 5%;
} */

.dark-passos ol > li {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
}

.dark-passos ol > li::marker {
    content: none;
}

.dark-passos ol > li:first-child::before {
    top: 5%;
}

.passos-servicos ol > li::before {
    content: counter(list-counter);
    counter-increment: list-counter;
    position: absolute;
    left: 10px;
    top: 1%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: black;
    font-weight: bold;
    background-color: white;
    border: 2px solid var(--servico-default-cor-1);
    border-radius: 50%;
    font-size: 23px;
    z-index: 1;
}

.dark-passos ol > li::before {
    content: counter(list-counter);
    counter-increment: list-counter;
    position: absolute;
    left: 10px;
    top: 1%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: black;
    font-weight: bold;
    background-color: yellow;
    border: 2px solid white;
    border-radius: 50%;
    font-size: 23px;
    z-index: 1;
}

.accordion .card .card-header {
    height: auto !important;
    /* max-height: 39px !important; */
}

.accordion .card .card-header .card-title {
    height: auto !important;
    display: flex;
    align-items: center;
    /* max-height: 32px !important; */
}

.accordion h5 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.passos-servicos ol {
    padding: 0px;
}

.passos-servicos ol > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 34px;
    top: 0;
    height: calc(100% + 40px);
    border-left: 2px dotted var(--cor-default-link);
}

.dark-passos ol {
    padding: 0px;
}

.dark-passos ol > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 34px;
    top: 0;
    height: calc(100% + 40px);
    border-left: 2px dotted var(--cor-default-link);
}

@media (max-width: 768px) {
    .passos-servicos ol > li:not(:last-child)::after {
        left: 34px;
        top: 27px;
        height: calc(100% + -4px);
    }

    .passos-servicos ol > li::before {
        left: 10px;
        top: 10px;
    }
}

@media (min-width: 1024px) {
    .passos-servicos ol > li:not(:last-child)::after {
        left: 34px;
        top: 24px;
        height: calc(100% + -4px);
    }
}

.div-icons-institucional .btn-menu svg {
    font-size: 12px;
    color: var(--cor-default-link);
}

#nova-lista-de-categorias li:hover {
    text-decoration: underline;
}

.icons-links {
    width: auto !important;
    max-width: 173px;
    max-height: 110px;
}

.card-img {
    max-width: 173px;
    max-height: 110px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servico-default .btn-primary.focus,
.servico-default .btn-primary:focus,
.servico-default .btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: none !important;
}

.navigation-tabs {
    list-style: none;
}

.navigation-tabs li button {
    border: none;
    padding: 10px;
    background: none;
}

.active-tab-navs {
    border-bottom: 4px solid var(--servico-default-cor-1);
}

#detran-servico-descricao .card {
    border: 1px solid var(--servico-default-cor-1);
}

#detran-servico-descricao .card .card-header {
    border-bottom: 1px solid var(--servico-default-cor-1);
}

.parent-documentos_necessarios .card .card-header {
    border-bottom: 1px solid #d3d2d2 !important;
}

.parent-parent-custos .card .card-header {
    border-bottom: 1px solid #d3d2d2 !important;
}

.list-inline-item:not(:last-child) {
    margin-right: 2.5rem;
}

.list-inline-item a {
    font-weight: 600;
}

.list-inline-item span {
    font-weight: 600;
}

.list-inline-item span button {
    font-weight: 600;
}

.active-tab-navs-cinza {
    border-bottom: 2px solid #e3e2e1;
}

.icon-size-search {
    font-size: 30px;
}

a:focus,
a:active {
    outline: none;
}

.card-custom {
    border: none;
    margin: 9px 14px;
    padding: 0;
    max-width: 100%;
    width: 252px;
    height: 300px;
}

.card-custom .card-img,
.card-img-top {
    height: 156px;
}

@media (max-width: 1024px) {
    .card-custom {
        max-width: 100%;
        width: 271px;
        margin: 6px 2px;
    }

    .list-cards-noticia {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .card-custom {
        max-width: 100%;
        width: 330px;
        margin: 6px 2px;
    }

    .list-cards-noticia {
        justify-content: space-between;
    }
}

.bg-dark-card-custom {
    background: #393939 !important;
}

@media (max-width: 580px) {
    .dark-custom h5 {
        font-size: 16px !important;
    }

    .passos-servicos ol > li {
        padding-left: 45px;
    }

    .passos-servicos ol > li::before {
        left: 5px;
        width: 34px;
        height: 34px;
        font-size: 16px;
        line-height: 34px;
        top: 10px;
    }

    .passos-servicos ol > li:not(:last-child)::after {
        left: 22px;
        top: 18px;
        height: calc(100% + 15px);
    }

    .dark-passos ol > li:not(:last-child)::after {
        left: 20px;
        top: 18px;
        height: calc(100% + 15px);
    }

    div.card-header.acordion_novo {
        max-height: none !important;
    }

    div.card-header.acordion_novo > h5.card-title.open-close_doc-cust {
        max-height: none !important;
    }

    .card-title {
        padding-right: 10px !important;
    }

    .accordion .card-body ul {
        padding-inline-start: 10px !important;
    }

    .accordion.mx-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (min-width: 580px) and (max-width: 690px) {
    .custom-social {
        left: 6px !important;
    }
}

@media (min-width: 691px) and (max-width: 767px) {
    .custom-social {
        left: 60px !important;
    }
}

@media (min-width: 768px) and (max-width: 850px) {
    .custom-social {
        left: 2px !important;
    }
}

@media (min-width: 851px) and (max-width: 950px) {
    .custom-social {
        left: 20px !important;
    }
}

@media (min-width: 951px) and (max-width: 991px) {
    .custom-social {
        left: 40px !important;
    }
}

@media (min-width: 992px) and (max-width: 1080px) {
    .custom-social {
        left: 0px !important;
    }
}

@media (min-width: 1081px) and (max-width: 1199px) {
    .custom-social {
        left: 40px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1300px) {
    .custom-social {
        left: 4px !important;
    }
}

@media (min-width: 1301px) and (max-width: 1440px) {
    .custom-social {
        left: 40px !important;
    }
}

@media (min-width: 1441px) and (max-width: 1580px) {
    .custom-social {
        left: 100px !important;
    }
}

@media (min-width: 1581px) and (max-width: 1700px) {
    .custom-social {
        left: 160px !important;
    }
}

@media (min-width: 1701px) and (max-width: 1850px) {
    .custom-social {
        left: 220px !important;
    }
}

@media (min-width: 1851px) and (max-width: 2000px) {
    .custom-social {
        left: 300px !important;
    }
}

@media (min-width: 2001px) and (max-width: 2300px) {
    .custom-social {
        left: 400px !important;
    }
}

@media (min-width: 2301px) and (max-width: 2500px) {
    .custom-social {
        left: 500px !important;
    }
}

@media (min-width: 2501px) and (max-width: 2800px) {
    .custom-social {
        left: 650px !important;
    }
}

@media (min-width: 2801px) and (max-width: 3100px) {
    .custom-social {
        left: 800px !important;
    }
}

@media (min-width: 3101px) and (max-width: 3500px) {
    .custom-social {
        left: 950px !important;
    }
}

@media (min-width: 3501px) {
    .custom-social {
        left: 1100px !important;
    }
}

.custom-social {
    margin-top: 15px !important;
    display: flex;
    flex-direction: column;
    position: fixed;
}

.titulo-pagina-detran {
    text-transform: none;
    background: #2b2a2b;
}

.btn-dark-custom {
    color: black !important;
    text-decoration: none;
}

.border-bottom-custom {
    border-bottom: 0.1px solid #dee2e6 !important;
}

a:focus,
button:focus,
input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.link-login-logout-gov:hover {
    filter: brightness(0.8);
}

.local-autenticacao span {
    color: #2b61ad !important;
}

.collapse-up {
    bottom: 100%;
    z-index: 10;
}

.bg-dark-card-custom {
    background: #393939 !important;
}

/* pfv não remova esse codigo até pelo amor de Deus*/

.acordion-estilo-default {
    font-size: 16px;
    max-height: 40px !important;
    border-bottom: 1px solid #070303 !important;
}

.card .card-header .acordion-estilo-default {
    font-size: 16px;
    max-height: 40px !important;
    border-bottom: 1px solid #070303 !important;
}

.card.acordion-borda {
    border: 1px solid #070303 !important;
}

.card.acordion-claro {
    border: 1px solid #d3d2d2 !important;
}

.card-header.acordion-cabecalho-claro {
    background: #d3d2d2 !important;
    font-size: 16px !important;
    max-height: 32px !important;
    border-bottom: 1px solid #d3d2d2 !important;
    display: flex !important;
    align-items: center !important;
}

.card-title.acordion-titulo-claro {
    background: #d3d2d2 !important;
    font-size: 16px !important;
    max-height: 32px !important;
    display: flex !important;
    align-items: center !important;
}

.accordion {
    overflow-anchor: auto;
}

.acordion_novo {
    transform: none !important;
    position: relative;
    top: auto;
}

.passos-servicos ol {
    list-style-type: none !important;
}

/*novo accordion*/
#detran-servico-descricao .card .acordion_novo-amarelo {
    border: 1px solid var(--servico-default-cor-1) !important;
    background: var(--servico-default-cor-1) !important;
    padding: 17px 4px;
}
#detran-servico-descricao .card .acordion_novo-amarelo-title {
    background: var(--servico-default-cor-1) !important;
}

.acordion_novo-amarelo .btn-custom-accordion-novo {
    font-size: 10px;
    background: var(--servico-default-cor-1) !important;
    margin: 0px 5px;
    padding: 4px 0px;
    font-weight: bold;
    border: 1px solid var(--servico-default-cor-3);
    max-width: 85px;
    min-width: 80px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    border-radius: 3px;
}
