:root {
    --primary-color: #2C776E;
    --secondary-color: #B1272E;
    --tertiary-color: #F3F5F7;
    --quaternary-color: #24615A;
    --quinary-color: #F8DC7A;

    --black-color: #262626;
    --white-color: #FFFFFF;
    --gray-color: #B0B0B0;

    --primary-font: "Inter", sans-serif;

    --fs-13: 0.8125rem;
    --fs-14: 0.875rem;
    --fs-15: 0.9375rem;
    --fs-16: 1rem;
    --fs-18: 1.125rem;
    --fs-20: 1.25rem;
    --fs-24: 1.5rem;
    --fs-25: 1.75rem;
    --fs-28: 1.75rem;
    --fs-32: 2rem;
    --fs-35: 2.25rem;
    --fs-36: 2.25rem;
    --fs-48: 3rem;
    --fs-64: 4rem;
    --fs-72: 4.5rem;
    --fs-80: 5rem;
    --fs-96: 6rem;
    --fs-128: 8rem;
    --fs-144: 9rem;
}

body {
    font-size: 16px;
    font-family: var(--primary-font);
    background: var(--tertiary-color) !important;
}

.post,
.page {
    margin: 0 !important;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 0 !important;
}

#page {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#page header#masthead {
    flex: 0 0 300px;
    background: var(--tertiary-color);
    color: var(--quinary-color);
    min-height: 100dvh;
}

#page main {
    flex: 1;
}

#page main>*:first-child {
    background: white;
    height: 100%;
    padding-inline: 40px;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

/* Header styles */
header .header__content {
    padding: 25px;
    height: 100%;
}

header .header__content .container_header {
    height: 100%;
    position: relative;
}

header .header__content .container_header .menunav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

header .header-top {
    text-align: center;
    margin-bottom: 70px;
}

header .list-unstyled {
    padding: 0;
    margin: 0;
}

header .accordion-item {
    border: none;
    background: transparent;
}

header .accordion-button {
    background: transparent;
    color: var(--black-color);
    font-weight: 700;
    font-size: var(--fs-16);
}

header .accordion-button,
header .nav-link {
    color: var(--black-color);
    background-color: transparent;
    box-shadow: none;
    padding-inline: 0;
    transition: all 0.3s ease;
}

header .accordion-button:visited,
header .nav-link:visited {
    color: var(--black-color);
}

header .accordion-button:hover,
header .nav-link:hover {
    color: var(--secondary-color) !important;
    font-weight: 700 !important;
}

header .accordion-button:not(.collapsed) {
    color: var(--black-color);
    background-color: transparent;
    box-shadow: none;
}

header .accordion-collapse ul {
    border-left: 1px dashed #b7b7b7;
    padding-left: 0 !important;
    margin: 0;
}

header .accordion-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 20px;
}

header .accordion-button::after {
    display: none;
}

