/*
Theme Name: Themify Ultra Child
Version: 2.0.2
Description: Elect Camacho 2020
Author: Themify
Template: themify-ultra
*/

/* write custom css below */

/* update to better match the purepost.co site, 11 April, 2021, by J. Harris. Notes at bottom. */


/*------- COLORS -------*/
:root {
	--purepost-medic-red: #911732;
	--black: #000;
	--white: #fff;
	--interaction-color: #2364aa;
    --success: #00a676;
    --alert: #ff7f11;
    --error: #d81259;
	--background-grey: #f1f0ec;
    --secondary-background: #023a68;
	--secondary-background-alt: #bebcb5;	

}

/*------- FONTS -------*/
body {
	font-family: 'Roboto Slab', serif;
	color: var(--black);
}

h1, h2, h3, h4, .post-title, .widgettitle, #footer-logo > a, #site-logo {
	font-family: 'Roboto Slab', serif !important;
	letter-spacing: normal;
	color: var(--black);
}

h5, h6, p, a {
	font-family: 'Roboto Slab', serif;
}

a {
	color: var(--interaction-color);
}

a:hover {
    color: var(--secondary-background);
}

.post-title a {
	color: var(--black);
}

.post-title a:hover {
	color: var(--interaction-color);
}

.secondary-txt {
	color: var(--secondary-background-alt);
}

/*------- PAGE LAYOUT -------*/
#layout > #content.clearfix {
	float: none;
	margin-left: auto;
	margin-right: auto;
}

#layout > #content.clearfix h1 {
	text-align: center;
}

.page-content .post-image {
	display: none;
}

/*------- NAV HEADER -------*/
#headerwrap.fixed-header {
	box-shadow: 0px 2px 12px 2px rgba(0,0,0,0.19), 0px 1px 4px 0px rgba(0,0,0,0.09);
	background-color: var(--white) !important;
}

.transparent-header #headerwrap.fixed-header a, .transparent-header #headerwrap a, #headerwrap, #main-nav a {
	color: var(--black);
}

.transparent-header #headerwrap.fixed-header #main-nav li a:hover, .transparent-header #headerwrap.fixed-header #main-nav .mega-menu-posts li a:hover, .transparent-header #headerwrap.fixed-header #main-nav li.current_page_item a, .transparent-header #headerwrap.fixed-header #main-nav li.current-menu-item a, .transparent-header #main-nav li a:hover, .transparent-header #main-nav .mega-menu-posts li a:hover, .transparent-header #main-nav li.current_page_item a, .transparent-header #main-nav li.current-menu-item a, #main-nav a:hover, #main-nav .current_page_item > a {
	color: var(--interaction-color);
}

/*------- PAGE TITLE -------*/
#site-title {
	text-align: center;
}

#site-title h1 {
	font-size: 5rem;
	margin-bottom: 1rem;
}

h2#site-subtitle {
    border-top: 2px solid var(--interaction-color);
	display: inline-block;
	padding: 1rem 3rem 0;
}

@media screen and (max-width:680px) {
	#site-title h1 {
		font-size: 3rem;
	}
	h2#site-subtitle {
		font-size: 2rem;
	}
}

/*------- BUTTONS -------*/
.pkc-button .module-buttons .module-buttons-item > a.ui.builder_button, #submit {
	transition: all .3s ease-out;
	border-radius: 8px;
	background-image: none;
	box-sizing: border-box;
	line-height: 1.4em;
}

.pkc-button .module-buttons .module-buttons-item > a.ui.builder_button:hover, #submit:hover {
	transform: translateY(-5px);	
}

@media screen and (min-width:680px) {
	.cta-buttons {
		padding-left: 10rem;
		padding-right: 10rem;
	}
}

.ui.builder_button {
	background: var(--white) !important;
	color: var(--interaction-color) !important;
	border: 2px solid var(--interaction-color) !important;
	box-shadow: none !important;
	transition: all .3s ease-out;
	border-radius: 8px;
	background-image: none;
	box-sizing: border-box;
	line-height: 1.4em;
}
.ui.builder_button:hover {
	background: var(--interaction-color) !important;
	color: var(--white) !important;
}

