/*
 Theme Name:   FCE
 Theme URI:    https://generatepress.com
 Description:  Tema hijo para GeneratePRess
 Author:       Fede Gómez
 Author URI:   https://www.fedegomez.es
 Template:     generatepress
 Version:      0.1
*/

:root {
    --main-color: #3da4ce;
    --light-gray: #f0f0f0;
    --ggs: 0.8;
}

/*CONTAINERS */
@media(max-width: 768px) {

    .separate-containers .inside-article,
    .separate-containers .comments-area,
    .separate-containers .page-header,
    .separate-containers .paging-navigation,
    .one-container .site-content,
    .inside-page-header {
        padding: 16px;
    }
}

/* ICONS */
.gg-user {
    display: inline-block;
    transform: scale(var(--ggs, 1));
    box-sizing: border-box;
    width: 12px;
    height: 14px;
}

.gg-user::after,
.gg-user::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border: 2px solid
}

.gg-user::before {
    width: 8px;
    height: 8px;
    border-radius: 30px;
    top: 0;
    left: 2px
}

.gg-user::after {
    width: 12px;
    height: 9px;
    border-bottom: 0;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    top: 9px
}

.gg-time {
    --ggs: 0.7;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    transform: scale(var(--ggs, 1));
    width: 14px;
    height: 14px;
    border-radius: 100%;
    border: 2px solid transparent;
    box-shadow: 0 0 0 2px currentColor;
    top: 2px;
}

.gg-time::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 6px;
    height: 5px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    top: 2px;
    left: 4px
}

.gg-comment {
    --ggs: 0.6;
    top: 2px;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    transform: scale(var(--ggs, 1));
    width: 20px;
    height: 16px;
    border: 2px solid;
    border-bottom: 0;
    box-shadow:
        -6px 8px 0 -6px,
        6px 8px 0 -6px
}

.gg-comment::after,
.gg-comment::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 8px
}

.gg-comment::before {
    border: 2px solid;
    border-top-color: transparent;
    border-bottom-left-radius: 20px;
    right: 4px;
    bottom: -6px;
    height: 6px
}

.gg-comment::after {
    height: 2px;
    background: currentColor;
    box-shadow: 0 4px 0 0;
    left: 4px;
    top: 4px
}

/* HEADER */
.navigation-search .search-field {
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid var(--main-color) !important;
}

.has-inline-mobile-toggle #site-navigation.has-active-search .navigation-search input {
    outline: none;
}

.main-navigation .menu-bar-items .search-item.active.close-search>a {
    background-color: var(--main-color);
}

@media (max-width: 768px) {
    .inside-header {
        padding: 6px 12px;
    }

    #mobile-menu-control-wrapper {
        margin-top: -85px;
        background: transparent;
    }

    .header-aligned-right .site-header,
    .site-header {
        text-align: center;
    }

    [class*="nav-float-"] .site-header .inside-header>* {
        float: none;
        clear: both;
    }

    .site-logo {
        width: auto;
        text-align: center;
        margin: 0 auto 10px auto;
        z-index: 999;
    }

    .has-inline-mobile-toggle .mobile-menu-control-wrapper {
        width: 100%;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .has-inline-mobile-toggle #site-navigation.has-active-search {
        margin-top: 0;
        /*
        margin-top: -50px;
        flex-basis: calc(100% - 55px);
        margin-right: 55px;
        */
    }

    button.menu-toggle {
        flex-grow: 0;
    }
}

/* GRID HERO HOME */
#grid-hero {
    position: relative;
    display: block;
    height: 450px;
    width: 100%;
    overflow: hidden;
}

.thumbnail-container {
    position: absolute;
    max-width: none;
    width: calc(100% + 50px);
    height: 100%;
    transform: translate3d(-40px, 0, 0);
    transition: all .35s;
    overflow: hidden;
    z-index: 0;
}

.thumbnail-bg {
    background-position: center center;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 0;
}

