/*
Theme Name:     Fenadismerencarretera-2020
Theme URI:
Description:    Newspaper child theme.
Author:         Me
Author URI:
Template:       Newspaper
Version:        0.1.0
*/

/* widgets top 980 px */
.tm_content_header .adrotate_widgets .g-col {
	width: 50%;
	padding: 0.2rem;
}

.tm_content_header .adrotate_widgets {
	margin: 1.7rem 0 0;
	list-style: none;
}

#td-outer-wrap .td-category-header {
	background-color: white;
}

.td-container-wrap * {
	z-index: 1 !important;
}

.td-crumb-container {
	display: none;
}

/*.td-header-menu-wrap {
    border-bottom: 8px solid #ff9c00;
}*/
#adrotate_widgets-207 .g-col,
#adrotate_widgets-207 .wp-block-image * {
	width: 100%;
}

#adrotate_widgets-207 .wp-block-image img {
	height: auto;
}

.header-search-wrap .td-icon-search {
	color: #ff9c00 !important;
	font-size: 24px;
}

.td-magazine .td-header-style-1 .td-header-top-menu-full {
	background-color: #fff;
}

.td-header-wrap .td-header-menu-wrap-full,
.td-header-menu-wrap.td-affix,
.td-header-style-3 .td-header-main-menu,
.td-header-style-3 .td-affix .td-header-main-menu,
.td-header-style-4 .td-header-main-menu,
.td-header-style-4 .td-affix .td-header-main-menu,
.td-header-style-8 .td-header-menu-wrap.td-affix,
.td-header-style-8 .td-header-top-menu-full {
	background-color: #234f8f !important;
}

.td-header-wrap .td-header-menu-wrap-full,
.td-header-menu-wrap.td-affix,
.td-header-style-3 .td-header-main-menu,
.td-header-style-3 .td-affix .td-header-main-menu,
.td-header-style-4 .td-header-main-menu,
.td-header-style-4 .td-affix .td-header-main-menu,
.td-header-style-8 .td-header-menu-wrap.td-affix,
.td-header-style-8 .td-header-top-menu-full {
	background-color: #234f8f !important;
}

.td-magazine .td-header-style-1 .td-header-gradient::before,
.td-magazine .td-header-style-1 .td-mega-span .td-post-category:hover,
.td-magazine
	.td-header-style-1
	.header-search-wrap
	.td-drop-down-search::after {
	background-color: #ff9c00 !important;
}

.td-magazine .td-header-style-1 .td-header-gradient::before {
	background-color: #ff9c00 !important;
}

.td-header-style-1 .td-header-sp-logo {
	width: 442px !important;
	height: 128px !important;
	margin: 0 0 20px 0 !important;
}

.td-header-style-1 .td-header-sp-logo img {
	max-height: none !important;
	width: 100% !important;
	height: auto !important;
}

div.td-trending-now-title,
div.td-trending-now-wrapper:hover {
	background-color: #e84c40 !important;
	color: #fff !important;
}

div.flotado > a.modal > img {
	display: none !important;
}

.td-big-grid-flex .td-image-wrap::before {
	z-index: 2 !important;
}

/*ul.sf-menu > .td-menu-item > a{
    font-size:15px !important;
}*/

@media (max-width: 780px) {
	.tm_content_header .adrotate_widgets .g-col {
		width: 100%;
	}
}

@media (min-width: 768px) and (max-width: 1018px) {
	div.td-header-style-1 div.td-header-sp-logo {
		width: 320px !important;
		max-height: 120px !important;
		margin: 0 0 20px 0 !important;
	}
	div.td-header-style-1 div.td-header-sp-logo img {
		margin: 0 !important;
	}
}

