
:root {
    --font: "Roboto";
    --red_dark: #520202;
    --color_secondary: #04132d;
    --color_light: #001120;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box
}
@media print {
    .grid>.section .wrapcards {
        display: flex;
        flex-wrap: wrap; /* Ensure items wrap properly */
    }
    .box.onequarter {
        page-break-inside: avoid; /* Prevent breaking inside items */
        break-inside: avoid; /* Prevent breaking inside items for some browsers */
    }
}

html {
    font-size: 62.5%
}

body {
    font-size: 1.2rem;
    position: relative
}

header {
    -webkit-box-shadow: 0px 0px 9px 0px rgba(0,0,0,.15);
    -moz-box-shadow: 0px 0px 9px 0px rgba(0,0,0,.15);
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,.15)
}

img,object,embed,video {
    max-width: 100%;
    height: auto
}

a:hover {
    text-decoration: none
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none
}

p {
    margin: 0
}
 .hidden{
     display: none !important;
 }

.main-col {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    font-family: var(--font)
}

.main-col .col-right {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 5px
}

@media screen and (min-width: 1024px) {
    .main-col .col-right {
        width:calc(100% - 270px);
        padding: 10px
    }
}

.main-col .col-right .sogocdn-layoutPortalColumnDual {
    margin: 0
}

@media screen and (min-width: 1600px) {
    .main-col .templatePage-obra .wrapcards .box {
        width:calc(25% - 10px)
    }
}

@media screen and (min-width: 1600px) {
    .main-col .templatePage-obra .wrapcards .box:nth-of-type(3n) {
        margin:5px 10px 5px 0;
        width: calc(25% - 10px)
    }
}

@media screen and (min-width: 1600px) {
    .main-col .templatePage-obra .wrapcards .box:nth-of-type(4n) {
        margin:5px 0px 5px 0;
        width: 25%
    }
}


.btn-return {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
    flex-direction: column;
    align-items: center;
}
.btn-return h1{
    padding: 20px;
    font-size: 3.3rem;
    font-weight: 500;
}

.btn-return button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--red_dark);
    color: var(--red_dark);
    border-radius: 5px;
    min-width: 100px;
    padding: 5px;
    font-weight: 600;
    background-color: #fff;
    transition: all .3s ease
}

.btn-return button:hover {
    background-color: var(--red_dark);
    color: #fff;
    transition: all .3s ease;
    cursor: pointer
}


.grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden
}

.grid h1{
    display: flex;
    justify-content: flex-start;
    font-size: 2rem;
    background: #C31B1B;
    padding: 12px;
    color: white;
    font-weight: 600;
    border-radius: 14px;
}

.grid:nth-child(odd) {
    background-color: #fff
}

.grid:nth-child(even) {
    background-color: #000
}

.grid>.section {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
}

.grid>.section .fullbordered {
    border-bottom: 1px solid #e9edf4
}

.grid>.section .cardButtons {
    align-items: center
}

.grid>.section .cardButtons a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 130px;
    min-height: 25px;
    padding: 5px;
    background-color: #fff;
    color: var(--color_light);
    border: 1px solid var(--color_light);
    border-radius: 5px;
    font-weight: 500;
    font-size: 1.2rem;
    font-family: var(--font);
    cursor: pointer;
    transition: all .3s ease;
    outline: none
}

.grid>.section .cardButtons a:hover {
    transition: all .3s ease;
    background-color: var(--color_light);
    color: #fff
}

.grid>.section .anchorDocs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 3rem;
    right: 10px;
    top: 10px;
    position: absolute
}

.grid>.section .anchorDocs a {
    margin: 0;
    line-height: 0;
    font-size: 3rem;
    color: var(--red_dark);
    text-decoration: none
}

.grid>.section>p {
    color: var(--red_dark);
    font-size: 1.3rem
}

.grid>.section:nth-child(odd) {
    background-color: #fff
}

.grid>.section:nth-child(even) {
    background-color: #fff
}

.grid>.section .sectionTitle {
    display: flex;
    width: 100%;
    font-weight: 500;
    font-size: 1.4rem;
    margin-top: 15px
}

.grid>.section .box-title {
    color: var(--red_dark);
    font-weight: 400;
    font-size: 1.4rem
}

.grid>.section .wrapcards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 4px
}

.grid>.section .box {
    display: flex;
    flex-direction: column;
    margin-bottom: 2px;
    padding: 5px
}

.grid>.section .box h2 {
    color: var(--color_secondary);
    font-weight: 500;
    font-size: 1.6rem;
    padding-bottom: 2px;
}

