/*!
Theme Name: ceigram
Theme URI: https://ceigram.upm.es
Author: Vertixe
Author URI: https://vertixe.com
Description: minimalist
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ceigram
Tags: custom-menu, featured-images

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

ceigram is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15;
	/* 1 */
	-webkit-text-size-adjust: 100%;
	/* 2 */
}

/* Sections
	 ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
	margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
	display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
	box-sizing: content-box;
	/* 1 */
	height: 0;
	/* 1 */
	overflow: visible;
	/* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
	font-family: monospace, monospace;
	/* 1 */
	font-size: 1em;
	/* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
	background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
	border-bottom: none;
	/* 1 */
	text-decoration: underline;
	/* 2 */
	text-decoration: underline dotted;
	/* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b, strong {
	font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code, kbd, samp {
	font-family: monospace, monospace;
	/* 1 */
	font-size: 1em;
	/* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
	font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button, input, optgroup, select, textarea {
	font-family: inherit;
	/* 1 */
	font-size: 100%;
	/* 1 */
	line-height: 1.15;
	/* 1 */
	margin: 0;
	/* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button, input {
	/* 1 */
	overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button, select {
	/* 1 */
	text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button, [type="button"], [type="reset"], [type="submit"] {
	-webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
	box-sizing: border-box;
	/* 1 */
	color: inherit;
	/* 2 */
	display: table;
	/* 1 */
	max-width: 100%;
	/* 1 */
	padding: 0;
	/* 3 */
	white-space: normal;
	/* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
	vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
	overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"], [type="radio"] {
	box-sizing: border-box;
	/* 1 */
	padding: 0;
	/* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
	-webkit-appearance: textfield;
	/* 1 */
	outline-offset: -2px;
	/* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
	-webkit-appearance: button;
	/* 1 */
	font: inherit;
	/* 2 */
}

/* Interactive
	 ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
	display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
	display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body, button, input, select, optgroup, textarea {
	color: #676767;
	font-family: IBM Plex Sans,'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: 500;
}

p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 16px 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul, li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

button, input[type="button"], input[type="reset"], input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
	color: #b8cb4f;
	text-decoration: none;
}

a:visited {
	color: #b8cb4f;
}

a:hover, a:focus, a:active {
	color: #434449;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

/*
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover>ul, .main-navigation ul ul li.focus>ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover>ul, .main-navigation ul li.focus>ul {
	left: auto;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}
*/

/* Small menu. */

.menu-toggle, .main-navigation.toggled ul {
	display: none;
}

@media screen and (min-width:600px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

/*
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}*/

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	/* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */

#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky {
	display: block;
}

.post, .page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content, .entry-content, .entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */

.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */

embed, iframe, object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */

.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
### CEIGRAM STYLES ###
--------------------------------------------------------------*/

#content {
	background: linear-gradient(to right, #f8f8f4 0%, #f8f8f4 50%, #fff 50%,#fff 100%);
}

.home #content {
	background: none;
}

.wrapper {
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
}

.wrapper.with-sidebar {
	background: #fff;
	display: flex;
	align-items: stretch;
}

.fila {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
}

.content-area.with-sidebar {
	padding: 55px 15px 0 30px;
	display: inline-flex;
	max-width: 900px;
	width: 100%;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: flex-start;
}

.content-area .site-main {
	background: #fff;
	padding-bottom: 60px;
	width: 100%;
}

.content-area p,
.content-area li {
    font-size: 14px;
    line-height: 1.4;
	letter-spacing: 0.015rem;
}

.page-id-1153 .content-area p {
	line-height: 1.7;
}

.page-id-1153 .content-area .wp-block-columns p {
    margin-bottom: 0;
}

.content-area a {
	text-decoration: underline;
}

.home .content-area a {
	text-decoration: none;
}

aside {
	padding-bottom: 40px;
	padding-top: 22px;
	width: 280px;
	background-color: #f8f8f4;
	min-height: 100vh;
}

@media only screen and (max-width: 1200px) {
	.content-area .site-main .without-sidebar {
		padding-top: 50px;
	}
}

@media only screen and (max-width: 800px) {
	.content-area.with-sidebar { 
		padding-right: 30px;
	}
	
	/* Fix columnas Quiénes Somos */
	.page-id-8 .wp-block-columns .wp-block-column {
    	flex-basis: 100% !important;
	}
}

@media only screen and (max-width: 600px) {
	.wrapper.with-sidebar {
		flex-flow: row wrap;
	}

	aside {
		min-height: auto;
		padding-bottom: 30px;
		width: 100%;
	}

	.content-area.with-sidebar {
		width: 100%;
		order: -1;
		padding: 55px 20px 0;
	}
	
	.main-navigation {
		overflow-y: scroll;
	}
	
	.main-navigation.sticky {
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 99;
		overflow-y: scroll;
	}
	
	.main-navigation #mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1,
	.main-navigation.sticky #mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1 {
		position: relative;	
	}
	
	.mega-menu-menu-1-mobile-open .main-navigation,
	.mega-menu-menu-1-mobile-open .main-navigation.sticky {
		height: 100vh;
		display: flex;
		-webkit-overflow-scrolling: none;
    	overscroll-behavior: none;
	}
	
	/*.mega-menu-menu-1-mobile-open {
		touch-action: none;
    	-webkit-overflow-scrolling: none;
    	overscroll-behavior: none;
	}*/
}

#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3>li.mega-menu-item {
	display: block;
	background-color: #f8f8f4;
}

#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link:hover {
	/* CORREGIR dar color al menú seleccionado.. */
	/*background-color:#a2b901;*/
	color: #fff;
}

#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link {
	display: block;
	background-color: #f8f8f4;
	color: #524d08;
}

#secondary ul {
	margin-left: 0;
}

#secondary li.menu-item {
	list-style: none;
}
/*
#secondary li.menu-item:hover {
	background-color: #a2b901;
}

#secondary li.menu-item a {
	color: #524d08;
}

#secondary li.menu-item a:hover {
	color: #fff;
}*/

.upper {
	text-transform: uppercase;
}

#menu-personal,
#menu-quienes-somos,
#menu-investigacion-e-innovacion,
#menu-colabora,
#menu-formacion-y-empleo,
#menu-who-we-are,
#menu-staff,
#menu-research-innovation,
#menu-collaborate {
	margin: 0;
	padding: 0;
}

#menu-personal li,
#menu-quienes-somos li,
#menu-investigacion-e-innovacion li,
#menu-colabora li,
#menu-formacion-y-empleo li,
#menu-who-we-are li,
#menu-staff li,
#menu-research-innovation li,
#menu-collaborate li {
	border-bottom: 1px solid #e3e9bc;
	padding: 13px 14px;
}

#menu-personal li:hover,
#menu-quienes-somos li:hover,
#menu-quienes-somos li.current-menu-item,
#menu-colabora li.current-menu-item,
#menu-colabora li.current-page-ancestor.menu-item-650,
#menu-colabora li.current-page-ancestor.menu-item-648,
.single-oferta #menu-colabora li.menu-item-648,
.page-id-20 #menu-formacion-y-empleo > li.current-menu-item,
.page-id-12 #menu-investigacion-e-innovacion li.current-menu-item,
.page-id-669 #menu-investigacion-e-innovacion li.current-menu-item,
.page-template-page-grupo-de-investigacion #menu-investigacion-e-innovacion li.current-page-ancestor,
#menu-who-we-are li:hover,
#menu-who-we-are li.current-menu-item,
#menu-staff li:hover,
.page-id-12909 #menu-research-innovation li.current-menu-item,
.page-id-12945 #menu-research-innovation li.current-menu-item,
.page-template-page-grupo-de-investigacion #menu-research-innovation li.current-page-ancestor,
#menu-collaborate li.current-menu-item,
#menu-collaborate li.current-page-ancestor.menu-item-13254,
#menu-collaborate li.current-page-ancestor.menu-item-13260,
.single-oferta #menu-collaborate li.menu-item-13260 {
	background-color: #a2b901;
}

#menu-personal li a,
#menu-quienes-somos li a,
#menu-investigacion-e-innovacion li a,
#menu-colabora li a,
#menu-formacion-y-empleo li a,
#menu-who-we-are li a,
#menu-staff li a,
#menu-research-innovation li a,
#menu-collaborate li a {
	font-size: 13px;
	font-weight: bold;
	color: #524d08;
	box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

#menu-personal li:hover a,
#menu-quienes-somos li:hover a,
#menu-quienes-somos li.current-menu-item a,
.single-oferta #menu-colabora > li.menu-item-648 > a,
.page-id-20 #menu-formacion-y-empleo li.current-menu-item > a,
.page-id-12 #menu-investigacion-e-innovacion li.current-menu-item > a,
.page-id-669 #menu-investigacion-e-innovacion li.current-menu-item > a,
.page-id-14 #menu-colabora li.current-menu-item > a,
.page-id-639 #menu-colabora li.current-menu-item > a,
.page-id-641 #menu-colabora li.current-menu-item > a,
.page-id-643 #menu-colabora li.current-menu-item > a,
.page-id-645 #menu-colabora li.current-menu-item > a,
.page-id-669 #menu-investigacion-e-innovacion li.current-menu-item,
.page-template-page-grupo-de-investigacion #menu-investigacion-e-innovacion li.current-page-ancestor > a,
#menu-who-we-are li:hover a,
#menu-who-we-are li.current-menu-item a,
#menu-staff li:hover a,
.page-id-12909 #menu-research-innovation li.current-menu-item > a,
.page-id-12945 #menu-research-innovation li.current-menu-item > a,
.page-id-12945 #menu-research-innovation li.current-menu-item,
.page-template-page-grupo-de-investigacion #menu-research-innovation li.current-page-ancestor > a,
.single-oferta #menu-collaborate > li.menu-item-13260 > a,
.page-id-12922 #menu-collaborate li.current-menu-item > a,
.page-id-12948 #menu-collaborate li.current-menu-item > a,
.page-id-12924 #menu-collaborate li.current-menu-item > a,
.page-id-12956 #menu-collaborate li.current-menu-item > a,
.page-id-12960 #menu-collaborate li.current-menu-item > a {
	color: #fff;
}

