.wp-block-theme-blocks-filter {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
width: 100%;
margin-bottom: 28px;
}
.wp-block-theme-blocks-filter > div {
position: relative;
}
.wp-block-theme-blocks-filter .btn-filters {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
width: 151px;
height: 36px;
padding: 10px 10px 10px 35px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
gap: 10px;
border-radius: 5px;
border: 1px solid var(--wp--preset--color--gray);
background: white;
color: var(--wp--preset--color--purple);
text-align: center;
cursor: pointer;
}
.wp-block-theme-blocks-filter .btn-filters span {
text-align: center;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 24px;
text-transform: uppercase;
}
.wp-block-theme-blocks-filter .btn-filters .close {
opacity: 0;
position: absolute;
top: 50%;
right: 10px;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.wp-block-theme-blocks-filter .modal {
display: none;
position: absolute;
right: 0;
z-index: 10;
width: 545px;
height: 0;
opacity: 0;
-ms-flex-negative: 0;
flex-shrink: 0;
border-radius: 15px 0px 15px 15px;
border: 1px solid var(--Grey-Entreculturas, #2E2D2C);
background: #FFF;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
padding: 21px 26px 21px 36px;
overflow: hidden;
}
.wp-block-theme-blocks-filter.open .btn-filters {
border-radius: 5px 5px 0px 0px;
border-bottom: 1px solid white;
}
.wp-block-theme-blocks-filter.open .btn-filters .close {
opacity: 1;
}
.wp-block-theme-blocks-filter.open .btn-filters::before {
content: "";
position: absolute;
right: 0px;
bottom: -3px;
width: 149px;
height: 4px;
background: white;
z-index: 11;
}
.wp-block-theme-blocks-filter.open .modal {
display: block;
height: -webkit-fit-content;
height: -moz-fit-content;
height: fit-content;
opacity: 1;
}
.wp-block-theme-blocks-filter .types {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
gap: 24px;
}
@media (max-width: 768px) {
.wp-block-theme-blocks-filter .types {
gap: 6px;
}
}
.wp-block-theme-blocks-filter .btn-type {
border-radius: 5px;
border: 1px solid #000;
background: white;
color: var(--wp--preset--color--gray);
font-size: 17px;
font-weight: 600;
line-height: 32px;
min-width: 110px;
text-align: center;
cursor: pointer;
}
.wp-block-theme-blocks-filter .btn-type:has(input:checked) {
background: var(--wp--preset--color--lightgray);
color: var(--wp--preset--color--gray);
}
.wp-block-theme-blocks-filter .btn-type input {
display: none;
}
.wp-block-theme-blocks-filter .btn-type:hover {
background: var(--wp--preset--color--lightgray);
color: var(--wp--preset--color--gray);
}
.wp-block-theme-blocks-filter .a-type {
text-align: center;
font-size: 12px;
color: var(--wp--preset--color--gray);
line-height: 32px;
white-space: nowrap;
}
.wp-block-theme-blocks-filter .categories {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
gap: 26px;
max-height: 120px;
overflow: auto;
margin-top: 22px;
padding: 0; }
@media (max-width: 768px) {
.wp-block-theme-blocks-filter .categories {
max-height: 160px;
}
}
.wp-block-theme-blocks-filter .categories::-webkit-scrollbar-track {
width: 8px;
border: none;
background: transparent;
background-image: url(//www.entreculturas.org/wp-content/themes/entreculturas/blocks/build/images/scrollbar.f855d602.png);
background-repeat: repeat-y;
background-size: contain;
}
.wp-block-theme-blocks-filter .categories::-webkit-scrollbar-thumb {
width: 8px;
border: none;
background: transparent;
background-color: #818181;
border-radius: 10px;
}
.wp-block-theme-blocks-filter .categories::-webkit-scrollbar {
width: 8px;
border: none;
background: transparent;
}
.wp-block-theme-blocks-filter .categories::-webkit-scrollbar-button {
display: none;
}
.wp-block-theme-blocks-filter .categories::-webkit-scrollbar-track-piece {
display: none;
}
.wp-block-theme-blocks-filter .categories::-webkit-scrollbar-corner {
display: none;
}
.wp-block-theme-blocks-filter .categories::-webkit-resizer {
display: none;
}
.wp-block-theme-blocks-filter .categories[data-category=category] {
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.wp-block-theme-blocks-filter .categories[data-category=category] > a {
-ms-flex-preferred-size: calc(20% - 26px);
flex-basis: calc(20% - 26px);
text-align: center;
}
.wp-block-theme-blocks-filter .categories[data-category=country] {
display: -ms-grid;
display: grid;
gap: 12px;
-ms-grid-columns: (1fr)[3];
grid-template-columns: repeat(3, 1fr);
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
}
@media (max-width: 768px) {
.wp-block-theme-blocks-filter .categories[data-category=country] {
-ms-grid-columns: (1fr)[2];
grid-template-columns: repeat(2, 1fr);
}
}
.wp-block-theme-blocks-filter .categories[data-category=post_types] {
display: -ms-grid;
display: grid;
gap: 0px;
-ms-grid-columns: (1fr)[5];
grid-template-columns: repeat(5, 1fr);
max-height: 90px;
}
@media (max-width: 768px) {
.wp-block-theme-blocks-filter .categories[data-category=post_types] {
-ms-grid-columns: (1fr)[2];
grid-template-columns: repeat(2, 1fr);
gap: 5px;
}
.wp-block-theme-blocks-filter .categories[data-category=post_types] .btn-category {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
height: 30px;
}
.wp-block-theme-blocks-filter .categories[data-category=post_types] .btn-category p {
text-align: left;
}
}
@media (max-width: 768px) {
.wp-block-theme-blocks-filter .categories {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
gap: 10px;
}
.wp-block-theme-blocks-filter .categories[data-category=category] > a {
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
text-align: left;
}
}
.wp-block-theme-blocks-filter .categories p {
margin: 5px 0;
}
.wp-block-theme-blocks-filter .categories[data-category=date] {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin-bottom: 22px;
}
.wp-block-theme-blocks-filter .categories[data-category=date] select {
border-radius: 5px;
border: 1px solid #000;
background: white;
color: var(--wp--preset--color--gray);
font-size: 16px;
font-weight: 400;
line-height: 32px;
min-width: 200px;
text-align: center;
padding: 4px 0;
}
.wp-block-theme-blocks-filter .btn-category {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
background: none;
border: none;
outline: none;
color: var(--wp--preset--color--gray);
font-size: 16px;
text-decoration: none;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.wp-block-theme-blocks-filter .btn-category:has(img) {
text-align: center;
text-wrap: balance;
}
.wp-block-theme-blocks-filter .btn-category img {
margin: 0 auto;
width: 64px;
border-radius: 5px;
}
.wp-block-theme-blocks-filter .btn-category p {
font-size: 12px;
line-clamp: 2;
overflow: hidden;
max-width: 100px;
text-align: center;
}
.wp-block-theme-blocks-filter .btn-category:hover img {
-webkit-filter: grayscale(1);
filter: grayscale(1);
}
@media (max-width: 768px) {
.wp-block-theme-blocks-filter .btn-category {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
gap: 10px;
padding: 0 5px;
}
.wp-block-theme-blocks-filter .btn-category:has(img) {
text-align: left;
}
.wp-block-theme-blocks-filter .btn-category img {
margin: 0;
width: 24px;
}
.wp-block-theme-blocks-filter .btn-category p {
max-width: none;
}
}
.wp-block-theme-blocks-filter .filter-month, .wp-block-theme-blocks-filter select {
text-transform: capitalize;
}
.wp-block-theme-blocks-filter div.cause a:hover svg path {
stroke: #E30600;
}
.wp-block-theme-blocks-filter div.cause a:hover p {
color: #E30600;
}
.wp-block-theme-blocks-filter div.cause a.selected svg path {
stroke: #E30600;
}
.wp-block-theme-blocks-filter div.cause a.selected p {
color: #E30600;
}
.wp-block-theme-blocks-filter div.format a.selected img, .wp-block-theme-blocks-filter div.post_types a.selected img {
-webkit-filter: grayscale(1);
filter: grayscale(1);
}
.wp-block-theme-blocks-filter div.country a:hover span, .wp-block-theme-blocks-filter div.country a.selected span {
color: #E30600;
}
.wp-block-theme-blocks-filter .categories.fecha select, .wp-block-theme-blocks-filter .categories.fecha option {
cursor: pointer;
}
@media (max-width: 768px) {
.wp-block-theme-blocks-filter.open .btn-filters {
border-bottom: 0px solid white;
}
.wp-block-theme-blocks-filter.open .btn-filters::before {
width: 88px;
}
.wp-block-theme-blocks-filter.open .btn-filters .filter-icon {
display: none;
}
.wp-block-theme-blocks-filter.open .btn-filters .close {
right: 4px;
}
.wp-block-theme-blocks-filter .modal {
height: -webkit-fit-content !important;
height: -moz-fit-content !important;
height: fit-content !important;
width: 264px;
padding: 20px 7px 13px;
}
.wp-block-theme-blocks-filter .btn-filters {
width: 90px;
height: 28px;
padding: 10px;
gap: 9px;
}
.wp-block-theme-blocks-filter .btn-filters span {
font-size: 12px;
}
.wp-block-theme-blocks-filter .a-type {
display: none;
}
.wp-block-theme-blocks-filter .btn-type {
font-size: 12px;
width: 83px;
height: 23px;
min-width: unset;
line-height: 24px;
}
.wp-block-theme-blocks-filter .types {
gap: 9px;
-webkit-box-pack: space-evenly;
-ms-flex-pack: space-evenly;
justify-content: space-evenly;
}
.wp-block-theme-blocks-filter .categories {
margin-top: 15px;
}
.wp-block-theme-blocks-filter .categories p {
margin: 0;
}
.wp-block-theme-blocks-filter .categories.fecha {
margin-bottom: 20px;
}
.wp-block-theme-blocks-filter .categories.fecha p {
font-size: 10px;
margin-bottom: 3px;
}
.wp-block-theme-blocks-filter .categories.fecha select {
font-size: 12px;
}
.wp-block-theme-blocks-filter .categories.country {
padding-left: 31px !important;
gap: unset;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
text-align: unset;
grid-column-gap: 10px;
grid-row-gap: 10px;
}
.wp-block-theme-blocks-filter .categories.country .btn-category {
height: -webkit-fit-content;
height: -moz-fit-content;
height: fit-content;
}
.wp-block-theme-blocks-filter .categories.country .btn-category span {
font-size: 12px;
}
.wp-block-theme-blocks-filter .btn-category svg {
width: 27px;
height: -webkit-fit-content;
height: -moz-fit-content;
height: fit-content;
}
.wp-block-theme-blocks-filter .btn-category p {
font-size: 12px;
}
}