.thumbnail-bg:after {
    content: ' ';
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, #000 65%, #000 100%);
    width: 100%;
    height: 100%;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s;
}

.grid-post {
    position: absolute;
    overflow: hidden;
    cursor: pointer;
}

.post-container {
    display: block;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.grid-post:hover .thumbnail-container {
    transform: translate3d(0, 0, 0);
}

.grid-post:hover .thumbnail-bg:after {
    background: rgba(255, 255, 255, .15);
    opacity: 1;
}

.grid-content {
    position: absolute;
    padding: 20px;
    color: #fff;
    z-index: 3;
    bottom: 0;
}

.grid-content h2 {
    cursor: pointer;
    margin-bottom: 10px;
    color: #fff;
}

.grid-content .h3 {
    font-size: 20px;
}

#post-50 {
    height: 100%;
    width: 50%;
    top: 0;
    left: 0;
}

#post-25 {
    width: 25%;
    height: 100%;
    left: 50%;
}

#post-12-1,
#post-12-2 {
    height: 50%;
    width: 25%;
    left: 75%;
}

#post-12-2 {
    top: 50%;
}

.grid-content .category {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 5px;
    background-color: var(--main-color);
    color: #fff;
    border-radius: 2px;
    margin-bottom: 10px;
    display: inline-block;
    transform: translate3d(0, 25px, 0);
    transition: transform .35s;
}

.grid-post:hover .grid-content .category,
.grid-post:hover .post-info,
.grid-post:hover .post-meta-info {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.post-info {
    transform: translate3d(0, 25px, 0);
    transition: transform .35s;
    text-shadow: 1px 1px 2px black;
}

.post-meta-info {
    text-transform: uppercase;
    font-size: 12px;
    opacity: 0;
    transition: opacity .35s;
}

.post-meta-info .comments-link,
.post-meta-info .published {
    text-transform: none;
}

.post-meta-info>div {
    display: inline-block;
}

.post-meta-info a {
    color: inherit;
}

.post-meta-info .updated {
    display: none;
}

@media (max-width: 768px) {
    #grid-hero {
        height: 300px;
        display: flex;
        flex-flow: row nowrap;

    }

    .grid-content {
        padding: 10px;
        max-width: 93%;
        transition: none;
        position: static;
    }

    .post-info {
        max-width: 90%;
    }

    .grid-content h2 {
        font-size: 18px;
        display: block;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .grid-content .h3 {
        font-size: 15px;
    }

    .grid-content .category {
        font-size: 10px;
    }

    #post-50 {
        height: 55%;
        width: 100%;
    }

    .secondary-posts {
        height: 45%;
        width: 100%;
        top: 55%;
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
    }

    #post-25,
    #post-12-1,
    #post-12-2 {
        width: 80%;
        height: 100%;
        position: absolute;
        top: 0;
    }

    #post-25 {
        left: 0;
    }

    #post-12-1 {
        left: 80%;
    }

    #post-12-2 {
        left: 160%;
    }


    .grid-post:hover .thumbnail-container {
        transform: translate3d(-40px, 0, 0);
    }

    .grid-post:hover .thumbnail-bg:after {
        opacity: 0.5;
    }

    .grid-post .post-meta-info {
        display: none;
    }

    .grid-post:hover .grid-content .category,
    .grid-post:hover .post-info,
    .grid-post:hover .post-meta-info {
        transform: translate3d(0, 25px, 0);
    }

}

/* GRID 3 PRIMEROS POSTS HOME */
.grid-first-5 {
    display: flex;
    column-gap: 2em;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
}

.grid-first-5 img {
    width: 100%;
}

.grid-first-5 .image-container {
    max-height: none;
    align-items: flex-start;
}

.grid-first-1,
.grid-first-2-5 {
    width: 50%;
}

.grid-first-1 article,
.grid-first-2-5 article {
    border-bottom: 0 !important;
}

.grid-first-1 h2,
.grid-first-2-5 h2 {
    margin-bottom: 10px;
}

