/*
Theme Name: divi child theme
Theme URI: http://backtofrontdesign.co
Description:
Template: Divi
*/

/* Fixing error 23/8/21 where float is missing from divi columns */

@media (min-width:981px) {
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3,
.et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3,
.et_pb_grid_item.program-area,
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item,	.et_pb_gutters3 .et_pb_column_3_4, .et_pb_blog_grid .column.size-1of2 {
	float:left;
}

}


body {
  font-weight: 400;
}



#circle-image img { border-radius: 50%; }
.et_post_meta_wrapper img {
    max-width: 50%;
    height: auto;
}
/*** Take out the divider line between content and sidebar ***/
#main-content .container::before {
	background: none!important
		;
}

/*** Hide Sidebar ***/
#sidebar {display:none;}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}
#top-menu a:hover,
#top-menu li.current-menu-item > a {
	color: #00a650!important;
	opacity: 1!important;
}

.content a:hover {
	font-weight:800;
}

@media (max-width: 767px){
.alignright.size-large {
	margin-left: 0;
}
	.alignleft.size-large {
	margin-right: 0;
}
}

/* Member Group terms and Program Area Terms built with shortcodes */

.et_pb_grid_item.member-group a,
.et_pb_grid_item.member-group strong,
.et_pb_grid_item.program-area a,
.et_pb_grid_item.program-area strong{
	text-align: center;
	display: block;
}
.et_pb_grid_item.member-group .group-name {
	min-height:6em
}

.home .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item.program-area h3 {
	font-size: 16px;
}

@media all and (min-width: 981px) {
	.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item.program-area {
	width: 29.667%;
	}
	.home .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item.program-area {
	width:9%;
}
	.home .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item.last_in_row {
		margin-right: 0%;
	}

	.home .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item.program-area:last-of-type  {
		margin-right:0%;
		clear:none;
	}
}

@media all and (max-width: 479px) {
	.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item.program-area {
		width: 47.25%;
	}
}
/* News Page */

.et_pb_image_container  {
	margin: 0!important;
}
	.page-id-542 .entry-featured-image-url img{
		width:100%;
		margin-top:2em;
	}




/* Custom archives built in Divi Theme builder */

.tax-program .et_pb_section:first-of-type:after {
	background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI2ZmZmZmZiI+PHBhdGggZD0iTTAgMGw2NC44IDM4LjY5IDkxLjItMy4xOCA5NS40NSAzNC44NCAxMjAuMDQuMjQgNzEuNSAzMy4zNSA5MC4wOC0zLjkxIDEwNi45MSAzNy42MiAxMDIuMzgtMzcuMTcgODUuNTUgMTAuNjUgODguMTEtNy4xOSA3NS45NS0zOC42NiA3My4yMSA1LjMxIDY2Ljc4LTIyLjEgNzctLjQyIDcxLTQ4LjA3djE0MEgwVjB6Ii8+PC9nPjwvc3ZnPg==);
background-size: 100% 17px;
bottom: 0;
height: 17px;
z-index: 1;
}

.tax-program .et_pb_section_0_tb_body,
.tax-program .et_pb_section_0_tb_body .et_pb_row:first-child{
	padding-top: 0!important;
}

.tax-program .category-image img {
	width:  100%;
}


.archive .et_pb_blog_grid_wrapper .et_pb_image_container {
max-height: 150px;
overflow: hidden;
}

.archive .archive-description p:first-of-type {
	font-weight: 600;
	font-size: 20px;
}

.archive p {
 	font-size: 16px;
	font-weight: normal;
}

.et_pb_post .post-meta.custom-meta {
  font-size: 14px;
}

.et_pb_post .post-meta.custom-meta.beneath-content {
	line-height: 20px;
	margin-top: 12px;
}

#left-area .post-meta.custom-meta a:hover,
.et_pb_bg_layout_light .et_pb_post .post-meta a:hover {
  color:#00a650;
}

/* Except for Content Type archive which is in  taxonomy-content_type template, and search results using index.php */

.archive.tax-content_type .archive-title,
.search-results .archive-title{
  text-align: center;
  margin-bottom: 3em;
}

.archive.tax-content_type .entry-featured-image-url,
.search-results .entry-featured-image-url {
	margin-right: 3em;
    max-width: 25%;
	/* Width set in index.php */
    float: left;
	margin-bottom: 2em;
}

@media only screen and ( min-width: 980px ) {
	.archive.tax-content_type .entry-featured-image-url ,
	.search-results .entry-featured-image-url {
		max-width: 20%;
	}
}

.archive article:not(:first-of-type) {
	clear: both;
	margin-top:3em;
}

.archive article:after,
#search-results article:after {
  content: "";
  display: table;
  clear: both;
}

.archive #main-content {
	margin-bottom: 6em;
}


/*Search  */

@media only screen and ( max-width: 980px ) {
    #et_top_search { display:none; }
}

#et_search_icon:before {
	font-size:14px;
}

#search-results img {
    width: 200px;
    float: left;
    margin-right: 1em;
    max-width: 20%;
}


/* Newsletter Subscription */
.tnp-subscription #areas-of-interest .tnp-field-checkbox:not(:last-of-type) {
	margin-bottom:0;
}
.tnp-subscription #areas-of-interest .tnp-field-checkbox label {
	font-weight:   400;
}


/*Footer */

.et_pb_widget_area_left {
	border-right:none;
}
.et_pb_widget {
    float: none;
    width: 80% !important;
    margin: 0 auto !important;
	text-align:center;
}