header .accordion-button[aria-expanded="false"] i {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

header .accordion-button[aria-expanded="true"] i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

header .accordion-body {
    padding-inline: 0;
}

header .second-level {
    padding-inline: 15px;
}

header .second-level ul {
    border-left: 0;
}

header .second-level>.menu-title {
    font-weight: 700;
    font-size: var(--fs-16);
    color: var(--secondary-color);
    margin-bottom: 0px;
}

header .second-level ul li a {
    padding-inline: 0;
    color: #656565;
}

header .first-level:is(.bi) {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

header .first-level:is(.bi)::before {
    color: #1a1a1a;
    font-size: 22px;
}

header .first-level>.nav-link {
    padding-block: 20px;
    color: var(--black-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .first-level .submenu>.nav-item>.nav-link {
    padding-inline: 20px;
}

header .third-level .nav-link {
    padding-inline: 0 !important;
}

header .user-info {
    background: #EDEDED;
    border-radius: 5px;
    display: flex;
    padding: 7px 15px;
    gap: 10px;
    align-items: center;
    position: fixed;
    bottom: 25px;
    width: 100%;
    max-width: 250px;
}

header .user-avatar img {
    aspect-ratio: 1/1;
    max-height: 60px;
    max-width: 60px;
    border-radius: 100%;
}

header .user-greeting {
    font-size: 16px;
    color: var(--black-color);
    margin-bottom: 0;
}


header .user-buttons,
header .user-buttons a {
    font-size: 11px;
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: none;
}

.evento-count {
    background: var(--secondary-color);
    color: white;
    padding-inline: 15px;
    font-size: 12px;
    border-radius: 60px;
}

.current-item {
    font-weight: 700;
    color: var(--secondary-color) !important;
}

footer {
    margin-top: 115px;
    margin-bottom: 25px;
}

footer .row>div[class*="col"]:last-child {
    text-align: right;
}

footer p,
footer p a {
    margin: 0;
    color: #6C757D;
    font-size: 15px;
}

footer p a {
    text-decoration: none;
    font-weight: 700;
}

.menu-mobile {
    display: none;
}

.hamburger {
    position: relative;
    height: 26px;
    margin-right: 27px;
    display: none;
}

.hamburger a.main-nav-toggle {
    display: block;
    width: 24px;
    height: 16px;
    position: absolute;
}

.hamburger a.main-nav-toggle {
    display: block;
    width: 24px;
    height: 16px;
    position: absolute;
}

.hamburger a.main-nav-toggle::after,
.hamburger a.main-nav-toggle::before {
    content: "";
    position: absolute;
    top: 0;
    height: 0;
    border-bottom: 2px solid var(--black-color);
    width: 100%;
    left: 0;
    right: 0;
    border-radius: 60px;
    transition: all ease-out 0.3s;
}

.hamburger a.main-nav-toggle i {
    display: block;
    text-indent: 100%;
    overflow: hidden;
    white-space: nowrap;
    height: 2px;
    background-color: var(--black-color);
    width: 100%;
    position: absolute;
    top: 50%;
    transition: all ease-out 0.1s;
}

.hamburger a.main-nav-toggle::after {
    top: 100%;
}

.hamburger a.main-nav-toggle.active-menu::after {
    transform: rotate(-45deg);
    transform-origin: center;
    top: 50%;
    border-radius: 60px;
    border-color: var(--black-color);
}

.hamburger a.main-nav-toggle.active-menu::before {
    transform: rotate(45deg);
    transform-origin: center;
    top: 50%;
    border-radius: 60px;
    border-color: var(--black-color);
}

.hamburger a.main-nav-toggle.active-menu i {
    opacity: 0;
}

/** Login **/

.access-page.entry-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.access-page .box-login {
    display: flex;
    align-items: center;
    background: white;
    max-width: 640px;
    width: 100%;
    justify-content: center;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.15);
}

.access-page .box-login-img {
    flex: 0 0 220px;
    height: 100%;
}

.access-page .box-login-img img {
    position: absolute;
    top: 0;
    height: 100%;
    max-width: 220px;
    object-fit: cover;
}

.access-page .box-login-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
    padding: 18px 24px;
}

.access-page .box-login-content img {
    max-width: 80px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.access-page .login-error {
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: 12px;
}

.access-page .login-success {
    color: rgb(9, 184, 9);
    margin-bottom: 12px;
    font-size: 12px;
}

.access-page input {
    background: #F0F0F0;
    border-color: #F0F0F0 !important;
    border-radius: 2px;
    padding: 14px 16px !important;
    width: 100%;
    color: #6C757D;
    font-size: 15px;
}

.access-page input+input {
    margin-top: 15px;
}

.access-page input::placeholder {
    color: #6C757D;
}

.access-page a {
    color: #6E7079 !important;
    text-decoration: none;
    font-size: 13px;
    text-align: center !important;
    width: 100%;
    margin-top: 5px;
    display: block;
    transition: all 0.3s ease;
}

.access-page a:hover {
    color: var(--secondary-color) !important;
}

.access-page form p {
    text-align: center;
    margin: 0;
}

.access-page button {
    margin-top: 60px;
    margin-bottom: 0;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    padding: 16px;
    margin-inline: auto;
    min-width: 135px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
}

.footer-login {
    text-align: center;
    padding: 30px;
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
    width: 100%;
}

.page-access {
    height: 100dvh;
}

.page-access #page {
    height: 100%;
}

.page-access #page main>*:first-child {
    background: transparent;
    height: 100%;
    padding-inline: 0;
    padding-top: 0;
    display: block;
    box-shadow: none;
}

.tabla-recursos tbody tr td {
    padding: 10px 5px;
    border-bottom: 1px dashed #D9D9D9;
    position: relative;
    transition: all 0.3s ease;
}

.tabla-recursos tbody tr td:first-child {
    width: 35px;
    position: relative;
}

.tabla-recursos tbody tr td:first-child::after {
    content: "";
    display: block;
    width: 1.5px;
    height: 20px;
    background: #1a1a1a;
    position: absolute;
    right: 0;
    top: 50%;
    opacity: .5;
    transform: translateY(-50%);
}

.tabla-recursos tbody tr td:last-child {
    text-align: right;
}

.tabla-recursos tbody tr td:last-child>*+* {
    margin-left: 20px;
}

.tabla-recursos tbody tr a,
.tabla-recursos tbody tr button {
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
    color: #666;
    border: none;
    padding: 0;
    background: transparent;
    transition: all 0.3s ease;
}

.tabla-recursos tbody tr a:hover,
.tabla-recursos tbody tr button:hover {
    color: var(--primary-color);
    background: transparent;
}

.tabla-recursos tbody tr:hover>td {
    background: #F3F5F7;
}

.recursos-no-found {
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    text-align: center;
    padding-block: 80px;
    margin-bottom: 45px;
}

.recursos-no-found h2,
.recursos-no-found p {
    max-width: 524px;
    margin: 0 auto;
}


.recursos-no-found h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 15px;
}