.grid-first-5 .post-meta-info {
    opacity: 1;
    margin-bottom: 10px;
    display: flex;
}

.grid-first-5 .comments-link {
    margin-left: auto;
}

.grid-first-1 a,
.grid-first-2-5 a {
    color: #3a3a3a;
}

.grid-first-1 a:hover,
.grid-first-2-5 a:hover {
    color: #3da4ce;
}

.grid-first-1 .grid-first-2-5 {
    flex-direction: column;
}

.grid-first-5 .excerpt {
    font-size: 14px;
}

.grid-first-2-5 article {
    padding-bottom: 0 !important;
}

.grid-first-2-5 .inside-article {
    display: flex;
    gap: 0.5em;
}

.grid-first-2-5 .inside-article>div:first-child {
    width: 30%;
}

.grid-first-2-5 .inside-article>div:last-child {
    width: 70%;
}

.grid-first-2-5 .fs14 {
    font-size: 16px;
}

@media (max-width: 768px) {
    .grid-first-5 {
        flex-direction: column;
    }

    .grid-first-1 {
        margin-bottom: 30px;
    }

    .grid-first-1,
    .grid-first-2-5 {
        width: 100%;
    }
}

/* POSTS LAYOUT */
.post-container .image .gb-inside-container {
    position: relative;
    max-height: 220px;
    overflow-y: hidden;
}

.post-container .image .dynamic-term-class {
    position: absolute;
    top: 5px;
    left: 5px;
    margin-bottom: 0;
}

.post-container .dynamic-featured-image {
    width: 100%;
}

.post-container .image .dynamic-term-class a {
    transform: none;
    transition: none;
    margin-bottom: 0;
}

.inline-post-meta-area .gb-headline {
    flex-direction: column;
}

.inline-post-meta-area .gb-inside-container {
    align-items: flex-start !important;
}

.inline-post-meta-area a {
    color: inherit;
}

.inline-post-meta-area a:hover,
.inline-post-meta-area a:focus,
.inline-post-meta-area a:active {
    text-decoration: underline;
}

.inline-post-meta-area p:last-child {
    margin-left: auto;
    margin-right: 0;
}

.post-container .dynamic-entry-excerpt {
    font-size: 14px;
}

body.home .hero .site-content {
    padding-bottom: 30px;
}

body.home .site-main article {
    border-bottom: 1px solid var(--light-gray);
    padding-top: 10px;
}

body.home .site-main article:first-child {
    padding-top: 0;
}

@media (max-width: 768px) {
    body.home .post-container .gb-inside-container {
        padding: 0;
    }

    .post-container .image .gb-inside-container {
        max-height: none;
    }

    .inline-post-meta-area .gb-headline {
        display: flex;
    }

    .inline-post-meta-area p {
        margin-right: 2px !important;
        text-align: center;
        flex: 1;
        font-size: 12px !important;
    }

    .inline-post-meta-area p:last-child {
        position: relative;
        top: -2px;
    }

    .inline-post-meta-area i {
        margin: 0 auto;
        top: 0;
    }

    .gg-comment {
        width: 18px;
        height: 14.4px;
    }

}

/* POST MÁS VISTOS */
.posts-mas-vistos {
    display: flex;

}

/* GRID POSTS */
#grid-posts {
    margin: 1em 0;
    border: 1px solid var(--light-gray);
    padding: 15px;
}

#grid-posts h3 {
    padding: 0 10px;
}

.inside-grid-posts {
    display: flex;
}

.inside-grid-posts .post-item {
    padding: 0 10px;
    flex: 1 1 0px;
    width: 0;
}

.inside-grid-posts .post-item h4 {
    font-size: 0.9em;
    font-weight: 500;
}

.inside-grid-posts .post-item img {
    max-width: 100%;
}

.inside-grid-posts a {
    color: inherit;
}

.inside-grid-posts a p {
    font-weight: bold;
}

