thead input {
    width: auto;
    box-sizing: border-box;
}

.bg_top_secretaria {
    background-image: url(https://www2.natal.rn.gov.br/siigpmn/cms/imagens/temp/bg4.png);
    background-position-x: left;
    background-position-y: bottom;
    background-size: 100%;
    background-repeat: no-repeat;

}

#menu {
    background-image: url(https://www2.natal.rn.gov.br/siigpmn/cms/imagens/temp/bg2.png);
    background-position-x: right;
    background-position-y: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* ajusta background, espaços internos, altura e largura mínima na lista desordenada dos itens do menu */
.alinhamento-itens-menu ul {
    background-color:   #2D70DE;
    padding: 0px;
    min-width: 104%;
}
/* .alinhamento-itens-menu ul li+li{
   padding-right: 8px;
} */

#pesquisa {
    padding-left: 0rem !important;
    margin-right: 0rem !important;
}

/* Ajusta altura geral do menu */
.menu {
    height: 87px;
}

.menu-ajuste-secretarias {
    height: 60px;
    background-color: #2D70DE;
    /* background-color: #f9f9f9; */
    padding-bottom: 30px;
}

.menu-ajuste-secretarias .navbar{
   padding-left: 0px;
    padding-right: 0px;
}

.menu-ajuste-secretarias .navbar .navbar-toggler{
   margin-left: 4%;
   color: var(--fonte-branca)!important;
   border-color: rgba(0,0,0,0);
}

/* Alteração do tamanho, e cor do gb do conteúdo no menu de serviços*/
.menu-servicos .tab-content {
    /* height: 280px; */
    height: 412px;
    background-color: #1f5f9c;

}

table,
.display {
    width: 100% !important;
}


@media (max-width: 992px) {
    table#example thead input {
        width: 80px;
    }

    table#example td,
    table#example th {
        padding: .25rem;
    }

    /* table,
    .display {
        width: 300px !important;
    } */

    .mb-2.text-center button {
        margin: 1% !important;
    }

    .mb-2.text-center button {
        width: 124px !important;
    }

    .bg_top_secretaria {
        background-image: unset;
        background-position-x: left;
        background-position-y: bottom;
        background-size: 100%;
        background-repeat: no-repeat;

    }

    .texto-secretaria {
        font-weight: 700;
        color: #1f5f9c;
        font-size: 30px;
        padding: 50px 0 50px 0;
        text-align: center;
    }

    .navbar-light .navbar-nav .nav-link {
        color: #000000;
    }

    .alinhamento-roda-teto {
        white-space: nowrap !important;
        padding-right: 0px;
        padding-left: 0px;
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: flex-start !important;
    }


    #secretaria_menu .nav-item a{
        list-style-type: none;
        text-align: left !important;
        /* line-height: 1.3rem; */
        height: unset !important;
        margin-top: -1px;
        color: var(--fonte-branca) !important;
        position: relative;
        /* top: 15px !important; */
        -webkit-transition: top 0.2s ease, background-color 0.2s ease;
        -o-transition: top 0.2s ease, background-color 0.2s ease;
        transition: top 0.2s ease, background-color 0.2s ease;
    }

    #secretaria_menu .nav-link{
        color: var(--fonte-azul) !important;
        font-weight: 500;
    }

    #secretaria_menu .navbar-collapse {
        z-index: 1;
    }

    /* #pesquisa {
        padding-left: 0rem !important;
        margin-right: -0.5rem !important;
        margin-top: 40px;
        padding-bottom: 37px;
    } */
    #redes-sociais,
    #redes-sociais-rodape {
        text-align: center;
    }

    #servicos,
    #modal-servicos {
        margin-top: 38px;
    }

    .alinhamento-roda-teto {
        white-space: nowrap !important;
        padding-right: 0px;
        padding-left: 0px;
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: flex-start !important;
    }

    #roda-teto a,
    ::after {
        margin-left: 22px;
    }
    #icone-lei,
    #icone-lei-mobile {
        display: none !important;
    }

    #roda-teto a {
        color: #fff !important;
        font-weight: 600;
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
    }

    #roda-teto .col {
        display: none;
    }

    #roda-teto-acessibilidade {
        display: none;
    }

    .alinhamento-menu {
        padding-left: 0px;
        padding-right: 0px;
        margin: 0px;
    }

    .nav-item {
        /* list-style-type: none;
        text-align: left !important;
        line-height: 60px;
        height: 80px !important;
        margin-top: -38px;
        position: relative;
        top: 0;
        -webkit-transition: top 0.2s ease, background-color 0.2s ease;
        -o-transition: top 0.2s ease, background-color 0.2s ease;
        transition: top 0.2s ease, background-color 0.2s ease; */
    }

    .active>.nav-link {
        color: #a2a2a2 !important;
        background-color: unset;
    }

    #menu {
        background-image: url(https://www2.natal.rn.gov.br/siigpmn/cms/imagens/temp/bg3.png);
        background-position-x: center;
        background-position-y: center;
        background-size: contain;
        background-repeat: no-repeat;
        padding: 10px 0px 10px 0px;
        margin: 10px 0px 10px 0px;
    }

    #menu nav ul {
        padding-top: 30px;
    }

    .form-inline {
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        -ms-flex-flow: row wrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-flow: unset;
        -ms-flex-align: center;
        -webkit-box-align: center;
        align-items: center;
    }

    .alinhamento-itens-menu ul {
        background-color: #ececec;
        padding: 9px;
        height: auto;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .banners img {
        max-width: 100%;
        height: auto;
        padding-bottom: 15px;
    }
}

