/*
Theme Name:     WBG Child Theme
Description:    Child Theme of Divi, for Womens Budget Group
Author:         Murph
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* ==================================== 
FONTS
======================================= */
#page-container {
	padding-top: 198px !important;
}
#main-content .container {
	padding-top: 0;
}

blockquote {
	border-color: #914594; 
}

blockquote p {
	font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
	padding-bottom: 1em;
	font-size: 
}

blockquote p:last-of-type {
	padding-bottom: 0;
}

sup {
	vertical-align: bottom;
	font-size: small;
}

/*Appearance of category links below titles on posts*/

.et_pb_post .post-meta {
	font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
	font-size: 16px !important;
	margin-bottom: 24px !important;
}
@media (max-width: 479px) {
	.et_pb_post .post-meta {
		padding-bottom: 0;
		margin-bottom: 0!important;
	}
}

.post-meta a {
	text-decoration: underline !important;
}

/*For the appearance of names on Management list page*/

.management-list-name {
	font-size: 1.2em;
	font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
	color: #914594;
}

.management-list h4 {
	margin-bottom: 0.5em;
}

.management-list p {
	margin-bottom: 1em;
}

/* ==================================== 
FONTS
======================================= */
/* Font Awesome Icons */
.fa-envelope-o:before,
.fa-twitter:before,
.fa-facebook {
	font-size: 25px;
	color: #222222;
}

/* ==================================== 
GLOBAL
======================================= */

/*Remove read more buttons*/

.more-link {
	display: none !important;
}

/*Off white background*/

#et-main-area {
	background-color: #f3f3f3 !important;	
}

/*Ensuring off white background is seen*/

.et_pb_section, #main-content {
	background-color: inherit !important;
}

/* ==================================== 
NAVIGATION
======================================= */

/* Site search Icon */

/* Reposition default Divi search feature */
#et_top_search {
	float: right !important;
    bottom: 31px;
    left: 37px;
}

/* Main Nav
======================== */

#main-header {
	box-shadow: none;
}
/* Header Logo */
.et_header_style_centered #main-header .logo_container {
	text-align: left;
}

/* Widen Main Nav and z-index */
#top-menu-nav {
	width: 100%;
	margin-bottom: -8px
}

#et-top-navigation {
	margin: 1em 0 0 !important;
	z-index: 100;
}

#top-menu > li {
	width: 25%;
	float: left;
	padding: 1.5em 1em 0;
}

#top-menu > li:first-child {
	padding-left: 1em;
}

#top-menu > li:last-child {
	padding-right: 1em;
}

#top-menu > li:nth-child(1) {
	background-color: #914594;
}

#top-menu > li:nth-child(2) {
	background-color: #735f92;
}

#top-menu > li:nth-child(3) {
	background-color: #543982;
}

#top-menu > li:nth-child(4) {
	background-color: #665c76;
}

#top-menu > li > a {
	text-transform: uppercase;
	font-size: 18px;
	margin: 0 !important;
	padding-bottom: 1.3em !important;
	color: white;
}

#top-menu li li a {
	padding: 1em;
}

#top-menu .sub-menu {
	margin-left: -1em !important;
}

/*Active page states*/

#top-menu > .current-menu-item {
	background-color: #95b6bd !important;
}

#top-menu > .current-menu-item > a, #top-menu > .current-menu-item > a:hover, #top-menu > .current-menu-item > a:visited, #top-menu > li.current-menu-ancestor > a {
	color: white !important
}

/* Top (secondary) Nav
======================== */

#top-header {
	border-bottom: 1px solid #f2f2f2;
}

#top-header a {
	text-transform: inherit;
	font-size: 16px;
	color: #888 !important;
}

/* Sub-Nav Dropdown
======================== */

#et-top-navigation .sub-menu, #et-secondary-menu .sub-menu {
	background-color: white !important;
	border-top: 0px !important;
}

#et-top-navigation .sub-menu li, #et-secondary-menu .sub-menu li {
	text-align: left !important;
	padding: 0 1em !important;
}

#et-top-navigation .sub-menu a, #et-secondary-menu .sub-menu a {
	color: #777 !important;
	text-transform: capitalize !important;
	font-size: 16px !important;
}

/* Footer Nav
=======================*/

/* Hide Divi Bottom Bar */
#footer-bottom {
	display: none;
}

