/*
Theme Name:   generatepress child theme
Description: Tema hijo para hacer personalizaciones de código
Author:       Corus Consulting.
Author URL:  https://www.corusconsulting.com/
Template:     generatepress
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  generatepress-child
*/

/* GENERAL */

/*---------Twitter-----*/

.footer_bottom_holder .fa-twitter-square:before {
    content: "";
    background-image: url(/wp-content/themes/bridge-child/static/img/x-twitter-efesport.svg);
    width: 19px;
    height: 22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    position: relative;
    top: 5px;
    color: transparent;
    border-radius: 5px;
    display: inline-block;
    filter: brightness(0) invert(1);
}

.footer_bottom_holder a[href*="twitter"]:hover .fa-twitter-square:before {
    background-image: url(/wp-content/themes/bridge-child/static/img/x-twitter-efesport.svg);
}

/* Banners*/
.banner_sticky {
    display: none;
    position: fixed;
    bottom: 0;
    z-index: 999999;
    width: 100%;
    text-align: center;
    background: transparent;
}
.banner_sticky .close-button {
    position: absolute;
    z-index: 9999;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.banner_sticky #div-gpt-ad-banner_3>div,
.banner_sticky #div-gpt-ad-banner_5>div {
    background: #F4F4F4;
    padding: 30px 20px 20px 20px;
}
.banner_sticky .fa-times-circle {
  position: absolute;
  left: 15px;
  top: 5px;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.stick {
    position: fixed;
    top: 90px;
    z-index: 10;
    width: 100%;
    background: #fff;
}
.fixed {
    position: fixed;
    top: 0;
}
.absolute {
    position: absolute;
    bottom: 0;
}
.banner_top {
    background-color: #ffffff;
    text-align: center;
    padding: 20px 0;
}
.banner_top > div {
    background-color: white;
}
.home_banner-5 #google_image_div{
    position: relative!important;
}

/* MENU */
.main-navigation .header-rrss{
	margin: 10px 20px 10px 0;
}
.main-navigation .header-rrss .wp-block-button__link{
	display: flex;
}
.main-navigation .header-rrss a:hover img{
/*	filter: brightness(0) invert(0.2);*/
filter: grayscale(100%);
}


/*Searcher*/
.search-open-button{display: none!important;}
.header-searcher{position: relative; display: none;}
.display{display: inline-block;}
.header-searcher input {
  min-width: 15em;
  height: 30px !important;
  /*position: relative;
  top: 7px;*/
  border: none;
  border-bottom: 1px solid #0F4171!important;
  padding-right: 40px;
  background-color: #fff!important;
}
.header-searcher button{
    position: absolute;
    right: 0;
    padding: 2px 5px 0;
}


/* HOME */
/*.home .anwp-row{
  margin: 0!important;
}*/
.home-title .elementor-heading-title a::before {
  content: "";
  width: 25px;
  height: 25px;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 5px;
  position: relative;
  top: 5px;
}
.noticias-title .elementor-heading-title a::before {
  background-image: url(/wp-content/uploads/2023/04/noticias.png);
}
.foros-title .elementor-heading-title a::before {
  background-image: url(/wp-content/uploads/2023/04/foros.png);
}

.sponsors-title .elementor-heading-title a::before {
  background-image: url(/wp-content/uploads/2023/04/sponsor.png);
}

:is(.main-block, .second-block, .third-block) .anwp-pg-post-teaser__category-column{
  position: relative!important;
}

:is(.main-block, .second-block, .third-block) .anwp-pg-post-teaser__category-wrapper{
  padding: 0!important;
}
:is(.main-block, .second-block, .third-block) .anwp-pg-post-teaser__category-wrapper span{
  font-size: 15px;
  line-height: 18px;
  font-weight: normal;
}
:is(.main-block, .second-block, .third-block) .anwp-pg-post-teaser__content{
  padding: 15px 0 0 !important;
}
.post-no-image .anwp-pg-post-teaser__thumbnail{
  display: none;
}
.home .anwp-pg-post-teaser__bottom-meta{display: none!important;}

.home .anwp-pg-wrap .anwp-pg-post-teaser--layout-d .anwp-pg-post-teaser__excerpt {
  font-size: 14px;
  line-height: 20px;
}


/* Lineas divisorias home */

.anwp-pg-wrap .anwp-pg-classic-grid .anwp-pg-post-teaser__content{border: none!important;}



/* SINGLE */
.single .site.grid-container {
  margin: 40px auto;
  padding: 0 20px;
}