@media (max-width: 767px) {
	.td-header-wrap .td-header-menu-wrap-full {
		background-color: transparent !important;
		height: 54px !important;
	}

	.td-header-wrap .td-header-menu-wrap,
	.td-header-wrap .td-header-main-menu {
		background-color: transparent !important;
		height: 54px !important;
	}

	.td-magazine.td-boxed-layout .td-container-wrap {
		background-color: transparent !important;
	}

	.td-header-wrap .td-header-menu-wrap-full,
	.td-header-menu-wrap.td-affix,
	.td-header-style-3 .td-header-main-menu,
	.td-header-style-3 .td-affix .td-header-main-menu,
	.td-header-style-4 .td-header-main-menu,
	.td-header-style-4 .td-affix .td-header-main-menu,
	.td-header-style-8 .td-header-menu-wrap.td-affix,
	.td-header-style-8 .td-header-top-menu-full {
		background-color: white !important;
	}

	div.td-main-menu-logo img {
		margin: 0 auto !important;
	}

	div.td-magazine div.td-header-style-1 div.td-header-gradient::before {
		height: 2px !important;
	}

	div#td-top-mobile-toggle i {
		color: #222 !important;
	}

	div.header-search-wrap i.td-icon-search {
		color: #222 !important;
	}

	div.tdc-row {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	div.td-excerpt {
		font-size: 14px !important;
		/*color: #333 !important;*/
	}
}

@media (min-width: 768px) {
	.td-header-wrap .td-header-menu-wrap-full,
	.td-header-menu-wrap.td-affix,
	.td-header-style-3 .td-header-main-menu,
	.td-header-style-3 .td-affix .td-header-main-menu,
	.td-header-style-4 .td-header-main-menu,
	.td-header-style-4 .td-affix .td-header-main-menu,
	.td-header-style-8 .td-header-menu-wrap.td-affix,
	.td-header-style-8 .td-header-top-menu-full {
		background-color: #234f8f !important;
	}
}

@media (min-width: 1019px) {
	.td-header-style-1 .td-header-sp-recs,
	.td-header-style-1 .td-header-sp-logo {
		margin-bottom: 20px !important;
	}
}

@media (min-width: 1180px) {
	.td-boxed-layout .td-container-wrap {
		-webkit-box-shadow: 0 0 5px 0 rgb(0 0 0 / 12%);
		-moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.12);
		box-shadow: 0 0 5px 0 rgb(0 0 0 / 12%);
	}
}

/* new added by Chechu */

.td-menu-mob-open-menu #td-mobile-nav {
	z-index: 20 !important;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

ul li.adrotate_widgets.widget {
	margin: 0;
}
.cn-728 {
	float: right;
	/*max-width: 50%;*/
	margin: auto !important;
	display: flex;
	/*margin-top: 1rem;*/
}
.cn-728 .cn-widget-ul {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
/*
.cn-728 .cn-widget-ul .widget {
	margin-bottom: 0px;
}
*/
.cn-728 li.adrotate_widgets.widget > div > div {
	margin: 0.5rem 0 !important;
}

.cn-728 .adrotate_widgets.widget img {
	position: relative;
}
.cn-728 .widget {
	margin-bottom: 0px;
}
/*
@media (max-width: 760px) {
	.cn-728 {
		float: none;
		max-width: 100%;
		width: 100%;
	}
}
*/
@media (min-width: 1024px) {
	.cn-728 .cn-widget-ul {
		min-height: 120px;
	}
}

.page-template-homepage h1.td-page-title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
@media (max-width: 767px) {
	.td-menu-background {
		z-index: 8 !important;
	}
	.td-mobile-nav {
		z-index: 9 !important;
	}
}

.cn-banners-full-homepage img {
	width: 100%;
	height: auto;
}

.adrotate_widgets img {
	width: 100%;
	height: auto;
}

.adrotate_widgets p > img {
	width: auto;
	height: auto;
}

.cn-homepage-main-block .td-module-meta-info .entry-title {
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
	line-height: 1.1 !important;
}

.cn-skycrapers {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 10000;
	margin: 0;
}
.cn-skycrapers-container {
	position: relative;
}
.cn-skycrapers-container ul.cn-widget-ul {
	margin: 0;
}

.cn-banners-sky-left {
	position: absolute;
	top: 0;
	left: -150px;
	border: 1px solid grey;
}
.cn-banners-sky-right {
	position: absolute;
	top: 0;
	right: -150px;
	border: 1px solid grey;
}

.cn-banners-sky-left li,
.cn-banners-sky-right li {
	margin: 0 !important;
}

.cn-skycrapers .tdc-column,
.cn-skycrapers .tdc-column > .wpb_wrapper {
	width: 100% !important;
	padding: 0 !important;
}

@media (max-width: 1440px) {
	.cn-skycrapers {
		display: none !important;
	}
}

.vc_widget_sidebar > ul > li {
	margin-left: 0px;
}
/*
#tdi_84_490 {
    margin: -24px;
    width: calc(100% + 48px) !important;
}
.cn-mas-popular{
    padding: 15px 24px 0px !important;
}

.td-header-wrap .td-drop-down-search {
    top: -10px;
    right: 48px;
}
*/

.adrotate_widgets img.podcast-banner-img {
	margin-bottom: 0;
}

.td_block_wrap.cn-over-menu {
	margin-top: 1.2rem;
	margin-bottom: 1.2rem;
}

.td-post-featured-image,
.td-post-featured-image + .mwm_rrss_contenedor {
	display: none;
}
/* --------- mailchimp form --------- */

.td-container-wrap.cn-mailchimp-container {
	background-color: #efefef;
	/*    background-color: #009688; */
}

.cn-widget-mailchimp ul li {
	margin: 0;
}

#mc4wp-form-1 .mc4wp-form-fields > * {
	display: block;
	width: 100%;
	margin-bottom: 0.7rem;
}

