/*
 Theme Name:     The Hunger Project
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    A custom child theme based on Divi.
 Author:         The Good Alliance [ Cat Townsend & Brett Worth ]
 Author URI:     https://thegoodalliance.org/
 Template:       Divi
 Version:        1.4.2
*/

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

/* GODADDY HOSTING */

/*---- Removing drop down arrow ----*/
.menu-item-has-children > a:first-child::after { 
	display:none; 
}



/* Main menus styling */
.et_pb_menu_0_tb_header.et_pb_menu ul li a {
    font-family: 'Source Sans Pro',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
}
#top-menu li a {
    font-weight: 600 !important;
}
.et-db #et-boc .et-l .et-menu .menu-item-has-children>a:first-child {
	padding-right: 10px !important;
}
.et-db #et-boc .et-l .et_pb_menu .et-menu>li {
	padding-right: 0px;
}

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

/* Styles the menu button */
.jointoday_button a {
font-family: 'Unna',Georgia,"Times New Roman",serif !important;
	text-transform: capitalize !important;
	font-size: 22px !important;
    color: #fff !important;
    background-color: #0011aa !important;
    border: 2px solid #0011aa;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    padding: 13px 46px !important;
    line-height: 9px;
    display: block;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
}
.jointoday_button a:hover {
    background-color: #1A2BC4 !important;
    border-color: #1A2BC4;
}
/* Mobile button styles */
@media (max-width: 1200px) {
	.jointoday_button a {
		border-bottom: 2px solid #0011aa !important; /* Change button bottom-border colour on mobile */
	}
	.jointoday_button {
		padding-bottom: 3%;
		padding-top: 3%;
	}
	.jointoday_button a:hover {
		color: inherit !important;
	}
}
/* Makes dropdown menu items full width */
.et-menu li li a {
    padding: 6px 10px;
    width: 235px;
}
/* Fixes dropdown menu alignment */
.et_pb_menu .et_pb_menu__menu>nav>ul>li>ul {
    top: calc(100% - 0px);
}

/* Styles search icon in menu */
.rv_button img {
	max-width: 18px;
	margin-right: 10px;
}

/* Changes breakpoint for mobile menu */
@media only screen and (max-width: 1200px) {
    .primary-menu.et_pb_menu .et_pb_menu__menu {
        display: none !important;
    }
    .primary-menu .et_mobile_nav_menu {
        display: block
    }
	.et_pb_menu--style-left_aligned .et_pb_menu_inner_container {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
	}
/* Hide sub menu on mobile */
	.et_pb_menu .et_mobile_menu li ul {
	display: none !important;
	}
/* Fixes mobile menu font weight */
	.et_pb_menu_0_tb_header.et_pb_menu ul li a {
		font-weight: 600 !important;
	}
/* Hide Give Now button arrow on mobile 
	.menu-icon-1 a:after {
		display: none;
	}*/
/* Hide desktop search menu item on mobile */
	.rv_button {
		display: none;
	}
}
@media all and (min-width: 981px) and (max-width: 1199px) {
    .et_mobile_menu {
		margin-top: 44px !important;
		padding: 5% !important;
	}
	.et_mobile_menu .menu-item-has-children>a {
		background-color: rgba(0, 0, 0, 0.0);
	}
	.et_pb_menu_0_tb_header.et_pb_menu ul li a {
		display: inline-block;
	}
	.et-l--header ul {
		list-style-type: none;
		text-align: center;
		padding: 0px;
	}
	.et_mobile_menu li a {
		border-bottom: none;
	}
	.et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__search-button, .et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__close-search-button {
		display: flex !important;
	}
}

.nav li ul {
    width: 280px;
}
#top-menu li li a {
    width: 258px;
}
/* Menu Link Styling */
.et-menu a {
    color: #262626;
}
a, .et-db #et-boc .et-l a {
    color: #262626;
}
.et-menu .menu-item-has-children>a:first-child {
    padding-right: 10px;
}
.et-menu .menu-item-has-children>a:first-child, .nav li li a {
	color: #262626 !important;
}
.et-menu a:hover {
    opacity: 1;
}

