/*
 Theme Name: 	Dixon Child Theme
 Theme URI: 	http://dixon.themerex.net/
 Description: 	Dixon Child Theme
 Author: 		ThemeREX
 Author URI: 	http://themerex.net/
 Template: 		dixon
 Version: 		1.0
 License:      	GNU General Public License v2 or later
 License URI:  	http://www.gnu.org/licenses/gpl-2.0.html 
 Tags: 			flexible-header, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain: 	dixon-child
*/

/* Footer contacts: ThemeREX Addons 2.48 styles this widget only as .widget_contacts_simple, but the footer
   shortcode still renders it as .widget_contacts. Line height copied from the old trx_addons.css. */
.widget_contacts .contacts_info {
	line-height: 2.2em;
}
.wpb_column:not(.vc_col-sm-12) .widget_contacts .contacts_info {
	line-height: inherit;
}

/* WPBakery separator: WordPress gives elements with an inline border-color a solid border on every side,
   which turned the 1px line into a 3px frame. Keep only the top border, as before. */
.vc_separator:not(.vc_sep_double) .vc_sep_holder .vc_sep_line {
	border-right-width: 0;
	border-bottom-width: 0;
	border-left-width: 0;
}

/* Sidebar: Dixon 1.4 draws the bottom border only under the last widget, which leaves the boxes open on phones,
   where the widgets have gaps between them. Border under every widget, as in Dixon 1.1. */
.sidebar .sidebar_inner > .widget {
	border-bottom-width: 1px;
	border-bottom-style: solid;
}

/* WPBakery 8 wraps the page content in .wpb-content-wrapper, so the theme's rule that pulls up the first headings
   of the first row (".post_content > .vc_row:first-child h4:first-child", margin-top: -0.25em) no longer matches,
   e.g. the names on the partners page. The same rule with the wrapper. */
.post_item_single .post_content > .wpb-content-wrapper > .vc_row:first-child h1:first-child,
.post_item_single .post_content > .wpb-content-wrapper > .vc_row:first-child h2:first-child,
.post_item_single .post_content > .wpb-content-wrapper > .vc_row:first-child h3:first-child,
.post_item_single .post_content > .wpb-content-wrapper > .vc_row:first-child h4:first-child,
.post_item_single .post_content > .wpb-content-wrapper > .vc_row:first-child h5:first-child,
.post_item_single .post_content > .wpb-content-wrapper > .vc_row:first-child h6:first-child {
	margin-top: -0.25em;
}

/* Post tags: Dixon 1.4 doubled the space above the tags and added space below them. Spacing as in Dixon 1.1. */
.post_item_single .post_content > .post_meta_single {
	margin-top: 1em;
	margin-bottom: 0;
}

/* Team page: Dixon 1.4 centres the photos on the team archive. Keep them at the left edge, as in Dixon 1.1.
   "body" outweighs the theme's selector, because __styles.css loads after this file. */
body.post-type-archive-cpt_team .sc_team_item .post_featured {
	display: inline-block;
	text-align: inherit;
}

