/*
 Theme Name:     AldersBridge
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    AldersBridge Communities (formerly United Methodist Elder Care)
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here */

/*	
	General Logo Colors Info
	========================
	Burgundy: #862633
	Blue: #1b365d
*/


/**************** GENERAL ***************/

/* OSWALD Font Overrides */

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	}

/*
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: #a10040;
	}
*/

h2 {
	font-size: 1.6em;
	}

h3 {
	font-size: 1.4em;
	}

h4 {
	line-height: 1.3em;
	}

.et_pb_blurb {
	margin-bottom: 0;
	}

.et_pb_promo_button {
	width: 75%;
	}

.et_pb_member_position {
	color: black;
	font-weight: bold;
	}

.a11y-toolbar {
	top: 15%;
	z-index: 100000;
	}

.mobile_menu_bar::before,
.mobile_menu_bar::after
	{
	color: #862633 !important;
	}

/* VERTICALLY align a module in a column */
/* To make this work, you need to assign the class name 'vertically-centered-column'		*/
/* to the column ('Advanced' > 'CSS ID & Classes' > 'CSS Class' in question AND				*/
/* set the row the column is in to 'Design > 'Sizing' > 'Equalize Column Heights' = 'YES'	*/
.et_pb_equal_columns > .vertically-centered-column {
	margin-top:auto;
	margin-bottom:auto;
	}


/* Bloomerang Payment overlay ended up underneath header on phones. Force higher layer. */
.spreedly-modal-overlay {
	z-index: 999999 !important;
	}

/**************** HOME PAGE SLIDER FULL WIDTH ***************/

div.ms-parent-id-4 .ms-tabs .ms-thumb {
	padding: 17px 10px 0 !important;
	}

div.ms-parent-id-4 div.ms-thumb * {
	color: #fff;
	text-shadow: none;
	text-align: center !important;
	line-height: 20px;
    font-size: 15px;	/* Applies to the H5 */
	font-weight: bold;	/* Ditto */
	}

div.ms-thumb-ol {
	display: none;
	}

div.ms-parent-id-4 .ms-thumb-frame {
	background-color: #862633 !important;
	}

div.ms-parent-id-4 .ms-thumb-frame-selected {
    background-color: #1b365d !important;
	}

/**************** MAIN NAV ***************/

.et_fullwidth_nav #main-header .container {
	padding: 0;
	}

.et_header_style_centered #main-header div#et-top-navigation {
	background-color: #8f1838;
	}

.et_header_style_centered #top-menu {
    padding-top: 15px;
	}

.et_header_style_centered #top-menu > li > a {
    padding-bottom: 15px !important;
	}

#top-menu li .menu-item-has-children > a:first-child::after {
	content: "5";	/* Points the subnav arrow sideways rather than down */
	}

#et-top-navigation {
	font-weight: normal;
	}

#et-top-navigation ul ul li a {
	line-height: 1.5em;
	}

#et-top-navigation ul ul li a:hover {
	background-color: #cadefb;
	}

.et_nav_text_color_light,
.et_nav_text_color_light .et-social-icon a,
.et_nav_text_color_light #et-info a {
	font-size: 1.1em;
	}

.et_color_scheme_red .et_pb_counter_amount,
.et_color_scheme_red .et_pb_featured_table .et_pb_pricing_heading {
    background-color: #1b365d !important;
	}

.sub-menu .menu-item-has-children > a:first-child::after {
	top: 10px !important;
	transform: none !important;
	right: 0 !important;
	}

.et-search-form input {
	background: #eee;
	border: 1px solid #aaa;
	padding: 3px;
	}


.et_header_style_centered .et-search-form input,
.et_header_style_centered span.et_close_search_field {
	top: 82%;
	}

/**************** SEARCH BAR ***************/

.et_search_form_container input {
	height: 30px;
	background-color: #1b365d;
	}