.ui.builder_button.disabled-btn {
	pointer-events: none;
	color: var(--secondary-background-alt) !important;
}

.ui.builder_button.disabled-btn:hover {
	pointer-events: none;
	color: var(--secondary-background-alt) !important;
	transition: none;
}

/*------- LINKS -------*/
.highlight-link a {
	color: var(--interaction-color) !important;
}
.highlight-link > a:hover {
	background-color: var(--interaction-color) !important;
	color: #ffffff !important;
}

/*------- FORMS -------*/

.wpforms-field-medium.wpforms-limit-characters-enabled {
	max-width: 60%;
}

#zendesk_field_zen_submit input{
	background: var(--white) !important;
	color: var(--interaction-color) !important;
	border: 2px solid var(--interaction-color) !important;
	box-shadow: none !important;
	transition: all .3s ease-out;
	border-radius: 8px;
	background-image: none;
	box-sizing: border-box;
	line-height: 1.4em;
}

#zendesk_field_zen_submit input:hover {
	background: var(--interaction-color) !important;
	color: var(--white) !important;
	transform: translateY(-5px);
}

/*------- TABS -------*/
.ui .tab-content {
	overflow: visible;
}

/*------- "ROBERT THE BRUCE" BANNER -------*/

#robert_the_bruce {
	width: 100%;
	background-color: var(--alert);
	padding: 0.5em 2em 0em;
	font-family: 'Roboto Slab', serif !important;
    font-size: 13px;
	display: flex;
    justify-content: center;
}

#robert_the_bruce > * , #robert_the_bruce a {
	color: var(--white);
}

#robert_the_bruce .themify_event_post_loop .themify_event_post {
	margin: 0 0 4em;
}

#robert_the_bruce .callout-content {
	width: 100%;
	float: none;
}

#robert_the_bruce .themify_event_post_loop .tep_post_content {
	display: flex;
	padding: 0;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: baseline;
}

#robert_the_bruce .tep_date:before, #robert_the_bruce .tep_location:before {
	color: var(--white);
}

/* Event title */

.tep_post_title {
	margin: 0 2em 0.75em 0;
}

.tep_post_title.entry-title {
	font-size: 1.25em;
	font-weight: semi-bold;
}

.tep_event_info {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: baseline;
	font-size: 1.125em;
}

.tep_post_content > * {
	margin-right: 1em !important;
}

.tep_post_content > *:last-child {
	margin-right: 0 !important;
}

.tep_event_info > * {
	margin-right: 2em !important;
}

.tep_event_info > *:last-child {
	margin-right: 0 !important;
}

/* Get Ticket or Register button */
#robert_the_bruce .tep_ticket:before {
	transition: color .3s ease-in-out;	
}

#robert_the_bruce .tep_ticket, #robert_the_bruce .tep_ticket a, #robert_the_bruce .tep_ticket:before {
	color: var(--black) !important;
}


#robert_the_bruce .tep_ticket:hover > *, #robert_the_bruce .tep_ticket:hover:before {
	color: var(--white) !important;
}

#robert_the_bruce .tep_ticket:before {
	margin-left: 1em;	
}

#robert_the_bruce .tep_ticket {
	background: none;
	border: 1px solid var(--black);
	border-radius: 5px;
	padding: 0.5em 1.25em 0.4em 3em;
	font-weight: 700;	
}

#robert_the_bruce .tep_ticket:hover {
	background-color: var(--black);
}

#robert_the_bruce .themify_event_post_loop .themify_event_post, #robert_the_bruce .post, #robert_the_bruce .tep_event_info {
	margin-bottom: 0;
}

#robert_the_bruce .callout-content .callout-heading {
	display: none;
}

#robert_the_bruce .callout-inner .callout-button {
	display: none;
}

/*------- MAIN CAROUSEL (Slider Pro) -------*/

/*------- Timer bar -------*/