.img-topo-secretaria{
    /* width: 147px; */
     width: 350px;
    /* transform: translateX(-50px); */

    @media(max-width: 768px){
        transform: translateX(0px);
    }

}
  
      

#secretaria_menu .nav-link{
    font-size: 1.05rem;
    line-height: 43px!important;
    color: var(--fonte-branca)!important;
      font-weight: 500;
    padding: 0px;
    margin-left: 8px;
    margin-right: 8px;
}

#secretaria_menu .dropdown-menu{
    padding: 10px;
}

#secretaria_menu .dropdown-item{
    font-size: 1rem;
    color: var(--fonte-branca);
    font-weight: 500;
    padding: 4px 20px;
}


#secretaria_menu .dropdown-subitem{
    font-size: 1rem;
    color: var(--fonte-branca)!important;
    font-weight: 500;
    padding: 4px 20px;
}


#secretaria_menu .dropdown-item:hover{
    background-color: #F2F2F2!important;
    color: var(--fonte-azul);
}

#secretaria_menu .dropdown-item:hover .dropdown-subitem {
    color: var(--fonte-azul) !important;
}


#secretaria_menu ul{
        display: flex;
        justify-content: start;
        align-items: center;
        /* list-style: none!important; */
        background-color: var(--cor-rodape-superior);
        /* height: 100%;
        padding-bottom: 15px; */
        /* color: #5d5d5d; */
        /* font-weight: 400; */
        /* overflow: initial; */
    }

 #secretaria_menu .dropdown-menu{
    background-color: var(--cor-rodape-superior);
 }

@media (max-width: 575.98px) {
     .img-topo-secretaria{
        width: 350px;
     }  

}

#campo-pesquisar-home{
    width: 100px;
    border-radius: 4px 0px 0px 4px;
}

.dropdown-secretarias{
    left: auto !important;
    right: 0px !important;
    text-align: left;
    border: 1px solid var(--fonte-azul)!important;
}

/* #secretaria-menu .navbar-nav {
    z-index: 1;
    background-color: #1f5f9c;;
} */

/* #secretaria_menu .nav-link:hover{
     font-weight: 700;
} */

/*
#secretaria_menu .show .nav-link {
    line-height: 34px!important;
    color: #2D70DE!important;
}

#secretaria_menu .nav-link:hover{
    line-height: 34px!important;
    /* background-color: #F2F2F2!important; 
    color: #2D70DE!important;
}
#secretaria_menu ul .show{
    background-color: #F2F2F2!important;
    color: #2D70DE!important;
}

#secretaria_menu ul li a{
    height: 100%;
}
#secretaria_menu ul li:hover{
    background-color: #F2F2F2!important;
       -webkit-transition: 0.3s linear;
    -o-transition: 0.3s linear;
    transition: 0.3s linear;
    color: #2D70DE!important;
} 