/* Footer Nav Items */
.footer-widget li {
	float: left;
}
.footer-widget li:before {
	display: none;
}

/* Footer positioning - keeps the footer at the bottom even on short pages - and styling
=======================*/

html, body {
	height: 100%;
}

#page-container {
	min-height:100%;
	position:relative;
}

#et-main-area {
	padding-bottom: 141.59px; /*Height of footer*/
	/*margin-top: 3em;*/
}
@media (max-width: 980px) {
	#et-main-area {
		padding-bottom: 120.59px; /*Height of footer*/
	}
}

#main-footer {
	width: 100%;
	height: auto;
	position: absolute;
	bottom: 0;
	left: 0;
	/*Styling*/
	background-color: white;
	border-top: 5px solid #95b6bd;
	color: #666;
}

#footer-widgets .footer-widget li a, .footer-widget {
	color: inherit;
}

#footer-widgets .footer-widget li a:hover {
	color: inherit;
	opacity: 0.7;
}

/*Display of 05creative* logo*/

.et_pb_widget, #menu-footer-menu {
	width: 100%;
}

ul#menu-footer-menu li:last-child {
	float: right !important;
}

ul#menu-footer-menu li:last-child a {
	color: #888 !important;
}

/* Breadcrumb
=======================*/

.breadcrumb-container {
	word-wrap: break-word;
	white-space: -moz-pre-wrap;
	white-space: pre-wrap;
}
.breadcrumb-container li a {
	font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
	color: #666666;
	padding: 5px 0 !important;
}
.breadcrumb-container li:first-child a {
	margin-left: 0;
	padding-left: 0;
}
.breadcrumb-container li:first-child .separator:first-child {
	display: none;
}
.breadcrumb-container li:last-child .separator:last-child {
	display: none;
}
/* Switch Off Breadcrumb */
.breadcrumb-container {
	display: none;
}


/* Sidebar Tabs
=======================*/
/* Single Post Heading / meta / breadcrumb */
.single.et_pb_pagebuilder_layout.et_full_width_page .et_post_meta_wrapper {
	max-width: 1080px;
	margin: auto;
}
.entry-content {
    margin: auto;
}

.et_pb_widget_area_left {
	border: none;
}

.et_pb_widget ul li {
	margin-bottom: 1em;
}

.category-sidebar .sub-menu {
	margin-top: 1em;
	padding-top: 1em !important;
	border-top: 1px solid white;
	color: #95b6bd !important;
}

.menu > li > a {
	color: #914594 !important;
	text-transform: uppercase;
}

/* Tags Cloud */
.widget_tag_cloud {
	text-align: right;
}
.widgettitle {
	font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
	text-transform: uppercase;
	font-size: 1.050em;
	color: #914594;
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: 1px solid #ffffff;
}
.tagcloud a {
	text-transform: uppercase;
}

/* Tag Archive Page */
#left-area .tag-archive-left-area article img {
	display: none !important;
}

/* Remove Sidebar widget on tablet down */
@media (max-width: 980px) {
	.et_pb_widget_area {
		display: none;
	}
}

/* ==================================== 
BLOG GRID CUSTOMISATION - FEATURE COLUMNS
======================================= */

/* Custom Blog Grid Module */
.custom-cat-blog .post-meta {
	margin: 0 0 1.5em 0;
}

.feature-section {
	background-color: #95b6bd !important;
	min-height: 320px;
	margin-top: 0;
}

.feature-section .entry-title {
	margin-bottom: 0;
	padding-bottom: 6px;
}

/* Hide Featured images within post (for display on homepage only) */
.et_pb_post .et_post_meta_wrapper img {
	display: none;
}
/* Hide featured post in blog listing only */
#analysis-feature-blog-listing .entry-featured-image-url {
	display: none;
}

/* Article hover states */

.et_pb_blog_grid_wrapper .et_pb_post {
	transition: background-color 0.5s ease;
}

.et_pb_blog_grid_wrapper .et_pb_post:hover {
	background-color: #F4F7F8;
}

/* MAIN PAGE TITLES */
#cat-page-title-row {
	width: 100%;
}
@media (max-width: 980px) {
	#cat-page-title-row {
		padding: 0;
	}
}

/* ==================================== 
CALL TO ACTION
======================================= */

/* Fullwidth Call To Action */
.et_pb_promo_description {
	padding-bottom: 0;
}
.fullwidth-cta {
	padding: 2em 0;
}

