/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: stateofsocial
*/

/* =SOS theme-specific
-------------------------------------------------------------- */

@media (min-width:768px) {

	.speechbubble,
	.triangle,
	.triangle-right {
		position: relative;
	}

	.speechbubble::after {
		content: "";
		display: block;
		width: 100%;
		height: 63px;
		position: absolute; 
		bottom: 0;
		z-index: 99;
		background-image: url('images/speechbubble.svg');
		background-size: 4000px 63px;
		background-position: 40% 0;
	}

	.triangle::after,
	.triangle-right::after {
		content: "";
		display: block;
		width: 90px;
		height: 63px;
		background-image: url("images/triangle.svg");
		background-size: 90px 63px;
		background-repeat: no-repeat;
		position: absolute;
		left: 10vw;
		bottom: -63px;
	}

	.triangle-right::after {
		left: 80vw;
	}
	
}

@media (min-width:1100px) {

	.speechbubble::after {
		background-position: 33% 0;
	}

}

@media (min-width:1500px) {

	.speechbubble::after {
		background-position: 27% 0;
	}

}

.wp-block-group.line-heading {
	margin-bottom: 0 !important;
	width: 100%;
}

.wp-block-group.line-heading .wp-block-group__inner-container::before,
.line-heading .inner-column-1 > .kt-inside-inner-col::before {
	content: "";
	border-top: 2px solid var(--global-palette6);
	display: block;
	opacity: 0.5;
}

.line-heading .wp-block-kadence-rowlayout .kt-inside-inner-col::before {
	display: none;
}

.wp-block-group.line-heading,
.line-heading .wp-block-kadence-advancedheading {
	display: inline-block;
	left: 50%;
	transform: translate( -50%, -50%);
	position: relative;
}

/* =Kadence theme customizations
-------------------------------------------------------------- */

.wp-block-kadence-postgrid.speakers-grid .kt-blocks-post-grid-item {
	position: relative;
}

.wp-block-kadence-postgrid.speakers-grid .kt-blocks-post-grid-item-inner {
	position: absolute;
	top: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-color: var(--global-palette-highlight);
	opacity: 0;
	transition: all 0.1s ease-in;
}

.wp-block-kadence-postgrid.speakers-grid article:hover .kt-blocks-post-grid-item-inner {
	opacity: 1;
}

.wp-block-kadence-postgrid.speakers-grid header,
.wp-block-kadence-postgrid.speakers-grid .entry-content,
.wp-block-kadence-postgrid.speakers-grid footer {
	width: 100%;
}

.wp-block-kadence-postgrid.speakers-grid .entry-content {
	position: absolute;
	bottom: 26px;
	left: 0;
}


/* =Kadence theme overrides
-------------------------------------------------------------- */

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
	border-radius: 0;
}

