/*
 * Theme Name: POLIGENDEM-child
 * Author: DESiGNiA Web
 * Author URI: https://designiawebspain.com/
 * Description: This is the child theme for POLIGENDEM. It has been proudly designed by DESiGNiA Web for Fabiola Mota's research team. Compatible with WPML, SEO and mobile friendly (certified by Google).
 * Version: 1.0.0
 * License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
 * Template: dt-the7
 */


/* Allow to use SVG in theme options */
.my_svg_logo{
	height: 66px !important;
}




/* Customize SVG logo for built-in The7 headers */
.branding a img {
	height: 66px;
}
.mobile-branding a img {
	width: 66px;
}
#phantom .logo-box a img,
.sticky-on .branding a img {
	width: 66px;
}




/* Add SVG Background to Menu Items */

/* ====== Menu marker core styles ====== */
.masthead:not(.side-header).full-height .main-nav {
  position: relative; /* contenedor para posicionar el marcador */
}

/* Garantiza que los enlaces estén encima del marcador */
.masthead:not(.side-header).full-height .main-nav .menu-item > a {
  position: relative;
  z-index: 3; /* encima del marcador */
  display: inline-block;
}

/* Marcador flotante (se configura vía JS: background-image y width) */
.masthead:not(.side-header).full-height .main-nav .menu-marker {
  position: absolute;
  bottom: -8px;                /* separación bajo la línea del texto como pediste */
  left: 0;
  height: 28px;                /* ajusta si quieres mayor/menor grosor */
  width: 120px;                /* valor inicial — el JS lo sobrescribirá */
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: translateX(0);    /* movimiento mediante translateX (GPU accelerated) */
  transition: transform 420ms cubic-bezier(.22,1,.36,1), opacity 220ms ease;
  will-change: transform, opacity;
  opacity: 0;
  z-index: 1;                   /* detrás del texto (recordar que el <a> tiene z-index:3) */
}

/* Cuando el marcador está visible */
.masthead:not(.side-header).full-height .main-nav .menu-marker.is-visible {
  opacity: 1;
}

/* ===== Variante “líquida” (activarla añadiendo la clase menu-marker--liquid al marcador) =====
   El JS aplica un pequeño overshoot con transform; esta clase suaviza la transición
*/
.masthead:not(.side-header).full-height .main-nav .menu-marker.menu-marker--liquid {
  transition: transform 520ms cubic-bezier(.22,1,.36,1);
}





/* *********************************************************************** */
/* 1ª OPCION: USAR UNICAMENTE SI SE VA A TRABAJAR CON 'DT-TEAM' EN EL TEMA */
/* *********************************************************************** */

/* Add custom social icons */

