/* Normal - Light */
@font-face {
    font-style: normal;
    font-weight: 300;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/wp-content/themes/cro/assets/fonts/Montserrat/Montserrat-Light.ttf") format("truetype");
}

/* Normal - Normal */
@font-face {
    font-style: normal;
    font-weight: 400;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/wp-content/themes/cro/assets/fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
}

/* Normal - Medium */
@font-face {
    font-style: normal;
    font-weight: 500;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/wp-content/themes/cro/assets/fonts/Montserrat/Montserrat-Medium.ttf") format("truetype");
}

/* Normal - SemiBold */
@font-face {
    font-style: normal;
    font-weight: 600;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/wp-content/themes/cro/assets/fonts/Montserrat/Montserrat-SemiBold.ttf") format("truetype");
}

/* Normal - Bold */
@font-face {
    font-style: normal;
    font-weight: 700;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/wp-content/themes/cro/assets/fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
}

/* Italic - Normal */
@font-face {
    font-style: italic;
    font-weight: 400;
    font-family: "Montserrat";
    font-display: swap;
    src: url("/wp-content/themes/cro/assets/fonts/Montserrat/Montserrat-Italic.ttf") format("truetype");
}


/* ===== Custom CSS ====== */
:root{
    --wine: #780309;
    --dark-wine: #4E0000;
    --light-wine: #B30101;
    --tomato: #CF2E2E;
    --light-gray: #F6F6F6;
    --gray: #E6E6E6;
    --dark-gray: #EAEAEA;
    --white: #FFF;
    --black: #000;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body{
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: initial;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb{
    background-color: var(--wine);
}

::-webkit-scrollbar-thumb:hover{
    background-color: var(--dark-wine);
}


::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(138, 138, 138, 0.2);
    background-color: #F5F5F5;
}

/* Removes input type number arrows */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.disabled, [disabled]{
    opacity: 0.5;
    pointer-events: none;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

button{
    background-color: transparent;
    outline: none;
    border: none;
}

a, a:hover{
    color: inherit;
    text-decoration: none;
}

ul li{
    list-style: none;
}

/* Esconde o checkbox original */
input[type="checkbox"] {
    width: 1px;
    height: 1px;
    position: relative;
    display: block;
}

/* Estilo do checkbox personalizado */
input[type="checkbox"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    border: 3px solid var(--wine);
    border-radius: 4px;
    background-color: #fff;
}

input[type="checkbox"]:focus{
    box-shadow: none !important;
}

/* Estilo do checkbox personalizado quando marcado */
input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 8px;
    width: 9px;
    height: 12px;
    border: 4px solid green;
    border-right: none;
    border-bottom: none;
    transform: rotate(-134deg);
}

:is(input, select, textarea):focus{
    border-color: var(--wine) !important;
    box-shadow: 0 0 0 0.25rem rgba(179, 1, 1, 50%) !important;
    position: relative;
    z-index: 20;
}

.image-input{
    max-width: 120px;
    aspect-ratio: 1 / 1;
    color: transparent;
    border: 3px solid var(--wine);
    background: url(/wp-content/themes/cro/assets/img/image-thumbnail.png) center/contain no-repeat;
    transition: all 0.3s ease;
}

:is(input[type='file']):focus{
    color: transparent;
}

:is(input[type='file'])::file-selector-button {
    display: none;
}

.file-input{
    height: 120px;
    color: transparent;
    border: 3px dotted var(--wine);
    background: url(/wp-content/themes/cro/assets/img/pdf-file.svg) center/75px no-repeat;
    background-color: #F3F4F6;
    transition: all 0.3s ease;
}

.file-input.loaded{
    background-image: url(/wp-content/themes/cro/assets/img/pdf-file-loaded.svg);
}

.file-input + p, .file-input + p + button{
    display: none;
}

.file-input.loaded + p, .file-input.loaded + p + button{
    display: block;
}

.error{
    transform: translateY(-10px);
}

