/*
 Theme Name:   Todos (...) los nombres_
 Description:  Tema hijo derivado de GeneratePress
 Author:       Ángel Aparicio
 Author URI:   https://angelaparicio.dev/
 Template:     generatepress
 Version:      1.0
*/

/*TITULO*/
.main-title span {
color: #72feff;
}

body.home .entry-header {
display: none;
}

.site-description {
color: #555;
font-weight: bold;
}

/*ENLACES*/
a, .a {
color: #3e8282;
cursor: pointer;
}

a:hover, .a:hover {
text-decoration: underline;
}

/*MENU*/
#primary-menu {
background-color: #397f7f;
width: 100%;
margin-top: 1em;
border-radius: 20px;
}

.main-navigation ul ul {
width: 275px;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
background-color: #397f7f;
color: white;
text-decoration: underline;
}

.main-navigation .main-nav ul li a {
color: white;
font-weight: bold;
text-transform: uppercase;
padding: 0.75em;
}

#menu-item-212 {
margin-left: 0.5em;
}

.main-navigation .main-nav ul li:hover > a, 
.main-navigation .main-nav ul li:focus > a, 
.main-navigation .main-nav ul li.sfHover > a, 
.main-navigation .menu-bar-item:hover > a, 
.main-navigation .menu-bar-item.sfHover > a {
background-color: inherit;
color: inherit;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover, 
.main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a {
background-color: inherit;
color: inherit;
}

.main-navigation a {
display: inline;
}

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

#menu-menu_proyecto {
list-style: none;
margin-left: 0;
}

#menu-menu_proyecto li {
padding-bottom: 0.55em;
}

.menu-item-has-children .dropdown-menu-toggle {
padding-right: 10px;
padding-left: 0;
}

.main-navigation .main-nav ul li a {
padding: 0.65em;    
}

/*WIDGETS*/
.widget-title {
text-transform: uppercase;
font-weight: bold;
}

.widget-area .widget {
padding: 20px;
}

#block-19 .button {
margin-top: 1em;
}

#block-22 {
margin-bottom: 0;
padding-bottom: 0;    
}

#block-15 {
padding-top: 0;    
}

.em-cal-day-date.colored a {
background: #397f7f !important;
}

.em.em-calendar .em-cal-head > div {
width: 32px;
}

/*FOOTER*/
.footer-widgets {
background: #397f7f;
}

.footer-widgets a {
color: white;
}

.inside-footer-widgets > .footer-widget-1 {
flex-grow: 2;
}

.inside-footer-widgets > .footer-widget-3 {
display: none;
}

.inside-header {
display: inherit;
}

.footer-widgets .widget-title {
margin-bottom: 0.5em;
}

#pre_header {
display: flex;
justify-content: space-between;
}

#pre_header .other_links a {
line-height: 50px;
}

#block-2, #block-4 {
margin-bottom: 0.5em;
}

#block-6 h2, #block-18 h2 {
font-size: 18px;
}

.wp-image-123 {
margin-left: 1em;
}

#promotoras a, #promotoras img {
vertical-align: top;
}

/*FORMULARIO*/
.form_tln fieldset {
display: flex;
flex-wrap: wrap;
padding-bottom: 2em;

}

.form_tln fieldset legend {
font-weight: bold;
margin-bottom: 0.5em;
}

.form_tln fieldset .form_entry {
width: 33%;
}

body.page-id-100 .form_tln fieldset .form_entry {
width: 25%;
}

#destinatario_wcf7 select {
width: 465px; 
}

body.page-id-100 .form_tln fieldset .form_entry input {
width: 90%;
}

.form_tln .select_provincia, .form_tln .select_municipio {
width: 90%;
}

.site-content .content-area {
width: 80%;
}

.is-right-sidebar {
width: 20%;
}

/*CONTENIDOS*/
.tln_row {
padding-bottom: 2em;
}

.tln_row_title {
font-weight: bold;
}

.tln_field_group h3 {
color: #3e8282;
font-weight: bold;
}

/*BUSQUEDAS*/
#table_resultados {
display: none;
}

#table_resultados th {
background: #ebebeb;
}

#main table th {
text-align: left;
}

body.post-type-archive-libro #main .wp-post-image {
max-width: 100px;
}

/*NOTICIAS*/
body.blog .post-image {
float: left;
margin-right: 5em;
}

body.blog article {
float: left;
}

body.blog .cat-links {
display: none;
}

/*ENLACES COMPARTIR*/

#sharer_links {
display: none;
}

body.single-post #sharer_links {
display: block;
}

.share_linkedin {
display: none;
}

/*TABLAS*/
.tablatln td {
vertical-align: top;    
}

.tablatln ul {
margin: 0 1em;   
}

.tablatln th {
background: black;
color: white;    
}

.tablatln tr:nth-child(odd) {
background: #ccc;
}

.tablatln th a:hover {
color: #ccc; 
}

/*MATERIALES*/
#etiquetas_materiales {
list-style-type: none;
margin: 1em 1em 0 0;
}

body.post-type-archive-material #left-sidebar h2 {
padding-top: 0.6em;
}

#search_material_submit {
margin-top: 1em;
}

/*ARCHIVOS*/
body.archive h2.entry-title {
font-size: 28px;
}

/*VARIOS*/
.texto_introductorio {
padding: 2em;
background: white;
}

.entry-content .texto_introductorio {
padding: 0;
}

#menu-item-220,
#menu-item-656,
#menu-item-159287 {
display: none;
}

body.post-type-archive-material #left-sidebar {
display: none;
}

#post-106 .entry-title {
font-size: 38px;
}

/*LISTADO MATERIALES*/
body.page-id-178689 li > ul {
margin-left: 2em;
margin-bottom: 2em;
}

body.page-id-178689 .site-content .content-area {
width: 100%;
}

body.page-id-178689 #masthead,
body.page-id-178689 #pre_header,
body.page-id-178689 .site-footer {
display: none
}

body.page-id-178689 .inside-article {
padding: 2em;
}

/*EVENTOS*/
.em-event-add-to-calendar {
display: none;    
}

.em.em-calendar.size-small .em-cal-nav .em-calnav {
width: 13px;
height: 13px;    
}

.em-item-meta-line {
padding: 0.5em 0;    
}

.em-event-when h3 {
display: none;    
}

.em-modal-content .em-event-location {
display: none !important;
}

