/*
Theme Name: Montgomery
Description: Montgomery Housing Project is an Enfold Child theme developed by Team Actualize
Version: 1.0
Author: Actualize
Author URI: http://www.parsidio.com
Template: enfold
*/



/*Add your own styles here:*/

/* heading lines
By Dhara */

#top .av_header_transparency #header_meta {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

#main .heading-lines h2.av-special-heading-tag {
    display: flex;
    width: 30%;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0 auto 30px;
}

#main .heading-lines h2.av-special-heading-tag::before,
#main .heading-lines h2.av-special-heading-tag::after {
    content: '';
    border-top: 2px solid #10526a;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
}

#main .heading-lines h2.av-special-heading-tag::after {
    margin: 0 0 0 20px;
}


/* secondary header with social icons */
#header_meta .container {
    display: flex;
    justify-content: flex-end;
}
div#header_meta {
    border: none;
}
#header_meta nav.sub_menu {
    padding-top: 5px;
}
#header_meta ul.noLightbox {
    padding-top: 5px;
}
.donate-btn a {
    color: #ffffff !important;
    text-transform: uppercase;
    background: #2e9b9b;
    padding: 10px 30px !important;
    border-radius: 5px;
}

/* home-page */
.home-what-we-do .avia-animated-number-title span {
    font-weight: 600;
}

#top .main-banner {
	position: relative;
}

#top .main-banner:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 95%;
    height: 100%;
    visibility: visible;
    z-index: 0;
    background-image: linear-gradient(to left , rgb(46 155 155 / 0%), rgb(0 81 103));
}

/* all buttons */
a.avia-button {
    padding: 10px 35px !important;
    border-radius: 5px !important;
    text-transform: uppercase;
    font-weight: 600 !important;
}

/* what-we-do section */
#top .home-what-we-do .av-flex-placeholder:before {
    content: "";
    border: 1px solid #535353;
    height: 43%;
    position: absolute;
    margin-left: 1%;
}
#top .home-what-we-do .av-flex-placeholder {
    width: 4%;
}

/* footer blog post */
/* h3.slide-entry-title.entry-title {
    font-size: 30px !important;
    color: #333333 !important;
} */
/* comment by dhaval */
.slide-meta {
    display: none;
}
.slide-entry-excerpt.entry-content {
    padding-top: 10px;
}
.read-more-link {
    padding-top: 10px;
}
a.more-link {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #2e9b9b;
    background: #ffffff;
    border-radius: 7px !important;
}
a.more-link:hover {
    opacity: .7;
    color: #ffffff;
	background: #2e9b9b;
    text-decoration: none;
}
span.more-link-arrow {
    display: none;
}

/* Footer menu */

#top #mhp-footer .flex_column ul li {
    border: none;
}
#top #mhp-footer .flex_column ul li.current_page_item {
    padding: 0 10px;
}
#top #mhp-footer .flex_column ul li a {
    padding: 3px 0;
    font-size: 16px;
    font-weight: 600;
}
#mhp-footer h2.av-special-heading-tag {
    border-bottom: 1px solid;
    padding-bottom: 13px;
    letter-spacing: unset;
}
#mhp-footer .flex_column.av_one_fifth {
    border-left: 1px solid;
    height: max-content;
    padding-left: 20px !important;
}
#mhp-footer .flex_column.av_one_fifth.avia-builder-el-first {
    border-left: none;
}
#mhp-footer a.avia-button {
    background: transparent;
    color: #ffffff !important;
    font-size: 18px;
    padding: 7px !important;
    border: none;
}
#mhp-footer .av-flex-placeholder {
    width: 4%;
}


/* Dhara
 *  Winners page */
.covid-team ul {
    margin-bottom: 0;
}


/* Content slider 30-years page */
.history-slider span.av_font_icon {
    position: absolute;
    top: 50px;
    right: 0;
}

#top .history-slider .avia-slideshow-arrows a:before {
	padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    background-color: #1a5268;
}

