/* 
Theme Name: UMFS theme 1
Theme URI: 
Description: Child theme of Divi theme for the Divi theme
Author: <a href="http://www.elegantthemes.com">Elegant Themes</a>
Author URI: 
Template: Divi
Version: 4.2.2
*/

/* ----------------- Category Color Coding ----------------- */	

/* Red */
#home-news .tag-symposium,
#home-news .category-spotlights,
#home-news .category-awards,
#home-news .tag-new-category /* replace this one with name of new category after "tag-" or "category-" */
{background-color: rgba(152,49,41,0.15)!important;}

#home-news .tag-symposium .entry-title,
#home-news .category-spotlights .entry-title,
#home-news .category-awards .entry-title,
#home-news .tag-new-category .entry-title /* replace this one with name of new category after "tag-" or "category-" */
{background-color: #a52626;}

/* Teal */
#home-news .tag-aaac,
#home-news .category-faculty-senate-news,
#home-news .tag-new-category /* replace this one with name of new category after "tag-" or "category-" */
{background-color: rgba(0, 177, 169, 0.15)!important;}

#home-news .tag-aaac .entry-title,
#home-news .category-faculty-senate-news .entry-title,
#home-news .tag-new-category .entry-title /* replace this one with name of new category after "tag-" or "category-" */
{background-color: #00b1a9;}

/* Purple */
#home-news .tag-sacua-members, #home-news .category-sacua-news,
#home-news .tag-new-category /* replace this one with name of new category after "tag-" or "category-" */
{background-color: rgba(111,31,130,0.15)!important;}

#home-news .tag-sacua-members .entry-title, #home-news .category-sacua-news .entry-title,
#home-news .tag-new-category .entry-title /* replace this one with name of new category after "tag-" or "category-" */
{background-color: #6f1f82;}

/* Blue */
#home-news .tag-senate-assembly,
#home-news .category-committee-spotlight,
#home-news .tag-new-category  /* replace this one with name of new category after "tag-" or "category-" */
{background-color: rgba(46,100,167,0.15)!important;}

#home-news .tag-senate-assembly .entry-title,
#home-news .category-committee-spotlight .entry-title,
#home-news .tag-new-category .entry-title /* replace this one with name of new category after "tag-" or "category-" */
{background-color: #2e64a7;}


/* ----------------- General Styling ----------------- */

h1, h2, h3, h4, h5 {
	font-weight: 500!important;
}

#leftnav p {
	padding: 4px;
	margin: 4px;
	background-color: #d7efff;
}

#facultysenate_header h1 {
	color: #fff;
	font-size: 48px;
	text-transform: uppercase;
}

@media (max-width: 479px) {
	#facultysenate_header h1 {font-size: 36px!important;}
}

.align-left .et_pb_team_member_image {text-align: left!important;}

.align-left {text-align: left!important;}

a.big-button, a.big-blue {
	color: #fff!important;
	text-shadow: none;
    display: inline;
    background-color: #0174bb!important;
    background-image: none;
    border-radius: 3px;
    border: 0;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 11px;
    font-weight: 700!important;
    letter-spacing: 1px;
    line-height: normal;
    padding: 6px 9px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
}

a.bigblue:hover, a.smallblue:hover {
    color: #fff!important;
}

.et_pb_text_inner ul li ul {padding-bottom: 0;}

/* ----------------- Menus ----------------- */

/* primary menu */

@media (max-width: 1200px) {
 	#et_mobile_nav_menu {
 		display: block;
 	}
 
	#top-menu {
		display: none;
	 }
 }

/* sub menu */

.sub-menu li a {
	font-size: 14px!important;
	text-align: left;
	font-weight: 300;
	color: #fff!important;
}

#et-secondary-nav li ul {	
    background-color: #1e5db5!important;
}

#et-secondary-nav li li {
    padding: 0;
}

/* mega menu */

#top-menu .mega-menu li a {
	color: #fff!important;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.2em;
}

#top-menu .mega-menu .sub-menu {
    background-color: #1e5db5;
	border-top: none;
}

/* leftnav */

