/*
Theme Name:     NP7 BF Main
Theme URI: 	
Description:    Child theme for the main Business Facilities website.
Author:         Jason Berardi
Author URI: 	
Template:       Newspaper                        
Version:        7.1c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

/* body div#td-outer-wrap div.pageText.collapse { display: block !important; } DEVELOPMENT ONLY - This overrides a bootstrap conflict on this theme. If more issues arise, Bootstrap css can be disabled in functions.php ~JB */

/* body div#td-outer-wrap div.pageText.collapse.bs { display: none !important; } DEVELOPMENT ONLY - Adding .bs to .collapse would reEnable this function on div.pageText; I don't ever see us needing that exact capability. If more issues arise, Bootstrap css can be disabled in functions.php ~JB */

@import url(https://fonts.googleapis.com/css?family=Oswald:400,300|Gudea:400,400italic,700);

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bolder !important;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  box-sizing: content-box; /* 2 */
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

em, .italic { font-style: italic; }

.smallcaps, .smallCaps { font-variant: small-caps !important; }

.allcaps, .allCaps { text-transform: capitalize !important; }

.uppercase, .upperCase {
	text-transform: uppercase !important;
}

.lowercase, .lowerCase { text-transform: lowercase !important; }

.centered { text-align: center !important; margin-left: auto; margin-right: auto; }

div.ad-unit-container { margin-left: auto !important; margin-right: auto !important }

.skip { /* ACCESSIBILITY: this style class is specifically for pushing "skip to content" navigation off of the screen; leaving it only accessible through screen readers. */
	position:absolute;
	left:-9999px;
	top:0;
}

.hide { display: none !important; }

.note { font-weight: bolder; }

.top5 { margin-top: 5px !important; }

.top10 { margin-top: 10px !important; }

.top15 { margin-top: 15px !important; }

.top20 { margin-top: 20px !important; }

.bot0 { margin-bottom: 0px !important; }

body {
    /* background-image: url("https://businessfacilities.com/wp-content/uploads/sites/11/2016/06/background.png"); */
}

body,
p {
    font-family: 'Gudea', Arial, Helvetica, sans-serif;
}

}
.block-title > span { background-color: #fff !important; }

/* BEGIN .td-post-template-8 Styles
================================================== */
.td-post-template-8 .td-post-header header .entry-title {
    color: #fff;
}

.td_category_template_4 .td-category-pulldown-filter { /* An override for the 'Category pull-down filter' */
    top: 140px;
}

/* END .td-post-template-8 Styles
================================================== */

.td-banner-wrap-full {
   background: rgb(235, 236, 238); /* The Fallback */
   background: rgba(235, 236, 238, 0.5); 
}

.td-header-style-1 .header-search-wrap .td-icon-search { /* margin-top: 10px; */ }

.td-header-wrap .td-header-menu-wrap .sf-menu > li > a,
ul.sf-menu > .td-menu-item > a { 
	text-transform: uppercase !important; 
}

div.td-pb-span8.td-main-content { 
	/* border-left: 1px solid #f2f2f2; */
	border-right: 1px solid #f2f2f2; 
}

.block-title, .td-related-title, .wpb_tabs .wpb_tabs_nav, .vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container, .woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-color: #f2f2f2;
}

.td-main-sidebar .block-title span,
.td-main-sidebar .block-title a,
.td-main-content .block-title span,
.td-main-content .block-title a,
 { 
	color: #fff !important;
	background: #000; !important; 
}

div.td-pb-span4.td-main-sidebar { border-right: 1px solid #f2f2f2; }

div.aside-feed .td_block_inner,
div.aside-feed .widget.widget_rss ul { 
	overflow: scroll;
	height: 500px;
}

div.aside-feed a.rsswidget { 
	color: #000 !important;
}

/* BEGIN Style-1 theme overrides
================================================== */

.block-title, .td-related-title, .wpb_tabs .wpb_tabs_nav, .vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container, .woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-color: #000333 !important;
}

/* BEGIN Visual Composer Fixes (span.dropcaps)
================================================== */

span.dropcap {}

span.dropcap1 {}
span.dropcap2 {}
span.dropcap3 {}