.image-container {
    max-height: 238px;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#grid-posts.fce-custom-block {
    background-color: #232A30;
    border: 0;
    color: #fff;
}

@media (max-width: 575px) {
    .inside-grid-posts {
        flex-wrap: wrap;
    }

    .inside-grid-posts .post-item {
        flex: 100%;
        max-width: 100%;
        margin-bottom: 1em;
    }

    .inside-grid-posts .post-item:last-child {
        margin-bottom: 0;
    }

    .inside-grid-posts .post-item img {
        width: 768px;
        display: block;
        float: none;
        margin: 0;

    }
}

@media (max-width: 575px) {
    #grid-posts.fce-custom-block {
        width: 100vw;
        margin-left: -16px;
    }
}

/* POST */
.entry-header {
    border-bottom: 1px solid var(--light-gray);
}

article.post .featured-image {
    margin: 1em 0 !important;
}

article.post .entry-content {
    margin-top: 0;
}


/* PAGINACIÓN */
.paging-navigation {
    margin-top: 40px;
}

.nav-links {
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
}

.nav-links .page-numbers {
    padding: 5px 10px;
    border: 1px solid var(--light-gray);
    color: inherit;
}

.nav-links .dots {
    border: 0;
    padding: 5px;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a:active {
    color: #fff;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
}

.nav-links .current {
    background-color: var(--light-gray);
}

/* BOTONES SOCIALES */
.botones-sociales-wrapper {
    margin: 15px 0;
    padding: 15px;
    background-color: var(--light-gray);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.botones-sociales-wrapper span {
    margin-right: 5px;
    font-size: 1rem;
    font-weight: 500;
}

.boton-social {
    padding: 5px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    max-width: 30px;
    margin: 0 3px;
}

.boton-social-facebook {
    background-color: #2d88ff;
}

.boton-social-twitter {
    background-color: #1d9bf0;
}

.boton-social-whatsapp {
    background-color: #4ADF83;
}

.boton-social-meneame {
    background-color: #E35614;
}

.boton-social-share {
    background-color: #333;
    cursor: pointer;
}

.boton-social img {
    -webkit-filter: invert(1);
    filter: invert(1);
}

@media (max-width: 768px) {
    .boton-social {
        max-width: 32px;
    }

    .boton-social img {
        width: 22px;
    }
}

/* FOOTER */
.site-footer {
    font-size: 0.9em;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active {
    color: rgba(255, 255, 255, 0.7);
}

.rrss-container {
    align-items: flex-end;
}

.rrss {
    margin-right: 5px;
}

.rrss:last-child {
    margin-right: 0;
}

.footer-list {
    list-style: none;
    margin: 0;
}

.footer-list li {
    margin: 10px 0;
    font-size: 1.15em;
}

.site-footer .gb-headline {
    font-size: 1.2em;
    margin: 25px 0;
}

/* CORRECCIONES CMP */
a#qc-cmp2-persistent-link.qc-cmp2-persistent-link {
    font-weight: bold;
}
#postPromptUI {
    width: 100%;
}
#postPromptUI button {
    width: 100%;
}

@media (max-width: 768px) {

    .logo-rrss-container .gb-grid-column,
    .rrss-container {
        text-align: center;
        align-items: center;
    }
}

.twitter-tweet {
    margin: 0 auto;
}

/* WIGDET FLOTANTE */
.widget-flotante>*:first-child {
    position: -webkit-sticky;
    position: sticky;
    display: block;
    top: 0;
}

body .grid-container.grid-container--full-width {
    max-width: 100%;
}

body.brand-day .grid-container.grid-container--full-width {
    max-width: 1200px;
}