/* Disable default Divi page title for posts */
.et_post_meta_wrapper {
	display: none;
}

/************************************************
                ESSENTIAL GRID
*************************************************/

/* Ensures drop shadow shows for Essential Grid items */
.esg-overflowtrick {
    overflow: unset !important;
}

/* Styles the Essential Grid Filters */
.minimal-light .esg-filter-checked {
    color: #ffffff !important;
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
}
.minimal-light .esg-filterbutton:hover .esg-filter-checked, .minimal-light .esg-filterbutton.selected .esg-filter-checked {
    background: #eaeaea!important;
    border: 1px solid #eaeaea!important;
	color: #2b2b2b !important;
}
.minimal-light .esg-filterbutton:hover {
    transition: 0.3s;
}
.eg-opportunities-card-element-22 {
    text-align: left;
}
.eg-flickrstream-element-20-a {
    text-align: left;
}


/************************************************
                   MODULES
*************************************************/

/* Buttons side by side */
.btn-inline-left .et_pb_button_module_wrapper {
    display: inline-block;
    margin: 0 15px 0 0;
}
.btn-inline-left {
    text-align: left !important;
}
.btn-inline-center .et_pb_button_module_wrapper {
    display: inline-block;
    margin: 0 15px 0 0;
}
.btn-inline-center {
    text-align: center !important;
}

/* Video module play button styling */
.et_pb_video_play {
	background-color: #ffca05;
	left: 0%;
    bottom: 0%;
	top: auto;
	margin-left: 0rem !important;
    margin-top: 0rem !important;
}
.et_pb_video_play:hover {
	background-color: #ff6666;
}
.et_pb_video_play:before {
    content: "\45";
	color: #fff;
}
.et_pb_video_overlay_hover:hover .et_pb_video_play:before {
    transition: all .2s !important;
    background-color: #ff6666;
}
.et_pb_video_overlay_hover:hover {
    background-color: rgba(0,0,0,.0) !important;
}
@media only screen and (min-width: 1200px) {
	.et_pb_video_play {
	padding: 30px 0px 30px 0px;
	}
	.et_pb_video_play:before {
	padding: 30px 30px 35px 30px;
	}
}

/* Increase vertical margin on related content sidebar widget */
.et_pb_widget ul li {
    margin-bottom: 1em;
}

/* Adds padding to end of bullet text items */
.et_pb_text_inner li {
	padding-bottom: 20px;
}

/* Adds additional padding to breadcrumb seperator */
#breadcrumb-spacer {
	padding: 0 10px 0 10px;
}

/************************************************
                     MISC
*************************************************/

/* Styles the newsroom filter on tablet and mobile */
@media only screen and (max-width: 980px) {
.newsroom_menu .et_mobile_nav_menu:after {
 position: relative !important;
 content: 'Filter by categories';
 left: 10px;
	color: #262626!important;
	font-size: 16px;
	font-family: 'Source Sans Pro',Helvetica,Arial,Lucida,sans-serif;
}
.newsroom_menu .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    justify-content: end;
}
.newsroom_menu .et_mobile_nav_menu {
    width: 100% !important;
}
.newsroom_menu .et_mobile_menu {
    box-shadow: none;
	padding: 30px 0px;
}
.newsroom_menu li.menu-item.menu-item-type-taxonomy.menu-item-object-category:after, li.menu-item.menu-item-type-taxonomy.menu-item-object-post_tag:after {
	display: none;
}
.newsroom_menu .et_mobile_menu li {
    text-align: left;
}
	.newsroom_menu .et_mobile_menu li a {
		padding: 10px 48px;
	}
}

.container {
	width: 100%;
	max-width: 100%;
}

/* Hides post excerpt on Home page news ticker */
.hometicker .et_pb_slide_content {
	display: none !important;
}
/* Style the new ticker item on the home page */
.hometicker .et_pb_post {
    margin-bottom: 0px;
}

#reveal {
	display: none;
}

.post-password-required .et_password_protected_form {
    padding-top: 300px;
    max-width: 800px;
    margin: auto;
}