.page-id-20 #menu-formacion-y-empleo li.current-menu-item{
	padding-bottom: 8px;
	border-bottom: 0;
}

#menu-investigacion-e-innovacion li,
#menu-formacion-y-empleo li,
#menu-colabora li,
#menu-research-innovation li,
#menu-collaborate li {
	padding: 8px 0 0;
	border-bottom: 0px solid #f8f8f4;
}

#menu-investigacion-e-innovacion > li::after,
#menu-formacion-y-empleo > li::after,
#menu-colabora > li::after,
#menu-research-innovation > li::after,
#menu-collaborate > li::after {
    border-bottom: 1px solid #e3e9bc;
    width: 100%;
    display: block;
    content: '';
    padding-top: 8px;
    background: #f8f8f4;
}

.page-id-669 #menu-investigacion-e-innovacion > li::after,
.page-id-20 #menu-formacion-y-empleo > li::after,
.page-id-14 #menu-colabora > li::after,
.page-id-641 #menu-colabora > li::after,
.page-id-643 #menu-colabora > li::after,
.page-template-page-grupo-de-investigacion #menu-investigacion-e-innovacion li.current-page-ancestor::after,
.page-id-12945 #menu-research-innovation > li::after,
.page-template-page-grupo-de-investigacion #menu-research-innovation li.current-page-ancestor::after,
.page-id-12922 #menu-collaborate > li::after,
.page-id-12960 #menu-collaborate > li::after,
.page-id-12956 #menu-collaborate > li::after {
	border-bottom: 0;
	padding-top: 0;
}

.page-id-669 #menu-investigacion-e-innovacion > li,
.page-id-20 #menu-formacion-y-empleo > li,
.page-id-14 #menu-colabora > li,
.page-id-641 #menu-colabora > li,
.page-id-643 #menu-colabora > li,
.page-template-page-grupo-de-investigacion #menu-investigacion-e-innovacion li.current-page-ancestor,
.page-id-12945 #menu-research-innovation > li,
.page-template-page-grupo-de-investigacion #menu-research-innovation li.current-page-ancestor,
.page-id-12922 #menu-collaborate > li,
.page-id-12960 #menu-collaborate > li,
.page-id-12956 #menu-collaborate > li {
	padding-bottom: 8px;
}

#menu-investigacion-e-innovacion > li:first-of-type,
#menu-formacion-y-empleo > li:first-of-type,
#menu-colabora > li:first-of-type,
.page-id-669 #menu-investigacion-e-innovacion > li,
.page-id-20 #menu-formacion-y-empleo > li,
.page-id-14 #menu-colabora > li,
.page-id-641 #menu-colabora > li,
.page-id-643 #menu-colabora > li,
#menu-research-innovation > li:first-of-type,
.page-id-12945 #menu-research-innovation > li,
#menu-collaborate > li:first-of-type,
.page-id-12922 #menu-collaborate > li,
.page-id-12960 #menu-collaborate > li,
.page-id-12956 #menu-collaborate > li {
	border-top: 1px solid #e3e9bc;
}

#menu-investigacion-e-innovacion li a,
#menu-formacion-y-empleo li a,
#menu-colabora li a,
#menu-research-innovation li a,
#menu-collaborate li a {
	padding: 0;
	margin: 0 14px;
}

#menu-investigacion-e-innovacion li ul li a,
#menu-formacion-y-empleo li ul li a,
#menu-colabora li ul li a,
#menu-research-innovation li ul li a,
#menu-collaborate li ul li a {
	padding: 0;
	margin: 0;
}

#menu-investigacion-e-innovacion li ul,
#menu-formacion-y-empleo li ul,
#menu-colabora li ul,
#menu-research-innovation li ul,
#menu-collaborate li ul {
	background: #f8f8f4;
	border-top: 1px solid #e3e9bc;
	margin-top: 12px;
	padding: 0;
}

#menu-investigacion-e-innovacion li ul li,
#menu-formacion-y-empleo li ul li,
#menu-colabora li ul li,
#menu-research-innovation li ul li,
#menu-collaborate li ul li {
	border-bottom: 0;
	padding: 6px 24px;
}

#menu-investigacion-e-innovacion li.menu-item ul li a,
#menu-formacion-y-empleo li.menu-item ul li a,
#menu-colabora li.menu-item ul li a,
#menu-research-innovation li.menu-item ul li a,
#menu-collaborate li.menu-item ul li a {
	color: #828f25;
	font-weight: 400;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu {
	background: #f2f3e9;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
	background: transparent;
    color: #819026;
    line-height: 1.2;
    font-weight: 400;
    padding: 8px !important;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover {
	color: #fff;
	background: #aac600;
}

#menu-formacion-y-empleo > li.current-menu-ancestor,
#menu-investigacion-e-innovacion > li.current-menu-ancestor, 
#menu-colabora > li.current-menu-ancestor,
.page-template-page-empleo #menu-formacion-y-empleo > li.current-page-ancestor,
.page-template-page-curso #menu-formacion-y-empleo > li.current-page-ancestor:not(:first-of-type),
#menu-research-innovation > li.current-menu-ancestor,
#menu-collaborate > li.current-menu-ancestor {
	background-color: #a2b901;
}

#menu-formacion-y-empleo > li.current-menu-ancestor > a,
#menu-investigacion-e-innovacion > li.current-menu-ancestor > a,
#menu-colabora > li.current-menu-ancestor > a,
.page-template-page-empleo #menu-formacion-y-empleo > li.current-page-ancestor > a,
.page-template-page-curso #menu-formacion-y-empleo > li.current-page-ancestor:not(:first-of-type) > a,
#menu-research-innovation > li.current-menu-ancestor > a,
#menu-collaborate > li.current-menu-ancestor > a {
	color: #fff;
}

#menu-formacion-y-empleo > li ul li.current-menu-item,
#menu-investigacion-e-innovacion > li ul li.current-menu-item,
#menu-colabora > li ul li.current-menu-item,
.page-template-page-empleo #menu-formacion-y-empleo > li ul li.current-page-ancestor,
.page-template-page-curso #menu-formacion-y-empleo > li ul li.current-page-ancestor,
#menu-research-innovation > li ul li.current-menu-item,
#menu-collaborate > li ul li.current-menu-item {
	background: #e8e6bb;
}

#menu-formacion-y-empleo > li ul li.current-menu-item a,
#menu-investigacion-e-innovacion > li ul li.current-menu-item a,
#menu-colabora > li ul li.current-menu-item a,
.page-template-page-empleo #menu-formacion-y-empleo > li ul li.current-page-ancestor a,
.page-template-page-curso #menu-formacion-y-empleo > li ul li.current-page-ancestor a,
#menu-research-innovation > li ul li.current-menu-item a,
#menu-collaborate > li ul li.current-menu-item a {
	color: #434449;
}

/* menu horizontal página comunicación */

#menu-comunicacion,
#menu-communication {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	margin-bottom: 40px;
}

#menu-comunicacion li,
#menu-communication li {
	display: inline-block;
	list-style: none;
}

#menu-comunicacion li::after,
#menu-communication li::after {
	content: '|';
	padding: 10px;
	color: #a2b901;
}

#menu-comunicacion li:last-child::after,
#menu-communication li:last-child::after {
	content: '';
}

#menu-comunicacion li a,
#menu-communication li a {
	font-size: 18px;
	font-weight: bold;
	color: #a2b901;
	text-decoration: none;
}

#menu-comunicacion li.current_page_item a, #menu-comunicacion-1 li a:hover,
.single-noticia #menu-comunicacion li:first-of-type a,
.single-seminario #menu-comunicacion li.noticia-seminario a,
.single-evento #menu-comunicacion li.noticia-evento a,
#menu-communication li.current_page_item a, #menu-communication-1 li a:hover,
.single-noticia #menu-communication li:first-of-type a,
.single-seminario #menu-communication li.noticia-seminario a,
.single-evento #menu-communication li.noticia-evento a {
	color: #2b3413;
	border-bottom: 1px solid #2b3413;
}

/* Page Hero */

