  /* Including EMU's font libraries */
/***SourceSansPro Font Styles***/
@font-face{font-family:'SourceSansPro';src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Regular-webfont.eot');src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Regular-webfont.eot?#iefix') format('embedded-opentype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Regular-webfont.woff') format('woff'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Regular-webfont.ttf') format('truetype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Regular-webfont.svg#SourceSansProRegular') format('svg');font-weight:normal;font-style:normal;}
@font-face{font-family:'SourceSansPro';src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Semibold-webfont.eot');src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Semibold-webfont.eot?#iefix') format('embedded-opentype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Semibold-webfont.woff') format('woff'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Semibold-webfont.ttf') format('truetype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Semibold-webfont.svg#SourceSansProSemibold') format('svg');font-weight:bold;font-style:normal;}
@font-face{font-family:'SourceSansPro';src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-SemiboldIt-webfont.eot'); src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-SemiboldIt-webfont.eot?#iefix') format('embedded-opentype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-SemiboldIt-webfont.woff') format('woff'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-SemiboldIt-webfont.ttf') format('truetype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-SemiboldIt-webfont.svg#SourceSansProSemiboldItalic') format('svg');font-weight:bold;font-style:italic;}
@font-face{font-family:'SourceSansPro';src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-It-webfont.eot');src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-It-webfont.eot?#iefix') format('embedded-opentype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-It-webfont.woff') format('woff'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-It-webfont.ttf') format('truetype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-It-webfont.svg#SourceSansProItalic') format('svg');font-weight:normal;font-style:italic;}
@font-face{font-family:'SourceSansProSemibold';src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Semibold-webfont.eot');src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Semibold-webfont.eot?#iefix') format('embedded-opentype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Semibold-webfont.woff') format('woff'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Semibold-webfont.ttf') format('truetype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Semibold-webfont.svg#SourceSansProSemibold') format('svg');font-weight:normal;font-style:normal;}
@font-face{font-family:'SourceSansProBold';src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Bold-webfont.eot');src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Bold-webfont.eot?#iefix') format('embedded-opentype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Bold-webfont.woff') format('woff'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Bold-webfont.ttf') format('truetype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Bold-webfont.svg#SourceSansProBold') format('svg');font-weight:normal;font-style:normal;}
@font-face{font-family:'SourceSansProBlack';src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Black-webfont.eot');src:url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Black-webfont.eot?#iefix') format('embedded-opentype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Black-webfont.woff') format('woff'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Black-webfont.ttf') format('truetype'),url('https://emu.edu/_resources/fonts/source-sans-pro/SourceSansPro-Black-webfont.svg#SourceSansProBlack') format('svg');font-weight:normal;font-style:normal;}

/* mimicking EMU's basic font and layout styling */
html{
	font-size:100%;
	overflow-x: hidden;
}
body {
	font-size:16px;
	line-height:1.45em;
	font-family:'SourceSansPro',Helvetica,Arial,sans-serif;
	color:#444;
	margin:0;
	top: 50px;
}
::selection {
	background:#b3d4fc;
	text-shadow:none;
}

img {
	vertical-align:middle;
	max-width:100%;
	height:auto;
}

h1,h2,h3,h4,h5,h6 {
	line-height:133%;
	font-family:'SourceSansPro',Helvetica,Arial,sans-serif;
	margin: 0 0 12px;
}
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
	line-height:100%;
}

h1, h2 {
	font-family:'SourceSansProBlack',Helvetica,Arial,sans-serif;
}
@-moz-document url-prefix() {
	h1, h2 {
		font-family:'SourceSansProBold',Helvetica,Arial,sans-serif;
	}
}

h1 {
	color:#0056b8;
	font-size: 40px;
}
h2 {
	color:#1c3767;
	font-size: 30px;
}
h3 {
	color:#0056b8;
	font-size: 24px;
}
h4 {
	color:#ee9900;
	font-size: 20px;
}
h5 {
	color: #444;
	font-size: 20px;
}
h6 {
	color: #333;
	font-size: 18px;
}
a{
	color: #0d6ea0;
	text-decoration: none;
}
a:hover,a:focus{
	color: #dd8b27;
}
a:visited{
	text-decoration:none;
}
a img{
	border:0;
}
p {
  margin: 0 0 15px;
}

/* CSS variables for cards */
:root {
  --emu-blue: #0056b8;
  --emu-card-width: 318px;
  --emu-card-width-sm: 350px;
  --emu-card-height: 400px;
  --emu-card-height-sm: 450px;
  --emu-card-text-bg-gradient: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.85)
  );
  --emu-card-border-color: #bbb;
}

.text-center {
  text-align: center;
}

.text-white {
  color: #fff;
}

.mb-0 {
  margin-bottom: 0!important;
}

.py-4 {
  padding-top: 2rem!important;
  padding-bottom: 2rem!important;
}

.bg-dark-gray {
  background-color: #111!important;
}

.bg-emu-blue {
  background-color: var(--emu-blue)!important;
}

.container-full-width {
  display: block;
  width: 100%;
}

.container-with-emu-crest {
  background-image: url('https://emu.edu/campaign/images/contact-background.jpg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 12rem;
}

.meet-header {
  color: var(--emu-blue);
  text-transform: uppercase;
  font-size: 54px;
  position: relative;
  text-align: center;
}

/* Set box-sizing model for this component, shamelessly stolen from Boostrap */
.emu-cards-container * {
  box-sizing: border-box;
}

.emu-cards-container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
/**
EMU Cards 
A generic tile list display with and image, heading and descriptive text.
Cards have on hover animation on larger screen which displays the descriptive
text.
**/
.emu-card-list {
  width: 100%;
  max-width: 1600px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: center;
  overflow: hidden;
}

.emu-card {
  position: relative;
  display: block;
  transition: all 0.6s ease;
  width: 100%;
  max-width: var(--emu-card-width-sm);
  height: var(--emu-card-height-sm);
  text-align: center;
  overflow: hidden;
  flex-grow: 1;
  border-left: 1px solid var(--emu-card-border-color);
  border-right: 1px solid var(--emu-card-border-color);
}

.emu-card-body {
  position: absolute;
  height: 100%;
  width: var(--emu-card-width-sm);
  margin: 0;
  right: 0;
  top: 0;
  left: 50%;
  overflow: hidden;
  transform: translateX(-50%);
}
.emu-card-image {
  display: block;
  height: var(--emu-card-height-sm);
  width: var(--emu-card-width-sm);
  object-fit: cover;
  object-position: center center;
}

/* For middle screens, larger than a phone */
@media (min-width: 768px) { 
  .emu-card {
    width: 33.3333%;
    max-width: var(--emu-card-width);
    height: var(--emu-card-height);
  }
  
  .emu-card-body {
    width: var(--emu-card-width);
  }
  .emu-card-image {
    height: var(--emu-card-height);
    width: var(--emu-card-width);
  }  
}

.emu-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--emu-card-text-bg-gradient);
}
.emu-card-text h5 {
  color: #fff;
  text-transform: uppercase;
  margin: 35px auto 15px;
  text-shadow: 1px 1px #111;
}

.emu-card-text p {
  color: #fff;
  width: 85%;
  text-shadow: 1px 1px #111;
  margin: 0 auto 15px;
}

.emu-card-removable-break {
  display: none;
}

/* For larger screens */
@media (min-width: 1075px) {
  .emu-card-list {
    flex-wrap: no-wrap;
    padding-left: 1px;
    padding-right: 1px;
  }

  .emu-card {
    width: auto;
    height: var(--emu-card-height);
  }
  
  .emu-card-image {
    filter: brightness(0.5);
  }
  .emu-card-text p {
    display: none;
    width: 80%;
  }
  .emu-card-removable-break {
    display: initial;
  }
  .emu-card:hover {
    max-width: var(--emu-card-width);
    padding-left: 36px;
    padding-right: 36px;
  }
  .emu-card:hover .emu-card-image {
    filter: brightness(1);
  }
  .emu-card:hover .emu-card-text {
    background: var(--emu-card-text-bg-gradient);
  }
  .emu-card:hover .emu-card-text p {
    display: block;
  }
  .emu-card:hover .emu-card-removable-break {
    display: none;
  }
}

