/*
Theme Name:     apace_mdl
Theme URI:      
Template:       apace
Version:        0.1
*/

body, button, input, select, optgroup, textarea{font-family:Segoe UI Light;}

.post, .page {margin:0px;}

.site-title {color:#000000;font-weight:normal;}
.site-title a:visited {color:#000000;}

.apace-boxed-layout #page {max-width:100%;}
.apa-container {max-width:1450px;}

.main-navigation {background:#e3e3e3;}
.main-navigation a {font-weight:normal; color:#000000; padding:0 12px; font-size:15px;}
.main-navigation a:hover {font-weight:normal; color:#ffffff;}
.main-navigation ul ul {background:#22222282;}
.main-navigation ul ul li a{color:#ffffff;}
.main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, .main-navigation .current-menu-ancestor > a {background:#292929; color:#ffffff;}
.main-navigation li:hover > a, .main-navigation li.focus > a {background:#292929;}

figure {min-height:280px; font-weight:bold; margin-right:3.5em !important }
/*
@media handheld, only screen and (min-width:505px) {
		figure {margin-right:1.5em !important }
}
*/

.divulgation_books{padding: 0 50px; float:left; min-width:100%;}
@media handheld, only screen and (max-width:500px) {
		.divulgation_books{padding: 0px; float:left; min-width:100%;}
		figure {margin-right:1.5em !important }
}


#videos ul li {float:left; padding:0 50px 30px 20px; list-style:none; width:50%; text-align:center;}
#videos_button {min-width:100%; float:right;}
#videos_button button {float:right; margin:-10px 15px 30px 15px;}
#videos_button a {text-decoration:none;}
#videos li a {color:#464646; font-size:15px;}
#videos h2 {text-align:center;}

@media handheld, only screen and (max-width: 780px) {
	#videos ul li{float:none; width:95%; padding:0 0 20px 0;}			
}


/***** Menu móvil *****/
button.menu-toggle {color:#a6a5a5;}
.main-navigation.toggled li a:hover {background:#292929; color:#ffffff;}
.main-navigation.toggled .current_page_item > a, .main-navigation.toggled .current-menu-item > a, .main-navigation.toggled .current_page_ancestor > a, .main-navigation.toggled .current-menu-ancestor > a {color:#000000;}


/*Cambio de 768 a 1100px el @screen para el menú en el tema padre porque no consigo hacerlo en el hijo.
Estar pendiente si hubiera una actualización del tema padre.*/

@media handheld, only screen and (max-width: 1180px) {
		.main-navigation {background:#ffffff; border-bottom: 1px solid #e3e3e3;}
		
		ul, ol {margin:0 0 1.5em 0;}
		li > ul, li > ol {margin-left:0.5em;}
	
}

@media handheld, only screen and (max-width: 768px) {
		.site-title {font-size:2rem;}	
		ul, ol {padding:30px;}
		li > ul, li > ol {padding:11px;}
}

@media handheld, only screen and (max-width: 500px) {
		.apa-header-widget-area {display:none;}
}


/***** FIN Menu móvil *****/

#content {min-height:470px;}

#content a:visited {color:#4169e1}

.site-main ol li {padding-bottom:15px;}
.site-main ul li {padding-bottom:10px;}


button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background: #0056a4;
}

.apa-article .entry-title a:hover {#0056a4;}
.page-content, .entry-content, .entry-summary {margin:-1.5em 0 0;}

.site-main h1 {font-size: 1.625rem; margin: 0 0 40px 0;}
h3 {color:#005ae5}

.entry-title {margin: 0 0 40px 0;}


.apa-footer-site-info {padding:30px 0;}



.orcid {width:75%;}
.cv {width:35%;}

.rac {width:65%;}
.icmat {width:55%;}

.contact img {border:none;}
.direccion {float:left; width:50%;}
.mapa {float:left; width:50%;}

.linkedin {width:40%; margin-right:30px;}
.twitter {width:12%;}

.logos_header {width:35px; filter:grayscale(100%); margin-top:30px;}
.logos_header:hover {filter:grayscale(0%);}

.logos_rrss {text-align:center;}
.logos_rrss img{width:15%;}
@media handheld, only screen and (min-width:500px) {
		.logos_rrss {display:none;}
}



.apa-footer-site-info {padding:20px 0; background:#1f1f1f}
.apa-designer-credit, .apa-owner-copyright{width:100%; text-align:center; padding:0 0 25px 0;}