/* ==================================== 
LINKS
======================================= */

/*Default links*/

a, a:link {
	transition: color .8s;
	color: #914594;
}

a:visited {
	color: #823E85;
}

a:hover {
	color: #543982;
}

a:active  {
	transition: color .8s;
	color: #543982;
}

/*Category modules and links*/

.category-events, .category-news, .category-analysis, .category-resources, .category-events-featured, .category-news-featured, .category-analysis-featured, .category-resources-featured, .category-main-feature {
	border-top: 5px solid #d8d8d8 !important;
}

.category-events, .category-events-featured, .category-main-feature {
	border-top-color: #543982 !important;
}
.category-events a, .category-events-featured a {
	color: #543982; 
}
.category-events a:hover, .category-events-featured a:hover, .category-main-feature a:hover {
	color: #432d68;
}
.category-events a:visited, .category-events-featured a:visited, .category-main-feature a:visited {
	color: #4b3375;
}

.category-news, .category-news-featured {
	border-top-color: #735f92 !important;
}
.category-news a, .category-news-featured a {
	color: #735f92;
}
.category-news a:hover, .category-news-featured a:hover {
	color: #5c4c74;
}
.category-news a:visited, .category-news-featured a:visited {
	color: #675583;
}

.category-analysis, .category-analysis-featured {
	border-top-color: #914594 !important;
}
.category-analysis a, .category-analysis-featured a {
	color: #914594;
}
.category-analysis a:hover, .category-analysis-featured a:hover {
	color: #743776;
}
.category-analysis a:visited, .category-analysis-featured a:visited {
	color: #823e85;
}

.category-resources, .category-resources-featured {
	border-top-color: #665c76 !important;
}
.category-resources a, .category-resources-featured a {
	color: #665c76;
}
.category-resources a:hover, .category-resources-featured a:hover {
	color: #51495E;
}
.category-resources a:visited, .category-resources-featured a:visited {
	color: #665c76;
}

/* ==================================== 
HOMEPAGE
======================================= */

#home-custom-blog-grid-header {
	background-color: #95b6bd !important;
	padding: 16px 0 16px;
}
#home-custom-blog-grid .column.size-1of1 {
	width: 100%;
}
/* Homepage Feature Header */
#home-custom-blog-grid-header .et_pb_section {
	padding: 0;
}
#home-custom-blog-grid-header .column.size-1of2 {
	width: 100% !important;
}
#home-custom-blog-grid-header .column.size-1of2 article {
	margin-bottom: 0 !important;
}
@media (max-width: 980px) {
	.home-single-blog-col-1 .custom-cat-blog .column.size-1of2,
	.home-single-blog-col-2 .custom-cat-blog .column.size-1of2 {
		width: 100% !important;
	}
#home-custom-blog-grid .custom-cat-blog .column.size-1of2 article {
		margin-bottom: 0;
	}
}

#home-custom-blog-grid .et_pb_row_2 {
	padding-top: 2.5em;
	padding-bottom: 0;
}

#home-custom-blog-grid .et_pb_row_3, .et_pb_row_4 {
	padding: 0;
}

#home-custom-blog-grid .et_pb_row_4 {
	padding-top: 2em;
	border-top: 1px solid #d3d3d3 !important;
}

#home-custom-blog-grid .et_pb_text_0 {
	padding-top: 0 !important;
}

/* ALL OTHER FEATURE SECTIONS */

/* Hide empty 2nd column in featured sections */


.feature-section {
	padding-bottom: 0;
}
.feature-row article {
	margin-bottom: !important;
}
.feature-row .column.size-1of2:nth-child(2) {
	display: none;
}

/*original*/

/*#feature-col-1 .column,
#feature-col-2 .column {
	width: 100% !important;
}
#feature-col-1 article,
#feature-col-2 article {
	margin-bottom: 0;
}*/

/* NEW SECTION TOP FEATURE */

