@import url('https://fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,800,700,900');
@import url('../../novo_portal_base/css/rawline/rawline.css');

:root {
    --cor-fundo: #13284A;
    /* Azul escuro (topo da tabela, fundo) */
    --cor-links: #1351B4;
    /*  Azul royal (botões, links) */
    --cor-linhatabela: #D9D9D9;
    /* Cinza (1a linha da tabela, coluna de download) */
    --cor-linkmenu: #936DBC;
    /* Roxo */
    --largura-maxima: 1200px;
    /* 1600px */
}

html {
    font-family: 'Rawline', 'Open Sans', sans-serif, Arial, Helvetica !important;
    font-size: 1em;
    padding: 0;
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    background: var(--cor-fundo) url('../imagens/fundo2.png') top left repeat-x !important;
    font-family: 'Rawline', 'Open Sans', sans-serif, Arial, Helvetica !important;
}


input,
a,
strong,
span,
h1,
h2,
h3,
h4,
p {
    font-family: 'Rawline', 'Open Sans', sans-serif, Arial, Helvetica !important;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 1.4em;
}

p {
    font-size: 1em;
    line-height: 1.5em;

}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;

}

header {
    margin: 0px 0 80px 0;
    width: 100%;
    height: 90px;
    background-color: #fff;
}

.header-wrapper {
    max-width: var(--largura-maxima);
    margin: auto;
    display: flex;
    align-items: center;
    position: relative;
}

.logo-sistema img {
    margin: 15px 20px 10px 0;
    display: block;
    height: 45px;
}

.logo {
    position: absolute;
    right: 0;
}

.logo img {
    margin: 20px 20px 20px auto;
    display: block;
    height: 22px;
}

.navbar {
    padding-top: 0 !important;
}

.conteudo,
.conteudo_lateral,
.conteudo_centro {
    background-color: #fff;
}

.conteudo {
    max-width: var(--largura-maxima);
    width: 100%;
    margin: 2em auto 10px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 4px;
    -webkit-box-shadow: 0px 6px 9px -3px rgb(53, 53, 53);
    -moz-box-shadow: 0px 6px 9px -3px rgb(53, 53, 53);
    box-shadow: 0px 6px 9px -3px rgb(53, 53, 53);
}

.conteudo a {
    color:var(--cor-links);
}

.menu {
    display: flex;
    height: 90px;
    align-items: flex-end;
}

.menu a {
    color: #000000;
    padding: 10px 25px 10px 25px;
    display: block;
}

.menu li {
    border-bottom: 4px solid #fff;
}

.menu li:hover,
.menu li.current {
    border-bottom: 4px solid var(--cor-linkmenu);
}

.menu li:hover a,
.menu li.current a {
    color: var(--cor-linkmenu);
}

.menu .menu_inicio {
    display: none;
}
#tabs .menu {
    height: 70px;
    margin: -20px;
    margin-bottom: 20px;
    border-bottom: 1px solid;
}

#tabs .menu>li {
    height: 70px;
    padding-top: 12px;
    font-weight: bold;
}

#tabs .menu>li a {
    text-decoration: none;
    color: var(--cor-links);
}

#tabs .menu>li.current,
#tabs .menu>li.current a {
    background-color: var(--cor-linkmenu);
    color: #fff;
}

#tabs .menu > li:hover {
    border: none;
    background-color: #f1f1f1;
}
#tabs .menu > li.current:hover {
    background-color: var(--cor-linkmenu);
}

#tabs .menu-busca {
    margin-left: -52px;
}

#tabs .menu-busca li {
    border-radius: 4px 0 0 0;
}

.form-label {
    margin-bottom: 0 !important;
    margin-top: 1rem;
    font-size: 0.9em;
    font-weight: 600;
}

.input-label {
    display: block;
    color: var(--cor-links);
    text-transform: uppercase;
    padding: 5px 0;
}

.form-check-input[type=checkbox] {
    margin-left: -1.2em !important;
    margin-right: 7px;
}