.recursos-no-found p {
    font-size: 13px;
    color: var(--black-color);
}

.assigned-recursos-no-found {
    margin-bottom: 45px;
}

.assigned-recursos-no-found .inner_grid_no_found {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.assigned-recursos-no-found .inner_grid_no_found .item-grid {
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    padding: 25px;
}

.assigned-recursos-no-found .inner_grid_no_found .item-grid h2 {
    color: var(--black-color);
    font-size: var(--fs-28);
    font-weight: 700;
    margin-bottom: 15px;
}

.assigned-recursos-no-found .inner_grid_no_found .item-grid p {
    color: var(--black-color);
    font-size: var(--fs-16);
    margin-bottom: 0;
}

.recursos-favoritos-grid .recursos-no-found .inner_container_fia {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
}

.soon-tax .content-soon-tax {
    margin-bottom: 80px;
}

.soon-tax .recurso-item .info-item {
    position: relative;
    background: var(--primary-color);
    min-height: 200px;
}

.soon-tax .recurso-item .info-item h3 {
    color: white;
    font-size: var(--fs-24);
    font-weight: 700;
    padding: 25px;
    padding-bottom: 0;
}

.soon-tax .recurso-item .info-item a {
    padding: 20px;
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border-top: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
    font-size: 14px;

}

.soon-tax .recurso-item .info-item a:hover {
    background: var(--quaternary-color);
    border-color: var(--quinary-color);
}

/** FILTERS **/
.filter-recursos {
    margin-bottom: 35px;
}

.filter-recursos .filter-recursos-content {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.filter-recursos .dropdown-toggle::after {
    display: none;
}

.filter-recursos .dropdown-toggle {
    background: #F3F5F7;
    border-color: #F3F5F7;
    height: 32px;
    display: flex;
    align-items: center;
    background-image: none;
    font-size: 11px;
    text-transform: uppercase;
    color: #666;
    min-width: 144px;
    justify-content: space-between;
    font-weight: 700;
    transition: all 0.3s ease;
}

.filter-recursos .dropdown-toggle i {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.filter-recursos .dropdown-toggle[aria-expanded="true"] {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.filter-recursos .dropdown-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.filter-recursos .dropdown-menu {
    position: absolute;
    inset: 0px auto auto 0px;
    margin: 0px;
    transform: translate3d(0px, 34px, 0px);
    width: 100%;
    background: #F3F5F7;
    border-color: #F3F5F7;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 8px;
    color: #666;
    font-size: 12px;
    min-width: 144px;
}

.dropdown-menu.show {
    display: flex;
}

.filter-recursos .dropdown-menu a {
    color: #666;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0;
    line-height: normal;
}

.filter-recursos .dropdown-menu a:visited {
    color: #666;
}

.filter-recursos .dropdown-menu a:active {
    background-color: transparent;
}

.pagination-wrap {
    text-align: center;
    margin-top: 55px;
    font-size: 19px;
}

.pagination-wrap nav,
.pagination-wrap a {
    color: #B3B3B3;
    text-decoration: none;
    font-weight: 600;
}

.pagination-wrap a:visited {
    color: #B3B3B3;
}

.inner-repofia-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 21px;
}

.pagination-wrap nav .current {
    color: var(--primary-color);
}

.pagination-wrap nav .inner-repofia-pagination>*:hover {
    color: var(--primary-color);
}

.repofia-breadcrumbs {
    margin-bottom: 55px;
}

.title-bradcrumbs {
    font-size: 24px;
    display: block;
    font-weight: 700;
    color: var(--primary-color);
}

.repofia-breadcrumbs,
.repofia-breadcrumbs a {
    font-size: 15px;
    color: #262626;
    text-decoration: none;
}

.repofia-breadcrumbs a:visited {
    color: #262626;
}

.single-recursos h1 {
    margin-block: 0 15px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: var(--fs-48);
}

.single-recursos p {
    font-size: var(--fs-16);
    color: #261C03;
}

.imagen-recurso img {
    width: 100%;
    border: 1px solid #666;
    border-radius: 4px;
    margin-bottom: 45px;
}

.single-recursos .subtitulo {
    margin-bottom: 25px;
}

.single-recursos .content-recurso,
.single-recursos .subtitulo {
    max-width: 80%;
}

.aside-recurso {
    position: sticky;
    top: 0;
}

.aside-recurso *+* {
    margin-top: 15px;
}

.aside-recurso a,
.aside-recurso button {
    height: 60px;
    border: 1px solid #666;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    color: #333 !important;
    line-height: normal;
    background: transparent;
    transition: all 0.3s ease;
}

.aside-recurso a:visited,
.aside-recurso button:visited {
    color: #333;
}

.aside-recurso a i,
.aside-recurso button i {
    font-size: 18px;
    margin: 0 !important;
}

.aside-recurso a:hover,
.aside-recurso button:hover,
.aside-recurso button.added {
    background: var(--quaternary-color);
    color: white !important;
    border-color: var(--quaternary-color);
}

.recursos-relacionados-grid {
    margin-top: 55px;
}

.recursos-relacionados-grid h2 {
    font-size: 13px;
    color: #6C757D;
}

.imagen-recurso.mobile-imagen-recurso {
    display: none;
}

.avatar-mobile {
    display: none;
}

#form-recursos {
    margin-bottom: 55px;
}

.buscador-filtros {
    display: flex;
    gap: 15px;
}

.buscador-input {
    position: relative;
    flex: 1;
}

.buscador-input input {
    width: 100%;
    border: 1px solid #CED4DA !important;
    border-radius: 4px !important;
    padding: 12px 32px !important;
}

.buscador-input button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    right: 32px;
}

.buscador-filtros button[type="submit"] {
    flex: 0 0 210px;
    background: var(--secondary-color);
    color: white;
    border-radius: 4px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 32px;
    transition: background 0.3s ease, color 0.3s ease;
}

.buscador-filtros button[type="submit"]:hover {
    background: var(--quaternary-color);
    color: white;
}

#panel-filtros {
    background: #f3f5f7;
    margin-block: 15px;
    padding: 15px 32px;
    border-radius: 8px;
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    max-width: calc(100% - 225px);
    position: relative;
}