span.dropcap.A {}
span.dropcap.B {}
span.dropcap.C {}
span.dropcap.D {}
span.dropcap.E {}
span.dropcap.F {}
span.dropcap.G {}
span.dropcap.H {}
span.dropcap.I {}
span.dropcap.J {}
span.dropcap.K {}
span.dropcap.L {}
span.dropcap.M {}
span.dropcap.N {}
span.dropcap.O {}
span.dropcap.P {}
span.dropcap.Q {}
span.dropcap.R {}
span.dropcap.S {}
span.dropcap.T {}
span.dropcap.U {}
span.dropcap.V {}
span.dropcap.W {}
span.dropcap.X {}
span.dropcap.Y {}
span.dropcap.Z {}

/*==================================================
=            BEGIN ROTATING WALLPAPER TESTS       =
==================================================*/
 /*
 body {
    background-color: #464646;
    background-image: url("https://businessfacilities.com/my-sandbox/wp-content/uploads/sites/11/2016/06/bkgd-w-300x1180-ad-slots.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}
*/

/*==================================================
=            BEGIN Style 0 - Custom Default 2016       =
==================================================*/

body.td-magazine.bf-mag-1 {} /* The default body style indicator (-1) */

.td-header-style-1 {}

.td-container.td-header-row.td-header-header { /* width: 90%; */ }

