/* Flex styles -------------------------------------------------*/
header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  
  
}

@media (max-width: 400px) {
  .flex-grid {
    display: block;
    align-items: center;
  }
}

@media (min-width: 700px) {
 .leading {
    display: flex;
    align-items: center;
    
  }
}



/* Grid styles -------------------------------------------------*/
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  
  
}




/* Generic styles ----------------------------------------------*/
body {
  font-family: Lato, Helvetica, sans-serif;
}

header {
 background-color: white;
 
}



.leadingFront {
	height: 360px;
	margin-top: 0px !important;
	margin-bottom: 0px;
 color: white;
  background: url('EMYtop7.jpg') top #ffffff no-repeat;
  background-size: cover;
 
  text-shadow: 0px 0px 5px #000;
}

@media (max-width: 480px) {
	.leadingFront {
		height: 175px;
		margin-top: 0px !important;
	margin-bottom: 0px;
	background: url('EMYtopM.jpg') center #ffffff no-repeat;
  background-size: contain;
 
}
}
.leading-text {
	text-align: right;
	font-weight: bold;
	font-size: 18px;
	margin-right: 200px;
	
}

.leadingSched {
	 height: 100px;
  margin-bottom: 100px;
  margin-top: 0px;
  color: #418A8A;
  
}


.leading-bigtext {
  margin-right: 60px;
  font-weight: bold;
  font-size: 60px;
  }

@media (min-width: 700px) {
  .leading-bigtext {
    font-size: 80px;
   
  }


.cards {
  max-width: 960px;
  margin: 0 auto 20px;
}

article {
  position: relative;
  line-height: 1.2em;
  padding-top: 10px;
  text-align: center;
  margin-top: 3px;
  margin-left: 3px;
  margin-right: 3px;
  display: block;
}

.article-img {
  height: 300px;
  object-fit: cover;
  align: center;
  margin-top: 20px;
}

.article-title {
  position: absolute;
  top: 0;
  width: 94%;
  padding: 10px;
  margin-bottom: 20px;
  color: white;
	font-weight: bold;
	text-align: center;
	border: 1px solid black;
	border-radius: 5px;
	background: #013B6D;
	display: block;
}

a.buttonShow {
background-color: #BED3E5;
padding-top: 2px;
padding-bottom: 2px;
padding-right: 4px;
padding-left: 4px;
border-bottom: solid #999999 thin;
border-right: solid #999999 thin;
margin-top: 4px;
margin-bottom: 4px;
text-decoration: none;
font-weight: bold;

}
a.buttonShow:hover {border-top: solid #666666 thin;
border-left: solid #666666 thin;
font-weight: bold;
padding-top: 2px;
padding-bottom: 2px;
padding-right: 4px;
padding-left: 4px;
text-decoration: none;
}

@media screen and (max-width: 480px) {

  /* USE THESE CLASSES TO SHOW CONTENT ON MOBILE */
 .mobile-show {
    display: block !important;
    
 }

}
