/*
 Theme Name:     UM ADVANCE Child Theme
 Theme URI:      https://boxcarstudio.com
 Description:    UM ADVANCE Child Theme
 Author:         Boxcar Studio
 Author URI:     https://boxcarstudio.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
/* General */
body {
	font-weight: normal;
}
h2 {
	font-weight: 300;
}
#main-header {
    box-shadow: none;
}
.et_pb_module.et_pb_bg_layout_dark li a {
	color: #ffffff;
	text-decoration: underline;
}
.et_pb_module ul {
	margin: 1em;
}
.et_pb_module ul li {
	margin-bottom: 1em;
}
.center {
	margin: 0 auto;
}
/* Top Image Grid */

.feature-grid .et_pb_text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 1em;
    text-align: center;
    display: table;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}

.feature-grid .et_pb_text .et_pb_text_inner {
    display: table-cell;
    vertical-align: middle;
}

.feature-grid .et_pb_text .et_pb_text_inner p {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 600 !important;
    font-size: 3em;
}

.feature-grid .et_pb_image {
    z-index: -10;
    position: relative;
}

.feature-grid .et_pb_image img {
    opacity: 1;
    transition: 0.5s;
}

.feature-grid .et_pb_column:hover .et_pb_image img {
    opacity: 0.25;
}

.feature-grid .et_pb_column:hover .et_pb_text {
    opacity: 1;
}

.border-bottom-purple, .border-bottom-blue, .border-bottom-orange, .border-bottom-green {
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
.border-bottom-purple {
	border-bottom: 8px solid #632682;
}
.border-bottom-blue {
	border-bottom: 8px solid #0c71c3;
}
.border-bottom-green {
	border-bottom: 8px solid #00a8a6;
}
.border-bottom-orange {
	border-bottom: 8px solid #e09900;
}

/* Happenings Section */
#home-happenings {
	margin-bottom: 15px;
}
#home-happenings .et_pb_tab_active {
    background: none;
}
#home-happenings .et_pb_tab {
	padding-bottom: 0;
}

#home-happenings .et_pb_tab_active:after {
    content:'';
    display: block;
    width: 0; 
    height: 0; 
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #702082;
    position: absolute;
    bottom: -15px;
    left:45%;
}

#home-happenings .et_pb_tabs_controls {
    background: none;
}

#home-happenings .et_pb_tabs_controls li {
    border: 0px !important;
	width:50% !important;
	display: inline-block;
	float: none;
	vertical-align: bottom;
	text-align: center;
}

#home-happenings .et_pb_tabs_controls li > a {
    font-weight: 500 !important;
    font-size: .85em;
    letter-spacing: .15em;
    color: #00274C;
    text-transform: uppercase;
}

#home-happenings .et_pb_tabs_controls:after {
    width: 150%;
    left: -50%;
    border-top: 2px solid #d9d9d9;
}
.homepage-event {
	margin-bottom: 1.5em;
}

.homepage-event .et_pb_button {
	float: right;
	margin-top: 10px;
}
.homepage-event .closed {
	float: right;
    padding: .5em 1em;
    background: #00a8a6;
    color: #ffffff;
    font-style: italic;
    font-size: 14px;
    margin-top: 10px;
}

.homepage-events {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	height: 100%;
}
.et_pb_tab_content li {
    border-left: 3px solid #632682;
    padding: 1em;
    list-style: none;
    margin-bottom: .5em;
    background: rgba(200,200,200,.2);
	transition: background-color 0.5s ease;
}
.et_pb_tab_content li:hover {
    background: rgba(200,200,200,.8);
}

#home-happenings .et_pb_tabs, #home-happenings .et_pb_all_tabs, #home-happenings .et_pb_tab, #home-happenings .et_pb_tab_content, #home-happenings .js-wpv-view-layout {
	height: 100%;
}
#home-happenings .et_pb_all_tabs {
	height: 85%;
}