#et_search_icon:hover::before,
#et_search_icon:hover {
	color: #ddada2 !important;
	}

/**************** MAIN MENU SUB-NAV ***************/

.winslow-gardens-nav a:hover {
	color: #fff !important;
	background-color: #6bc200 !important;
	}

.arbor-hill-nav a:hover {
	color: #fff !important;
	background-color: #167000 !important;
	}

.linn-health-nav a:hover {
	color: #fff !important;
	background-color: #0089cc !important;
	}

.st-germain-nav a:hover,
.aldersbrige-consultants-nav a:hover {
	color: #fff !important;
	background-color: #a6594c !important;
	}

/**************** SECONDARY NAV ***************/

#et-secondary-nav li ul {
	border-top: 3px solid #a10040;
	}

#et-secondary-nav a {
	font-size: 1.1em;
	}

#et-secondary-nav ul li a {
	font-size: 1.1em;
	text-align: left;
	}

#et-secondary-nav ul li a {
	font-weight: normal;
	}

#et-secondary-nav .donate-nav a {
	background-color: #8f1838;
	color: #fff;
	padding: 3px 8px;
	border-radius: 3px;
	letter-spacing: 0.25px;
	margin-top: -2px;
	font-weight: normal;
	}

/* Sub, sub nav */
.et_header_style_centered .nav li ul ul {
	top: -10px;
	}

#top-header .et-social-icons {
	float: right;
	margin-right: 0;
	}

@media all and ( max-width: 980px ) {
	
	#top-header .et-social-icons a {
		font-size: 17px;
		}
	}


/**************** HEADER *****************/

img#logo {
	margin-bottom: 5px;
	}

.et_fixed_nav #logo {
	max-height: 100px;
	}

#top-header {
	width: 45%;
	position: absolute;
	right: 7%;
	}	

@media all and (min-width: 980px)	{		
	.logo_container {
		width: 80%;
		text-align: left;
		margin: 0 auto;
		}	
	}

@media all and ( max-width: 980px ) {
	.et_header_style_centered #main-header	{
		padding-top: 10px;
		}
	}

@media all and ( max-width: 767px ) {
	.et_fixed_nav #logo {
		max-height: 80px;
		}
	}	

/**************** HOME *****************/

#home-page-events .et_pb_post a img {
	max-height: 150px;
	max-width: 150px;
	width: auto;
	height: auto;
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
	}

@media all and (min-width: 480px) {

	#home-location-row .et_pb_main_blurb_image {
		display: block;
		height: 145px;
		position: relative;
		margin-bottom: 1em;
		}

	#home-location-row .et_pb_image_wrap	{
		display: block;
		position: absolute;
		width: 100%;
		bottom: 0;
		}
	}


.home .home-location-enhanced-row-2 .et_pb_column_1_4 {
	width: 24% !important;
	margin-left: 0.5%;
	margin-right: 0.5% !important;
	display: flex;
	flex-direction: column;
	}

.home .home-location-enhanced-row-2 .et_pb_column_1_4 .et_pb_text  {
	flex-grow: 1;
	}	

.home .home-location-amenities-row-2 .et_pb_column_1_5 {
	width: 19% !important;
	margin-left: 0.5%;
	margin-right: 0.5% !important;
	display: flex;
	flex-direction: column;
	}

.home .home-location-amenities-row-2 .et_pb_column_1_5 .et_pb_blurb {
	flex-grow: 1;
	}

@media all and (max-width: 980px) {	
	.home .home-location-amenities-row-2 .et_pb_column_1_5,
	.home .home-location-enhanced-row-2 .et_pb_column_1_4 {
		margin-bottom: 1em !important;
		width: 100% !important;
		}
	}

