.pkp_page_index .current_issue .article-slider .current_issue_articles .article_container .custom_galley_links {
    flex-wrap: initial; }
/*.pkp_page_index .tellus_your_doubts .form-control {
    background-color: #86776f;
}*/
.pkp_page_index .topics .topics_container .topic_read_more a {
    border-bottom: none;
}
.pkp_page_index .topics .topics_container {
    background-color: #86776f !important;
}
.pkp_page_index .current_issue .article-slider .current_issue_articles .article_container .article {
    background-color: #86776f !important;
}
.pkp_page_index .current_issue .current_issue_description {
    background-color: #86776f;
}
.btn_want_to_publish{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.btn_want_to_publish .img-to-icon{
    height:18px;
    width:auto;
}
.language .h4{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.language .img-to-icon{
    height:18px;
    width:auto;
}
.btn_login{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn_login .img-to-icon{
    height: 18px;
    width: auto;
}
.text-white::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #911613;
    transition: width 0.3s ease, left 0.3s ease;
}

@media (max-width: 980px) {
  .pkp_page_index .current_issue .article-slider .obj_article_summary {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
.hyg-cc-text {
    display: initial !important;
}
}

.sidebar .title {
    font-weight: 500 !important;
    font-size: 1.5rem !important;
}

.mt-4.position-relative.article-slider {
    max-width: 85% !important;
    margin: 0 auto !important;
    overflow: visible !important;
}

.position-absolute.d-flex.align-items-center.px-3.slider-control.left {
    left: -10% !important;
}

.position-absolute.d-flex.align-items-center.px-4.slider-control.right {
    right: -10% !important;
}

section.item.references {
    display: block;
    height: 800px;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

/*.obj_galley_link, .obj_galley_link {
    background: initial;
    color: #fff;
    border: none;
}

.obj_galley_link:hover, .obj_galley_link:focus {
    background: initial;
    color: #fff;
    border: none;
}

.obj_galley_link.pdf:before {
    display: none;
}

.obj_galley_link:before {
    display: none;
}*/

.topics_container.px-5.py-4 {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    justify-content: center;
    padding: 0 2rem; }

.hover-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.hover-container:hover .hover-text {
    opacity: 1;
    transform: translate(-50%, -60%);
    pointer-events: auto;
}

.hover-text {
    opacity: 0;
    position: absolute;
    top: -110%;
    left: 50%;
    transform: translate(-50%, 50%);
    border-radius: 10px;
    background-color: #e11d2e;
    padding: 1px 5px;
    color: white;
    transition: opacity 0.4sease, transform 0.4sease;
    pointer-events: none;
}

/*.navigation_primary_row .pkp_navigation_primary_wrapper {
    position: absolute !important;
    top: -35px !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100% !important;
    overflow: visible !important;
    background-color: #e11d2e !important;
    z-index: 10000 !important;
}*/

.pkp_site_nav_menu .pkp_nav_list > li {
    position: relative !important;
    flex: 0 0 auto !important;
}

.pkp_site_nav_menu {
    background-color: #e11d2e !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1000 !important;
}

ul#ojsnextgenNavigationPrimary {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    list-style: none !important;
    margin: 0 auto !important;
    padding: 10px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Mobile menu override */
@media (max-width: 991px) {
    .pkp_site_nav_menu--isOpen ul#ojsnextgenNavigationPrimary {
        display: block !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        padding: 30px 0 0 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .pkp_site_nav_menu--isOpen ul#ojsnextgenNavigationPrimary > li {
        display: block !important;
        width: 100% !important;
        float: none !important;
        text-align: left !important;
        margin: 0 !important;
        flex: none !important;
    }
    .pkp_site_nav_menu--isOpen ul#ojsnextgenNavigationPrimary > li > a {
        display: block !important;
        padding: 15px 10px !important;
        font-size: 1.1rem !important;
        color: #fff !important;
        border-bottom: 1px solid rgba(255,255,255,0.2) !important;
        margin: 0 !important;
    }
    .pkp_site_nav_menu--isOpen ul ul {
        position: static !important;
        left: auto !important;
        width: 100% !important;
        box-shadow: none !important;
        background: transparent !important;
        padding-left: 20px !important;
        display: block !important;
    }
    .pkp_site_nav_menu--isOpen ul ul a {
        color: #fff !important;
        padding: 10px !important;
    }
}

p{
    text-align: justify;
}

.sidebar .auth .auth_btn_container .btn_login {
    background-color: #e11d2e;
    color: #fff;
    box-shadow: 7px 8px 35px -8px rgba(0, 0, 0, 0.75);
}
.pkp_navigation_search_wrapper a {
    color: #ffffff;
}
.obj_article_details .entry_details .item {
    word-wrap: break-word;
}

.authors-nextgen{
    font-weight: 100;
    font-size: smaller;
}

.img-to-icon{
    width: 25px;
    height: auto;
}

/*.custom_galley_links li a{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    font-size: small;
}*/

.pkp_site_nav_toggle {
    position: absolute;
    top: 18vw;
    left: 0;
    width: 2.857rem;
    height: 2.857rem;
    border: 0;
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2), -1px 0 0 rgba(255, 255, 255, 0.2);
    background: #e11d2e;
    z-index: 999;}

.pkp_page_index .current_issue .article-slider .current_issue_articles .article_container .article {
    height: 100%;
    background-color: #e11d2ed1;
}

.bpFab {
    height: 4.6rem !important;
    width: 4.6rem!important ;
    transition: all 300ms;
}

.bpFab:hover {
    outline: #e11d2e 4px double;
    transition: all 300ms;
}

.chatbot {
    position: fixed; 
    bottom: 22px; 
    right: 21px; 
    width: 65px; 
    height: 65px; 
    background-color: #e11d2e; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    border-radius: 100px; 
    padding: 15px;
    z-index: 9999; 
    pointer-events: none;
    background-image: url("https://www.comunicacionysociedad.cucsh.udg.mx/plugins/themes/ojsnextgen/resources/icons/icon.png");
    background-size: cover;
    background-position: center;
    outline: #e11d2e 4px solid;
}
.chatbot-text {
    position: fixed; 
    bottom: 100px; 
    right: 40px; 
    width: auto; 
    height: 10px; 
    padding: 1px;
    background-color: #e11d2e; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    border-radius: 100px; 
    padding: 15px;
    z-index: 9999; 
    color: #fff;
    outline: #fff 2px solid;
    display: flex;
    justify-content: center;
    align-items: center;
     opacity: 1; /* Inicialmente invisible */
     transition: opacity 1s ease-in-out; /* TransiciÃƒÂ³n suave */
     pointer-events: none; /* Deshabilitar eventos mientras estÃƒÂ© invisible */
}


.slick-next:before, .slick-prev:before {
    font-size: 30px !important;
}

.pkp_page_index .playlist .playlist_articles .article.current_audio {
    background: #dddddd00;
}

.chatbot-text p {
    color: #fff;
    margin: 0;
}

.chatbot-text.visible {
    opacity: 0; /* Hacerlo visible */
    pointer-events: all; /* Habilitar eventos cuando estÃƒÂ© visible */
}


.sidebar .want_to_publish .want_to_publish_btn_container .btn_want_to_publish {
    background-color: #e11d2e;
    color:#fff;
    box-shadow: 7px 8px 35px -8px rgba(0, 0, 0, 0.75);
}

/*.galley_icon {

    filter: none;
}*/

.pkp_navigation_search_wrapper {
    display: none;
}

.language, .social_media, .auth, .want_to_publis{
    margin-bottom:30px !important;
}

@media screen and (max-width: 600px) {
.topics_container.px-5.py-4 {
    display: block;
    flex-wrap: nowrap;
    gap: 2rem;
    justify-content: center;
    padding: 0 2rem;
}
}

@media (min-width: 870px) {
    .has_site_logo .pkp_head_wrapper {
        background: #e11d2e;
    }
    
    .pkp_site_nav_menu{
        background: #e11d2e !important;
        color: #fff !important;
        width: 95% !important;
        max-width: none;
    }
    
    .ojsnextgen_navigation_primary>li> a {
            margin-left: -0.5em;
        color: #fff !important;
    }
    
    .ojsnextgen_navigation_primary>li> a:hover {
        margin-left: -0.5em;
    color: #e11d2e !important;
    }
    
    .pkp_structure_footer {
        text-align: center;
        width: 90%;
        color: #fff;
        background: #e11d2e;
    }
    .pkp_structure_footer_wrapper {
        background: #e11d2e;
    }
    .pkp_site_nav_menu .pkp_nav_list>li>a {
        color: #fcfcfc;
    }


}

.text-white-50 {
    color: white !important;
    font-weight: 500;
    line-height: 1.2;
}

.topic_label.h5.mb-4.topic_label_custom.text-white {
    display: none;
}
.social img {
    width: 24px;
}

@media (max-width: 870px) {
    .pkp_structure_main{
        padding-top: 8vw;
    }

    .pkp_site_nav_toggle {
        position: absolute;
        z-index: 10000;
    }
    .pkp_site_nav_menu--isOpen {
        display: block;
        padding-top: 10vw;
    }
}
.hyg-footer{
background:#e11d2e;
color:#ffffff;
text-align:center;
font-size:14px;
line-height:1.6;
}

.pkp_footer_content {
    padding: 1.143rem;
}

/* Logo superior */
.hyg-logo {
    display: flex;
    justify-content: end;
}

.hyg-logo img{
max-width:220px;
margin-bottom:20px;
}

/* Logos de índices */
.hyg-indices{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:25px;
margin:20px auto 30px auto;
max-width:1000px;
}

.hyg-indices img{
max-height:60px;
width:auto;
filter:brightness(0) invert(1);
}

/* Texto legal */
.hyg-text{
max-width:1000px;
margin:0 auto 30px auto;
}

/* Logos licencias */
.hyg-licenses{
display:flex;
justify-content:center;
align-items:center;
gap:20px;
margin-bottom:15px;
}

.hyg-licenses img{
max-height:45px;
width:auto;
}

/* Texto licencia */
.hyg-cc-text{
    font-size:13px;
    margin: 0 auto 30px auto;
    justify-content: center;
    align-items: center;
    display: flex;
}

.hyg-footer a{
color:#ffffff;
text-decoration:underline;
}

.hyg-footer a:hover{
opacity:0.85;
}

/* noticias */
.table_indices {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/*#slider {
  margin: 0 auto;
  width: 800px;
  max-width: 100%;
  text-align: center;
}*/

#slider label {
  cursor: pointer;
  text-decoration: none;
}

#slides {
  padding: 10px;
  background: #fff;
  position: relative;
  z-index: 1;
}

