#tools {
    width: 100%;
    min-height: 650px;
    float: left;
    margin-top: 110px;
    padding: 30px 50px 100px;
    color: #333;
}

@media screen and (max-width:823px) {
    #tools {
        padding: 25px;
    }
}

#tools .container {
    width: 100%;
}

#tools .master-title h3 {
    padding: 0 170px;
}

@media screen and (max-width:823px) {
    #tools .master-title h3 {
        padding: 0 50px;
    }
}

@media screen and (max-width:667px) {
    #tools .master-title h3 {
        padding: 0
    }
}

#tools h4 {
    font-weight: 700;
    padding: 20px 0;
}

@media screen and (max-width:667px) {
    #tools h4 {
        text-align: center;
    }
}

#tools .guidance {
    width: 100%;
    float: left;
}

#tools .guidance p {
    margin-bottom: 8px;
    font-size: .9rem;
    line-height: 1.15rem;
}

#tools label {
    display: block;
    /* padding-bottom: 7px;
    font-size: .85rem; */
}

#tools .initial-search,
#tools .results,
#tools .info-results,
#tools .institutes {
    width: 100%;
    float: left;
}

#tools .initial-search {
    margin-top: 25px;
}

#tools .initial-search .fields {
    padding-right: 20px;
    float: left;
}

@media screen and (max-width:667px) {
    #tools .initial-search .half {
        width: 50% !important;
        float: left;
        text-align: center;
    }
}

#tools .initial-search .info-ncm {
    width: 340px;
}

@media screen and (max-width:667px) {
    #tools .initial-search .fields,
    #tools .initial-search .info-ncm {
        width: 100%;
        margin-bottom: 15px;
        margin-top: 10px;
        padding-right: 0;
    }
    #tools .initial-search .fields {
        margin-top: 25px;
    }
}

#tools form input[type=text],
#tools select,
#tools form input[type=text],
#tools select {
    width: 102%;
    height: 35px;
    padding: 0 20px;
    border: 1px solid #999;
}

#tools select {
    padding-right: 30px;
}

#tools form .default-btn {
    margin-left: 0;
    height: 35px;
}

#tools .results,
#tools .institutes {
    margin: 40px 0 10px;
    padding: 0;
}

#tools .results h5,
#tools .institutes h5,
#tools #tables h5 {
    font-weight: 700;
    line-height: 1.5rem;
}

#tools .results h5 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

@media screen and (max-width:667px) {
    #tools .results h5,
    #tools .institutes h5,
    #tools #tables h5 {
        text-align: center;
    }
}

#tools .description {
    float: left;
    font-size: .9rem;
    padding-top: 5px;
}

#tools .product-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
}

#tools .ncm {
    width: 100%;
    float: left;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 3px #ccc;
    line-height: 1.1rem;
    font-size: .9rem;
    margin-top: 40px;
}

#tools .ncm:first-of-type {
    margin-top: 0;
}

#tools .table-result {
    width: 100%;
    float: left;
    margin: 30px 0 0;
    border: 1px solid #ccc;
    position: relative;
}

#tools .table-result th,
#tools .table-result td {
    padding: 15px 20px;
    border: 1px solid #ccc;
}

#tools .table-result .tdDuasLinhas {
    padding: 0px 0px !important;
}

#tools .table-result .tdDuasLinhas a {
    line-height: 1.8;
}

#tools .table-result .tdDuasLinhas div {
    padding: 0px 20px;
    min-height: 75px;
    display: flex;
    align-items: center;
}

#tools .table-result .tdDuasLinhas div:first-child {
    border-bottom: 1px solid #ccc;
}

#tools .table-result .default-btn {
    float: none;
    margin-left: 0;
}

#tools .table-result a {
    color: #0077C8;
}

#tools .btn-consulting {
    width: 5%;
    text-align: center;
}

@media screen and (max-width:667px) {
    #tools .results .table-result th,
    #tools .results .table-result td {
        width: 100%;
        float: left;
    }
}

#tools .table-result th {
    background: #d8d9dc;
}

#tools .table-result p {
    padding-bottom: 5px;
    line-height: 1.2rem;
    font-size: .9rem;
}

#tools .table-result p:last-of-type {
    padding-bottom: 0;
}