/*
@media all and (min-width: 980px) {
	
	.home-location-enhanced-row .et_pb_blurb_description {
		display: table-cell;
		vertical-align: middle;
		height:155px;
		}
	}

.home-location-enhanced-row .et_pb_blurb_description,
.home-location-enhanced-row .et_pb_blurb_content img {
	background: rgba(255,255,255,0.9);
	padding: 1em;
	border-radius: 5px;
	border: 1px solid #666;
	transition: 0.5s;
	}

.home-location-enhanced-row .et_pb_with_border:hover .et_pb_blurb_content img,
.home-location-enhanced-row .et_pb_with_border:hover .et_pb_blurb_description {
	background: #fff;
	transition: 0.5s;
	}
*/

/**************** NEWS PAGE *****************/


#latest-blog-posts-spec img {
	float: left;
	height: 130px;
	width: 130px;
	margin-right: 0.75em;
	/* margin-bottom: 0.5em; */
	}

#latest-blog-posts-spec .post-meta a {
	/* background-color: black;
	padding: 0.25em 0.5em; */
	white-space: nowrap;
	/* line-height: 2em; */
	}

#latest-blog-posts-spec .post-meta a:hover {
	text-decoration: underline;
	}

#latest-blog-posts-spec .entry-featured-image-url {
	margin-bottom: 0;
	}

#latest-blog-posts-spec article {
	box-shadow: 4px 4px 12px rgba(0,0,0,0.5);
	padding: 0.6em;
	margin: 0 0 1.5em 0;
	}

#latest-blog-posts-spec article:hover {
	background-color: #f3f3f3;
	}

#latest-blog-posts-spec .entry-title a:hover,
#older-posts-spec article h2 a:hover {
	color: #8f1838;
	}

#latest-blog-posts-spec a.more-link {
	clear: none;
	display: inline;
	float: right;
	text-transform: capitalize;
	}

#older-posts-spec article {
	margin-bottom: 1.5em;
	}

#older-posts-spec .entry-title {
	padding-bottom: 5px;
	}

#older-posts-spec .published {
	margin-left: 1em;
	}

#post-layout-sidebar #older-posts-spec article {
	margin-bottom: 0;
	}


/**************** CONTENT *****************/

div.et_pb_section {
	padding: 15px 0;
	}

div.et_pb_row {
	padding-top: 10px;
	}

.et_pb_text {
    margin-bottom: 10px;
	}

div.ms-parent-id-4 div.ms-thumb * {
	font-size: 1.2em;
	letter-spacing: 1px;
	font-weight: normal;
	}

#gallery-page-section .wpmf-slick-text,
#gallery-page-section .slick-dots {
	display: none !important;
	}

/**************** CONTENT *****************/

#giving-menu-sidebar .et_mobile_nav_menu:before,
#locations-sidebar .et_mobile_nav_menu:before,
#services-sidebar .et_mobile_nav_menu:before {
	color: #fff;
	padding: 0 1em;
	}

#giving-menu-sidebar .et_mobile_nav_menu,
#services-sidebar .et_mobile_nav_menu,
#locations-sidebar .et_mobile_nav_menu {
	background-color: #8f1838;
	margin: 0 auto;
	border-radius: 3px;
	}

#menu-our-services::before,
#menu-giving-menu::before,
#menu-our-locations::before {
	padding: 5px 10px;
	background-color: #8f1838;
	text-align: center;
	width: 100%;
	color: #fff;
	font-weight: bold;
	}

#menu-our-services,
#menu-giving-menu,
#menu-our-locations {
	border: 1px solid #ccc;
	box-shadow: 3px 3px 6px #bbb;
	}

#menu-our-services li,
#menu-giving-menu li,
#menu-our-locations li {
	width: 100%;
	margin-top: 1px;
	margin-bottom: 1px;
	}

#menu-our-services li a,
#menu-giving-menu li a,
#menu-our-locations li a{
	width: 100%;
	padding-top: 12px;
	padding-bottom: 12px;
	}

#menu-our-services li:hover,
#menu-giving-menu li:hover,
#menu-our-locations li:hover {
	font-weight: 500;
	background-color: #eee;
	}