/* Dhara
accordion-toggle  */
#mhp-accordion section .single_toggle p.toggler {
    margin: 5px;
    padding-left: 70px;
    color: #fff;
    font-size: 18px;
}
#mhp-accordion .toggle_icon {
    position: absolute;
    height: 100%;
    top: 7px;
    left: 0px;
    background: #1a5268;
    text-align: center;
    padding: 15px;
    width:50px;
    border: none;
 }
 
#mhp-accordion span.vert_icon,#mhp-accordion span.hor_icon {
    margin-top: 16px;
    margin-left: 8px;
}

#mhp-accordion span.vert_icon {
    left:15px;
 }

#mhp-accordion span.hor_icon {
    left:11px;
 }
/* p.toggler.av-inherit-border-color {
    font-weight: 600;
} */
#mhp-accordion .active_tc .toggle_content {
    background: #ffffff !important;
    padding-left: 7%;
}
/* #mhp-accordion p.toggler.av-inherit-border-color.activeTitle {
    color: #fff;
    font-size: 18px;
} */
/* accordion ends */


/* Dhara
feature-column inner page */

/* utility class for h3 
For feature section  */
.white-feature-heading h3.av-special-heading-tag {
    color: #ffffff !important;
    font-weight: 200 !important;
}

.feature-column span.av_font_icon {
    background: #ffffff;
    padding: 10px;
}
.feature-column span.av-icon-char {
    color: #0b9b9b;
}
.feature-column .av-special-heading.av-special-heading-h4 {
    height: 100%;
    top: -62px;
    left: 55px;
    background: #1a5169;
    padding: 15px 25px !important;
    width: max-content;
}
.feature-column.overlay {
    position: relative;
    z-index: 1;
}
.feature-column.overlay:before {
    content: "";
    background-color: #2e9b9bc7;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    visibility: visible;
    z-index: -2;
}

/* Dhara 
sidebar */
.sidebar .inner_sidebar ul li {
    padding: 10px 0;
    border-top: 1px solid;
}
.sidebar .inner_sidebar ul li a {
    font-size: 18px;
}

.sidebar .widget_nav_menu ul:first-child>.current-menu-ancestor {
    padding-left: 0px !important;
    left: 0px !important;
}

.sidebar .inner_sidebar ul li.current_page_item {
    padding: 10px 0 !important;
    margin-bottom: 0 !important;
}

.sidebar .widget_nav_menu ul:first-child>.current-menu-item, .sidebar .widget_nav_menu ul:first-child>.current_page_item {
	left: 0px !important;
}

.sidebar .inner_sidebar ul li.current_page_item a:before {
    content: "";
    background: url(/wp-content/themes/enfold-child/templates/arrow-point-to-right.svg);
    background-size: contain;
    display: inline-block;
    height: 15px;
    width: 15px;
    margin-right: 5px;
}

#top .overlay-sidebar span.av-icon-char {
    color: #fff;
}
.overlay-sidebar h5.av-special-heading-tag {
    color: #fff;
    font-weight: 500;
}
.overlay-sidebar:before {
    content: "";
    background-color: #1a5169bf;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    visibility: visible;
    z-index: -2;
}
.overlay-sidebar {
    position: relative;
    z-index: 1;
}

/* Dhara
navigation menu landing pages */

#top .heading-icon {
    display: flex;
}
.heading-icon span.av_font_icon {
    border-left: 1px solid;
    padding-left: 15px;
}

#top .pdf-flipbook ._df_book{
	background-color: transparent !important;
	height: 500px !important;
}

#top .pdf-flipbook ._df_book canvas{
	width: 100% !important;
    height: 500px !important;
}
#top .mhp-property .av-special-heading-tag a{
	text-decoration: none !important;
}

#top .mhp-property ul li a {
    text-decoration: none !important;
}

/* dhaval */

#top .home-blogs .slide-meta{
	display: none;
}

#top .home-blogs .slide-entry-title {
	font-size: 18px !important;
	text-align: left !important;
}

/* end */

.img-overlay .avia_image .image-overlay .image-overlay-inside,
.img-overlay .avia_image .image-overlay{
	display: none!important;
}

.header-color {
	background-color: #fff;
    display: block;
    padding: 10px;
}

