/*
Theme Name:		adela
Theme URI:		http://underscores.me/
Author:			Modern Talking
Author URI:		http://www.moderntalking.es/
Description:	Tema desarrollado a medida para ADELA (Asociación Valenciana de Esclerosis Lateral Amiotrófica)
Version: 		1.0.0
License:		GNU General Public License v2 or later
License URI: 	LICENSE
Text Domain: 	adela
Tags:

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.

adela is based on Underscores http://underscores.me/, (C) 2012-2016 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 http://necolas.github.io/normalize.css/
*/

/*		Modern Talking
		
		color:#cd1719 - Rojo oscuro
		color:#ffffff - color 02
		color:#efefef - color 03
	 	color:#000000 - color 04
	
*/

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


/* @group Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

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

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

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

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

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

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

.no{
	display: none;
}

/* @end */

/* @group Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Open Sans', sans-serif;	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h2.noticias-portada{
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 600;
	margin: 0;
}

h2.page-title{
	margin-top: 0;
	margin-bottom: 40px;
	font-size: 28px;
	line-height: 34px;
	color: #000;
}

h2.tribe-events-page-title{
	margin-top: 0;
	background-color: #cd1719;
	color: #fff;
}

h3{
	margin-bottom: 0;
	font-size: 18px;
}

h3.titular-noticia{
	margin: 24px 0 12px;
}

h3.colaboradores{
	font-size: 18px;
	font-weight: 400;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	background-color: #cd1719;
	margin: 80px 0 30px;
	padding: 5px;
}

h3.widget-title,
h3.relacionadas{
	font-size: 15px;
	padding-bottom: 5px;
	text-transform: uppercase;
	border-bottom: 1px solid #cd1719;
}

h3.widget-title{
	margin-top: 0;
}

.wpcf7 h3{
	margin: 40px 0 15px;
}

h4.titular-noticia{
	margin: 0 0 12px;
}

h4.relacionadas{
	font-size: 16px;
	margin-bottom: 0;
}

#pie-pagina h4,
#pie-pagina h5{
	color: #fff;
	text-transform: uppercase;
	font-size: 13px;
}


#pie-pagina h4{
	border-bottom: 1px solid #fff;
	padding-bottom: 8px;
}

#pie-pagina h5{
	margin: 0;
}

p {
	font-size: 14px;
	margin-top: 0;
	margin-bottom: 1.5em;
}

p.fecha{
	margin-top: 12px;
	font-size: 11px;
}

p.relacionadas{
	margin: 5px 0 0;
}

p.colabora{
	text-align: center;
	margin-bottom: 30px;
	width: 100%;
}

p.solo-logo{
	background: url('images/sprites.png') no-repeat left -35px;
	padding: 0;
	display: block;
	width: 77px;
	height: 70px;
	text-indent: -999em;
}

.trabajador p{
	font-size: 12px;
}

.pq-txt{
	font-size: 0.8em;
	color: #666;
}

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%;
}

.site-info{
	text-align: center;
	font-size: 11px;
	margin: 20px auto 0;
	padding: 0 4% 20px;
	max-width: 1280px;
}

#pie-pagina p,
#pie-pagina ul,
#pie-pagina ul li,
#pie-pagina ul li a{
	color: #fff;
}

.columna-pie ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
}

.entry-content ul li{
	font-size: 14px;
	padding-bottom: 3px;	
}

.columna-pie ul li{
	margin-bottom: 5px;
}

.wp-caption{
	font-size: 14px;
}

figcaption{
	margin-top: 0 !important;
	padding-bottom: 3px;
	text-align: center;
	font-size: 13px;
	font-style: italic;
	color: #999;
	border-bottom: 1px solid #ccc
}

@media screen and (max-width: 960px) {
	#pie-pagina h4{
		margin-top: 20px;
	}
	
	.seccion-cuarta h4{
		margin-top: 60px!important;
	}
}

@media screen and (max-width: 480px) {
	.seccion-segunda h4,
	.seccion-tercera h4,
	.seccion-cuarta h4{
		margin-top: 60px!important;
		text-align: center;
	}
	
	.seccion-tercera{
		display: none;
	}
}

/* @end */

