/*
 Theme Name:     TGA Child Theme
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         The Good Alliance
 Author URI:     https://thegoodalliance.org/
 Template:       Divi
 Version:        1.4.2
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

/************************************************
                    MENU
*************************************************/

/*---- Removing drop down arrow ----*/
.menu-item-has-children > a:first-child::after { 
	display:none; 
}
#top-menu .menu-item-has-children>a:first-child {
    padding-right: 0px;
}
.et-menu .menu-item-has-children>a:first-child {
    padding-right: 0px !important;
}

/************************************************
                MENU STYLES
*************************************************/

/*** Remove shadow on main header***/
#main-header {
	box-shadow: none;
}
 
/*** Add shadow to fixed header ***/
@media (min-width: 981px) {
	#main-header.et-fixed-header {
    box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
    -webkit-box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
    -moz-box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
	}
}
/*** Adjust menu padding ***/
.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a {
	padding-bottom: 23px;
}
#top-menu li {
	padding: 0 10px !important;
}
.et_header_style_left #et-top-navigation {
	padding-top: 20px;
}
.et_header_style_left .et-fixed-header #et-top-navigation {
	padding-top: 10px;
}


/*** Style the mobile menu links ***/
@media (max-width: 980px) {
	.et_mobile_menu li {
		text-align: center;
	}
	.et_mobile_menu li a {
		border-bottom: none;
		display: inline-block;
	}
	.et_mobile_menu li a:hover {
		background-color: transparent;
	}
	.et_mobile_menu .menu-item-has-children>a {
		background-color: rgba(0, 0, 0, 0);
		font-weight: inherit !important;
	}
	.et_mobile_menu li li, .et_mobile_menu li li, #main-header .et_mobile_menu li ul {
		padding-left: 0px !important;
	}
}

/* Changes breakpoint for mobile menu */
@media only screen and (max-width: 1024px) {
	#et_mobile_nav_menu { 
		display: block !important;
	}
	#top-menu { 
		display: none !important;
	}
}

/* Prevent footer hamburger menu on mobile */
@media (max-width: 980px) {
#footer-menu .et_pb_menu__menu {
display: block !important;
}

#footer-menu .et_mobile_nav_menu {
display:none;
}
.et_pb_menu--style-left_aligned.et_pb_text_align_right .et_pb_menu__wrap {
    justify-content: center;
}
}