/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

/* HIDE ELEMS */

.p-meta span:first-child, .gallery-size-thumbnail > .gallery-item > .wp-caption-text {
	display: none;
}

/* BLANK PAGE HEADINGS */

 .h-custom-headline.accent span:before,
 .h-custom-headline.accent span:after {
	border-color: rgba(0,0,0,.1);
}

/* BACKGROUND IMAGES */

body:not(.cst-opaque-img) .backstretch {
	opacity: .05;
	filter: grayscale(1);
	-webkit-filter: grayscale(1);
	-webkit-filter: blur(2px) grayscale(1);
	-moz-filter: blur(2px) grayscale(1);
	-o-filter: blur(2px) grayscale(1);
	-ms-filter: blur(2px) gray;
	filter: blur(2px) gray;
	filter: blur(2px) grayscale(100%);
}
.wpcf7-not-valid-tip {
	color: #ff2a13;
}

/* FORM VALIDATION */

input.wpcf7-not-valid {
	border-color: #ff2a13;
}

/* HEADER & FOOTER */

body:not(.post-type-archive-tribe_events, .single-tribe_events) .x-navbar .desktop .x-nav > .current_page_parent > a,
.x-navbar .desktop .x-nav > .current_page_ancestor > a, .single-tribe_events .x-navbar .desktop .x-nav > .menu-item-2495 > a {
	color: #272727;
	box-shadow: inset 0 4px 0 0 #272727;
}
.x-breadcrumb-wrap a:hover {
	color: #272727 !important;
}

footer.x-colophon.bottom {
	text-shadow: none;
	background: rgba(0,0,0,.75);
	border: none;
	box-shadow: none;
}
footer.x-colophon.bottom a {
	color: #b7b7b7;
}
footer.x-colophon.bottom a:hover {
	color: #f2f2f2;
}
.ilightbox-overlay.light {
	background-color: #000;
}

/* FIRST HEADING FIX */

.entry-content > .x-section:first-child > .x-container:first-child > .x-column:first-child > h1:first-child,
.entry-content > .x-section:first-child > .x-container:first-child > .x-column:first-child > h2:first-child,
.entry-content > .x-section:first-child > .x-container:first-child > .x-column:first-child > h3:first-child,
.entry-content > .x-section:first-child > .x-container:first-child > .x-column:first-child > h4:first-child,
.entry-content > .x-section:first-child > .x-container:first-child > .x-column:first-child > h5:first-child,
.entry-content > .x-section:first-child > .x-container:first-child > .x-column:first-child > h6:first-child {
	margin-top: 0;
}

/* CUSTOM CLASSES */

.cst-no-bc .x-breadcrumb-wrap, .x-blog-standard-active .x-breadcrumb-wrap, .cst-no-featured-header .entry-featured {
	display: none;
}
.cst-no-featured-header .has-post-thumbnail .entry-wrap {
	border-radius: 4px;
}
.cst-white-links a {
	color: #fff;
	opacity: .8;
	transition: opacity .3s ease;
}
.cst-white-links a:hover {
	opacity: 1;
}

/* PLUGINS */

/* The Events Calendar */

#tribe-events-pg-template {
	width: 88%;
	max-width: 1200px;
	padding: 0;
}
.post-type-archive-tribe_events .x-breadcrumb-wrap, .single-tribe_events .x-breadcrumb-wrap {
	display: none;
}
h1.tribe-events-single-event-title {
	font-size: 32px;
}
.tribe-events-schedule h2 {
	display: inline;
	margin: 0;
	font-size: 1.2em;
	line-height: 1em;
	color: rgb(127,127,127);
}
.tribe-events-notices {
	clear: both;
}
p.tribe-events-back {
	float: right;
	margin-top: 2.5em;
}
.single-tribe_events .tribe-events-schedule .tribe-events-cost {
	vertical-align: initial;
}
div#tribe-events-content.tribe-events-list:after {
	display: block;
	content:'';
	clear: both;
}
.events-list .tribe-events-loop, .single-tribe_organizer .tribe-events-loop, .single-tribe_venue .tribe-events-loop, .tribe-events-day .tribe-events-loop {
	max-width: 100%;
}
.tribe-events-list-separator-month {
	display: inline-block;
	width: 100%;
	padding: 0;
}
.tribe-events-list-separator-month:after {
	display: none;
}
.tribe-events-list-separator-month span {
	display: inline-block;
	position: relative;
	padding: 0;
	background: none;
}
/*
.tribe-events-list-separator-month:before, .tribe-events-list-separator-month:after,
.tribe-events-list-separator-month span:before, .tribe-events-list-separator-month span:after {
	content: "";
	position: absolute;
	top: 50%;
	height: 1px;
	display: block;
	background-color: #e5e5e5;
	border: none;
}
.tribe-events-list-separator-month:before {
	right: 0;
	width: 30%;
}
.tribe-events-list-separator-month:after {
	left: 0;
	width: 30%;
}
.tribe-events-list-separator-month span:before {
	right: 100%;
	width: 200%;
	margin-right: .5em;
}
.tribe-events-list-separator-month span:after {
	left: 100%;
	width: 200%;
	margin-left: .5em;
}
*/
/* fix tabs after events plugin */
.x-nav-tabs>li {
	margin-bottom: 0 !important;
	list-style: none !important;
}
.x-tab-content li {
	margin-bottom: 0 !important;
}