/* ADS */
.fce_ads {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.single .g.g-17 {
    margin-bottom: 1.5em;
}

.megabanner {
    width: 100%;
}

.megabanner--margen-vertical {
    margin: 20px 0;
}

.megabanner.megabanner-sombreado {
    background-color: #efefef;
}

.megabanner.megabanner--full-width-mobile {
    width: 100vw;
    margin-left: -16px;
}

.megabanner.megabanner-fixed {
    min-height: 298px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (max-width: 768px) {
    .megabanner.megabanner-fixed {
        min-height: 148px;
    }

    .megabanner.megabanner--full-width-mobile {
        margin-left: -16px;
    }
}

.robapaginas.robapaginas-fixed {
    min-height: 610px;
    min-width: 301px;
    margin: 10px 0;
}

.robapaginas.sunmedia-ad {
    min-height: 280px;
}

.fce-ad {
    height: fit-content;
    margin: auto;
}

.fce-ad--sticky {
    margin: initial;
    position: sticky;
    top: 15px;
}

#div-inimage {
    height: 0;
}

/* BLOQUE RELACIONADAS */
.bloque-relacionadas {
    background-color: var(--light-gray);
}
.bloque-relacionadas h3 {
    border-bottom: 1px solid #c4c4c4;
    padding-bottom: 10px !important;
}
.bloque-relacionadas .inside-grid-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 13px;
}
.bloque-relacionadas .inside-grid-posts .post-item {
    background-color: #fff;
    width: auto;
    padding: 10px;
    border-left: 4px solid #3DA4CE;
    margin-bottom: 0;
}
.bloque-relacionadas .inside-grid-posts .post-item p {
    margin-bottom: 0;
    font-size: 16px;
}

@media (max-width: 768px) {
    .bloque-relacionadas .inside-grid-posts .post-item .image-container {
        min-height: 88px;
    }
}

@media (min-width: 769px) {
    .bloque-relacionadas .inside-grid-posts {
        grid-template-columns: repeat(4, 1fr);
    }
    .bloque-relacionadas .inside-grid-posts .post-item .image-container {
        min-height: 114px;
    }
}

/* STICKY */
@media (max-width: 768px) {
    .sticky-section {
        position: fixed;
        padding: 5px 0;
        z-index: 2147483641;
        margin-bottom: 0;
        width: 100%;
        left: 0;
        text-align: center;
        background-color: #f1f1f1;
        -webkit-box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
        box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
        -webkit-transition: bottom .4s ease-in-out;
        transition: bottom .4s ease-in-out;
    }

    .sticky-section.oculta {
        bottom: -150px;
    }

    .sticky-section.visible {
        bottom: 0;
    }

    .sticky-section .sticky-close {
        color: #000;
        position: absolute;
        visibility: visible;
        width: 28px;
        height: 28px;
        top: -28px;
        right: 0;
        background-color: #f1f1f1;
        -webkit-box-shadow: 0 -1px 1px 0 rgb(0 0 0 / 20%);
        box-shadow: 0 -1px 1px 0 rgb(0 0 0 / 20%);
        border: none;
        border-radius: 12px 0 0;
        background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0nMTMnIGhlaWdodD0nMTMnIHZpZXdCb3g9JzM0MSA4IDEzIDEzJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxwYXRoIGZpbGw9JyM0RjRGNEYnIGQ9J00zNTQgOS4zMUwzNTIuNjkgOGwtNS4xOSA1LjE5TDM0Mi4zMSA4IDM0MSA5LjMxbDUuMTkgNS4xOS01LjE5IDUuMTkgMS4zMSAxLjMxIDUuMTktNS4xOSA1LjE5IDUuMTkgMS4zMS0xLjMxLTUuMTktNS4xOXonIGZpbGwtcnVsZT0nZXZlbm9kZCcvPjwvc3ZnPg==);
        background-size: 13px 13px;
        background-repeat: no-repeat;
        background-position: center;
    }
}