.page-hero {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 275px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.page-hero-fondo {
	flex-direction: column;
	justify-content: center;
	display: flex;
	height: 60px;
	background-color: #524d08;
}

.page-hero-title {
	margin: 0;
	padding-bottom: 0;
	font-size: 24px;
	font-weight: bold;
	color: #fff;
}

@media only screen and (max-width:1200px) {
	.page-hero-title {
		padding-left: 20px;
	}
}

/*--------------------------------------------------------------
## HEADER
--------------------------------------------------------------*/

header {
	background-color: #fff;
}

.header-up {
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
}

.site-title {
	margin: 0 0 15px;
}

h1.site-title {
	font-size: 16px;
}

.site-title a {
	font-size: 16px;
	line-height: 1;
}

.site-title img {
	max-width: 600px;
	width: 100%;
}

@media only screen and (max-width: 400px) {
	.site-title img {
		padding: 0 10px;
	}
}

.social-menu {
	align-items: flex-start;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
}

.social-menu ul {
	align-items: center;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.social-menu .smi-social-menu.smi-social-fill-white .icon {
    fill: #524d08;
}

.social-menu img {
	height: 16px;
	text-decoration: none;
	padding-right: 12px;
}

.social-menu ul.languages {
	display: none; /* Cambiar cuando se active la versión en inglés */
	display: flex;
	margin-left: 20px;
}

.social-menu .lang-item a {
	color: #adb09b;
	font-size: 12px;
	line-height: 1.2;
	text-transform: uppercase;
}

.social-menu .lang-item:not(:first-of-type)::before {
	content: '/';
	color: #adb09b;
	display: inline-block;
	font-size: 12px;
	margin: 0 4px;
}

.social-menu .lang-item.current-lang a {
	color: #524d08;
	font-weight: 500;
}



/* SEARCH */

.searchform {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	position: relative;
	width: 100%;
}

.searchform input[type="image"] {
	position: absolute;
	right: 0;
	top: 8px;
	width: 30px;
}

input[type="search"].search-field {
	border: 1px dotted #adb09b;
	border-radius: 16px;
	margin: 10px 0;
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #adb09b;
	font-weight: 400;
	font-family: IBM Plex Sans, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	padding: 6px 0 6px 12px;
	width: 100%;
	-webkit-appearance: textfield;
}

/* MEGA-MENU */

#mega-menu-wrap-menu-1 #mega-menu-menu-1 {
	align-items: center;
	background: #fff;
	border-top: 1px solid #e3e9bc;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	font-family: IBM Plex Sans, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.mega-sub-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item {
	flex: 1 0 auto;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
	text-align: center;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
	margin-bottom: 5px;
	line-height: 1.2;
}

.mega-sub-menu ul a,
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
	color: #819026;
	line-height: 1.2;
	display: inline-block;
	margin: 6px 0;
}


.mega-sub-menu ul a:hover {
	color: #aac600;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column.mega-menu-title > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title, 
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title {
	font-size: 24px;
	line-height: 1;
	margin: 20px 0 0;
	font-weight: bold;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column.mega-menu-title > ul.mega-sub-menu > li.mega-menu-item hr {
	margin: 20px 0 0;
}

.mega-menu-link {
    padding: 0 15px !important;
}

/* menu antiguo
.main-navigation {
	border-top: 1px solid #e3e9bc;
}

.main-navigation ul li {
	margin-left: 15px;
}

.main-navigation ul li a {
	font-family: HelveticaNeueLTStd-Bd;
	font-size: 16px;
	font-weight: bold;
	color: #524c08;
	padding: 5px 15px;
}

.main-navigation ul li.current-menu-item a, .main-navigation ul li a:hover {
	color: #ffffff;
	background-color: #aac600;
}
fin menu antiguo*/

/*--------------------------------------------------------------
## FOOTER
--------------------------------------------------------------*/

footer {
	color: #ffffff;
	width: 100%;
	margin: 0 auto;
}

footer a {
	color: #fff;
}

.site-info a,
.site-info a:visited,
.site-info a:focus {
	color: #fff;
}

div.footer-up {
	display: flex;
	justify-content: center;
}

div.footer-up-izqda-container, div.footer-up-dcha-container {
	display: inline-flex;
	flex-flow: row wrap;
	width: 50%;
}

div.footer-up-izqda-container {
	background-color: #819026;
	justify-content: flex-end;
}

div.footer-up-dcha-container {
	background-color: #f6f7ed;
}

div.footer-up-izqda {
	padding-top: 55px;
	display: inline-flex;
	flex-flow: column wrap;
	width: 590px;
	margin-right: 50px;
    padding-bottom: 20px;
}

div.footer-up-dcha {
	padding-top: 55px;
	display: inline-flex;
	flex-flow: row nowrap;
	max-width: 730px;
}

div.footer-up-dcha h3 {
	color: #819026;
}

div.logos-socios {
	border-top: 1px solid #819026;
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
}

div.footer-contacto {
	display: flex;
}

div.footer-contacto h3, div.footer-redes h3 {
	font-size: 16px;
	margin-right: 25px;
}

div.direccion {
	font-size: 12px;
	line-height: 18px;
	margin-top: 7px;
	border-top: 1px solid white;
	padding: 15px 0 30px 0;
}

div.direccion p {
	margin: 0;
}

div.direccion > p:first-of-type img {
	margin-bottom: 20px;
}

@media only screen and (max-width: 600px) {
	div.direccion > p:first-of-type {
		display: flex;
		flex-flow: column wrap;
	}
}

div.footer-redes {
	display: flex;
}

div.redes-sociales {
	width: 100%;
	margin-top: 7px;
	border-top: 1px solid white;
}

div.redes-sociales img {
	margin: 20px 10px 20px 0;
	width: 20px;
}

footer .smi-social-menu {
    margin-top: 20px;
}

div.footer-up-dcha h3 {
	font-size: 16px;
	margin-top: 0;
	margin-left: 70px;
	margin-right: 30px;
}

div.footer-up-izqda h3 {
	margin-top: 0;
}

div.logos-socios {
	padding-top: 22px;
	margin-top: 7px;
}

div.logos-socios a img {
	max-width: 210px;
}

div.logos-socios a:nth-child(2n+1) {
	margin-right: 55px;
}

div.logos-socios a:nth-of-type(3) img {
    max-width: 380px;
    margin: 20px 0;
    width: 100%;
}

div.footer-down {
	display: flex;
	align-items: center;
	background-color: #524d08;
	min-height: 40px;
}

div.footer-down-container {
	display: inline-flex;
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
}

div.site-info span {
	font-size: 13px;
}

@media only screen and (max-width: 800px) {
	
	.page-contacto div.direcciones {
		order: 3;
	}
	
	.page-contacto div.direcciones:nth-of-type(1) {
		order: 1;
	}
	
	.page-contacto div.direcciones:nth-of-type(4) {
		order: 2;
	}
	
	.footer-redes {
		padding-bottom: 30px;
	}
}

/*--------------------------------------------------------------
## HOME ##
--------------------------------------------------------------*/

h2.section,
.personal #investigacion-inicial li::before,
.personal #comunicacion-inicial li::before,
.personal #visitantes-inicial li::before {
	margin-left: 0;
	margin-top: 0;
	font-size: 32px;
	font-weight: bold;
	letter-spacing: 0.015rem;
	color: #434449;
}

.personal #investigacion-inicial li::before,
.personal #comunicacion-inicial li::before,
.personal #visitantes-inicial li::before {
	margin-bottom: 30px;
}

.personal #investigacion-inicial::before,
.personal #comunicacion-inicial::before,
.personal #visitantes-inicial::before {
	content: '';
	width: 42px;
	border-top: 5px solid #aac600;
	padding-top: 10px;
	margin-top: 50px;
}

.personal #investigacion-inicial li::before {
	content: 'Investigación';
	text-transform: uppercase;
}

.personal #comunicacion-inicial li::before {
	content: 'Gestión y comunicación';
	text-transform: uppercase;
}

.personal #visitantes-inicial li::before {
	content: 'Visitantes';
	text-transform: uppercase;
}

:lang(en) .personal #investigacion-inicial li::before {
	content: 'Research';
}

:lang(en) .personal #comunicacion-inicial li::before {
	content: 'Management & Communication';
}

:lang(en) .personal #visitantes-inicial li::before {
	content: 'Visitors';
}

.data-ano::before{
	display: inline-block;
	border-top: 5px solid #aac600;
	text-transform: uppercase;
	margin-left: 0;
	margin-top: 60px;
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.015rem;
	color: #434449;
	padding-top: 4px;
}

.publicaciones .data-ano::before,
.tesis .data-ano::before,
.patentes .data-ano::before,
.memorias .data-ano::before {
	display: flex;
	margin-bottom: 20px;
	width: 50px;
}

#data-ano-2019::before { content: '2019'; }
#data-ano-2018::before { content: '2018'; }
#data-ano-2017::before { content: '2017'; }
#data-ano-2016::before { content: '2016'; }
#data-ano-2015::before { content: '2015'; }
#data-ano-2014::before { content: '2014'; }
#data-ano-2013::before { content: '2013'; }
#data-ano-2012::before { content: '2012'; }
#data-ano-2011::before { content: '2011'; }
#data-ano-2010::before { content: '2010'; }
#data-ano-2009::before { content: '2009'; }
#data-ano-2008::before { content: '2008'; }
#data-ano-2007::before { content: '2007'; }
#data-ano-2006::before { content: '2006'; }
#data-ano-2005::before { content: '2005'; }
#data-ano-2004::before { content: '2004'; }
#data-ano-2020::before { content: '2020'; }
#data-ano-2021::before { content: '2021'; }
#data-ano-2022::before { content: '2022'; }

#busqueda-personal .searchandfilter > ul {
	margin-bottom: 0;
	width: 100%;
	align-items: center;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

h2.section::before {
	content: '';
	display: block;
	width: 42px;
	height: 5px;
	background-color: #aac600;
	margin-bottom: 10px;
}

.home h2.section {
	font-size: 24px;
}

/*--------------------------------------------------------------
## SLIDER PORTADA ##
--------------------------------------------------------------*/

.site-content .flexslider {
	border: 0;
	margin: 0 0 25px;
}

.site-content .slides {
	display: flex;
	min-height: 500px;
}

.site-content .slides li {
	margin: 0;
	padding: 0;
}