.image-slider .avia-slideshow-arrows a:before {
    padding-top: 0px !important;
}

.statistics-grid .flex_cell {
	position:relative;
}

.statistics-grid .flex_cell:after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    border-right: 2px solid #535353;
}
.statistics-grid .flex_cell:last-child:after {
    display:none;
}

.home-box .av_textblock_section, .home-box .av-special-heading,
.home-box .read-btn{
padding: 0px 20px 20px;
}

.home-box img.avia_image {
height: 200px;
width: 100%;
object-fit: cover;
}

.impact-icon .avia-animated-number-content {
    font-size: 16px;
    margin-top: 10px;
}

.impact-icon img.avia_image {
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.img-overlay img.avia_image {
    height: 270px;
    width: auto;
    object-fit: contain;
}

#top .img-overlay h4.av-special-heading-tag {
    font-size: 22px !important;
    margin-top: 20px !important;
}


.years_tab .tab_titles .tab{
    margin-right: 10px !important;
}

.years_tab .tab_content {
	padding: 0px !important;
	border: none !important;
}

.years_tab .tab {
	background-color: #0b9b9a !important;
    color: #ffffff !important;
    font-size: 20px;
    border: 2px solid #000 !important;
	border-radius: 5px !important;
	margin: 2px 0 !important;
}

#top .years_tab .tab_titles {
	position: absolute !important;
    bottom: 0 !important;
}

#top .home-blogs .avia-slideshow-arrows a:before{
	line-height: 40px !important;
}

/* css by janvi */
/* to remove padding of campaign page header */
#top .campaign_header .container {
	padding:0px !important;
}

/* media query */

@media only screen and (max-width: 768px) {
/* 	home page */
	.home_three_title .flex_cell {
		background: none !important;
	} 
	
	.statistics-grid .flex_cell {
		display: block;
	}
	
	.home_banner_content {
		width: 100% !important;
	}
	
	.statistics-grid .flex_cell:after {
		border-right: 0px;
	}
	
	.home_first_box_title {
		padding: 23px 10px !important;
	}
	
/* 	footer */
	#mhp-footer .container {
		padding: 0px;
	}
	
	#mhp-footer .av-special-heading-tag ,
	#mhp-footer li a {
		font-size: 11px !important;
	}
	
/* 	board page */
	.board {
		width: 100% !important;
		display: block;
	}
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
/* 	homepage */
	.home_first_box_title, .home_second_box_title {
		padding: 23px 10px !important;
	}
}

@media screen and (max-width: 1024px) {
/* 	header */
	nav.main_menu {
		display: block !important;
	}
	
	#avia-menu .menu-item {
		display: none;
	}
	
    .av-burger-menu-main.menu-item-avia-special {
		display: block;
    }
	
/* 	homepage */
	.homepage_banner .flex_cell_inner,
	.homepage_banner .flex_cell_inner .flex_column {
		height: 100%;
	}
	
/* 	sidebar */
	aside.sidebar.sidebar_right.alpha.units {
		display: none !important;
	}
	
	.container .av-content-small.units {
		width: 100% !important;
	}
	
	#after_section_1 .content .entry-content-wrapper {
		padding-right: 0px !important;
	}
	
	#top .homepage_banner .flex_cell,
	.responsive #top #wrap_all .av-flex-cells.homepage_banner .no_margin {
		padding: 0px !important;
	}
	
	#main .heading-lines h2.av-special-heading-tag {
		width: fit-content !important;
	}
	
	#main .heading-lines h2.av-special-heading-tag::before, 
	#main .heading-lines h2.av-special-heading-tag::after {
    	content: '';
    	border-top: 2px solid #10526a;
    	margin: 0 15px 0 0;
    	width: 25px !important;
	}
	
	#main .heading-lines h2.av-special-heading-tag::after {
    	margin: 0 0 0 15px;
	}
}

