/*
Theme Name:     TNFB Child
Theme URI: 		http://jnlcom.com
Description:    Child theme for TNFB
Author:         Richard Stevens
Author URI: 	http://jnlcom.com
Template:       Newspaper                             
Version:        6.0
*/

/* Colors 
DF0E33	TFB Red
E3173E	OLD Red
003d66  Navy
348796	Astral Blue
69AA69	Aqua Forest Green
C3B493	Khaki
726658	Coffee
*/

/* theme opacity fix */

body.td-animation-stack-type0 .td-animation-stack .entry-thumb, body.td-animation-stack-type0 .post img {
	opacity:1;
}

/* Radio */
.sidebar-radio .mejs-controls {padding:0; margin:0; height:30px;}
.sidebar-radio .mejs-button {height:30px; margin-top:6px; margin-left:2px;}
.sidebar-radio .mejs-container {height:30px !important;}
.sidebar-radio .mejs-button>button {margin:0px; height:30px;}
.sidebar-radio .wp-playlist-current-item {display:none;}
.sidebar-radio .wp-playlist p:nth-child(5) {display:none;}
.category-podcast .td-category-title-holder,
.category-root-of-the-matter .td-category-title-holder,
.category-farm-bureau-on-the-hill .td-category-title-holder {
	padding:46px 46px 0px 46px;
}
.category-podcast .td-category-header,
.category-root-of-the-matter .td-category-header,
.category-farm-bureau-on-the-hill .td-category-header {
	background-color:#fff;
}
.podcast-header-right {
	width:386px;
	height:386px;
	float:right;
}
.podcast-header-left {
	display:block;
	padding-right:18px;
	max-width:680px;
}
.podcast-header-left img {
	margin-top:0px;
}
.category-podcast .td-category-description,
.category-root-of-the-matter .td-category-description,
.category-farm-bureau-on-the-hill .td-category-description {
	margin-top:28px;
}
.category-podcast .td-pulldown-container,
.category-root-of-the-matter .td-pulldown-container,
.category-farm-bureau-on-the-hill .td-pulldown-container {
	display:none;
}
.category-podcast .td-category-description p,
.category-root-of-the-matter .td-category-description p,
.category-farm-bureau-on-the-hill .td-category-description p {
    font-style: normal;
    font-family: 'Open Sans', arial, sans-serif;
    color: #111;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 16px;
    margin-top: 0;   
}
.category-podcast .td-category-header .td-page-title,
.category-root-of-the-matter .td-category-header .td-page-title,
.category-farm-bureau-on-the-hill .td-category-header .td-page-title, {
	color:#111;
}
.podcast-header-hosts {
	width:75%;
}
.podcast-header-buttons {
	width:25%;
	text-align:center;
	display:inline-block;
}
.podcast-header-buttons a.itunes-link {
	margin-bottom:6px;
	display:block;
}