.homepage-event .event-category {
	font-size: 12px;
	color: #0F6BB6;
	text-transform: uppercase;
}
.homepage-event a {
	color: #555555;
	font-weight: normal;
}
.homepage-event a.category {
	color: #0f6bb6;
}
body.et_pb_button_helper_class .homepage-events .clearbutton {
	background: transparent;
	padding: 6px 40px 6px 6px !important;
	color: #0F6BB6;
}
body.et_pb_button_helper_class .homepage-events .clearbutton:after {
	color: #0F6BB6;
}
body.et_pb_button_helper_class .homepage-events .clearbutton:hover {
	background: #ffcb05;
}
.homepage-events .clearbutton:after {
	opacity: 1;
    margin-left: 0;
}
/* Blurbs */
.et_pb_bg_layout_light .et_pb_testimonial_description {
	color: #00274c;
}
/* Large buttons */
.centered-buttons .et_pb_button_module_wrapper {
	height: 100%;
}
.centered-buttons .et_pb_button {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.research-cards p a, .research-cards .et_pb_module p:first-child {
	font-size: 12px;
}
.research-cards.no-date p:first-child, .research-cards.no-date p a {
	font-size: inherit;
}
.research-cards h3 a {
	font-size: 20px;
	color: #0f6bb6;
}
.research-cards h3 {
	font-size: 20px;
}

/* Search box */
.container.et_search_form_container.et_pb_search_visible {
	background: #ffffff;
}
.et_search_form_container input {
	min-width: 250px;
	font-size: 24px;
}
/* Divider */
.et_pb_divider:after {
	content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #702082;
    position: absolute;
    bottom: 10px;
    left: 50%;
	transform:translateX(-50%);
	z-index: 10;
}

/* Person module */
.et_pb_team_member_description {
	max-width: 90%;
	margin-left: auto;
	margin-right:auto;
}

/* Forms */
input[type=submit] {
	color: #00274c!important;
    background: #ffcb05;
    border-width: 0px!important;
    border-radius: 2em;
    letter-spacing: 0.15em;
    font-size: 0.85em;
    font-weight: 600!important;
    text-transform: uppercase!important;
    background-color: #ffcb05;
	padding: .3em 1em;
    border: 2px solid;
}
input[type=submit]:hover {
    border: 2px solid transparent;
}

/* Accordions + Toggles */
.et_pb_toggle_item {
	transition: background-color 0.5s ease;
}

/* Buttons */
.small-button.smallblue, #tribe-bar-form .tribe-bar-submit input[type=submit] {
	color: #00274c!important;
    border-width: 1px!important;
    border-color: #00274c;
    border-radius: 2em;
    letter-spacing: 0.15em;
    font-size: 0.85em;
    font-weight: 600!important;
    text-transform: uppercase!important;
    background: #ffcb05;
	margin-top: 1em;
	transition: background-color 0.5s ease;
}
.small-button.smallblue:hover, #tribe-bar-form .tribe-bar-submit input[type=submit]:hover {
	background: #f2ba04!important;
	color: #00274c!important;
    border-radius: 2em;
    letter-spacing: 0.15em;
}

/* Events calendar */
.tribe-events-calendar thead th {
	color: #00274c;
    background: #ffcb05;
}

.homepage-events .pagination li {
    display: inline;
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    zoom: 1;
}
.homepage-events .pagination li {
    float: left;
    margin-right: 5px;
    text-align: left;
}
.homepage-events .pagination li.page-item.next {
    float: right;
    margin-left: 5px;
    text-align: right;
}
.homepage-events .icon {
	text-shadow: 0 0;
    font-family: ETmodules!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
}