#giving-menu-sidebar .et_mobile_nav_menu:before,
#menu-giving-menu::before {
	content: 'Giving & Support Menu';
	}

#locations-sidebar .et_mobile_nav_menu:before,
#menu-our-locations::before {
	content: 'Locations Menu';
	}

#services-sidebar .et_mobile_nav_menu:before,
#menu-our-services::before {
	content: 'Services Menu';
	}

#menu-our-locations .nav-winslow:hover a { 
	color: #81a04f !important;
	}

#menu-our-locations .nav-linn:hover a {
	color: #046c98 !important;
	}

#menu-our-locations .nav-arbor-hill:hover a {
	color: #325e42 !important;
	}

#menu-our-locations .nav-st-germain:hover a {
	color: #aa6256 !important;
	}


/************** PTA-PLUGIN Directory output ***************/

/*************** 2022 REFRESH ADDITIONS *****************/

.type-page .pta_directory_table {
	border: 1px solid #d0d1d3 !important;
	width: 100% !important;
	}

.type-page .pta_directory_table tr {
	width: 100% !important;
	background-color: #ffffff;
	}

.type-page .pta_directory_table tr:nth-child(odd) {
	background-color: #dcdcde;
	}

.type-page .pta_directory_table tr td {
	padding: 6px 10px;
	width: 22.5%;
	}

.type-page .pta_directory_table tr td:nth-child(5) {
	padding: 6px 10px;
	width: 10%;
	}

.type-page .pta_directory_table a {
	color: #8f1838;
	}

h2.ptamd_location_header:before {
	content: 'Contacts For ';
	}

.type-page .pta_directory_table img {
	min-width: 50px;
	max-width: 100px;
	}

@media all and (max-width: 1260px) {
	#dept-mgrs-row .et_pb_column {
		float: none;
		width: 100%;		
		}	
	
	.type-page .pta_directory_table * {
		font-size: 13px;
		}
	
	}

@media all and (max-width: 980px) {
	.type-page .pta_directory_table td {
		width: 60%;
		padding-left: 2% !important;
		}

	.type-page .pta_directory_table td:last-child {
		width: 40%;
		}
	
	.type-page .pta_directory_table td img {
		float: right;
		}
	
	}

@media all and (max-width: 640px) {

	.type-page .pta_directory_table tr td {
		width: 25%;
		}
	
	.type-page .pta_directory_table tr td:nth-child(5) {
		display: none;
		}

	.type-page .pta_directory_table * {
		font-size: 12px;
		}		

	}




/************** PTA-PLUGIN Member output ***************/

article.member img {
	float: left;
	margin: 0 10px 10px 0;
	border: 1px solid #333333;
	}

article.member h1 {
	margin-bottom: 10px;
	}

/* This type of post follows standard post rules, but we don't want things like date, author, etc., so we suppress its display */
article.member p.post-meta {
	display: none
	}

article.member div.entry-content {
	padding-top: 0
	}

.pta-member-details {
	list-style-type: none !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
	}

.pta-member-details hr {
	border: none;
	border-top: 1px solid #ccc !important;
	}


.pta-member-details span {
	font-weight: bold;
	}
	

/************** CALENDAR ***************/

div.ai1ec-calendar-toolbar {		/*********  HIDE TOOLBAR ON ALL TIME.LY CALENDAR DISPLAYS SITEWIDE -- JRM 23 JUL 15 *********/
	display:none;
	}

div.ai1ec-calendar-view {
	padding-top: 5px;
	}

/************** SIDEBAR ***************/

div.category_posts_description {
	margin: 10px 0;
	font-size: 14px;
	}

h4.widgettitle a {
	color: inherit;
	}

/*
.et_pb_sidebar_0 {
	background-color: #c8c8c8;
	padding: 15px;
	}
*/

