/*
Theme Name:     Department of Emergency Medicine
Theme URI:      https://emergencymedicine.wustl.edu/
Description:    Child theme of the WashU Web Theme
Author:         Medicine Marketing & Communications
Author URI:     https://marcomm.med.wustl.edu/
Template:       wutheme_chauvenet
Version:        1.0.6
*/

/* GLOBAL STYLES */

/* prevents horizontal scrolling when there are full-width sections */

#page {
overflow-x: hidden;
}

.emphasizedheader {
	font-style: italic; 
	font-weight: 800;
}

/* reduced margins */

.wp-block-columns.infographics-columns {
    margin-bottom: 0;
    gap: 1em;
}

.nobottommargin {
	margin-bottom: 0rem;
}

.wp-block-image.nobottommargin {
	margin-bottom: 0rem;
}

/* limits the height of the twitter widget */

#twitter-widget-0 {
max-height: 800px
}

/* simplifies the events preview */

ul.eo-events-shortcode {
list-style: none;
padding-left: 0px;
}

/* modified accordions and cards */

.washu-card__content p {
	height: 100%
}

.wp-block-washu-accordions.smalltextaccordions .accordion-header-content {
	font-size: 1rem;
}

.wp-block-washu-accordions.smalltextaccordions .accordion-header {
	text-align: right;
}

.wp-block-washu-accordions.smalltextaccordions {
	padding-top: 0rem;
}

/* HEADER AND MAIN NAV STYLES */

/* allows for use of full container width for main navigation */

.header-alt .washu-main-menu-wrapper {
  float: left;
  width: 100%;
  margin: 0;
}

/* places navigation menu underneath the site title */

.header-alt .site-header  {
  width: 100%;
  display: block;
  clear: both;
}

.header-alt .site-header > .container {
  display: block;
}

/* left aligns the navigation  */

.header-alt .washu-main-menu-wrapper .washu-main-menu-list {
	text-align: left;
	display: inline-block;
}

/* left justifies the navigation with the site title */

.header-alt .washu-main-menu-wrapper .washu-main-menu-content {
	text-align: left;
	margin-left: -10px;
 }
 
 /* styles the affiliation text */
 
.site-title::before {
  content: "Department of";
  font-size: 1rem;
  font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
  text-transform: uppercase;
  display: inline-block;
  width: 100%;
  font-weight: 600;
  letter-spacing: .02em;
}

@media screen and (min-width: 56.25em) {
.header-alt .site-header .site-title {
padding: 0;
}
}

@media screen and (min-width: 61.5em) {
  .header-alt .site-header .site-title {
    width: 100%;
    padding: 0;
  }
}

/* featured image and text styling */

.home .header-alt .page-thumbnail-feature {
  height: auto;
}

.feature-text .heading {
  font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #FFFFFF;
}

.feature-text.bg-dark-gray {
	background-color: transparent;
	color: #FFFFFF;
} 

@media screen and (min-width: 37em) {
  .feature-text {
    padding: 1.2em 2.8em;
    margin-top: 350px;
  }
  .feature-text .heading {
	text-shadow: 4px 4px 6px rgba(0,0,0,0.8);
	}
}

@media screen and (max-width: 37em) {
  .feature-text {
    padding: 1.2em 2.8em;
    margin-top: 380px;
  }
  .feature-text .heading {
  font-size: 1.8rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
}

.subheading {
  text-shadow: 5px 10px 20px #000;
}

.feature-text .subheading {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/* FULL WIDTH HOME PAGE BLOCKS */

.frontpage-primary {
	margin: -2.5rem -9999rem 0rem;
	padding: 2rem 9999rem;
	color: white;
}

.frontpage-secondary {
	margin: 0rem -9999rem 0rem;
	padding: 2rem 9999rem 2.5rem;
}

.washu-billboard.has-gray-dark-background-color.frontpage-tertiary {
	margin: 0rem -9999rem 0rem;
	padding: 2rem 9999rem 2rem;
	background-color: #172752;
}


/*  last updated July 2024 edelrosario@wustl.edu  */
