/*
 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.5.0
*/
 
@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;
}

#top-menu li a, .et_pb_menu_0_tb_header.et_pb_menu ul li a {
	font-weight: 600 !important;
}

.et-menu a, .et_mobile_menu li a {
	color: #0000A7;
}
.et-menu a:hover, .et_mobile_menu li a:hover {
	color: #000085;
}

#top-menu li.current-menu-item>a, #top-menu li.current-menu-ancestor>a {
	color: #000000;
}

.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu {
	border-radius: 12px;
	margin-top: 10px;
}

/************************************************
                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 7px !important;
}
.et_header_style_left #et-top-navigation {
	padding-top: 20px;
}
.et_header_style_left .et-fixed-header #et-top-navigation {
	padding-top: 10px;
}

.mobile_menu_bar:before, .et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before {
	color: #0000A7 !important;
}

/*** Style the menu button ***/
/* Default button styles */
.jointoday_button a {
	border: 2px solid #0000A7;
	background-color: #0000A7;
	border-radius: 6px !important;
    webkit-border-radius: 6px;
    moz-border-radius: 6px;
	padding: 13px 16px !important;
    text-transform: uppercase;
    line-height: 9px;
    display: block;
    transition: all .5s ease;
    webkit-transition: all .5s ease;
    moz-transition: all .5s ease;
	color: #fff !important;
}
.jointoday_button a:hover {
	opacity: 1 !important;
	border: 2px solid #000085;
    background-color: #000085;
}
.et-fixed-header #top-menu .jointoday_button a:hover {
    border: 2px solid #000085;
    background-color: #000085;
}

/* Fixed header button styles */
.et-fixed-header #top-menu .jointoday_button a {
	border: 2px solid #0000A7;
}
.et-fixed-header.et_highlight_nav #top-menu .jointoday_button a {
    border: 2px solid #0000A7;
    animation: highlight-nav .8s ease;
    -webkit-animation: highlight-nav .8s ease;
}
#main-header.et-fixed-header #top-menu li.jointoday_button a {
}
#main-header.et-fixed-header.et_highlight_nav #top-menu .jointoday_button a:hover {
    border: 2px solid #000085;
	background-color: #000085;
}

/* Mobile button styles */
@media (max-width: 980px) {
	.jointoday_button a {
		border-bottom: 2px solid #0000A7 !important;
	}
	.jointoday_button {
		padding-bottom: 10px;
		padding-top: 10px;
	}
	.jointoday_button a:hover {
		color: inherit !important;
	}
}

/*** 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;
	}
}

@media (max-width: 980px) {
	#logo {
		max-height: 75% !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;
	}
}*/