#mc4wp-form-1 .mc4wp-form-fields .td-block-title:before {
	content: "";
	width: 100%;
	height: 3px;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #478fe0 !important;
}

/*
#mc4wp-form-1{
    margin: 0px;
}
#mc4wp-form-1 .mc4wp-form-fields{
    justify-content: space-around;
    display: flex;
    align-items: center;
}

#mc4wp-form-1 .mc4wp-form-fields  > * {
    display: inline-block;
}

#mc4wp-form-1 .mc4wp-form-fields > label {
    margin:0px;
}

#mc4wp-form-1 .mc4wp-form-fields > span {
    color: #009688;
    font-size: 1rem;
    font-weight: 800;
}

#mc4wp-form-1 .mc4wp-form-fields > input {
    width:25%;
}
#mc4wp-form-1 .mc4wp-form-fields > input[type=submit] {
    width:10%;
}

#mc4wp-form-1 .mc4wp-form-fields > label {
    margin:0px;
}

#mc4wp-form-1 a:hover{
    color:inherit;
}*/

.bottom-highlight,
.bottom-highlight a {
	color: #ff9c00;
}

.wpb_column.vc_column_container.tdc-column.td-pb-span4 ul:first-child {
	margin-top: 0px;
}
.td-module-comments {
	display: none !important;
}
/*
sticky logos
*/
img.cn-logo-sticky {
	display: none !important;
	opacity: 0;
}

body.body-td-affix img.cn-logo-sticky {
	display: block !important;
	opacity: 1;
}

img.cn-logo-std {
	display: block !important;
}

body.body-td-affix img.cn-logo-std {
	display: none !important;
}
/*
para que no se desborde el menú sticky
*/
body.body-td-affix ul.sf-menu > .td-menu-item > a {
	font-size: 13px;
}
body.body-td-affix .menu-principal-container .menu-item-first,
body.body-td-affix .td-header-menu-social {
	display: none;
}

.mejs-container,
.mejs-container .mejs-controls,
.mejs-embed,
.mejs-embed body {
	background: #234f8f !important;
}
/* hide first menu item on narrow screens */

@media (max-width: 1024px) and (min-width: 600px) {
	.foo {
		display: none;
	}
}
​ .cn-cuadernillos-module .td_module_flex:hover .entry-title.td-module-title a {
	color: #e86aa1 !important;
}