.icon{
    display: inline-block;
    min-width: 20px;
    min-height: 20px;
    vertical-align: middle;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-lg{
    display: inline-block;
    min-width: clamp(32px, 5vw, 72px);
    min-height: clamp(24px, 5vw, 48px);
    vertical-align: middle;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.mail-icon{
    background-image: url('/wp-content/themes/cro/assets/img/icons/mail.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 50px;
    height: 50px;
    padding-left: 60px;
    width: fit-content;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.phone-icon{
    background-image: url('/wp-content/themes/cro/assets/img/icons/phone.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 50px;
    height: 50px;
    padding-left: 60px;
    width: fit-content;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.whatsapp-icon{
    background-image: url('/wp-content/themes/cro/assets/img/icons/whatsapp_wine.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 50px;
    height: 50px;
    padding-left: 60px;
    width: fit-content;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.image-icon{
    background-image: url('/wp-content/themes/cro/assets/img/icons/image.png');
    background-color: var(--wine);
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 30px;
    border-radius: 100px;
    height: 50px;
    padding: 0 20px;
    padding-left: 54px;
    width: fit-content;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--white);
    margin: 24px 0;
}

.filter-icon{
    background-image: url('/wp-content/themes/cro/assets/img/icons/filter.svg');
    background-color: var(--wine);
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 30px;
    border-radius: 100px;
    height: 50px;
    padding: 0 20px;
    padding-left: 54px;
    width: fit-content;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--white);
    margin: 0 0 24px auto;
}

.star-icon{
    background-image: url('/wp-content/themes/cro/assets/img/icons/star.png');
    background-color: var(--wine);
    background-repeat: no-repeat;
    background-position: 18px center;
    background-size: 36px;
    padding: 12px;
    padding-left: 64px;
    width: fit-content;
    display: flex;
    text-align: left;
    text-shadow: 2px 2px 2px #000;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    color: var(--white);
    margin: 100px 0 24px;
    border: 3px solid var(--black);
}

.location-icon-full{
    background-image: url('/wp-content/themes/cro/assets/img/icons/location-pin.png');
    background-color: var(--wine);
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: 36px;
    padding: 12px;
    padding-left: 38px;
    width: fit-content;
    display: flex;
    text-align: left;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    color: var(--white);
}

.location-icon{
    background-image: url('/wp-content/themes/cro/assets/img/icons/location-pin.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 50px;
    height: 50px;
    padding-left: 64px;
    width: fit-content;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    padding-top: 4px;
}

.download-icon{
    background-image: url('/wp-content/themes/cro/assets/img/icons/download-icon.png');
    background-color: var(--wine);
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 40px;
    border-radius: 100px;
    height: 50px;
    padding: 0 20px;
    padding-left: 54px;
    width: fit-content;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--white);
    margin: 24px auto;
}

.dental-tool-icon{
    background-image: url('/wp-content/themes/cro/assets/img/icons/dental-tool.png');
    background-color: var(--wine);
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: 40px;
    padding: 12px;
    padding-left: 38px;
    width: fit-content;
    display: flex;
    text-align: left;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    color: var(--white);
}

.property-icon{
    background-image: url('/wp-content/themes/cro/assets/img/icons/property-icon.png');
    background-color: var(--wine);
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: 40px;
    padding: 12px;
    padding-left: 38px;
    width: fit-content;
    display: flex;
    text-align: left;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    color: var(--white);
}


.filter-white{
    filter: invert(91%) sepia(95%) saturate(31%) hue-rotate(254deg) brightness(108%) contrast(100%);
    opacity: 1;
}

.logo{
    margin: 0;
}

.logo > a{
    display: flex;
}

.img-cards{
    width: clamp(32px, 5vw, 72px);
    height: clamp(24px, 5vw, 48px);
    object-fit: contain;
}

.search-modal{
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    color: rgb(85, 85, 85);
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1100;
}

.search-modal.active{
    display: flex;
}

.search-modal .close-modal{
    position: absolute;
    top: 60px;
    right: 60px;
    width: 47px;
    height: 48px;
    cursor: pointer;
    border: 1px solid var(--wine);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-modal .close-modal:hover{
    box-shadow: 1px 2px 13px -2px var(--wine);
}

.search-modal .close-modal::before, .search-modal .close-modal::after{
    content: "";
    display: inline-block;
    width: 32px;
    height: 4px;
    position: absolute;
    background-color: var(--wine);
    top: 20px;
    left: 6px;
    border-radius: 20px;
}

.search-modal .close-modal::before{
    transform: rotate(45deg);
}

.search-modal .close-modal::after{
    transform: rotate(-45deg);
}

.search-modal form{
    max-width: 800px;
}

.search-modal input{
    width: 80%;
    height: 60px;
    border: none;
    background: none;
    border-bottom: 2px solid #c1c4ce;
    font-size: 20px;
    outline: none;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    padding: 0 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-modal input:hover{
    border-bottom: 2px solid var(--wine);
}


.search{
    cursor: pointer;
    border-left: 1px solid #eaebee;
    margin-left: 10px;
    padding: 0 20px;
}

.custom-logo{
    width: clamp(200px, 30vw, 342px);
    height: auto;
    display: inline-block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 171 / 23;
}

.footer-logo{
    width: clamp(200px, 30vw, 342px);
    height: auto;
    aspect-ratio: 179 / 25;
    display: inline-block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.img{
    min-width: 80px;
    height: 80px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.carousel-img{
    object-fit: cover;
}

ol .list-group-item {
    display: list-item;
    list-style: upper-roman inside;
}

.line-limiter{
    height: 50px;
}

.text-limiter-2{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.text-limiter-3{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3; 
    -webkit-box-orient: vertical;
}

.text-limiter-4{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    height: 100px;
}

.text-limiter-5{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    height: 120px;
}

/* Custom style */
.widgets li:first-child{
    margin-top: 0 !important;

}

.widgets li:last-child{
    margin-bottom: 0 !important;
}

.important-links h3{
    height: 67px;
}

.support h3{
    height: 57px;
}

summary::marker{
    color: var(--wine);
}

#contact #result{
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    min-height: 60px;
    margin-top: 1.5rem;
}

#contact #result.active{
    opacity: 1;
    visibility: visible;
}

/* ===== Lists =====*/
.list .content-wrapper > div {
    border-bottom: 1px solid #780309;
}

.list .content-wrapper > div > p {
    position: relative;
    cursor: pointer;
    padding: 16px 16px 16px 16px;
    margin: 0;
}

.list .content-wrapper > div > p > strong{
    display: block;
    max-width: 85%;
}

.list .content-wrapper > div > p a{
    display: block;
    width: calc(100% - 64px);
}

.list .content-wrapper > div .content-inner {
    max-height: 0;
    overflow: hidden;
    transition: all 1s ease;
} 

.list td{
    padding: 6px;
    font-size: 1rem;
}


/* Filter List Pages (aways expansible)*/
.filter{
    display: flex;
}

.filter > div:nth-child(1){
    flex: 0 0 auto;
    width: 33.33333333%;
}

.filter > div:nth-child(1) > .uagb-buttons__wrap{
    padding: 0 24px;
}

.filter > div:nth-child(1) > .uagb-buttons__wrap > .wp-block-uagb-buttons-child{
    width: 100%;
}

.filter > div:nth-child(2){
    flex: 0 0 auto;
    width: 66.66666667%;
}

.filter .content{
    min-height: 70vh;
    border: 2px solid var(--wine);
    padding: 32px;
}

.filter .content > div > div{
    display: none;
}

@media (max-width: 769px){
    .list.expansible.filter{
        flex-direction: column;
        gap: 16px;
    }

    .list.expansible.filter > div:nth-child(1),
    .list.expansible.filter > div:nth-child(2){
        width: 100%;
    }
}

/* Expansible List Pages */
.list.expansible .content > div > div.active{
    display: block;
    position: relative;
    height: 100%;
    background-color: rgb(248,249,250);
}

/* Expansible List Wrapper (each list item)*/
.list.expansible .content .content-wrapper > div > p.active + div {
    max-height: 4000px;
}

.list.expansible .content .content-wrapper > div > p::before,
.list.expansible .content .content-wrapper > div > p::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 30px;
    width: 24px;
    height: 2px;
    background-color: #780309;
    transition: all 0.6s ease;
}

/* Page Comissões e Câmaras */
.list.expansible .content .content-wrapper > div.link > p::before{
    right: 32px;
    top: 18px;
    transform: rotate(45deg);
}

.list.expansible .content .content-wrapper > div.link > p::after{
    right: 32px;
    top: 34px;
    transform: rotate(-45deg);
}

.list.expansible .content .content-wrapper > div > p::before {
    right: 32px;
    transform: rotate(45deg);
}

.list.expansible .content .content-wrapper > div > p::after {
    transform: rotate(-45deg);
}

.list.expansible .content .content-wrapper > div > p.active::before {
    right: 16px;
}

.list.expansible .content .content-wrapper > div > p.active::after {
    right: 32px;
}


/* Static List*/
.list.static .content-wrapper > div > p::before,
.list.static .content-wrapper > div > p::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 30px;
    width: 24px;
    height: 2px;
    background-color: #780309;
    transition: all 0.6s ease;
}

.list.static .content-wrapper > div > p::before {
    right: 32px;
    top: 22px;
    transform: rotate(45deg);
}

.list.static .content-wrapper > div > p::after {
    right: 32px;
    top: 38px;
    transform: rotate(-45deg);
}


.wp-block-button{
    cursor: pointer;
}

.hotsite-modal{
    position: fixed;
    min-width: 300px;
    width: fit-content;
    max-width: 80vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    z-index: 20;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.hotsite-modal.active{
    opacity: 1;
    visibility: visible;
}

.hotsite-modal :is(ul, ol){
    padding: 0;
}

.overlay{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 48px 24px;
}

.overlay.active{
    opacity: 1;
    visibility: visible;
}

.overlay .close{
    position: relative;
    width: 36px;
    height: 36px;
}

.overlay .close::before{
    content: "";
    width: 36px;
    height: 2px;
    position: absolute;
    display: block;
    background-color: var(--white);
    transform: rotate(45deg) translateY(-50%);
    top: 50%;
    right: 0;
}

.overlay .close::after{
    content: "";
    width: 36px;
    height: 2px;
    position: absolute;
    display: block;
    background-color: var(--white);
    transform: rotate(-45deg) translateY(-50%);
    top: 50%;
    right: 0;
}



footer li, footer ol li{
    background-color: transparent;
    border: none !important;
    text-transform: uppercase;
    list-style: none;
}



/* ===== WP Compatibility ===== */

/* ===== Header ===== */
/* Primary Header */
:is(#menu-cabecalho-primario, .header-mobile .utilities) li a:hover{
    color: #C1C4CE !important;
}

:is(#menu-cabecalho-primario, .header-mobile .utilities) li a::before{
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 6px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

:is(#menu-cabecalho-primario, .header-mobile) li.portal a::before{
    background-image: url(/wp-content/themes/cro/assets/img/icons/info.svg);
}

:is(#menu-cabecalho-primario, .header-mobile) li.prestacao-contas a::before{
    background-image: url(/wp-content/themes/cro/assets/img/icons/coin.svg);
}

:is(#menu-cabecalho-primario, .header-mobile) li.fiscalizacao a::before{
    background-image: url(/wp-content/themes/cro/assets/img/icons/megaphone.svg);
}

:is(#menu-cabecalho-primario, .header-mobile) li.denuncia-odonto-suplementar a::before{
    background-image: url(/wp-content/themes/cro/assets/img/icons/computer.svg);
}



/* Secondary Header */
#menu-cabecalho-secundario > li {
    height: 76px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    font-size: clamp(12px, 5vw, 1rem);
}

#menu-cabecalho-secundario > li a{
    color: var(--black);
}

header li .sub-menu{
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    min-width: 200px;
    position: absolute;
    background-color: var(--white);
    font-size: clamp(12px, 5vw, 1rem);
    padding: 0;
    list-style: none;
    top: 76px;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgb(0 0 0 / 10%), 0 8px 30px rgb(0 0 0 / 10%);
}

#menu-cabecalho-secundario li .sub-menu .sub-menu{
    left: 100%;
    top: 0;
}

header li .sub-menu li a{
    padding: 12px;
    white-space: nowrap;
    color: var(--black);
}

#menu-cabecalho-secundario li:hover {
    border-bottom-color: var(--wine);
}

#menu-cabecalho-secundario li:hover > .sub-menu{
    opacity: 1;
    visibility: visible;
    max-height: 1500px;
}

/* Header Mobile */
.header-mobile {
    box-shadow: 0 4px 9px 2px #aaaaaa;
}

/* Menu toggle */
.header-mobile :is(.menu-bars, .menu-close) {
    width: 28px;
    height: 28px;
}

.header-mobile .menu-bars span,
.header-mobile .menu-bars span::before,
.header-mobile .menu-bars span::after,
.header-mobile .menu-close::before,
.header-mobile .menu-close::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--wine);
    left: 0;
}

.header-mobile .menu-bars span::before,
.header-mobile .menu-bars span::after {
    position: absolute;
}

.header-mobile .menu-bars span::before {
    top: -10px;
}

.header-mobile .menu-bars span::after {
    top: 10px;
}

.header-mobile .menu-close::before {
    position: absolute;
    transform: rotate(45deg);
}

.header-mobile .menu-close::after {
    position: absolute;
    transform: rotate(-45deg);
}

.header-mobile .content {
    position: fixed;
    top: 0;
    left: -100%;
    padding: 16px;
    width: 90vw;
    max-width: 500px;
    height: 100vh;
    overflow: scroll;
    background-color: var(--white);
    border-right: 2px solid #780309;
    z-index: 10;
    transition: all 0.6s ease;
    overflow-x: hidden;
}

.header-mobile .content.active {
    left: 0;
}

.header-mobile .content .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--black);
}

