/*
Theme Name: Waldorf Moraine Custom Theme
Description: Child Theme for Divi 2.7
Author: Alicia Ozyjowski / Luann Ebert
Author URI: http://www.luannebert.com
Template: Divi
Version: 1.0.0
*/
/*
Revision 8/5/2014 - home page slides
    Aug 9, 2014 - masory blog
    Aug 25 - admission event pull
    May 2016 - revised to accommodate radically revised Divi parent theme
    April 2017 - revised to remove custom styles for home page slider
    May 2017 - revised custom styles for home page sections
    May 2017 - side-by-side events and instagram feed
    July 2018 - adds custom styling for Announcements (standard post)
    Sept 2018 - tweaks for Announcements
    Oct 2019 - more tweaks for Announcements
*/
/*
 colors:
 bright blue: 0066ff and 2ea3f2
 light blue: 0099ff
 red: cc3333;
 darker red: 990033
 orange: ff6600
 dk teal: 297979
 green: 7d933a;
 */
/*
CONTENTS
-BASIC TYPOGRAPHY
---social icons
-FOOTER
-LOGO
-NAVIGATION
---search form
-SECONDARY MENU
-HOME PAGE
-BASIC PAGE
*/
/* =Theme customization starts here
-------------------------------------------------------------- */

/*------------------------------------------------*/
/*-----------------[BASIC TYPOGRAPHY]-------------*/
/*------------------------------------------------*/

h1, h2, h3, h4, h5, h6 { 
	color: #0066ff; 
	padding: 0;
} 

h1 { 
	font-family: Sanchez, Georgia, "Times New Roman", Times, serif;
	font-size: 26px; 
	line-height: 1em; 
	font-weight: 400;
	margin-bottom: 24px; 
	margin-top: 40px;
	}
	
h1:first-of-type, h2:first-of-type { 
	margin-top: 0 !important; 
	} 

/* sub title in main column */
h2 {
	font-family: Raleway, Arial, Helvetica, sans-serif !important;
	font-weight: 600 !important;
	font-size: 18px;
	line-height: 24px;
	margin: 24px 0 8px 0;
}

h4 {
	margin-bottom: 8px;
}

/* title in half column */
div.et_pb_column_1_2 h2 {
	font-family: Sanchez, Georgia, "Times New Roman", Times, serif !important;
	font-weight: 400 !important;
	font-size: 24px !important;
	line-height: 26px !important;
	margin: 24px 0 4px 0;
}

/* dup of h2 for the moment */
h3 {
	font-family: Raleway, Arial, Helvetica, sans-serif !important;
	font-weight: 600 !important;
	font-size: 18px;
	line-height: 24px;
	margin: 24px 0 8px 0;
}

h5 {
	font-family: Raleway, Arial, Helvetica, sans-serif !important;
	font-weight: 600 !important;
	font-size: 16px;
	color: #0066ff;
	font-weight: 600;
}


p {
	font-family: Raleway, Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 16px 0;
	padding: 0;
	}

.et_pb_text ol, .et_pb_text ul {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;	
}

.et_pb_text ul {
	padding-bottom: 12px;
}

.et_pb_text ul li {
	margin-bottom: 6px;	
}

small { font-size: 12px;} 

/* social media icons */
/* see 
https://elegantmarketplace.com/how-to-add-additional-social-media-icons-to-the-divi-footer/ */

.et-social-linkedin a:before { 
	content: '\e09d';
}

.et-social-instagram a:before { 
	content: '\e09a';
}



/*------------------------------------------------*/
/*--------------------[FOOTER]--------------------*/
/*------------------------------------------------*/

footer  {
	background-color: #7d933a !important;
}

#footer-widgets {  
	padding-top: 24px; }

#footer-widgets .footer-widget,
.et_pb_gutters1 #footer-widgets .footer-widget {
	width: 25%;
	padding-right: 20px !important;
	margin-right: 0px !important;
}

.footer-widget, .footer-widget h4.title, .footer-widget p {
	color: #fff !important;
	font-family: Raleway, Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 10px;
	margin-top: 0;
	word-wrap: normal;
}

.footer-widget p a:link,
.footer-widget p a:visited {
	color: #ffffff; 
 }
 
.footer-widget p a:hover,
.footer-widget p a:active {
	color: #ffcc33; 
 }

#footer-bottom {
	background-color: #7d933a;
	border-top: 1px solid #90a357;
}

#footer-bottom p {
	color: #fff;
}

#footer-bottom .et-social-icons a { 
	color: #9daf66;
}