.td-post-template-11 .td-post-header h1,
.td-post-template-11 .td-post-header h2,
.td-post-template-11 .td-post-header h3,
.td-post-template-11 .td-post-header h4,
.td-post-template-11 .td-post-header h5,
.td-post-template-11 .td-post-header h6,
.td-post-template-11 .td-related-title .td-cur-simple-item, 
.td-post-template-11 .td-post-header a:link,
.td-post-template-11 .td-post-header a:visited { color: #fff !important; }

.td-post-template-11 .td-post-header a:hover,
.td-post-template-11 .td_block_related_posts .td-next-prev-wrap a:hover,
.td-post-template-11 .td-related-title .td-related-left:hover, 
.td-post-template-11 .td-related-title .td-related-right:hover, 
.td-post-template-11 .td-post-header a:active { color: #f2f2f2 !important; }

/*
.td-header-style-1 .td-header-sp-logo {
	 width: 100px;
	position: relative;
	height: 100px;
	margin: 10px 20px 10px 0 !important;
	padding: 0;
	background-color: #333 !important;
}

.td-header-style-1 .td-header-sp-logo img { max-height: none; }

.td-header-sp-logo img {
    margin: 10px 10px 10px 0 !important;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.td-header-style-1 .td-header-sp-recs { 
	background-color: #999 !important;
	margin: 10px 0 !important;
    padding: 0 !important;
    position: relative;
    min-height: 0 !important;
}
*/

/*==================================================
=            BEGIN theme structural & display edits       =
==================================================*/

.td-post-content {}
.td-post-content .td-pb-row { margin-left: 0 !important; margin-right: 0 !important; }

.td-crumb-container { padding-top: 0 !important; }

.td-post-header ul.td-category { display: none !important; }

.td-post-template-5 {} /* No author post template */

.td_quote_on_blocks
 { display: none !important; }

.hp-industry-news .td-post-author-name,
.hp-location-focus-news .td-post-author-name,
.hp-infinite .td-post-author-name { 
	display: none !important;
}

/*==================================================
=            BEGIN <hr> style       =
==================================================*/
hr { 
  height: 30px; 
  border-style: solid; 
  border-color: #f2f2f2; 
  border-width: 1px 0 0 0; 
  border-radius: 20px; 
} 
hr:before { 
  display: block; 
  content: ""; 
  height: 30px; 
  margin-top: -31px; 
  border-style: solid; 
  border-color: #f2f2f2; 
  border-width: 0 0 1px 0; 
  border-radius: 20px; 
}



hr.style1{
	border-top: 1px solid #8c8b8b;
}


hr.style2 {
	border-top: 3px double #8c8b8b;
}

hr.style3 {
	border-top: 1px dashed #8c8b8b;
}

hr.style4 {
	border-top: 1px dotted #8c8b8b;
}

hr.style5 {
	background-color: #fff;
	border-top: 2px dashed #8c8b8b;
}


hr.style6 {
	background-color: #fff;
	border-top: 2px dotted #8c8b8b;
}

hr.style7 {
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}


hr.style8 {
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}
hr.style8:after {
	content: '';
	display: block;
	margin-top: 2px;
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}

hr.style9 {
	border-top: 1px dashed #8c8b8b;
	border-bottom: 1px dashed #fff;
}

hr.style10 {
	border-top: 1px dotted #8c8b8b;
	border-bottom: 1px dotted #fff;
}


hr.style11 {
	height: 6px;
	background: url(https://businessfacilities.com/english/images/hr-11.png) repeat-x 0 0;
    border: 0;
}


hr.style12 {
	height: 6px;
	background: url(https://businessfacilities.com/english/images/hr-12.png) repeat-x 0 0;
    border: 0;
}

hr.style13 {
	height: 10px;
	border: 0;
	box-shadow: 0 10px 10px -10px #8c8b8b inset;
}


hr.style14 { 
  border: 0; 
  height: 1px; 
  background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0); 
}


hr.style15 {
	border-top: 4px double #8c8b8b;
	text-align: center;
}
hr.style15:after {
	content: '\002665';
	display: inline-block;
	position: relative;
	top: -15px;
	padding: 0 10px;
	background: #f0f0f0;
	color: #8c8b8b;
	font-size: 18px;
}

hr.style16 { 
  border-top: 1px dashed #8c8b8b; 
} 
hr.style16:after { 
  content: '\002702'; 
  display: inline-block; 
  position: relative; 
  top: -12px; 
  left: 40px; 
  padding: 0 3px; 
  background: #f0f0f0; 
  color: #8c8b8b; 
  font-size: 18px; 
}


hr.style17 {
	border-top: 1px solid #8c8b8b;
	text-align: center;
}
hr.style17:after {
	content: '§';
	display: inline-block;
	position: relative;
	top: -14px;
	padding: 0 10px;
	background: #f0f0f0;
	color: #8c8b8b;
	font-size: 18px;
	-webkit-transform: rotate(60deg);
	-moz-transform: rotate(60deg);
	transform: rotate(60deg);
}


hr.style18 { 
  height: 30px; 
  border-style: solid; 
  border-color: #8c8b8b; 
  border-width: 1px 0 0 0; 
  border-radius: 20px; 
} 
hr.style18:before { 
  display: block; 
  content: ""; 
  height: 30px; 
  margin-top: -31px; 
  border-style: solid; 
  border-color: #8c8b8b; 
  border-width: 0 0 1px 0; 
  border-radius: 20px; 
}


/*==================================================
=            BEGIN Ad Unit Styles       =
==================================================*/
	.ad-unit-container { padding-bottom: 22px; margin-bottom: 0 !important; }
/*==================================================
=            BEGIN Bootstrap 3 Media Queries       =
==================================================*/
 
	/*==========  Mobile First Method  ==========*/
	
	/* Custom, iPhone Retina */
	@media only screen and (min-width : 120px) {	
	.td-main-content-wrap.td-main-page-wrap { padding: 5px 0 0 0 !important }
	
	.home .td-pb-row .td-pb-row .td-pb-span6 { width: 100%; padding: 0px !important; }
	
	.tagline { text-align: center; }
	.hidden-xs { display: none; }
	.hidden-sm { display: initial; }
	.hidden-md { display: initial; }
	.hidden-lg { display: initial; }
	
	div.td-pb-span8.td-main-content { border-color: #fff !important; }
	div.td-pb-span4.td-main-sidebar { border-color: #fff !important; }
	}
 
	/* Extra Small Devices, Phones */
	@media only screen and (min-width : 480px) {
	.td-main-content-wrap.td-main-page-wrap { padding: 5px 0 0 0 !important }
	
	.home .td-pb-row .td-pb-row .td-pb-span6 { width: 100%; padding: 0px !important; }
	
	.tagline { text-align: center; }
	.hidden-xs { display: none; }
	.hidden-sm { display: initial; }
	.hidden-md { display: initial; }
	.hidden-lg { display: initial; }
	
	div.td-pb-span8.td-main-content { border-color: #fff !important; }
	div.td-pb-span4.td-main-sidebar { border-color: #fff !important; }	
	}
 
	/* Small Devices, Tablets */
	@media only screen and (min-width : 768px) and (max-width : 1018px) {
	.td-main-content-wrap, .td-category-grid { background-color: #fff !important; }
	div.td-pb-span8.td-main-content { padding-right: 10px !important; padding-left: 10px !important; width: 56% !important; }
	div.td-pb-span4.td-main-sidebar { padding-right: 10px !important; padding-left: 10px !important; width: 44% !important; }
	.home div.w-ad-slot-col2 div.td-pb-span8,
	.wpb_column.vc_column_container.td-pb-span8 { padding-right: 10px !important; padding-left: 10px !important; width: 56% !important; }
	.home div.w-ad-slot-col2 div.td-pb-span4,
	.wpb_column.vc_column_container.td-pb-span4 { padding-right: 5px !important; padding-left: 10px !important; width: 44% !important; }
	.td-pb-row [class*="td-pb-span"] { padding-right: 10px; padding-left: 10px; }
	
	.home .td-pb-row .td-pb-row .td-pb-span6 { width: 50%; padding: 15px !important; }
	
	.home div.w-ad-slot-col3 div.td-pb-span4 { width: 28% !important; }
	.home div.w-ad-slot-col3 div.td-pb-span4.ad-slot  { width: 44% !important; }
	
	.td-main-content-wrap.td-main-page-wrap { padding: 0 !important }
	.tagline { text-align: left; }
	.hidden-xs { display: initial; }
	.hidden-sm { display: none; }
	.hidden-md { display: initial; }
	.hidden-lg { display: initial; }

	.td-menu-background, 
	#td-mobile-nav { display: none !important; }
	
	div.td-pb-span8.td-main-content { border-color: #f2f2f2 !important; }
	div.td-pb-span4.td-main-sidebar { border-color: #f2f2f2 !important; }	
	
	.td-main-menu-logo.td-logo-in-header.td-logo-sticky { display: none; }
	}
 
 
	/* Large Devices, Wide Screens */
	@media only screen and (min-width : 1019px) and (max-width : 1140px) {
	.td-main-content-wrap, .td-category-grid { background-color: #fff !important; }
	div.td-pb-span8.td-main-content { padding-right: 9px !important; padding-left: 9px !important; width: 65% !important; }
	div.td-pb-span4.td-main-sidebar { padding-right: 9px !important; padding-left: 9px !important; width: 35% !important; }
	.td-pb-row [class*="td-pb-span"] { padding-right: 10px; padding-left: 10px; }
	
	.home .td-pb-row .td-pb-row .td-pb-span6 { width: 50%; padding: 25px !important; }
	
	.td-main-content-wrap.td-main-page-wrap { padding: 0 !important }
	.tagline { text-align: left; }
	.hidden-xs { display: initial; }
	.hidden-sm { display: initial; }
	.hidden-md { display: none; }
	.hidden-lg { display: initial; }

	.td-menu-background, 
	#td-mobile-nav { display: none !important; }
	
	div.td-pb-span8.td-main-content { border-color: #f2f2f2 !important; }
	div.td-pb-span4.td-main-sidebar { border-color: #f2f2f2 !important; }	
	
	.td-main-menu-logo.td-logo-in-header.td-logo-sticky { display: none; }
	}

	/* Largest Devices, Widest Screens */
	@media only screen and (min-width : 1141px) and (max-width : 6000px) {
	.td-main-content-wrap, .td-category-grid { background-color: #fff !important; }
/*	div.td-pb-span8.td-main-content { padding-right: 8px !important; padding-left: 8px !important; width: 67% !important; } */
	div.td-pb-span8.td-main-content { padding-right: 5px !important; padding-left: 5px !important; width: 67% !important; }
	div.td-pb-span8.td-main-content .td-pb-span12 { padding-right: 2px !important; padding-left: 2px !important; }
	div.td-pb-span4.td-main-sidebar { padding-right: 10px !important; padding-left: 10px !important; width: 33% !important; }
	.td-pb-row [class*="td-pb-span"] { padding-right: 20px !important; padding-left: 20px !important; }
	.home .td-main-content-wrap.td-main-page-wrap div.td-container:nth-of-type(1) { width: 1110px !important; } /* Still testing for issues */
	.home .td-pb-row .td-pb-row .td-pb-span6 { width: 50%; padding: 25px !important; }
	
	.td-header-style-1 .td-header-sp-logo { margin: 28px 56px 9px 0px; }
	.td-main-content-wrap.td-main-page-wrap { padding: 0 !important }
	.tagline { text-align: left; }
	.hidden-xs { display: initial; }
	.hidden-sm { display: initial; }
	.hidden-md { display: initial; }
	.hidden-lg { display: none; }
	
	.td-menu-background, 
	#td-mobile-nav { display: none !important; }

	div.td-pb-span8.td-main-content { border-color: #f2f2f2 !important; }
	div.td-pb-span4.td-main-sidebar { border-color: #f2f2f2 !important; }	
	
	.td-main-menu-logo.td-logo-in-header.td-logo-sticky { display: none; }
	
	.td-boxed-layout #td-outer-wrap,
	.td-boxed-layout .td-header-menu-wrap.td-affix { width: 1170px !important /* Testing This for 1170x90 ads */ }
	}

/*==================================================
=            END Bootstrap 3 Media Queries         =
==================================================*/