#panel-filtros::after {
    content: '';
    position: absolute;
    top: -10px;
    right: 32px;
    background: #f3f5f7;
    width: 20px;
    height: 20px;
    z-index: 2;
    transform: rotate(45deg);
}

#panel-filtros .grupo-filtro {
    padding-left: 30px;
    color: #6C757D;
    font-size: 15px;
    font-weight: 400;
    flex: 0 0 215px;
}

#panel-filtros .grupo-filtro+.grupo-filtro {
    border-left: 1px dashed #6C757D;
}

#panel-filtros p {
    margin-bottom: 0;
    font-weight: 700;
}

#panel-filtros input[type="checkbox"] {
    appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid gray;
    border-radius: 3px;
    position: relative;
    vertical-align: inherit;
}

#panel-filtros input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.search-results-title {
    margin-block: 45px 15px;
    font-size: 15px;
    color: #6C757D;
}

.search-results-title span {
    font-weight: 700;
    color: var(--black-color);
}

.container-fia-perfil h2 {
    font-size: var(--fs-24);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.container-fia-perfil .custom-upload-button {
    background-color: var(--black-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    height: 50px;
    min-width: 128px;
    justify-content: center;
    align-items: center;
    display: flex
}

.container-fia-perfil .custom-upload-button:hover {
    background-color: var(--secondary-color);
}

.container-fia-perfil .image-thumb {
    border: 2px solid transparent;
    cursor: pointer;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.container-fia-perfil .image-thumb.selected {
    border-color: #0073aa;
}

.container-fia-perfil #image_results {
    display: none !important;
}

.container-fia-perfil #image_results.show {
    display: flex !important;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    position: absolute;
    background: white;
    width: 460px;
    padding: 15px;
    max-width: 460px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    top: 50px;
}

.container-fia-perfil .image-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.container-fia-perfil .image-thumb-container {
    position: relative;
    flex: 1;
}

.container-fia-perfil .image-thumb {
    width: 55px;
    height: 55px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.container-fia-perfil .image-thumb.selected {
    border-color: var(--secondary-color);
}

.container-fia-perfil .check-icon {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--secondary-color);
    color: #fff;
    padding: 2px 5px;
    border-radius: 50%;
    font-size: 12px;
    display: none;
}

.container-fia-perfil .image-name {
    font-size: 14px;
    color: #333;
    max-width: 365px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 0 0 365px;
}

.user-info-form {
    display: flex;
    gap: 50px;
}

.user-info-form img {
    border-radius: 100%;
    flex: 0 0 150px;
    max-width: 150px;
    max-height: 150px;
}

.content-form {
    flex: 0 0 460px;
    max-width: 460px;
}

.content-form input {
    width: 100%;
    border: 1px solid #CED4DA !important;
    border-radius: 4px !important;
    padding: 12px 16px !important;
    font-size: var(--fs-16);
    color: #6C757D;
}

.content-form textarea {
    width: 100%;
    height: 180px;
    border: 1px solid #CED4DA !important;
    border-radius: 4px !important;
    padding: 12px 16px !important;
    font-size: var(--fs-16);
    color: #6C757D;
}

.content-form p {
    margin-bottom: 15px;
}

.inner-image-thumb-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.label {
    font-size: var(--fs-13);
    margin-bottom: 5px;
    display: block;
}

.content-form button[type="submit"] {
    background: var(--secondary-color);
    color: white;
    border-radius: 4px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 32px;
    transition: background 0.3s ease, color 0.3s ease;
}

.content-form button[type="submit"]:hover {
    background: var(--quaternary-color);
    color: white;
}

.content-form .group-input {
    margin-bottom: 15px;
}

.message-perfil {
    background: var(--primary-color);
    border-radius: 5px;
    padding: 5px 20px;
    margin-bottom: 25px;
    color: white;
    font-size: 16px;
}

.success-message {
    background: var(--primary-color);
}

.error-message {
    background: var(--secondary-color);
}

#close_gallery_btn {
    background: var(--secondary-color);
    color: white;
    position: absolute;
    bottom: -30px;
    z-index: 9;
    padding: 0;
    height: 20px;
    border-radius: 100%;
    width: 20px;
    border: none;
    font-size: 10px;
    font-weight: normal;
    left: -10px;
    top: 60px;
}