.grid>.section .box p {
    color: var(--red_dark);
    font-size: 1.4rem;
    line-height: 20px;
}

.grid>.section .box p a {
    display: block;
    color: var(--red_dark);
    text-decoration: none;
    position: relative;
    width: max-content;
    overflow: hidden;
    transition: all .3s ease
}

.grid>.section .box p a::after {
    content: "";
    display: flex;
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background-color: var(--red_dark);
    transition: all .3s ease
}

.grid>.section .box p a:hover {
    color: var(--red_dark);
    transition: all .3s ease
}

.grid>.section .box p a:hover::after {
    left: 0;
    transition: all .3s ease
}

.grid>.section .box p span {
    font-weight: 700
}

.grid>.section .groupAttachments {
    display: flex;
    flex-direction: column;
    width: 100%
}

.grid>.section .groupAttachments .attachment {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-bottom: 1px solid #e9edf4;
    padding: 10px 0
}

@media screen and (min-width: 600px) {
    .grid>.section .groupAttachments .attachment {
        flex-direction:row
    }
}

.grid>.section .groupAttachments .attachment .info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%
}

@media screen and (min-width: 600px) {
    .grid>.section .groupAttachments .attachment .info {
        flex-direction:column;
        width: calc(100% - 150px)
    }
}

.grid>.section .groupAttachments .attachment .info h2 {
    color: var(--red_dark);
    font-weight: 400;
    font-size: 1.4rem;
    padding-right: 10px
}

.grid>.section .groupAttachments .attachment .info p {
    color: #78767a;
    font-weight: 400;
    font-size: 1.3rem
}

.grid>.section .groupAttachments .attachment .button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%
}

@media screen and (min-width: 600px) {
    .grid>.section .groupAttachments .attachment .button {
        width:150px
    }
}

.grid>.section .groupAttachments .attachment .button a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 130px;
    min-height: 25px;
    padding: 5px;
    background-color: var(--red_dark);
    color: #fff;
    border: 1px solid var(--red_dark);
    border-radius: 5px;
    font-weight: 500;
    font-size: 1.2rem;
    font-family: var(--font);
    cursor: pointer;
    transition: all .3s ease;
    outline: none
}

.grid>.section .groupAttachments .attachment .button a:focus {
    transition: all .3s ease;
    background-color: var(--color_light);
    color: var(--red_dark)
}

.grid>.section .groupAttachments .attachment .button:hover a {
    transition: all .3s ease;
    background-color: var(--color_light);
    color: #fff
}

.grid>.section .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0
}

.grid>.section .column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap
}

.grid>.section .bordered>div {
    padding: 5px 5px 5px 5px
}

.grid>.section .bordered>div>div {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px
}

@media screen and (min-width: 600px) {
    .grid>.section .bordered>div {
        border-right:1px solid #e5e5e5;
        padding: 5px 20px 5px 20px
    }
}

@media screen and (min-width: 600px) {
    .grid>.section .bordered>div:nth-of-type(2n) {
        border:0;
        padding-right: 0
    }
}

@media screen and (min-width: 600px) {
    .grid>.section .bordered>div:nth-of-type(2n+1) {
        padding-left:5px
    }
}

@media screen and (min-width: 800px) {
    .grid>.section .bordered>div:nth-of-type(2n),.grid>.section .bordered>div:nth-of-type(2n+1) {
        border-right:1px solid #e5e5e5;
        padding: 5px 20px 5px 20px
    }
}

@media screen and (min-width: 800px) {
    .grid>.section .bordered>div:nth-of-type(3n) {
        border:0;
        padding-right: 0
    }
}

@media screen and (min-width: 800px) {
    .grid>.section .bordered>div:nth-of-type(3n+1) {
        padding-left:5px
    }
}

@media screen and (min-width: 420px) {
    .w20 {
        width:50%
    }
}

@media screen and (min-width: 800px) {
    .w20 {
        width:20%
    }
}

.onequarter {
    width: 100%
}

@media screen and (min-width: 420px) {
    .onequarter {
        width:50%
    }
}

@media screen and (min-width: 800px) {
    .onequarter {
        width:25%
    }
}

.third {
    width: 100%
}

@media screen and (min-width: 600px) {
    .third {
        width:50%
    }
}

@media screen and (min-width: 800px) {
    .third {
        width:33.3%
    }
}

.w40 {
    width: 100%
}

@media screen and (min-width: 600px) {
    .w40 {
        width:40%
    }
}

.half {
    width: 100%
}

@media screen and (min-width: 420px) {
    .half {
        width:50%
    }
}

.sixth {
    width: 100%
}