.header-mobile .content .items > li:not(:last-child) {
    border-bottom: 1px solid var(--black);
}

.header-mobile .content .items>li .sub-menu {
    position: initial;
    background-color: transparent;
    box-shadow: none;
    padding-left: 12px;
}

.header-mobile .content .items>li>ul>li {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--wine);
    position: relative;
}

.header-mobile .content .items > li > ul > li > a{
    color: var(--wine);
    font-weight: 500;
}

.header-mobile .content .items li ul li.menu-item-has-children::before,
.header-mobile .content .items li ul li.menu-item-has-children::after{
    content: "";
    width: 16px;
    height: 2px;
    display: inline-block;
    position: absolute;
    top: 28px;
    background-color: var(--wine);
    transition: all 0.3s ease;
}

.header-mobile .content .items li ul li.menu-item-has-children::before{
    transform: rotate(-45deg);
    right: 17px;
}

.header-mobile .content .items li ul li.menu-item-has-children::after{
    transform: rotate(45deg);
    right: 28px;
}

.header-mobile .content .items li>ul>li.active > .sub-menu {
    opacity: 1;
    visibility: visible;
    max-height: 1500px;
}

.header-mobile .content .items li>ul>li.active::before{
    right: 27px;
}

.header-mobile .content .items li>ul>li.active::after{
    right: 16px;
}