#selected_image_info {
    display: block;
    background: #f1f1f1;
    padding: 5px;
    border-radius: 4px;
    margin-top: 5px;
}

#selected_image_info strong {
    font-size: 12px;
    font-weight: normal;
}

#selected_image_info .selected-preview {
    display: flex;
    gap: 10px;
}

#selected_image_info .selected-preview img {
    flex: 0 0 30px;
    max-width: 30px;
    max-height: 30px;
}

#selected_image_info .selected-preview span {
    font-size: 12px;
    line-height: normal;
}

#selected_thumb {
    display: none;
}

input:disabled {
    background: #F0F0F0;
    color: #6C757D;
    cursor: not-allowed;
}

.filter-recursos_coleccion {
    border-radius: 4px;
    background: #E5F5F3;
    padding: 20px;
    margin-block: -40px 40px;
}

.filter-recursos_coleccion .inner_filter {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.filter-recursos_coleccion .inner_filter .first_filters,
.filter-recursos_coleccion .inner_filter .hide_inner_filter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
}

.filter-recursos_coleccion .inner_filter button {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #1A4742;
    color: #262626;
    font-size: 14px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-recursos_coleccion .inner_filter button::after {
    display: none;
}

.filter-recursos_coleccion .inner_filter .dropdown-menu {
    width: 100%;
    font-size: 14px;
    color: #262626;
    flex-direction: column;
}

.filter-recursos_coleccion .inner_filter a,
.filter-recursos_coleccion .inner_filter a:visited {
    color: #262626;
}

.filter-recursos_coleccion .inner_filter .dropdown-item.active,
.filter-recursos_coleccion .inner_filter .dropdown-item:active {
    color: white !important;
    background-color: #b1272e;
}

.filter-recursos_coleccion .footer-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.filter-recursos_coleccion .footer-filters button {
    background: transparent;
    border: none;
    color: var(--quaternary-color);
    font-weight: 700;
    font-size: 13px;
    padding: 0;
}

.filter-recursos_coleccion .footer-filters a {
    font-size: 13px;
    color: #8C8C8C;
    text-decoration: none;
}

.filter-recursos_coleccion .footer-filters a:hover {
    color: var(--secondary-color);
}

.filter-recursos_coleccion .search-title {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.filter-recursos_coleccion .search-title label {
    font-size: 13px;
    color: var(--black-color);
}

.filter-recursos_coleccion .search-title input {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #1A4742;
    color: #262626;
    font-size: 14px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 35px;
    padding-inline: 15px;
    margin-top: 5px;
    max-width: 50%;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite
}

.loader::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid var(--quaternary-color);
    animation: prixClipFix 2s linear infinite;
}

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

@keyframes prixClipFix {
    0% {
        clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)
    }

    25% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)
    }

    50% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)
    }

    75% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)
    }

    100% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)
    }
}

