/*
 Theme Name:   EP Theme
 Theme URI:    https://epdigitaldesign.com
 Description:  Ethan Pattemore Theme. Child theme of Perfect Portfolio (Rara Theme).
 Author:       epdigitaldesign
 Author URI:   https://epdigitaldesign.com
 Template:     perfect-portfolio
 Version:      1.1
 Text Domain:  ep-theme
*/

/* == Add your own styles below this line ==
--------------------------------------------*/


.main-navigation .nav-menu li:hover > a, .main-navigation .nav-menu li.current-menu-item > a, .main-navigation .nav-menu li.current_page_item > a {
	color: #6EC1E4;
}

.site-header .tc-wrapper, section.gallery-section.style1 .tc-wrapper, .site-footer .tc-wrapper {
	padding-right: 50px;
  	padding-left: 50px;
  	width: 100%;
	text-align: center;
}

@media (min-width: 820px){
	.elementor-widget-container p{
		margin: 1em 15% 1.5em 15% !important;
	}
}

.elementor-widget-container {
	margin: 0px !important;
}

.elementor-84 .elementor-element.elementor-element-60e0d77 > .elementor-widget-container {
	max-width: 100% !important;
	padding-right: 15%;
	padding-left: 15%;
}

.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 100% !important;
	padding-right: 50px;
	padding-left: 50px;
}

body.home .elementor-image-gallery .gallery-item a{
	display: block;
	position: relative;
  	object-fit: cover;
}

body.home .elementor-image-gallery .gallery-item a:after{
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0);
	transition: all 0.2s ease-in-out;
}

body.home .elementor-image-gallery .gallery-item:hover a:after {
	background-color: rgba(0, 0, 0, 0.75);
}

body.home .elementor-image-gallery .gallery-item .gallery-caption {
	text-align: center;
	font-size: 36px;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin: auto;
	transform: translateY(-50%);
	user-select: none;
	scale: 95%;
	color: rgba(0,0,0,0);
	pointer-events: none;
	padding: 10%;
}

body.home .elementor-image-gallery .gallery-item:hover .gallery-caption {
	scale: 100%;
	color: rgba(255, 255, 255, 100);
	transition: all 0.2s ease-in-out;
}

.bottom-footer {
	padding: 50px 50px 50px 50px;
}

.bottom-footer .foot-social {
	width: 100%;
    text-align: center;
}

.bottom-footer .foot-social .social-icons {
	font-size: 25px;
	padding: 0px 10px 0px 10px;
}

.bottom-footer .foot-social a:hover {
	color: #6EC1E4;
}

.site-footer .bottom-footer .tc-wrapper .copyright {
	display: none;
}

.back-to-top {
	right: 50px;
	bottom: 50px;
	position: fixed;
}

.back-to-top:hover {
	background: #6EC1E4;
}

.page-header .page-title span:before {
	background: #6EC1E4;
	opacity: 25%;
}

.single span.sub-title span {
	color: #6EC1E4;
}

.elementor-63 .elementor-element.elementor-element-fd69398 .elementor-heading-title {
	display: inline-block;
	top: 0;
	background-color: rgba(110, 193, 228, 0.25)
;
}

#page{
    position: relative;
    overflow-x: hidden;
}

.site-header .site-branding .site-logo img{
	width: auto;
	height: 50px;
}

.site-header .site-branding{
	height: 50px;
	display: inline-block;
    vertical-align: middle;
    width: 50%;
    text-align: center;
}

.site-header .header-r{
	display: none;
	
}


/* == Lottie logo preloader (base.js) ==
   Matches the site's original Additional CSS (Wayback copy, Dec 2024):
   black panel, white logo, slides DOWN out of view over 0.8s ease-in,
   page scrolling locked while it shows. */

body.no-scroll, html.no-scroll {
	position: fixed;
	width: 100%;
	overflow: hidden;
	height: 100%;
	top: 0;
	left: 0;
	margin: 0;
}

#preloader {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #000;
	z-index: 9999;
	transition: transform 0.8s ease-in, visibility 0s linear 0.8s;
}

#preloader.slide-up {
	transform: translateY(100%);
	visibility: hidden;
	pointer-events: none;
}

#ep-logo-animation {
	width: min(90vw, 960px);
	aspect-ratio: 16 / 9;
}

/* == Recovered from the site's Additional CSS (Customizer), Wayback copy 11 Dec 2024 == */

.site-title-wrap { display: none !important; }
.header-r { display: none !important; }
.site-header .site-branding { display: flex; justify-content: center; width: 100%; }
.site-logo { width: 60px !important; }
.filter-button-group { display: none; }
.single figure.post-thumbnail { display: none; }
.single .page-header { text-align: center; }
.text-holder span.sub-title { pointer-events: none; }
:where(.wp-block-columns.is-layout-flex) { gap: 5px; }
.gallery-img { position: relative; display: inline-block; overflow: hidden; }
.text-holder { position: absolute; top: 0 !important; left: 0 !important; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.gal-title a:hover { color: blue !important; }
section.gallery-section { margin-bottom: 50px; text-align: center; }
.btn-readmore { display: none; }
.home .cta-section { margin-bottom: 0px; }
.bottom-footer { display: none; } /* the live site hid the footer by Dec 2024; delete this line to show it */