#committees_menu li {
	padding: 0px;
	margin: 2px 0px;
	background-color: #d7efff;
}

#committees_menu a {
	padding: 6px;
	margin: 0px;
	width: 245px;
}

#committees_menu [aria-current] {
	color: #fff!important;
	background-color: #2186c5;
}

#sidebar-module {padding: 0; margin: 0;}

.et_pb_button:hover {background-color: rgba(0,0,0,.05)!important;}

@media (max-width: 1280px) {
	#committees_menu a {
		width: auto;
	}
}

@media (max-width: 980px) {
	#leftnav {display:none;}
	#committees_menu {display:none;}
	.et_pb_column--with-menu {margin-bottom: 0px;}
}

/* ------ Featured Spotlight ------- */

#featured-spotlight article {
	background-color: #fff;
	border: 1px solid #ccc;
	margin: 0px;
	padding: 20px;
}

#featured-spotlight h2, p {padding-right: 12px;}

#featured-spotlight img {
	width: 250px;
}

/* desktop */
@media (min-width: 1350px) {

	#featured-spotlight article {
		margin: 0px;
		padding: 0px;
	}

	#featured-spotlight img {
		width: 250px;
		float: left;
		margin-right: 18px;
	}

	#featured-spotlight a.more-link {
		position: absolute;
		left: 270px;
		top: 250px;
		width: 88px;
		text-align: center;
	}	
}

/* ----------------- PODs Member Lists ----------------- */

.et_pb_member_position {color: #000;}

#pods-list ul {list-style: none;}
#pods-list li {list-style: none;}
#pods-list img {padding-right: 12px;}
#pods-list ul {margin-left: 0; margin-right: 0; padding: 0;}
#pods-list li {border-bottom: 1px solid #ddd; float: left; padding: 0.9375rem 0; width: 100%;}
#pods-list a {color: #0174bb;}

/* hide subcategories*/
.sidebar_content .children {display:none;}

/* ----------------- Calendar ----------------- */

.tribe-mini-calendar-dayofweek {
    color: #CCC!important;
}

#tribe-events .tribe-events-button {
    background-color: #0174bb!important;
}

.tribe-mini-calendar .tribe-events-present, .tribe-mini-calendar .tribe-mini-calendar-today {
    background-color: #0174bb!important;
}

#category-list .tribe-events-header {display:none;}
.tribe-common-l-container {padding: 0px!important;}
.tribe-mini-calendar td, .tribe-mini-calendar th {padding: 0!important;}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    min-height: 0px!important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-wrapper, .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-title {
    margin: 0 0 2px!important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row {
    margin: 20px -24px 20px!important;
}

.tribe-events-calendar-list__event-date-tag-datetime {
	background-color: #2185c4;
	border-radius: 50%;
	height: 60px!important;
	width: 60px!important;
}

.tribe-events-calendar-list__event-date-tag-weekday {
	font-weight: bold!important;
	color: #fff!important;
	padding-top: 6px!important;
}

.tribe-events-calendar-list__event-date-tag-daynum {
	color: #fff!important;
	letter-spacing: -3px;
	font-size: 36px!important;
	margin-top: -9px!important;
	margin-left: -3px!important;
}

.tribe-events-single-event-title {font-size: 40px!important;}

.tribe-events-c-breadcrumbs__list {
    font-family: 'Ovo',Georgia,"Times New Roman",serif!important;
	font-size: 40px!important;
}

.tribe-events .tribe-events-calendar-month__day-cell--selected, .tribe-events .tribe-events-calendar-month__day-cell--selected:focus, .tribe-events .tribe-events-calendar-month__day-cell--selected:hover {
    background-color: #2185c4!important;
}

.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date, .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
    color: #ffffff!important;
}

.tribe-events .tribe-events-calendar-month__mobile-events-icon--event {
    background-color: #2185c4!important;
}

@media (max-width: 479px) {
	.tribe-events-calendar-list__event-date-tag-datetime {
		height: 40px!important;
		width: 40px!important;
	}	
	.tribe-events-calendar-list__event-date-tag-daynum {
		font-size: 24px!important;
		margin-top: -6px!important;
		margin-left: -2px!important;
	}
	.tribe-events-calendar-list__event-date-tag-weekday {
		font-size: 8px!important;
		margin-top: -2px!important;
	}
}