/* Header */
.td-header-menu-wrap-full {height:106px !important;}
.td-header-main-menu {padding-right:0px;}
.td-header-menu-wrap-full .td-container {width:100%;}
.menu-main-nav-container {top: 12px; position: relative;}
#td-top-search {position: absolute;right: 20px; top: 50%; margin-top: -7px;}
.td-header-style-5 .td-main-menu-logo img {max-height:80px;}
.td-header-style-5 .td-main-menu-logo {margin-right:10px; margin-left:20px; margin-right:10px;}
.sf-menu a.sf-with-ul {padding-right: 10px; padding-left: 10px;}
.td-icon-menu-down {display:none;}
.sf-menu,.sf-menu ul, .sf-menu li {margin:12px 0 0;}
.sf-menu ul {background:#df0e33;}
.sf-menu ul li {margin:0px 0 0;}
.sf-menu ul li a {color:#fff !important;}
.td-header-style-6 .td-main-menu-logo {margin-right:10px;}
ul.sf-menu > .td-menu-item > a,
.td-header-wrap .td-affix .sf-menu > li > a
	{line-height:1.2em !important;}
.td-header-wrap .black-menu .sf-menu > li > a:hover,
.td-header-wrap .black-menu .sf-menu > .sfHover > a 
	{background:none !important; color:#eee;}
.td-header-wrap .td-header-top-menu-full a {font-weight:bold;}
.td-header-top-menu-full {border-bottom:#fff 1px solid !important;}

/* Fixed Header */
.td-affix .sf-menu, .td-affix .sf-menu ul, .td-affix .sf-menu li {margin:4px 0 0 !important;}
.td-header-wrap .td-affix .menu-main-nav-container {top:2px;}
.td-header-wrap .td-affix .td-main-menu-logo {top:-3px; position:relative;}
.td-header-wrap .td-affix #td-top-search {position: absolute; right: 0; top: 4px; margin-top:0px;}

/* Footer */
.td-sub-footer-copy {line-height: 18px;margin-top: 8px; margin-bottom: 8px; width: 100%;}
#menu-footer-menu li {display:inline; margin-right:20px; border-right:#fff 1px solid; padding-right:20px;}
#menu-footer-menu li:last-child {border-right:none; padding-right:0px;}
.td-footer-wrapper {padding-top:40px; padding-bottom:0px;}

/* Sidebar Full Blocks */
aside.widget_execphp .block-title a, 
aside.widget_execphp .block-title span,
aside.widget_execphp .block-title label,
aside.widget .block-title span
	{width:100%; background-color:#Navy !important; color:#fff; padding:10px 0px; margin:0 auto; display:block; text-align:center;}
.vc_btn3.vc_btn3-color-success, .vc_btn3.vc_btn3-color-success.vc_btn3-style-flat {background-color: #B39F47 !important;}
aside.widget .block-title {border:none;}
.custom-sidebar .wpb_wrapper {margin-top:0px;}

/* Sidebar Shadow */
.td-main-sidebar {
	background: -moz-linear-gradient(left, rgba(204,204,204,1) 0%, rgba(41,137,216,0.5) 50%, rgba(17,17,17,0) 100%);
    background: -webkit-linear-gradient(left, rgba(204,204,204,1) 0%,rgba(41,137,216,0.5) 50%,rgba(17,17,17,0) 100%);
    background: linear-gradient(to right, rgba(230,230,230,1) 0%,rgba(230,230,230,0.1) 4%,rgba(17,17,17,0) 6%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#00111111',GradientType=1 );
}

/* Flickr Widget */
.page-links {padding:20px 0px;}
.page-links span {
	padding: 5px 11px;
    border: 1px solid #003d66;
    display: inline-block;
    margin: 0 8px 8px 0;
    min-width: 33px;
    text-align: center;
    color: #fff;
    line-height: 21px;
    float: left;
    background:#003d66;
}

/* Sidebar Lines
aside.widget_execphp .block-title a, 
aside.widget_execphp .block-title span,
aside.widget_execphp .block-title label 
	{background-color:transparent !important; color:#111; margin:0 auto; display:block; text-align:center; width:100%; font-weight: 300; font-size: 18px; padding: 10px 12px 10px 12px;}
aside.widget_execphp .block-title {border-top:#003d66 4px solid; border-bottom:#003d66 4px solid;}
.custom-sidebar .wpb_wrapper {margin-top:-4px;}

 */
.block-title a, .block-title span, .block-title label {font-weight: 300;font-size: 18px; padding: 10px 12px 8px 12px;}
.vc_btn3.vc_btn3-color-success, .vc_btn3.vc_btn3-color-success.vc_btn3-style-flat {background-color: #efefef !important; max-width:70% !important; margin:0 auto; border:#003d66 1px solid; color:#333 !important;}
aside.widget_execphp .td-social-icon-wrap {background:#003d66;}
.widget.widget_execphp {margin-bottom:20px;}
.vc_btn3.vc_btn3-color-success, .vc_btn3.vc_btn3-color-success.vc_btn3-style-flat .fa {margin-top:3px;}

/* Playlist Widget */
.wp-playlist {margin-top:-10px !important;}
.wp-playlist-item-title {font-size:24px;}
.wp-playlist {border:none !important; padding:none !important;}
.wp-playlist-current-item {height:initial !important;}
.wp-playlist-caption h5 {line-height:1em; margin-top:0px;}
.wp-playlist-item {padding:6px 3px !important;}
.wp-playlist-item-length {top:6px !important;}

/* Home Big Grid Articles */
.td-big-grid-meta .td-post-category {display:none;}
.td-grid-style-1 .td-module-thumb a:last-child:before {
  bottom: 0;
  content: "";
  display: block;
  height: 70%;
  width: 100%;
  position: absolute;
  z-index: 1;
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.5)));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#b3000000', GradientType=0);
  /* IE6-9 */
  /* responsive portrait phone */
}

/* Event List */
.event-list li {list-style:none; margin-left:0; padding:6px 0px; border-bottom:#666 1px dotted; font-size:14px;}
.event-list li:first-child {border-top:#666 1px dotted;}
.event-list li .event-date {display:inline-block; width:18%; vertical-align:top;}
.event-list li .event-location {display:inline-block; width:32%; vertical-align:top; text-align:right;}
.event-list li .event-title {display:inline-block; width:50%; padding:0px 5px; vertical-align:top;}

/* Podcast Category */
body.category-podcast .td-block-span6, 
body.archive .td-block-span6 
{width:100%;}
.podcast-download {display:inline-block; color:#003d66; margin:0 0 0 12px;}
.podcast-date .td-post-date {
	float:none !important;
}

/* Grid Shadow */
.tfb-featured .vc_gitem_row.vc_row.vc_gitem-row-position-bottom:before {
	bottom: 0;
    content: "";
    display: block;
    height: 130%;
    width: 100%;
    position: absolute;
    z-index: 0;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.7)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#b3000000', GradientType=0);
}



/* Media Element CSS Only Keep if using */
.mejs-container {
	clear: both;
}
.mejs-container * {
	font-family: Helvetica, Arial;
}
.mejs-container,
.mejs-embed,
.mejs-embed body,
.mejs-container .mejs-controls {
	background: #003d66 !important;
}

.mejs-controls a.mejs-horizontal-volume-slider {
	display: table;
}

.mejs-controls .mejs-time-rail .mejs-time-loaded,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	background: #fff;
}

.mejs-controls .mejs-time-rail .mejs-time-current {
	background: #0073aa;
}

.mejs-controls .mejs-time-rail .mejs-time-total,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
	background: rgba(255, 255, 255, .33);
}

.mejs-controls .mejs-time-rail span,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	border-radius: 0;
}

.mejs-controls .mejs-offscreen {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
}

.mejs-controls a:focus > .mejs-offscreen {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto;
	color: #0073aa;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	left: 0;
	top: 15px;
	text-decoration: none;
	text-transform: none;
	width: auto;
}

.mejs-overlay-loading {
	background: transparent;
}

/* Override theme styles that may conflict with controls. */
.mejs-controls button:hover {
	border: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.me-cannotplay {
	width: auto !important;
}

.media-embed-details .wp-audio-shortcode {
	display: inline-block;
	max-width: 400px;
}

.audio-details .embed-media-settings {
	overflow: visible;
}

.media-embed-details .embed-media-settings .setting span {
	max-width: 400px;
	width: auto;
}

.media-embed-details .embed-media-settings .checkbox-setting span {
	display: inline-block;
}

.media-embed-details .embed-media-settings {
	padding-top: 0;
	top: 28px;
}

.media-embed-details .instructions {
	padding: 16px 0;
	max-width: 600px;
}

.media-embed-details .setting p,
.media-embed-details .setting .remove-setting {
	color: #a00;
	font-size: 10px;
	text-transform: uppercase;
}

.media-embed-details .setting .remove-setting {
	padding: 0;
}

.media-embed-details .setting a:hover {
	color: #f00;
}

.media-embed-details .embed-media-settings .checkbox-setting {
	float: none;
	margin: 0 0 10px;
}

.wp-video {
	max-width: 100%;
	height: auto;
}

.wp_attachment_holder .wp-video,
.wp_attachment_holder .wp-audio-shortcode {
	margin-top: 18px;
}

video.wp-video-shortcode,
.wp-video-shortcode video {
	max-width: 100%;
	display: inline-block;
}

.video-details .wp-video-holder {
	width: 100%;
	max-width: 640px;
}

.wp-playlist {
	padding: 10px;
	margin: 12px 0 18px;
	font-size: 14px;
	line-height: 1.5;
}

.wp-admin .wp-playlist {
	margin: 0 0 18px;
}

.wp-playlist video {
	display: inline-block;
	max-width: 100%;
}

.wp-playlist audio {
	display: none;
	max-width: 100%;
	width: 400px;
}

.wp-playlist .mejs-container {
	margin: 0;
	width: 100%;
}

.wp-playlist .mejs-controls .mejs-button button {
	outline: 0;
}

.wp-playlist-light {
	background: #fff;
	color: #000;
}

.wp-playlist-dark {
	color: #fff;
	background: #000;
}

.wp-playlist-caption {
	display: block;
	max-width: 88%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 14px;
	line-height: 1.5;
}

.wp-playlist-item .wp-playlist-caption {
	text-decoration: none;
	color: #000;
	max-width: -webkit-calc(100% - 40px);
	max-width: calc(100% - 40px);
}

.wp-playlist-item-meta {
	display: block;
	font-size: 14px;
	line-height: 1.5;
}

.wp-playlist-item-title {
	font-size: 14px;
	line-height: 1.5;
	font-weight:bold;
	padding-left:6px;
}

.wp-playlist-item-album {
	font-style: italic;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wp-playlist-item-artist {
	font-size: 12px;
	text-transform: uppercase;
}

.wp-playlist-item-length {
	position: absolute;
	right: 3px;
	top: 0;
	font-size: 14px;
	line-height: 1.5;
}

.rtl .wp-playlist-item-length {
	left: 3px;
	right: auto;
}

.wp-playlist-tracks {
	margin-top: 10px;
	background:#ddd;
}

.wp-playlist-item {
	position: relative;
	cursor: pointer;
	padding: 0 3px;
	border-bottom: 1px solid #ccc;
}

.wp-playlist-item:last-child {
	border-bottom: 0;
}

.wp-playlist-light .wp-playlist-caption {
	color: #333;
	padding: 0px 3px 0px 4px;
}
.wp-playlist-item-length {
	padding-right:3px;
}

.wp-playlist-dark .wp-playlist-caption {
	color: #dedede;
}

.wp-playlist-playing {
	font-weight: bold;
}

.wp-playlist-light .wp-playlist-playing {
	background: #eee !important;
	color: #000;
}

.wp-playlist-dark .wp-playlist-playing {
	background: #000;
	color: #fff;
}

.wp-playlist-current-item {
	overflow: hidden;
	margin-bottom: 10px;
	height: 60px;
}
.wp-playlist-current-item strong {
	display: none;
}

.wp-playlist .wp-playlist-current-item img {
	float: left;
	max-width: 60px;
	height: auto;
	margin-right: 10px;
	padding: 0;
	border: 0;
}

.rtl .wp-playlist .wp-playlist-current-item img {
	float: right;
	margin-left: 10px;
	margin-right: 0;
}

.wp-playlist-current-item .wp-playlist-item-title,
.wp-playlist-current-item .wp-playlist-item-artist {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wp-audio-playlist .me-cannotplay span {
	padding: 5px 15px;
}

.wpcf7-list-item {
	clear:both;
	display:block;
}
.calendar-archives.arw-theme1 .calendar-navigation {
	background-color:#003d66;
}

.menu-main-nav-container {
	display:inline-block;
}


@media (min-width: 768px) {
	.td-header-style-5 .td-main-menu-logo {
		margin-top: 12px;
		height:80px;
	}
}

@media (max-width: 400px) {
	.voter-voice {
		display:none;
	}
}

/* .td-js-loaded .td-menu-background, .td-js-loaded #td-mobile-nav { visibility: hidden;} */
.td-menu-mob-open-menu .td-menu-background {
	visibility: visible;
	height: 100% !important;
}
.td-menu-mob-open-menu #td-mobile-nav {
	visibility: visible;
}
.td-menu-mob-open-menu #td-outer-wrap {
	position: relative;
}