/*
Theme Name: FFNews
Description: Custom theme for Firefighting News developed by Bright Mountain.
Author: Bright Mountain Development Team
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*--------------------------------------------------------------
	Reset Body width & padding
--------------------------------------------------------------*/

body.home #sidebar {
	margin-top: 0;
}

body #main {
	padding: 0;
}

body #main .fusion-row {
	margin: 0;
	max-width: inherit;
}

/*--------------------------------------------------------------
	Header
--------------------------------------------------------------*/
.fusion-header-v4 .fusion-header {
	padding-top: 15px;
	padding-bottom: 15px;
}

.fusion-header-v4 .fusion-header .fusion-header-banner {
	width: 728px;
	height: 90px;
	margin-right: 20px;
}

/*--------------------------------------------------------------
	Content
--------------------------------------------------------------*/
#content {
	padding-top: 15px;
	padding-left: 15px;
	padding-right: 15px;
}

.single-post .fusion-post-slideshow,
.fusion-blog-layout-large .fusion-post-slideshow,
.fusion-blog-layout-large-alternate .fusion-post-slideshow {
	margin-bottom: 10px;
}

#content .post {
	margin-bottom: 15px;
}

.fusion-blog-layout-large-alternate .fusion-post-content-container,
.fusion-blog-layout-medium-alternate .fusion-post-content-container {
	margin-top: 10px;
}

.post-content p,
.fusion-post-content p {
	margin-bottom: 18px;
}

.fusion-blog-layout-large .entry-title,
.fusion-blog-layout-medium .entry-title {
	margin-bottom: 5px;
}

.fusion-meta-info {
	margin-top: 5px;
}

.fusion-date-and-formats {
	margin-right: 15px;
}

.fusion-blog-layout-large-alternate .fusion-post-content {
	margin-left: 97px;
}

.fusion-recent-posts .left_image {
	float: left;
	margin-right: 10px;
}

.fusion-recent-posts {
	margin-bottom: 0;
}

.fusion-recent-posts.layout-thumbnails-on-side .columns .column {
	margin-bottom: 15px;
}

.fusion-flexslider .slides img {
	width: inherit;
}

.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 100% !important;
	padding: 4px;
	text-align: center;
}

.wp-caption p.wp-caption-text {
	color: #888;
	margin: 5px;
	padding: 0;
}

/*--------------------------------------------------------------
	Theia Sticky Sidebar
--------------------------------------------------------------*/
.theiaStickySidebar {
	-webkit-box-shadow: -14px 0px 25px -16px #999;
	box-shadow: -14px 0px 25px -16px #999;
	background-color: #f7f7f7;
	padding-top: 15px !important;
	padding-left: 15px;
	padding-right: 15px;
}

.theiaStickySidebar .popular-posts .wpp-post-title {
	font-size: 24px;
}

.theiaStickySidebar .popular-posts .wpp-thumbnail {
	margin: 0 0 10px;
}

/*--------------------------------------------------------------
	MISC
--------------------------------------------------------------*/
.pagination {
	margin-bottom: 10px;
	margin-top: 0;
}

/*--------------------------------------------------------------
	Homepage Slider
--------------------------------------------------------------*/
/*
#ffnews-slider {
	margin-top: 40px;
}
*/

.sp-thumbnail-image-container img {
	height:80px;
}

.sp-thumbnail-image-container {
	width: 150px;
	height: 80px;
	overflow: hidden;
	float: left;
}

.sp-thumbnail-image {
	height: 100%;
}

.sp-thumbnail-text {
	width: 170px;
    float: right;
    padding: 5px;
	height:80px;
    background-color: #F0F0F0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.sp-thumbnail-title {
	margin-bottom: 5px;
	text-transform: uppercase;
	color: #333;
}

.sp-thumbnail-description {
	font-size: 14px;
	line-height: 15px;
	color: #333;
}