.ads > .content > article{
    display: none;
}

.ads > .content > article.active{
    display: flex;
}

.ads > .content.empty::before{
    content: "Sem anúncios nesta categoria.";
    font-weight: bold;
    font-size: 2rem;
    display: block;
    text-align: center;
    margin: 20% 0;
}



/* Pagination */
.navigation.pagination{
    display: flex;
    justify-content: center;
    margin-top: 24px;
    color: var(--wine);
    font-size: clamp(1rem, 5vw, 1rem);
}

.navigation.pagination a.page-numbers{
    margin: 0 5px;
}

.navigation.pagination span.page-numbers.current {
    background-color: #E9E9E9;
    padding: 5px 10px 3px;
    border-radius: 2px;
    font-weight: 700;
}

a.next.page-numbers {
    background-color: #780309;
    padding: 5px;
    color: #fff;
    border-radius: 2px 10px 10px 2px;
    padding: 4px 12px;
}


/* ===== Footer ===== */
#menu-rodape-primario{
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    display: grid;
    gap: 12px;
    margin: 0;
}

:is(#menu-rodape-primario) .sub-menu{
    padding: 0;
}

:is(#menu-rodape-primario) .sub-menu li{
    margin-bottom: 6px;
}

:is(#menu-rodape-primario) > li > a{
    color: var(--wine);
    font-weight: bold;
}