.site-content .slide-content {
	/*por defecto izqda*/
	display: flex;
	justify-content: flex-start;
	height: 100%;
	margin: 0 auto;
	max-width: 1180px;
	width: 100%;
}

.site-content .slide-content.sl_center {
	justify-content: center;
}

.site-content .slide-content.sl_right {
	justify-content: flex-end;
}

.slide-wrap {
	align-items: center;
	align-self: center;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	padding: 50px;
	background: rgba(44, 51, 0, 0.6);
	max-width: 650px;
	width: 100%;
}

.slide-content p {
	color: #fff;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.2;
	text-align: left;
	margin: 0 0 20px 0;
	font-weight: bold;
}

.slide-content p.cita {
	font-size: 18px;
}

.slide-content a {
	background: #fff;
	border: 1px solid #524d08;
	color: #524d08;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.4px;
	padding: 16px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	min-width: 360px;
}

.slide-content a:hover {
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
}

.site-content .flexslider .flex-control-nav {
	bottom: 10px;
}

.site-content .flex-control-paging li a {
	background: #fff;
	margin: 0 10px;
}

.site-content .flex-control-paging li a:hover {
	background: rgba(255, 255, 255, 0.5);
}

.site-content .flex-control-paging li a.flex-active {
	background: #819026;
}

.flex-control-paging li a:focus {
	outline: none;
}

/*--------------------------------------------------------------
# ICONOS
--------------------------------------------------------------*/

.icon-block {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
}

.icon-block .icon-individual {
	align-items: center;
	border-right: 1px solid #e3e9bc;
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	width: 33%;
}

.icon-block .icon-individual:last-of-type {
	border-right: 0;
}

.icon-block a {
	margin: auto 0 0;
	text-decoration: none;
	color: #434449;
}

hr {
	background-color: transparent;
	border-top: 1px solid #e3e9bc;
	margin: 20px 0;
}

/*--------------------------------------------------------------
# NOTICIAS
--------------------------------------------------------------*/

.home section.noticias {
	display: flex;
	flex-flow: row wrap;
}

.home section.noticias article {
	flex-grow: 1;
	min-width: 450px;
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	width: 50%;
	padding: 0 12px 0 0;
	margin: 0 0 20px;
}

.home div.entry-image {
	max-width: 266px;
	width: 100%;
}

.home .noticias img {
    height: 175px;
    max-width: 266px;
    object-fit: cover;
}

.home div.entry-content {
	margin-top: 0;
	padding-left: 25px;
	width: calc(100% - 266px);
}

.home div.entry-content span {
	/*etiqueta + info*/
	display: block;
	float: right;
}

.home div.entry-content span a {
	color: #524d08;
}

.home section.noticias h3.entry-title {
	margin-top: 0;
	font-weight: 500;
	font-size: 18px;
	color: #819026;
	text-transform: none;
}

.home section.noticias p {
	color: #676767;
	line-height: 1.3;
}

@media only screen and (max-width: 1080px) {
	.home div.entry-content {
		width: calc(100% - 200px);
	}
	
	.home div.entry-image {
		max-width: 200px;
	}
	
	.home .noticias .noticia img {
		height: 180px;
	}
}

@media only screen and (max-width: 600px) {
	.home div.entry-image {
		max-width: 100%;
	}
	
	.home .noticias .noticia img {
		max-width: 100%;
		object-fit: cover;
	}
}

/*--------------------------------------------------------------
# AREAS
--------------------------------------------------------------*/

section.areas {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin: 0 6px 0 0;
}

section.areas article {
	align-items: flex-end;
	border-right: 6px solid #fff;
	display: flex;
	height: 220px;
	margin: 0 0 6px;
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 50%;
}

section.areas article:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(51, 51, 51, .4);
}

section.areas article.area a {
	text-decoration: none;
	display: flex;
	justify-content: flex-start;
	align-items: baseline;
}

article.area h3 {
	z-index: 2;
	color: #fff;
	font-size: 30px;
	margin: 0 0 20px 20px;
	max-width: 90%;
}

/*--------------------------------------------------------------
# CTA
--------------------------------------------------------------*/

section.cta {
	background: transparent;
	border-top: 1px solid #e3e9bc;
	border-bottom: 1px solid #e3e9bc;
	margin: 35px auto;
	min-height: 260px;
	padding-bottom: 40px;
	width: calc(100% - 24px);
}

section.cta div.wrap {
	display: flex;
	flex-flow: row wrap;
	margin: 0 auto;
	text-align: center;
	max-width: 782px;
}

section.cta div.wrap p {
	margin: 0;
	padding: 40px 0;
	font-size: 36px;
	font-weight: 300;
	color: #524d08;
}

section.cta div.wrap a {
	margin: 0 auto;
	border: 3px solid #524d08;
	padding: 17px 40px;
	text-decoration: none;
	color: #524d08;
	font-size: 15px;
	font-weight: 500;
	max-width: 355px;
	width: 100%;
}

section.cta div.wrap a:hover {
	background: #524d08;
	color: #fff;
}

/*--------------------------------------------------------------
# TWITTER- EVENTOS
--------------------------------------------------------------*/

div#twitter-eventos-wrap {
	min-height: 400px;
	display: flex;
	flex-flow: row nowrap;
}

section.twitter {
	max-width: 400px;
	width: 100%;
}

section.eventos {
	max-width: 780px;
	width: 100%;
}

article.evento {
	min-height: 155px;
	padding: 0 8px 8px 0;
	display: flex;
	flex-flow: row wrap;
}

div.evento-content a {
	color: #524d08;
}

div.evento-image .post-thumbnail {
	max-width: 266px;
	margin-right: 25px;
}

div.evento-content {
	width: calc(100% - 291px);
}

div.evento-content h3 {
	text-transform: none;
	color: #819026;
	font-size: 16px;
	line-height: 1.3;
	margin: 0;
}

.evento-content p {
	font-size: 14px;
	letter-spacing: 0.015rem;
	margin-bottom: 0;
}

@media only screen and (max-width: 900px) {
	div#twitter-eventos-wrap {
		flex-flow: row wrap;
		justify-content: center;
	}
	
	section.twitter {
		max-width: 350px;
	}
}

@media only screen and (max-width: 600px) {
	div.evento-image .post-thumbnail {
		max-width: 100%;
	}
}

/*--------------------------------------------------------------
# COLABORADORES
--------------------------------------------------------------*/

.flexslider-logos {
	position: relative;
}

.flexslider-logos .slides-logos {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0 12px;
}

.slides-logos li {
	text-align: center;
}

.slides-logos li img {
	max-height: 100px;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

div.colaboradores ol.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: 5px;
	text-align: center;
}

/*--------------------------------------------------------------
## 	PERSONAL ##
--------------------------------------------------------------*/

main.personal {
	width: 100%;
}

/*section.personal {
	max-width: 770px;
}*/

.personal > ul:not(:first-of-type) {
    margin: 140px 0;
}

.personal ul, .personal li {
	margin-left: 0;
	margin-bottom: 0;
	padding-left: 0;
}

.personal ul {
	display: flex;
	flex-flow: column wrap;
}

.personal li {
	list-style: none;
	display: flex;
	flex-flow: row wrap;
	margin-bottom: 10px;
}

.personal-cabecera {
	display: flex;
	flex-direction: row;
	height: 120px;
	width: 100%;
	padding: 10px;
	order: 1;
}

.personal-cabecera-foto {
	display: inline-flex;
	max-width: 100px;
	width: 100%;
	margin-right: 25px;
}

.personal-cabecera-datos {
	display: inline-flex;
	color: #434449;
	flex-flow: column nowrap;
	justify-content: space-around;
	max-width: 770px;
	width: 100%;
}

.personal-cabecera-datos p:nth-child(1) {
	/*nombre*/
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 4px;
}

.personal-cabecera-datos p:nth-child(2) {
	/*categoría*/
	font-size: 14px;
	font-weight: bold;
	margin-top: 0;
}

.personal-cabecera-foto img {
	border-radius: 50%;
}

.personal-cuerpo {
	max-width: 770px;
	width: 100%;
	display: flex;
	flex-flow: row nowrap;
	font-size: 14px;
	line-height: 24px;
	letter-spacing: 0.015rem;
}

.personal-cuerpo-izqda {
	margin-left: 130px;
	max-width: 460px;
	width: 100%;
}

.personal-cuerpo-izda p {
	margin-top: 0;
}

.personal-cuerpo-dcha {
	margin-left: 30px;
	max-width: 250px;
	width: 100%;
}

.personal-cuerpo-dcha p {
	margin-bottom: 0;
}

.personal-cuerpo-dcha a,
.personal-cuerpo-dcha a:visited {
	color: #434449;
	text-decoration: underline;;
}

.personal-cuerpo-dcha a.cv-link {
	display: block;
}

.personal-cuerpo-dcha span.green {
	font-weight: bold;
}

.personal-cuerpo-dcha p:empty {
	display: none;
}

span.green {
	color: #819026;
}

.investigador hr.content,
.investigador a.read {
	order: 3;
}

.search-element {
	align-self: flex-end;
	display: flex;
	flex-flow: row wrap;
}

.search-element img {
	display: inline-block;
	height: 25px;
	margin-left: 10px;
	width: 25px;
}

.search-list {
	border: 0;
	color: #2b3413;
	font-size: 16px;
	line-height: 20px;
	font-weight: bold;
	max-width: 120px;
}

.search-list::placeholder {
	color: #2b3413;
	font-size: 16px;
	line-height: 20px;
	font-weight: bold;
	opacity: 1;
}

