/*
Theme Name:     UM Research Child theme
Theme URI:      
Description:    Divi child theme.
Author:         Boxcar Studio
Author URI:     https://boxcarstudio.com
Template:       Divi
Version:        0.1.0
*/

/* TYPOGRAPHY */

#left-area ul, .entry-content ul, .et-l--body ul, .et-l--footer ul, .et-l--header ul {
    line-height: 2em !important;
}

a {
	text-decoration: underline;
}

.et_pb_widget a {
    text-decoration: underline;
}

a.et_pb_button {
    text-decoration: none;
}

.fwidget {
    float: none;
    width: 100%;
}

.arrow-buttons a {
    position: relative;
    display: inline-block;
	text-decoration:none;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
}

.arrow-buttons a:before {
    content: "\f061";
    font-family: fontawesome;
    border: 1px solid #0f6bb6;
    padding: 5px;
    margin-right: .5em;
}

div#breadcrumbs, div#breadcrumbs a {
    color: #fff;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
}

.display_text {
    font-size: 100px;
    font-family: Montserrat, sans-serif;
    line-height: 1.1em;
    font-weight: 300;
}

.post_title {
    padding: 11em 0 3em 0;
}

.blue-label {
    color: #0F6BB6;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.intro {
    padding-left: 7em;
    position: relative;
}

.intro p {
	position: relative;
}

.intro p:before {
    content: "";
    width: 110px;
    height: 2px;
    background: #FFCB05;
    display: block;
    position: absolute;
    left: -130px;
    top: 20px;
}

.yellow-blurb {
    padding-top: 3em;
    padding-left: 3em;
    position: relative;
}

.yellow-blurb:before {
    border-top: 10px solid #FFCB05;
    border-left: 10px solid #FFCB05;
    border-right: 10px solid #FFF;
    border-bottom: 10px solid #FFF;
    content: "";
    display: block;
    width: 150px;
    height: 150px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

hr.yellow {
    background: #FFCB05;
    width: 100px;
    height: 2px;
    border: 0;
    margin: 0 0 1em 0;
}

.story-row {
    max-width: 50% !important;
}

.clip-corner {
    clip-path: polygon(0% 0%, 100% 0, 100% 75%, 75% 100%, 0% 100%);
}

.blurb-blocks .et_pb_blurb {
    padding: 5em 3em;
}

.blurb-blocks span.et_pb_image_wrap {
    border: 1px solid #fff;
    padding: 5px;
}

.jump-menu {
    padding: 0;
	z-index: 1000;
}

.jump-menu .et_pb_row {
    width: 100%;
    max-width: none;
    box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 10%);
    padding: 1em 2em;
}

.jump-menu ul, .jump-menu .et_pb_text_inner {
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    padding: 0;
    align-items: center;
}

.jump-menu li, .jump-menu p {
    padding: 0 1em;
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-weight: 400;
}

.wp-pagenavi {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
	font-family: 'Montserrat', sans-serif;
	width: 100%;
}

.wp-pagenavi span, .wp-pagenavi a {
    padding: 0 1em;
    background: #ffcb04;
    color: #00274c !important;
    display: block !important;
    font-size: 16px !important;
	transition: all ease 0.5s;
	margin: 0 5px;
}

.wp-pagenavi .nextpostslink, .wp-pagenavi .previouspostslink {
	color: #00274c !important;
}

.wp-pagenavi span.current, .wp-pagenavi a:hover {
    background: #00274c;
    color: #fff !important;
}

.wp-pagenavi .nextpostslink:hover, .wp-pagenavi .previouspostslink:hover {
	color: #fff !important;
}


/* STATS BLOCK */

div#page-container {
    overflow: hidden;
}

.et_pb_dp_dmb_module_32 {
    background: #EFF0F1;
    padding: 2em;
    text-align: center;
	max-width: 300px;
}

.et_pb_column_1_3 .et_pb_dp_dmb_module_32 {
    max-width: none !important;
}

.stat-number {
    font-family: 'Merriweather';
    color: #00274C;
    font-size: 60px;
    line-height: 1em;
}

.et_pb_bg_layout_dark .stat-number {
	color: #fff;
}

.et_pb_column_1_4 .stat-number {
    font-size: 50px;
}

.stat-title {
    font-family: 'Montserrat';
    line-height: 1.3em;
    margin-bottom: 1em;
    margin-top: .5em;
}

.stat-info a, .stat-info {
    text-transform: uppercase;
    font-family: 'Montserrat';
    line-height: 1.3em;
    font-size: .9em;
}

.et_pb_bg_layout_dark .stat-info a {
	color: #FFCB05;
}