#footer-bottom .et-social-icons a.icon:hover { 
	color: #ffffff !important;} 

#footer-info { font-size: 12px;}

@media all and (min-width: 981px) and (max-width: 1180px) {
	#footer-widgets .footer-widget,
	.et_pb_gutters1 #footer-widgets .footer-widget {
		width: 50% !important;
		margin-right: 0 !important;
	}
}

@media all and (max-width: 980px) {
	#footer-widgets .footer-widget,
	.et_pb_gutters1 #footer-widgets .footer-widget {
		width: 100% !important;
		margin-right: 0 !important;
		margin-bottom: 24px !important;
	}

	.footer-widget.last {
		margin-top: 24px !important;
	}
}

/*------------------------------------------------*/
/*-------------------[LOGO]-----------------------*/
/*------------------------------------------------*/

/* attempting to keep logo and menu apart */ 

@media only screen and (min-width: 1227px) and ( max-width: 1280px ) {
	#logo {
		/*position: absolute; 
		top: 7%;
		left: 0;*/
		max-width: 260px !important;
	}
	/*div.logo_container {
		padding-left: 0px;
	}*/
}

@media only screen and (min-width: 1189px) and ( max-width: 1226px ) {
	#logo {
		/* position: absolute; 
		top: 10%;*/
		max-width: 230px !important;
	}
	/*div.logo_container {
		padding-left: 0px !important;
	}*/
}

@media only screen and (min-width: 1113px) and ( max-width: 1188px ) {
	#logo {
		/* position: absolute; 
		top: 20%;*/
		max-width: 200px !important;
	}
	/*div.logo_container {
		padding-left: 0px !important;
	}*/
}

@media only screen and (min-width: 981px) and ( max-width: 1112px ) {
	#logo {
		/* position: absolute; 
		top: 20%;*/
		max-width: 170px !important;
	}
	div.logo_container {
		padding-left: 0px !important;
	}
	/* #et-top-navigation {
		padding-left: 0px !important;
	} */
	#et_top_search {margin: 0 0 0 0 !important;}
}
/*
@media only screen and ( max-width: 470px ) {
	#logo {
		max-width: 160px !important;
		position: relative;
		padding-top: 24px;
	}
} */

/*------------------------------------------------*/
/*-----------------[NAVIGATION]-------------------*/
/*------------------------------------------------*/
nav#top-menu-nav ul#top-menu.nav li {
	font-family: Raleway, Arial, Helvetica, sans-serif !important;
	font-weight: 500;
	color: #666;
	line-height: 1.35em;
}

@media only screen and (min-width: 981px) and ( max-width: 1150px ) {
	#top-menu > li.menu-item { 
		margin-right: 0px !important;
		padding-right: 10px !important; 
	}
}

@media only screen and (min-width: 981px) and ( max-width: 1070px ) {
	#top-menu li.menu-item { 
		font-size: 13px !important;
	}
	#et_search_icon:before {
    	font-size: 15px;
	}
}
nav#top-menu-nav ul#top-menu.nav li a:link, 
nav#top-menu-nav ul#top-menu.nav li a:visited {
	color: inherit;
}

nav#top-menu-nav ul#top-menu.nav li a:hover, 
nav#top-menu-nav ul#top-menu.nav li a:active {
	color: #ff6600;
}

#top-menu li.current-menu-ancestor > a, 
#top-menu li.current-menu-item > a, 
.bottom-nav li.current-menu-item > a { color: #ff6600 !important; }

/* side nav */

.widget_nav_menu ul.menu li {
	font-size: 16px;	
	font-weight: 500;
	line-height: 20px;
	margin-bottom: 14px;
}

.widget_nav_menu ul.menu li.current-menu-item a {
	color: #ff6600;
}

/* remove sidebar nav for narrower screens */	
@media only screen and ( max-width: 980px ) {
.et_pb_column_1_4:first-of-type { 
	display:none;
	}
}

/* search form */

.et_search_form_container {
	background: #ffffff;
}

/*------------------------------------------------*/
/*--------------[SECONDARY MENU]------------------*/
/*------------------------------------------------*/
/* to accommodate social media icons */
#top-header a, .et-fixed-header#top-header a {
	color: #71bdbd;
}

#top-header a:link, #top-header a:visited,
.et-fixed-header#top-header a:link, .et-fixed-header#top-header a:visited {
	color: #71bdbd;
}

#top-header a:hover, #top-header a:active,
.et-fixed-header#top-header a:hover, .et-fixed-header#top-header a:active {
	color: #ffffff;
}

