﻿#file_news_div_news{
	text-align:justify;
}

#ds-options{
    padding-top: 0px !important;
}

#aspect_discovery_SiteRecentSubmissions_div_site-home > h3.ds-div-head.page-header {
    margin-top: 1px;
}

#aspect_artifactbrowser_CommunityBrowser_div_comunity-browser > h3.ds-div-head.page-header {
    margin-bottom: 44px;
}

.submenu-title > a, .submenu-title > a:hover, .submenu-title > a:focus{
    background-color: #0AAAC7 !important;
    cursor: default;
    color: white !important;
}

.menu-movil-sobre-ebiltegia{
    position: absolute;
    width: 350px;
    left: -200px;
    font-size: 14px;
}

.commIMG{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    width: 105px !important;
    height: 105px !important;
    max-width: none !important;
}


a.commTitleCenter {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
}

a.commTitleCenter .ds-static-div,
a.commTitleCenter div,
a.commTitleCenter span {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}


a.commTitleCenter,
a.commTitleCenter * {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.35;
    text-align: center !important;
}


a.commTitleCenter .ds-static-div {
    display: block;
    width: auto;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    text-align: center;
}

a.commTitleCenter .commIMG + div,
a.commTitleCenter > div:last-child {
    max-width: 360px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.25;
}



.ds-static-div:has(> a.commTitleCenter) {
    min-height: 185px;
}


.commTitleLeft{
	text-align: left !important;
}

.commTitleCenter:hover{
	color: #F2C741;
}

.ikerketaMarginLeft{
	margin-left: 8%;
}

.commBelowIkerketa{
	margin-top: -1.1%;
}

/* Hide the unwanted contact feedback table */
table#aspect_artifactbrowser_Contact_list_contact {
    display: none !important;
}

/* Also hide any contact list that might be generated */
.ds-static-div#aspect_artifactbrowser_Contact_div_contact table.ds-gloss-list {
    display: none !important;
}
/* Cada autor como fila estable */
.simple-item-view-authors > div{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
}
 
/* Evita que el nombre del autor sea un bloque */
.simple-item-view-authors > div > a{
  display: inline-flex !important;
  align-items: center !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
}
 
/* MATA cualquier float/clear heredado del theme o JS */
.simple-item-view-authors img[alt="cc"],
.simple-item-view-authors img[src*="orcid"],
.simple-item-view-authors img{
  float: none !important;
  clear: none !important;
  position: static !important;
  display: inline-block !important;
  margin-left: 6px !important;
  height: 16px !important;
  max-width: none !important;
}
 
/* Si alguien mete <br> al final de cargar, lo anulamos */
.simple-item-view-authors br{
  display: none !important;
}

@media (min-width: 768px) {
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }

  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 50%;
    margin-left: 0 !important;
    text-align: center;
    position: relative;
    padding-top: 0 !important;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 10px;
    box-sizing: border-box;
  }

  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div[class*="col-sm-"],
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div[class*="col-xs-"] {
    float: none;
    width: 50%;
    margin-left: 0 !important;
  }

  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Reorder community tiles in the desired sequence (desktop layout) */
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div:nth-child(6) { order: 5; }
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div:nth-child(2) { order: 8; }
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div:nth-child(7) { order: 3; }
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div:nth-child(5) { order: 1; }
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div:nth-child(1) { order: 6; }
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div:nth-child(8) { order: 4; }
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div:nth-child(3) { order: 2; }
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div:nth-child(4) { order: 7; }

  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser a.commTitleCenter {
    width: 100%;
  }

  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser a.commTitleCenter > div:last-child {
    max-width: 360px;
    min-height: 2.4em;
  }

  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div:nth-child(4)::before {
    content: none;
  }
}

@media (min-width: 1200px) {
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div,
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div[class*="col-sm-"],
  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser .row > .ds-static-div[class*="col-xs-"] {
    width: 25%;
  }

  #aspect_artifactbrowser_CommunityBrowser_referenceSet_community-browser a.commTitleCenter > div:last-child {
    max-width: 250px;
    font-size: 16px;
  }
}
