/*
 Theme Name:   Newspaper-child
 Theme URI:    https://demo.tagdiv.com/newspaper/
 Description:  Newspaper Child Theme
 Author:       Autentia
 Author URI:   https://www.autentia.com
 Template:     Newspaper
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  Newspaper-child
*/
/* =Aquí empieza la personalización de tu tema
-------------------------------------------------------------- */


/* generals */

a {
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s
}

body.error404 .td-404-sub-sub-title + h4.block-title,
body.error404 .td-404-sub-sub-title + h4.block-title span {
    /*background-color: #22bffd!important;*/
    color: #fff!important;
}

/* COLOR MENU */

.td-header-menu-wrap{
    background: #4784e8;
}

/*
.td-header-menu-wrap.td-header-gradient {
    background: -webkit-gradient(linear, left top, right top, from(#4784e8), to(#22bffd));
    background: -webkit-linear-gradient(left, #4784e8, #22bffd);
    background: -o-linear-gradient(left, #4784e8, #22bffd);
    background: linear-gradient(to right, #4784e8, #22bffd);
}
*/

.td_module_11 .td-module-thumb {
    display: none;
}

.td_module_11 .td-module-meta-info,
.td_module_11 .td-excerpt {
    margin-bottom: 18px;
}

.td_module_11 .entry-title {
    margin-bottom: 10px;
    line-height: 33px;
}

.item-details .entry-title a:hover,
.item-details .entry-title a:active,
.item-details .entry-title a:focus {
    color: #000;
}

.td_module_wrap:hover .entry-title a {
    color: #000;
}

.td-header-gradient:before {
    background: transparent!important;
}

/* Ocultar Thumbnail en search */

.td_module_mx2 .entry-thumb {
    display:none;
}


/* widget newsletter */

.newsletter-btn,
.widget_mc4wp_form_widget .mc4wp-form-fields input[type=submit] {
    display: block;
    width: 100%;
    margin-top: 10px;
    background-color: #4784e8!important;
}

.newsletter-btn:hover,
.widget_mc4wp_form_widget .mc4wp-form-fields input[type=submit]:hover {
    background-color: #000!important;
}

.widget_mc4wp_form_widget .mc4wp-form-fields label > input[type=checkbox] + a {
    font-size: 12px;
}

/* Texto legal widget Newsletter */

.checkbox-newsletter, .checkbox-newsletter a{
    font-size:12px !important;
    line-height: 18px !important;
}

.widget_mc4wp_form_widget a {
     color: #4db2ec;
}

/* sidebar */

.td_block_template_10 .td-block-title {
    font-weight: 400!important;
}

.widget_custom_html,
.widget_mc4wp_form_widget {
    padding: 15px;
    background-color: #f5f5f5;
}

.widget_custom_html .td-block-title span,
.widget_mc4wp_form_widget .td-block-title span {
    color: #000!important;
    font-size: 17px;
    font-weight: 600;
}

.widget_custom_html .td-block-title:after,
.widget_custom_html .td-block-title:before,
.widget_mc4wp_form_widget .td-block-title:after,
.widget_mc4wp_form_widget .td-block-title:before {
    display: none!important;
}

.widget_custom_html .td-block-title,
.widget_mc4wp_form_widget .td-block-title {
    margin-top: 0!important;
    margin-bottom: 10px!important;
}

/* footer */

.footer-logo-wrap img {
    width: 60%;
}

.td-footer-wrapper .td_block_text_with_title {
    color: #eaeaea;
}

.td-footer-wrapper .td-block-title {
    /*text-transform: uppercase;*/
    font-size: 24px;
}

.td-footer-wrapper .td-block-title:before,
.td-footer-wrapper .td-block-title:after {
    display: none;
}

.powered-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.powered-footer img {
    max-width: 150px;
    margin-left: 10px;
}

.td-footer-wrapper .td_block_text_with_title p {
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 16px;
    line-height:27px;
}

.footer-text-wrap {
    font-size: 16px;
    line-height:27px;
}

.widget_nav_menu .td-block-title {
    padding-top: 7px;
}

/* buttons */

