/*
 Theme Name: ama-a11y-theme child
 Template: www-a11y-theme
 Description: AMA A11Y Theme for WordPress.
 Author: Ricardo Pauleta
 Version: 1.0.006
*/

.bold {
    font-weight: bold !important;
}

a.post-card-wrapper {
    text-decoration: unset;
}

.post-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border 0.1s ease;
    border: 3px solid transparent;
    position: relative;
}


.post-card:hover {
   border: 3px solid var(--primary);
}

.dark-theme .post-card:hover {
   border: 3px solid var(--quaternary);
}

.post-card-wrapper:not(:last-child)::before {
    content: "";
    display: block;
    height: auto;
    width: 2px;
    background-color: #000;
    position: absolute;
    top: 0;
    right: -23px;
    bottom: 0;
    
}

.dark-theme .post-card {
    background-color: var(--body-lighter-dark);
}


.post-card > .post-thumbnail {
    aspect-ratio: 16/9;
    width: 100%;
}

.post-card > .post-thumbnail img {
    aspect-ratio: 16/9;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--prata);
}

.post-card > .post-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: space-between;
}

.post-card > .post-body > .post-title {
    color: var(--primary);
    font-family: inherit;
    font-size: 19.2px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom:1.5rem;
}

.post-card > .post-body > .post-title > a::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dark-theme .post-card > .post-body > .post-title {
    color: var(--quinary);
}

.post-card > .post-body:hover .post-title{
    color: #fff;
}

.post-card > .post-body > .post-date {
    color: #333;
    font-family: inherit;
    font-size: 12pt;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    margin-top: auto;
}

.post-card > .post-body > .post-footer > .icon-footer{
    font-size: 25px;
    color: var(--primary);
}

.post-card > .post-body > .post-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.dark-theme .post-card > .post-body > .post-date,
.dark-theme .post-card > .post-body > .post-footer > .icon-footer {
    color: var(--quinary);
}

.post-card-wrapper:hover .post-card > .post-body .post-date {
    color: #fff;
}


/**
===========================================================
|| Grid templates
===========================================================
 */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);

    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);

    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);

    }
}

@media (min-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);

    }
}

.facilitadores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-left: 0;
}

.facilitadores-grid .facilitador-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: #fff;
    padding: 2em;
}

.dark-theme .facilitador-wrapper {
    background-color: var(--body-dark);
    color: var(--quinary);
}

.facilitadores-grid .facilitador-wrapper .foto {
    aspect-ratio: 1/1;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 0;
}

.facilitador-wrapper .foto img {
    aspect-ratio: 1/1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.facilitador-wrapper .facilitador-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    gap: .5rem;
}

.facilitador-wrapper .facilitador-text .nome {
    font-weight: 600;
}

.facilitador-wrapper .facilitador-text .redes {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: .5rem;
}

.facilitador-rs-link:hover [class^="icon-share-"]::before {
    content: "\75";
}

.dark-theme .facilitador-wrapper .facilitador-text .redes [class^="icon-share"]::before {
    color: var(--quinary);
}

.dark-theme .facilitador-rs-link [class^="icon-share-"]::before {
    color: var(--quinary);
}

@media only screen and (max-width: 768px) {
    .facilitadores-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .facilitadores-grid .facilitador-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .post-card-wrapper:not(:first-child)::before {
        content: "";
        display: block;
        height: 2px;
        width: 100%;
        background-color: #8D8D8E;
        position: absolute;
        top: -23px;
        right: 0;
        bottom: 0;
        
    }


    .post-card-wrapper:first-child::before {
        content: "";
        background:none;        
    }

}

@media only screen and (max-width: 991.98px) {
    .facilitadores-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .facilitadores-grid .facilitador-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.blogue .titulo {
    color: var(--primary);
    font-weight: 700;
}

.blogue p {
    margin-bottom: 0;
}

.dark-theme .blogue .titulo {
    color: var(--quinary);
}

.blogue .destaque img {
    width: 100%;
    height: auto;
    border: 1px solid var(--prata);
}

.blogue .ligacao {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: .5rem;
    color: var(--primary);
    text-decoration: unset;
}

.blogue .ligacao {
    text-decoration: unset;
}

.blogue .ligacao:hover {
    text-decoration: underline;
}

.table.obter-selo tbody > tr:first-child,
.table.obter-selo tbody > tr:last-child {
    border-bottom-color: transparent;
}
.svg_background {
    position: relative;
    text-align: center;
    padding: 15px 30px;
}

.svg_background::after {
    content: "";
    background: #000;
    position: absolute;
    bottom: 25px;
    left: 50%;
    right: auto;
    height: 2px;
    width: 80%;
    transform: translateX(-50%);
}

.dark-theme .svg_background::after {
    background: var(--quinary);
}

.table_responsive_container {
    background-color: white;
    padding: 50px;
}

.dark-theme .table_responsive_container {
    background-color: var(--body-dark);
    color: var(--quinary);
}

.dark-theme .table_responsive_container th {
    color: var(--quinary);
}

 .table .tr_lines {
    border-bottom: 2px solid #000;
}

.dark-theme  .table .tr_lines {
    border-bottom: 2px solid var(--quinary);
}

 .table .first_header {
    text-align: center;
    padding: 15px 30px;
    padding-bottom: 30px;
    width: 30px;
}

 .table .selo_images {
    width: 100px;
    height: 100px;
    padding-bottom: 15px;
}

.table .td_left {
    padding-left: .5rem;
    padding-bottom: 2rem;
}

.table .td_right {
    padding-right: 15px;
    padding-bottom: 20px;
}

.table .extra {
    padding-top: 20px;
}

 .table .th_selo {
    text-align: center;
    vertical-align: middle;
}

 .table .circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    text-align: center;
    margin: 10px;
    font-size: 15px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.blue {
    background-color: var(--primary);
    color: #fff;
}

.white {
    border: 2px solid #000;
    color: #000;
}

.dark-theme .white {
    border: 2px solid var(--quinary);
    color: var(--quinary);
}

.grey {
    background-color: #D9D9D9;
    color: #000;
}

.dark-theme .grey {
    background-color: var(--body-lighter-dark);
    color: var(--quinary);
}

.text_bold {
    padding-top: 5px;
}

#canva-wrapper #graficoSelos {
    width: 100%;
    max-width: 540px;
    min-height: 540px;
}

@media screen and (max-width: 991px) {
	#canva-wrapper {
		margin-bottom: 10px !important;
	}
}


#canva-wrapper #graficoSelos {
    width: 100%;
    max-width: 450px;
    min-height: 300px;
}

/*Changes EA*/

.dark-theme .blogue .titulo a {
	color: #b6dcf6;
}

.dark-theme img[src*="icon_xl_bulb.svg"] {
  filter: invert(92%) sepia(22%) saturate(801%) hue-rotate(175deg) brightness(99%) contrast(93%);
}

.dark-theme .frm_required {
  color: #b6dcf6 !important;
}

.dark-theme .frm_form_field input::placeholder {
    color: #b6dcf6 !important;
}

.dark-theme .frm_form_field textarea::placeholder {
    color: #b6dcf6 !important;
}