/*------------------------------------------------*/
/*-----------------[HOME PAGE]--------------------*/
/*------------------------------------------------*/

/*
 * general typography
 *
 */
 
.home h2 {
	font-family: Sanchez, Georgia, "Times New Roman", Times, serif !important; 
	color: #3366cc;
	font-size: 34px;
	line-height: 1;
	font-weight: 400; 	
 }

/*
 * SECTION with MAIN LINKS VIEW OUR CALENDAR, etc.
 * This row has custom id: #wal-section-mainlinks
 */ 
 
.home div#wal_section_mainlinks  {
	/* padding: 25px 0 45px 0; */
	padding: 16px 0 30px 0;  /*new */
}

.home div#wal_section_mainlinks .et_pb_blurb_content  {
	padding: 0; 
}
 
.home div.wal_mod_link_to_key_section .et_pb_main_blurb_image  {
	padding: 0;
	margin: 0 0 10px 0;
 }
 
.home div.wal_mod_link_to_key_section h4 {
	font-family: raleway, Arial, Helvetica, sans-serif;
	font-size: 24px;
	line-height: 1;
	font-weight: 600;
	color: #666;
	padding: 0;
	margin: 0 0 20px 0 ; 
 }
 
.home div.wal_mod_link_to_key_section h4 a:link, 
.home div.wal_mod_link_to_key_section h4 a:visited {
	color: inherit;
}

.home div.wal_mod_link_to_key_section h4 a:hover, 
.home div.wal_mod_link_to_key_section h4 a:active {
	color: #0066ff;
}
 
 /*
 * SECTION with SELLING POINT LINKS - Long Term Learning, etc.
 * This row has custom id: #wal-secton-sellpoint-links
 */ 
 
.home div#wal_section_sellpoint_links h4 {
	font-family: sanchez, Georgia, "Times New Roman", Times, serif !important;
	font-size: 24px;
	line-height: 1;
	font-weight: 400;
 }

/* big titles are also links */ 
.home div#wal_section_sellpoint_links h4 a:link,
.home div#wal_section_sellpoint_links h4  a:visited {
	color: inherit; 
 }
 
.home div#wal_section_sellpoint_links h4  a:hover,
.home div#wal_section_sellpoint_links h4  a:active {
	color: #0066ff; 
 }

.home div#wal_section_sellpoint_links p {
	font-weight: 500; 
}

.home .et_pb_main_blurb_image {
	margin-top: 12px;
}
 /* read more links */
.home div#wal_section_sellpoint_links p a:link, 
.home div#wal_section_sellpoint_links p a:visited {
	color: #71bdbd;
}

.home div#wal_section_sellpoint_links p a:hover, 
.home div#wal_section_sellpoint_links p a:active {
	color: #ffffff;
}



 /*
 * SECTION with Experience blurb, parallax 
 * This row has custom id: #wal-secton-par
 */ 
 
.home div#wal_section_par {
	margin-top: 14px;
	 
 }
 
.home div#wal_section_par h2 {
	color: #3366cc;
	font-size: 34px;
	margin-top: 46px;
	
	font-weight: 400 !important;
 }
  
.home div#wal_section_par p a:link,
.home div#wal_section_par p  a:visited {
	color: #cc3333;
 }
 
.home div#wal_section_par p  a:hover,
.home div#wal_section_par p  a:active {
	color: #990033;  
 }

.home div#wal_section_par p {
	color: #000; 
	font-size: 16px;
	line-height: 24px; 
	font-weight: 500;
}

 /*
 * SECTION with Events blurbs
 * This section has custom id: #wal-section-upcoming events
 * Used for the HORIZONAL version
 * HTML is generated in functions file
 */

.home div#wal_section_upcoming_events  {
	padding: 0 0 56px 0; 
}

.home div#wal_section_upcoming_events .et_pb_column_4_4 h2  {
	font-weight: 400 !important; 
}

.home div#wal_section_upcoming_events .et_pb_divider { 
	margin: 0 0 12px 0; }

.home div#wal_section_upcoming_events div.et_pub_row  {
	padding-top: 0 !important;
	margin: 0 !important;
}

 /*
 * SECTION title with Events and Instagram feed side-by-side
 * Events are stacked.
 * This section has custom class: #wal_home_major_section
 * Section created in WP dashboard; individual events in functions.php
 */

.home div.wal_home_major_section h2 {
	color: #3366cc;
	font-size: 34px !important;
	margin-top: 46px;
	margin-bottom: 0 !important;
	font-weight: 400 !important;
	text-align:center;
 }