/*--------------------------------------------------------------
## 	INVESTIGACIÓN E INNOVACIÓN ##
--------------------------------------------------------------*/

.iei.col h2.section {
	font-size: 32px;
	margin-left: 0;
	font-weight: bold;
	color: #2b3413;
	margin: 0;
	text-transform: uppercase;
}

.iei.col p {
	font-size: 14px;
	margin-bottom: 45px;
}

.parent-pageid-747 .iei.col {
    display: flex;
    flex-flow: column wrap;
}

/*Areas*/

section.iei-areas {
	display: flex;
	flex-direction: column;
}

article.iei-area {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin: 24px 0 24px 0;
}

.iei-area img {
	flex-basis: 400px;
	max-height: 225px;
	flex-grow: 1;
}

div.iei-area-dcha {
	margin-left: 30px;
	display: flex;
	flex-direction: column;
	flex-basis: 400px;
	flex-grow: 1;
}

.iei-area-dcha a {
	text-decoration: none;
}

.iei-area-dcha p {
	margin-bottom: 0;
}

.iei-area h3 {
	font-size: 24px;
	margin: 0;
	font-weight: bold;
	color: #2b3413;
}

.iei-area-content {
	font-size: 16px;
	font-style: italic;
}

@media only screen and (max-width: 1200px) {
	.iei-area img {
		object-fit: cover;
		margin-bottom: 20px;
	}
	
	div.iei-area-dcha {
		margin-left: 0;
		padding: 0 20px;
	}
}

/*--------------------------------------------------------------
# GRUPOS DE	INVESTIGACIÓN #
--------------------------------------------------------------*/

.grupos {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
}

.grupo {
	padding: 0 5px;
	margin-bottom: 10px;
	flex-basis: 280px;
	flex-shrink: 0;
}

.grupo a {
	text-decoration: none;
}

.grupo img {
	object-fit: cover;
	width: 100%;
	height: 155px;
}

.grupo h3 {
	color: #434449;
	margin-top: 8px;
}

.grupo h3::before {
	content: '';
	display: block;
	width: 30px;
	height: 5px;
	background-color: #aac600;
	margin-bottom: 5px;
}

/*--------------------------------------------------------------
# GRUPO DE	INVESTIGACIÓN (template single-grupo)  #
--------------------------------------------------------------*/

span[onclick] p {
	display: inline;
	cursor: pointer;
	color: black;
	font-weight: bold;
	margin-bottom: 0;
}

.single-grupo h2 {
	font-size: 30px;
	margin-top: 15px;
	font-weight: bold;
	text-transform: uppercase;
}

.single-grupo p.green {
	color: #819026;
	font-weight: bold;
	margin-top: 32px;
	margin-bottom: 16px;	
}

.single-grupo ul {
	margin-left: 0;
	padding-left: 18px;
}

.single-grupo hr {
	margin: 20px 0;
}

.single-grupo a.principal {
	color: black;
	/*text-decoration: underline;*/
}

.single-grupo a p {
	margin-top: 8px;
}
/*
.single-grupo a span.green {	
	text-decoration: underline;
}
*/
.single-grupo p.saber{
	text-align: left;
}

/*--------------------------------------------------------------
# PROYECTOS DE INVESTIGACIÓN #
--------------------------------------------------------------*/

section.proyectos {
	padding: 40px 0;
}

article.proyecto {
	font-size: 14px;
	letter-spacing: 0.015rem;
}

