/*!
Theme Name: CIQ
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: CIQ
Author URI: https://ciq.co/
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: ciq
*/

/* Theme customization starts here
-------------------------------------------------------------- */

.single-post .navigation.post-navigation {
  display: none;
}

.buttonPadding {
  padding-right: 15px;
}

.resource-ctas .wp-block-kadence-infobox {
  display: flex;
  height: 100%;
}

.resource-ctas .kt-infobox-textcontent {
  text-align: left;
  display: flex !important;
  flex-direction: column;
  height: calc(100% - 16px);
}

.resource-ctas .kt-infobox-textcontent .kt-blocks-info-box-title {
  text-align: center;
}

.resource-ctas .kt-blocks-info-box-learnmore-wrap {
  display: block;
  margin-top: auto;
}

.track-link.current {
  border-bottom: 4px solid #229529 !important;
}

.gray-with-hover-color {
  filter: saturate(0);
  opacity: 0.6;
  transition: all 0.25s linear;
}

.gray-with-hover-color:hover {
  filter: saturate(1);
  opacity: 1;
  transition: all 0.25s linear;
}

@media screen and (max-width: 719px){
	.title-mobile-align-center {
	  text-align: left !important;
	}
}

svg {
	max-width: 100%;
	max-height: 100%;
}

/* MEGA MENU */
#primary-menu ul.sub-menu {
	border-radius: 8px !important;
}

.menu-item-type-custom p {
  line-height: 1.3;
}

/* END MEGA MENU */

/* teletype migration banner */

#migrate-banner-title {
	text-align:center;
	background:#343434;
	color: #fff;
	text-shadow: 1px 1px 1px #111;
	font-family:sans-serif;
	font-size:16px;
	line-height:24px;
	border-radius:6px 6px 0 0;
}

#migrate-banner-wrapper {
	font-size: 15px;
	line-height:1.5rem;
	background: #000;
	color: #fff;
	font-family: "Lucida Console", "Courier New", monospace;
	height:17rem;
	overflow-y:scroll;
	border-radius:0 0 6px 6px;
}

@media(min-width:640px){
	#migrate-banner-wrapper {
		height:14rem;
	}
}

#migrate-banner-wrapper::-webkit-scrollbar {
  width: 8px;
  border-radius: 0 0 6px 0;
}
 
#migrate-banner-wrapper::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
}
 
#migrate-banner-wrapper::-webkit-scrollbar-thumb {
  background-color: #229529;
  outline: 0px solid transparent;
	border-radius:3px;
}

.green {
	color:#229529;
}

#migrate-banner {
	padding: 1rem 1rem 1rem 2rem;
	margin-left: 1rem;
}
span.prefix {
	display:inline-block;
	color:#229529;
	margin-left:-1rem;
}

/* end teletype migration banner */

/*  resource cta boxes padding  */
@media (max-width: 480px) {
	.resource-ctas >.kt-row-layout-inner >.kt-row-column-wrap {
		padding-left:0 !important;
		padding-right:0 !important;
	}
}



/* kadence post blocks bottom align cta */

.bottom-align-footer .kt-blocks-post-grid-item-inner-wrap {
	display:flex;
	flex-direction:column;
	height: 100%;
}

.bottom-align-footer .kt-blocks-post-grid-item-inner {
	flex-basis: 100%;
	display:flex;
	flex-direction:column;
}

.bottom-align-footer .kt-blocks-post-grid-item-inner .kt-blocks-post-footer{
	margin-top: auto;
	margin-bottom: 0;
}

.bottom-align-content .kt-blocks-post-grid-item-inner-wrap {
	display:flex;
	flex-direction:column;
	height: 100%;
}


.bottom-align-content .kt-blocks-post-grid-item-inner {
	flex-basis: 100%;
	display:flex;
	flex-direction:column;
}

.bottom-align-content .kt-blocks-post-grid-item-inner .entry-content{
	margin-top: auto;
	margin-bottom: 0;
}