.home div.wal_home_major_section h2 a:hover,
.home div.wal_home_major_section h2 a:active
{
	color: #003399;
}

@media only screen and (min-width: 981px) and ( max-width: 1081px ) {
	.home div.wal_home_major_section h2 {
		font-size: 30px !important;
	}
}

/* the individual event modules in this section */ 

.home div.wal_mod_upcoming_event {
	font-family: raleway, Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 28px;
	color: #000;
	padding: 0;
	margin: 0; 
 }

/* individual event modules stacked */
.home div.wal_mod_upcoming_event.stacked {
	margin: 0 0 60px 0; 	
}

@media only screen and (min-width: 981px) and ( max-width: 1181px ) {
	.home div.wal_mod_upcoming_event.stacked {
		margin: 0 0 30px 0; 	
	}
}
/* individual event components */
.home div.wal_mod_upcoming_event .date {
	width: 98px;
	height: 98px;
	border: 3px solid #fcb040;
	float: left;
	border-radius: 20px;
}

.home div.wal_mod_upcoming_event .date .day,
.home div.wal_mod_upcoming_event .date .month {
	font-size: 37px;
	color: #336699;
	display:block;
	text-align: center;
}

.home div.wal_mod_upcoming_event .date .day {
	font-size: 37px;
	line-height: 42px;
	padding-top: 12px;
}


.home div.wal_mod_upcoming_event .date .month {
	font-size: 19px;
}


.home div.wal_mod_upcoming_event .description {
	margin-left: 120px;
	position: relative;
	line-height: 30px;
}

.home div.wal_mod_upcoming_event .description p {
	line-height: 30px;
	font-weight: 500;
	word-wrap: normal !important;
}


.home div.wal_mod_upcoming_event .description h2,
.home div.wal_mod_upcoming_event .description p.event_title { /* NEW */
	font-size: 24px;
	line-height: 30px;
	color: #336699;
	padding:0;
	margin: 0;
	font-family: raleway, Arial, Helvetica, sans-serif !important;;
	font-weight: 600;
}

@media only screen and (min-width: 981px) and ( max-width: 1081px ) {
	.home div.wal_mod_upcoming_event .description h2,
	.home div.wal_mod_upcoming_event .description p.event_title { /* NEW */
		font-size: 20px;
		line-height: 1.2em;
	}
}

.home div.wal_mod_upcoming_event .description p.event_time { /* NEW */
	padding:0;
	margin: 0;
}

.home div.wal_mod_upcoming_event .description a:link,
.home div.wal_mod_upcoming_event .description a:visited {
	color: #ff6600;
	font-weight: 600; /* NEW */
}

.home div.wal_mod_upcoming_event .description a:hover,
.home div.wal_mod_upcoming_event .description a:active {
	color: #0099ff;
	font-weight: 600;  /* NEW */
}

@media all and (max-width: 1280px) {
	#wal_section_upcoming_events .et_pb_column_1_3 {
		width: 33%;
		padding-right: 16px !important;
		margin-right: 0px !important;

	}
}


/*------------------------------------------------*/
/*-----------------[BASIC PAGE]-------------------*/
/*------------------------------------------------*/

body.page #main-content {
	padding-bottom: 30px;
	}

/*
 * header at top of page 
 */

section#wal_page_header {
	min-height: 68px;
	min-height: 167px;
	border-top: 1px solid #cccccc;
}

/* theme forces h1 here, but don't want to display 
section#wal_page_header {
	text-indent: -9999px;
	} */
	
#wal_page_body_start .et_pb_row {
	padding-top: 12px;
}

/* Special links */

p.special_link a:link,
p.special_link a:visited {
	color: #666666;
	font-size: 18px;
	line-height: 24px;
	padding-left: 24px;
	background: #fff url("images/special-link.gif") no-repeat left center;
}

p.special_link a:hover,
p.special_link a:active {
	color: #0066ff;
}

/*
 * big, full-width page dividers - sometimes paralax, sometimes with quotes
 */
.wal_page_divider h1 {
	font-family: Sanchez, Georgia, "Times New Roman", Times, serif;
	font-size: 30px; 
	line-height: 32px; 
	font-weight: 400;
	margin-bottom: 6px; 
	margin-top:18px;
}

.wal_page_divider.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
	width: 100%;
	max-width: 100% !important;
}


/*
 * accordion styles
 */
h5.et_pb_toggle_title {
	color: #0066ff !important;
}

.et_pb_toggle {
	margin-bottom: 12px !important;
}