@media (min-width: 769px) {
    .sticky-section {
        position: fixed;
        padding: 7px;
        z-index: 100;
        margin-bottom: 0;
        max-height: 90px;
        left: 50%;
        -webkit-transform: translate(-50%,0);
        transform: translate(-50%,0);
        text-align: center;
        background-color: #f1f1f1;
        -webkit-box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
        box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
        -webkit-transition: bottom .4s ease-in-out;
        transition: bottom .4s ease-in-out;
    }

    .sticky-section.oculta {
        bottom: -150px;
    }

    .sticky-section.visible {
        bottom: 0;
    }

    .sticky-section .sticky-close {
        color: #000;
        cursor: pointer;
        position: absolute;
        visibility: visible;
        width: 28px;
        height: 22px;
        top: -22px;
        right: 0;
        background-color: #f1f1f1;
        -webkit-box-shadow: 0 -1px 1px 0 rgb(0 0 0 / 20%);
        box-shadow: 0 -1px 1px 0 rgb(0 0 0 / 20%);
        border: none;
        border-radius: 12px 12px 0 0;
        background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0nMTMnIGhlaWdodD0nMTMnIHZpZXdCb3g9JzM0MSA4IDEzIDEzJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxwYXRoIGZpbGw9JyM0RjRGNEYnIGQ9J00zNTQgOS4zMUwzNTIuNjkgOGwtNS4xOSA1LjE5TDM0Mi4zMSA4IDM0MSA5LjMxbDUuMTkgNS4xOS01LjE5IDUuMTkgMS4zMSAxLjMxIDUuMTktNS4xOSA1LjE5IDUuMTkgMS4zMS0xLjMxLTUuMTktNS4xOXonIGZpbGwtcnVsZT0nZXZlbm9kZCcvPjwvc3ZnPg==);
        background-size: 11px 11px;
        background-repeat: no-repeat;
        background-position: center;
    }
}

/* NOTIFICACIONES */
#dialog_notificaciones {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000000;
    width: 480px;
    padding: 15px;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 8px 0 rgb(0 0 0 / 20%), 0 3px 4px 0 rgb(0 0 0 / 14%), 0 3px 3px -2px rgb(0 0 0 / 12%);
    box-shadow: 0 1px 8px 0 rgb(0 0 0 / 20%), 0 3px 4px 0 rgb(0 0 0 / 14%), 0 3px 3px -2px rgb(0 0 0 / 12%);
}

#dialog_notificaciones .dialog-titulo {
    font-size: 17px;
    font-weight: 700;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

#dialog_notificaciones .dialog-titulo img {
    height: 64px;
    width: 64px;
}

#dialog_notificaciones .dialog-actions {
    margin-top: 27px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    float: right;
    width: 65%;
}

#dialog_notificaciones .dialog-actions a {
    padding: 10px;
    text-align: center;
    width: 50%;
    -webkit-box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%), 0 1px 1px 0 rgb(0 0 0 / 14%), 0 2px 1px -1px rgb(0 0 0 / 12%);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%), 0 1px 1px 0 rgb(0 0 0 / 14%), 0 2px 1px -1px rgb(0 0 0 / 12%);
}

#dialog_notificaciones .dialog-actions .denegar-btn {
    background-color: #d6dbde;
    color: #000;
}

#dialog_notificaciones .dialog-actions .permitir-btn {
    margin-left: 10px;
    background-color: #fe9600;
    color: #fff;
    font-weight: 700;
}

#dialog_notificaciones p {
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* SIDEBAR */
@media (max-width: 768px) {
    #right-sidebar .widget {
        text-align: center;
    }
}

@media (min-width: 769px) {
    #right-sidebar {
        width: 300px;
    }

    body:not(.no-sidebar) #primary {
        width: calc(100% - 300px);
    }
}

.taxonomy-description {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
}

#breadcrumbs {
    font-size: 13px;
    color: rgba(119, 119, 119, .7);
    padding-top: 15px;
}

#breadcrumbs div::-webkit-scrollbar {
    display: none;
}

#breadcrumbs div {
    padding: 0 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
}

#breadcrumbs p {
    width: max-content;
    margin-bottom: 0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    #breadcrumbs div {
        padding: 0 16px;
    }
}