.et_pb_sidebar_0 .et_pb_widget li a,
.et_pb_sidebar_0 .et_pb_widget .textwidget a {
	color: #555;
	}

.et_pb_sidebar_0 .et_pb_widget li a:hover,
.et_pb_sidebar_0 .et_pb_widget .textwidget a:hover {
	color: #8F1838;
	/* color: #2ea3f2; */
	}

/************** CONTACT ***************/

.contact-locations-row .et_pb_column_1_5 {
	width: 19% !important;
	margin-left: 0.5%;
	margin-right: 0.5% !important;
	display: flex;
	flex-direction: column;
	}

.contact-locations-row .et_pb_column_1_5 .contact-address-tel  {
	flex-grow: 1;
	}

@media all and (max-width: 980px) {	
	.contact-locations-row.et_pb_row_5col > .et_pb_column.et_pb_column_1_5 {
		margin-bottom: 1em !important;
		width: 100% !important;
		}
	}

.vfbp-form .btn {
	background-color: #8f1838;
	border: #7b1531;
	}

.vfbp-form .btn:hover {
	background-color: #7b1531;
	}

/************** Board of Trustees Document Repository ***************/

div#wtf_fu_show_files_output {
	width: 100%;
	}

div#wtf_fu_show_files_output ul.vertical {
	width: 95%;
	}

div#wtf_fu_show_files_output ul.vertical li.list{
	height: auto;
	width: 100%;
	border: none;
	background-color: #ddd;
	text-align: left;
	padding: 0 0 0 10px;
	margin-left: 0;
	}

div#wtf_fu_show_files_output ul.vertical li.list:hover{
	background-color: #ccc;
	}



/************** FOOTER ***************/

#footer-widgets {
	padding-top: 2em;
	padding-bottom: 2em;
	}

#footer-widgets .footer-widget li::before {
	border: none;
	top: 0;
	left: 0;
	}

#footer-widgets .footer-widget li {
	padding-left: 0;
	}

#main-footer li {
	padding-bottom: 5px;
	}

#text-6 .textwidget a {
	color: #a10040 !important;
	}

#footer-widgets .textwidget a:hover {
    color: #2ea3f2 !important;
	}

.et_pb_gutters4.et_pb_footer_columns3 .footer-widget {
	margin-bottom: 0 ;	
	}

#aldersbridge_custom_icons {
	float: right;
	overflow: hidden;
	}

#aldersbridge_custom_icons img {
	width: auto;
	float: left;
	margin-left: 20px;
	}

#footer-bottom .et-social-icon a {
	font-size: 36px;
	}


@media all and (max-width: 980px) {
	#footer-info {
		clear: both;
		}
	
	#aldersbridge_custom_icons {
		float: none;
		text-align: center;
		width: 100%;
		}
	
	#aldersbridge_custom_icons img {
		float: none;
		}
	
	#aldersbridge_handicapped {
		margin: 0;
		padding: 0 0 0 48px;
		}
	
	#aldersbridge_equal_housing {
		margin: 0;
		padding: 0 0 0 8px;
		}

	#aldersbridge_welcome	{
		margin: 0;
		padding: 0 0 0 10px;
		}
	
	}


/* Responsive Styles Tablet And Below */


@media all and (max-width: 980px) {
	
	.et_header_style_centered #logo {
		max-height: 110px;
		}
	
	.et_header_style_centered .mobile_nav .select_page,
	.mobile_menu_bar::before,
	.mobile_menu_bar::after {
		color: #fff !important;
		}

	#main-footer .et_pb_widget {
		float: none;
		}
	
	}

/*************** 2022 REFRESH ADDITIONS *****************/

.location-sidebar .widget_media_image {
	margin-bottom: 2em !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
	text-align: center;
	}

.location-sidebar .widget_nav_menu ul {
	list-style-type: disc !important;
	padding: 0 0 23px 1em !important;
	}