/* Stride articles view */
.stride-articles .et_pb_toggle_title:before {
	content: '+';
    font-family: Roboto !important;
    color: #00274C;
    padding: .45em .51em;
    background: #FFCB05;
    border-radius: 100%;
    width: 14px;
    height: 14px;
    vertical-align: top;
	text-align: center;
}
.stride-articles .et_pb_toggle_open .et_pb_toggle_title:before {
	content: '-';
}
.stride-articles .form-group label {
	color: #00274C;
}
.stride-articles .form-group-checkboxes {
    display: flex;
    flex-direction: row;
	flex-wrap: wrap;
}
.stride-articles .form-group-checkboxes .checkbox {
    margin-left: .5em;
	flex: 0 0 30%;
}
.stride-articles .form-group-checkboxes .checkbox label {
	color: #0F6BB6;
	text-transform: uppercase;
	margin-left: 2em;
	display: block;
	line-height: 20px;
	margin-bottom: .5em;
}
.stride-articles .form-group-checkboxes .checkbox label.wpv-parametric-disabled {
	font-style: italic;
	color: #888888;
}
.stride-articles .form-group-checkboxes .checkbox label input {
	float: left;
	margin-left: -2em;
}
.stride-articles .et_pb_toggle {
	background: #ffffff;
	padding: 1.5em;
	border: 0;
	box-shadow: 0 3px 9px 0 rgba(0,0,0,0.10);
}
.stride-articles .et_pb_toggle .article-tags {
	text-transform: uppercase;
	font-size: 13px;
	color: #0F6BB6;
	margin-bottom: 1em;
}
.stride-articles .et_pb_toggle .et_pb_toggle_content{
	font-weight: 300;
}
.stride-articles .et_pb_toggle .article-download {
	color: #0F6BB6;
	font-size: 13px;
	text-transform: uppercase;
	font-weight: bold;
	
}
.stride-articles .et_pb_toggle .article-download .rightarrow {
	text-shadow: 0 0;
    font-family: ETmodules!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
    font-size: 30px;
    position: absolute;
    bottom: 3px;
}
.wpv-reset-trigger {
	margin-bottom: 1em;
}

/* Footer */

@media (min-width:981px) {
    #footer-primary > div:nth-of-type(2) {
        border-left: 1px solid #FFFFFF;
        border-right: 1px solid #FFFFFF;
    }

    #footer-primary .et_pb_text_inner {
        text-align: center;
    }
}

/* High-contrast settings */
.contrast #home-feature-grid {
	display: none;
}
.contrast div[role="button"], .contrast input[type=button], .contrast input[type=submit] {
	color: #ffffff !important;
}

/* #footer-outer {
    padding-bottom: 0;
} */

/* #footer-questions, #footer-primary {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
    padding-left: 10%;
    padding-right: 10%;
} */

/* #footer-questions .et_pb_text {
    padding: 1em 0 0;
} */

/* #footer-questions .et_pb_button {
    border: 1px solid #00274c !important;
    bottom: -1.5em;
} */

/* #footer-primary > div {
    padding: 3em 2em 2em;
} */

/* #footer-primary > div:nth-of-type(2) {
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
} */

/* Stride Committee View */
.committee-row .stride-photo {
  float: left;
  margin-right: 1em;
}
.committee-row {
  margin-bottom: 1em;
  width: 100%;
}
.committee-row .et_pb_toggle {
  border: none;
  background: transparent;
  padding: 0;
}
.committee-row .et_pb_toggle_title {
  padding-bottom: 10px !important;
}
.committee-row .et_pb_toggle_close .et_pb_toggle_title, .committee-row .et_pb_toggle_close h5.et_pb_toggle_title {
  color: #0f6bb6;
}
.committee-row .et_pb_toggle_title:before {
  display: none;
}
.committee-row .et_pb_toggle_content {
  padding-top: 0px;
  clear: both;
}
/* end stride committee view */


/* Admin-only sections */
.admin-only {
	display: none;
}
.logged-in .admin-only {
	display: initial;
}

/* Mobile styles */
@media screen and (max-width: 450px) {
	.mobile-fullwidth {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
    	max-width: 100% !important;
	}
	.mobile-row-fullwidth {
		width: 100%;
	}
}
