/*
*Theme Name: LEI PAULO GUSTAVO
*Theme URI: https://www.elroi.com.br/
*Description: LEI PAULO GUSTAVO  - Tema exclusivo Elroi
*Author: Moema Braga
*Author URI: https://www.elroi.com.br/
*/

/* -> GERAL */

:root {
    --font-cocogoose: 'COCOGOOSE', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
}

html,
body {
    height: 100%;
}
body {
    background-color: #f5f5f5;
    font-size: 18px;
}

.body-modal {
    overflow: hidden;
}

img {
    max-width: 100%;
}
p:last-child {
    margin-bottom: 0;
}

a,
a:visited,
a:active {
    color: #00b3e9;
    text-decoration: none;
    transition: all 200ms linear;
}

a:hover {
    color: #e90000;
    text-decoration: none;
}

.body-modal {
    overflow: hidden;
}

.wrap {
    position: relative;
    max-width: 1100px;
    width: 100%;
    margin: auto;
}

.wrap--short {
    max-width: 700px;
}

#wpadminbar {
    display: none;
}

/* <- GERAL */

.teste {
    font-family: var(--font-cocogoose);
}

header {
    background-color: #00c1e9;
    padding: 20px 0;
}
header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.header-logo {
    max-height: 50px;
}
.header-rs {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.header-rs-icon {
    height: 30px;
}

.banners {
    margin: auto;
}

.fastbuttons {
    padding: 96px 0;
}
.fastbuttons .wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
}
.fastbuttons a {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 44px 20px 14px;
    background-color: #e74534;
    border-radius: 20px;
    font-family: var(--font-cocogoose);
    font-size: 22px; line-height: 30px;
    color: #fff;
    overflow: hidden;
    transition: all 200ms linear;
}
.fastbuttons a:hover {
    background-color: #f8301a;
}
.fastbuttons a img {
    position: absolute;
    max-height: 80px;
}
.fastbuttons a:nth-child(1) img {
    top: 7px; right: -5px;
    transform: rotate(350deg);
}
.fastbuttons a:nth-child(2) img {
    bottom: 7px; right: -25px;
    transform: rotate(70deg);
}
.fastbuttons a:nth-child(3) img {
    top: 20px; left: 45px;
    transform: rotate(220deg);
}
.fastbuttons a:nth-child(4) img {
    top: 30px; left: 5px;
    transform: rotate(20deg);
}
.fastbuttons a:nth-child(5) img {
    top: 7px; left: 57px;
    transform: rotate(220deg);
}
.fastbuttons a:nth-child(7) img {
    top: 10px; right: 32px;
    transform: rotate(240deg);
}

.main-content {
    padding-bottom: 50px;
    border-radius: 30px 30px 30px 0;
    background-color: #fff7e5;
    box-shadow: 0 0 40px 0 #00000052;
    max-width: 1200px;
    margin: auto;
}
.editais-lancados-title {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 20px 30px;
    border-radius: 0 0 14px 14px;
    width: 100%;
    max-width: 800px;
    background-color: #ffb900;
    font-family: var(--font-poppins);
    font-size: 30px;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.editais-lancados-title strong {
    font-weight: 600;
}
.editais-lancados-title a {
    color: #fff;
    transition: all 200ms linear;
}
.editais-lancados-title a:hover {
    color: #000;
}
.editais-lancados-lst {
    margin: 70px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-content: center;
}
.editais-lancados-item {
    position: relative;
    min-height: 170px;
    background-color: #f7e1a8;
    border-radius: 24px 24px 24px 0;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 200ms linear;
}
.editais-lancados-item:hover {
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.2);
    background-color: #f6e0a7;
}
.editais-lancados-item a {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    color: #000;
}
.editais-lancados-item-category {
    position: absolute;
    top: 0;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 7px;
    background-color: #f6ce5d;
    padding: 5px 20px;
    border-radius: 0 0 16px 16px;
    font-family: var(--font-poppins);
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    transition: all 200ms linear;
}
.editais-lancados-item:hover .editais-lancados-item-category {
    background-color: #f9ca4b;
}
.editais-lancados-item-category-circle {
    width: 0.6em;
    height: 0.6em;
    border-radius: 50%;
    background-color: #000;
    opacity: 0.4;
}
.editais-lancados-item-title {
    margin-top: 80px;
    padding: 0 40px;
    font-family: var(--font-roboto);
    font-weight: 500;
    font-size: 28px; line-height: 30px;
}
.editais-lancados-item-excerpt {
    margin-top: 14px;
    margin-bottom: 70px;
    padding: 0 70px;
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 18px;
    color: #282828;
}
.editais-lancados-item-footer {
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}
.editais-lancados-item-tag {
    padding: 0px 0px 10px 20px;
    font-size: 16px; line-height: 18px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: underline;
}
.editais-lancados-item-tag-item {

}
.editais-lancados-item-more {
    background-color: #e74534;
    padding: 7px 20px;
    border-radius: 12px 0 0 0;
    flex-shrink: 0;
    white-space: nowrap;
    font-family: var(--font-poppins);
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    text-transform: lowercase;
    transition: all 200ms linear;
}
.editais-lancados-item:hover .editais-lancados-item-more {
    background-color: #f8301a;
}
.faixa-insc-encerradas, .faixa-insc-abertas {
    position: absolute; top: 0; right: 0; z-index: 98;
}