@media screen and (max-width: 767px) {
	#top .homepage_banner .flex_cell {
		padding: 30px 0px !important;
	}
	
	#main .heading-lines h2.av-special-heading-tag {
		width: fit-content !important;
	}
	
	#main .heading-lines h2.av-special-heading-tag::before, 
	#main .heading-lines h2.av-special-heading-tag::after {
    	content: '';
    	border-top: 2px solid #10526a;
    	margin: 0 15px 0 0;
    	width: 30px !important;
	}
	
	#main .heading-lines h2.av-special-heading-tag::after {
    	margin: 0 0 0 15px;
	}
	
	.page-id-14239 .av-section-color-overlay {
		opacity: 0.6;
    	background: black;
	}

}

@media screen and (max-width: 599px) {
/* 	header */
	.logo img {
		max-width: 80% !important;
	}
	
/* 	homepage */
	.home-blogs article {
		display: block !important;
		width: 100% !important;
	}

/* 	footer */
	#mhp-footer .hr-invisible {
		display: none;
	}
	
	#mhp-footer .av_one_fifth {
		border-left: 0px !important;
	}
	
	.feature-column .av_font_icon {
		display: none;
	}
	
	.feature-column .custom-color-heading {
		left: -29px !important;
		max-width: 270px;
	}
	
	.feature-column {
		padding: 30px !important;
	}
	
/* 	Properties pages */
	.properties_block {
		margin-bottom: 72px !important;
	}
	
/* 	project in development */
	.project_in_dev_img {
		padding: 135px;
		margin-bottom: 20px !important;
	}
	
	.page-id-182 #after_section_1 .flex_column_table:nth-child(3),
	.page-id-243 #after_section_1 .flex_column_table:nth-child(3),
	.page-id-368 #after_section_1 .flex_column_table:nth-child(3), .page-id-368 #after_section_1 .flex_column_table:nth-child(5),
	.page-id-529 #after_section_1 .flex_column_table:nth-child(2), .page-id-529 #after_section_1 .flex_column_table:nth-child(4),
	.page-id-407 #after_section_1 .flex_column_table:nth-child(3) {
 		display: flex;
		flex-direction: column-reverse;
	}
	
	.right_arrow_direction {
		display: none;
	}
	
/* 	thank you page */
	.thankyou_banner .container {
		height: 100px !important;
	}
}


#top.single-scholarship .container .av-content-small.units {
    width: 100%;
}

#top.single-scholarship aside.sidebar.sidebar_right.alpha.units {
    display: none !important;
}

#top #wrap_all .all_colors .magazine-post h3 {
    font-size: 22px;
}

#top #wrap_all .magazine-post .av-magazine-time{
	display: none;
}
#top #wrap_all .magazine-post header.entry-content-header {
    position: relative;
}
#top #wrap_all .magazine-post h3.av-magazine-title.entry-title:after {
    content: "";
    position: absolute;
    height: 1.3rem;
    width: 1.3rem;
	background:url("https://mhpartners.org/wp-content/uploads/2022/06/icons8-arrow-30.png") center center/cover no-repeat;
    top: 0;
    right: 0;
}

#top.single-scholarship .blog-categories, 
#top.single-scholarship .post-meta-infos,
#top.single-scholarship .av-share-box{
    display: none !important;
}

.social_bookmarks_twitter a::before, .av-social-link-twitter a::before {
    content: '';
    background-image: url('https://mhpartners.org/wp-content/uploads/2023/09/X-Logo.png');
    position: absolute;
    background-position: center center;
    background-size: cover;
    height: 13px !important;
    width: 13px !important;
    top: 8px;
    left:10px;
    margin: auto;
}

#top #wrap_all .av-social-link-twitter:hover a, #top #wrap_all .av-social-link-twitter a:focus {
    background-color: lavender;
    filter: invert(1);
}


#top .footer-icon a:first-child span::before {
	content: '';
    background-image: url('https://mhpartners.org/wp-content/uploads/2023/09/X-Logo.png');
    position: absolute;
    background-position: center center;
    background-size: cover;
    height: 13px !important;
    width: 13px !important;
    top: 8px;
    left:10px;
    margin: auto;
}

#top .footer-icon a.avia-button:nth-child(2) .avia_button_icon {
	font-size: 15px;
}