/* @group 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 http://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. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

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

ul,
ol {
	margin: 0 0 1.5em 3em;
}

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%;
}

img.ancho-completo{
	width: 100%;
	height: auto;
}

h1.site-title a,
p.site-title a{
	margin: 23px 0;
}

.site-title a{
	display: block;
	width: 611px;
	height: 35px;
	margin: 23px 0;
	text-indent: -999em;
	background: url('images/sprites.png') no-repeat left top;
	-webkit-transition: opacity 0.5s linear;
	-moz-transition: opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	 transition: opacity 0.5s linear;
}

.site-title:hover a{
	opacity: 0.3;
}

.et_monarch .et_social_inline_bottom {
	margin: 40px 0 20px;
}

.et_monarch .et_social_6col li { width: 50px!important; }

@media screen and (max-width: 860px) {
	.site-title a{width: 212px;}
}

/* @end */

/* @group Forms
--------------------------------------------------------------*/
.wpcf7,
.gform_wrapper{
	margin-bottom: 105px !important;
}

body .gform_wrapper .top_label div.ginput_container,
.gform_wrapper li.hidden_label input {
  margin-top: 0 !important; 
}

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, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
}

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

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	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;
}

select {
	border: 1px solid #ccc;
}

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;
}

.acceptance-302{
	float:left;
}

.acceptance-302 input{
	width: 20px;
}

textarea {
	width: 100%;
}

input,
textarea{
	padding: 8px 12px!important;
	width: 100%;
	font-size: 12px;
	background-color: #e6e6e6;
	border: 2px solid #e6e6e6!important;
}

input.wpcf7-submit,
input[type="submit"]{
	width: 40%;
	background-color: #cd1719;
	border: 2px solid #cd1719!important;
	color: #fff;
	transition: 0.3s all ease-in;
}

input:hover.wpcf7-submit,
input[type="submit"]:hover{
	background-color: #fff;
	border: 2px solid #cd1719!important;
	color: #cd1719;
}

.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit]{
	font-size: 12px !important;
	padding: 10px 60px !important;
}

.iban,
.entidad,
.oficina,
.digito-control,
.cuenta{
	float: left!important;
	padding: 0 !important;
}

.iban,
.entidad,
.oficina{
	width: 14%;
	margin-right: 2%;
}

.digito-control{
	width: 9%;
	margin-right: 2%;
}

.cuenta{
	width: 40%;
	margin-right: 0;
}

/* Formulario Hazte amigo */
.gform_wrapper ul li.gfield {
  clear: none !important;
}

.aceptar-condiciones{
	float: left;
	width: 30px;
}

.wpcf7-checkbox label input{
	width: 25px;
}

.wpcf7-checkbox label{
	display:inline-block;
	width: 100%;
}



/* @end */

/* @group Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	font-size: 14px;
	color: #cd1719;
	text-decoration: none;
}

.entry-title a,
h3.titular-noticia a{
	font-size: 28px;
	line-height: 34px;
	text-decoration: none;
	color: #cd1719;
}

h3.titular-noticia a:hover{
	color: #000;
}

h4.titular-noticia a{
	font-size: 16px;
	line-height: 21px;
	text-decoration: none;
	color: #000;
}

h4.relacionadas a,
.widget ul li a{
	color: #000;
}

h4.relacionadas a:hover,
h4.titular-noticia a:hover,
.widget ul li a:hover{
	color: #cd1719;
	text-decoration: none;
}

a:visited {
}

a:hover,
a:focus,
a:active {
	color: #000;
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

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

a.boton-generico{
	font-size: 13px;
	padding: 5px 10px;
	background-color: #cd1719;
	border: 2px solid #cd1719;
	color: #fff;
	border-radius: 5px;
}

a:hover.boton-generico{
	background-color: #fff;
	border: 2px solid #cd1719;
	color: #cd1719;
	text-decoration: none;
}

.site-info a{
	text-align: center;
	font-size: 11px;
}

.site-info a,
p.colabora a{
	text-decoration: underline;
}

section.widget_sp_image a:hover img{
	opacity: .7;
}

a.cocemfe{
	background: url('images/sprites.png') no-repeat -77px -35px;
	padding: 0;
	display: block;
	width: 75px;
	height: 69px;
	text-indent: -999em;
	margin: 20px 0  0;
}

a:hover.cocemfe{
	opacity: .7;
}

a.blanco{
	color: #fff;
}

a.doc-pdf{
	padding: 105px 0 0 0;
		font-size: 12px;
	
	display: block;
	background: url('images/sprites.png') no-repeat -650px top;
	/* white-space: nowrap; */
}

.trabajador a{
	font-size: 12px;
}