article.proyecto h3 {
	color: #434449;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}

article.proyecto > a h3 {
	text-decoration: underline;
}

span.pro-ent {
	color: #aac600;
	font-weight: bold;
}

hr.verde-oscuro-full {
	border-top: 2px solid #2b3413;
	margin: 20px 0;
}

/*--------------------------------------------------------------
# PUBLICACIONES CIENTÍFICAS #
--------------------------------------------------------------*/

section.publicaciones {
	padding: 40px 0;
}

article.publicacion {
	font-size: 14px;
	letter-spacing: 0.015rem;
	display: block;
	margin-bottom: 30px;
}

span.rev {
	font-style: italic;
}

article.publicacion h3 {
	display: inline;
	color: #aac600;
	font-size: 14px;
	margin: 4px 0;
	text-decoration: inherit;
}

article.publicacion a {
	text-decoration: underline;
}

/*--------------------------------------------------------------
# TESIS #
--------------------------------------------------------------*/

section.tesis {
	padding: 40px 0;
}

article.tesis {
	font-size: 14px;
	letter-spacing: 0.015rem;
}

article.tesis h3 {
	display: inline-block;
	color: #aac600;
	font-size: 14px;
	margin: 4px 0;
	text-decoration: underline;
}

/*--------------------------------------------------------------
# PATENTES Y REGISTROS. MEMORIAS DE INVESTIGACIÓN #
--------------------------------------------------------------*/

section.patentes,
section.memorias {
	padding: 40px 0;
}

article.patente,
article.memoria {
	font-size: 14px;
	letter-spacing: 0.015rem;
}

article.patente h3,
article.memoria h3,
article.tesis h3 {
	display: inline;
	color: #aac600;
	font-size: 14px;
	margin: 4px 0;
	text-decoration: inherit;
}

article.patente a,
article.memoria a,
article.tesis a {
	text-decoration: underline;
}

/*--------------------------------------------------------------
## COLABORACION I+D+i ##
--------------------------------------------------------------*/

.ofertas {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
}

.oferta {
	padding: 0 5px;
	margin-bottom: 10px;
	flex-basis: 425px;
	flex-shrink: 0;
}

.oferta img {
	object-fit: cover;
	width: 100%;
	height: 200px;
}

.oferta h3 {
    margin-top: 8px;
}

.oferta h3 a {
	color: #434449;
	text-decoration: none;
}

.oferta h3::before {
	content: '';
	display: block;
	width: 30px;
	height: 5px;
	background-color: #aac600;
	margin-bottom: 5px;
}

/*--------------------------------------------------------------
# CONSULTORIA Y TRANSFERENCIA#
--------------------------------------------------------------*/
.article-consultoria{
	display:flex;
	flex-flow:row wrap;
	justify-content:space-between;	
	margin-top:15px;	
}

.article-consultoria .consultoria-dcha > a {
	text-decoration: none;
}

.article-consultoria h3{
	color:#434449;
	font-size: 32px;
	margin: 0;
	font-weight: bold;
}

div.consultoria-izqda{
	flex-basis:270px;
	flex-grow:1;
	margin-right: 30px;
}

 div.consultoria-dcha{
	flex-basis:550px;
	flex-grow:1;
}

.consultoria-dcha .bottom {
	font-style: italic;
}




/*--------------------------------------------------------------
# DOCTORADO INDUSTRIAL#
--------------------------------------------------------------*/

main.doctorado {
	width: 100%;
}

section.doctorado > div {
	display: flex;
	flex-flow: row wrap;
}

section.doctorado h3 {
	font-weight: bold;
	width: 100%;
	margin-bottom: 0px;
	margin-top: 20px;
}

section.doctorado .doctorado--elemento:first-of-type h3 {
	margin-top: 50px;
}

a.read {
	color: #a2b901;
	font-size: 18px;
	width: 95px;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
	margin-bottom: 6px;
	text-decoration: none;
}

a.read::after {
	content: '+ info';
	display: block;
}

a.read:hover {
	color: #819026;
}

a.read.reading {
	color: #2b3413;
}

a.read.reading::after {
	content: 'cerrar';
	display: block;
}

.long-content {
	display: none;
	order: 4;
}

.long-content.reading {
	display: block;
	order: 2;
}

hr.content {
	align-self: center;
	display: inline-block;
	margin: 0;
	width: calc(100% - 95px);
	border-top: 3px solid #2b3413;
	color: #434449;
}

hr.content-more {
	align-self: center;
	display: inline-block;
	margin: 0;
	width: calc(100% - 95px);
	border-top: 3px solid #2b3413;
	color: #434449;
}

.learn-more {
	display: flex;
	flex-flow: row nowrap;
}

.learn-more a {
	text-decoration: none;
	color: #a2b901;
	font-size: 18px;
	width: 95px;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
	margin-bottom: 10px;
}

/*--------------------------------------------------------------
## COMUNICACION ##
--------------------------------------------------------------*/

.without-sidebar {
	padding-top: 60px;
}

.wrapper.without-sidebar a {
    text-decoration: none;
}

hr.verde-oscuro {
	/*separador */
	border-top: 2px solid #2b3413;
}

/*--------------------------------------------------------------
# NOTICIAS #
--------------------------------------------------------------*/

.noticias,
.page-id-18 .search-filter-results,
.page-id-12965 .search-filter-results{
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
}

.noticia {
	margin-bottom: 20px;
	flex-basis: 380px;
	flex-shrink: 0;
	margin: 0 20px 20px 0;
}

.noticia:nth-of-type(3n) {
	margin-right: 0;
}

.noticias .noticia img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.noticia p {
	margin-bottom: 0.8em;
}

.noticia p.date {
	font-weight: bold;
	font-size: 14px;
}

.noticia h3.entry-title {
	margin: 0;
	font-weight: 600;
	font-size: 18px;
	color: #819026;
	text-transform: uppercase;
}

.single .entry-content a {
    color: #aac600;
    font-weight: 500;
    text-decoration: underline;
}

.single h1.entry-title::before {
	content: '';
	display: block;
	width: 42px;
	height: 5px;
	background-color: #aac600;
	margin-bottom: 10px;
	margin-top: 20px;
}

.single h1.entry-title {
	text-transform: uppercase;
	font-size: 32px;
	font-weight: bold;
	margin-top: 0;
}

.single p.single-date {
	font-weight: bold;
}

.single p.single-date span {
	color: #819026;
}

@media only screen and (max-width: 1200px) {
	.noticias,
	.page-id-18 .search-filter-results,
	.page-id-12965 .search-filter-results {
		justify-content: center;
	}
	
	.noticia:nth-of-type(3n) {
		margin-right: 20px;
	}
}

@media only screen and (max-width: 1200px) {
	.noticia {
		flex-basis: 45%;
	}
}

/*--------------------------------------------------------------
# EVENTOS #
--------------------------------------------------------------*/

.single-evento article.evento, .single-seminario article.seminario {
	display: flex;
	flex-flow: column nowrap;
}

.single-evento article.evento img.attachment-large, .single-seminario article.seminario img.attachment-large, .single-post .post img.attachment-large {
	width: 100%;
}

/*--------------------------------------------------------------
# SEMINARIOS #
--------------------------------------------------------------*/

p.prox {
	/*Texto próximos y pasados*/
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
}

article.seminario, article.evento, .page-id-18 article.noticias, .page-id-12965 article.noticias {
	display: flex;
	flex-flow: row nowrap;
}

article.seminario {
	flex-flow: row wrap;
	position: relative;
}

article.seminario-proximo::before {
    content: 'Próximamente';
    display: block;
    width: 100%;
    background: #524d08;
    color: #fff;
    padding: 4px 13px;
    max-width: 135px;
    margin-bottom: 8px;
    border-radius: 0;
    position: absolute;
    top: -12px;
    text-align: center;
    left: 8px;
}

:lang(en) article.seminario-proximo::before {
    content: 'Soon';
}


.page-template-page-eventos article.seminario:first-of-type,
.page-template-page-seminarios article.seminario:first-of-type {
    margin-top: 60px;
}

.page-template-page-seminarios .seminarios img {
	height: 200px;
	object-fit: cover;
}

.msj-filtro {
	display: block;
	text-align: center;
	margin: 10px auto;
	width: 100%;
}

.searchandfilter h4{
	font-size: 13px;
	font-weight: bold;
	color: #524d08;
	padding: 8px 14px;
	border-bottom: 1px solid #e3e9bc;
	line-height: 19.2px;
}

.searchandfilter h4:first-of-type {
	border-top: 1px solid #e3e9bc;
}

.searchandfilter .sf-date-prefix {
    padding-right: 0;
    display: block;
    color: #aac600;
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 4px;
}

.searchandfilter .sf-input-text {
    font-size: 13px;
	border-radius: 0;
	border-color: #aac600;
}

.searchandfilter input[type="submit"] {
	border: 0;
	cursor: pointer;
	font-size: 13px;
	border-radius: 0;
	background: #a2b901;
	color: #fff;
	line-height: 1;
	padding: 8px 14px;
}

.searchandfilter .sf-field-reset input[type="submit"] {
	background: #bbb;
}

.searchandfilter ul li.sf-field-submit, 
.searchandfilter ul li.sf-field-reset {
    width: auto;
    float: left;
	margin-left: 14px;
    margin-right: -6px;
}

.searchandfilter > ul {
    margin-bottom: 113px;
}

.searchandfilter ul ul {
    padding: 10px 0 0px 24px;
}

.sf-field-search .sf-input-text {
    margin: 15px 0 0 24px;
}

.ll-skin-melon .ui-widget {
    background: #524d08;
}

.ll-skin-melon .ui-datepicker th {
    border-color: #333;
}

.ll-skin-melon td .ui-state-default {
	color: #524d08;
}

.ll-skin-melon td .ui-state-default:hover {
	background: #a2b901;
}

.com-image, .com-image>div {
	max-width: 365px;
	height: 235px;
	width: 100%;
}

.com-image img {
	width: 100%;
	height: auto;
}

div.com-content {
	padding-left: 30px;
	flex: 1;
}

@media only screen and (max-width: 900px) {
	article.seminario {
		justify-content: center;
	}
	
	.com-image,
	.com-image > div {
		max-width: 100%;
		height: auto;
		margin-bottom: 10px;
	}
	
	div.com-content {
		padding-right: 30px;
	}
}

@media only screen and (max-width:600px) {
	.com-image,
	.com-image > div {
		height: auto;
		margin-bottom: 10px;
	}
	
	div.com-content {
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}
}

div.com-content h3 {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
	color: #819026;
}

div.com-content p {
	font-size: 16px;
	margin: 0.3em 0;
}

span.bold {
	font-weight: bolder;
}

/*--------------------------------------------------------------
# VIDEOTECA #
--------------------------------------------------------------*/

section.videoteca {
	margin-top: 80px;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-evenly;
}

section.videoteca article {
	display: flex;
	flex-flow: column nowrap;
	max-width: 560px;
	margin-bottom: 30px;
}

section.videoteca iframe {
	height: 300px;
}

section.videoteca h3.entry-title {
	font-weight: 600;
	font-size: 18px;
	color: #819026;
	text-transform: uppercase;
}

/*--------------------------------------------------------------
# ARTÍCULOS DIVULGATIVOS #
--------------------------------------------------------------*/

.articulos {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
}

.articulo {
	margin-bottom: 20px;
	flex-basis: 540px;
	flex-shrink: 0;
	margin: 0 20px;
}

.articulo p {
	margin: 0.3em;
}

.articulo a {
	color: #819026;
	text-transform: uppercase;
	text-decoration: underline;
	font-weight: bold;
}

span.author {
	font-weight: bold;
}

.cursiva {
	/*para los títulos de revista*/
	font-style: italic;
}

.wrapper.without-sidebar .divulgativo-enlace {
	text-decoration: underline;
}

/*--------------------------------------------------------------
## FORMACION Y EMPLEO ##
--------------------------------------------------------------*/

.fye.col h2.section {
	font-size: 30px;
	margin-left: 0;
	font-weight: bold;
	color: #2b3413
}

.fye.col p {
	font-size: 14px;
	margin-bottom: 45px;
}

.fye.row {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

div.fye a {
	padding: 5px;
	flex-basis: calc(50% - 10px);
	min-width: 200px;
	flex-grow: 1;
}

section.fye {
	min-height: 220px;
	position: relative;
}

section.fye:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(43, 52, 19, .4);
}

section.fye h3 {
	color: #fff;
	position: absolute;
	bottom: 0;
	left: 30px;
	font-size: 30px;
	font-weight: bold;
}


/*--------------------------------------------------------------
#FORMACIÓN #
--------------------------------------------------------------*/
.formaciones {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
}

.formacion {
	padding: 0 40px 0 0;
	margin: 30px 0 10px;
	flex-basis: 425px;
}

.formacion p.bottom{
	margin-bottom:0;
}

.formacion h3{
	color: #819026;
	text-transform: uppercase;
}

@media only screen and (max-width: 1200px) {
	.formacion,
	.oferta {
		flex-basis: 50%;
	}
}

@media only screen and (max-width: 700px) {
	.formacion,
	.oferta {
		flex-basis: 95%;
	}
}

/*--------------------------------------------------------------
#EMPLEO #
--------------------------------------------------------------*/

article.empleo h3, article.formacion h3 {
	text-transform: uppercase;
	font-weight: bold;
}

article.formacion a {
	text-decoration: none;
}

/*--------------------------------------------------------------
## CONTACTO ##
--------------------------------------------------------------*/

div.page-contacto {
	margin: 50px auto 30px;
}

div.page-contacto strong {
	font-size: 18px;
}

div.page-contacto p {
	font-size: 14px;
}

div.page-contacto p a {
	color: black;
}

div.direcciones{
	flex-basis:calc(33% - 20px);
	margin-right: 20px;
}

.contact-address {
	padding: 0 20px 0 0;
}

.contact-address p:first-of-type {
	font-size: 32px;
	line-height: 1;
	font-weight: bold;
	margin-bottom: 20px;
}

.contact-address p {
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0.015rem;
}

p.intro-formulario {
	font-weight: bold;
	font-size: 14px;
}

#gform_fields_1,
#gform_fields_2 {
    display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

#gform_fields_1 li,
#gform_fields_2 li {
	width: 30%;
}

#gform_fields_1 li:first-of-type, #gform_fields_1 li:nth-of-type(5),
#gform_fields_2 li:first-of-type, #gform_fields_2 li:nth-of-type(5) {
    width: 100%;
}

.gform_wrapper .gform_body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
.gform_wrapper .gform_body textarea {
    border: 0;
    border-bottom: 3px solid #434449;
    border-radius: 0;
    font-size: 14px;
	letter-spacing: 0.015rem;
	width: 100%;
}

.gform_wrapper .gform_body textarea {
    padding: 5px 4px;
}

.gform_wrapper #gform_1 .gform_footer input[type="submit"],
.gform_wrapper #gform_2 .gform_footer input[type="submit"]{
	background: transparent;
	border: 0;
	color: #819026;
	font-weight: bold;
	cursor: pointer;
	margin: 0 0 0 auto;
	display: block;
}

.gform_wrapper #gform_1 .gform_footer,
.gform_wrapper #gform_2 .gform_footer{
	margin-top: 0;
}

/*--------------------------------------------------------------
## MEDIA QUERYS ##
--------------------------------------------------------------*/

@media screen and (max-width: 800px) {
	.site-header {
		padding: 0;
	}

	.header-up {
		padding: 0 20px;
	}
}