@media screen and (min-width: 600px) {
    .sixth {
        width:60%
    }
}

.threequarter {
    width: 100%
}

@media screen and (min-width: 120px) {
    .threequarter {
        width:75%
    }
}

.full {
    width: 100%
}
.mid {
    width: 50%
}
.box.w50 {
    width: 25%;
}
.rows {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative
}

.rows .searching {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    font-family: var(--font)
}

.rows .searching form {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: stretch;
    flex-wrap: wrap;
    font-family: var(--font);
    width: 100%;
    margin-bottom: 20px
}

.rows .searching form input {
    border: 0;
    font-size: 1.2rem;
    font-family: var(--font);
    border-radius: 5px 0 0 5px;
    border-left: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px;
    width: calc(100% - 120px);
    max-width: 400px;
    color: #78767a;
    outline: none
}

.rows .searching form>input {
    order: 1;
    transition: all .3s ease
}

.rows .searching form>button {
    border: 0;
    font-size: 1.2rem;
    font-family: var(--font);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0 5px 5px 0;
    padding: 10px 30px;
    width: 120px;
    transition: all .3s ease;
    background-color: var(--red_dark);
    order: 2;
    position: relative;
    cursor: pointer
}

.rows .searching form>button:hover {
    background-color: var(--color_light);
    transition: all .3s ease
}

.rows .searching form .enableFilters {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 10px;
    order: 3;
    transition: all .3s ease
}

.rows .searching form .enableFilters>button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: var(--color_light);
    padding: 5px;
    border: 1px solid var(--color_light);
    border-radius: 5px;
    min-width: 120px;
    cursor: pointer;
    transition: all .3s ease
}

.rows .searching form .enableFilters>button:not(:last-child) {
    margin-right: 10px
}

.rows .searching form .enableFilters>button i {
    font-size: 1.4rem;
    margin-right: 5px
}

.rows .searching form .enableFilters>button:hover {
    color: var(--red_dark);
    border: 1px solid var(--red_dark);
    transition: all .3s ease
}

.rows .searching form .othersearch {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    background-color: #f0f3f4;
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: all .3s ease;
    order: 4
}

.rows .searching form .othersearch button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 0;
    font-size: 1.2rem;
    font-family: var(--font);
    font-weight: 700;
    text-transform: lowercase;
    border-radius: 5px;
    cursor: pointer
}

.rows .searching form .othersearch .buttonsFilters {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px
}

.rows .searching form .othersearch .buttonsFilters button.clearFilters {
    background-color: #fff;
    color: var(--red_dark);
    padding: 10px 30px;
    transition: all .3s ease
}

.rows .searching form .othersearch .buttonsFilters button.clearFilters i {
    margin-right: 10px;
    font-size: 2rem
}

.rows .searching form .othersearch .buttonsFilters button.clearFilters span {
    font-size: 1.4rem
}

.rows .searching form .othersearch .buttonsFilters button.clearFilters:hover {
    color: var(--red_dark);
    transition: all .3s ease
}

.rows .searching form .othersearch .buttonsFilters button.hiddenFilters {
    background-color: #fff;
    color: var(--red_dark);
    padding: 5px;
    transition: all .3s ease
}

.rows .searching form .othersearch .buttonsFilters button.hiddenFilters i {
    font-size: 3rem
}

.rows .searching form .othersearch .buttonsFilters button.hiddenFilters:hover {
    background-color: var(--color_light);
    color: #fff;
    transition: all .3s ease
}

.rows .searching form .othersearch .filter {
    width: 100%;
    margin-bottom: 20px;
    margin-right: 10px
}

@media screen and (min-width: 460px) {
    .rows .searching form .othersearch .filter {
        width:calc(50% - 10px)
    }
}

@media screen and (min-width: 800px) {
    .rows .searching form .othersearch .filter {
        width:calc(33.3% - 10px)
    }
}

@media screen and (min-width: 1200px) {
    .rows .searching form .othersearch .filter {
        width:calc(25% - 10px)
    }
}

.rows .searching form .othersearch .filter span {
    display: flex;
    font-weight: 600;
    margin-bottom: 5px;
    width: 100%;
    color: var(--red_dark)
}

.rows .searching form .othersearch .filter select,.rows .searching form .othersearch .filter input {
    padding: 0 5px;
    width: 100%;
    border: none;
    box-shadow: none;
    background-color: #fff;
    color: #ccc;
    border-radius: 5px;
    height: 45px;
    border: 2px solid #ececec;
    transition: all .3s ease
}

.rows .searching form .othersearch .filter select:hover,.rows .searching form .othersearch .filter input:hover {
    border: 2px solid var(--color_light);
    transition: all .3s ease
}