.body_recursos {
    position: relative;
}

#loading-recursos {
    text-align: center;
    padding: 20px;
    height: 100%;
    width: 100%;
    background: #2c776e57;
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.dropdown-elemento-melodico li:not(:first-child) a,
.button-elemento-melodico:not(.btn-todos):not(.button-filter-initial),*/
.dropdown-elemento-ritmico li:not(:first-child) a,
.button-elemento-ritmico:not(.btn-todos):not(.button-filter-initial) {
    font-family: MusiSync, sans-serif !important;
}

.matadatos-canciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    font-size: 16px;
}

.matadatos-canciones .metadato {
    padding-block: 10px;
}

.matadatos-canciones .metadato:not(:first-child):not(:nth-child(2)) {
    border-block: .5px dashed #D9D9D9;
}

.matadatos-canciones .metadato-juego_ritmos span,
.matadatos-canciones .metadato-elemento_ritmico span,
.matadatos-canciones .metadato-contexto_ritmico span,
.matadatos-canciones .metadato-motivos_ritmicos span {
    font-family: MusiSync, sans-serif !important;
}

.content-recurso .grupo-destacado {
    background: var(--quaternary-color);
    color: white;
    padding: 25px;
    margin-top: 35px;
    border-radius: 5px;
}

.carpetas-coleccion-de-canciones .content-recurso {
    max-width: 100%;
}

.content-recurso .lines-top {
    height: 20px;
    border-block: 2px solid var(--secondary-color);
    margin-bottom: 25px;
}

@media screen and (max-width: 1450px) {
    #panel-filtros {
        gap: 15px;
    }

    #panel-filtros .grupo-filtro {
        padding-left: 15px;
        flex: 0 0 150px;
    }

    #panel-filtros p,
    #panel-filtros .grupo-filtro label {
        font-size: var(--fs-13);
    }

    #panel-filtros input[type="checkbox"] {
        width: 13px;
        height: 13px;
        top: 2px;
    }

    #panel-filtros input[type="checkbox"]:checked::before {
        width: 9px;
        height: 9px;
    }
}