/* BUTTONS */

a.et_pb_button {
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	padding: .75em 1.5em !important;
}

button, .button {
    background: #FFCB05;
    border: 1px solid #FFCB05;
    padding: 1em 2em;
    border-radius: 15px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    color: #00274C;
	cursor: pointer;
	transition: all ease 0.5s;
	font-size: 14px;
}

button:hover, button.alt-button:hover, .button:hover, .button.alt-button:hover {
	background: #0F6BB6;
	border-color: #0F6BB6;
	color: #fff;
}

button.alt-button, .button.alt-button {
    background: #F0F0F0;
    border: 1px solid #C8C8C8;
    color: #0F6BB6;
	line-height: 1.3em;
    text-decoration: none;
}

/* FOOTER */

#footer .fwidget {
    width: 100%;
}


#footer a {
    font-family: 'Montserrat';
}

#footer-widgets .footer-widget li a.et_pb_button, #footer .et_pb_button, .et-db #et-boc .et-l .et_pb_bg_layout_dark .et_pb_widget li a.et_pb_button {
    color: #00274c;
	margin-right: 1em;
}

ul.social {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}

ul.social li:before {
	display: none;
}

ul.social a i {
    font-size: 30px;
}


/* HEADER */

.et_header_style_fullscreen #et_top_search {
    display: inline-block !important;
    width: auto;
    float: none;
    margin: 0;
}

/* span#et_search_icon {
	background: #00274C;
    border: 1px solid rgb(255 255 255 / 5%);
    padding: 1.5em;
	color: #fff;
	display: block;
	border-right: 0;
	    margin-right: 1px;
} */

.et_header_style_fullscreen .mobile_menu_bar.et_toggle_fullscreen_menu {
    background: #00274C;
    border: 1px solid rgb(255 255 255 / 5%);
    padding: 1em !important;
    color: #fff;
}

.et_header_style_fullscreen #et-top-navigation, .et_header_style_slide #et-top-navigation {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
	padding-top: 0 !important;
}

#et_search_icon:before, span.et_close_search_field:after, #et_search_icon:hover, .mobile_menu_bar:before, .mobile_menu_bar:after, .et_toggle_slide_menu:after, .et-social-icon a:hover, .et-fixed-header #et_search_icon:before  {
    color: #fff !important;
}

#et_search_icon:before {
    position: static;
}

.et_header_style_fullscreen .mobile_menu_bar.et_toggle_fullscreen_menu {
    width: auto;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.logo_container a {
    display: inline-block;
    padding: 1em;
    background: #022c56;
}

.container.et_search_form_container.et_pb_search_visible {
    background: #022c56;
}

.et_search_form_container .et-search-form input,
.et_search_form_container .et-search-form input::placeholder{
    color: #fff !important;
    font-family: 'Montserrat';
    font-size: 16px;
}

.et_header_style_fullscreen .et-fixed-header #et-top-navigation, .et_header_style_slide .et-fixed-header #et-top-navigation {
    padding: 0 !important;
}

.et_pb_menu_hidden #et_search_icon:before, .et_pb_menu_hidden #top-menu, .et_pb_menu_hidden .mobile_menu_bar,
.et_pb_menu_visible #et_search_icon:before, .et_pb_menu_visible #top-menu, .et_pb_menu_visible .mobile_menu_bar{
	    animation: none!important;
    -o-animation: none!important;
    -webkit-animation: none!important;
    -moz-animation: none!important;
	opacity: 1 !important;
}

ul.sub-menu.et_pb_slide_dropdown_opened {
    width: 50%;
    min-width: 300px;
}


#mega-menu-wrap-primary-menu #mega-menu-primary-menu li#mega-menu-item-1445 > a.mega-menu-link {
    padding-left: 30px;
    padding-right: 30px;
}
	
@media only screen and (min-width: 1300px) {
	#mobile_menu_slide ul.sub-menu {
		position: absolute;
		right: -50%;
		top: 10%;
	}
}

@media only screen and (min-width: 981px) {
.et_header_style_fullscreen ul#mobile_menu_slide {
		text-align: left;
		padding: 2em;
		width: 50%;
		display: block !important;
	}

	#mobile_menu_slide ul.sub-menu {
		position: absolute;
		right: -65%;
		top: 10%;
	}
}

.et_header_style_fullscreen .et_pb_fullscreen_nav_container .et_mobile_menu li {
	-webkit-transform: none!important;
    transform: none!important;
}

.et_header_style_fullscreen ul#mobile_menu_slide a {
    text-decoration: none;
    font-weight: 400;
    font-size: 3em;
    line-height: 1.5em;
}