.cn-revista.td_block_wrap {
	padding: 0.5rem;
	margin-bottom: 0px;
}

.cn-revista.td_block_wrap,
.cn-cuadernillos-module .entry-thumb {
	border: 1px solid #e9e9e9 !important;
}

.mwm_rrss_contenedor.mwm_rrss_appearance_5 a.mwm_rrss {
	height: 2rem;
	width: 2rem;
}

div.td-excerpt {
	color: black !important;
}

.tdb_single_content .tdb-block-inner figure + p,
.tdb_single_content .mwm_rrss_contenedor + p {
	font-weight: 800;
	font-size: 16px !important;
}

/* form subscribe */
.cn-sidebar-form {
	background-color: #dce7ee;
	color: white;
	padding: 1rem;
}
.cn-sidebar-form h4.td-block-title {
	color: #234f8f;
	margin: 0.5rem 0 1rem;
}
.cn-sidebar-form input[type="text"],
.cn-sidebar-form input[type="email"] {
	margin-bottom: 1rem;
}
.cn-sidebar-form label {
	margin: 0.5rem 0 1rem;
	color: #4db2ec;
}

.cn-sidebar-form label a {
	text-decoration: underline;
}
.cn-sidebar-form label a:hover {
	color: #4db2ec;
}

.cn-sidebar-form input[type="submit"] {
	width: 100%;
	background-color: #234f8f !important;
	font-weight: 600;
	font-size: 15px;
}
.cn-home-camiones-y-ligero
	.td_module_flex_4
	.td-module-meta-info
	> .entry-title {
	font-size: 17px !important;
}
.cn-podcast-banner {
	background-color: #f6f6f6;
	padding: 15px;
}
.cn-podcast-banner > ul,
.cn-podcast-banner img {
	margin-bottom: 0px !important;
}
.cn-podcast-banner .widget_text h4.block-title {
	border: 0;
	margin: 10px 0px;
}
.cn-podcast-banner .widget_text h4.block-title span {
	text-transform: none;
	line-height: 1.2;
}
.tdb-author-photo {
	display: none !important;
}
@media (max-width: 1024px) {
	#login-form-mobile {
		display: none !important;
	}
	.tdc-content-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.cn-sidebar-ads div.g {
	margin-top: 2rem;
}
.cn-sidebar-ads div.g:first-child {
	margin-top: 0;
}

/* podcast */
.cn-podcast-banner .widget_text {
	display: none !important;
}
.cn-podcast-banner .widget_custom_html.widget_text {
	display: list-item !important;
}

@media (max-width: 991px) {
	.cn-podcast-banner .widget_custom_html.widget_text {
		display: none !important;
	}
	.cn-podcast-banner .widget_text {
		display: list-item !important;
	}
}

/* css mobile */
@media (max-width: 767px) {
	#menu-menupie * {
		line-height: 1.3 !important;
	}
	.cn-over-menu,
	.td-logo-in-header .td-mobile-logo.td-sticky-mobile {
		display: none !important;
	}
	.td-magazine .td-header-style-1 .td-header-top-menu-full,
	.td-magazine .td-header-style-1 .td-header-sp-logo {
		border-bottom: 0 !important;
		border-top: 0 !important;
		display: block !important;
		max-width: 100%;
		height: auto !important;
		margin: 0 !important;
	}
	.td-magazine .td-header-style-1 .td-header-sp-logo img {
		width: 100%;
		margin: 0 0 10px !important;
		position: relative;
	}
	.td-header-menu-wrap.td-header-gradient {
		background-color: #234f8f !important;
		color: white;
	}
	.td-header-style-1 .header-search-wrap .td-icon-search,
	.td-header-menu-wrap.td-header-gradient div#td-top-mobile-toggle i {
		color: white !important;
	}
	.td-header-wrap.td-header-style-1 .td-header-menu-social {
		display: block !important;
	}
	ul.sf-menu > .td-menu-item > a,
	.td-theme-wrap .td-header-menu-social {
		font-size: 25px !important;
	}
	.td-footer-template-wrap {
		padding: 1rem 1rem 0;
	}
	.td-footer-template-wrap .wpb_wrapper.wpb_text_column.td_block_wrap {
		text-align: center;
	}
	.td-footer-template-wrap .tdb_header_logo {
		display: none;
	}
	.td-footer-template-wrap .td-fix-index {
		line-height: 2.5rem;
		margin-top: 1rem;
	}
	.td-search-background,
	.td-search-wrap-mob {
		z-index: 3 !important;
	}
}
/* social icons */

