/*
 Theme Name:   Pyschological Safety Microsite
 Description:  Custom theme for Workplace Options.
 Author:       markbranly
 Template:     bricks
 Version:      1.4.0
 Text Domain:  psych-safety
*/

html body .gform_wrapper.gform_wrapper.gform-theme.gform-theme--orbital {
	--gf-color-primary: var(--wpo-color-red-1) !important;
	--gf-color-primary-darker: #000 !important;
	--gf-ctrl-border-color: #9ca0a8 !important;
	--gf-local-shadow: none !important;
	--gf-ctrl-padding-y: 8px !important;
	--gf-ctrl-font-size: 1.2rem !important;
    --gf-ctrl-btn-radius: 100px !important;
	--gf-ctrl-btn-font-size: 1.8rem !important;
	--gf-ctrl-btn-padding-x: 24px !important;
	--gf-ctrl-btn-padding-y: 12px !important;
}

html body .gform_wrapper .gfield_select {
	line-height: 1.5 !important;
}

:where(p) {
	margin: 0 0 1.5em;
}

#breadcrumbs a:hover {
	text-decoration: underline;
}

.pdl-template {
	margin-top: 0;
}

.pdl-template .archive-description {
	font-size: 1em;
}

.pdl-template .page-header {
	background: #002c5b;

	.page-header__backdrop {
		mix-blend-mode: luminosity;
		opacity: 0.25;
	}

	.pdl-meta-group {
		align-items: flex-end;	
		background: #002c5bcc;
		grid-template-columns: auto auto auto;
		justify-content: flex-start;
		width: auto;
	}
	
	.program-subnav {
		.program-subnav__menu {
			background: #002c5bcc;
		}
	
		a {
			border-radius: 0;
		}
	}
}

.pdl-template .num-results {
	padding: var(--pdl-spacing);
}

.archive .pdl-template article {
	border: solid 1px #ddd !important;
	box-shadow: none;
	margin: 0 0 var(--pdl-spacing-2x) !important;
}

.programs-list .program-info {
	padding: var(--pdl-spacing) 0;
}

.single-pdl_program {
	.pdl-meta-group__item .label {
		display: inline;
	}

	.program-related-programs {
		margin: var(--pdl-spacing-4x) 0;
		
		li {
			margin-bottom: var(--pdl-spacing);
		}

		a {
			text-decoration: none;

			&:hover {
				text-decoration: underline;
			}
		}
	}
}

.curriculum-section__title {
	border-bottom: solid 1px #9ca0a8;
	padding: 0 0 0.25em;
}

.courses-table {
	border-collapse: collapse;
	border: solid 1px #bcd3dd77;
	border-radius: 5px;

	thead {
		background: #bcd3dd77;
	}

	th,
	td {
		padding: 10px;
		border-bottom: solid 1px #bcd3dd77;
	}
}

.single-pdl_program .related-resource-list .related-post {
	--spacing: var(--pdl-spacing-4x);

	&:last-of-type {
		--spacing: 0;

		border-bottom: none;
	}

	.related-post__header {
		flex-direction: column;
	}

	.related-post__title a {
		text-decoration: none;

		&:hover {
			text-decoration: underline;
		}
	}

	.related-post__content {
		font-size: 1.6rem;
		margin-top: var(--pdl-spacing);
	}
}

.pdl-template .course-list .pdl_course {

	.meta-label {
		font-weight: bold;
	}
}

.single-pdl_course {
	.course-meta {
		flex-direction: column;

		.meta-label {
			display: block;
			font-weight: bold;
		}
	}
}


.course-contact-section {
	width: 100%;
}

.course-list .pdl_course .course-actions .button {
	font-size: 1.6rem;
}

.wpo-event-registration {
	margin-bottom: var(--pdl-spacing-4x);
}
