/*
Theme Name:     AnfibiaPress
Theme URI:      https://revistaanfibia.com/
Description:    Theme para Revista Anfibia
Author:         Broobe
Author URI:     https://www.broobe.com
Template:       generatepress
Version:        1.0
Text Domain:    anfibiapress
*/

/** Fonts **/
@font-face {
    font-family: Roboto;
    src: url(./assets/fonts/Roboto-Thin.ttf);
    font-weight: 100;
    font-display: auto;
}

@font-face {
    font-family: Roboto;
    src: url(./assets/fonts/Roboto-Light.ttf);
    font-weight: 300;
    font-display: auto;
}

@font-face {
    font-family: Roboto;
    src: url(./assets/fonts/Roboto-Regular.ttf);
    font-weight: 400;
    font-display: auto;
}

@font-face {
    font-family: Roboto;
    src: url(./assets/fonts/Roboto-Medium.ttf);
    font-weight: 500;
    font-display: auto;
}

@font-face {
    font-family: Roboto;
    src: url(./assets/fonts/Roboto-Bold.ttf);
    font-weight: 700;
    font-display: auto;
}

/*@font-face {*/
/*    font-family: Roboto;*/
/*    src: url(./assets/fonts/Roboto-Black.ttf);*/
/*    font-weight: 900;*/
/*    font-display: auto;*/
/*}*/

/*@font-face {*/
/*    font-family: "Roboto Condensed";*/
/*    src: url(./assets/fonts/RobotoCondensed-Light.ttf);*/
/*    font-weight: 300;*/
/*    font-display: auto;*/
/*}*/

/*@font-face {*/
/*    font-family: "Roboto Condensed";*/
/*    src: url(./assets/fonts/RobotoCondensed-Regular.ttf);*/
/*    font-weight: 400;*/
/*    font-display: auto;*/
/*}*/

@font-face {
    font-family: "Roboto Condensed";
    src: url(./assets/fonts/RobotoCondensed-Bold.ttf);
    font-weight: 700;
    font-display: auto;
}

/*@font-face {*/
/*    font-family: Merriweather;*/
/*    src: url(./assets/fonts/Merriweather-Light.ttf);*/
/*    font-weight: 300;*/
/*    font-display: auto;*/
/*}*/

@font-face {
    font-family: Merriweather;
    src: url(./assets/fonts/Merriweather-Regular.ttf);
    font-weight: 400;
    font-display: auto;
}

/*@font-face {*/
/*    font-family: Merriweather;*/
/*    src: url(./assets/fonts/Merriweather-Bold.ttf);*/
/*    font-weight: 700;*/
/*    font-display: auto;*/
/*}*/

@font-face {
    font-family: Merriweather;
    src: url(./assets/fonts/Merriweather-Black.ttf);
    font-weight: 900;
    font-display: auto;
}

@font-face {
    font-family: Tungsten;
    src: url(./assets/fonts/Tungsten-Bold.ttf);
    font-weight: 700;
    font-display: auto;
}

body {
    font-family: Roboto, sans-serif;
}

/** Header **/
.mobile-header-navigation .sticky-navigation-logo {
    display: flex !important;
    order: 1;
    align-items: center;
    margin: 0 auto;
}

header .lsi-social-icons li, .footer-widgets .lsi-social-icons li {
    margin: 4px 8px 4px 0 !important;
}

.site-header .header-image,
.site-header .site-logo-secondary img,
.site-header .sticky-navigation-logo .primary-logo img,
.mobile-header-navigation .site-logo-primary img, .mobile-header-navigation .site-logo-secondary img {
    height: 30px;
    vertical-align: middle;
}

.mobile-header-navigation .site-logo-secondary,
.site-header .site-logo-secondary {
    border-left: 1px solid #FFB5A9;
}

.main-navigation.slideout-navigation .main-nav {
    margin-bottom: 0;
}

.navigation-search.nav-search-active {
    top: 70px;
}

.off-canvas-search.wp-block-search .wp-block-search__input {
    background-color: #FFB5A9;
    color: #FFFFFF;
    flex-grow: initial;
}

.slideout-widget {
    margin: 10px 0 !important;
    padding: 0 10px;
}

.mobile-sharer-btn {
    padding: 0 11px;
    border: none;
    background-color: transparent;
    display: block;
    line-height: 70px;
    text-align: center;
    width: 44px;
}

.mobile-sharer-btn svg {
    width: 100%;
    height: 100%;
}

.mobile-sharer-btn:hover {
    background-color: transparent;
}

.mobile-sharer ul {
    display: none !important;
    position: absolute;
    right: 0;
    top: 69px;
    width: 37px;
}