.breadcrumb {
    --bs-breadcrumb-margin-bottom: 0;
}

.title {
    /*text-transform: capitalize;*/
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
}

.expand_head {
    position: relative;
    color: var(--cor-links);
    padding-left: 25px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--cor-fundo);
    cursor: pointer;
    margin-bottom: 10px;
}

.expand_head.open {
    border-bottom: none;
    padding-bottom: 0;
}

.expand_head::after {
    content: "";
    width: 11px;
    height: 11px;
    border: 2px solid var(--cor-links);
    border-top: none;
    border-left: none;
    position: absolute;
    top: 5px;
    left: 0;
    transform: rotate(45deg);
    transform-origin: center;
    border-radius: 2px;
    transition: all .2s;
}

.expand_head.open::after {
    top: 11px;
    transform: rotate(225deg);
}

.expand_head h3 {
    font-size: 1.1em;
}

.expand_body {
    padding-left: 30px;
    border-bottom: 1px solid var(--cor-fundo);
    margin-bottom: 10px;
    padding-bottom: 15px;
}

.img-container p {
    font-style: italic;
    color: #777;
    font-size: .9em;
    margin-top: .5em;
}

.itens_termos {
    font-weight: bold;
    display: inline-block;
    min-width: 150px;
    width: 10%;
    line-height: 2em;
}

.itens_conteudos {
    display: inline-block;
    width: 85%;
    line-height: 1.5em;
    max-width: calc(100% - 150px);
}

.links div[itemprop="articleBody"] li a {
    color:#000000;
    font-weight: bold;
}
.links div[itemprop="articleBody"] ul {
    padding: 20px;
}
.links div[itemprop="articleBody"] li {
    list-style: disc;
}

footer {
    max-width: var(--largura-maxima);
    width: 100%;
    margin: 0 auto;
    height: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-footer img {
    height: 18px;
}

/* Catalogo */

.dataTables_wrapper thead {
    background-color: var(--cor-linhatabela);
}

#download_files.single{
    align-self:center;
    background: var(--cor-linhatabela);
    padding:2em 1.5em;
}

#download_files.single img{
    width:100%;
}

form input,
form select {
    /*padding: 1em;*/
    /*border-radius: .5em;*/
    font-size: medium;
    font-family: 'Rawline';
    width: 100%;
}

select {
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url("../../../media/com_catalogo/images/sort_desc.png") no-repeat center right 10px;
}

select:focus-within {
    background-image: url("../../../media/com_catalogo/images/sort_asc.png");
}

select:disabled, checkbox:disabled, input:disabled{
    background-color: var(--cor-linhatabela) !important;
    display: none;
}

#tabs li {
    color: var(--cor-links)
}

.dropdown-menu {
    z-index: 10000;
}

/* #tabela_resultados,  */
#tbResult_wrapper,
.download_table, #download_files{
    overflow: auto; /* se necessario aparece */
}

.col-1-13 {
    flex: 0 0 7.692% !important; /* 1/13 in percentage */
    max-width: 7.692% !important;
}

/* ******************** */
/* Notebook and biggers */
/* ******************** */
@media only screen and (min-width: 1000px) {
    .mobile-only {
        display: none;
    }

    form#form-busca-rapida{
        margin-top:-125px;
    }

    .desktop-flex {
        display: flex;
    }

    .conteudo {
        min-height: 500px;
    }

    #tabs-container .desktop-flex {
        align-items: flex-end;
    }

    div[itemprop="articleBody"] .desktop-flex > div:first-child,
    .atendimento_ {
        width: 62%;
    }

    .img-container {
        padding-left: 20px;
        width: 38%;
    }

    .img-container img {
        max-width: 420px;
    }

    /* .combo-contem {
        /* display: flex;
        align-items: center; 
        /* padding: 0 15px 20px; 
    } */

    /* .combo-e-ou>select {
        width: 112px;
    } */

    /* input[type="text"],
    select {
        min-width: 400px;
    } */

    /* select[class="peq"] {
        min-width: 80px;
    } */

    /* .col-lg-2 {
        width: 20px !important;
    } */

 

}