#tools .table-result th {
    text-align: left;
}

#tools .table-result .ex {
    background: #ececec;
}

#tools .table-result .info {
    text-align: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: opacity 0.5s;
}

#tools .table-result .info:hover {
    opacity: 0.5;
}

#tools .first-column {
    width: 21%;
    background: #ececec;
}

@media screen and (max-width:667px) {
    #tools .first-column {
        width: 100%;
    }
}

#tools .institutes h5 {
    margin-bottom: 20px;
}

#tools .institutes .flex-container {
    display: flex;
    flex-wrap: nowrap;
}

@media screen and (max-width:667px) {
    #tools .institutes .flex-container {
        flex-direction: column;
    }
}

#tools .institutes .flex-container>div {
    width: 16.5%;
    margin: 5px;
    padding: 20px 15px;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 2px 2px 2px #ccc;
    text-align: center;
    line-height: 1rem;
    font-size: .8rem !important;
    transition: box-shadow 0.5s;
    color: #333;
}

@media screen and (max-width:667px) {
    #tools .institutes .flex-container>div {
        width: 100%;
        margin: 10px 0;
    }
}

#tools .institutes .flex-container>div:hover {
    box-shadow: 3px 3px 10px #999;
    cursor: pointer;
}

#tools .institutes .ico {
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 10px;
    float: left;
    border-bottom: 1px solid #ccc;
}

#tools .institutes .ico {
    font-size: 2rem;
    color: #003349;
}

#tools .institutes:last-of-type {
    margin-bottom: 15px;
}

#tools .off {
    opacity: 0.4;
}

#tools #tables {
    width: 100%;
    margin-top: 40px;
    float: left;
    font-size: .9rem;
}

#tools #tables th label {
    float: right;
}

#tools #tables h5 {
    font-size: 1rem;
}

#tools #tables table {
    color: #333;
    margin: 0 0 30px;
    line-height: 1.2rem;
}

#tools #tables .responsive-table {
    /* overflow-x: auto;*/
}

#tools #tables #extract {
    padding-bottom: 20px;
}

#tools #tables table th {
    font-weight: 700;
}

#tools #tables .default-btn {
    height: 35px;
    margin: 0;
}

#tools .tribute-type,
#tools .aviso-optante-snd {
    padding: 0 0 0 60px;
    background: #053449 !important;
    color: #fff;
    position: relative;
}

#tools .tribute-type span:hover>button {
    background: #CE0058;
    color: #fff;
}

#tools .tribute-type span:hover {
    cursor: pointer;
}

#tools .aviso-optante-snd {
    background: #d8d9dc !important;
}

#tools .aviso-optante-snd p {
    color: #333333;
    font-weight: 700;
}

#tools .new-search {
    color: #fff;
}

#tools .pis-table tbody,
#tools .interstate-table tbody {
    display: none;
}

#tools .show-content,
#tools .hide-content {
    width: 20px;
    height: 20px;
    padding: 0 !important;
    margin: 0;
    background: #fff;
    border-radius: 100%;
    border: none;
    font-size: 1.2rem;
    position: relative;
    outline: none;
    color: #003349;
    transition: background 0.5s;
    vertical-align: middle;
    margin-right: 6px;
}

#tools .show-content:before {
    content: '+';
}

#tools .hide-content:before {
    content: '-';
    font-size: 1.75rem;
    position: absolute;
    top: -7px;
    left: 5px;
}

#tools .empty {
    text-align: center;
    font-size: 1.2rem;
}

#tools .ico-tip,
#tools .ico-info {
    cursor: pointer;
    color: #C7384F;
    position: relative;
    font-size: 1.2rem;
}

#tools .ico-info {
    color: #0077C8;
}

#tools .ico-tip:hover>.tooltip,
#tools .ico-info:hover>.tooltip {
    display: block;
}

#tools .tooltip {
    width: 350px;
    padding: 15px;
    position: absolute;
    bottom: 35px;
    left: -1px;
    background: #333;
    color: #fff;
    font-size: .8rem;
    font-weight: 100;
    text-align: left;
    line-height: 1rem;
    font-family: 'Open Sans', sans-serif;
    display: none;
}