/*--------------------------------------------------------------
	Article Page
--------------------------------------------------------------*/
.single .related-posts,
.single .fusion-sharing-box {
	margin-top: 0;
}

.single h2.entry-title,
.single .single-navigation {
	margin-bottom: 0;
}

/*
.single #content img {
	width: 100%;
}
*/

@media (max-width: 500px) {
	.sp-thumbnail {
		text-align: center;
	}
	.sp-thumbnails-container {
		display: none;
	}
	.sp-thumbnail-text {
		width: 120px;
	}
	.sp-thumbnail-title {
		font-size: 12px;
		text-transform: uppercase;
	}
	.home #wrapper #main #content .slider-pro .slider_title {
		font-size: 14px !important;
		line-height: 15px !important;
	}
	.home #wrapper #main #content .slider-pro .slider_title span {
		font-size: 10px !important;
		line-height: 11px !important;
	}
	.sp-thumbnail-description {
		font-size: 11px;
		line-height: 12px;
	}
}

/*--------------------------------------------------------------
	Fire Department States
--------------------------------------------------------------*/
.tax-state #content #posts-container {
	margin-left: 15px;
}


.tax-state #content #posts-container .post.fire_department {
	padding: 10px 0 0;
	border-top: 1px solid #e0dede;
}

.tax-state #content #posts-container .post.fire_department:first-child {
	border-top: 2px solid #e0dede;
}


.tax-state #content .post {
	margin-bottom: 0;
}

.single .post .fusion-alignleft,
.tax-state .post .fusion-alignleft {
	display: none;
}

/*--------------------------------------------------------------
	WP Pagenavi
--------------------------------------------------------------*/
.wp-pagenavi {
    text-align: center;
    margin-bottom: 15px;
    margin-top: 15px;
}

.wp-pagenavi span.current {
    background-color: #cb171e;
    color: #fff;
}

.wp-pagenavi span.extend {
    background-color: #000;
    color: #fff;
}

.wp-pagenavi span.pages {
    background-color: #cb171e;
    color: #fff;
    border-color: #000;
}


/*--------------------------------------------------------------
	Single Fire Department
--------------------------------------------------------------*/
.single-fire_department .post-author,
.single-fire_department .fusion-inline-sep:nth-of-type(2),
.single-fire_department .post-date,
.single-fire_department .fusion-inline-sep:nth-of-type(5),
.single-fire_department .fusion-inline-sep:nth-of-type(9),
.single-fire_department .fusion-comments {
	display: none;
}

.single-fire_department .post-content .fire-department-container {
	font-size: 16px;
	line-height: 18px;
}

.single-fire_department .post-content .fire-department-container h4 {
	margin-top: 0;
	padding: 10px 0;
	font: 900 22px/24px verdana, arial, helvetica, sans-serif;
	color: #333333;
	background-color: #F5F5F5;
	text-align: center;
}

.single-fire_department .post-content .fire-department-container p {
	margin-bottom: 0;
}

.single-fire_department .post-content .department-address address {
	font-style: normal;
}

/*--------------------------------------------------------------
	NDN Videos
--------------------------------------------------------------*/

.ndn_embed:not(#ndn-widget-embed-2) {
	float: left;
	margin-bottom: 15px;
	width: 100% !important;
	height: 500px !important;
}

@media screen and (max-width: 767px) {
	.post .ndn_embed {
		height: 414px !important;
	}
}

@media screen and (max-width: 480px) {
	.post .ndn_embed {
		height: 259px !important;
	}
}

@media screen and (max-width: 400px) {
	.post .ndn_embed {
		height: 216px !important;
	}
}

html body .ndn_embedContainer.ndn_widget_VideoLauncher-Slider {
	margin-left: -10px;
}

/*--------------------------------------------------------------
	Footer Menu
--------------------------------------------------------------*/
.menu-footer-menu-container {
	padding: 10px 0;
}