/* end kadence post blocks bottom align cta */

/* Blog & Posts General */

.post-archive article,
.resource-archive article,
.post-type-archive-webinar article{
	display:flex;
	flex-direction:column;
	height: 100%;
}

.post-archive article .entry-content-wrap,
.resource-archive article .entry-content-wrap,
.post-type-archive-webinar .entry-content-wrap {
	flex-basis: 100%;
	display:flex;
	flex-direction:column;
}

.post-archive article .entry-content-wrap .entry-footer,
.resource-archive article .entry-content-wrap .entry-footer,
.post-type-archive-webinar .entry-content-wrap .entry-footer{
	margin-top: auto;
	margin-bottom: 0;
}

/* External Links icon placement in buttons */

.external-link-span {
	display:flex;
	white-space:nowrap;
	place-content: center;
	align-items: center;
}

/* Custom post type resource archives */

.blog .content-area,
.post-type-archive .content-area {
	margin-top: 0;
}

.page-id-1547 .content-area,
.page-id-1452 .content-area,
.page-id-1467 .content-area
{
	margin-top: 1em;
}

.page-id-1547 .primary-sidebar,
.page-id-1467 .primary-sidebar{
	margin-top: 3rem;
}


.blog .entry-hero-container-inner .entry-header,
.resource-template-default .entry-hero .title-align-left
{
	justify-content: flex-start;
}

.blog .entry-header {
	margin-bottom: 0;
}

.post-archive .entry .entry-summary,
.loop-entry .entry-summary p,
.post-type-archive .entry-summary{
	margin-top: 0 !important;
	padding-top: 0;
}

.post-archive .entry,
.post-type-archive .entry{
	overflow:hidden;
}

.kt-blocks-post-grid-item {
	background-color: #fff;
}

.postid-1039 #wrapper,
.page-id-1547 #wrapper,
.page-id-1452  #wrapper,
.page-id-1467  #wrapper{
	background-color: #F2F2F2;
}

/* End Custom post type resource archives */


/* Events List on Home */

@media screen and (min-width: 768px){
	.grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
		align-items: center;
	}
}

/* Global Kadence Buttons rules for mobile  */

@media screen and (max-width: 480px){
	.buttonPadding {
		padding-right: 0;
	}
	.wp-block-kadence-advancedbtn .kt-btn-wrap {
		margin-right: auto !important;
		margin-left: auto !important;
		display: block;
		max-width: 90%;
		text-align:center;
	}
	.wp-block-kadence-advancedbtn .kt-btn-wrap a {
		display:block;
		margin-right: auto !important;
		margin-left: auto !important;
		font-size: 1em;
		line-height: 1.2em;
	}
}


/* Youtube lazy load embed */

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ytWrapper {
  position: relative;
  padding-top: 56.25%;
  height: 0;
}

.ytWrapper iframe {
  position: absolute;
  inset: 0;
}

.youtube {
	background-color: #000;
	position: absolute;
	inset:0;
	overflow: hidden;
	cursor: pointer;
	border-radius:6px;
}
.youtube img {
	position: absolute;
	top:50%;
	transform:translateY(-50%);
	opacity: 0.9;
	transition:opacity 0.25s linear;
}

.youtube:hover img {
	opacity: 1;
	transition:opacity 0.25s linear;
}

.youtube .play-button {
	width: 90px;
	height: 60px;
	background-color: #333;
	box-shadow: 0 0 30px rgba( 0,0,0,0.6 );
	z-index: 1;
	opacity: 0.8;
	border-radius: 6px;
}
.youtube .play-button:before {
	content: "";
	border-style: solid;
	border-width: 15px 0 15px 26.0px;
	border-color: transparent transparent transparent #fff;
}
.youtube img,
.youtube .play-button {
	cursor: pointer;
}
.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
	position: absolute;
}
.youtube .play-button,
.youtube .play-button:before {
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
.youtube iframe {
	top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}