/* Primary Footer */
#menu-rodape-primario li:nth-child(2){
    grid-row: 2 / 3;
}

#menu-rodape-primario li:nth-child(3){
    grid-row: 1 / 3;
}



/* Scroll Top */
.scroll-top{
    position: fixed;
    right: 24px;
    bottom: clamp(94px, 9vw, 112px);
    width: clamp(48px, 5vw, 72px);
    height: clamp(48px, 5vw, 72px);
    z-index: 20;
    background-color: var(--wine);
    border-radius: 50px;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: all 0.4s ease;
}

.scroll-top.active{
    opacity: 1;
}

.scroll-top a{
    display: block;
    background-image: url("/wp-content/themes/cro/assets/img/icons/arrow.svg");
    fill: var(--wine);
    transform: rotate(-90deg);
    background-position: center;
    background-size: clamp(24px, 5vw, 36px);
    background-repeat: no-repeat;
    height: 100%;
    transition: all 0.3s ease;
}

/* Whatsapp */
.whatsapp{
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: clamp(48px, 5vw, 72px);
    height: clamp(48px, 5vw, 72px);
    z-index: 20;
}

.whatsapp a{
    display: block;
    background-image: url("/wp-content/themes/cro/assets/img/icons/whatsapp.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 100%;
    transition: all 0.3s ease;
    filter: drop-shadow(5px 5px 5px #222);
}

.whatsapp a:hover{
    filter: drop-shadow(5px 5px 8px #222);

}

.cookies{
    position: fixed;
    display: none;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
    gap: 24px;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--wine);
    padding: 32px;
    z-index: 21;
    color: var(--white);
    box-shadow: 0 0 70px 5px var(--black);
    transition: all 0.4s ease;
    opacity: 1;
}


/* ========== Survey ========== */
#survey{
    position: fixed;
    display: flex;
    visibility: hidden !important;
    opacity: 0 !important;
    align-items: center;
    justify-content: space-around;
    gap: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 32px;
    z-index: 2000;
    color: var(--white);
    box-shadow: 0 0 70px 5px var(--black);
    transition: all 0.4s ease;
    opacity: 1;
}

#survey form span#close::before{
    content: "";
    position: absolute;
    top: 12px;
    right: 4px;
    width: 20px;
    height: 2px;
    transform: rotate(45deg);
    background-color: var(--wine);
}