ul#menu-footer-menu {
	display: table-cell;
	vertical-align: middle;
	margin: 0;
	padding: 0;
}

#menu-footer-menu li {
	float: left;
	list-style: none;
	margin: 0px 10px;
	font-size: 12px;
}

#menu-footer-menu li a {
	color: #fff;
}

.fusion-social-links-footer {
	width: 88px;
}

/*--------------------------------------------------------------
	Brought to you by: Bright Mountain Media
--------------------------------------------------------------*/
.by {
	color: #fff;
	font-size: 12px;
}

.by a {
	color: #BFBFBF;
}

/*--------------------------------------------------------------
	Media Queries
--------------------------------------------------------------*/
@media screen and (max-width: 1169px) {
	body #content {
		width: 815px;
	}
}

@media screen and (max-width: 1144px) {
	body #content {
		width: 795px;
	}
}

@media screen and (max-width: 1124px) {
	body #content {
		width: 775px;
	}
}

@media screen and (max-width: 1104px) {
	body #content {
		width: 755px;
	}
}

@media screen and (max-width: 1084px) {
	body #content {
		width: 735px;
	}
}

@media screen and (max-width: 1064px) {
	body .fusion-main-menu > ul > li {
		padding-right: 21px;
	}
	body #content {
		width: 715px;
	}
}

@media screen and (max-width: 1044px) {
	body #content {
		width: 695px;
	}
}

@media screen and (max-width: 1024px) {
	body #content {
		width: 694px;
	}
}

@media screen and (max-width: 1023px) {
	body #content {
		width: 660px;
	}
}

@media screen and (max-width: 989px) {
	body .fusion-header-v4 .fusion-header .fusion-header-banner {
		width: 468px;
		height: 60px;
	}
	body #content {
		width: 640px;
	}
}

@media screen and (max-width: 969px) {
	body #content {
		width: 620px;
	}
}

@media screen and (max-width: 949px) {
	body .fusion-main-menu > ul > li {
		padding-right: 11px;
	}
	body #content {
		width: 600px;
	}
}

@media screen and (max-width: 929px) {
	body #content {
		width: 580px;
	}
}

@media screen and (max-width: 909px) {
	body #content {
		width: 560px;
	}
}

@media screen and (max-width: 889px) {
	body #content {
		width: 540px;
	}
}

@media screen and (max-width: 869px) {
	body #content {
		width: 520px;
	}
}

@media screen and (max-width: 849px) {
	body #content {
		width: 500px;
	}
	body .fusion-main-menu > ul > li > a {
		font-size: 14px;
	}
}

@media screen and (max-width: 829px) {
	body #content {
		width: 470px;
	}
	body .wp-pagenavi .nextpostslink {
		margin-top: 15px;
	}
	body .wp-pagenavi .nextpostslink,
	body .wp-pagenavi .last {
		display: block;
	}
}

@media screen and (max-width: 800px) {
	body.home.has-sidebar #main #content .post-content .fusion-recent-posts .fusion-columns {
		margin: 0;
	}
	body.home.has-sidebar #main #content .post-content .fusion-recent-posts .fusion-columns .column {
		padding: 0;
		margin-bottom: 15px;
	}
	body.home.has-sidebar #main #content .post-content .fusion-recent-posts .fusion-columns .column .top_image img {
		width: 440px;
	}
}

@media screen and (max-width: 799px) {
	body #content {
		width: 450px;
	}
	body #content #ffnews-slider .sp-slide p {
		font-size: 20px !important;
	}
}

@media screen and (max-width: 779px) {
	body #content {
		width: 430px;
	}
}

@media screen and (max-width: 768px) {
	body #main #content.with-sidebar, body.has-sidebar #main #content {
		width: 438px;
	}
	body #main #sidebar {
		width: 330px;
	}
	body.home.has-sidebar #main #content .post-content .fusion-recent-posts .fusion-columns {
		margin: 0;
	}
	body.home.has-sidebar #main #content .post-content .fusion-recent-posts .fusion-columns .column {
		padding: 0;
		margin-bottom: 15px;
	}
	body.home.has-sidebar #main #content .post-content .fusion-recent-posts .fusion-columns .column .top_image img {
		width: 408px;
	}
}