a.revista{
	line-height: 2.5em;
}

.tribe-events-sub-nav li a,
.tribe-events-sub-nav li a:hover{
	background:#fff;
	color:#cd1719;
}

.tribe-events-sub-nav li a:hover{
	text-decoration: underline!important;
}

.tribe-events-widget-link{
	display: none;
}


/* Menús derecha */
#menu-ela li a,
#menu-servicios li a{
	display: block;
	padding: 20px 50px;
	text-align: center;
	margin-bottom: 16px;
	background-color: #cd1719;
	border-radius: 5px;
	color: #fff;
}

#menu-ela li a:hover,
#menu-servicios li a:hover{
	opacity: .75;
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#popout_mt {
	position: fixed;
	height: 100%;
	width: 325px;
	background-color: #cd1719;
	color: white;
	top: 0px;
	right: -325px;
	overflow:auto;
	cursor: pointer;
	z-index: 99999;
}


#toggle_mt {
	float: right;
	position: absolute;
	top: 0;
	right: 4%;
	width: 28px;
	height: 24px;
	z-index: 999999;
}

#toggle_mt img {
	cursor: pointer;
}

img.aspa {
	display: none;
}


@media screen and (min-width: 1200px) {
	img.aspa {
		display: block;
		position: absolute;
		top: 22px;
		right: 36px;
	}
	
	img.aspa-original {
		display: none
	}
}

.nav-menu li { 
	padding: 5px 0;
	width:100%;
	font-size: 14px;
}

.nav-menu li:first-child { 
	padding: 15px 0 5px;
}

.nav-menu ul li a{
}

.nav-menu ul li a:hover { 
	opacity: .4;
}

.nav-menu li a { 
	color:#fff;
	text-decoration:none;
	width:100%;
}

.nav-menu li.no-cursor a { 
	cursor: default;
}

.nav-menu li.no-cursor li a { 
	cursor: pointer;
}

.nav-menu{
	margin-top: 78px!important;
}

.nav-menu li {
	margin-top: 20px;
	font-weight: bold;
	text-transform: uppercase;
}

.nav-menu li.inicio {
	background: url('images/sprites.png') no-repeat left -35px;
	padding: 0;
	display: block;
	width: 77px;
	height: 70px;
	text-indent: -999em;
	margin: 0;
}

.nav-menu li ul li {
	margin-top: 0;
	text-transform: none;
	font-weight: normal;
	font-style: normal;
}


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

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

.main-navigation ul ul{
	margin-left: 0;
}

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

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

.main-navigation ul ul {
	float: none;
	/*position: absolute;*/
	top: 1.5em;
	left: -999em;
	z-index: 9999;
}

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

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

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

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

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

.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%;
}

.colabora{
	width: 100%
}

/* Redes sociales */

.redes{
	position: absolute;
	right: 7%;
	top: 0;
}

.redes-hide,
.redes-pie{
	display: none;
}

.redes p,
.redes-pie p{
	float: left;
	margin:0 10px 0 0;
}

.redes a i{
	font-size: 2em;
	color: #cd1719;
}

.redes a:hover i{
	color: #333;
}

i.fa.fa-bars{
	font-size: 1.8em;
	cursor: pointer;
}

i:hover.fa.fa-bars{
	color:#cd1719 ;
}

@media screen and (max-width: 800px) {
	.redes{
		right: 8%;
	}
}

@media screen and (max-width: 600px) {
	.redes{
		right: 10%;
	}
}

@media screen and (max-width: 480px) {
	a.cocemfe{
		margin: 20px auto  0;
	}
	
	.redes{
		display: none!important;
	}
	
	.redes-pie{
		display: block;
	}
	
	.iconos-pie{
		width: 84px;
		margin: 0 auto;
	}
	
	.redes-pie a i{
		font-size: 1.7em;
		color: #fff;
	}
}

/*--------------------------------------------------------------
## Breadcrumbs
--------------------------------------------------------------*/

#breadcrumbs{
    list-style:none;
    margin:40px 0 0;
    padding: 0;
    overflow:hidden;
}
  
#breadcrumbs li{
    display:inline-block;
    vertical-align:middle;
    margin-right:5px;
}

#breadcrumbs li,
#breadcrumbs li a{
    font-size: 12px;
}
  
#breadcrumbs .separator{
    color:#ccc;
}

/*--------------------------------------------------------------
## Posts nav
--------------------------------------------------------------*/