/* ----------------- News grid ----------------- */

#home-news .column article {height: 380px!important;}
#news-page #home-news .column article {height: 420px!important;}
@media (max-width: 479px) {
	#home-news .column article {height: auto!important;}
	#news-page #home-news .column article {height: auto!important;}
}

#home-news article {padding: 0;}
#home-news .entry-title {
	display: block;
	width: 100%;
	height: 122px;	
	background-image: url(https://creativebonfire.com/umich/wp-content/uploads/2020/03/white_discs1.png);
	background-size: 100%;
	background-position: center;
}
#home-news h2 {padding: 26px 12px 26px 40px;}
#home-news .post-meta {padding: 12px 30px 6px 40px;}
#home-news .post-content {padding: 0px 30px 12px 40px;}
#home-news .et_pb_salvattore_content {display: table;}
#home-news div.et_pb_salvattore_content > div {display: table-cell!important;}

/* ----------------- "SEE POST" BUTTON STYLING ----------------- */

a.more-link {
    text-transform: uppercase;
    display: inline-block;
    background: rgba(255, 255, 255, 0);
    padding: 4px 10px;
    margin-top: 10px;
	border: 1px solid rgba(1, 116, 187, 0.3);
    border-radius: 3px;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
a.more-link:hover {
    background: rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(1, 116, 187, 0);
}

/* ----------------- Toggle ----------------- */

.et_pb_toggle_title {
	font-family: 'Muli',Helvetica,Arial,Lucida,sans-serif;
	color: #000!important;
	font-weight: bold!important;
	font-size: 15px;
}

.et_pb_toggle_close {
    background-color: #faf2dd;
}

.et_pb_toggle {
    border: 1px solid #dfb758;
	border-radius: 5px;
}

.et_pb_toggle_title:before {
    color: #dfb758;
}

/* ----------------- Sidebar ----------------- */

.widget_categories a, .widget_recent_entries a {color: #0174bb!important;}

/* ----------------- News List ----------------- */

.et_post_meta_wrapper img, .et_pb_post a img {
	max-width: 40%;
}

/* ----------------- Interactive ----------------- */

#interactive {
    position: relative;
    overflow: hidden;
	height: 30.5vw;
}

#interactive iframe {
    position: absolute;
    top:0;
    left: 0;
}

/* ----------------- Footer ----------------- */
#footer-widgets {display: none;}
#umfooter {background-color: #00274b;}
#umfooter img {max-width: 100px;}
#umfooter .et_pb_column {margin-right: 0;}
#umfooter .et_pb_row {padding: 0 0 20px 0;}

.footer-text {
	font-size: 12px;
	line-height: 1.2em;
	color: white;
}

.footer-text a {
	color: white;
}

#footercol1 {width: 14%;}
#footercol1a {width: 73%;}
#footercol2 {width: 37%;}
#footercol3 {width: 12%;}
#footercol4 {width: 10%;}
#footercol5 {width: 15%;}
#footercol6 {width: 12%;}

.textdim {color: #8093a6;}

/* ----------------- Contact Form 7 Styles ----------------- */
 
.wpcf7 {
	background-color: #d7efff;
    border: 1px solid #0b86bf;
	border-radius: 5px;
}

.wpcf7-form {
	margin: 25px;
}

.wpcf7-textarea {
	font-size: 14px;
	width: 100%;
	padding: 6px;
	border: 1px solid #0b86bf;
    border-radius: 3px;
}

.wpcf7 input {
	font-size: 14px;
	width: 100%;
	padding: 6px;
	border: 1px solid #0b86bf;
    border-radius: 3px;
}

.wpcf7-submit {
	width: 25%!important;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    background: #0b86bf;
    padding: 4px 10px;
    margin-top: 10px;
/*	border: 1px solid #0b86bf; */
    border-radius: 3px;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
.wpcf7-submit:hover {
    background: #144993;
}