a.btn-blue:link, a.btn-blue:visited {
    display: inline-block;
    padding: 10px 20px 10px 20px;
    background-color: #4784e8;
    border-radius: 3px 3px 3px 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

a.btn-blue:hover, a.btn-blue:active {
    background-color: #000;
}

/* related */

.td-related-full-width .td-related-row {
    padding-top: 15px;
    padding-bottom: 15px;
}

.td_module_related_posts:hover .entry-title a {
    color: #000;
}

.td_block_related_posts .item-details .td-post-date {
    margin-bottom: 5px;
    font-size: 10px;
}

.td_block_related_posts .item-details .td-post-author-name {
    font-size: 12px;
}

.td_block_related_posts .item-details .td-post-author-name span {
    display: none;
}

.td-related-left, .td-related-right {
    text-decoration:underline;
}

/* Mobile: Relacionados imagen y autor margen*/

@media (max-width: 767px){

.td_block_related_posts .item-details {
    padding-left: 0px;
}

.td_block_related_posts .item-details .td-post-author-name {
     margin-bottom: 30px;
}

.td_block_related_posts .item-details h3.td-module-title {
     margin-bottom: 0px;
}

}

/* Titulo post relacionados*/

.td_block_related_posts .td-module-title{
    color: #000!important;
    font-weight:bold !important;
    font-family: 'Montserrat', 'serif'; 
    font-size:14px;
}

/* Nombre autor en relacionados */

.td_module_related_posts .td-post-author-name a, .td_module_related_posts span  {
    line-height: 18px !important;
}

/* home */

.td_module_flex_1 a.td-post-category:link,
.td_module_flex_1 a.td-post-category:visited {
    color: #000!important;
    margin-bottom: 20px!important;
    font-weight: 400!important;
}

.td-excerpt {
    color: #444;
    line-height: 28px !important;
}

/* posts */

b, strong{
    color: #000000;
}

.td_module_11 {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #ccc;
}

.td_module_11:last-child {
    padding-bottom: 35px!important;
}

.td_module_11 .item-details {
    margin-left: 0!important;
    min-height: 0!important;
}

.td_block_related_posts .td-related-title a {
    color: #000!important;
    font-weight:bold !important;
    font-family: 'Montserrat', 'serif';
}

.td_block_related_posts .td-related-title a.td-cur-simple-item {
    color: #4784e8!important;
}

.td-page-content,
.td-post-content,
.wpb_text_column,
.td_block_text_with_title,
.woocommerce #tab-description,
.mce-content-body {
   color: #444;
}


/* Ficha autor al final de post */

.td-author-name {
    font-family: Montserrat;
    font-size: 20px;
    line-height: 35px;
    font-weight: 500;
}



/* authors */

.page-template-page-authors .td-ss-main-content .td-author-page .td-authors-name a {
    display: block;
    padding-bottom: 8px;
    color: #000;
    font-size: 16px;
    font-weight: 500;
}

span.td-post-author-name a{
    font-weight: 100 !important;
    padding-top:8px;
  /*  border-top: 1px solid #e9e9e9; */
}

/* categories */

.td-pulldown-filter-item:nth-child(2),
.td-pulldown-filter-item:nth-child(4),
.td-pulldown-filter-item:nth-child(5) {
    display: none;
}

/* users */

.author-box-wrap .avatar {
    max-width: 100px;
    width: 100px;
    height: 150px;
}

.td_top_authors img {
    max-width: 70px;
    width: 70px;
    height: 100px;
}

.td_top_authors .item-details {
    margin-left: 85px;
    height: 105px;
}

.td_top_authors .td_mod_wrap:hover .td-authors-name a {
    color: #000;
}

.td_top_authors .td_mod_wrap:hover .item-details span {
    background-color: #000;
}

/* comentarios */

#comments {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

#comments #respond {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
}

#commentform .mc4wp-checkbox-wp-comment-form{
    font-size:12px;
    line-height:18px;
    margin-top:-10px;
}

#commentform .comment-form-cookies-consent>label{
  font-size:12px;
  line-height:18px;
}

/* GDPR Comments CheckBox funcionality */

#gdpr-comments-checkbox-wrap {
	margin: 0 !important;
}
#gdpr-comments-checkbox-wrap input {
    float: none;
    width: auto;
    position: static;
    margin: 0 6px 0 0;
    padding: 0;
    vertical-align: middle;
    display: inline-block !important;
    max-width: 21px;
    -webkit-appearance: checkbox; 
	font-size: 14px;
}
#gdpr-comments-checkbox-wrap label {
    float: none;
    display: block !important;
    cursor: pointer;
    width: auto;
    position: static;
    margin: 0 0 16px 0 !important;
    font-size: 12px;
    line-height: 18px;	
}



@media (max-width: 767px){
#gdpr-comments-button-wrap {
    width: 100%;
    font-size: 15px;
    font-weight: bold;
    padding: 0 0;
    text-transform: uppercase;
}}

/* Foto commentarios */

.comment .children .comment .avatar {
    height: auto !important;
}


/* Listas */

ul ul li {
    margin-left: 42px;
}

ul{ 
    margin-bottom:0 !important;
}


/* Menu Mobile */

.td-menu-background:before, .td-search-background:before {
    opacity:1 !important;
}

.td-menu-background:before, .td-search-background:before {
    background: linear-gradient(to bottom, rgba(71,132,232,1) 0%, rgba(34,191,253,1) 100%) !important;
}

/* Search Mobile Quitar margen para imagen destacada */

.td_module_mx2 .item-details {
    margin: 0 0 20px 20px !important;
}

/* Author Box Mobile Alinear texto izquierda */

@media (max-width: 767px){
.author-box-wrap {
    text-align: left !important;
}
}

/* Titulos de post en mobile */

@media (max-width: 500px){
.td_module_11 .entry-title {
    font-size: 21px !important;
    line-height: 25px;
}
}

/* Otros post en mobile */
@media (max-width: 500px){
.td_module_8 .entry-title {
    font-size: 21px !important;
    line-height: 25px;
}
}


/* Ficha autor en página Autores */

.author-box-wrap .desc {
    font-size: 14px;
}

.page-template-page-authors .td-ss-main-content .td-author-page .td-authors-name a {
    font-family: Montserrat;
    font-size:20px;
}

/* Color de botón búsqueda dropdown */

.header-search-wrap .td-drop-down-search .btn:hover {
    background-color: #4784e8 !important;
}

.td-theme-wrap .sf-menu .td-normal-menu .td-menu-item > a:hover {
    background-color: #4784e8 !important;
}


/* banner post */

@media (max-width: 1018px) {
 
 .solo-desktop {
    display: none !important;
  }
}