@media only screen and (max-width: 1100px) {
	.et_header_style_fullscreen ul#mobile_menu_slide a {
 	   font-size: 2em;
	}
}

.et_header_style_fullscreen ul#mobile_menu_slide:after {
    width: 1px;
    height: 100%;
    position: absolute;
    content: "";
    background: rgb(255 255 255 / 25%);
    right: 0;
    top: 0;
}

#mobile_menu_slide ul.sub-menu a {
    font-size: 16px;
    text-decoration: underline;
    color: #fff !important;
    opacity: 1 !important;
}

.et_slide_in_menu_container #mobile_menu_slide .et_mobile_menu_arrow:before {
    display: none;
}

.et_slide_in_menu_container #mobile_menu_slide .et_mobile_menu_arrow.et_pb_submenu_opened:before {
    font-size: 60px;
    content: "\45";
	display: block;
}

.et_slide_in_menu_container span.et_mobile_menu_arrow.et_pb_submenu_opened {
    transform: none;
    position: absolute;
    right: -52px;
    opacity: 1;
}

/* HOMEPAGE VIDEO */
.home .et_pb_section.et_pb_section_0.et_section_regular.et_pb_section_first {
    padding-top: 0 !important;
}


/* BLOG MODULE */

h2.entry-title {
    font-size: 30px !important;
	font-weight: 300;
}

article.et_pb_post {
    border: 0 !important;
    padding: 0 !important;
}
.et_pb_blog_grid .et_audio_content, .et_pb_blog_grid .et_main_video_container, .et_pb_blog_grid .et_pb_post .et_pb_slider, .et_pb_image_container {
    margin: 0;
}

/* SEARCH FILTERS */

div#search-bottom {
	display: none;
}

div#search-top, div#search-bottom.active {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
	align-items: flex-end;
	margin-bottom: 1em;
}

div#search-top > *,
div#search-bottom > *{
    margin-right: 1em;
}

div#search-top .filter-group {
    flex-grow: 2;
}

input.facetwp-search {
    background: #F5F5F5;
    border-radius: 15px;
    padding: 1em;
    width: 100%;
}

input.facetwp-search::placeholder {
    color: #655A52;
}

span.facetwp-input-wrap {
    width: 100%;
}

.facetwp-facet {
    margin-bottom: 0 !important;
}

.fs-wrap.multiple .fs-label-wrap {
    background: #F5F5F5;
    border-radius: 15px;
    padding: .75em;
    width: 100%;
    font-size: 14px;
    color: #655A52;
}

#search-bottom .filter-group {
    flex-grow: 2;
}

.fs-wrap.multiple {
    width: 100%;
}

.fs-dropdown {
    width: auto !Important;
}

.fs-arrow {
    width: 30px !important;
    height: 30px !important;
    border: 0 !important;
}

span.fs-arrow:after {
    content: "\f107";
    font-family: "fontawesome";
    font-size: 29px;
    color: #968D87;
    display: block;
    width: 30px;
    height: 30px;
}

/* TAXONOMY GRID */

.list-toggles {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: flex-end;
}

.list-toggles > * {
    margin-left: 1em;
}

.list-toggles > span {
    color: #968D87;
    font-size: 20px;
}

h3.tax-title {
    font-size: 40px;
	min-height: 114px;
}

h2.tax-title {
	font-size: 30px !important;
}

.tax-title a {
	text-decoration: none;
}

.resource-filters {
	position: relative;
    z-index: 1000;
}

.archive-grid {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
}

.col-wrap {
    width: 47%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
}

.bucket {
    background: #FFFFFF;
    border: 1px solid #000;
    padding: 1.5em 2em;
    border-left-width: 10px;
    margin-bottom: 3em;
    position: relative;
	flex-grow: 2;
}