#overflow {
  width: 100%;
  overflow: hidden;
}

#slide1:checked ~ #slides .inner {
  margin-left: 0;
}

#slide2:checked ~ #slides .inner {
  margin-left: -100%;
}

#slide3:checked ~ #slides .inner {
  margin-left: -200%;
}

#slide4:checked ~ #slides .inner {
  margin-left: -300%;
}

#slides .inner {
  transition: margin-left 800ms cubic-bezier(0.77, 0, 0.175, 1);
  width: 400%;
  line-height: 0;
  height: 300px;
}

#slides .slide {
  width: 25%;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #fff;
}

#controls {
  margin: -180px 0 0 0;
  width: 100%;
  height: 50px;
  z-index: 3;
  position: relative;
}

#controls label {
  transition: opacity 0.2s ease-out;
  display: none;
  width: 50px;
  height: 50px;
  opacity: 0.4;
}

#controls label:hover {
  opacity: 1;
}

#slide1:checked ~ #controls label:nth-child(2),
#slide2:checked ~ #controls label:nth-child(3),
#slide3:checked ~ #controls label:nth-child(4),
#slide4:checked ~ #controls label:nth-child(1) {
  background: url(https://image.flaticon.com/icons/svg/130/130884.svg) no-repeat;
  float: right;
  margin: 0 -50px 0 0;
  display: block;
}