@font-face {
	font-family: 'my-social-icon';
	src: url('assets/fonts/custom-social-icons/my-social-icon.eot?36222938');
	src: url('assets/fonts/custom-social-icons/my-social-icon.eot?36222938#iefix') format('embedded-opentype'),
	url('assets/fonts/custom-social-icons/my-social-icon.woff2?36222938') format('woff2'),
	url('assets/fonts/custom-social-icons/my-social-icon.woff?36222938') format('woff'),
	url('assets/fonts/custom-social-icons/my-social-icon.ttf?36222938') format('truetype'),
	url('assets/fonts/custom-social-icons/my-social-icon.svg?36222938#my-social-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Add required icon classes here */

.orcid [class^="soc-font-"], .orcid [class*="soc-font-"] {
	font-family: "my-social-icon" !important;	/* use !important to prevent issues with browser extensions that change fonts */
}

/* Add icon classes and codes here */
.orcid .soc-font-icon:before { content: '\e800'; }




/* *********************************************************************** */
/* 2ª OPCION: USAR UNICAMENTE SI SE VA A TRABAJAR CON 'DT-TEAM' EN EL TEMA */
/* *********************************************************************** */

/* Add custom social icon directly from FontAwesome V5 (not using @font-face from 'child-theme/font/' folder)

.orcid .soc-font-icon:before, .dt-icon-orcid:before {
    content: "\f8d2";
}
.orcid .soc-font-icon{
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 900;
}
*/




/* Add custom link icons for teachPress publications */

/* *** */
/* DOI */
/* *** */
.ai-doi:before{
  font-family:'osi' !important;
  content:"\e803" !important;   /* código Unicode glifo DOI */
  font-weight:normal !important;
}

/* *** */
/* PDF */
/* *** */
.fa-file-pdf:before{
  font-family:'osi' !important;
  content:"\e805" !important;   /* código Unicode exacto del glifo PDF */
  font-weight:normal !important;
}

/* ******** */
/* HTML,HTM */
/* ******** */
.fa-globe:before{
  font-family:'osi' !important;
  content:"\e801" !important;   /* código Unicode exacto del glifo GLOBE */
  font-weight:normal !important;
}

/** ...and so on with the following filetypes:

'doi' => 'ai-doi'
'.pdf' => 'fa-file-pdf'
'.doc' => 'fa-file-word'
'docx' => 'fa-file-word'
'.ppt' => 'fa-file-powerpoint'
'pptx' => 'fa-file-powerpoint'
'.xls' => 'fa-file-excel'
'xlsx' => 'fa-file-excel'
'.odt' => 'fa-file-word'
'.ods' => 'fa-file-excel'
'.odp' => 'fa-file-powerpoint'
'.odf' => 'fa-file-code'
'.odg' => 'fa-file-contract'
'.odc' => 'fa-file-contract'
'.odi' => 'fa-file-contract'
'.rtf' => 'fa-file-alt'
'.rdf' => 'fa-file-alt'
'.txt' => 'fa-file-alt'
'.tex' => 'fa-file-alt'
'html' => 'fa-globe'
'htm' => 'fa-globe'
'.php' => 'fab fa-php'
'.xml' => 'fa-file-code'
'.css' => 'fa-file-code'
'.py' => 'fa-file-code'
'.ipynb' => 'fa-file-code'
'.csv' => 'fa-file-csv'
'.dat' => 'fa-file-alt'
'.db' => 'fa-database'
'.dbf' => 'fa-database'
'.log' => 'fa-file-alt'
'.mdb' => 'fa-database'
'.sql' => 'fa-database'
'.sav' => 'fa-file-alt'
'.sav' => 'fa-file-alt'
'.mid' => 'fa-file-audio'
'.midi' => 'fa-file-audio'
'.mp3' => 'fa-file-audio'
'.ogg' => 'fa-file-audio'
'.wma' => 'fa-file-audio'
'.wav' => 'fa-file-audio'
'.wpl' => 'fa-file-audio'
'.ai' => 'fa-file-image'
'.bmp' => 'fa-file-image'
'.gif' => 'fa-file-image'
'.ico' => 'fa-file-image'
'.jpg' => 'fa-file-image'
'.jpeg' => 'fa-file-image'
'.png' => 'fa-file-image'
'.psd' => 'fa-file-image'
'.svg' => 'fa-file-image'
'.dvi' => 'fa-file-image'
'.tif' => 'fa-file-image'
'.tiff' => 'fa-file-image'
'.3g2' => 'fa-file-video'
'.3gp' => 'fa-file-video'
'.avi' => 'fa-file-video'
'.flv' => 'fa-file-video'
'.h264' => 'fa-file-video'
'.m4v' => 'fa-file-video'
'.mkv' => 'fa-file-video'
'.mov' => 'fa-file-video'
'.mp4' => 'fa-file-video'
'.wmv' => 'fa-file-video'
'.mpg' => 'fa-file-video'
'.mpeg' => 'fa-file-video'
'.wmv' => 'fa-file-video'
'.7z' => 'fa-file-archive'
'.arj' => 'fa-file-archive'   
'.deb' => 'fa-file-archive'
'.pkg' => 'fa-file-archive'
'.rar' => 'fa-file-archive'
'.rpm' => 'fa-file-archive'
'.tar.gz' => 'fa-file-archive'
'.gz' => 'fa-file-archive'     
'.zip' => 'fa-file-archive'



/** ...and also with the following website icons:



'arxiv.org' => 'ai-arxiv'
'osf.io' => 'ai-osf'
'github.com' => 'fa-github'
'gitlab.com' => 'fa-gitlab'
'mendeley.com' => 'ai-mendeley'
'overleaf.com' => 'ai-overleaf'
'soundcloud.com' => 'fa-soundcloud'
'slideshare.net' => 'fa-slideshare'
'vimeo.com' => 'fa-vimeo-v'
'wikipedia.org' => 'fa-wikipedia-w'
'wordpress.com' => 'fa-wordpress'
'youtu.be' => 'fa-youtube'
'youtube.com' => 'fa-youtube'


**/

#adminmenu a:hover { 
    color: #fff; /* Change this to your desired color */ 
}