@media screen and (max-width:1180px) {
	.site-header, .site-main .wrapper, .footer-down {
		padding: 0 20px;
	}
	.header-up {
		padding: 0;
	}
	div.footer-up-izqda-container {
		padding-left: 20px;
	}
	div.footer-up-dcha-container {
		padding-right: 20px;
	}
	.slide-wrap {
		width: 96%;
	}
	.sl_left .slide-wrap {
		margin-left: 40px;
	}
	.sl_right .slide-wrap {
		margin-right: 40px;
	}
	#mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item.mega-current-page-ancestor>a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item>a.mega-menu-link {
		font-size: 14px;
	}
}

@media screen and (max-width:768px) {
	.slide-content.sl_left, .slide-content.sl_right {
		justify-content: center;
	}
	.sl_left .slide-wrap {
		margin-left: 0;
	}
	.sl_right .slide-wrap {
		margin-right: 0;
	}
	div.footer-up-dcha {
		flex-wrap: wrap;
	}
	div.logos-socios {
		margin-left: 70px;
	}
	div.footer-up, div.footer-down {
		flex-flow: column wrap;
		margin: 0 auto;
		padding: 0;
	}
	div.footer-up-izqda-container, div.footer-up-dcha-container {
		width: 100%;
	}
}

@media screen and (max-width:600px) {
	/* header*/
	.main-navigation ul li {
		float: none;
	}
	nav.social-menu a {
		padding: 0 15px;
	}
	.slide-content a {
		min-width: 100%;
	}
	/*footer*/
	div.footer-redes {
		padding-left: 0;
		padding-bottom: 30px;
	}
	/* home - noticias*/
	section.noticias article {
		flex-flow: column wrap;
		min-width: 100%;
		margin: 0;
	}
	div.entry-image, div.entry-content {
		width: calc(100% - 20px);
	}
	div.entry-image {
		margin: 0 auto;
	}
	/*home -twitter -eventos */
	div.evento-image, div.evento-content {
		width: 96%;
		margin: 0 auto;
	}
	section.twitter {
		order: 1;
	}
	article.evento {
		flex-flow: column wrap;
	}
	
	.icon-block a {
		margin: 0;
		width: 70px;
		font-size: 12px;
		text-align: center;
	}
	
	.icon-block a img {
		width: 50px;
	}
	
	.home div.entry-content {
		margin-top: 8px;
		padding-left: 0;
		text-align: left;
		width: 100%;
	}
	
	.home section.noticias article {
		flex-basis: auto;
		min-width: auto;
		width: 100%;
	}
	
	.home section.areas article {
		width: 100%;
	}
	
	div.footer-down {
		flex-flow: row wrap;
	}
	
	div.footer-down-container {
		justify-content: center;
	}
	
	div.footer-up-dcha h3 {
		margin: 0 auto;
	}
	
	div.logos-socios {
		margin: 0 auto;
		border-top: 0;
		justify-content: center;
	}
	
	div.logos-socios a:nth-child(2n+1) {
		margin-right: 0;
	}
	
	div.footer-up-dcha-container {
		padding-right: 0;
	}
}

/* QUIÉNES SOMOS */
.site-main > h2:first-of-type::before {
	content: '';
	display: block;
	width: 42px;
	height: 5px;
	background-color: #aac600;
	margin-bottom: 10px;
}

.site-main > h2:first-of-type {
	text-transform: uppercase;
	font-size: 32px;
	font-weight: bold;
	margin-top: 0;
}

.ul-no-margin {
	margin: 0 0 12px 0;
	padding: 0 0 0 12px;
}

.margin-bottom-0 {
	margin-bottom: 0;
}

.margin-h3 {
	margin: 0 0 -8px;
	font-size: 24px;
}

.hr-dark-green {
	border: 0;
	background-color: #2b3413;
	height: 3px;
}

.hr-black {
	border: 1px solid #000;
	background: #000;
	margin: 0;
}

.wp-block-columns.paises h3 {
    margin-top: 15px;
}

.wp-block-columns.paises p {
    margin: 5px 0 15px;
    font-size: 16px;
}

.section__areas .site-main > h2:first-of-type {
	color: #313131;
	margin-top: 10px;
}

.section__areas .site-main > .section__areas--imagen {
	height: 350px;
	width: 100%;
}

.section__areas .site-main > .section__areas--imagen > img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.section__areas .site-main h2.areas__subtitle {
	color: #828f25;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	margin: 30px 0 -10px;
	text-transform: uppercase;
}

.section__areas .site-main ul.areas__listado {
	margin-left: 0;
	padding-left: 14px;
}

.section__areas .site-main ul.areas__listado a {
	color: #313131; 
}

.section__areas .site-main ul.areas__listado strong {
	color: #313131;
	display: inline-block;
	margin: 0 0 6px 14px;
}

.section__areas .site-main .areas__proyectos p {
	font-size: 16px;
}

.section__areas .site-main .areas__proyectos a {
	color: #313131;
}

.section__areas .site-main ul.areas__listado a:hover,
.section__areas .site-main .areas__proyectos a:hover{
	color: #aac600;
}

.prop-iei ul {
	margin: 30px 0 20px 0px;
}

/* Maquetación de la ficha de oferta científico-tecnológica */
.card.oferta {
    padding: 0;
    margin-bottom: 0;
}

.card__header,
.card__body {
    font-size: 14px;
    line-height: 1.4;
}

.card__header h2::before {
    background-color: #aac600;
    content: '';
    display: block;
    height: 5px;
    margin-bottom: 20px;
    width: 30px;
}

.card__header h2 {
	font-size: 30px;
	font-weight: bold;
	line-height: 1.2;
	margin: 10px 0;
	text-transform: uppercase;
}

.card__header h1::before,
.card__body h3::before,
.card__hero::before,
.card__columns::before {
	border-top: 1px solid #e3e9bc;
	content: '';
	display: block;
	height: auto;
	margin-bottom: 20px;
	width: 100%;
}

.card__header h1,
.card__body h3 {
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
	text-transform: uppercase;
}

.card__header > span,
.card__body > span {
	display: block;
	margin-bottom: 20px;
}

.card__header span span,
.card__body span span {
	color: #899534;
	font-weight: bold;
}

.card__body p {
    margin-bottom: 20px;
}

.card__body ul,
.card__body ol {
	margin-bottom: 20px;
    padding-left: 14px;
}

.card__body ol {
    list-style-type: upper-alpha;
}

.card__body ul li {
    margin-bottom: 10px;
}

.card__hero .card__hero-titulo {
	background: #a2b901;
	color: #fff;
	display: block;
	font-size: 24px;
	font-weight: bold;
	padding: 24px 32px 14px;
	text-transform: uppercase;
	width: 100%;
}

.card__hero .card__hero-content {
	background: #e3e9bc;
	margin-bottom: 20px;
	padding: 24px 32px 30px;
}

.card__hero .card__hero-content h3::before {
	display: none;
}

.card__hero .card__hero-content li {
	font-weight: bold;
	margin-bottom: 10px;
}

.card__refs,
.card__body span.card__refs span {
	color: #aaa;
	font-size: 12px;
	font-weight: 400;
}

.card__columns {
    align-items: flex-start;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
	margin-bottom: 20px;
}

.card__columns > div {
	width: 48%;
}

.card__columns h3::before {
	display: none;
}

.card__checkbox {
	align-items: center;
	color: #828f25;
    display: flex;
	flex-flow: row wrap;
	font-size: 16px;
	font-weight: bold;
	justify-content: flex-start;
	line-height: 34px;
}

.card__checkbox::before {
	content: '';
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	height: 20px;
	width: 20px;
	margin: 0 5px 0 0;
	border: 2px solid #828f25;
	padding-bottom: 2px;
	font-size: 18px;
}

.card__checkbox.checked::before {
	content: '×';
}

.card__body .card__refs {
    display: flex;
}

.card__body .card__refs p,
.card__body .card__refs a {
	color: #aaa;
	font-size: 12px;
	font-weight: 400;
}

.card__body .card__refs p {
	margin: 0 2px;
}

.empleo h3 {
	color: #828f25;
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
	margin-top: 30px;
	text-transform: uppercase;
}

.empleo h3.empleo__doc {
	color: #676767;
}

.empleo a {
	color: #828f25;
}

.empleo ul {
	padding: 0 0 0 14px;
}

.empleo ul li {
	margin-bottom: 6px;
	padding-left: 14px;
}

.empleo .empleo__financiacion {
	margin-top: 60px;
}

.empleo h1::before {
    content: '';
    display: block;
    width: 42px;
    height: 5px;
    background-color: #aac600;
    margin-bottom: 30px;
}

.empleo h1 {
	color: #313131;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 32px;
    font-weight: bold;
}

.empleo h2.empleo_plazo {
    font-size: 16px;
    text-transform: uppercase;
}

.empleo h2.empleo_plazo span {
	display: block;
	margin: 10px 0;
}

p.formacion-empty {
	margin-top: 40px;
}

article.curso::before {
    content: '';
    display: block;
    width: 42px;
    height: 5px;
    background-color: #aac600;
    margin-bottom: 30px;
	margin-top: 10px;
}

.curso h1 {
	margin-top: 20px;
	color: #313131;
    text-transform: uppercase;
    font-size: 32px;
    font-weight: bold;
}

.curso > img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 20px;
}

.curso span,
.curso .crs__enlace {
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: 0.015rem;
}

.curso .crs__publi {
	font-style: italic;
}

.curso .crs__inscr {
    font-weight: bold;
}