.mwm_rrss_contenedor .mwm_rrss.mwm_twitter {
	color: #00aced !important;
	border-color: #00aced !important;
}
.mwm_rrss_contenedor .mwm_rrss.mwm_twitter:hover {
	color: white !important;
	background-color: #00aced !important;
}
.mwm_rrss_contenedor .mwm_rrss.mwm_facebook {
	color: #3b5998 !important;
	border-color: #3b5998 !important;
}
.mwm_rrss_contenedor .mwm_rrss.mwm_facebook:hover {
	color: white !important;
	background-color: #3b5998 !important;
}
.mwm_rrss_contenedor .mwm_rrss.mwm_whatsapp {
	color: #009487 !important;
	border-color: #009487 !important;
}
.mwm_rrss_contenedor .mwm_rrss.mwm_whatsapp:hover {
	color: white !important;
	background-color: #009487 !important;
}

@media (max-width: 780px) {
	.mwm_rrss_contenedor .mwm_rrss {
		font-size: 13px;
	}
}
@media (min-width: 1024px) {
	.cn-simple-sidebar form {
		margin-top: 22px;
	}
}

.cn-simple-sidebar .adrotate_widgets img {
	margin-bottom: 21px;
}

body.page-template.page-template-homepage .td-main-content-wrap {
	padding-top: 10px;
}

body.page-template-default .td-main-content-wrap,
body.page-template .td-main-content-wrap {
	padding-top: 40px;
}

/* quitar cuando haya posts en cat entregas */
.cn-homepage-entregas {
	display: none;
}
/* Banners Mercedes */

/* optimizacin anterior*/
 /* ins.dcmads {
	
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	  display: block;
     margin-left: auto;
     margin-right: auto;
}
	
*/

.cn-ultima-hora {
	padding: 0px !important;
}

/* quitar cuando haya posts de última hora y banner sobre menu 
.cn-ultima-hora .td-next-prev-wrap {
	display: none !important;
}
*/

/* 
.td-header-top-menu-full.td-banner-wrap-full.td-logo-wrap-full.td-container-wrap
	+ .td-header-top-menu-full.td-container-wrap {
	display: none !important; 
}*/


.cn-over-menu .cn-widget-ul * {
	width: 100% !important;
	max-width: 100% !important;
}
@media (min-width: 780px) {
	.cn-only-mobile {
		display: none !important;
	}
}
.tdc-zone + p + .g-20 {
	display: none;
}
.td-menu-login-section {
	display: none !important;
}
@media (min-width: 1019px) {
	.tdb_templates .tdb_single_content .tdb-block-inner > p {
		font-size: 16px !important;
	}
}

@media (min-width: 768px) and (max-width: 1018px) {
	.tdb_templates .tdb_single_content .tdb-block-inner > p {
		font-size: 14px !important;
	}
}

.cn-z-index-1 {
	z-index: -1 !important;
}
.cn-no-border {
	border: 0 !important;
}