.mobile-sharer ul li {
    display: block !important;
    margin-right: 0 !important;
}

.mobile-sharer ul {
    background-color: #6653FF;
    z-index: 20;
}

.mobile-sharer ul li a {
    color: #ffffff;
    font-size: 22px !important;
}

.mobile-sharer ul li a:hover {
    background-color: #FFB5A9;
}

.mobile-sharer.show ul {
    display: block !important;
}

.mobile-sharer-btn[aria-expanded="true"] {
    background-color: #6653FF;
}

.mobile-sharer-btn[aria-expanded="true"] .gp-icon svg:last-child {
    display: block;
}

.mobile-sharer-btn[aria-expanded="false"] .gp-icon svg:last-child {
    display: none;
}

.mobile-sharer-btn[aria-expanded="true"] .gp-icon svg:first-child {
    display: none;
}

.site-header .site-logo {
    order: 0;
}

.site-header .header-widget {
    order: 1;
    margin-left: 10px;
}

.site-header .main-navigation.has-sticky-branding {
    order: 2;
}

.main-navigation .menu-bar-items {
    order: 0;
}

.main-navigation.has-sticky-branding .main-nav {
    order: 1;
}

.mobile-header-navigation .mobile-header-logo {
    margin: 0 auto !important;
}

.mobile-header-navigation .menu-toggle {
    order: 0 !important;
}

.mobile-header-navigation .mobile-header-logo {
    order: 1 !important;
}

.mobile-header-navigation .mobile-sharer-btn {
    order: 2 !important;
}

.site-logo.mobile-header-logo img {
    width: 250px !important;
}

.sticky-navigation-logo, .site-logo-primary, .sticky-navigation-logo .site-logo-secondary {
    display: inline-block;
}

.sticky-navigation-logo, .site-logo-primary img, .sticky-navigation-logo .site-logo-secondary img {
    height: 30px !important;
    padding: 0 !important;
}

/** End of Header **/

/** anfibia-category-menu **/
.anfibia-category-menu {
    list-style: none;
    margin: 0;
    text-align: center;
}