/* ******************** */
/* MOBILE AND SMALLESTS */
/* ******************** */
@media only screen and (max-width: 1000px) {
    .desktop-only {
        display: none;
    }
    #detalhes, .expand{
        word-break: break-word;
    }
    
    .header-wrapper{
        justify-content: space-evenly;
    }

    input[type="text"],
    select {
        width: 100% !important;
    }

    .img-container img {
        width: 100%;
    }

    .col-1-13, .col-12-13 {
        flex: 0 0 100%;
        max-width: 100%;
    } 

    .navbar-toggler {
        margin-left: auto;
        margin-right: 0;
        margin-top: 30px;
    }

    .navbar-toggler-icon {
        background-image: none !important;
    }

    /* hamburger*/
    .hamburger {
        cursor: pointer;
        transition-property: opacity, filter;
        transition-duration: 0.15s;
        transition-timing-function: linear;
        font: inherit;
        color: inherit;
        text-transform: none;
        background-color: transparent;
        border: 0;
        margin: 0;
        overflow: visible;
    }
    .hamburger.is-active .hamburger-inner,
    .hamburger.is-active .hamburger-inner::before,
    .hamburger.is-active .hamburger-inner::after {
        background-color: var(--cor-links); 
    }
    .hamburger-box {
        display: block;
        width: 23px;
        height: 23px;
        position: relative;
    }
    .hamburger-inner {
        display: block;
        top: 50%;
        margin-top: -2px; 
    }
    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
        width: 23px;
        height: 3px;
        background-color: var(--cor-links);
        border-radius: 4px;
        position: absolute;
        transition-property: transform;
        transition-duration: 0.15s;
        transition-timing-function: ease; 
    }
    .hamburger-inner::before, .hamburger-inner::after {
        content: "";
        display: block; 
    }
    .hamburger-inner::before {
        top: -8px; 
    }
    .hamburger-inner::after {
        bottom: -8px; 
    }
    .hamburger--spin .hamburger-inner {
        transition-duration: 0.22s;
        transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); 
    }
    .hamburger--spin .hamburger-inner::before {
        transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; 
    }
    .hamburger--spin .hamburger-inner::after {
        transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); 
    }
    .hamburger--spin.is-active .hamburger-inner {
        transform: rotate(225deg);
        transition-delay: 0.12s;
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 
    }
    /*.hamburger--spin.is-active {
        transform: translateX(-25px);
    }*/
    .hamburger--spin.is-active .hamburger-inner::before {
        top: 0;
        opacity: 0;
        transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; 
    }
    .hamburger--spin.is-active .hamburger-inner::after {
        bottom: 0;
        transform: rotate(-90deg);
        transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); 
    }
    /***** Fim Bt Menu hamburger *****/

    .navbar-collapse {
        z-index: 10;
        margin-top: 10px;
    }

    .sticky header {
        position: fixed;
        top: 0;
        -webkit-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.5);
        z-index: 20;
    }

    .header-wrapper .navbar {
        width: 100%;
    }

    .nav.menu {
        display: block;
        background-color: var(--cor-links);
        height: calc(100vh - 90px);
        position: fixed;
        width: 100%;
        left: 0;
        overflow: auto;
    }

    .nav.menu li {
        color: #fff;
        background-color: var(--cor-links);
        height: 60px;
        border-bottom: 1px solid #fff;
    }

    .nav.menu li, .nav.menu li a {
        color: #fff;
    }

    .nav.menu li a {
        padding-top: 17px;
    }

    .nav.menu li:hover, .nav.menu li.current {
        border-bottom-color: #fff;
        background-color: var(--cor-linkmenu);
    }

    .mobile-fieldset{
        background-color: var(--cor-linhatabela);
        padding: 1em 0 !important;
        border-radius: 1em;
        margin-left: 6px !important;
        width: 97% !important;
    }

    footer {
        padding: 10px 15px;
        height: auto;
    }
}