/**
Theme Name: Aghadi Framework
Author: Agahdi Infotech
Author URI: https://aghadiinfotech.com
Description: Inherited from Astra Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aghadi-framework
Template: astra
*/



h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.15 !important;
}


.banner-video .uael-video__play-icon svg polygon {
	fill: #000 !important;
}

.banner-video .uael-video__play-icon {
	background: rgb(0 0 0 / 50%);
	border-radius: 100px;
	transition: all 0.2s ease-in-out !important;
}

.banner-video .uael-video__play-icon img {
	width: 44px !important;
}

.banner-video .uael-video__play-icon:hover {
	background: rgb(0 0 0 / 80%);
}

header .ast-builder-menu-1 .menu-item .sub-menu .menu-link {
	text-align: right;
}

header .ast-builder-menu-1 .menu-item .sub-menu {
	padding: 5px;
}

.upcoming-events .uael-post__thumbnail img {
	height: 20vw;
	object-fit: cover;
	margin-bottom: 15px;
}

.upcoming-events .uael-post__datebox,
.uael-post__arrow-outside .uael-post-grid .slick-arrow i {
	display: none;
}

.uael-post__arrow-outside .uael-post-grid .slick-next {
	right: 30px;
}

.uael-post__arrow-outside .uael-post-grid .slick-prev {
	left: 30px;
}

.uael-post__arrow-outside .uael-post-grid .slick-arrow {
	width: 60px;
	height: 60px;
	background: rgb(0 0 0 / 70%) url(images/arrow-left.svg) no-repeat center center / 34px;
	top: 11vw;
}

.uael-post__arrow-outside .uael-post-grid .slick-arrow:hover {
	background-color: rgb(0 0 0 / 96%);
}

.uael-post__arrow-outside .uael-post-grid button.slick-next.slick-arrow {
	transform: translate(0, -50%) scaleX(-1);
}

.banner-video .uael-video__outer-wrap .uael-video__thumb {
	height: 100%;
	object-fit: cover;
}

.ast-builder-menu-1 .menu-item.current-menu-item>.menu-link {
	text-decoration: underline;
	text-decoration-color: #000;
	text-underline-offset: 4px;
}

.upcoming-events .uael-post__title,
.upcoming-events .uael-post__meta-data {
	display: none !important;
}

.contact-main-form .wpforms-field {
	padding: 10px 0;
}

.contact-main-form .wpforms-container {
	margin: 0px !important;
}

.contact-main-form .wpforms-required-label {
	display: none;
}

.contact-main-form textarea {
	resize: none !important;
}

.menu-item a:focus,
.menu-item a:focus-visible {
	outline: none;
}

.menu-toggle-close:focus {
	outline: none;
	border: 0px !important;
}

.menu-toggle-close:focus-visible {
	outline: none;
	border: 0px !important;
}




/* MEDIA CSS */

@media (min-width:1024px) {

	header .main-header-menu .sub-menu .menu-link {
		text-align: right;
		padding: 3px 10px;
	}

	header .ast-builder-menu-1 .menu-item .sub-menu {
		margin: 0 0 0 -100px;
		top: 80px;
	}

	header .ast-builder-menu-1 .menu-item .sub-menu .menu-link:hover {
		padding-right: 9px !important;
	}

	header .ast-builder-menu-1 .menu-item .sub-menu .menu-link {
		padding-right: 5px !important;
	}


}


@media (max-width:1024px) {

	.banner-video .uael-video__play-icon img {
		width: 24px !important;
	}

	.upcoming-events .uael-post__thumbnail img {
		height: 225px;
	}

	.uael-post__arrow-outside .uael-post-grid .slick-arrow {
		background: rgb(0 0 0 / 70%) url(images/arrow-left-small.svg) no-repeat 10px / 28px;
		bottom: -15px;
		top: auto;
		width: 40px;
		height: 40px;
		left: calc(50% - -15px) !important;
		right: auto;
	}

	.uael-post__arrow-outside .uael-post-grid .slick-arrow.slick-prev {
		left: calc(50% - 35px) !important;
	}

	.upcoming-events .uael-post__bg-wrap {
		padding-bottom: 80px;
	}

}


@media (max-width:991px) {


	.ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .menu-link,
	.ast-header-break-point .main-navigation .stack-on-mobile li {
		line-height: 2;
	}

	div#ast-mobile-popup .main-header-bar-navigation {
		margin-top: 40px;
		opacity: 0;
		transition: all 0.4s ease;
	}

	div#ast-mobile-popup.show .main-header-bar-navigation {
		margin-top: 0;
		opacity: 1;
	}

	.ast-mobile-popup-drawer.ast-mobile-popup-full-width .ast-mobile-popup-inner {
		top: 70px;
		box-shadow: none;
		overflow: visible;
	}

	.ast-mobile-popup-drawer .ast-mobile-popup-overlay,
	.ast-header-break-point .main-navigation ul .sub-menu .menu-item:not(.menu-item-has-children) .menu-link .icon-arrow:first-of-type {
		display: none;
	}

	body.ast-popup-nav-open {
		overflow: hidden;
	}

	#ast-fixed-header {
		transform: none !important;
		z-index: 1212 !important;
		visibility: visible !important;
	}

	.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children>.ast-menu-toggle {
		padding: 10px;
		right: 60px;
		border: 0;
		box-shadow: none;
		outline: 0;
		top: -10px;
		z-index: 125;
	}

	.ast-header-break-point .ast-icon.icon-arrow svg {
		width: 18px;
		height: 18px;
		transform: rotate(-90deg);
	}

	.ast-header-break-point .ast-nav-menu .sub-menu {
		visibility: visible !important;
		opacity: 1 !important;
		display: block !important;
		padding: 50px 0 0 0;
		position: fixed;
		z-index: 120;
		top: 60px;
		line-height: 1;
		width: 100%;
		right: -110% !important;
		left: auto !important;
		transition: right 0.3s ease-in-out;
	}

	.ast-header-break-point .ast-nav-menu button[aria-expanded="false"]+.sub-menu {
		right: -110% !important;
	}

	.ast-header-break-point .ast-nav-menu button[aria-expanded="true"]+.sub-menu {
		right: 0 !important;
	}

	.ast-header-break-point .ast-nav-menu li.ast-submenu-expanded button[aria-expanded="true"] span.icon-arrow svg {
		transform: rotate(90deg);
	}

	.ast-header-break-point .ast-nav-menu li.ast-submenu-expanded button[aria-expanded="true"]:after {
		content: "Back";
		margin-left: 5px;
		text-transform: capitalize;
		color: #000;
	}

	.ast-mobile-popup-content .ast-submenu-expanded>button[aria-expanded="true"].ast-menu-toggle {
		overflow-y: auto;
		position: fixed !important;
		top: 40px !important;
		left: 0;
		right: 0 !important;
		transform: none;
		opacity: 0.5;
	}

	.ast-builder-menu-mobile ul#ast-hf-mobile-menu {
		padding-top: 60px;
	}

}

@media (max-width:921px) {
	.ast-mobile-popup-header {
		margin-top: -50px;
	}

	.ast-mobile-popup-drawer.active .menu-toggle-close {
		margin-right: 18px;
	}

	.ast-mobile-popup-drawer.active .menu-toggle-close svg {
		width: 24px;
		height: 24px;
	}
}

@media (max-width:767px) {
	.contact-main-form .wpforms-field {
		padding: 5px 0;
	}
}