#slide1:checked ~ #controls label:nth-last-child(2),
#slide2:checked ~ #controls label:nth-last-child(3),
#slide3:checked ~ #controls label:nth-last-child(4),
#slide4:checked ~ #controls label:nth-last-child(1) {
  background: url(https://image.flaticon.com/icons/svg/130/130882.svg) no-repeat;
  float: left;
  margin: 0 0 0 -50px;
  display: block;
}

#bullets {
  margin: 150px 0 0;
  text-align: center;
}

#bullets label {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: #ccc;
  margin: 0 10px;
}

#slide1:checked ~ #bullets label:nth-child(1),
#slide2:checked ~ #bullets label:nth-child(2),
#slide3:checked ~ #bullets label:nth-child(3),
#slide4:checked ~ #bullets label:nth-child(4) {
  background: #444;
}

@media screen and (max-width: 900px) {
  #slide1:checked ~ #controls label:nth-child(2),
  #slide2:checked ~ #controls label:nth-child(3),
  #slide3:checked ~ #controls label:nth-child(4),
  #slide4:checked ~ #controls label:nth-child(1),
  #slide1:checked ~ #controls label:nth-last-child(2),
  #slide2:checked ~ #controls label:nth-last-child(3),
  #slide3:checked ~ #controls label:nth-last-child(4),
  #slide4:checked ~ #controls label:nth-last-child(1) {
    margin: 0;
  }

  #slides {
    max-width: calc(100% - 140px);
    margin: 0 auto;
  }
}

#indices-block .index-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

#indices-block .index-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 1px;
  aspect-ratio: 3 / 2;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#indices-block .index-logo img {
  max-height: 44px;
  width: auto;
  height: auto;
  filter: grayscale(30%);
  opacity: 0.9;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

#indices-block .index-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
#indices-block .index-logo:hover img {
  filter: none;
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  #indices-block .index-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  #indices-block .index-logo img {
    max-height: 80px;
    width: auto;
    height: auto;
  }
}
@media (max-width: 520px) {
  #indices-block .index-logos {
    grid-template-columns: 1fr;
  }
  #indices-block .index-logo {
    aspect-ratio: 16/9;
    padding: 10px;
  }
  #indices-block .index-logo img {
    max-height: 90px;
  }
}

.pkp_page_index .topics .topics_container img {
    height: 100% !important;
    width: 100%;
}

.hyg-cc-text a {
    color: #fff;
}

.pkp_page_index .current_issue .article-slider .current_issue_articles .article_container .galley-links-container {
    background-color: #86776f;
}

.custom_galley_links img {
    width: 42px;
}