.bucket:after {
    background: #F3F3F4;
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    right: -1px;
    bottom: -1px;
    background: -moz-linear-gradient(-45deg, rgba(243,243,244,0) 50%, rgba(243,243,244,1) 50%);
    background: -webkit-linear-gradient(-45deg, rgba(243,243,244,0) 50%,rgba(243,243,244,1) 50%);
    background: linear-gradient(135deg, rgba(243,243,244,0) 50%,rgba(243,243,244,1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f3f3f4', endColorstr='#f3f3f4',GradientType=1 );
}

.clip-line {
    width: 71px;
    height: 1px;
    position: absolute;
    transform: rotate(-45deg);
    right: -11px;
    bottom: 24px;
	z-index: 100;
}

ul.taxonomy-list {
    list-style: disc;
    padding: 0;
	font-family: 'Montserrat', sans-serif;
}

ul.taxonomy-list li {
    margin: .3em 0;
}


/* RESOURCES LISTING */

.resources-results .fwpl-layout {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
}

.resources-results .facetwp-template.facet-list .fwpl-layout {
    display: block;
}

.resources-results .bucket:after {
    background: #fff;
}

.resources-results .results {
    margin-top: 2em;
}

/* PHASES COLORS */

.funding-and-research-development {
    border-color: #B32117;
}

.research-administration {
	border-color: #A79D96;
}

.manage-research {
    border-color: #83B2A8;
}

.compliance-integrity {
	border-color: #00274C;
}

.collaborate-partner {
    border-color: #575294;
}

.communicate-disseminate {
	border-color: #FFCB05;
}



.resources-results .clip-line.funding-and-research-development {
    background: #B32117;
}

.resources-results .clip-line.research-administration {
	background: #A79D96;
}

.resources-results .clip-line.manage-research {
    background: #83B2A8;
}

.resources-results .clip-line.compliance-integrity {
	background: #00274C;
}

.resources-results .clip-line.collaborate-partner {
    background: #575294;
}

.resources-results .clip-line.communicate-disseminate {
	background: #FFCB05;
}

/* TOGGLES */

.et_pb_accordion .et_pb_toggle_title:before, .et_pb_toggle .et_pb_toggle_title:before {
    left: 1em;
}

.et_pb_toggle_title:before {
	content: "\4c";
	font-size: 20px;
	color: #0F6BB6;
}

.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block !important;
	content: "\4b";
	color: #222;
}

.et_pb_toggle {
    border: 0;
    margin-bottom: 0 !important;
	padding: 0;
}
.et_pb_toggle_close .et_pb_toggle_title, .et_pb_toggle_close h5.et_pb_toggle_title {
	font-size: 20px;
    padding: 1em 1em 1em 3em;
	background: #fff;
	box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}

.et_pb_toggle_open .et_pb_toggle_title, .et_pb_toggle_open h5.et_pb_toggle_title {
    background: rgb(228 225 223 / 36%);
    font-size: 20px;
    padding: 1em 1em 1em 3em;
	box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}

.et_pb_toggle_open .et_pb_toggle_content {
    padding: 1em;
}

/* TABS */

.et_pb_tabs, .et_pb_wc_tabs {
    border: 0;
}

ul.et_pb_tabs_controls:after {
	display: none;
}

ul.et_pb_tabs_controls {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    background: transparent;
}

.et_pb_tabs_controls li {
    border: 0;
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
	margin-right: 5px;
	background: rgb(228 225 223 / 36%);
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
}

.et_pb_tabs_controls li a {
    padding: 1em 2em;
}

/* BLOG MODULE */

.et_pb_blog_grid .et_pb_post {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
	background: transparent;
}

.et_pb_blog_grid .et_pb_post .et_pb_image_container {
    order: 1;
}

.et_pb_blog_grid .et_pb_post p.post-meta {
    order: 2;
}

.et_pb_blog_grid .et_pb_post h2.entry-title {
    order: 3;
}

.et_pb_blog_grid .post-content {
    order: 4;
}

p.post-meta {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.updates {
	margin: 1em 0;
}

/* STAFF PROFILES */

#staff-title .intro {
    font-size: 34px;
}

#staff-info .et_pb_row_1 .et_pb_column_3 {
    padding: 2em;
}

@media (max-width: 600px) {
	#staff-title {
		padding-bottom: 0;
	}
	
	#staff-title .intro {
		font-size: 20px;
	}

	#staff-info .et_pb_row_1 .et_pb_column_3 {
		padding: 1em;
	}
}


.et_pb_gutters3.et-db #et-boc .et-l .et_pb_column_1_2 .et_pb_widget {
    width: 100%;
}

/* BOLD CHALLENGES MENU */

/* #top-menu li {
    border-right: solid thin #00274c2e;
    padding-left: 20px;
} */
#top-menu li a {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
}

/* .et_header_style_left .logo_container {
    border-bottom: solid thin #00274c2e;
}

.home #top-menu li {
    border-right: solid thin #ffffff3b;
    padding-left: 20px;
}

.home.et_header_style_left .logo_container {
    border-bottom: solid thin #ffffff3b;
}

.home #top-menu a, .home .et-fixed-header #top-menu a {
	color: #fff !important;
}

#top-menu>li:last-child {
    padding-right: 20px;
}

#top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, .mobile_menu_bar:after, .mobile_menu_bar:before {
    color: #022c56;
} */

#top-menu li li a {
    line-height: 1.3em;
}