.paginacion{
	text-align: center;
}

.paginacion span,
.paginacion a{
	font-size: 12px;
	padding: 4px 10px;
	border: 1px solid #cd1719;
	border-radius: 3px;
}

.paginacion span.current,
.paginacion a:hover{
	background-color: #cd1719;
	color: #fff;
}

.paginacion a.next{
	border: none;
}

.paginacion a:hover.next{
	background-color: #fff;
	color: #cd1719;
	border: none;
}


/* @end */

/* @group Layout 
--------------------------------------------------------------*/

.category-en-boca-de .page-header{
	display: none
}

header{
	position: relative;
}

#masthead,
#titulo-banda-superior,
#content,
#colaboradores-pie,
#pie-pagina{
	padding: 0 4%;
	max-width: 1280px;
	margin: 0 auto;
	position: relative;
}

#colaboradores-pie{
	padding: 0;
	max-width: 920px;
	width: 82.91%;
}

.site-header{
	position: fixed;
	top: 0;
	width: 100%;
	background-color: #fff;
	border-bottom: 1px solid #cd1719;
	height: 80px;
	z-index: 9999999999;
}

#banda-roja-superior,
div.metaslider{
	margin-top: 80px;
}

#primary{
	width: 59.83%;
	margin-top: 50px;
	float: left;
}

#primary-full{
	width: 100%;
	margin-top: 50px;
	margin-right: 0;
	float: none;
}

#secondary{
	width: 31.62%;
	margin-top: 50px;
	float: right;
}

#pie-pagina{
	padding-top: 20px;
	padding-bottom: 10px;
}

/* Homepage */

img.destacada-portada{
	width: 268px;
	height: auto;
	float: left;
	margin: 4px 2.56% 20px 0;
}

.noticia{
	margin-top: 40px;
}

.noticia:last-of-type{
	margin-bottom: 40px;
}

.principal{
	margin-top: 0;
}

/* Widget home */


#secondary section.widget_sp_image{
	float: left;
	margin-bottom: 0;
	width: 46%;
	margin-right: 8%;
	margin-bottom: 20px;
}

#secondary section.widget_sp_image:nth-child(2),
#secondary section.widget_sp_image:nth-child(4),
#secondary section.widget_sp_image:nth-child(6){
	margin-right: 0;
}

#secondary section.widget_sp_image img{
	width: 100%;
	height: auto;
}

#alternativeNews{
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid #444;
}

/* Cabecera general */

#banda-roja-superior{
	background-color:#cd1719;
}

#titulo-banda-superior{
	position: relative;
	padding-top: 120px!important;
	height: 175px;
}

#titulo-banda-superior h1.entry-title{
	color: #fff;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 28px;
	margin: 0;
}

.entry-title{
	margin-top: 0;
	color:#000;
}

p.solo-logo-cabecera{
	position: absolute;
	top: 37px;
	right: 4%;
	background: url('images/sprites.png') no-repeat -196px -35px;
	padding: 0;
	display: block;
	width: 110px;
	height: 101px;
	text-indent: -999em;
}

/* Widgets pie */

#colaboradores-pie{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#colaboradores-pie section.widget_sp_image{
	width: 30%;
	margin-bottom: 10px;
	/*float: left;*/
}

#colaboradores-pie section.widget_sp_image:nth-child(3n+2){
	margin: 0 5%;
	
}

/* Pie */

#contenedor-pie-pagina{
	background-color: #cd1719;
}

#pie-pagina p.solo-logo{
	margin: 80px 0  0;
}

.columna-pie{
	float: left;
}

.seccion-primera{
	width: 10%;
	min-width: 80px;
}

.seccion-segunda {
	width: 32%;
}

.seccion-tercera {
	width: 18%;
}

.seccion-cuarta {
	width: 40%;
}

.seccion-segunda ul{
	width: 50%;
	float: left;
}

.seccion-cuarta .sede{
	width: 50%;
	float: left;
}

.contenido-pequeno{
	width: 23.08%;
	float: left;
	margin-top: 0!important;
}

.contenido-principal{
	width: 65.81%;
	margin-left: 11.11%!important;
	float: left;
}

.row,
.half{
	margin-bottom: 25px;
}

.half{
	width: 48%;
	float: left;
	margin-right: 4%;
}

.revistas{
	float: left;
	width: 33.333%;
}

.half:last-child,
.ultimo{
	margin-right: 0!important;
}