.module-pro-slider .slider-pro .bsp-timer-bar {
	background-color: var(--purepost-medic-red);
	height: 4px;
}

/*------- Text -------*/

.sp-slide-text h3, .sp-slide-text p {
	text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.7);
}

.sp-slide-text p {
	font-weight: bold;
}

/*------- Button -------*/

.module-pro-slider .sp-layer.bsp-slide-button {
	transition: all .3s ease-out;
	border-radius: 6px;
	background: var(--white) !important;
	box-sizing: border-box;
	box-shadow: none;
	line-height: 1.4em;
	color: var(--interaction-color) !important;
	border: 2px solid var(--interaction-color);
	font-weight: bold;
}

.module-pro-slider .sp-layer.bsp-slide-button:hover {
	transform: translateY(-5px) !important;
	background-color: var(--interaction-color) !important;
	color: var(--white) !important;
}

/*------- CALLOUT BLURB -------*/
h2.blurb {
	margin-bottom: 1.25em;
	color: var(--black);
}

p.blurb {
	font-size: 1.125rem;
	line-height: 1.5em
}

@media screen and (min-width:680px) {
	p.blurb {
		font-size: 1.3rem;
		padding-left: 10rem;
		padding-right: 10rem;
	}
}

/*------- SECTIONS -------*/
.pkc-section {
    background-color: var(--background-grey);
    padding-top: 4em;
    padding-bottom: 4em;
}

#blurb-and-cta {
	background-color: var(--background-grey);
}

#webinars {
	background-color: var(--secondary-background);
}

#webinars h2 {
	color: var(--white);
}

#webinars .tep_event_info {
	color: var(--white);
}

#webinars span::before, #webinars time::before {
	color: var(--white);
}

#webinars .themify_event_post {
	background-color: var(--interaction-color);
}

/*------- VIDEO CARDS -------*/

.video-wrap, .post-video {
	border-radius: 10px;
	box-shadow: 0 1px 5px 0 rgba(18,25,33,0.1);
	transition: .8s cubic-bezier(.2,1,.2,1);
	overflow: hidden;
}

.video-wrap:hover, .post-video:hover {
	box-shadow: 0 10px 50px 0 rgba(18,25,33,0.1);
	transform: perspective(400px) scale(1.02);	
}

.post-video {
	margin-bottom: 0;
}

/*------- ICON COLORS -------*/
.tep_date:before, .tep_location:before, .tep_ticket:before {
	color: var(--interaction-color);
}

/*------- RESOURCES (PORTFOLIO) -------*/

.loops-wrapper.polaroid > article {
	padding: 1em;
	border-radius: 6px;
	box-shadow: 0 1px 5px 0 rgba(18,25,33,0.1);
	overflow: hidden;
}

.loops-wrapper.polaroid .post-image+.post-content {
	top: 100%;
	border-radius: 6px;
}

article.portfolio-category-webinar_videos .post-category, article.portfolio-category-webinar_materials .post-category {
	display: none;
}

.featured-area.fullcover .post-category {
	display: none;
}

/*------- FOOTER -------*/
#footerwrap {
	background-color: var(--background-grey);
}

#footer-logo > a {
	color: var(--black);
}

/*------- BACK TO TOP -------*/
#pagewrap .back-top-float {
	background: var(--purepost-medic-red) !important;
	box-shadow: none !important;
	transition-property: none !important;
}

/*------- MODULE HANDOUT TABLE -------*/
.eeSFL table.eeFiles {
	border: none;
}

.eeSFL .eeFiles td {
	border-bottom: 1px solid var(--secondary-background-alt);
}

.eeSFL table.eeFiles tr:last-child td {
	border-bottom: none;
}

.eeSFL .eeFiles td a {
	color: var(--interaction-color);
}

.eeSFL .eeFiles td a:hover {
    color: var(--secondary-background);
}

/* 14 January update by M. Adamson, changed fonts to Roboto Slab */
/* 11 April update by J. Harris. Updated color vars and references to match new style guide. */