@media screen and (max-width: 1224px) {
    body {
        background: white !important;
    }

    .imagen-recurso {
        display: none;
    }

    .imagen-recurso.mobile-imagen-recurso {
        display: block;
    }

    .single-recursos-content>div[class*="col-md"] {
        max-width: 100%;
        width: 100%;
    }

    .single-recursos .content-recurso,
    .single-recursos .subtitulo {
        max-width: 100%;
    }

    .single-recursos .repofia-breadcrumbs {
        margin-bottom: 25px;
    }

    .single-recursos h1 {
        font-size: var(--fs-32);
    }

    .single-recursos-content {
        flex-direction: column-reverse;
    }

    .imagen-recurso img {
        margin-bottom: 15px;
    }

    .aside-recurso {
        position: relative;
        margin-bottom: 15px;
    }


    #page header#masthead {
        flex: 0 0 100%;
        min-height: auto;
    }

    .header__logo img {
        max-width: 50px;
    }

    header .header__content {
        padding: 10px 25px;
    }

    header .header__content .container_header .menunav {
        justify-content: flex-start;
    }

    header .user-info {
        position: relative;
        max-width: 100%;
        margin-top: 50px;
        bottom: 0;
    }

    footer .row>div[class*="col"]:last-child {
        text-align: center;
        margin-top: 15px;
    }

    .hamburger {
        display: flex;
        align-items: center;
    }

    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 !important;
    }

    #page main>*:first-child {
        padding-inline: 25px;
        padding-top: 25px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        min-height: calc(100dvh - 85px);
    }

    .access-page .box-login-img {
        display: none;
    }

    .access-page.entry-content {
        padding-inline: 30px;
    }

    .assigned-recursos-no-found .inner_grid_no_found {
        grid-template-columns: repeat(1, 1fr);
    }

    .recursos-no-found {
        padding: 25px;
    }

    .filter-recursos-content .filter-recursos-content-inner {
        flex: 1;
    }

    .recursos-favoritos-grid .inner_container_fia {
        gap: 15px;
    }

    .soon-tax .content-soon-tax {
        margin-bottom: 45px;
    }

    .soon-tax .recurso-item .info-item a {
        padding: 10px 15px;
    }

    .soon-tax .recurso-item .info-item {
        min-height: 127px;
    }

    .soon-tax .recurso-item .info-item h3 {
        font-size: var(--fs-16);
        padding: 15px;
    }

    .repofia-breadcrumbs {
        margin-bottom: 45px;
        /**/
    }

    .menu-mobile {
        display: block;
    }

    header .user-info {
        display: none;
    }

    .user-info.avatar-mobile {
        display: flex;
    }

    .buscador-filtros button[type="submit"] {
        flex: 0 0 20px;
        padding: 15px 20px;
    }

    .buscador-filtros button[type="submit"] span {
        display: none;
    }

    #panel-filtros {
        flex-direction: column;
        max-width: 100%;
    }

    #panel-filtros::after {
        right: 100px;
    }

    #panel-filtros .grupo-filtro {
        flex: 0 0 auto;
    }

    #panel-filtros .grupo-filtro {
        padding-left: 0;
    }

    #panel-filtros .grupo-filtro+.grupo-filtro {
        border-top: 1px dashed #6C757D;
        border-left: none;
        padding-top: 30px;
    }

    .user-info-form {
        flex-direction: column;
        gap: 25px;
    }

    .inner-image-thumb-container {
        flex-direction: column;
    }

    .container-fia-perfil .inner-image-thumb-container>.image-thumb-container {
        flex: 0 0 100%;
        width: 100%;
    }

    .container-fia-perfil #image_results.show {
        width: 100%;
        max-width: 100%;
    }

    .container-fia-perfil .image-name {
        max-width: fit-content;
    }

}

@media screen and (max-width: 768px) {

    .container-fia-perfil .image-name {
        max-width: 240px;
    }

    .container-fia-perfil .image-thumb-container {
        flex: 0 0 30px;
    }

    .matadatos-canciones {
        grid-template-columns: 1fr;
    }

    .matadatos-canciones .metadato:not(:first-child) {
        border-block: .5px dashed #D9D9D9;
    }

    .filter-recursos_coleccion .inner_filter .first_filters,
    .filter-recursos_coleccion .inner_filter .hide_inner_filter {
        grid-template-columns: 1fr;
    }

    .filter-recursos_coleccion .search-title input{
        max-width: 100%;
    }
}