.single .inside-article .wp-caption{
    margin-top: -2em;
}
/*.single .featured-image img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}*/
.single .site-content{
    margin-bottom: 40px;
    gap: 0 20px;
}
.single .entry-title{
    font-size: 34px!important;
    color:  #111!important;
}
.single .content-area{
    padding: 0!important;
}
.single .content-area h2{
    font-size: 28px!important;
    font-weight: bold;
}
.single .content-area h3{
    font-size: 24px!important;
    font-weight: bold;
}
.single .content-area h4{
    font-size: 22px!important;
    font-weight: bold;
}
.single .sidebar .widget {
/*    background-color: #F7F8F9;*/
/*    padding: 20px;*/
padding: 0;
    margin-bottom: 20px;
    width: 100%!important;
}
.single .inside-article {padding: 0!important}
/*.single .inside-right-sidebar{
    margin-right: 20px;
    margin-left: 20px;
}*/
.single .content-area{
    padding: 0 20px;
}
.single .entry-title {
    margin-bottom: 0;
    color: #000000;
    font-family: "Roboto", Sans-serif;
    font-weight: 600;
    line-height: 1.2em;
    margin-bottom: 30px;
}
.single .entry-meta .byline{
    display: none;
}
.single .entry-meta .post-navigation{
    display: none;
}
.single .widget_recent_entries a {
    font-size: 14px;
    line-height: 18px;
    color: #222;
}
.single .widget_recent_entries a:hover {
    color: #477698;
}
.single .widget_recent_entries li {
    line-height: 18px;
    margin: 0 !important;
    border-bottom: 1px dashed #bbb;
    padding: 20px 0;
}
.single .entry-content a{
    color: #477698;
    font-weight: 700;
}
.single .entry-content a:hover{
    color: #477698;
    font-weight: 700;
    text-decoration: underline;
}
.single .entry-meta{
    margin-bottom: 20px;
}

/* PÁGINA BUSCADOR SIN RESULTADOS */

.search-no-results .site.grid-container{
    height: 70vh;
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-no-results .no-results{
    max-width: 500px;
        text-align: center;
}
.search-no-results .entry-title {
    color: #0F4171;
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 600;
    line-height: 36px;
}

/* PÁGINAS ARCHIVE Y BUSCADOR */
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category)  #page.site{
/*    margin-top: 100px!important;*/
    margin: 40px auto;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .page-header {
  margin: 20px!important;
}

:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .page-title {
    font-size: 30px;
    line-height: 34px;
    text-align: center;
    color: #477698;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .page-title span {
    font-weight: bold;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .taxonomy-description {
    text-align: center;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) section {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: stretch;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) article {
    padding: 20px !important;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .entry-title{
    font-family: "Roboto", Sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    line-height: 24px;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .entry-title a {
    color: #222222;
    font-family: "Roboto", Sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    line-height: 24px;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) article img {
    height: 200px !important;
    object-fit: cover;
    object-position: center;
/*    border-radius: 10px !important;*/
    width: 100%!important;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) article img:hover{
    transition: all 0s ease-in-out;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .inside-article {
    display: flex;
    flex-wrap: wrap;
/*    align-items: stretch;*/
    height: auto!important;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .entry-header{
    order: 2;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .post-image{
    order: 1;
    margin-top: 0!important;
    margin-bottom: 20px!important;
    width: 100%!important;
    height: 200px;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .post-image a{
    display: inline-block;
    width: 100%!important;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) article .entry-summary {
    font-size: 14px;
    order: 3;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .entry-meta{
    order: 4;
}
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) .paging-navigation {
    text-align: center;
}

.separate-containers .inside-article{
    padding: 0!important;
}



/* FOOTER */
.site-footer {
  border-top: 1px solid #9BD5E1;
  padding-top: 20px;
}
.footer-logo{
	margin-bottom: 20px;
}
.copyright-text{
  font-size: 14px;
  line-height: 18px;
  color: #707070;
}
.copyright-text span {
  display: block;
  color: #0F4171;
}
.footer-menu {
  padding: 5px 20px;
  border-radius: 16px;
}
.footer-menu button {
    display: none;
}
.footer-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
}
.footer-menu li{
    line-height: 17px;
}
.footer-menu a {
 	font-size: 14px;
 	line-height: 17px;
    text-decoration: none;
}
.footer-menu a:hover{
opacity: 0.8;
}
.footer-menu li:not(:last-child) a::after {
  content: "|";
  padding: 0 15px 0 20px;
}
.footer-rrss a:hover img{
/*	filter: brightness(0) invert(0.2);*/
	filter: grayscale(100%);
}
.site-footer{
    margin-bottom: 100px;
}
.fixed-newsletter {
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 9;
}

/* SIDEBAR */
:is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) aside {
/*  background-color: #F4F4F4 !important;*/
  margin-bottom: 20px!important;
  padding: 0!important;
}




/* MEDIA QUERIES */
@media (min-width: 768px) and (max-width: 992px){
    .main-navigation .header-rrss {
      margin: 10px 80px 10px 0;
    }
}
@media (max-width: 992px){
    .main-navigation a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items{ /* Este es un error de plantilla ya que pone line-height: 22; y no marca la unidad (px,em,...)*/
        line-height: 40px!important;
    }
}
@media (min-width: 768px){
   .main-navigation .header-rrss{
		position: absolute;
		right: 0;
	} 
    .home .anwp-pg-classic-grid .anwp-pg-post-teaser{
        margin-bottom: 15px;
    }

    /* Lineas divisorias primer bloque home*/
    .border-dashed-right::after{content: "";border-right: 1px dashed #9BD5E1!important;}
    .border-dashed-bottom::after{content: "";border-bottom: 1px dashed #9BD5E1;width: 100%;display: inline-block;}
    
    .inside-border-dashed-bottom .anwp-pg-post-teaser::after{content: "";border-bottom: 1px dashed #9BD5E1;position: relative;top: 15px;}
    .inside-border-dashed-top .anwp-pg-post-teaser::before{content: "";border-top: 1px dashed #9BD5E1;}

    .border-solid-right::after{content: "";border-right: 1px solid #9BD5E1;left: 0;position: relative;}
    .border-solid-bottom::after{content: "";border-bottom: 1px solid #9BD5E1;width: 100%;display: inline-block; position: relative;top: 0;}
    .border-solid-top::before{content: "";border-top: 1px solid #9BD5E1;width: 100%;display: inline-block; position: relative;top: 0;padding-bottom: 15px;}

    /* Lineas divisorias segundo bloque home*/
    .home .second-block .post-block .anwp-pg-post-teaser:nth-child(-n+3):after{
        content: "";
        border-bottom: 1px dashed #9BD5E1;
        top: 15px;
        position: relative;
        margin-bottom: 15px;
    }
    .home .second-block .post-block .anwp-pg-post-teaser{position: relative;}
    .home .second-block .post-block .anwp-pg-post-teaser:nth-child(2):before, 
    .home .second-block .post-block .anwp-pg-post-teaser:nth-child(3):before,  
    .home .second-block .post-block .anwp-pg-post-teaser:nth-child(5):after, 
    .home .second-block .post-block .anwp-pg-post-teaser:nth-child(6):after{
        content: "";
        border-right: 1px dashed #9BD5E1;
        left: 0;
        position: absolute;
        height: 100%;
    }
    /* Lineas divisorias tercer bloque home */
    .home .third-block .post-block .anwp-pg-post-teaser{position: relative;}
    .home .third-block .post-block .anwp-pg-post-teaser:nth-child(2):before,
    .home .third-block .post-block .anwp-pg-post-teaser:nth-child(3):before{
        content: "";
        border-right: 1px dashed #9BD5E1;
        left: 0;
        position: absolute;
        height: 100%;
    }
    .home .third-block .aside-post:before{
        content: "";
        border-right: 1px dashed #9BD5E1;
        left: 0;
        position: absolute;
        height: 100%;
    }

    :is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category, .single) .content-area {
        width: calc(100% - 300px)!important;
    }
    :is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category, .single) #right-sidebar {
        width: 300px!important;
    }


}

@media (max-width: 767px) {
    .home .elementor-widget-anwp-pg-classic-grid:not(.main-post) .anwp-pg-classic-grid .anwp-pg-post-teaser{
        margin-bottom: 40px;
    }
    .post-block>div::after{
        content: "";
        border-bottom: 1px solid #9BD5E1;
        position: relative;
        top: 0;
        width: 100%;
        display: inline-block;
        margin-bottom: 20px;
    }
    .third-block .post-block>div::after{
        content: none;
    }
    :is(.tax-fuente, .tax-mas-datos-autor, .search-results, .tag, .author, .category) aside {
      padding: 20px!important;
    }
    
}
@media (max-width: 600px) {
    .footer-menu li:not(:last-child) a::after {
      content: "";
      padding: 0;
    }

}