/*
Theme Name: Divi Child Theme
Theme URI: https://divireadythemes.com/
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/

/* Header */
.covenant-header-desktop {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.covenant-header-desktop.et_pb_sticky_placeholder {
	pointer-events: none;
}

.covenant-header-logo {
	max-width: 253px;
	transition: all 300ms ease;
}

.et_pb_sticky--top .covenant-header-logo {
	max-width: 150px;
}

/* Footer */
.covenant-footer-logo {
	max-width: 250px;
}

/* Leaflet map */
.leaflet-container.leaflet-touch .leaflet-bar {
	border-width: 0;
}

.leaflet-container.leaflet-touch .leaflet-bar a {
	background-color: rgba(55, 58, 54, 0.85);
	border: 0;
	color: white;
	line-height: 1.75rem;
}
.leaflet-container.leaflet-touch .leaflet-bar a:first-child,
.leaflet-container.leaflet-touch .leaflet-bar a:last-child {
	border-radius: 0;
}
.leaflet-container.leaflet-touch .leaflet-bar a.leaflet-disabled {
	color: rgba(255, 255, 255, 0.5);
}
.leaflet-container.leaflet-touch .leaflet-bar a + a {
	margin-top: 1px;
}

.leaflet-container.leaflet-touch .leaflet-tooltip-pane {
	font-size: 1rem;
}

/* Divi Builder */
.et-db #et-boc .et-l .et-fb-modal .et-fb-modal__support-notice {
	display: none;
}

/* Divi Blog module */
.et_pb_blog_grid .et_pb_image_container {
	height: 0;
	overflow: hidden;
	padding-top: 100%;
	position: relative;
}

.et_pb_blog_grid .et_pb_post .entry-featured-image-url {
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.et_pb_blog_grid .et_pb_image_container img {
	min-height: 100%;
	min-width: 100%;
	object-fit: cover;
}

/* CW Campus Map module */
.cw-campus-map {
	overflow: hidden;
	position: relative;
}

div.cw-campus-map-main {
	background-color: #314333;
	height: 700px;
}

.cw-campus-map-instruction {
	color: white;
	font-size: 13px;
	font-weight: 700;
	left: 0;
	line-height: 1.5;
	padding: 1em 50px;
	pointer-events: none;
	position: absolute;
	text-align: center;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	top: 0;
	width: 100%;
	z-index: 1010;
}

.cw-campus-map .leaflet-marker-icon:hover {
	z-index: 10000 !important;
}

/* - Map cards */
.cw-campus-map-cards {
	height: 100%;
	left: 100%;
	max-width: 100%;
	position: absolute;
	top: 0;
	width: 400px;
	z-index: 1020;
}

.cw-campus-map-card {
	background-color: white;
	height: calc(100% - 20px);
	left: 10px;
	max-width: calc(100% - 20px);
	overflow-y: auto;
	position: absolute;
	top: 10px;
	transform: translate3d(0, 0, 0);
	transition: transform 300ms ease;
	width: 380px;
	z-index: 10;
}
.cw-campus-map-card-active {
	box-shadow: 3px 0 35px 0 rgba(0, 0, 0, 0.5);
	transform: translate3d(calc(-100% - 20px), 0, 0);
	z-index: 20;
}

.cw-campus-map-card-close {
	align-items: center;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	cursor: pointer;
	display: flex;
	height: 24px;
	justify-content: center;
	position: absolute;
	right: 10px;
	top: 10px;
	transition: background-color 300ms ease;
	width: 24px;
}
.cw-campus-map-card-close:hover {
	background-color: #dadd56;
}

.cw-campus-map-card-content {
	padding: 15px 30px 30px;
}

.cw-campus-map-card-title {
	color: #014175;
	font-weight: bold;
}

.cw-campus-map-card-description {
	font-size: 15px;
}

/* Paycor Jobs */
.cw-paycor-jobs {
	font-size: 16px;
	line-height: 1.3;
	margin: 0 auto;
	max-width: 1016px;
}

.cw-pj-message-error {
	color: orangered;
	font-style: italic;
	text-align: center;
}

/* - List */
.cw-pj-section + .cw-pj-section {
	margin-top: 30px;
}

.cw-pj-section-title {
	font-size: 20px;
	font-weight: bold;
	padding: 0;
}

.cw-pj-section-body {
	margin-top: 11px;
}

.cw-pj-job {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
	justify-content: space-between;
}
.cw-pj-job + .cw-pj-job {
	margin-top: 7px;
}

.cw-pj-job-title a {
	color: #00467E;
	text-decoration: none;
}
.cw-pj-job-title a:hover {
	text-decoration: underline;
}

/* - Apply */
.cw-pj-apply-head {
	text-align: center;
}

.cw-pj-apply-title {
	line-height: 1.3;
	margin-top: 5px;
}

/* - Iframe embed */
#gnewtonIframe {
	display: block;
	margin: 0 auto;
	max-width: 1016px;
}

/* - Responsive */
@media only screen and (max-width: 767px) {
	.cw-pj-job {
		flex-direction: column;
	}
	.cw-pj-job + .cw-pj-job {
		margin-top: 10px;
	}
}