.rows .searching form .othersearch .filter select:focus,.rows .searching form .othersearch .filter input:focus {
    border: 2px solid var(--color_light);
    transition: all .3s ease
}

.rows .searching form .othersearch .filter.filterLicitacaoOrgaoLicitantePrefeitura,.rows .searching form .othersearch .filter.filterLicitacaoOrgaoLicitanteSecretaria {
    display: none
}

.rows .searching form .othersearch .filter input::-webkit-input-placeholder {
    color: #ccc
}

.rows .searching form .othersearch .filter input::-ms-input-placeholder {
    color: #ccc
}

.rows .searching form .othersearch .filter input::placeholder {
    color: #ccc
}

.rows .searching form .othersearch .filter select:focus {
    outline: none
}

.rows .searching form .othersearch .filter select option {
    background-color: #fff;
    color: var(--red_dark)
}

.rows .searching form .othersearch .filter input.hasValue,.rows .searching form .othersearch .filter select.hasValue {
    color: #fff;
    background-color: var(--color_light);
    border: 1px solid var(--color_light)
}

.rows .searching form>input {
    order: 1;
    transition: all .3s ease
}

.rows .searching form .othersearch {
    order: 4;
    transition: all .3s ease
}

.rows .searching form>button {
    order: 2;
    transition: all .3s ease
}

.rows .searching form .enableFilters {
    order: 3;
    transition: all .3s ease
}

.rows .searching.filter form>input {
    order: 1;
    transition: all .3s ease;
    max-width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 5px
}

.rows .searching.filter form .othersearch {
    order: 2;
    transition: all .3s ease
}

.rows .searching.filter form>button {
    order: 3;
    transition: all .3s ease;
    border-radius: 5px;
    margin-left: 5px
}

.rows .searching.filter form .enableFilters {
    order: 4;
    transition: all .3s ease;
    height: 0;
    opacity: 0;
    overflow: hidden
}

.rows .searching.filter form .othersearch {
    padding: 20px;
    width: 100%;
    height: auto;
    overflow: initial;
    transition: all .3s ease
}

.rows .table-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    font-family: var(--font)
}

.rows .table-box .box {
    min-height: 70px;
    padding: 15px 30px;
    position: relative
}

.rows .table-box .box:nth-child(odd) {
    background-color: #f6f6f6
}

.rows .table-box .box:nth-child(even) {
    background-color: #eaeaea
}

.rows .table-box .box>span {
    position: absolute;
    right: 15px;
    top: calc(50% - 7px);
    color: var(--color_light);
    font-weight: 900;
    font-size: 1.4rem;
    transition: all .3s ease
}

.rows .table-box .box h1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: var(--red_dark);
    font-weight: 500;
    font-size: 1.3rem;
    margin-bottom: 5px;
    transition: all .3s ease
}

.rows .table-box .box .info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%
}

@media screen and (min-width: 600px) {
    .rows .table-box .box .info {
        flex-direction:row
    }
}

.rows .table-box .box .info p {
    color: var(--color_light);
    transition: all .3s ease;
    margin-bottom: 5px
}

.rows .table-box .box:hover {
    background-color: var(--red_dark);
    cursor: pointer
}

.rows .table-box .box:hover>span {
    color: #fff;
    transition: all .3s ease
}

.rows .table-box .box:hover h1 {
    color: #fff;
    transition: all .3s ease
}

.rows .table-box .box:hover .info p {
    color: #fff;
    transition: all .3s ease
}


.paging {
    width: 100%;
    display: flex;
    justify-content: center;
    font-family: var(--font)
}

.paging .page-numbers {
    color: var(--red_dark);
    background-color: #fff;
    float: left;
    margin: 4px 4px 4px 0;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--red_dark);
    border-radius: 5px;
    transition: all .3s ease
}

@media screen and (min-width: 600px) {
    .paging .page-numbers {
        width:40px;
        height: 40px
    }
}

.paging .page-numbers:hover {
    background: var(--red_dark);
    color: #fff;
    text-decoration: none;
    transition: all .3s ease
}

.paging .current {
    background: var(--red_dark);
    color: #fff;
    cursor: pointer
}

.paging .prev,.paging .next {
    font-size: 2rem
}

@media screen and (min-width: 360px) {
    .paging .prev,.paging .next {
        font-size:2.5rem
    }
}

.paging .dots {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    width: 10px;
    transition: all .3s ease
}

.paging .dots:hover {
    background-color: #fff;
    color: var(--red_dark);
    transition: all .3s ease
}