.centrado{
	text-align: center;
}


@media screen and (min-width: 1320px) {
	#masthead,
	#titulo-banda-superior,
	#content,
	#colaboradores-pie,
	#pie-pagina{
		padding: 0;
		max-width: 1280px;
	}
	#contenedor-pie-pagina{
		padding-top: 20px;
		padding-bottom: 10px;
	}
	#colaboradores-pie{
		max-width: 920px;
		width: 82.91%;
	}
	#toggle_mt {
		right: 0%;
	}
	.redes{
		right: 40px;
	}
}

@media screen and (max-width: 960px) {
	#primary{
		width: 100%;
		margin-top: 50px;
		margin-right: 0;
		float: none;
	}
	
	#secondary{
		width: 100%;
		margin-top: 50px;
		margin-bottom: -30px;
		float: none;
	}
	
	#secondary section.widget_sp_image{
		float: left;
		margin-bottom: 30px;
		width: 30%;
		margin-right: 5%;
	}
	
	#secondary section.widget_sp_image:nth-child(2),
	#secondary section.widget_sp_image:nth-child(4){
		margin-right: 5%;
	}
	
	#secondary section.widget_sp_image:nth-child(3),
	#secondary section.widget_sp_image:nth-child(6){
		margin-right: 0;
	}	

	.contenido-principal,
	.contenido-pequeno{
		width: 100%;
		margin: 0 auto!important;
	}
	
	h3.colaboradores{
		margin-top: 10px;
	}
	
	.seccion-primera{
		width: 100%;
	}
	
	#pie-pagina p.solo-logo{
		margin: 20px auto;
	}
	
	.seccion-segunda {
		width: 70%;
	}
	
	.seccion-tercera {
		width: 30%;
	}
	
	.seccion-cuarta {
		width: 100%;
	}
	
	
}
@media screen and (max-width: 600px){

	#secondary section.widget_sp_image{
		float: left;
		margin-bottom: 30px;
		width: 47%;
		margin-right: 6%;
	}
	
	#secondary section.widget_sp_image:nth-child(3){
		margin-right: 6%;
	}
	
	#secondary section.widget_sp_image:nth-child(2),
	#secondary section.widget_sp_image:nth-child(4),
	#secondary section.widget_sp_image:nth-child(6){
		margin-right: 0;
	}
	
	#colaboradores-pie section.widget_sp_image{
		width: 30%;
		margin-right: 5%;
		float: left;
	}
	
	#colaboradores-pie section.widget_sp_image:nth-child(4),
	#colaboradores-pie section.widget_sp_image:nth-child(8),
	#colaboradores-pie section.widget_sp_image:nth-child(12),
	#colaboradores-pie section.widget_sp_image:nth-child(16){
		margin-right: 5%;
	}
	
	#colaboradores-pie section.widget_sp_image:nth-child(3),
	#colaboradores-pie section.widget_sp_image:nth-child(6),
	#colaboradores-pie section.widget_sp_image:nth-child(9),
	#colaboradores-pie section.widget_sp_image:nth-child(12)
	#colaboradores-pie section.widget_sp_image:nth-child(15){
		margin-right: 0;
	}
	
	.contenido-principal iframe{
		margin-bottom: 50px;
	}
	
	.contenido-principal,
	.contenido-pequeno {
		width: 100%;
		margin: 0 auto 10px!important;
	}
	
	.half{
		width: 100%;
		float: none;
		margin-right: 0;
	}
	
	.revistas{
		margin-bottom: 50px;
	}
}