@media (min-width: 1440px) {
	.td-magazine .td-header-style-1 .td-header-top-menu-full {
		border: 0 !important;
	}
	.tm_content_header.cn-over-menu,
	.td-magazine .td-header-style-1 .td-header-top-menu-full .td-header-header {
		border-top: 4px solid #009688;
	}
	.td-header-menu-wrap-full.td-container-wrap {
		background-color: transparent !important;
		/*.#234f8f !important */
	}

	.td-container.td-header-row.td-header-main-menu {
		background-color: #234f8f !important;
		border-bottom: 4px solid #ff9c00;
	}
	.td-header-menu-wrap.td-header-gradient.td-affix,
	.td-magazine .td-header-style-1 .td-header-gradient::before {
		background-color: transparent !important;
		/* background-color: #ff9c00 !important; */
	}

	#td-header-menu .td-logo-in-header.td-logo-sticky {
		padding-left: 10px !important;
	}

	.td-header-menu-wrap.td-header-gradient::before {
		background: none !important;
		display: none !important;
	}

	.td-magazine .td-header-style-1 .sf-menu > .td-menu-item > a {
		margin-bottom: 0px !important;
	}
}
.cn-over-podcast {
	margin-bottom: 0px;
}
@media (max-width: 767px) {
	body.single .tdb_single_content p {
		font-size: 16px !important;
	}

	/*.td-trending-now-wrapper{
		display:none !important;
	}
*/
	.td-trending-now-display-area {
		height: auto !important;
		top: 0px !important;
		margin: 10px 5px 25px !important;
	}
	.td-trending-now-post {
		position: relative !important;
	}
}

.td-trending-now-post {
	padding-right: 10px !important;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.cn-over-menu .g-13 {
	max-width: 100% !important;
}
.cn-over-menu .g-col {
	float: none !important;
}
.cn-over-menu .widget {
	margin: 0 !important;
}
.cn-over-menu img {
	width: 100%;
	height: auto;
}

.cn-header {
	border-top: 4px solid #009688;
	border-bottom: 4px solid #009688;
	margin-bottom: 10px;
}

.tdb_header_menu {
	background-color: #234f8f !important;
	border-bottom: 4px solid #ff9c00;
}

.tdb_header_menu .tdb-block-menu li > a {
	color: white !important;
	text-transform: none !important;
	font-weight: 400 !important;
}

.tdb_header_search .tdb-head-search-btn {
	color: #ff9c00 !important;
}
.cn-search-module {
	margin-top: -50px;
}

.tdb-head-search-btn i {
	font-size: 24px !important;
}
.cn-below-logo-mobile,
.cn-over-logo-mobile {
	padding: 0px 5px;
	margin: 0px !important;
	max-width: 100% !important;
	height: auto;
	
}
.cn-socials-menu {
	margin: 3px 0 0 0;
}
.cn-socials-menu-mobile {
	margin-top: -54px;
}


.tdb_header_menu .tdb-block-menu li > a::after {
	background-color: transparent !important;
	content: "";
	width: 0;
	height: 3px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: width 0.2s ease;
	transition: width 0.2s ease;
}



.tdb_header_menu .tdb-block-menu li.current-menu-item > a::after,
.tdb_header_menu .tdb-block-menu li:hover > a::after {
	height: 100%;
	z-index: -1;
	background-color: #020000 !important;
}
.tdb_header_mega_menu .block-mega-child-cats .cur-sub-cat,
.td_mega_menu_sub_cats a:hover {
	color: #009688 !important;
}

/* fix sticky menu mobile */

body .tdc-row.tdc-rist-top-active, body .tdc-row.tdc-rist-bottom-active {
    position: fixed !important;
}

body .tdc-row.tdc-rist-top-active .tdb_header_logo{
	display: none;
}

body .tdc-row.tdc-rist-top-active .cn-mob-menu{
	margin-top: 0 !important;
}
.tdb_mobile_search {
	float: right;
}
body .tdc-row.tdc-rist-top.tdc-row.tdc-rist-absolute {
	position: relative;
	top:0 !important;
}
/* ------ FIX BUG banner en menu sticky desktop ----- */
@media (min-width: 768px) {
	.tdc-row-is-sticky.tdc-rist-top.tdc-rist-top-active .cn-over-menu{
		display:none;
	}
}

/* ------ FIX negrita tras imagen GUILLERMO ----- */
.tdb_single_content .tdb-block-inner figure + p {
	font-weight: inherit !important;
}