.main-content-sep {
    margin: 70px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.main-content-sep-item {
    height: 16px;
}
.main-content-sep-item:first-child {
    border-radius: 4px 0 0 4px;
}
.main-content-sep-item:last-child {
    border-radius: 0 4px 4px 0;
}
.main-content-sep-item.yellow {
    background-color: #ffb800;
}
.main-content-sep-item.green {
    background-color: #5db22a;
}
.main-content-sep-item.blue {
    background-color: #00c1e8;
}
.main-content-sep-item.red {
    background-color: #ff4430;
}

/* -> BLOG */
.blog__grid {
    display: grid;
    grid-template-columns: 700px 1fr;
    gap: 30px;
}

.blog__content-img {
    width: 100%;
    margin-bottom: 50px;
    border-radius: 5px;
}

.blog__related-list {
    display: grid;
    gap: 15px;
}

.blog__related-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e2e2;
}

.blog__related-card-a {
    min-height: 100px;
    border-radius: 10px;
    overflow: hidden;
}
.blog__related-card-a-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.blog__related-card-b {
    display: flex;
    flex-direction: column;
}

.blog__related-card-b-button i {
    vertical-align: middle;
}

/* <- BLOG */

.videos-lst {
    display: grid;
    width: fit-content;
    margin: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.videos-item {
    position: relative;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
    transition: all 200ms linear;
}
.videos-item .videos-item-picture {
    width: 500px;
    height: 500px;
    object-fit: cover;
    object-position: center;
}
.videos-item-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    opacity: .9;
    transition: all 200ms linear;
}
.videos-item:hover {
    cursor: pointer;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.2);
}
.videos-item:hover .videos-item-btn {
    opacity: .98;
}

footer {
    margin-top: 64px;
    padding: 50px 0;
    background-color: #f0f3f4;
}
footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-info {
    font-family: var(--font-poppins);
    font-size: 22px;
    font-weight: 700;
}
.footer-info-item {
    margin-bottom: 20px;
    font-family: var(--font-poppins);
    font-size: 16px;
    font-weight: 400;
}
.footer-info-item:last-child {
    margin-bottom: 0;
}
.footer-info-item-title {
    font-size: 18px;
    font-weight: 500;
}
.footer-info-item-content a {
    display: block;
}
.footer-logo {
    max-height: 80px;
    max-width: 600px;
}
.footer-logo-mobile {
    display: none;
}

.modalVideo {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
    background-color: #000000b7;
}
.modalVideo__close {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 30px;
    color: #ffffffc0;
    transition: all 200ms linear;
}
.modalVideo__body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(90vh * 0.56);
    height: 90vh;
}

/* -> VIDEO MODAL */

.video__modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.video__modal-content {
    width: 50%;
    z-index: 1002;
}

.video__modal-button {
    position: absolute;
    right: 30px;
    top: 20px;
    max-width: 50px;
    height: 50px;
}

.video__modal-button {
    position: absolute;
    right: 30px;
    top: 20px;
    max-width: 40px;
}

.video__modal-button img {
    filter: invert(100%) sepia(0%) saturate(7480%) hue-rotate(304deg)
        brightness(101%) contrast(100%);
    opacity: 0.5;
    transition: all 200ms linear;
    cursor: pointer;
}

.video__modal-button:hover img {
    opacity: 1;
}

.video__modal-spinner-container {
    display: none;
    place-content: center;
}