@media screen and (max-width: 480px) {
	.site-title{
	}
	
		
	.redes{
		display: block;
		width: 120px;
		right: 38px;
		margin-top: 1px;
	}
	
	.redes i{
		margin-right: 2px;
	}
	
	img.destacada-portada{
		width: 100%;
		float: none;
		margin: 4px 0 20px;
	}
	
	h3.colaboradores{
		margin-top: -40px;
	}
	
	#colaboradores-pie section.widget_sp_image{
		width: 47%;
		margin-right: 6%;
		float: left;
	}
	
	#colaboradores-pie section.widget_sp_image:nth-child(1),
	#colaboradores-pie section.widget_sp_image:nth-child(3),
	#colaboradores-pie section.widget_sp_image:nth-child(5),
	#colaboradores-pie section.widget_sp_image:nth-child(7),
	#colaboradores-pie section.widget_sp_image:nth-child(9),
	#colaboradores-pie section.widget_sp_image:nth-child(11),
	#colaboradores-pie section.widget_sp_image:nth-child(13),
	#colaboradores-pie section.widget_sp_image:nth-child(15){
		margin-right: 5%;
	}
	
	#colaboradores-pie section.widget_sp_image:nth-child(2),
	#colaboradores-pie section.widget_sp_image:nth-child(4),
	#colaboradores-pie section.widget_sp_image:nth-child(6),
	#colaboradores-pie section.widget_sp_image:nth-child(8),
	#colaboradores-pie section.widget_sp_image:nth-child(10),
	#colaboradores-pie section.widget_sp_image:nth-child(12),
	#colaboradores-pie section.widget_sp_image:nth-child(14){
		margin-right: 0;
	}
	
	.seccion-segunda ul{
		width: 100%;
		float: none;
		text-align: center;
	}
	
	.seccion-primera,
	.seccion-segunda,
	.seccion-tercera,
	.seccion-cuarta{
		width: 100%;
	}
	
	#pie-pagina p.solo-logo{
		margin: 20px auto;
	}
	
	.seccion-cuarta .sede{
		width: 100%;
		float: none;
		text-align: center;
	}
	
	.revistas{
		width: 50%;
	}
	
		
	
	
}

/* @end */

/* @group Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	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;
	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;
}

/* @end */

/* @group 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;
}

/* @groups 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;
}

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
}

/* @end */

/* @group Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 70px;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

.widget ul{
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.widget ul#menu-ela,
.widget ul#menu-servicios{
	margin: 0;
}

/* @end */


/* @group Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

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

.single .byline,
.group-blog .byline {
	display: inline;
}

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

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

/* Equipo */

.trabajador{
	width: 22%;
	margin-right: 4%;
	margin-bottom: 25px;
	float: left;
}

.trabajador p{
	margin-bottom: 5px;
}

.trabajador.ultimo {
	margin-right: 0;
}

.trabajador img{
	width: 70%;
}

@media screen and (max-width: 600px) {
	.trabajador{
		width: 48%;
		margin-right: 1%;
		margin-left: 1%;
		margin-bottom: 25px;
		float: left;
	}
	.trabajador.ultimo {
		margin-right: 1%;
	}
}

/* Memoria */
.memoria{
	width: 30%;
	margin-right: 5%;
	margin-bottom: 50px;
	float: left;
}

.memoria.ultimo {
	margin-right: 0;
}


/* La ELA */

#menu-ela .current-menu-item,
#menu-servicios .current-menu-item{
	display: none;
}

/* Tribe Events */

.tribe-theme-adela .entry-content{
	margin: 0;
}

#tribe-events-bar{
	display: none;
}

table.tribe-events-calendar{
}

table.tribe-events-calendar td{
}

#tribe-events-content .tribe-events-calendar td,
.tribe-events-calendar div[id*=tribe-events-daynum-]{
	background-color: #f2f2f2;
}

thead tr th,
#tribe-events-content .tribe-events-calendar td{
	border: 2px solid #fff;
}

th#tribe-events-sábado,
th#tribe-events-domingo{
	background-color: #999;
}

td.tribe-events-has-events,
.tribe-events-calendar td.tribe-events-has-events div[id*=tribe-events-daynum-],
.tribe-events-calendar td.tribe-events-has-events div[id*=tribe-events-daynum-]>a,
td.tribe-events-present,
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-],
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a{
	background-color:#cd1719!important ;
	color: #fff;
}

td.tribe-events-present{
	opacity: .6;
}

.tribe-events-calendar td a{
	color: #fff;
}

.tribe-events-notices {
	background-color:#fff;
	border:1px solid #cd1719;
	color:#cd1719;
	margin:10px 0 18px;
	text-shadow:none;
}

ol.tribe-list-widget{
	margin-top: 50px;
	padding: 0;
}

ol.tribe-list-widget li{
	margin-bottom: 30px!important;
	padding: 0!important;
}

ol.tribe-list-widget li h4 a{
	font-size: 16px;
}

ol.tribe-list-widget li .tribe-event-duration{
	font-size: 13px;
}

/* Contacta */

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* @end */



/* @group 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%;
}

/*--------------------------------------------------------------
## 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;
}

/* @end */