.curso .crs__enlace {
	color: #828f25;
}

span.filtro-anual {
	display: block;
	color: #313131;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
	margin-bottom: 20px;
	margin-left: 12px;
	width: 100%;
}

span.filtro-anual::before {
    content: '';
    display: block;
    width: 42px;
    height: 5px;
    background-color: #aac600;
    margin-bottom: 5px;
	margin-top: 10px;
}

.destacado {
	border-bottom: 3px solid #000;
	margin-right: 16px;
	padding: 16px;
}

.destacados .destacado:first-of-type {
	border-top: 3px solid #000;
	margin-top: 40px;
}

.destacado__subtitulo {
	color: #2b3413;
	display: block;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.1;
}

.destacado__titulo {
	color: #2b3413;
	display: block;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.1;
	margin: 8px 0;
}

.destacado > a {
	color: #a2b901;
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
}

.destacado__tipo-2 .destacado__titulo {
	color: #828f25;
}

.com-content > a {
    text-decoration: none;
    text-transform: uppercase;
}

.searchandfilter ul {
    padding: 0 20px 0 0;
    font-size: 14px;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column.col-fixed > ul.mega-sub-menu > li.mega-menu-item {
	padding-left: 0;
	padding-right: 0;
}

@media only screen and (max-width: 1080px) {
	.contact-address {
		padding: 0 20px;
	}
}

@media only screen and (max-width: 900px) {
	.personal-cuerpo-izqda {
		margin-left: 0;
	}
}

@media only screen and (max-width: 600px) {
	.site-header {
		padding: 0;
	}
	
	.destacado {
		margin-right: 0;
	}
	
	#mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-label,
	#mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-block-1::after {
		color: #fff;
	}
	
	.home h2.section::before {
		margin: 0 auto 10px;
	}
	
	.home h2.section {
		text-align: center;
	}
	
	.home article.evento {
		text-align: left;	
	}
	
	div.evento-image .post-thumbnail {
		margin: 10px auto;
	}
	
	.home section.eventos {
		width: 100%;
		max-width: 100%;
		padding-bottom: 30px;
	}
	
	.card__columns > div {
		width: 100%;
	}
	
	div.direcciones {
		flex-basis: 100%;
		margin-right: 0;
	}
	
	.site-header .smi-social-menu,
	.site-header .searchform {
		display: none;
	}
	
	.header-up {
		flex-flow: column wrap;
	}
	
	.site-title {
		max-width: 400px;
		margin: 0 auto 10px;
	}
	
	.site-header .social-menu {
		justify-content: center;
		margin-bottom: 6px;
	}
	
	.personal-cabecera-datos p:nth-child(1) {
		font-size: 20px;
		line-height: 1.2;
	}
	
	.personal-cuerpo-izqda,
	.personal-cuerpo-dcha {
		margin-left: 0;
	}
	
	.personal-cuerpo {
		flex-flow: row wrap;
	}
	
	div.iei-area-dcha {
		margin-left: 0;
		margin-top: 8px;
	}
	
	.oferta {
		flex-basis: auto;
		width: 100%;
	}
	
	#menu-comunicacion,
	#menu-communication {
		padding: 10px 0;
		flex-flow: row wrap;
	}
	
	section.noticias article {
		flex-basis: auto;
		width: 100%;
		margin-bottom: 8px;
	}
}

.busqueda-noticias {
    text-align: right;
    display: block;
	margin: 0;
    width: 20px;
}

#busqueda-noticias img {
	display: none;
	width: 12px;
}

#busqueda-noticias {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
	border-bottom: 1px solid #e3e9bc;
	border-top: 1px solid #e3e9bc;
	padding: 8px 14px;
	margin: 0 0 14px;
}

#search-filter-form-8398,
#search-filter-form-13280 {
	margin: 0;
	width: 100%;
}

#search-filter-form-8398 ul,
#search-filter-form-13280 ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
	text-align: left;
}

#search-filter-form-8398 li:last-of-type,
#search-filter-form-13280 li:last-of-type {
	text-align: right;
}

#search-filter-form-8398 li:last-of-type h4,
#search-filter-form-13280 li:last-of-type h4 {
	width: 140px;
}

#search-filter-form-8398 ul h4,
#search-filter-form-13280 ul h4 {
	border: 0;
	padding: 0 14px;
	width: 180px;
}

#search-filter-form-8398 ul h4,
#search-filter-form-8398 ul .sf-date-prefix,
#search-filter-form-8398 ul input,
#search-filter-form-13280 ul h4,
#search-filter-form-13280 ul .sf-date-prefix,
#search-filter-form-13280 ul input {
	font-size: 12px;
}

#search-filter-form-8398 ul input,
#search-filter-form-13280 ul input {
	margin: 0;
	width: 100px;
	border-color: #e3e9bc;
}

#search-filter-form-8398 ul li,
#search-filter-form-13280 ul li {
	margin: 0;
	display: flex;
	align-items: center;
	padding: 0;
}

#search-filter-form-8398 ul li ul,
#search-filter-form-13280 ul li ul {
	justify-content: flex-start;
}

#search-filter-form-8398 ul li ul li,
#search-filter-form-13280 ul li ul li {
	margin: 0;
	padding: 0;
}

#search-filter-form-8398.searchandfilter .sf-date-prefix,
#search-filter-form-13280.searchandfilter .sf-date-prefix {
	margin: 0 4px;
}

#search-filter-form-8398 > ul > li:last-of-type::before,
#search-filter-form-13280 > ul > li:last-of-type::before {
    content: "|";
    margin: 0 0 0 34px;
}

.gform_wrapper .ginput_container textarea.large {
    height: 160px;
}

.flexslider-logos .flex-direction-nav a::before {
    font-family: "dashicons";
    font-size: 40px;
    display: inline-block;
    content: '\f341';
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.flexslider-logos .flex-direction-nav a.flex-next::before {
    content: '\f345';
}


.flexslider-logos .flex-direction-nav .flex-prev {
	left: -40px;
}


.flexslider-logos .flex-direction-nav .flex-next {
	right: -40px;
}


.flexslider-logos .flex-direction-nav a {
	height: 50px;
	opacity: 1;
}

@media only screen and (max-width: 1200px) {
	.flexslider-logos .flex-direction-nav {
		display: none;
	}
}

#busqueda-personal .searchandfilter h4 {
    border-bottom: 0;
    border-top: 0;
	display: inline;
}

#busqueda-personal .searchandfilter {
    display: flex;
	border-top: 1px solid #e3e9bc;
	border-bottom: 1px solid #e3e9bc;
}

#busqueda-personal .sf-field-search .sf-input-text {
	margin: 0;
}

/* Página OBJETIVOS */
section.objetivos {
	margin-top: 50px;
}

.objetivo--elemento {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 0 0 30px 0;
}

.objetivo--elemento img {
	height: 130px;
	object-fit: contain;
	padding-bottom: 30px;
	padding-left: 20px;
	width: 130px;
}

.objetivo--elemento img + div {
	max-width: 590px;
	padding-bottom: 32px;
	width: calc(100% - 130px);
}

.objetivo--elemento h3 {
	color: #676767;
	font-size: 22px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.015rem;
	line-height: 1.3;
	margin: 0;
	padding-left: 20px;
}

.objetivos hr {
    margin-top: 0;
    margin-left: 150px;
	max-width: 540px;
}

.objetivos hr.with-read {
	max-width: 540px;
	width: calc(100% - 260px);
}

.objetivo--texto ~ .long-content {
    font-style: italic;
    line-height: 1.3;
    max-width: 540px;
    margin-left: 150px;
    margin-bottom: 20px;
}

@media only screen and (max-width:400px) {
	.objetivo--elemento {
		align-items: flex-start;
 		flex-flow: row wrap;
	}
	
	.objetivo--elemento img {
		height: 100px;
		padding-left: 0;
		width: 100px;
	}
	
	.objetivo--elemento img + div {
		width: 100%;
	}
	
	.objetivos hr {
		margin-left: 20px;
		align-self: flex-start;
	}
	
	.objetivo--texto ~ .long-content {
		margin-left: 20px;
	}
	
	.objetivo--elemento a.read {
		font-size: 14px;
		margin: -10px 0 10px 4px;
		width: 45px;
	}
	
	.objetivos hr.with-read {
		width: calc(100% - 100px);
	}
}


/* FLECHA SUBIR ARRIBA */
.cd-top {
	display: inline-block;
	height: 30px;
	width: 30px;
	position: fixed;
	bottom: 40px;
	right: 10px;
	box-shadow: 0 0 0;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: url(img/flecha-top.png) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
}
  
.cd-top.cd-is-visible, 
.cd-top.cd-fade-out, 
.no-touch .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
	visibility: visible;
	opacity: 1;
}

.cd-top.cd-fade-out {
	opacity: .5;
}

.no-touch .cd-top:hover {
	background-color: transparent;
	opacity: 1;
}

@media only screen and (min-width: 768px) {
	.cd-top {
		right: 20px;
	}
}

@media only screen and (min-width: 1024px) {
	.cd-top {
	  	height: 30px;
	  	width: 30px;
	  	right: 30px;
	}
}

.pagination {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 14px;
}

span.numpagina {
font-size: 13px;
font-weight: 400;
border-top: 1px dashed #aac600;
padding-top: 10px;
margin-top: 10px;
display: inline-block;
}

.scriptlesssocialsharing__buttons a.button {
	border: 1px solid #fff;
	color: #fff;
	text-decoration: none;
	margin-top: 60px;
}