#feature-section-top,
#feature-section-bottom {
	padding: 32px 0 32px;
}
#feature-section-top .et_pb_row {
	padding: 0;
}
@media (max-width: 980px) {
	#feature-section-top,
	#feature-section-bottom  {
		padding: 52px 0 16px;
	}
	#feature-section-top,
	#feature-section-bottom {
		padding-top: 32px;
	}
	#feature-section-top article {
		margin-bottom: 4.5% !important;
	}
	#feature-section-bottom article {
		margin-bottom: 
	}
	#feature-section-top .column.size-1of2,
	#feature-section-bottom .column.size-1of2 {
		margin: 0 7.5% 1.5% 0 !important;
	}
}
#feature-section-top .feature-col-1 .column.size-1of2,
#feature-section-top .feature-col-2 .column.size-1of2,
 #feature-section-bottom .feature-col-1 .column.size-1of2,
 #feature-section-bottom .feature-col-2 .column.size-1of2 {
	width: 100% !important;
}
#feature-section-top .feature-col-1 .column.size-1of2 article,
#feature-section-top .feature-col-2 .column.size-1of2 article,
#feature-section-bottom .feature-col-1 .column.size-1of2 article, 
#feature-section-bottom .feature-col-2 .column.size-1of2 article {
	margin-bottom: 0;
}

/* NEW SECTION BOTTOM FEATURE*/


/*Intro*/

.about-wbg {
	color: #543982 !important;
}

.about-wbg em {
	font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
	font-size: 1.325em; 
}

.about-wbg h4 {
	font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
	color: inherit;
}

.about-wbg p {
	margin-top: 1em;
}

.about-wbg a {
	color: #543982;
}


/* ==================================== 
SIDEBAR
======================================= */

.category-sidebar {
	padding-right: 0;
}
.category-sidebar ul {
	padding: 1em;
	text-align: right;
}

.category-sidebar .current-menu-item > a {
	color: #914594 !important;
}

.menu-news-categories-container {
	display: none;
}

/* ==================================== 
BLOG POST DETAIL PAGE
======================================= */
.blog-post-page-section .et_pb_row:first-child {
	padding: 0;
}
.blog-post-page-section .et_pb_row:first-child .et_social_inline {
	margin-top: 2em;
	margin-bottom: 0;
}
.blog-post-page-row {
	padding: 0 0 3%;
}
.single-post #left-area {
	padding-bottom: 0;
}
.single .et_pb_post {
	margin-bottom: 0;
}
.single .post {
	padding-bottom: 16px;
}
.single-post #left-area .et_pb_section {
	padding-bottom: 0;
}
/* Blog Post widths */
.blog-post-page-section,
.sidebar-blog-section {
	max-width: 1200px;
	padding-right: 2em;
	margin: auto;
	width: 80%;
}
@media (max-width: 980px) {
	.blog-post-page-section,
	.sidebar-blog-section {
		padding-right: 0;
	}
}
.blog-post-page-row {
	width: 100% !important;
}
@media (max-width: 980px) {
	.blog-post-page-row {
		width: 80% !important;
	}
}
@media (max-width: 980px) {
	.blog-post-page-row {
		width: 100% !important;
	}
}

.blog-post-text > p:first-of-type {
	font-weight: bold;
}

/*Limiting the width of blog post text to increase legibility*/

.blog-post-text > p, .blog-post-text > blockquote, .blog-post-text > ul, .blog-post-text > ol {
	max-width: 600px;
}

.entry-title {
	font-size: x-large !important;
	line-height: 1.15;
}

.blog-post-page-section .entry-title {
	font-size: xx-large !important;
}

/* News Blog Post (no sidebar) */

#news-blog-content {
	padding: 0 2em;
}
/*#news-blog-content .et_pb_row {
	width: 100% !important;
}*/

/* ==================================== 
SOCIAL SHARING
======================================= */
.et_monarch .et_social_networks {
	padding-left: 20%;
}
@media (max-width: 980px) {
	.et_monarch .et_social_networks {
		padding-left: 0;
	}
}
#news-blog-content .et_pb_row .et_monarch .et_social_networks {
	padding-left: 0 !important;
}

/* ==================================== 
EVENTS
======================================= */

/*Event info within posts*/

.event-time, .event-date, .event-location {
	display: inline-block;
}

/* ==================================== 
TOP BAR SUB PAGES
======================================= */

.management-list img.alignleft {
	max-width: 80px;
}

#funder-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

#funder-logos div {
	padding: 0 10px 10px;
	display: inline-block;
	flex-basis: 25%;
	min-width: 200px;
}

/* Newsletter Signup */

#newsletter-cta-row {
	padding: 0 !important;
	padding-bottom: 20px !important;
}

/* Twitter Feed */
#twitter-feed {
	max-height: 330px;
    overflow: hidden;
}

