/*
 Theme Name:   WebGatha Child
 Theme URI:    http://webgatha.potenzaglobalsolutions.com
 Description:  WebGatha Child Theme
 Author:       TeamWP @Potenza Global Solutions
 Author URI:   http://www.potenzaglobalsolutions.com
 Template:     webgatha
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, e-commerce, blog, grid-layout
 Text Domain:  webgatha-child
*/

#masthead .header-main-desktop_main_right .header-element-item{
    padding:0 10px
}
.portfolio-extra .portfolio-overlay{
	overflow: hidden;
}
.portfolio-extra .portfolio-content{
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;

}
.portfolio-extra .portfolio-content .menu-list-title{
	color: var(--c_color, #1c1a20);
	margin-top:0;
}
.portfolio-extra .portfolio-item .center-title{
	background: #00000061;
    width: 100%;
    padding: 15px 30px;
	position: absolute;
    z-index: 1;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: white;
	text-shadow:
		-1px -1px 0 black,
		 1px -1px 0 black,
		-1px  1px 0 black,
		 1px  1px 0 black;
	transition: all .3s ease-in-out;
}
.portfolio-extra .portfolio-item:hover .center-title{
	opacity: 0;
}
.portfolio-extra .portfolio-content a{
	color: var(--c_color, #1c1a20);
	font-size: 1.2rem;
}

.portfolio-extra ul{
	list-style: none;
	padding: 0;
	margin: 0;
}

.portfolio-extra .portfolio-item:hover ul.block-menu li {
	opacity: 0;
	transform: translateX(20px);
	animation: fadeInLeft 0.5s ease forwards;
}

/* Staggering via nth-child delays */
.portfolio-extra .portfolio-item ul.block-menu li:nth-child(1) { animation-delay: 0.1s; }
.portfolio-extra .portfolio-item ul.block-menu li:nth-child(2) { animation-delay: 0.2s; }
.portfolio-extra .portfolio-item ul.block-menu li:nth-child(3) { animation-delay: 0.3s; }
.portfolio-extra .portfolio-item ul.block-menu li:nth-child(4) { animation-delay: 0.4s; }
.portfolio-extra .portfolio-item ul.block-menu li:nth-child(5) { animation-delay: 0.5s; }
.portfolio-extra .portfolio-item ul.block-menu li:nth-child(6) { animation-delay: 0.6s; }
.portfolio-extra .portfolio-item ul.block-menu li:nth-child(7) { animation-delay: 0.7s; }
.portfolio-extra .portfolio-item ul.block-menu li:nth-child(8) { animation-delay: 0.8s; }
.portfolio-extra .portfolio-item ul.block-menu li:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

#overlay-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(233, 239, 233, 0.98) url(./img/blurredBg.jpg);
	background-size: cover;
    color: #2d2d2d;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
	padding-top: 200px;
    align-items: center;
    z-index: 9999;
	opacity: 0;
	animation: fadeIn 0.5s ease forwards;
	
}
#overlay-menu nav{
	width:100%;
	opacity: 0;
	transform: translateY(-20px);
	animation: fadeInTop 0.5s ease forwards;
}
#overlay-menu ul{
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

#overlay-menu nav>ul>li{
	padding:10px 0;
}

#overlay-menu ul ul{
	display: none;
	
}
#overlay-menu li.menu-item-has-children:hover,
#overlay-menu>nav>ul>li:hover
{
	background-color: white;
}
#overlay-menu li:hover ul{
	display: block;
	opacity: 0;
	transform: translateY(-20px);
	animation: fadeInTop 0.5s ease forwards;
}
#overlay-menu li li:hover{
	background-color: rgb(194, 229, 194);
}
#overlay-menu li a{
	text-align: center;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 900;
}
#overlay-menu li li a{
	font-size: 14px;
}


#overlay-menu.overlay-visible {
    display: flex;
}

#close-overlay-menu {
    position: absolute;
    top: 40px;
    right: 30px;
    font-size: 2rem;
    background: none;
    border: none;
    color: rgb(38, 38, 38);
    cursor: pointer;
}
/*
header .header-wrapper{
	transition: all 0.3s ease-in-out;
}*/

header .header-wrapper .whb-header-sticky .header-main .header-item-wrapper{
	transition: all 0.3s ease-in-out;
}

header .site-title-wrapper .site-title{
	opacity: 0;
	transform: translateY(-20px);
	animation: fadeInTop 0.5s ease forwards;
}
header .site-title-wrapper .sticky-site-title{
	opacity: 0;
	transform: translateY(40px);
	animation: fadeInBottom 0.5s ease forwards;
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes fadeInTop {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes fadeInBottom {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.home .homepage-intro .dropcap-letter{
    margin-right: 2px;
    top: 2px;
    display: inline-block;
    border: 1px solid;
    padding: 0 2px;
}
.home .swiper-wrapper{
	display: flex;
	align-items: center;
}

.font-15 p{
	font-size: 15px !important;
}

#site-navigation-mobile .slicknav_nav .mobile-menu {
	max-height: inherit;
}

.device-type-mobile .site-header .site-title img{
	max-height: 46px;
}
.childtheme-subpage-menu {
	width: 100%;
	padding: 20px;
	background: #f9f9f9;
}
.childtheme-subpage-menu .menu-item a.active {
	font-weight: bold;
}

footer .widget_nav_menu ul li.current-menu-item a{
	color:#ff873e
}