/*------------------------------------------------*/
/*---------------[FACULTY/TEAM]-------------------*/
/*------------------------------------------------*/

.et_pb_team_member h4 {
	font-family: Raleway, Arial, Helvetica, sans-serif !important;
	font-weight: 600 !important;
	color: #000;
	font-size: 18px;
	line-height: 24px;
	margin: 12px 0 0 0 ;
}

.et_pb_member_position {
	color: #666666;
	font-family: Raleway, Arial, Helvetica, sans-serif !important;
	font-weight: 500 !important;
	font-size: 18px;
	line-height: 24px;
	margin: 0 0 12px 0;
}

.et_pb_column .et_pb_team_member_image {
	/*float: none !important;*/
	text-align: left  !important;
	margin: 0;
}

/*------------------------------------------------*/
/*----------[SINGLE PAGE LOGIN FORM]--------------*/
/*------------------------------------------------*/

div#main-content article.post-password-required {
min-height: 900px;
padding: 50px;
width: 50%;
margin: 0 auto;
}
.post-password-form input:first-child {
background-color: #eee;
border: none!important;
width: 100% !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
font-size: 18px;
color: #666!important;
padding: 16px !important;
font-family: 'Raleway', Arial, sans-serif;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

.post-password-form input[type="submit"] {
font-size: 20px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding: 6px 18px;
line-height: 1.7em;
font-weight: 300;
display: block;
color: #fff;
border: none;
float: right;
margin-top: 8px;
background-color: #82c0c7;
}

/*------------------------------------------------*/
/*-----------------[WHY WALDORF "BLOG"]-----------*/
/*------------------------------------------------*/

#wal_why_waldorf article h2 {
	text-align: center;
	color: #000000;
	text-transform:uppercase;
}

#wal_why_waldorf article h2 a:link,
#wal_why_waldorf article h2 a:visited, 
#wal_why_waldorf article h2 a:hover,
#wal_why_waldorf article h2 p a:active {
	color: inherit; 
 }

/*------------------------------------------------*/
/*-----------------[ANNOUNCEMENTS]----------------*/
/*------------------------------------------------*/

/* Styling for custom blog module on Announcements page
 * !!!! IMPORTANT !!! Requires that the Divi module has CSS class set to "announcements" 
 */
.announcements .et_pb_post  {
	border-bottom: 1px solid #cccccc;
	padding-bottom: 1em;
	margin-bottom: 3em;
	overflow: auto;
	/*color: #666666;*/
	color: #232323;
	font-size: 16px;
}

/* STYLE the STICKY */
.announcements .et_pb_post.category-sticky a.entry-featured-image-url{
	float: none;
	width: 100%;
}

.announcements .et_pb_post.category-sticky img.attachment-post-thumbnail{
	float: none;
	width: 100%;
	margin-bottom: 30px;
}

.announcements .et_pb_post.category-sticky h2, 
.announcements .et_pb_post.category-sticky h3,
.announcements .et_pb_post.category-sticky .post-meta,
.announcements .et_pb_post.category-sticky p  {
	margin-left: 0;
}
/* end sticky */

/* container for IMAGE in blog module */
.announcements .et_pb_post a.entry-featured-image-url,
.announcements .et_pb_post img.attachment-post-thumbnail {
	float: left;
	width: 25%;
}

/* style for SUBCATEGORY and ARCHIVE pages. These templates are defined with
 * subcategory.php and archive.php
 * Note that div with id "left-side"" has class "announcements" set as parent
 */
.announcements .et_pb_post img.et_featured_image {
	float: left;
	width: 25%;
}

.announcements h2 {
	font-size: 24px;
	margin-top: 0;
	margin-bottom: 8px;
}

.announcements h2, .announcements h3,
.announcements .post-meta,
.announcements p, .announcements ul, .announcements ol {
	margin-left: 27.5%;
}

.announcements ol {
	padding-left: 1em;
}

.announcements h3  {
	color: #ff6600;
	margin-top: 0;
}

.announcements p.post-meta {
	padding-bottom: 0 !important;
	margin-bottom: 6px;
}

/* style for individual announcment posts. Template is defined with
 * announcment.php 
 * Note that the post article has class "wal-announcement-post"
 */

article.wal_announcement_post  {
	/* color: #666666; */
	color: #232323;
	font-size: 16px;
}

article.wal_announcement_post p.lowerlinkback {
	margin-top: 3rem;
}

/* to push down title when visited from more link */
article.wal_announcement_post span[id*="more-"] {
	position: absolute;
	top: -60px;
}
