/*
 Theme Name:        Uptown Nexus Theme
 Text Domain:       uptown-child-nexus
 Author:            April Auger
 Author URI:        https://aprilauger.com
 Description:       Nexus is a child theme designed to be used alongside the Uptown theme.
 Template:          uptown
 Version:           1.0.0
 Requires at least: 6.4
 Tested up to:      6.4
 Requires PHP:      8.0
 License:           GNU General Public License v2 or later
 License URI:       http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Subtitle */
.subtitle {
	color: #5c5c5c;
	font-family: var(--xui-font-base);
	font-size: var(--xui-font-size-xs);
	font-weight: var(--xui-font-weight-semibold);
	letter-spacing: 0.08rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.subtitle.has-text-align-center::after {
	background: var(--xui-primary);
	content: '';
	display: inline-block;
	height: 2px;
	margin-left: 0.5rem;
	margin-bottom: 0.25rem;
	width: 2.5rem;
}

.subtitle.has-white-color::before,
.subtitle.has-text-align-center.has-white-color::after {
	background: var(--xui-white);
}

.subtitle::before {
	background: var(--xui-primary);
	content: '';
	display: inline-block;
	height: 2px;
	margin-right: 0.5rem;
	margin-bottom: 0.25rem;
	width: 1.5rem;
}

/* Typography */
.home h1,
#title-block.bkg-img h1,
.text-shadow {
	text-shadow: 3px 2px 2px rgba(12, 39, 40, 0.5);
}

#title-block.bkg-img .tb-wrapper::before {
	background: rgba(11, 129, 142, 0.85);
}

@media (min-width: 992px) {
	#title-block.bkg-img .tb-wrapper::before {
		background: linear-gradient(
			90deg,
			rgb(13 129 142) 1%,
			rgba(0, 0, 0, 0) 100%
		);
	}
}

.staff h3.post-title,
.staff.post-job-title {
	color: var(--xui-primary);
	font-size: 1.25rem;
}

.staff h3.post-title:hover {
	color: var(--xui-secondary);
}

.staff.post-job-title {
	font-size: 1.55rem;
	font-weight: 700;
	margin-top: -1.5rem;
	margin-bottom: 2rem;
}

.post-phone,
.post-email {
	font-weight: 600;
}

.staff-hr {
	border: 0;
	border-top: 1px solid #cccccc;
	margin: 2rem 0;
}

/* Footer */
.home #footer {
	margin-top: 0;
}

#footer {
	background: #0b818e !important;
}

#footer a:hover,
#footer a:active {
	color: #2fcadb !important;
}
#menu-footer {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0 2.5rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	margin-top: 2rem !important;
	padding: 0;
}

/* Horizontal lines */
#menu-footer::before,
#menu-footer::after {
	background-color: #2fcadb;
	content: '';
	flex: 1 1 140px;
	height: 1px;
	opacity: 0.35;
}

/* Menu items */
#menu-footer > li {
	align-items: center;
	display: inline-flex;
	position: relative;
}

/* Small devices */
@media (max-width: 991.98px) {
	#menu-footer {
		flex-direction: column;
		gap: 0.25rem;
	}

	#menu-footer::before,
	#menu-footer::after {
		display: none;
	}
}

/* Gray backgrounds */
@media (min-width: 1020px) {
	.gray-bkg-left,
	.gray-bkg-right {
		position: relative;
	}

	.gray-bkg-left::after,
	.gray-bkg-right::after {
		background-color: var(--xui-gray-light);
		bottom: 0;
		content: '';
		height: 100%;
		position: absolute;
		top: 0;
		width: 40%;
		z-index: 0;
	}

	.gray-bkg-left::after {
		left: 0;
	}

	.gray-bkg-right::after {
		right: 0;
	}

	.gray-bkg-left .wp-block-image img,
	.gray-bkg-right .wp-block-image img {
		width: 100%;
	}

	.img-shadow {
		box-shadow: 0px 3px 35px #0000001a;
	}
}

.img-shadow img {
	width: 100%;
}

/* Other styles */
#menu .menu-item,
.wp-block-buttons .wp-block-button__link {
	text-transform: uppercase;
	letter-spacing: 0.07rem;
}

.wp-block-buttons .wp-block-button__link {
	font-size: var(--xui-font-size-xs);
}

#footer .social-link a.social-icon:hover svg path {
	fill: #2fcadb;
}

#footer a {
	font-weight: 600;
}

#back-to-top {
	align-items: center;
	background: #17abbc;
}

.header-fixed.home
	#header
	.trans-bkg.menu-not-collapsed.start-style
	#menu
	> li
	> a:hover {
	color: #17abbc !important;
}

span.kb-svg-icon-wrap.kb-svg-icon-fas_square-full.kt-svg-icon-list-single {
	margin-top: 3px;
}

.photo-shadow {
	box-shadow: -1rem 1rem 0 #f5f5f5;
}

@media (min-width: 1200px) {
	.photo-shadow {
		box-shadow: -2rem 2rem 0 #f5f5f5;
	}
}

/* Message box */
.gform_confirmation_message {
	background: var(--xui-primary-light);
	padding: 1.5rem;
	color: var(--xui-primary);
}