#tools .tooltip:before {
    font-size: 1.5rem;
    content: '\25BC';
    position: absolute;
    bottom: -10px;
    left: 0;
    color: #333;
}

#fundamentoLegalModal {
    width: 100%;
    max-width: 1000px;
    height: 100%;
    padding: 25px;
    overflow: auto;
    position: relative;
    position: fixed;
    top: 0;
    left: 50%;
    margin: 0 -500px;
    background: rgba(255, 255, 255, 1);
    z-index: 4;
    display: none;
}

#fundamentoLegalModal #procedures {
    padding: 25px;
}

@media screen and (max-width:667px) {
    #fundamentoLegalModal #procedures {
        padding: 0;
    }
    #tools .table-result .tdDuasLinhas div {
        min-height: 200px;
    }
}

#fundamentoLegalModal::-webkit-scrollbar {
    width: 1em;
}

#fundamentoLegalModal::-webkit-scrollbar-track,
#contracts::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

#fundamentoLegalModal::-webkit-scrollbar,
#contracts::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

#fundamentoLegalModal::-webkit-scrollbar-thumb,
#contracts::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #666;
}

@media screen and (max-width:1024px) {
    #fundamentoLegalModal {
        width: 100%;
        max-width: 100%;
        margin: 0 -50%;
        padding: 50px 20px;
    }
}

#fundamentoLegalModal p {
    width: 100%;
    float: left;
    padding-bottom: 8px;
    line-height: 1.3rem;
}

#fundamentoLegalModal .quit {
    width: 100%;
    float: left;
    position: sticky;
    top: 0;
    right: 0;
    font-size: 1.5rem;
    cursor: pointer;
    text-align: right;
    z-index: 1;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.foundation {
    width: 800px;
    height: 480px;
    padding: 30px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -240px -400px;
    background: #fff;
    z-index: 4;
    display: none;
}

.modal-fundamento-legal {
    max-width: 1000px;
    height: 600px;
    padding: 30px;
    position: fixed;
    top: 40%;
    left: 45%;
    margin: -240px -400px;
    background: #fff;
    z-index: 4;
    display: none;
    overflow: auto !important;
}

@media screen and (max-width:812px) {
    .foundation {
        width: 90%;
        height: auto;
        top: 50px;
        margin: 0 -45%;
        position: absolute;
    }
}

@media screen and (max-width:812px) {
    .modal-fundamento-legal {
        width: 90%;
        height: auto;
        top: 50px;
        margin: 0 -45%;
        position: absolute;
    }
}

@media screen and (max-width:855px) {
    #tools #tables .table-result label {
        float: left;
        margin-top: 20px;
    }
}

.foundation .scroll {
    height: 420px;
    overflow-y: auto;
}

@media screen and (max-width:1024px) {
    .foundation .scroll {
        height: auto;
        overflow-y: hidden;
    }
}

.foundation .legal {
    margin-top: 10px;
    padding: 20px;
    background: #ececec;
}

.foundation .content {
    padding: 20px;
}

.foundation p,
.foundation a {
    padding-bottom: 5px;
    font-size: .96rem;
    line-height: 1.2rem;
}

.foundation a {
    color: #0077C8;
    text-decoration: none;
}

.foundation a:hover {
    text-decoration: underline;
}

.foundation .title {
    padding-bottom: 5px;
    font-size: 1.2rem;
}

.foundation .subtitle {
    padding: 20px 0 5px;
}

.foundation .close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.modal-fundamento-legal .legal {
    margin-top: 10px;
    padding: 20px;
    background: #ececec;
}

.modal-fundamento-legal .content {
    padding: 20px;
}

.modal-fundamento-legal p,
.modal-fundamento-legal a {
    padding-bottom: 5px;
    font-size: .96rem;
    line-height: 1.2rem;
}

.modal-fundamento-legal a {
    color: #0077C8;
    text-decoration: none;
}

.modal-fundamento-legal a:hover {
    text-decoration: underline;
}

.modal-fundamento-legal .title {
    padding-bottom: 5px;
    font-size: 1.2rem;
}

.modal-fundamento-legal .subtitle {
    padding: 20px 0 5px;
}

.modal-fundamento-legal .close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}