.anfibia-category-menu li {
    color: #ffffff;
    text-transform: uppercase;
    font-family: Tungsten, sans-serif;
    font-weight: 700;
    font-size: 32px;
    background-color: #F8AC9F;
    display: inline-block;
    margin-right: 5px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.anfibia-category-menu li:hover {
    background-color: #222222;
}

.anfibia-category-menu li a {
    color: inherit;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    padding: 5px 15px;
}

/** End of anfibia-category-menu **/

/** Footer **/
.inside-footer-widgets {
    align-items: center;
}

.footer-widgets .widget_nav_menu li {
    position: relative;
    display: inline-block;
    padding-right: 5px;
}

.footer-widgets .widget_nav_menu li {
    font-weight: 700;
}

.footer-widgets .widget_nav_menu li:after {
    content: '';
    height: 60%;
    width: 1px;
    position: absolute;
    right: 0;
    top: 20%;
    background-color: #ffffff;
}

.footer-widgets .widget_nav_menu li:last-child:after {
    display: none;
}

.footer-widgets .gallery-item {
    border-right: 2px solid #FFB5A9;
    margin-right: 5px;
    max-width: calc(33.33% - 5px);
}

.footer-widgets .gallery-item:last-child {
    border-right: none;
}

.footer-widget-1 .widget_lsi_widget {
    margin-bottom: 10px;
}

.site-info {
    display: none;
}

.footer-widget-3 {
    margin: 0 auto 0 0;
}

.footer-widget-3 img {
    width: 130px;
    height: 30px;
    vertical-align: middle;
}

/** End of Footer **/

/** PLUGIN broobe-blocks **/
.post-link, .post-link:hover, .post-link:active, .post-link:focus, .category-link, .category-link:hover, .category-link:focus, .category-link:active, .author-link, .author-link:active, .author-link:focus, .author-link:hover, .slug-link, .slug-link:hover, .slug-link:active, .slug-link:focus {
    color: inherit;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
}

.broobe-blocks-cpt-cronoslab .cpt-carousel-item img {
    width: 300px;
    height: 300px;
    -o-object-fit: cover;
    object-fit: cover;
    padding: 15px;
    background: #fff;
    border: 6px solid #6653ff;
    margin: 0 auto;
}

.post-flex-container .post-column .image-container .post-type.ensayo {
    background-color: #6653FF;
}

.post-flex-container .post-column .image-container .post-type.cronica {
    background-color: #F8AC9F;
}

/** End of PLUGIN broobe-blocks **/

/** Gutenberg changes **/
.wp-block-separator.is-style-wide {
    height: 4px;
}

.gb-grid-wrapper .wp-block-image {
    margin-bottom: 1em !important;
}

/** End of Gutenberg changes **/

/** LSI -- Lightweight Social Icons **/
.lsi-social-icons li a {
    padding: 5px !important;
}

/** End of LSI -- Lightweight Social Icons **/

/** Helpers **/
.center-content {
    text-align: center;
}

.font-tungsten {
    font-family: Tungsten, sans-serif;
}

.font-merriweather {
    font-family: Merriweather, sans-serif;
}

.font-roboto-condensed {
    font-family: "Roboto Condensed", sans-serif;
}

.font-700 {
    font-weight: 700;
}

.font-900 {
    font-weight: 900;
}

.no-margin {
    margin: 0 !important;
}

.uppercase {
    text-transform: uppercase;
}

/** End of Helpers **/

/** Textos Page -- Category Archive **/
.anfibia-custom-page-title {
    background-color: #FFB9B9;
    /*background-position: center;*/
    background-size: cover;
    background-repeat: no-repeat;
}

.inside-anfibia-custom-page-title {
    padding: 100px 100px 60px 100px;
}

.anfibia-custom-page-title .custom-title {
    color: #222222;
    font-size: 159px;
    line-height: 140px;
    margin-bottom: 40px;
}

.anfibia-custom-page-title .anfibia-category-menu li {
    background-color: #6653ff;
}

.anfibia-custom-page-title .anfibia-category-menu li.active {
    background-color: #222222;
}

.anfibia-custom-page-title .anfibia-category-menu li:hover {
    background-color: #222222;
}

.category.archive .anfibia-post-grid-container, .archive.tax-text_type .anfibia-post-grid-container {
    padding: 40px;
}

/** End of Textos Page -- Category Archive **/


/** Tag Archive **/
.tag-content-container, .tag.archive .anfibia-post-grid-container {
    padding: 40px;
}

.tag-background-container {
    background-color: #6653FF;
    width: 100%;
    height: 475px;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tag-background-container .tag-title {
    font-size: 60px;
}

/** End of Tag Archive **/

/** Search **/
.search .anfibia-post-grid-container {
    padding: 40px;
}

.search .inside-right-sidebar {
    margin-top: 0;
}

.search .anfibia-custom-page-title .custom-title {
    font-size: 60px;
    line-height: 60px;
}

.search.search-results .post-flex-container {
    justify-content: initial;
}

/** End of Search **/

/** 404 **/
.error404 .site-main {
    margin: 0;
}

body.error404 {
    background-color: #FFB9B9;
}

.error404 .inside-article {
    background-color: #FFB9B9;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error404 .inside-article .entry-header h1 {
    text-align: center;
    font-size: 80px;
    line-height: 80px;
    font-family: Tungsten, sans-serif;
    font-weight: 700;
}

/** End of 404 **/

@media (max-width: 1200px) {
    .main-title {
        font-size: 20px;
    }

    .main-navigation a {
        font-size: 13px;
    }

    .main-navigation .main-nav ul ul li a {
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .menu-bar-items .search-item {
        display: none;
    }

    .anfibia-custom-page-title .anfibia-category-menu {
        display: none;
    }

    .error404 .inside-article .entry-header h1 {
        font-size: 60px;
        line-height: 60px;
    }

    .anfibia-custom-page-title {
        background-image: none !important;
    }

    .inside-anfibia-custom-page-title {
        padding: 80px 80px 40px 80px;
    }

    .site-content .content-area {
        width: 100%;
    }

    .is-left-sidebar.sidebar, .is-right-sidebar.sidebar {
        display: none;
    }

    .single-workshops #content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .tag-background-container{
        height: 300px;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .footer-widgets .widget_nav_menu li {
        font-size: 18px;
    }

    .footer-widgets .footer-widget-2 .textwidget {
        font-size: 12px;
    }


    .anfibia-custom-page-title .custom-title {
        margin-bottom: 20px;
        font-size: 68px;
        line-height: 100px;
    }

    .reverse-mobile .gb-grid-wrapper {
        flex-direction: row-reverse;
    }

    .inside-anfibia-custom-page-title {
        padding: 40px 40px 20px 40px;
    }

    .error404 .inside-article .entry-header h1 {
        font-size: 40px;
        line-height: 40px;
    }
}

@media (min-width: 1025px) {
    .main-navigation .main-nav ul li.menu-item-has-children > a {
        padding-right: 10px;
    }

    .menu-item-has-children .dropdown-menu-toggle {
        display: none;
    }
}