.p-nomargin {
    margin-bottom: 0;
}

/* BARRA SEO */
#custom_html-20,
#execphp-2 {
    width: 100%;
}

.deeplinking-header-wrapper {
    height: 27px;
    width: 100%;
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: 5px;
    margin-top: -5px
}

.deeplinking-header-wrapper .deeplinking-header-section {
    height: 100%;
    margin: auto;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.deeplinking-header-wrapper .deeplinking-header-section .deeplinking-title {
    color: var(--main-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    white-space: nowrap;
}

.deeplinking-header-wrapper .deeplinking-header-section .deeplinking-title:after {
    content: '>';
    margin-left: 8px;
    margin-right: 15px;
}

.deeplinking-header-wrapper .deeplinking-header-section .deeplinking-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.deeplinking-header-wrapper .deeplinking-header-section .deeplinking-list::-webkit-scrollbar {
    display: none;
}

.deeplinking-header-wrapper .deeplinking-header-section .deeplinking-list li {
    padding: 3px 0;
    font-size: 14px;
    white-space: nowrap;
    margin-bottom: 0;
}

.deeplinking-header-wrapper .deeplinking-header-section .deeplinking-list li a:hover {
    color: var(--main-color);
}

.deeplinking-header-wrapper .deeplinking-header-section .deeplinking-list li.deeplinking-list__item:not(:last-of-type):after {
    content: '-';
    color: #999;
    font-weight: 700;
    margin-left: 8px;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .inside-top-bar {
        padding: 10px 16px 0 16px;
    }

    .deeplinking-header-wrapper {
        border-bottom: none;
    }
}


/* OTHERS */
div[id^="sas_container_"] {
    width: auto !important;
    height: auto !important;
}

/* diccionario */
#lista-terminos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 0 40px 20px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#lista-terminos li {
    list-style: disc !important;
    padding: 0 0 12px 0;
    width: calc(50% - 10px);
}

#indice-diccionario {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 0 40px;
}

#indice-diccionario li {
    list-style: none !important;
    width: 10%;
    padding-bottom: 10px;
    font-size: 1.3em;
    text-align: center;
}

.buscador-diccionario {
    padding: 1em;
    background-color: #f1f1f1;
    margin-bottom: 1em;
}

.autocomplete-diccionario {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
    width: 100%;
}

.autocomplete-diccionario input {
    border: 1px solid #bfbfbf;
    background-color: #fff;
    padding: 10px;
    font-size: 16px;
}

.autocomplete-diccionario input[type=text] {
    background-color: #fff;
    width: 100%;
}

.autocomplete-diccionario input[type=submit] {
    background-color: DodgerBlue;
    color: #fff;
}

.autocomplete-diccionario .autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-diccionario .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-diccionario .autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}

.autocomplete-diccionario .autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}

/* caption imágenes */
.wp-caption .wp-caption-text {
    padding-top: 15px;
    text-align: center;
    line-height: normal;
}

#grid-posts .wp-caption {
    margin-bottom: 0;
}

#grid-posts .wp-caption .wp-caption-text {
    display: none;
}

/* conversor */
.conversor {
    padding: 2em;
    background-color: #f1f1f1;
    display: flex;
}

.conversor .unidad_a,
.conversor .unidad_b {
    width: 45%;
}

.conversor input {
    width: 100%;
    text-align: right;
    padding-right: 10px;
    color: #3ea4ce;
    font-weight: bold;
    font-size: 1.3em;
}

.conversor input::-webkit-inner-spin-button {
    margin-left: 10px;
}

.conversor .separador_unidades {
    width: 10%;
    text-align: center;
    align-self: center;
    margin-top: 1em;
    font-size: 1.5em;
}

@media (max-width: 768px) {
    .conversor {
        flex-direction: column;
    }

    .conversor .unidad_a,
    .conversor .unidad_b {
        width: 100%;
    }
}