#aviso {
    background: #a12830;
    padding: 20px;
    color: #fff;
    margin: 0 50px;
    border-radius: 10px;
    box-shadow: 3px 3px 5px #666;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    line-height: 20px;
    margin-bottom: 30px;
    font-size: 14px;
}

#aviso a {
    color: #fff;
}

.show-description {
    display: flex;
    justify-content: space-between;
}

.abas-piscofins {
    width: 100% !important;
    height: 40px!important;
    display: flex;
    gap: 25px !important;
    text-align: center;
    cursor: pointer;
    font-weight: 600 !important;
    color: #a6a6a6 !important;
    font-size: 14px !important;
    border-bottom: 1px solid #a6a6a6;
    margin-bottom: 1%;
}

.flex-container-nav-icms {
    width: 100% !important;
    height: 40px!important;
    display: flex;
    gap: 25px !important;
    text-align: center;
    cursor: pointer;
    font-weight: 600 !important;
    color: #a6a6a6 !important;
    font-size: 14px !important;
    border-bottom: 1px solid #a6a6a6;
}

.flex-container-icms {
    background-color: #053449;
    width: 100%;
    height: 53px!important;
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    justify-content: space-between;
}

.flex-container-icms span {
    font-size: 16px;
    margin-left: 10px;
}

.flex-container-icms h5 {
    font-size: 18px;
    color: white;
    font-weight: 700;
    padding: 15px 20px;
}

.flex-container-ipi {
    background-color: #053449;
    width: 100%;
    height: 53px!important;
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    justify-content: space-between;
}

.flex-container-ipi button {
    margin-right: 20px;
    display: flex !important;
    align-items: center;
}

.flex-container-ipi span {
    font-size: 16px;
    margin-left: 10px;
}

.flex-container-ipi h5 {
    font-size: 18px;
    color: white;
    font-weight: 700;
    padding: 15px 20px;
}

.flex-container-ipi button {
    margin-right: 20px;
    display: flex !important;
    align-items: center;
}

.flex-container-nav-icms .activateMenu.active {
    border-bottom: 1px solid red !important;
    transition: all .2s ease-out;
}

.div-alert-icon {
    height: 40px;
    width: 40px;
    z-index: 4;
    position: relative;
    display: flex;
    background: rgba(255, 56, 0, 0.12);
    border-radius: 12px;
    margin-right: 10px;
}

#container-msg-aliquota {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.icon-alert {
    display: flex;
    align-items: center;
    position: absolute;
    top: 53%;
    height: 50%;
    transform: translate(50%, -50%);
    color: #FF3800;
    font-size: 20px;
}

.active,
.btn:hover,
.active .ico i,
.active .ico {
    color: #ff005a !important;
    border-color: #ff005a !important;
}

hr {
    background-color: #000;
    opacity: 0.7;
    margin-top: 2px;
}

#tabela-suspensao {
    text-align: center !important; 
}

#tools .fundamento_legal {
    padding: 2%;
    display: flex;
    flex-direction: column;
}

#tools .show-content-suspensao,
#tools .hide-content-suspensao {
    width: 20px;
    height: 20px;
    padding: 0 !important;
    margin: 0;
    background: #fff;
    border-radius: 100%;
    border: none;
    font-size: 1.2rem;
    position: relative;
    outline: none;
    color: #003349;
    transition: background 0.5s;
    vertical-align: middle;
    margin-right: 6px;
}

#tools .show-content-suspensao:before {
    content: '+';
}

#tools .hide-content-suspensao:before {
    content: '-';
    font-size: 1.75rem;
    position: absolute;
    top: -7px;
    left: 5px;
}

@media print {
    .institutes *,
    .master-title *,
    .guidance *,
    .initial-search *,
    h4,
    .flex-container *,
    .new-search,
    .print-ncm * {
        display: none;
    }
    .flex-container-icms {
        display: none;
    }
    
   #tools #tables {
    margin-top: 10px;
    }
    
    .flex-container-nav-icms div{
        display: none;     
    }
    
    #tools,
    .tools {
        background-image: url("/imagens/logo-iobonline.svg");
        background-position: top;
        background-repeat: no-repeat;
        background-size: 250px;
        -webkit-print-color-adjust: exact;
    }
}

@page {
    size: landscape
}