#survey form span#close::after{
    content: "";
    position: absolute;
    top: 12px;
    right: 4px;
    width: 20px;
    height: 2px;
    transform: rotate(-45deg);
    background-color: var(--wine);
}

#survey.active{
    visibility: visible !important;
    opacity: 1 !important;
}


.show-card{
    position: absolute;
    width: fit-content;
    right: 0;
    top: 50%;
    transform: translate(0%, -50%);
}

.flex-row-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column-center{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ========== Rating Survey ========== */
.rating-star{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.rating-star:focus{
    box-shadow: none !important;
}

.rating-star::before{
    content: "";
    width: clamp(32px, 5vw, 54px);
    height: clamp(32px, 5vw, 54px);
    display: block;
    margin: 0 6px;
    background-image: url("/wp-content/themes/cro/assets/img/icons/rating-star-blank.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: all 0.2s ease;
}

/* Hovered */
.rating-star:hover::before,
.rating-star:hover ~ .rating-star::before {
    background-image: url("/wp-content/themes/cro/assets/img/icons/rating-star-rated.svg");
}

/* Checked */
.rating-star:checked::before,
.rating-star:checked ~.rating-star::before{
    background-image: url("/wp-content/themes/cro/assets/img/icons/rating-star-rated.svg");
}


/* Classifieds */
.green-tick-animation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.green-tick-animation .checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.green-tick-animation .checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 36px auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    scale: 1.5;
}

.green-tick-animation .checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none
    }

    50% {
        transform: scale3d(1.1, 1.1, 1)
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #7ac142
    }
}

.form-sent{
    height: 75vh;
    overflow: hidden;
}

.form-sent :not(.green-tick-animation, .green-tick-animation *){
    visibility: hidden;
}



/* => 465px */
@media screen and (max-width: 465px){
    :is(#menu-rodape-primario){
        display: flex;
        flex-wrap: wrap;
    }

    .cookies{
        flex-direction: column;
    }

    .text-limiter-2, .text-limiter-3, .text-limiter-4, .text-limiter-5{
        -webkit-line-clamp: unset;
        line-clamp: unset;
        height: unset;
    }
}

/* => 768px */
@media screen and (max-width: 768px){
    #menu-rodape-primario{
        grid-template-columns: auto;
    }
    .show-card{
        top: unset;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0);
    }
    

    :is(#menu-cabecalho-primario, .header-mobile .utilities) li a::before, .icon{
        filter: invert(68%) sepia(12%) saturate(2041%) hue-rotate(301deg) brightness(100%) contrast(106%);
    }
}

/* 769px => */
@media screen and (min-width: 769px){
    .hotsite-modal .uagb-heading-text::after, .hotsite-modal .uagb-heading-text::before{
        right: -24px;
        top: -20px;
    }

    .certificate .row:first-child > div img{
        margin-top: -90px;
        margin-left: -90px;
    }
}

@keyframes zoom {
    from {
      transform: scale(0);
    }
    to {
      transform: scale(1);
    }
}



/* ADMIN */
.editor-post-trash.components-button:hover{
    background-color: #cc1818 !important;
    color: var(--white);
}