/* @group Flexslider */
/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
/*.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0 0 60px; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(images/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
.flex-direction-nav .flex-prev {left: -36px;}
.flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {cursor: default; pointer-events: none;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {}
.flex-control-thumbs img {margin: 10px 5px 0; display: inline-block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}

/** Custom Meta Slider CSS **/
.metaslider .flexslider {
    background: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    border: 0;
    margin: 0 0 40px 0;
    max-width: none;
    max-height: none;
}

.flex-control-nav {
	bottom: -30px;
	line-height: 11px;
}

/** move margin from list items to anchors */
.flex-control-nav li {
	margin: 0;
}

.flex-control-nav li a {
	margin: 0 6px;
	padding: 0;
}

.flexslider .slides li {
    position: relative;
    height: auto;
}

/** fix for users with RTL languages */
.flex-viewport {
    direction: ltr;
}

/** add transition effects to firefox **/
.flex-direction-nav a {
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

.flexslider .slides p {
    margin: 0;
}

.flex-control-nav {
	margin: auto;
}

.metaslider .flexslider.filmstrip {
	margin-top: 10px;
}

.metaslider .flexslider.filmstrip .slides li {
    cursor: pointer;
    opacity: 0.5;
}

.metaslider .flexslider.filmstrip .slides li.flex-active-slide,
.metaslider .flexslider.filmstrip .slides li:hover,
.metaslider .flexslider.filmstrip .slides li:focus {
    opacity: 1.0 !important;
}

.metaslider .flex-control-thumbs li {
    width: auto;
}

.metaslider ol.flex-control-thumbs img,
#content .metaslider ol.flex-control-thumbs img {
    margin: 10px 5px 0;
    width: auto;
}

.metaslider.nav-hidden .flexslider {
    margin-bottom: 0;
}

.metaslider.nav-hidden.add-margin .flexslider {
    margin-bottom: 40px;
}

/* @end */

/* Cookies */
#aceptacion_cookies {
  display:none;
  position:fixed;
  left:0px;
  right:0px;
  bottom:0px;
  width:100%;
  text-align:center;
  min-height:140px;
  background-color: rgba(0, 0, 0, 0.8);
  color:#fff;
  z-index:99999;
}
  
#aceptacion_cookies .inner {
  width:100%;
  position:absolute;
  padding:5px;
  font-size:12px;
  top:30%;
}
	    
#aceptacion_cookies .inner a.ok {
  padding-left:5px;
  padding-right:5px;
  text-decoration:none;
}
		
#aceptacion_cookies .inner a.info {
  padding-left:5px;
  text-decoration:none;
}

@media screen and (min-width: 767px) {
  /* Cookies */
	#aceptacion_cookies {
	  min-height:80px;
	}
}

@media screen and (min-width: 1440px) {
  /* Cookies */
	#aceptacion_cookies {
	  min-height:60px;
	}
}

.et_bloom .et_bloom_popup {
  z-index: 9999999999!important;
}

/* Comments */
.comments-title{
	color: #999;
	font-size: 13px;
	font-weight: normal;
  padding: 10px 0 5px;
  text-transform: uppercase;
  border-top: 1px solid #cd1719;
}

.comments-title span{
	font-weight: bold;
	color: #000;
	font-size: 15px;
	text-transform: none;
}

.comment-list{
	margin: 0;
	padding: 1px 0;
	list-style: none;
	background-color: #f3f3f3;
	border-radius: 3px;
}

.comment-list .children{
	margin: 60px 0 0;
	padding: 0;
	list-style: none;
}

.comment-list .comment{
	display: block;
	margin: 20px;
	padding: 20px;
	border: 1px solid #dbdbdb;
	background-color: #f4f7f6;
	border-radius: 3px;
}

.comment-list .children .comment{
	-webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.2);
}


.comment-list .comment-author,
.comment-list .comment-author a{
	font-size: 1em;
}

.comment-list .comment-author .avatar{
	display: none;
}

.comment-list .comment-metadata{
	margin-bottom: 30px;
}

.comment-list .comment-metadata a{
	font-size: 0.8em;
	font-style: oblique;
	color: #999;
}

.comment-list .reply .comment-reply-link{
	padding: 6px 25px;
	border: 1px solid #cd1719;
	border-radius: 3px;
	font-size: 0.7em;
	text-transform: uppercase;
	transition: 0.3s all ease-in;
}

.comment-list .reply .comment-reply-link:hover{
	background-color: #cd1719;
	color: #fff;
	text-decoration: none;
}