@media screen and (max-width: 767px) {
	body #main #content.with-sidebar, body.has-sidebar #main #content {
		width: 420px;
	}
}

@media screen and (max-width: 749px) {
	body #main #content.with-sidebar, body.has-sidebar #main #content {
		width: 400px;
	}
	body #content #ffnews-slider .sp-slide p {
		font-size: 18px !important;
		line-height: 20px !important;
	}
}

@media screen and (max-width: 729px) {
	body #main #content.with-sidebar, body.has-sidebar #main #content {
		width: 380px;
	}
}

@media screen and (max-width: 709px) {
	body #main #content.with-sidebar, body.has-sidebar #main #content {
		width: 360px;
	}
	body #content #ffnews-slider .sp-slide p {
		font-size: 16px !important;
		line-height: 18px !important;
	}
}

@media screen and (max-width: 689px) {
	body #main #content.with-sidebar, body.has-sidebar #main #content {
		width: 340px;
	}
	body .wp-pagenavi .pages {
		display: block;
	}
	body .wp-pagenavi .pages {
		margin-bottom: 15px;
	}
}

@media screen and (max-width: 669px) {
	body #main #content.with-sidebar, body.has-sidebar #main #content {
		width: 320px;
	}
}

@media screen and (max-width: 649px) {
	body #main #content.with-sidebar, body.has-sidebar #main #content {
		width: 311px;
	}
}

@media screen and (max-width: 640px) {
	body .ad300x250,
	body .ad_rotator {
		text-align: center;
	}
	body .wp-pagenavi .pages,
	body .wp-pagenavi .nextpostslink,
	body .wp-pagenavi .last {
		display: initial;
	}
}

@media screen and (max-width: 529px) {
	body .fusion-header-v4 .fusion-header .fusion-header-banner {
		width: 300px;
		height: 50px;
	}
	body .wp-pagenavi .pages,
	body .wp-pagenavi .nextpostslink,
	body .wp-pagenavi .last {
		display: block;
	}
	body .wp-pagenavi .nextpostslink {
		margin-top: 15px;
	}
	body .wp-pagenavi .pages {
		margin-bottom: 15px;
	}
	body .wp-pagenavi a.page,
	body .wp-pagenavi span.current {
		padding: 8px 12px;
	}
}

@media screen and (max-width: 320px) {
	body .fusion-header-v4 .fusion-header .fusion-header-banner {
		margin-left: -20px;
	}
	body.home .imageframe-align-center {
		width: 300px;
		height: 250px;
	}
	body #pmc_mailchimp input[type="email"] {
		width: 67%;
	}
	
	body .fusion-header {
		padding-left: 0;
		padding-right: 0;
	}
}

/*--------------------------------------------------------------
	iPad Media Queries
--------------------------------------------------------------*/
@media only screen and (max-device-width: 1024px) and (min-device-width: 768px) and (orientation: landscape) {
	
}

@media only screen and (max-device-width: 1024px) and (min-device-width: 768px) and (orientation: portrait) {
/*
	body #main #content.with-sidebar, body.has-sidebar #main #content {
		width: 438px !important;
	}
	body #main #sidebar {
		width: 330px !important;
	}
	.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
		padding-left: 5px;
		padding-right: 5px;
	}
	body.home.has-sidebar #main #content .post-content .fusion-recent-posts .fusion-columns {
		margin: 0;
	}
	body .fusion-recent-posts .left_image {
		margin-right: 0;
	}
	body.home.has-sidebar #main #content .post-content .fusion-recent-posts .fusion-columns .column img {
		width: 186px;
	}
*/
}