/*
 Theme Name:        Uptown Studios Child - Nexus Theme
 Text Domain:       uptown-studios-child-nexus
 Author:            April Auger
 Author URI:        https://aprilauger.com
 Description:       Nexus is a child theme used with the Uptown Studios theme
 Template:          uptown-studios
 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
*/

/* Layout */
.fluid .kt-row-column-wrap {
	max-width: 100% !important;
}

/* Typography */
.h1,
.h2,
.h3,
.h4 {
	font-family: var(--wp--preset--font-family--orpheuspro);
}

h3 a {
	font-weight: 600 !important;
}

/* Navigation */
.bm-horizontal .site-logo img,
.navbar {
	padding: 0;
}

.bm-horizontal .site-logo img {
	max-height: 75px;
}

.bm-horizontal ul.dropdown-menu.show {
	min-width: 15rem !important;
}

.bm-horizontal .navbar-nav {
	margin-left: auto;
}

@media (max-width: 991.98px) {
	.bm-horizontal .cta-button {
		padding-bottom: 1rem;
	}
}

@media (min-width: 1200px) {
	.bm-horizontal ul.dropdown-menu li {
		padding-top: .25rem;
		padding-bottom: .25rem;
	}
}

/* Sidebar */
.uptown-studios-recent-posts .portfolio {
    border-bottom: 1px solid #eeeeee;
}

/* Jumbotron */
.jumbotron-container {
	max-width: 60rem;
	margin: auto;
}

.jumbotron__description {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3
}

/* Buttons */
.white-outline-hover .wp-block-button__link:hover {
	border: 1px solid var(--wp--preset--color--white);
}

.gform_footer input[type=submit] {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border-color: var(--wp--preset--color--primary);
	border-width: 1px;
	border-style: solid;
	color: var(--wp--preset--color--black) !important;
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: .05rem;
	line-height: 1;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
}

input[type=submit]:hover {
	background-color: var(--wp--preset--color--body);
	border-color: var(--wp--preset--color--body);
}

/* Search */
@media (min-width: 1200px) {

	/* Push search to the right next to the toggle button */
	.push {
		margin-left: auto;
	}
}

@media (min-width: 1200px) {
	.search-form {
		position: relative;
		margin-right: 1.5rem;
	}

	.search-field:focus {
		position: absolute;
		left: 0px;
		right: 0px;
	}

	.search-wrapper #main-search {
		margin-right: 1.5rem;
	}
}

/* Content Links */
.content-area p a {
	background-image: linear-gradient(to right, #ffeab0 100%, #ffeab0 100%);
	background-position-y: 100%;
	background-repeat: no-repeat;
	background-size: 100% 30%;
}

.content-area p a:hover {
	background-image: linear-gradient(to right, #FEC524 100%, #FEC524 100%);
	background-position-y: 100%;
	background-repeat: no-repeat;
	background-size: 100% 30%;
	color: var(--wp--preset--color--black);
}

/* Pagination */
.pagination {
	list-style: none;
	margin: 0;
	margin-top: 1.5rem;
	padding: 0;
	text-align: center;
}

.pagination li {
	display: inline-block;
}

.pagination li a,
.pagination li span.current {
	padding: .35rem 1rem;
}

.pagination li span.current {
	background: var(--wp--preset--color--light-gray);
}

.navigation.pagination .nav-links .page-numbers.current {
	background: var(--wp--preset--color--light-gray);

}

.navigation.pagination .nav-links .page-numbers.current:hover {
	color: var(--wp--preset--color--secondary);
}

.pagination-prev a,
.pagination-next a {
	font-weight: 700;
}

/* Posts */
.post-list .row>* {
	padding-left: 5px !important;
	padding-right: 5px !important;
}

.post {
	overflow: hidden;
	padding: 0;
	position: relative;
}

.post:hover .post-overlay {
	opacity: 1;
}

.post .post-overlay {
	background: rgba(0, 0, 0, 0.7);
	height: 100%;
	left: 0;
	bottom: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-moz-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
	width: 100%;
}

.post-img {
	width: 100%;
}

.post:hover .post-details {
	left: 50%;
	top: 50%;
	opacity: 1;
}

.post-details {
	left: 50%;
	opacity: 0;
	padding-left: 1em;
	padding-right: 1em;
	position: absolute;
	text-align: center;
	top: 50%;
	transition: all 0.3s ease-in-out 0s;
	width: 100%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: all 0.3s ease-in-out 0s;
	-moz-transition: all 0.3s ease-in-out 0s;
}

.post a h3:hover {
	color: #fff !important;
}

.post-details h3 {
	color: #fff;
}

.single-portfolio button.slick-prev.slick-arrow,
.single-portfolio button.slick-next.slick-arrow {
	background: rgba(0, 0, 0, .5);
	color: #fff;
	line-height: 1;
	padding: .5rem;
	top: 45%;
	z-index: 1;
}

/* Gallery */
#projectLightbox {
	background: rgba(0, 0, 0, .65)
}

#projectLightbox .modal-header {
	border: none;
	justify-content: flex-end;
}

#projectLightbox .modal-content {
	background: transparent;
	border: none;
}

#projectLightbox .carousel-item img {
	border: 1rem solid #fff;
}

#projectLightbox .btn-close {
	filter: brightness(0) invert(1);
}

@media (min-width: 995px) {
	.padding-left {
		padding-left: 2.5rem;
	}
}

/* Newsletter */
.home .gfield_checkbox {
	display: inline-block !important;
	min-width: 15rem;
}


/* Footer */
#footer .d-flex {
	padding-bottom: 1.5rem;
	padding-top: 1.5rem;
}

.home .gform-theme--framework .gform-field-label--type-inline {
	margin-right: 1.5rem;
}

@media (max-width: 991px) {
	#footer .footer-social {
		margin-top: 1rem;
	}
}

footer .h4 {
	font-size: var(--wp--preset--font-size--medium);
	letter-spacing: .125rem;
	text-transform: uppercase;
}

footer ul li {
	position: relative;
	margin-left: 1rem;
}

footer ul li:before {
	color: #f1f1f1;
	content: "\f345";
	font-family: 'dashicons';
	font-size: .8rem;
	margin-left: -1rem;
	padding-right: .25rem;
	position: absolute;
}

.copyright {
	font-size: var(--wp--preset--font-size--x-small);
}

/* Contact */
.gform-field-label {
	font-weight: 600 !important;
}

.gform_required_legend {
	display: none;
}

.gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	box-shadow: none;
}

input.gform_button {
	border-radius: 0 !important;
	box-shadow: none !important;
	font-weight: 600 !important;
}

input.gform_button:hover {
	background: var(--wp--preset--color--black) !important;
	color: var(--wp--preset--color--white) !important;
	box-shadow: none;
}
/* Search */
.search-results .site-main article {
	margin-bottom: 1.5rem;
	border-bottom: 1px solid #eeeeee;
	padding-bottom: 1.5rem;
}

.search-results .site-main article p {
	margin-bottom: 0
}