.video__modal-spinner {
    border: 4px solid rgba(0, 0, 0, 0.3);
    border-top: 4px solid #eae1ce;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* <- VIDEO MODAL */

/* -> INTERNAS */
.page__header {
    font-size: 13px;
    color: #8c8c8c;
}
.page__header .wrap {
    margin-bottom: 20px;
    padding: 14px 0;
    border-bottom: #000 solid 1px;
}
.page__content {
    min-height: 300px;
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    hyphens: auto;

}

.internas-border-red {
    padding: 20px;
    border: red solid 2px;
    border-radius: 20px;
}

.page__single {
   display: flex;
   gap: 50px;
}
.page__single-la {
    flex-grow: 1;
}
.page__single-lb {
    width: 300px;
    flex-shrink: 0;
}

.page__single-capa {
    display: block;
    margin: 0 auto 40px;
}
.page__single h2 {
    margin-top: 40px;
}
a.page__single-link_edital,
a.page__single-link_edital:link,
a.page__single-link_edital:visited,
a.page__single-link_edital:active {
    display: block;
    width: fit-content;
    padding: 10px 30px;
    border-radius: 10px;
    background-color: #e74534;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    transition: all 200ms linear;
}
a.page__single-link_edital:hover {
    background-color: #ff1900;
    color: #fff;
}
.page__single-links {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.sidebar {
    min-height: 100px;
}
.sidebar-editais-hr {
    display: none;
}
.sidebar-editais {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.sidebar-editais-item {
    width: 100%;
    max-width: 300px;
}
.sidebar-editais-item a {
    display: block;
    position: relative;
    background-color: #f7e1a8;
    border-radius: 24px 24px 24px 0;
    overflow: hidden;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    color: #000;
    text-decoration: none;
    transition: all 200ms linear;
}
.sidebar-editais-item a:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
}
.sidebar-editais-item-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
}
.sidebar-editais-item-txt {
    padding: 10px 16px 40px;
}
.sidebar-editais-item-title {
    margin-bottom: 10px;
    font-size: 20px; line-height: 26px;
    font-weight: 700;
}
.sidebar-editais-item-more {
    position: absolute;
    bottom: 0; 
    right: 0px;
    background-color: #e74534;
    padding: 3px 12px;
    border-radius: 12px 0 0 0;
    font-family: var(--font-poppins);
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-transform: lowercase;
    transition: all 200ms linear;
}
.sidebar-editais-item a:hover .sidebar-editais-item-more {
    background-color: #f8301a;
}

.page__category-title {
    margin-bottom: 30px;
    font-size: 30px; line-height: 34px;
    font-weight: 700;
    color: #000;
}
.page__category-lst {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
/* <- INTERNAS */

/* -> QUADRO */
.quadro__frm {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background-color: #ede9d6;
    border-radius: 30px;
    font-family: var(--font-poppins);
    font-size: 16px;
    color: #000;
}
.bg__blue {
    padding: 0 2px;
    background-color: #4bbee5;
}
.bg__green {
    padding: 0 2px;
    background-color: #7ab03e;
}
.bg__red {
    padding: 0 2px;
    background-color: #eb3f33;
}
.bg__yellow {
    padding: 0 2px;
    background-color: #f8b71f;
}
.bg__orange {
    padding: 0 2px;
    background-color: #f36e13;
}
.quadro__la {
    text-transform: uppercase;
}
.txt__white {
    color: #fff;
}
.quadro__lb {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-columns: 300px;
    gap: 10px 30px;
    font-size: 14px;
}
.quadro__lb-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quadro__lb-item strong {
    font-weight: 600;
}
.quadro__lb-item-number {
    font-size: 70px; line-height: 70px;
    font-weight: 700;
}
.quadro__lb-item-text-big {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}
.quadro__lb-item:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
.quadro__lb-item:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
.quadro__lb-item:nth-child(3) { grid-area: 3 / 1 / 4 / 2; }
.quadro__lb-item:nth-child(4) { grid-area: 1 / 2 / 2 / 3; }
.quadro__lb-item:nth-child(5) { grid-area: 2 / 2 / 3 / 3; }
.quadro__lb-item:nth-child(6) { grid-area: 3 / 2 / 4 / 3; }
/* <- QUADRO */

/* -> TABELAS INTERNAS */
.pag3-tbl1 td:first-child {
    white-space: nowrap;
}
.pag3-tbl1 tr:nth-child(odd) td {
    background-color: #efdac7;
}
.pag3-tbl1 tr:nth-child(even) td {
    background-color: #caeaef;
}
.pag3-tbl2 {
    overflow-wrap: normal;
    word-wrap: normal;
    word-break: normal;
    hyphens: none;
}
.pag3-tbl2 tr td {
    background-color: #b6d5d3;
}
.pag3-tbl2 tr:nth-child(2) td,
.pag3-tbl2 tr:nth-child(6) td,
.pag3-tbl2 tr:nth-child(10) td,
.pag3-tbl2 tr:nth-child(15) td,
.pag3-tbl2 tr:nth-child(21) td,
.pag3-tbl2 tr:nth-child(23) td {
    background-color: #dde9ed;
}
.wspace-nowrap {
    white-space: nowrap;
}


a.btn-success, a.btn-danger, a.btn-warning,
a.btn-success:visited, a.btn-danger:visited, a.btn-warning:visited,
a.btn-success:active, a.btn-danger:active, a.btn-warning:active {
    white-space: nowrap;
    color: #fff;
}

/* <- TABELAS INTERNAS */

/* -> FAQS */
.accordionFlushFaqs p:last-child {
    margin-bottom: 0;
}
/* <- FAQS */